:root {
  --navy-950: #031d31;
  --navy-900: #052943;
  --navy-800: #083b5e;
  --blue-600: #1778b5;
  --blue-500: #2b96d2;
  --blue-100: #dceef8;
  --ice: #f3f8fb;
  --paper: #ffffff;
  --ink: #102b3e;
  --muted: #647582;
  --line: #d9e4ea;
  --shadow: 0 24px 60px rgba(3, 29, 49, .14);
  --radius: 22px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.035em; }
p { color: var(--muted); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section-padding { padding: 110px 0; }
.section-dark { background: var(--navy-900); color: white; }
.section-dark p { color: rgba(255,255,255,.7); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -80px; background: white; color: var(--ink); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--blue-600); font-size: .73rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow-light { color: #8fd2f7; }
.heading-row { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 44px; }
.heading-row h2 { max-width: 820px; margin-bottom: 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; font-weight: 600; font-size: .9rem; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); box-shadow: 0 13px 30px rgba(23,120,181,.25); }
.button-light { color: var(--navy-900); background: #fff; box-shadow: 0 12px 28px rgba(3,29,49,.15); }
.button-navy { color: #fff; background: var(--navy-800); }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
.button-outline-navy { color: var(--navy-800); border-color: #9fb4c1; background: white; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--navy-800); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.text-link.light { color: #bfe8ff; }
.text-link span, .button span { transition: transform .2s; }
.text-link:hover span, .button:hover span { transform: translateX(4px); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 92px; display: flex; align-items: center; color: white; transition: background .25s, box-shadow .25s, height .25s; }
.site-header.is-scrolled, body:not(.home-page) .site-header { height: 78px; background: rgba(3,29,49,.96); box-shadow: 0 10px 30px rgba(3,29,49,.2); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: block; width: 210px; flex: 0 0 auto; }
.brand img { filter: grayscale(1) brightness(0) invert(1); }
.site-nav { margin-left: auto; }
.site-nav ul { padding: 0; margin: 0; list-style: none; }
.nav-root { display: flex; align-items: center; gap: clamp(12px, 1.45vw, 23px); }
.nav-root > li { position: relative; display: flex; align-items: center; }
.site-nav a { position: relative; font-size: .79rem; color: rgba(255,255,255,.82); padding: 12px 0; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 1px; background: #fff; transition: width .2s; }
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a:hover, .site-nav a.is-active { color: white; }
.submenu-toggle { width: 22px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; color: white; background: transparent; cursor: pointer; }
.submenu-toggle:focus { outline: none; }
.submenu-toggle:focus-visible { outline: 2px solid var(--blue-500); outline-offset: -2px; border-radius: 7px; }
.submenu-toggle span { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px,2px); transition: transform .2s; }
.dropdown-menu { position: absolute; z-index: 110; top: calc(100% + 12px); left: -20px; width: 255px; padding: 9px !important; opacity: 0; visibility: hidden; transform: translateY(8px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 22px 55px rgba(3,29,49,.2); transition: opacity .2s, visibility .2s, transform .2s; }
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dropdown-menu li { position: relative; display: flex; align-items: center; border-radius: 9px; }
.dropdown-menu li:hover { background: var(--ice); }
.dropdown-menu a { flex: 1; min-width: 0; padding: 11px 12px; color: var(--ink); font-size: .76rem; line-height: 1.35; white-space: normal; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { color: var(--blue-600); }
.dropdown-menu .submenu-toggle { flex: 0 0 30px; height: 38px; color: var(--navy-800); }
.dropdown-menu .submenu-toggle span { transform: rotate(-45deg); }
.dropdown-menu .dropdown-menu { top: -9px; left: calc(100% + 7px); }
.dropdown-menu-wide { width: 285px; }
.has-submenu:hover > .dropdown-menu, .has-submenu:focus-within > .dropdown-menu, .has-submenu.is-open > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.has-submenu.is-open > .submenu-toggle span { transform: rotate(225deg) translate(-1px,1px); }
.dropdown-menu .has-submenu.is-open > .submenu-toggle span { transform: rotate(135deg); }
.header-cta { min-height: 44px; padding: 0 18px; font-size: .78rem; }
.menu-toggle { display: none; border: 0; background: none; width: 42px; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 6px 0; background: white; }

.hero { position: relative; min-height: 790px; display: flex; align-items: center; color: white; background: var(--navy-950); overflow: hidden; }
.hero-media { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(3,29,49,.2), rgba(3,29,49,0) 65%), url('../images/hero-consulta.png'); background-position: center; background-size: cover; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(3,29,49,.4)); }
.hero-content { position: relative; z-index: 2; padding: 154px 0 125px; }
.hero-content h1 { max-width: 690px; margin-bottom: 22px; font-size: clamp(3.2rem, 5.7vw, 5.6rem); letter-spacing: -.047em; }
.hero-content h1 em { color: #75c7f1; font-style: normal; }
.hero-lead { max-width: 600px; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { position: absolute; z-index: 3; right: 0; bottom: 175px; width: 275px; display: flex; gap: 15px; padding: 25px; color: var(--ink); background: rgba(255,255,255,.92); border-radius: 18px 0 0 18px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-note-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; color: var(--blue-600); border-radius: 50%; background: var(--blue-100); }
.hero-note-icon img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) saturate(100%) invert(43%) sepia(76%) saturate(920%) hue-rotate(166deg) brightness(90%) contrast(91%); }
.hero-note strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.12rem; }
.hero-note p { margin: 8px 0 0; font-size: .78rem; line-height: 1.55; }

.section-overlap { position: relative; z-index: 5; margin-top: -66px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 35px 20px; background: white; border: 1px solid rgba(217,228,234,.8); border-radius: 20px; box-shadow: var(--shadow); }
.trust-grid article { display: flex; align-items: center; gap: 18px; padding: 0 28px; border-right: 1px solid var(--line); }
.trust-grid article:last-child { border: 0; }
.feature-icon { display: grid; place-items: center; flex: 0 0 58px; height: 58px; }
.feature-icon img { width: 42px; height: 42px; object-fit: contain; filter: brightness(0) saturate(100%) invert(19%) sepia(25%) saturate(1887%) hue-rotate(164deg) brightness(90%) contrast(98%); }
.trust-grid h2 { margin: 0 0 7px; font-family: "DM Sans", Arial, sans-serif; font-size: .9rem; font-weight: 700; letter-spacing: 0; }
.trust-grid p { margin: 0; font-size: .75rem; line-height: 1.5; }

.specialties-section { margin-top: -60px; padding-top: 165px; background-image: radial-gradient(circle at 85% 30%, rgba(43,150,210,.13), transparent 30%), linear-gradient(135deg, var(--navy-900), #063657); }
.specialty-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 15px; }
.specialty-card { position: relative; min-height: 405px; display: flex; flex-direction: column; padding: 30px 24px 25px; overflow: hidden; border: 1px solid rgba(158,204,230,.35); border-radius: 18px; background: rgba(255,255,255,.025); transition: transform .3s, border-color .3s; }
.specialty-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(rgba(3,29,49,.55), rgba(3,29,49,.95)), var(--card-image) center/cover; transition: opacity .35s; }
.specialty-card:hover { transform: translateY(-7px); border-color: #8fd2f7; }
.specialty-card:hover::before { opacity: 1; }
.specialty-number { position: absolute; top: 20px; right: 20px; color: rgba(255,255,255,.28); font-size: .7rem; }
.specialty-symbol { display: grid; place-items: center; width: 86px; height: 86px; margin: 14px auto 20px; }
.specialty-symbol img { width: 76px; height: 76px; object-fit: contain; }
.specialty-card h3 { text-align: center; font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.specialty-card p { text-align: center; font-size: .79rem; }
.specialty-card a { margin-top: auto; color: #c1e8fd; font-size: .78rem; font-weight: 600; }
.specialty-card a span { float: right; }

.structure-grid { display: grid; grid-template-columns: .78fr 1.6fr; align-items: center; gap: 80px; }
.structure-copy h2 { font-size: clamp(2.4rem, 4vw, 4.1rem); }
.structure-copy > p:not(.eyebrow) { max-width: 450px; }
.structure-copy .button { margin-top: 18px; }
.mini-stat { display: flex; flex-direction: column; margin-top: 38px; padding-left: 18px; border-left: 3px solid var(--blue-500); }
.mini-stat strong { color: var(--navy-800); }
.mini-stat span { color: var(--muted); font-size: .85rem; }
.structure-gallery { position: relative; padding: 12px; border: 1px solid var(--line); border-radius: 28px; background: var(--ice); box-shadow: var(--shadow); }
.structure-gallery figure { margin: 0; overflow: hidden; }
.gallery-main { height: 445px; border-radius: 20px; }
.gallery-main img { height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: -80px 16px 0; position: relative; }
.gallery-thumbs figure { position: relative; height: 150px; border: 5px solid white; border-radius: 15px; box-shadow: 0 12px 26px rgba(3,29,49,.14); }
.gallery-thumbs img { height: 100%; object-fit: cover; }
.gallery-thumbs figcaption { position: absolute; inset: auto 0 0; padding: 16px 10px 9px; color: var(--ink); text-align: center; font-size: .75rem; font-weight: 700; background: linear-gradient(transparent, white 44%); }

.technology-section { position: relative; overflow: hidden; padding: 90px 0 0; background: linear-gradient(115deg, #052943 0%, #064675 100%); }
.technology-grid { min-height: 450px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; position: relative; }
.technology-copy { padding: 0 0 70px; }
.technology-copy h2 { max-width: 650px; }
.technology-copy > p:not(.eyebrow) { max-width: 570px; }
.technology-features { display: flex; gap: 28px; margin-top: 35px; }
.technology-features span { max-width: 150px; color: rgba(255,255,255,.75); font-size: .75rem; line-height: 1.4; }
.technology-features b { display: block; width: 42px; height: 42px; margin-bottom: 8px; }
.technology-features b img { width: 34px; height: 34px; object-fit: contain; filter: brightness(0) saturate(100%) invert(88%) sepia(12%) saturate(1232%) hue-rotate(172deg) brightness(103%) contrast(98%); }
.technology-image { align-self: end; height: 410px; margin: 0 0 0 50px; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.technology-image img { height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .9; }
.technology-button { position: absolute; right: 20px; bottom: 30px; }
.technology-rings { position: absolute; right: 28%; bottom: -230px; width: 630px; height: 630px; border: 1px solid rgba(143,210,247,.12); border-radius: 50%; box-shadow: 0 0 0 65px rgba(143,210,247,.03), 0 0 0 130px rgba(143,210,247,.025); }

.doctor-grid { display: grid; grid-template-columns: .8fr 1.35fr .55fr; gap: 60px; align-items: center; }
.doctor-photo { position: relative; margin: 0; height: 525px; overflow: hidden; border-radius: 24px; background: var(--ice); }
.doctor-photo img { height: 100%; object-fit: cover; }
.doctor-photo figcaption { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; color: white; background: rgba(3,29,49,.9); border-radius: 8px; font-size: .72rem; }
.doctor-copy h2 { margin: 0; font-size: clamp(2.8rem, 4.2vw, 4.5rem); }
.doctor-role { display: block; margin: 7px 0 22px; color: var(--blue-600); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.check-list { padding: 0; margin: 25px 0; list-style: none; }
.check-list li { position: relative; padding: 7px 0 7px 27px; color: #4f6573; font-size: .85rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-600); font-weight: 700; }
.experience-card { padding: 35px 25px; text-align: center; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 45px rgba(3,29,49,.08); }
.experience-card > span { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto; }
.experience-card > span img { width: 46px; height: 46px; object-fit: contain; filter: brightness(0) saturate(100%) invert(43%) sepia(76%) saturate(920%) hue-rotate(166deg) brightness(90%) contrast(91%); }
.experience-card strong { display: block; margin: 8px 0 0; color: var(--blue-600); font-family: "Playfair Display", Georgia, serif; font-size: 4rem; line-height: 1; }
.experience-card h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
.experience-card p { font-size: .76rem; }
.experience-card div h3 { margin: 12px 0 8px; }
.experience-card div p { margin-bottom: 0; }

.location-section { padding: 70px 0; background: linear-gradient(120deg, #052943, #06385b); }
.location-grid { display: grid; grid-template-columns: .85fr .85fr 1fr; gap: 22px; align-items: stretch; }
.location-copy, .location-info { padding: 28px 15px; }
.location-copy h2 { font-size: 2.6rem; }
.location-photo { margin: 0; overflow: hidden; border-radius: 20px; min-height: 280px; }
.location-photo img { height: 100%; object-fit: cover; }
.location-info { padding: 32px; color: var(--ink); background: white; border-radius: 20px; }
.location-info p { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: .82rem; }
.section-dark .location-info p { color: #4f6573; }
.location-info p span { color: var(--blue-600); font-size: 1rem; }
.location-info p span { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; }
.location-info p span img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) saturate(100%) invert(43%) sepia(76%) saturate(920%) hue-rotate(166deg) brightness(90%) contrast(91%); }
.location-info .button { width: 100%; margin-top: 14px; }

.news-section { background: #f7fafc; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.news-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-image { display: block; height: 245px; overflow: hidden; }
.news-image img { height: 100%; object-fit: cover; transition: transform .45s; }
.news-card:hover .news-image img { transform: scale(1.04); }
.news-content { padding: 27px; }
.news-content time { color: var(--blue-600); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.news-content h3 { margin: 12px 0; font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.news-content p { font-size: .84rem; }

.final-cta { padding: 40px 0; color: white; background: var(--blue-600); }
.final-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; padding: 35px 0; }
.final-cta h2 { margin-bottom: 8px; }
.final-cta p { margin-bottom: 0; color: rgba(255,255,255,.78); }

.site-footer { padding: 70px 0 22px; color: white; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 55px; padding-bottom: 45px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { max-width: 330px; font-size: .8rem; color: rgba(255,255,255,.58); }
.footer-grid h2 { margin-bottom: 18px; color: #8fd2f7; font-family: "DM Sans", Arial, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div > a { display: block; margin: 8px 0; color: rgba(255,255,255,.68); font-size: .78rem; }
.footer-contact p { color: rgba(255,255,255,.58); font-size: .78rem; }
.footer-ai { display: flex; align-items: center; justify-content: center; }
.footer-ai img { display: block; width: min(100%, 190px); height: auto; }
.social-links { display: flex; gap: 8px; }
.social-links a { display: grid !important; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: .68rem !important; }
.social-links img { width: 15px; height: 15px; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.social-links a:hover img { opacity: 1; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.45); font-size: .7rem; }
.footer-credits { padding-right: 62px; text-align: right; }
.footer-bottom a { color: #8fd2f7; }
.footer-bottom a:hover { color: #fff; }
.whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: grid; place-items: center; width: 54px; height: 54px; color: white; background: #25d366; border-radius: 50%; box-shadow: 0 10px 25px rgba(0,0,0,.18); font-size: .75rem; font-weight: 700; }
.whatsapp-float img { width: 25px; height: 25px; object-fit: contain; filter: brightness(0) invert(1); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.specialty-card:nth-child(2), .news-card:nth-child(2) { transition-delay: .08s; }
.specialty-card:nth-child(3), .news-card:nth-child(3) { transition-delay: .16s; }
.specialty-card:nth-child(4) { transition-delay: .24s; }
.specialty-card:nth-child(5) { transition-delay: .32s; }

/* Páginas internas */
.inner-hero { padding: 165px 0 78px; color: white; background: linear-gradient(115deg, rgba(3,29,49,.96), rgba(5,62,98,.82)), var(--inner-image, url('../images/hero-antigo.jpg')) center/cover; }
.inner-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(2.8rem, 4.7vw, 4.6rem); }
.inner-hero p:not(.eyebrow) { max-width: 680px; margin-top: 20px; color: rgba(255,255,255,.75); }
.content-section { padding: 90px 0; }
.content-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: start; }
.content-copy h2 { font-size: 2.8rem; }
.content-copy h3 { margin-top: 36px; font-family: "Playfair Display", Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.content-copy p, .content-copy li { color: #5b6f7c; }
.content-aside { position: sticky; top: 110px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ice); }
.content-aside img { margin-bottom: 25px; border-radius: 15px; }
.service-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 36px; }
.service-item { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.service-item h3 { margin: 0 0 12px; font-size: 1.3rem; }
.service-item p { margin: 0; font-size: .85rem; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: rgba(255,255,255,.65); font-size: .75rem; }
.breadcrumbs a:hover { color: white; }
.static-content > p, .static-content > ul { max-width: 780px; font-size: 1rem; line-height: 1.85; }
.static-content .lead-text { color: var(--blue-600); font-weight: 700; }
.static-content ul { padding-left: 21px; }
.static-content li { margin-bottom: 10px; }
.static-content blockquote { margin: 28px 0; padding: 25px 28px; color: var(--navy-800); font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; line-height: 1.6; border-left: 3px solid var(--blue-500); background: var(--ice); border-radius: 0 14px 14px 0; }
.page-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
.page-directory .service-item { display: flex; flex-direction: column; min-height: 190px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.page-directory .service-item:hover { transform: translateY(-4px); border-color: #9bcce7; box-shadow: 0 14px 35px rgba(3,29,49,.08); }
.page-directory .service-item span { margin-top: auto; padding-top: 22px; color: var(--blue-600); font-size: .78rem; font-weight: 700; }
.aside-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; color: var(--navy-800); font-size: .85rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.aside-link span { color: var(--blue-600); }
.aside-cta { width: 100%; margin-top: 24px; }
.page-highlights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.page-highlights span { padding: 17px; color: var(--navy-800); font-weight: 700; border: 1px solid var(--line); border-radius: 12px; background: var(--ice); }
.contact-panel { margin: 25px 0; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--ice); }
.contact-panel p:last-child { margin-bottom: 0; }

@media (max-width: 1100px) {
  .header-cta { display: none; }
  .site-nav { gap: 17px; }
  .specialty-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); gap: 28px 0; }
  .trust-grid article:nth-child(2) { border: 0; }
  .structure-grid { gap: 40px; }
  .doctor-grid { grid-template-columns: .8fr 1.2fr; }
  .experience-card { grid-column: 1 / -1; display: grid; grid-template-columns: 62px auto minmax(0,1fr); gap: 24px; align-items: center; padding: 28px 36px; text-align: left; }
  .experience-card > span { margin: 0; }
  .experience-card strong { margin: 0; font-size: 3.25rem; }
  .experience-card div h3 { margin: 0 0 6px; }
  .experience-card div p { margin: 0; }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .location-info { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 28px; align-items: center; }
  .location-info p { min-width: 0; margin: 0; }
  .location-info .button { grid-column: 1 / -1; width: 100%; margin: 4px 0 0; }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .dropdown-menu .dropdown-menu { left: auto; right: calc(100% + 7px); }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section-padding { padding: 80px 0; }
  .site-header { height: 74px; }
  .brand { width: 180px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: fixed; inset: 74px 0 auto; max-height: 0; overflow: hidden; background: var(--navy-950); transition: max-height .3s ease; }
  .site-nav.is-open { max-height: calc(100vh - 74px); padding: 14px 24px 28px; overflow-y: auto; }
  .nav-root { display: block; }
  .nav-root > li { position: relative; display: block; }
  .site-nav a { display: block; padding: 13px 42px 13px 4px; border-bottom: 1px solid rgba(255,255,255,.08); white-space: normal; }
  .site-nav a::after { display: none; }
  .nav-root > .has-submenu > .submenu-toggle { position: absolute; z-index: 2; right: 0; top: 3px; width: 40px; height: 40px; }
  .dropdown-menu { position: static; display: none; width: auto; padding: 4px 0 8px 15px !important; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,.035); border: 0; border-radius: 0; box-shadow: none; transition: none; }
  .has-submenu.is-open > .dropdown-menu { display: block; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu li { display: block; }
  .dropdown-menu li:hover { background: transparent; }
  .dropdown-menu a { padding: 11px 42px 11px 12px; color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.06); }
  .dropdown-menu a:hover { color: white; }
  .dropdown-menu .submenu-toggle { position: absolute; z-index: 2; right: 0; top: 2px; width: 38px; height: 38px; color: white; }
  .dropdown-menu .submenu-toggle span { transform: rotate(45deg) translate(-2px,2px); }
  .dropdown-menu .has-submenu.is-open > .submenu-toggle span { transform: rotate(225deg) translate(-1px,1px); }
  .dropdown-menu .dropdown-menu { position: static; margin-left: 9px; }
  .hero { min-height: 740px; align-items: end; }
  .hero-media { background-position: 61% center; }
  .hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,29,49,.96) 7%, rgba(3,29,49,.62) 58%, rgba(3,29,49,.1)); }
  .hero-content { padding: 160px 0 130px; }
  .hero-content h1 { max-width: 590px; font-size: clamp(2.9rem, 9vw, 4.7rem); }
  .hero-note { display: none; }
  .section-overlap { margin-top: -75px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 28px 14px; }
  .trust-grid article { padding: 0 20px; }
  .specialty-grid { grid-template-columns: repeat(2,1fr); }
  .structure-grid, .technology-grid, .doctor-grid, .content-grid { grid-template-columns: 1fr; }
  .structure-gallery { order: -1; }
  .gallery-main { height: 360px; }
  .technology-section { padding-top: 75px; }
  .technology-grid { min-height: 0; }
  .technology-copy { padding-bottom: 40px; }
  .technology-image { height: 330px; margin-left: 0; }
  .technology-button { position: static; margin: 25px 0 45px; justify-self: start; }
  .doctor-photo { max-width: 500px; }
  .experience-card { grid-column: auto; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:last-child { display: none; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .content-aside { position: static; }
}

@media (max-width: 580px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .hero { min-height: 720px; }
  .hero-content { padding-bottom: 110px; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-lead { font-size: .93rem; }
  .hero-actions .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; gap: 0; }
  .trust-grid article { padding: 19px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid article:last-child { border: 0; }
  .specialties-section { padding-top: 145px; }
  .heading-row { align-items: flex-start; flex-direction: column; }
  .specialty-grid { grid-template-columns: 1fr; }
  .specialty-card { min-height: 360px; }
  .structure-grid { gap: 38px; }
  .gallery-main { height: 260px; }
  .gallery-thumbs { margin: 12px 0 0; }
  .gallery-thumbs figure { height: 115px; border-width: 3px; }
  .technology-features { flex-direction: column; gap: 15px; }
  .technology-features span { max-width: none; display: flex; align-items: center; gap: 12px; }
  .technology-features b { margin: 0; }
  .doctor-photo { height: 430px; }
  .experience-card { display: block; padding: 30px 24px; text-align: center; }
  .experience-card > span { margin: 0 auto; }
  .experience-card strong { margin-top: 8px; }
  .experience-card div h3 { margin-top: 12px; }
  .location-grid, .news-grid, .service-list { grid-template-columns: 1fr; }
  .location-info { grid-column: auto; display: block; }
  .news-card:last-child { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-ai { grid-column: 1 / -1; }
  .footer-ai img { width: min(100%, 165px); }
  .footer-bottom { gap: 10px; flex-direction: column; }
  .footer-credits { padding-right: 0; text-align: center; }
  .inner-hero { padding: 145px 0 70px; }
  .page-directory, .page-highlights { grid-template-columns: 1fr; }
  .static-content blockquote { padding: 21px; font-size: 1.12rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
