/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary-dark: #1E1E1C;
  --dark-alt: #2C2B27;
  --text: #4A4843;
  --light-text: #9C9890;
  --accent: #A0896E;
  --accent-light: #BBA892;
  --accent-dark: #87715A;
  --bg: #FAFAF7;
  --bg-alt: #F2F0EA;
  --cream: #F5F1E9;
  --border: #E3DFD5;
  --whatsapp: #128C7E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Instrument Serif', serif;
  color: var(--primary-dark);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--primary-dark);
  padding: 0 24px;
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; object-fit: contain; }
.nav-logo-text h2 { font-size: 16px; color: #fff; margin: 0; line-height: 1.2; }
.nav-logo-text span { font-size: 11px; color: var(--accent-light); letter-spacing: 1px; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,.75); font-size: 13px; font-weight: 500;
  letter-spacing: .3px; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn-icon {
  width: 38px; height: 38px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 16px; transition: background .2s;
}
.btn-call { background: rgba(255,255,255,.1); color: #fff; }
.btn-call:hover { background: rgba(255,255,255,.2); }
.btn-whatsapp-nav { background: var(--whatsapp); color: #fff; }
.btn-whatsapp-nav:hover { background: #0ea370; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: .3s; }

/* Mobile nav */
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--primary-dark); z-index: 999; padding: 32px 24px;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,.85); font-size: 18px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg-alt) 100%);
  text-align: center; color: var(--primary-dark);
}
.hero-pill {
  display: inline-block; padding: 6px 20px; border-radius: 50px;
  background: rgba(160,137,110,.18); color: var(--accent-dark);
  font-size: 13px; font-weight: 500; letter-spacing: .5px; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 20px; color: var(--primary-dark); }
.hero h1 em { font-style: italic; color: var(--accent-dark); }
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px); color: var(--text);
  max-width: 640px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; }
.hero-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 22px;
  transition: transform .2s, box-shadow .2s;
}
.hero-btn:hover { transform: scale(1.1); }
.hero-btn.wa { background: var(--whatsapp); color: #fff; box-shadow: 0 4px 20px rgba(18,140,126,.4); }
.hero-btn.call { background: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(160,137,110,.4); }

/* Doctor strip */
.doctor-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.doctor-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 20px; text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.doctor-card img {
  width: 100px; height: 120px; border-radius: 12px; object-fit: cover;
  object-position: top; margin: 0 auto 14px; border: 2px solid var(--accent);
}
.doctor-card h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; }
.doctor-card .title { font-size: 12px; color: var(--accent-dark); margin-bottom: 4px; }
.doctor-card .qual { font-size: 11px; color: var(--light-text); }
.gen-badge {
  display: inline-block; margin-top: 10px; padding: 3px 12px; border-radius: 50px;
  background: rgba(160,137,110,.15); color: var(--accent-dark);
  font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--cream); padding: 24px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 40px;
  font-size: 14px; font-weight: 500; color: var(--text);
}
.trust-items span { display: flex; align-items: center; gap: 8px; }
.trust-items .star { color: #E8B730; }

/* ===== REVIEWS TICKER ===== */
.reviews-ticker {
  background: var(--primary-dark); padding: 48px 0; overflow: hidden;
}
.reviews-ticker h2 { text-align: center; color: #fff; font-size: 28px; margin-bottom: 32px; }
.ticker-track {
  display: flex; gap: 24px; animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.review-card {
  flex: 0 0 340px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  padding: 28px; min-height: 160px;
}
.review-card .stars { color: #E8B730; font-size: 14px; margin-bottom: 12px; }
.review-card p { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.review-card .reviewer { font-size: 13px; color: var(--accent-light); font-weight: 600; }

/* ===== SECTION STYLES ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary-dark); color: #fff; }
.section-title { font-size: clamp(28px, 3.5vw, 42px); text-align: center; margin-bottom: 16px; }
.section-sub {
  text-align: center; color: var(--light-text); font-size: 15px;
  max-width: 560px; margin: 0 auto 48px; line-height: 1.7;
}

/* ===== CORE EXPERTISE ===== */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expertise-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 36px 28px; transition: transform .3s, box-shadow .3s;
}
.expertise-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.expertise-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.expertise-card h3 { font-size: 22px; margin-bottom: 12px; }
.expertise-card p { color: var(--light-text); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.link-arrow {
  color: var(--accent); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; transition: gap .2s;
}
.link-arrow:hover { gap: 10px; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 28px; display: flex; gap: 20px;
}
.why-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.why-card h3 { font-size: 18px; margin-bottom: 6px; }
.why-card p { font-size: 14px; color: var(--light-text); line-height: 1.6; }

/* ===== CLINIC PHOTOS ===== */
.clinic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.clinic-grid img {
  width: 100%; height: 240px; object-fit: cover; border-radius: 12px;
  transition: transform .3s;
}
.clinic-grid img:hover { transform: scale(1.03); }
.clinic-placeholder {
  width: 100%; height: 240px; border-radius: 12px;
  background: var(--cream); border: 2px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--light-text); font-size: 14px;
}

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-tile {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 20px; text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.06); border-color: var(--accent); }
.service-tile .icon { font-size: 28px; margin-bottom: 12px; }
.service-tile h3 { font-size: 15px; margin-bottom: 6px; }
.service-tile p { font-size: 12px; color: var(--light-text); }

/* ===== NRI SECTION ===== */
.nri-section { background: linear-gradient(135deg, var(--primary-dark), var(--dark-alt)); color: #fff; padding: 80px 0; }
.nri-flags { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; font-size: 32px; }
.nri-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.nri-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 28px 20px; text-align: center;
}
.nri-card .icon { font-size: 28px; margin-bottom: 12px; }
.nri-card h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.nri-card p { font-size: 13px; color: rgba(255,255,255,.55); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden; background: #fff;
}
.faq-item summary {
  padding: 20px 24px; font-weight: 600; font-size: 15px;
  cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; color: var(--primary-dark);
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 24px 20px; font-size: 14px; color: var(--light-text); line-height: 1.7; }

/* ===== LOCATION ===== */
.location-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.location-info h3 { font-size: 24px; margin-bottom: 20px; }
.location-detail { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.location-detail .icon { font-size: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.location-map iframe { width: 100%; height: 400px; border: 0; border-radius: 16px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark); color: rgba(255,255,255,.6);
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-family: 'Sora', sans-serif; font-weight: 600; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 13px; transition: color .2s; }
.footer ul a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px; flex-wrap: wrap; gap: 12px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex;
  align-items: center; justify-content: center; font-size: 14px;
  color: rgba(255,255,255,.6); transition: background .2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(18,140,126,.4);
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.1); }

/* Mobile bottom bar */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 900; background: var(--primary-dark);
  padding: 12px 24px; gap: 12px;
}
.mobile-bar a {
  flex: 1; padding: 12px; border-radius: 12px; text-align: center;
  font-size: 14px; font-weight: 600; color: #fff;
}
.mobile-bar .mob-call { background: var(--accent); }
.mobile-bar .mob-wa { background: var(--whatsapp); }

/* ===== PAGE HEADERS (inner pages) ===== */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--primary-dark), var(--dark-alt));
  text-align: center; color: #fff;
}
.page-header h1 { color: #fff; font-size: clamp(32px, 4vw, 52px); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.6); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ===== TEAM PAGE ===== */
.team-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.team-card:nth-child(even) { direction: rtl; }
.team-card:nth-child(even) > * { direction: ltr; }
.team-card img {
  width: 100%; max-width: 400px; border-radius: 20px; object-fit: cover;
  object-position: top; aspect-ratio: 3/4;
}
.team-info h2 { font-size: 32px; margin-bottom: 4px; }
.team-info .title { color: var(--accent); font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.team-info .qual { color: var(--light-text); font-size: 14px; margin-bottom: 16px; }
.team-info p { font-size: 15px; line-height: 1.8; }

/* ===== TREATMENTS PAGE ===== */
.treatment-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.treatment-block:nth-child(even) { direction: rtl; }
.treatment-block:nth-child(even) > * { direction: ltr; }
.treatment-visual {
  background: var(--cream); border-radius: 20px;
  height: 320px; display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.treatment-content h2 { font-size: 28px; margin-bottom: 12px; }
.treatment-content p { font-size: 14px; color: var(--light-text); line-height: 1.8; margin-bottom: 20px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; padding: 12px 28px;
  border-radius: 50px; font-size: 14px; font-weight: 600;
  transition: background .2s;
}
.btn-primary:hover { background: var(--accent-dark); }

/* ===== GALLERY PAGE ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.gallery-pair { display: grid; grid-template-columns: 1fr 1fr; }
.gallery-side {
  height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--light-text); background: var(--cream);
}
.gallery-side:first-child { border-right: 1px solid var(--border); }
.gallery-label { padding: 16px 20px; }
.gallery-label h3 { font-size: 16px; margin-bottom: 4px; }
.gallery-label p { font-size: 12px; color: var(--light-text); }

/* ===== TESTIMONIALS PAGE ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; transition: transform .3s;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.testimonial-card .stars { color: #E8B730; margin-bottom: 12px; }
.testimonial-card blockquote { font-size: 15px; line-height: 1.7; margin-bottom: 20px; font-style: italic; color: var(--text); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); display: flex; align-items: center;
  justify-content: center; font-size: 16px; font-weight: 600; color: var(--accent);
}
.testimonial-author h4 { font-size: 14px; color: var(--primary-dark); }
.testimonial-author p { font-size: 12px; color: var(--light-text); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--primary-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 10px; font-family: 'Sora', sans-serif; font-size: 14px;
  background: var(--bg); transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%; padding: 14px; border-radius: 50px;
  background: var(--accent); color: #fff; font-size: 15px;
  font-weight: 600; border: none; cursor: pointer;
  transition: background .2s;
}
.btn-submit:hover { background: var(--accent-dark); }
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; display: flex; gap: 16px;
}
.contact-card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-card h3 { font-size: 15px; margin-bottom: 4px; }
.contact-card p { font-size: 13px; color: var(--light-text); line-height: 1.6; }
.contact-card a { color: var(--accent); font-weight: 600; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--accent); padding: 48px 0; text-align: center;
}
.cta-banner h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 24px; font-size: 15px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--accent-dark); padding: 14px 32px;
  border-radius: 50px; font-size: 14px; font-weight: 600;
  transition: transform .2s;
}
.btn-white:hover { transform: scale(1.05); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .expertise-grid, .nri-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .clinic-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 110px 0 60px; }
  .doctor-strip { grid-template-columns: 1fr; max-width: 320px; }
  .expertise-grid, .why-grid, .nri-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clinic-grid { grid-template-columns: 1fr 1fr; }
  .location-split { grid-template-columns: 1fr; }
  .team-card, .treatment-block { grid-template-columns: 1fr; }
  .team-card:nth-child(even) { direction: ltr; }
  .treatment-block:nth-child(even) { direction: ltr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-fab { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 80px; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .clinic-grid { grid-template-columns: 1fr; }
  .hero-buttons { gap: 12px; }
}
