:root {
  color-scheme: light;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #f8fafc;
  color: #0f172a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: #f8fafc; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  padding-inline: 24px;
  margin-inline: auto;
}

/* ---- Top bar ---- */
.topbar { background: #0f766e; color: #ccfbf1; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar-item { display: flex; gap: 8px; align-items: center; }
.topbar-icon { color: #5eead4; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; position: relative; }
.brand-link { display: flex; gap: 14px; align-items: center; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.32);
}
.brand-name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 17px; color: #0f766e; line-height: 1.1; }
.brand-subtitle { font-size: 11.5px; color: #64748b; letter-spacing: 0.14em; text-transform: uppercase; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.nav-link { font-weight: 600; color: #334155; font-size: 15px; }
.nav-link.active { color: #0d9488; }
.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0d9488; color: #fff; padding: 11px 20px; border-radius: 10px;
  font-weight: 700; box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3); white-space: nowrap;
}
.mobile-menu-button { display: none; border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: #0f172a; z-index: 120; }
/* Slide-in drawer styles live in the mobile media query below. */
.nav-backdrop { display: none; }

/* ---- Hero ---- */
.hero { background: radial-gradient(900px 480px at 88% -10%, #ccfbf1 0%, rgba(204, 251, 241, 0) 60%), #f0fdfa; padding: 72px 0 84px; }
.hero-grid { display: grid; gap: 56px; grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.hero-copy h1 { font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.05; margin: 24px 0 20px; color: #0f172a; }
.hero-copy h1 span { color: #0d9488; }
.hero-copy p { max-width: 540px; font-size: 18px; color: #475569; margin: 0 0 28px; }
.hero-copy p strong { color: #0f766e; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border: 1px solid #99f6e4; border-radius: 999px; color: #0f766e; font-weight: 700; font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-highlights { display: grid; gap: 10px; color: #334155; font-weight: 600; margin-top: 24px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 24px; border: 6px solid #fff; box-shadow: 0 30px 60px rgba(15, 118, 110, 0.28); }
.hero-award-card { position: absolute; left: -14px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; width: min(320px, calc(100% - 20px)); box-shadow: 0 14px 32px rgba(15, 118, 110, 0.12); }
.hero-award-card strong { display: block; font-size: 14.5px; color: #0f172a; }
.hero-award-card div div { color: #64748b; font-size: 13px; }
.award-icon { width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; background: #fffbeb; font-size: 20px; flex-shrink: 0; }

/* ---- Buttons ---- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; min-height: 52px; text-align: center; border: 0; cursor: pointer; font-family: inherit; }
.button-primary { background: #0d9488; color: #fff; box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28); }
.button-secondary { background: #fff; color: #0f766e; border: 1.5px solid #99f6e4; }
.button-dark { background: #1e293b; color: #fff; }
.button-light { background: #fff; color: #0f766e; }

/* ---- Generic sections ---- */
.section { padding: 80px 0; }
.section-intro { padding-top: 48px; padding-bottom: 0; }
.eyebrow { font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #0d9488; margin-bottom: 14px; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin: 0 auto 40px; }
.section-head h2, .section-intro h1, .about-copy h2, .contact-panel h2, .site-footer h3, .doctor-copy h2, .cta-band h2 {
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: #0f172a; margin: 0;
}
.section-head h2, .section-intro h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.05; }
.section-intro h1 { margin: 8px 0 14px; }
.section-head p, .section-intro p { color: #475569; max-width: 700px; }
.section-intro p { font-size: 18px; }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---- Feature / stats / process grids ---- */
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px; }
.feature-card h3 { font-size: 18px; margin: 0 0 12px; color: #0f172a; }
.feature-card p { margin: 0; color: #475569; }

.section-stats { background: #f0fdfa; }
.stats-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px; text-align: center; }
.stat-card strong { display: block; font-size: 34px; color: #0f766e; margin-bottom: 8px; font-family: "Plus Jakarta Sans", sans-serif; }
.stat-card p { margin: 0; color: #475569; }

.process-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 36px; }
.process-step { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 30px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 16px; background: #0d9488; color: #fff; font-weight: 800; margin-bottom: 18px; }
.process-step h3 { margin: 0 0 12px; font-size: 20px; }
.process-step p { margin: 0; color: #475569; }

/* ---- Cards grid (services / facilities / pedigree) ---- */
.cards-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.service-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 34px 30px; box-shadow: 0 10px 28px rgba(15, 118, 110, 0.06); position: relative; }
.service-icon { width: 64px; height: 64px; border-radius: 16px; background: #ccfbf1; color: #0f766e; display: grid; place-items: center; font-size: 28px; margin-bottom: 18px; }
.service-card h3 { font-size: 21px; margin: 0 0 12px; color: #0f172a; }
.service-card p { color: #475569; margin: 0; }
.service-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; border-top: 1px solid #f1f5f9; padding-top: 18px; }
.service-card li { padding-left: 24px; position: relative; color: #475569; font-size: 14.5px; }
.service-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #0d9488; font-weight: 700; }
.featured-pill { position: absolute; top: 24px; right: 24px; padding: 8px 14px; border-radius: 999px; background: #fffbeb; color: #d97706; font-weight: 700; font-size: 12px; }

/* ---- Conditions chips ---- */
.conditions-section { background: #f0fdfa; }
.chips-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { background: #fff; border: 1px solid #99f6e4; color: #0f766e; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14.5px; }

/* ---- Testimonials ---- */
.testimonial-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonial-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 30px; }
.testimonial-card p { margin: 0 0 24px; color: #475569; line-height: 1.75; }
.testimonial-card strong { display: block; font-size: 16px; margin-bottom: 4px; color: #0f172a; }
.testimonial-card span { color: #64748b; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, #0d9488, #0f766e); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #ccfbf1; margin: 0; }

/* ---- Doctor (about) ---- */
.doctor-card { background: linear-gradient(180deg, #f0fdfa, #fff); border: 1px solid #ccfbf1; border-radius: 24px; padding: 44px; box-shadow: 0 20px 48px rgba(15, 118, 110, 0.10); }
.doctor-card-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.doctor-visual img { width: 100%; border-radius: 18px; border: 5px solid #fff; box-shadow: 0 20px 48px rgba(15, 118, 110, 0.1); }
.reg-chips { display: grid; gap: 10px; margin-top: 16px; }
.reg-chip { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 14px; font-weight: 600; color: #334155; font-size: 14px; }
.doctor-copy h2 { font-size: 30px; margin-bottom: 18px; }
.doctor-copy h2 span { color: #0d9488; font-size: 20px; }
.pills-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.pills-row span { padding: 9px 16px; background: #0f766e; color: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; }
.doctor-copy p { color: #475569; line-height: 1.7; }
.highlight { margin: 32px 0 16px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; color: #0d9488; letter-spacing: 0.12em; font-size: 13px; }
.list-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.info-card { background: #fff; border: 1px solid #ccfbf1; border-radius: 14px; padding: 22px; }
.info-icon { font-size: 22px; margin-bottom: 10px; }
.info-card h3 { font-size: 14.5px; margin: 0; color: #0f172a; line-height: 1.4; }

/* ---- Contact ---- */
.contact-grid-inner { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 32px; }
.contact-panel { background: #0f172a; color: #cbd5e1; border-radius: 24px; padding: 40px; }
.contact-panel h2 { color: #fff; margin-bottom: 22px; }
.contact-panel p { margin: 6px 0; }
.contact-panel a { color: #5eead4; }
.panel-eyebrow { color: #5eead4; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; margin-top: 24px !important; margin-bottom: 8px !important; }
.contact-buttons { display: grid; gap: 14px; margin-top: 28px; }
.text-rose { color: #fb7185; }

.contact-form-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 40px; box-shadow: 0 20px 48px rgba(15, 118, 110, 0.10); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-weight: 600; color: #0f172a; font-size: 14.5px; }
.contact-form .optional { color: #94a3b8; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; padding: 11px 14px; font: inherit; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(13, 148, 136, 0.25); border-color: #0d9488; }
.contact-form textarea { resize: vertical; }
.full-width { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; }
.form-success { text-align: center; padding: 20px 0; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: grid; place-items: center; font-size: 34px; font-weight: 800; margin: 0 auto 20px; }
.form-success h2 { margin: 0 0 12px; }
.form-success p { color: #475569; max-width: 460px; margin: 0 auto 24px; }
.form-success a { color: #0d9488; }
.form-success .button { color: #fff; }

/* ---- Map ---- */
.map-wrap { width: 100%; height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid #e2e8f0; box-shadow: 0 10px 28px rgba(15, 118, 110, 0.08); }
.map-wrap iframe { display: block; }

/* ---- Footer ---- */
.site-footer { background: #0f172a; color: #94a3b8; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer p { color: #94a3b8; margin: 8px 0; font-size: 14.5px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #5eead4; }

.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #0d9488, #0f766e); }
.footer-brand-name { color: #fff; font-weight: 800; font-size: 18px; font-family: "Plus Jakarta Sans", sans-serif; }
.footer-brand p { max-width: 320px; line-height: 1.7; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: #16a34a; color: #fff !important; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 14.5px; }
.footer-wa:hover { background: #15803d; color: #fff !important; }

.footer-head { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px !important; }
.footer-contact-row { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-row span { color: #94a3b8; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid #1e293b; font-size: 13px; color: #64748b; }
.footer-reg { color: #64748b; }
.footer-craft { color: #64748b; }
.footer-craft a { color: inherit; }

/* ---- FAQ ---- */
.faq-grid { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(15, 118, 110, 0.05); }
.faq-question { width: 100%; padding: 20px 24px; border: none; background: transparent; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 16.5px; font-weight: 700; color: #0f172a; cursor: pointer; text-align: left; }
.faq-icon { color: #0d9488; font-size: 24px; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; color: #475569; line-height: 1.7; display: none; }
.faq-answer p { margin: 0; }
.faq-item.active .faq-answer { display: block; }

/* ---- Mobile sticky bar ---- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: #fff; border-top: 1px solid #e2e8f0; padding: 10px 12px; gap: 10px; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12); }
.mobile-bar-btn { flex: 1; text-align: center; padding: 13px; border-radius: 10px; font-weight: 700; color: #fff; }
.mobile-bar-btn.call { background: #0d9488; }
.mobile-bar-btn.book { background: #0f172a; }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .hero-grid, .doctor-card-grid, .contact-grid-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .doctor-visual { max-width: 320px; }
}

@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; align-items: center; text-align: center; }
  .header-cta { display: none; }
  .mobile-menu-button { display: inline-flex; }

  /* Content-sized menu card, tucked under the header at the top-right.
     Height fits the links (not full screen). Fades + slides in when open. */
  .main-nav {
    display: flex; flex-direction: column; gap: 2px; align-items: stretch;
    position: fixed; top: 64px; right: 12px; z-index: 110;
    width: 240px; max-width: calc(100vw - 24px); padding: 10px;
    background: rgba(15, 23, 42, 0.87); border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 80px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .main-nav .nav-link { padding: 13px 16px; border-radius: 10px; font-size: 16px; color: #e2e8f0; }
  .main-nav .nav-link::after { display: none; }
  .main-nav .nav-link:hover, .main-nav .nav-link.active { background: rgba(255, 255, 255, 0.1); color: #5eead4; }

  /* Invisible tap-catcher (no page dimming) so tapping outside closes the menu */
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 105; background: transparent; visibility: hidden; }
  .nav-backdrop.show { visibility: visible; }

  .hero { padding: 48px 0 64px; }
  .section { padding: 56px 0; }
  .button { width: 100%; }
  .contact-form { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .doctor-card { padding: 28px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* ---- Gallery ---- */
.gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery-item { margin: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(15, 118, 110, 0.06); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; }
.gallery-item figcaption { padding: 12px 16px; color: #475569; font-size: 14px; }

/* ---- Blog ---- */
/* Horizontal blog rows: image left, text right, stacked vertically */
.blog-list { display: flex; flex-direction: column; gap: 24px; }
.blog-row { display: grid; grid-template-columns: 300px 1fr; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 28px rgba(15, 118, 110, 0.06); }
.blog-row-cover { display: block; overflow: hidden; background: #f0fdfa; }
.blog-row-cover img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; object-position: top center; display: block; }
.blog-row-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 200px; font-size: 44px; color: #5eead4; }
.blog-row-body { padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.blog-row-body h3 { margin: 0; font-size: 22px; color: #0f172a; }
.blog-row-body h3 a:hover { color: #0d9488; }
.blog-row-excerpt { margin: 0; color: #475569; line-height: 1.6; }
.blog-date { color: #94a3b8 !important; font-size: 13px; margin: 0; }
.blog-row .card-link { margin-top: auto; padding-top: 4px; }
@media (max-width: 640px) {
  .blog-row { grid-template-columns: 1fr; }
  .blog-row-cover img, .blog-row-placeholder { min-height: 180px; height: 180px; }
}

/* ---- Article ---- */
.article-container { max-width: 760px; }
.article-cover { width: 100%; height: auto; border-radius: 18px; margin-bottom: 28px; display: block; }
.article-body p { color: #334155; line-height: 1.8; font-size: 17px; margin: 0 0 20px; }

/* ---- Timeline (about page) ---- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: #99f6e4; }
.timeline-item { position: relative; padding: 0 0 28px 56px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 11px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: #0d9488; border: 4px solid #fff; box-shadow: 0 0 0 2px #99f6e4; }
.timeline-content { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px 24px; box-shadow: 0 10px 28px rgba(15, 118, 110, 0.06); }
.timeline-year { display: inline-block; background: #0f766e; color: #fff; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.timeline-content h3 { margin: 0 0 6px; font-size: 18px; color: #0f172a; }
.timeline-content p { margin: 0; color: #475569; }

/* ---- Footer responsive ---- */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Animations & micro-interactions (public site)
   ========================================================= */

/* ---- Scroll reveal (only hide when JS is available) ---- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.js .reveal.revealed { opacity: 1; transform: none; }

/* ---- Header: subtle shadow once scrolled ---- */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,118,110,.10); background: rgba(255,255,255,.96); }

/* ---- Nav links: animated underline ---- */
.nav-link { position: relative; transition: color .2s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: #0d9488; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* ---- Buttons: lift + sheen ---- */
.button { transition: transform .22s ease, box-shadow .22s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary:hover { box-shadow: 0 16px 32px rgba(13,148,136,.4); }
.button:active { transform: translateY(-1px); }

/* ---- Cards: hover lift ---- */
.feature-card, .service-card, .stat-card, .testimonial-card, .process-step,
.info-card, .blog-row, .gallery-item, .timeline-content, .reg-chip {
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease, border-color .2s ease;
}
.feature-card:hover, .service-card:hover, .testimonial-card:hover, .process-step:hover,
.blog-row:hover, .timeline-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15,118,110,.14);
}
.stat-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 22px 44px rgba(15,118,110,.14); }
.info-card:hover, .reg-chip:hover { transform: translateY(-3px); border-color: #5eead4; }

/* Service icon pops on card hover */
.service-card .service-icon { transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s ease; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(-4deg); background: #99f6e4; }

/* ---- Chips ---- */
.chip { transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.chip:hover { transform: translateY(-2px); background: #0d9488; color: #fff; border-color: #0d9488; }

/* ---- Gallery image zoom ---- */
.gallery-item { overflow: hidden; }
.gallery-item img, .blog-row-cover img { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.gallery-item:hover img, .blog-row:hover .blog-row-cover img { transform: scale(1.06); }

/* ---- Hero entrance ---- */
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.js .hero-copy > * { opacity: 0; animation: heroIn .8s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
.js .hero-visual { opacity: 0; animation: heroIn 1s cubic-bezier(.22,.61,.36,1) .3s forwards; }
.hero-award-card { animation: heroFloat 5s ease-in-out 1.4s infinite; }

/* Hero pill shimmer */
@keyframes pillPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(13,148,136,.25); } 50% { box-shadow: 0 0 0 8px rgba(13,148,136,0); } }
.hero-pill { animation: pillPulse 2.6s ease-out 1.6s infinite; }

/* ---- Timeline dot pulse ---- */
.timeline-dot { transition: transform .3s ease; }
.timeline-item:hover .timeline-dot { transform: scale(1.25); }

/* ---- Floating WhatsApp / mobile bar buttons ---- */
.footer-wa { transition: transform .2s ease, background .2s ease; }
.footer-wa:hover { transform: translateY(-3px); }


/* ---- Reduced motion: disable everything motion-y ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-copy > *, .hero-visual { opacity: 1 !important; animation: none !important; }
  .hero-award-card, .hero-pill { animation: none !important; }
  * { scroll-behavior: auto !important; }
  .button:hover, .feature-card:hover, .service-card:hover, .stat-card:hover,
  .testimonial-card:hover, .process-step:hover, .blog-row:hover, .timeline-content:hover { transform: none; }
}

/* ---- Gallery lightbox ---- */
.gallery-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.gallery-trigger img { width: 100%; height: 200px; object-fit: cover; display: block; }
.gallery-zoom { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(15,23,42,.55); color: #fff; display: grid; place-items: center; font-size: 16px; opacity: 0; transform: scale(.8); transition: opacity .2s ease, transform .2s ease; }
.gallery-item:hover .gallery-zoom, .gallery-trigger:focus-visible .gallery-zoom { opacity: 1; transform: scale(1); }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 24px; background: rgba(8,15,28,.92); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; max-width: min(1000px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.94); transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.lightbox.open .lb-img { transform: scale(1); }
.lb-caption { color: #e2e8f0; font-size: 15px; text-align: center; max-width: 700px; }
.lb-caption:empty { display: none; }
.lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer; transition: background .2s ease; }
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-nav { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s ease; }
.lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-nav[hidden] { display: none; }
body.lb-open { overflow: hidden; }

@media (max-width: 640px) {
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lb-img { transition: none; }
  .lb-img { transform: none; }
}

/* ---- Legal pages (privacy / terms) ---- */
.legal-container { max-width: 820px; }
.legal-body h2 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 20px; color: #0f172a; margin: 32px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: #334155; line-height: 1.75; margin: 0 0 16px; }
.legal-body ul { color: #334155; line-height: 1.75; margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: #0d9488; font-weight: 600; }
