:root {
  --teal: #3FA4B6;
  --teal-dark: #2C7E8D;
  --teal-light: #EAF6F5;
  --ink: #17272A;
  --gray: #5B6B6E;
  --bg-soft: #F4FAF9;
  --white: #FFFFFF;
  --radius: 16px;
  --max-width: 1140px;
  --shadow-soft: 0 24px 32px -16px rgba(63, 164, 182, 0.3);
  --shadow-lift: 0 16px 28px -12px rgba(63, 164, 182, 0.45);
  --font-display: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  line-height: 1.5;
  background: var(--teal);
}

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; font-family: var(--font-display); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: var(--shadow-lift);
}
.btn-primary:hover { box-shadow: 0 20px 32px -10px rgba(63, 164, 182, 0.55); }
.btn-outline { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal-light); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--teal);
  box-shadow: 0 12px 24px -16px rgba(23, 39, 42, 0.35);
  z-index: 100;
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  white-space: nowrap;
}
.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}
.main-nav a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  opacity: 0.9;
}
.main-nav a:hover { opacity: 1; }
.btn-whatsapp {
  white-space: nowrap;
  background: var(--white);
  color: var(--teal-dark) !important;
  box-shadow: none !important;
}
.btn-whatsapp:hover { background: var(--teal-light); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background-image: url("../assets/doctor-hero-2.jpg");
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(23, 39, 42, 0.85) 0%, rgba(23, 39, 42, 0.6) 35%, rgba(63, 164, 182, 0.4) 65%, rgba(63, 164, 182, 0.15) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.hero-text { max-width: 620px; }
.eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.hero-text h1 { font-size: 3rem; font-weight: 800; }
.underline-accent {
  text-decoration: underline;
  text-decoration-color: var(--teal-light);
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
}
.hero-sub { font-size: 1.1rem; max-width: 46ch; }
.hero .hero-sub { color: rgba(255, 255, 255, 0.9); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.hero .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 16px 28px -12px rgba(23, 39, 42, 0.35);
}
.hero .btn-primary:hover { background: var(--teal-light); }
.hero .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.hero-photo-placeholder {
  aspect-ratio: 4/5;
  background: repeating-linear-gradient(45deg, #E4F1F0, #E4F1F0 10px, #DCECEA 10px, #DCECEA 20px);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
}

/* Sections generic */
section { padding: 64px 0; }
.section-sub { max-width: 560px; }

/* Video */
.video-section {
  color: var(--white);
  overflow: hidden;
}
.video-section h2 { color: var(--white); }
.video-section .section-sub { color: rgba(255, 255, 255, 0.85); }
.video-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.video-media { position: relative; display: flex; justify-content: center; }
.video-media::before {
  content: "";
  position: absolute;
  inset: -20px auto auto -20px;
  width: 85%;
  height: 85%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  z-index: 0;
}
.video-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9/16;
  background-color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -16px rgba(23, 39, 42, 0.5);
  overflow: hidden;
}
.video-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Stats */
.stats {
  background: var(--white);
  color: var(--teal-dark);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(44, 126, 141, 0.2);
}
.stat-icon { width: 26px; height: 26px; opacity: 0.9; margin-bottom: 4px; }
.stat-number { display: block; font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.9rem; color: var(--gray); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { color: var(--teal-dark); }
.service-card p { color: var(--gray); }

/* Why */
.why {
  background: var(--white);
  color: var(--teal-dark);
}
.why h2 { color: var(--teal-dark); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.why-item {
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: 24px;
}
.why-item p { color: var(--gray); }
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.05rem; color: var(--teal-dark); }

/* Process / benefits */
.process-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.process-row + .process-row { margin-top: 72px; }
.process-row-reverse .process-media { order: 2; }
.process-row-reverse .process-text { order: 1; }
.check-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--white);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C7E8D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* FAQ */
.faq {
  color: var(--white);
}
.faq h2 { color: var(--white); text-align: center; }
.faq-list {
  max-width: 720px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
}
.faq-toggle {
  flex-shrink: 0;
  color: var(--teal-dark);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 18px; }
.faq-answer p { margin: 0; color: var(--gray); }

/* Before/after */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.ba-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.ba-card h3 { font-size: 1.05rem; color: var(--teal-dark); }
.ba-card p { color: var(--gray); font-size: 0.9rem; }
.ba-placeholder {
  aspect-ratio: 1/1;
  background: #E4F1F0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  margin-bottom: 14px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.testimonial-card p { color: var(--gray); }
.testimonial-author { font-weight: 600; color: var(--ink); }
.testimonial-video-card { padding: 0; overflow: hidden; }
.testimonial-video {
  position: relative;
  width: 100%;
  background: var(--ink);
}
.testimonial-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.testimonial-video-vertical { aspect-ratio: 9/16; }

/* Location */
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.map-placeholder {
  aspect-ratio: 4/3;
  background: #E4F1F0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

/* Contact */
.contact { text-align: center; }
.contact-form {
  max-width: 520px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #D5E3E1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form button { align-self: center; margin-top: 8px; }

/* Footer */
.site-footer {
  color: var(--white);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--white); text-decoration: none; opacity: 0.85; }
.footer-social a:hover { opacity: 1; }

/* Responsive */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .btn-whatsapp { display: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .video-row { grid-template-columns: 1fr; text-align: center; }
  .video-media { order: -1; margin-bottom: 8px; }
  .check-list { text-align: left; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat + .stat::before { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .location-inner { grid-template-columns: 1fr; }
  .process-row, .process-row-reverse { grid-template-columns: 1fr; }
  .process-row-reverse .process-media,
  .process-row-reverse .process-text { order: initial; }
  .process-row + .process-row { margin-top: 48px; }
}

@media (max-width: 640px) {
  .hero { min-height: 460px; background-attachment: scroll; }
  .hero-inner { padding: 60px 24px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-overlay { background: rgba(23, 39, 42, 0.72); }
  .services-grid, .why-grid, .ba-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--white);
  padding: 16px 24px;
  border-bottom: 1px solid #EAF0EF;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.main-nav.open a { color: var(--ink); opacity: 1; }
