/* IDECO — Design System
   Modern medical / ophthalmology look. Mobile-first. */

:root {
  /* Brand */
  --c-primary: #0a3a6e;
  --c-primary-dark: #062a52;
  --c-primary-light: #1d5a98;
  --c-accent: #0fb5ba;
  --c-accent-dark: #0a8c91;
  --c-accent-soft: #def5f6;

  /* Neutrals */
  --c-ink: #0e1a2b;
  --c-ink-soft: #2c3a52;
  --c-muted: #5a6884;
  --c-line: #e3e8f0;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f9fc;
  --c-bg-tint: #eef4fb;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(13,30,55,.06), 0 1px 3px rgba(13,30,55,.05);
  --shadow-md: 0 6px 16px rgba(13,30,55,.07), 0 2px 4px rgba(13,30,55,.05);
  --shadow-lg: 0 24px 48px rgba(13,30,55,.10), 0 8px 16px rgba(13,30,55,.06);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Newsreader', 'Playfair Display', Georgia, serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --header-h: 84px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent-dark); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { padding-left: 1.25rem; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  margin: 0 0 .5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; color: var(--c-ink-soft); }
.lead { font-size: 1.15rem; color: var(--c-muted); line-height: 1.6; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: .8rem;
}

/* Container */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15,181,186,.25);
}
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid currentColor;
  color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-light { background: #fff; color: var(--c-primary); }
.btn-light:hover { background: var(--c-bg-soft); color: var(--c-primary-dark); }
.btn-ghost { color: var(--c-primary); padding-inline: 0; }
.btn-ghost:hover { color: var(--c-accent-dark); }
.btn-lg { padding: 1em 2em; font-size: 1rem; }

/* Top bar */
.topbar {
  background: var(--c-primary);
  color: #fff;
  font-size: .85rem;
  padding: .55rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar-info { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 980px) { .topbar { display: none; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
/* Plain nav links and dropdown triggers — share identical styles */
.nav > a:not(.btn),
.nav .has-dropdown > .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--c-ink);
  font-weight: 500;
  font-size: .95rem;
  font-family: inherit;
  line-height: 1;
  padding: .9rem 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.nav > a:not(.btn)::after,
.nav .has-dropdown > .nav-trigger::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav > a:not(.btn):hover, .nav > a:not(.btn).is-active,
.nav .has-dropdown:hover > .nav-trigger,
.nav .has-dropdown.is-open > .nav-trigger { color: var(--c-primary); }
.nav > a:not(.btn):hover::after, .nav > a:not(.btn).is-active::after,
.nav .has-dropdown:hover > .nav-trigger::before,
.nav .has-dropdown.is-open > .nav-trigger::before { transform: scaleX(1); }

/* CTA button in nav — full button, no underline pseudo */
.nav > a.btn { padding: .75em 1.5em; }
.nav > a.btn::after, .nav > a.btn::before { display: none !important; content: none !important; }

.has-dropdown { position: relative; }
.has-dropdown > .nav-trigger::after {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
  margin-left: 2px;
}
.has-dropdown.is-open > .nav-trigger::after { transform: rotate(225deg) translateY(2px); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: -16px;
  min-width: 280px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .8rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown.is-mega { min-width: 580px; left: -240px; }
.dropdown.is-mega .dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.has-dropdown:hover > .dropdown,
.has-dropdown.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: .55rem .8rem;
  border-radius: 8px;
  color: var(--c-ink-soft);
  font-size: .9rem;
}
.dropdown a:hover { background: var(--c-bg-tint); color: var(--c-primary); }
.dropdown a::after { display: none; }

.nav-cta { margin-left: 1rem; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-ink); margin: 5px auto; transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 4rem;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 99;
  }
  .nav.is-open { transform: translateX(0); }
  .nav > a:not(.btn),
  .nav .has-dropdown > .nav-trigger {
    padding: 1rem .25rem;
    border-bottom: 1px solid var(--c-line);
    width: 100%;
    justify-content: space-between;
    line-height: 1.3;
  }
  .nav > a:not(.btn)::after,
  .nav .has-dropdown > .nav-trigger::before { display: none !important; }
  .dropdown, .dropdown.is-mega {
    position: static;
    box-shadow: none;
    opacity: 1; visibility: visible;
    transform: none;
    min-width: 0; left: auto;
    padding: .25rem 0 .5rem .5rem;
    display: none;
    background: var(--c-bg-soft);
    border-radius: 8px;
    margin-bottom: .25rem;
  }
  .has-dropdown.is-open > .dropdown { display: block; }
  .dropdown.is-mega .dropdown-grid { grid-template-columns: 1fr; }
  .dropdown a {
    padding: .65rem .75rem;
    font-size: .9rem;
    border: 0;
  }
  /* CTA in mobile drawer — full-width button, no border, no underline */
  .nav > a.btn {
    width: 100%;
    margin: 1.25rem 0 0;
    justify-content: center;
    padding: 1em 1.5em;
    border: 0 !important;
    border-bottom: 0 !important;
  }
  .nav > a.btn::after, .nav > a.btn::before { display: none !important; }
}

/* Hero (homepage slider) */
.hero {
  position: relative;
  min-height: clamp(440px, 70vh, 720px);
  color: #fff;
  overflow: hidden;
  background: #03203f;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .9s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(6,42,82,.85) 0%, rgba(10,58,110,.55) 45%, rgba(15,181,186,.25) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) 24px;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero p { color: rgba(255,255,255,.85); max-width: 52ch; font-size: 1.1rem; }
.hero-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.hero-dots { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: .6rem; }
.hero-dots button {
  width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); transition: background .2s, width .2s;
}
.hero-dots button.is-active { background: var(--c-accent); width: 50px; }

/* Page hero (internal pages) */
.page-hero {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 9vh, 100px);
  color: #fff;
  background: linear-gradient(120deg, var(--c-primary-dark) 0%, var(--c-primary) 50%, var(--c-accent-dark) 100%);
  overflow: hidden;
}
.page-hero.has-image::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--bg-image);
  background-size: cover; background-position: center;
  opacity: .25;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero .breadcrumb { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 60ch; }

/* Sections */
.section { padding: clamp(56px, 9vh, 110px) 0; }
.section-soft { background: var(--c-bg-soft); }
.section-tint { background: var(--c-bg-tint); }
.section-dark { background: var(--c-primary-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.8); }

.section-header { text-align: center; max-width: 62ch; margin: 0 auto clamp(2rem, 5vh, 3.5rem); }
.section-header.is-left { text-align: left; margin-left: 0; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label { color: var(--c-muted); font-size: .95rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-media {
  aspect-ratio: 16 / 10;
  background-size: cover; background-position: center;
  background-color: var(--c-bg-tint);
}
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.2rem; font-family: var(--font-display); font-weight: 600; color: var(--c-ink); margin: 0 0 .5rem; }
.card-text { color: var(--c-muted); font-size: .95rem; flex: 1; margin-bottom: 1rem; }
.card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--c-accent-dark);
  font-weight: 600; font-size: .9rem;
}
.card-link::after { content: '→'; transition: transform .2s; }
.card-link:hover::after { transform: translateX(4px); }

/* Specialty card (image + overlay) */
.specialty-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--c-primary);
  isolation: isolate;
}
.specialty-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--bg-image, none);
  background-size: cover; background-position: center;
  transition: transform .5s ease;
  z-index: -2;
}
.specialty-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,30,60,.85) 100%);
  z-index: -1;
}
.specialty-card:hover::before { transform: scale(1.06); }
.specialty-card-body { padding: 1.5rem; width: 100%; }
.specialty-card h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.4rem; }
.specialty-card p { color: rgba(255,255,255,.85); font-size: .9rem; margin: 0; }

/* Doctor card */
.doctor {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.doctor:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.doctor-photo { aspect-ratio: 1; background-size: cover; background-position: center top; background-color: var(--c-bg-tint); }
.doctor-body { padding: 1.4rem 1.2rem; }
.doctor-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--c-ink); margin: 0 0 .15rem; }
.doctor-role { color: var(--c-accent-dark); font-size: .85rem; font-weight: 600; }
.doctor-crm { color: var(--c-muted); font-size: .8rem; margin-top: .35rem; }

/* Content / prose */
.prose {
  max-width: 78ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
}
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { color: var(--c-ink-soft); }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose blockquote {
  border-left: 3px solid var(--c-accent);
  padding-left: 1.2em;
  color: var(--c-ink);
  font-style: italic;
}

/* Two-column layout */
.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: flex-start; }
@media (max-width: 980px) { .layout-2col { grid-template-columns: 1fr; } }

.sidebar-card {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.sidebar-card h4 { font-family: var(--font-sans); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); margin-bottom: 1rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { border-top: 1px solid var(--c-line); }
.sidebar-card li:first-child { border: 0; }
.sidebar-card a { display: block; padding: .65rem 0; color: var(--c-ink-soft); font-size: .92rem; }
.sidebar-card a:hover { color: var(--c-primary); }
.sidebar-card a.is-active { color: var(--c-primary); font-weight: 600; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-accent-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  display: grid; grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.cta-banner h2 { color: #fff; margin: 0; max-width: 24ch; }
.cta-banner p { color: rgba(255,255,255,.85); margin-top: .5rem; }
@media (max-width: 720px) { .cta-banner { grid-template-columns: 1fr; text-align: center; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img, .gallery .gimg {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-size: cover; background-position: center;
}
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: stretch; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-accent-soft); color: var(--c-accent-dark);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item h4 { margin: 0 0 .15rem; font-family: var(--font-sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); font-weight: 600; }
.contact-item p { margin: 0; color: var(--c-ink); font-weight: 500; }

.form { display: grid; gap: 1rem; }
.form label { font-size: .85rem; font-weight: 600; color: var(--c-ink); }
.form input, .form textarea, .form select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  font: inherit;
  background: #fff;
  color: var(--c-ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(15,181,186,.15);
}
.form textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Map */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); height: 100%; min-height: 360px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Footer */
.site-footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,.75);
  padding: clamp(48px, 7vh, 80px) 0 0;
  font-size: .92rem;
}
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); display: inline-block; padding: .25rem 0; }
.site-footer a:hover { color: var(--c-accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 48px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,.7); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.55);
  flex-wrap: wrap; gap: 1rem;
}
.social { display: flex; gap: .6rem; }
.social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.social a:hover { background: var(--c-accent); color: #fff; }
.social svg { width: 18px; height: 18px; }

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed; bottom: 22px; right: 22px; z-index: 99;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.4), 0 4px 8px rgba(0,0,0,.12);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.fab-whatsapp:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 16px 32px rgba(37,211,102,.5);
}
.fab-whatsapp svg {
  width: 32px;
  height: 32px;
  display: block;
  max-width: none;
  fill: #fff;
}
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 12px 28px rgba(37,211,102,.4), 0 0 0 18px rgba(37,211,102,0); }
}
.fab-whatsapp { animation: fab-pulse 2.4s ease-in-out infinite; }

/* Tabs / accordions */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--c-line); margin-bottom: 1.5rem; }
.tab {
  padding: .85rem 1.2rem;
  border: 0; background: none;
  color: var(--c-muted); font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.tab.is-active, .tab:hover { color: var(--c-primary); border-bottom-color: var(--c-accent); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* Utilities */
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: var(--c-muted); }
.divider { height: 1px; background: var(--c-line); margin: 2rem 0; }

/* === Donato-inspired home === */

/* Full-screen hero */
.hero-fs {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #03203f;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
.hero-fs-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-fs-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,30,60,.55) 0%, rgba(6,30,60,.7) 60%, rgba(10,58,110,.85) 100%);
}
.hero-fs-content {
  position: relative; z-index: 2;
  max-width: 980px;
  padding: 4rem 24px;
}
.hero-fs h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 1.4rem;
}
.hero-fs .lead {
  color: rgba(255,255,255,.9);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.hero-fs .btn { padding: 1.1em 2.4em; font-size: 1rem; }
.hero-fs-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  animation: scrollHint 2.4s ease-in-out infinite;
}
.hero-fs-scroll::after {
  content: '';
  width: 1px; height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), transparent);
}
@keyframes scrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: .55; }
}

/* Section heading style (Donato-like centered, big) */
.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(3rem, 6vh, 4.5rem);
}
.section-heading .eyebrow {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 1rem;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.section-heading p {
  font-size: 1.1rem;
  color: var(--c-muted);
  max-width: 60ch;
  margin: 0 auto;
}

/* Specialty grid (Donato style: image on top, label below, no overlay) */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
@media (max-width: 980px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .spec-grid { grid-template-columns: 1fr; } }

.spec-tile {
  display: block;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .2s;
}
.spec-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(10,58,110,.12), 0 6px 12px rgba(10,58,110,.06);
  border-color: var(--c-accent);
}
.spec-tile-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--c-bg-tint);
  transition: transform .5s ease;
}
.spec-tile:hover .spec-tile-img { transform: scale(1.04); }
.spec-tile-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.spec-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-ink);
}
.spec-tile-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-bg-tint);
  color: var(--c-primary);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .2s;
}
.spec-tile:hover .spec-tile-arrow {
  background: var(--c-accent);
  color: #fff;
  transform: rotate(-45deg);
}

/* Big stats (Donato style — typographic, no card backgrounds) */
.bigstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.bigstats .item {
  padding: 1rem;
  border-left: 1px solid var(--c-line);
}
.bigstats .item:first-child { border-left: 0; }
.bigstats .num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--c-primary);
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.bigstats .label {
  font-size: .98rem;
  color: var(--c-muted);
  letter-spacing: .02em;
}
@media (max-width: 880px) {
  .bigstats { grid-template-columns: repeat(2, 1fr); }
  .bigstats .item { border-left: 0; }
  .bigstats .item:nth-child(odd) { border-right: 1px solid var(--c-line); }
}

/* Trust / accreditation strip */
.trust-strip {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) { .trust-strip { grid-template-columns: 1fr; gap: 2rem; } }

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--c-line);
}
.trust-badge .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-badge .ico svg { width: 22px; height: 22px; }
.trust-badge h4 { margin: 0 0 .25rem; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
.trust-badge p { margin: 0; font-size: .9rem; color: var(--c-muted); }

/* Doctor strip (preview row) */
.doctors-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .doctors-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .doctors-row { grid-template-columns: repeat(2, 1fr); } }

.doctor-mini {
  text-align: center;
}
.doctor-mini .ph {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center top;
  border-radius: 16px;
  background-color: var(--c-bg-tint);
  margin-bottom: .85rem;
  transition: transform .3s;
}
.doctor-mini:hover .ph { transform: translateY(-3px); }
.doctor-mini .nm { font-weight: 600; color: var(--c-ink); font-size: .95rem; line-height: 1.3; }
.doctor-mini .rl { font-size: .8rem; color: var(--c-muted); margin-top: .15rem; }

/* Big CTA section (Donato has full-bleed image + text) */
.fullbleed-cta {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.fullbleed-cta::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: var(--bg);
  background-size: cover; background-position: center;
}
.fullbleed-cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgba(6,30,60,.92) 0%, rgba(10,58,110,.78) 50%, rgba(15,181,186,.5) 100%);
}
.fullbleed-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 22ch; }
.fullbleed-cta p { color: rgba(255,255,255,.88); max-width: 56ch; }

/* Posts row (blog preview) */
.posts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 880px) { .posts-row { grid-template-columns: 1fr; } }

.post-card {
  display: flex; flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.post-card-body { padding: 1.5rem 1.5rem 1.75rem; }
.post-card .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: .8rem;
}
.post-card h3 { margin: 0 0 .8rem; font-size: 1.2rem; line-height: 1.35; }
.post-card .more {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--c-primary);
  font-weight: 600; font-size: .9rem;
}
.post-card .more::after { content: '→'; transition: transform .2s; }
.post-card:hover .more::after { transform: translateX(4px); }

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
