/* Extracted from business/insurances/index.php */

:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --primary: #1d4ed8;
  --primary-soft: rgba(29, 78, 216, 0.08);
  --text: #102a43;
  --muted: #556070;
}

body {
  background: var(--bg);
  color: var(--text);
}

.hero {
  background: radial-gradient(circle at top left, rgba(29,78,216,0.18), transparent 30%),
              linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  padding: 4rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.02;
  color: #ffffff;
  margin: 0;
}

.hero p {
  margin: 1.5rem 0 0;
  max-width: 550px;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
}

.btn-primary {
  background: #ffffff;
  color: #1d4ed8;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.85);
  background: transparent;
  color: #ffffff;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-badges div {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  color: #ffffff;
}

.hero-badges strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.hero-panel {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-card-top span {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.hero-card-top strong {
  color: #ffffff;
}

.hero-card-body p {
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
}

.hero-card-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-card-footer span {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
  font-size: 0.88rem;
  text-align: center;
}

.hero-circle {
  position: absolute;
  right: -28px;
  top: 32px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.overview {
  margin: 3rem auto;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.overview-grid article h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.overview-grid article p {
  color: var(--muted);
  line-height: 1.8;
}

.overview-list {
  display: grid;
  gap: 1rem;
}

.overview-list div {
  background: var(--surface);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
}

.overview-list h3 {
  margin-bottom: 0.7rem;
  color: var(--text);
}

.overview-list p {
  margin: 0;
  color: var(--muted);
}

.plans {
  margin-bottom: 3rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.plan-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.plan-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.plan-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
}

.scroll-section {
  margin-bottom: 3rem;
}

.scroll-container {
  overflow: hidden;
  margin: 0 -1.25rem;
}

.scroll-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 1rem 1.25rem 1.5rem;
  animation: autoScroll 30s linear infinite;
}

.scroll-track:hover {
  animation-play-state: paused;
}

@keyframes autoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.feature-card {
  min-width: 260px;
  flex: 0 0 auto;
  background: var(--surface);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 75px rgba(15, 23, 42, 0.12);
}

.feature-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.cta-section {
  margin-bottom: 4rem;
}

.cta-card {
  background: var(--surface);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.08);
}

.cta-card h2 {
  margin: 0 0 0.75rem;
}

.cta-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-content,
  .overview-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 2.5rem 0;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

  .scroll-track {
    animation: none;
  }
}
