:root {
  --bg-main: #f4f2e9;
  --bg-soft: #f9f7f2;
  --primary: #1d3657;
  --accent: #68c3b7;
  --accent-dark: #4ab0a0;
  --white: #ffffff;
  --text-soft: #5a697d;
  --line: rgba(29, 54, 87, 0.12);
  --shadow-soft: 0 12px 30px rgba(29, 54, 87, 0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg-main);
  color: var(--primary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.eyebrow {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(104, 195, 183, 0.12);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.secondary {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.75rem;
}

.section-heading h2 {
  margin: 0.9rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 242, 233, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 54, 87, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(160px, 20vw, 220px);
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  line-height: 1;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 22px rgba(104, 195, 183, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--line);
}

.btn-small {
  padding: 0.8rem 1.15rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1 {
  margin: 1rem 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--text-soft);
}

.info-pill,
.doctor-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.15rem;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(29, 54, 87, 0.02);
}

.info-pill i,
.doctor-line i {
  color: var(--accent-dark);
  font-size: 1rem;
}

.info-pill span,
.doctor-line span {
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.feature-panel {
  width: min(100%, 470px);
  background: linear-gradient(135deg, #ffffff, #f4f9f7);
  border: 1px solid rgba(104, 195, 183, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.85rem;
  border-radius: 12px;
  background: rgba(104, 195, 183, 0.08);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(104, 195, 183, 0.18);
}

.mini-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(29, 54, 87, 0.06);
  margin-bottom: 0.9rem;
}

.mini-stat:last-child {
  margin-bottom: 0;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--white);
}

.icon-box.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.icon-box.muted {
  background: linear-gradient(135deg, var(--primary), #306298);
}

.icon-box.accent-soft {
  background: linear-gradient(135deg, #9adccd, var(--accent));
}

.mini-stat strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.mini-stat small {
  color: var(--text-soft);
}

.intro-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.intro-copy {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.intro-copy p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--primary);
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, var(--primary), #224a76);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

.highlight-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.highlight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.highlight-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.3rem;
}

.services-grid,
.patients-grid,
.team-grid,
.steps-grid {
  display: grid;
  gap: 1.5rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.patient-card,
.team-card,
.step-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.3rem;
  box-shadow: 0 10px 24px rgba(29, 54, 87, 0.04);
}

.service-card {
  min-height: 210px;
}

.service-icon,
.team-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(104, 195, 183, 0.12);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card h3,
.patient-card h3,
.team-card h3,
.step-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--primary);
}

.study-section {
  padding-top: 0;
}

.study-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #1d3657, #2b4d73);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
}

.study-copy h2 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.study-copy p {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.study-copy .subtext {
  margin-bottom: 0;
}

.study-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.study-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 130px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1rem 0.75rem;
}

.study-item i {
  font-size: 1.5rem;
}

.study-item span {
  font-weight: 600;
}

.patients-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.patient-card {
  min-height: 180px;
}

.patient-card p {
  margin: 0.8rem 0 0;
  color: var(--text-soft);
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  min-height: 260px;
}

.team-card p {
  margin: 0.9rem 0 0;
  color: var(--text-soft);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  position: relative;
  padding-top: 3.3rem;
}

.step-number {
  position: absolute;
  top: 1.2rem;
  left: 1.3rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
}

.step-card h3 {
  margin-top: 0.8rem;
}

.step-card p {
  margin: 0.9rem 0 0;
  color: var(--text-soft);
}

.cta-center {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.whatsapp-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, #ffffff, #ebf8f4);
  border: 1px solid rgba(104, 195, 183, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}

.whatsapp-copy {
  flex: 1;
}

.whatsapp-copy h2 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.whatsapp-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.whatsapp-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer {
  background: #E3EDE3;
  border-top: 1px solid rgba(29, 54, 87, 0.08);
  padding: 2.2rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.footer-logo {
  width: clamp(180px, 20vw, 240px);
  height: auto;
  display: block;
}

.site-footer h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.site-footer p {
  margin: 0.2rem 0;
  color: var(--text-soft);
}

.footer-links,
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-direction: row;
}

.footer-links a,
.footer-social a {
  color: var(--primary);
  font-weight: 600;
}

.footer-social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 1.2rem;
}

.footer-credit {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer-credit a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--primary);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-layout,
  .study-banner {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .patients-grid,
  .team-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .services-grid,
  .patients-grid,
  .team-grid,
  .steps-grid,
  .study-icons {
    grid-template-columns: 1fr;
  }

  .whatsapp-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    text-align: center;
  }

  .footer-wrap,
  .footer-brand-box,
  .footer-links,
  .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .footer-links,
  .footer-social {
    flex-direction: row;
    gap: 0.8rem;
  }

  .section {
    padding: 4.5rem 0;
  }
}
