:root {
    --primary: #284179;
    --primary-deep: #13284e;
    --primary-ink: #1a2e55;
    --accent: #22a7af;
    --accent-soft: #dff6f5;
    --ink: #17253f;
    --muted: #68758b;
    --line: #dce7ef;
    --soft: #f3f8fa;
    --white: #ffffff;
    --shadow-sm: 0 12px 28px rgba(25, 51, 88, .08);
    --shadow: 0 24px 70px rgba(18, 46, 80, .15);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Jost', Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }

.topbar {
    background: var(--primary-deep);
    color: rgba(255,255,255,.76);
    font-size: 13px;
    letter-spacing: .01em;
}
.topbar__inner {
    min-height: 36px;
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: flex-end;
}
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid rgba(40,65,121,.08);
    backdrop-filter: blur(18px);
}
.header__inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 274px; height: auto; }
.primary-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
}
.primary-nav a { position: relative; padding: 34px 0 32px; transition: color .2s ease; }
.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 23px;
    height: 2px;
    border-radius: 9px;
    background: var(--accent);
    transition: right .2s ease;
}
.primary-nav a.active,
.primary-nav a:hover { color: var(--accent); }
.primary-nav a.active::after,
.primary-nav a:hover::after { right: 0; }
.primary-nav .nav-cta { padding: 12px 18px; color: #fff !important; }
.primary-nav .nav-cta::after { display: none; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 10px;
    background: var(--accent);
    box-shadow: 0 10px 24px rgba(34,167,175,.25);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta:hover { background: #178e98; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(34,167,175,.32); }
.nav-cta__icon { font-size: 18px; line-height: 1; }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 10px; background: var(--primary); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: var(--primary-deep);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 6% 18%, rgba(34,167,175,.26), transparent 26%), linear-gradient(120deg, #142952 0%, #1e3c72 48%, #1d7684 130%);
}
.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 140px;
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgba(11,27,56,.34));
}
.hero__grid {
    min-height: 690px;
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    align-items: center;
    gap: 58px;
    padding: 76px 0 88px;
}
.hero__content { position: relative; z-index: 2; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 17px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 9px; background: currentColor; }
.hero .eyebrow, .cta-band .eyebrow { color: #90e4e2; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 17px; color: inherit; }
h1 { font-size: clamp(42px, 5.4vw, 72px); letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(31px, 3.2vw, 48px); letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 20px; color: var(--muted); }
.hero p, .cta-band p { max-width: 650px; color: rgba(255,255,255,.78); font-size: 18px; font-weight: 400; }
.hero__actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 21px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 15px 28px rgba(18,46,80,.18); }
.btn__arrow { font-size: 19px; line-height: 1; transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 25px rgba(34,167,175,.22); }
.btn--primary:hover { background: #178e98; }
.btn--secondary, .btn--light { background: #fff; color: var(--primary); }
.btn--outline-light { border-color: rgba(255,255,255,.42); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.hero__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 44px; }
.hero__meta div { padding: 15px 14px; border-top: 1px solid rgba(255,255,255,.25); }
.hero__meta strong { display: block; margin-bottom: 2px; font-size: 20px; font-weight: 600; }
.hero__meta span { display: block; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.35; }
.hero__visual { position: relative; min-height: 530px; }
.hero__visual::before { content: ''; position: absolute; width: 420px; height: 420px; left: -75px; top: -95px; border: 1px solid rgba(143,230,227,.22); border-radius: 50%; animation: orbit 22s linear infinite; }
.hero__visual::after { content: ''; position: absolute; width: 290px; height: 290px; left: -10px; top: -30px; border: 1px solid rgba(143,230,227,.18); border-radius: 50%; animation: orbitReverse 15s linear infinite; }
.hero__visual img { position: relative; z-index: 2; width: calc(100% - 28px); height: 540px; margin-left: 28px; object-fit: cover; object-position: center; border-radius: 190px 190px 22px 22px; border: 10px solid rgba(255,255,255,.1); box-shadow: 0 35px 90px rgba(0,0,0,.34); }
.hero__pulse { position: absolute; z-index: 3; right: -10px; top: 110px; width: 122px; height: 122px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(19,40,78,.72); box-shadow: 0 15px 35px rgba(0,0,0,.2); animation: float 5s ease-in-out infinite; }
.hero__pulse::before { content: '♥'; color: #8fe6e3; font-size: 46px; animation: heartbeat 1.7s ease-in-out infinite; }
.hero-card { position: absolute; z-index: 4; left: -8px; bottom: 28px; width: min(310px, 78%); padding: 20px 22px; background: rgba(255,255,255,.96); color: var(--primary); border: 1px solid rgba(255,255,255,.6); border-radius: 15px; box-shadow: var(--shadow); }
.hero-card span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 13px; }
.hero-card strong { display: block; font-size: 25px; font-weight: 600; letter-spacing: .01em; }
.hero-card small { display: block; margin-top: 3px; color: var(--accent); font-size: 12px; font-weight: 700; }
.hero-orbit { position: absolute; z-index: 1; right: 14%; bottom: 5%; width: 22px; height: 22px; border-radius: 50%; background: #8fe6e3; box-shadow: 0 0 0 10px rgba(143,230,227,.08), 0 0 32px rgba(143,230,227,.6); animation: float 6s ease-in-out infinite reverse; }

.section { padding: 104px 0; }
.section--tight { padding: 74px 0; }
.soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head p { max-width: 660px; font-size: 17px; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-head--row { max-width: none; }
.section-head--row .section-head { margin-bottom: 0; }
.section-link { color: var(--accent); font-size: 15px; font-weight: 700; white-space: nowrap; }
.section-link:hover { color: var(--primary); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services-grid--wide { align-items: stretch; }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 270px; padding: 25px 25px 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 4px 0 rgba(34,167,175,0); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card::before { content: ''; position: absolute; width: 120px; height: 120px; right: -55px; top: -55px; border: 1px solid rgba(34,167,175,.18); border-radius: 50%; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(34,167,175,.55); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scale(1.45); }
.service-card h3 { margin-bottom: 10px; color: var(--primary); }
.service-card h2 { margin-bottom: 10px; color: var(--primary); font-size: 23px; }
.service-card p { margin-bottom: 20px; font-size: 15px; line-height: 1.55; }
.service-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.service-icon::after { content: ''; position: absolute; inset: -5px; border: 1px solid rgba(34,167,175,.25); border-radius: 20px; transform: rotate(8deg); }
.service-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; color: var(--accent); font-size: 14px; font-weight: 700; }
.service-card__arrow { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); font-size: 18px; transition: transform .2s ease, background .2s ease; }
.service-card:hover .service-card__arrow { transform: translateX(4px); background: var(--accent); color: #fff; }

.split-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 76px; }
.image-panel { position: relative; }
.image-panel::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--accent); border-radius: 22px; opacity: .35; }
.image-panel img { position: relative; width: 100%; height: 550px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.image-panel__tag { position: absolute; z-index: 2; left: -19px; bottom: 28px; padding: 12px 18px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm); }
.check-list { list-style: none; padding: 0; margin: 28px 0; }
.check-list li { position: relative; padding-left: 34px; margin: 14px 0; color: var(--ink); font-size: 16px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 800; }
.text-link { color: var(--accent); font-weight: 700; border-bottom: 1px solid rgba(34,167,175,.4); }
.text-link:hover { color: var(--primary); border-color: var(--primary); }

.symptoms { position: relative; overflow: hidden; background: linear-gradient(135deg, #eef8f8 0%, #f8fbfd 48%, #edf2f9 100%); }
.symptoms::after { content: ''; position: absolute; width: 430px; height: 430px; right: -180px; bottom: -230px; border: 1px solid rgba(34,167,175,.25); border-radius: 50%; }
.symptom-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.symptom-item { min-height: 82px; display: flex; align-items: center; padding: 17px 18px; border: 1px solid rgba(40,65,121,.08); border-left: 3px solid var(--accent); border-radius: 12px; background: rgba(255,255,255,.78); box-shadow: 0 9px 25px rgba(40,65,121,.05); font-size: 15px; font-weight: 600; }
.note, .form-note { margin-top: 25px; font-size: 14px; color: #7a5362; background: #fff5f6; border: 1px solid #f2d5dc; border-radius: 12px; padding: 14px 16px; }

.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 74px; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 0; background: transparent; padding: 22px 0; text-align: left; color: var(--primary); font-size: 18px; font-weight: 600; cursor: pointer; }
.accordion-item button::after { content: '+'; color: var(--accent); font-size: 26px; font-weight: 300; transition: transform .2s ease; }
.accordion-item button[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion-panel { display: none; padding: 0 44px 22px 0; color: var(--muted); }
.accordion-item button[aria-expanded="true"] + .accordion-panel { display: block; }

.page-hero { position: relative; overflow: hidden; padding: 98px 0; color: #fff; background: linear-gradient(120deg, var(--primary-deep), #1f4774 60%, #1d8790); }
.page-hero::after { content: ''; position: absolute; width: 330px; height: 330px; right: 6%; top: -190px; border: 1px solid rgba(143,230,227,.25); border-radius: 50%; box-shadow: 0 0 0 40px rgba(143,230,227,.04), 0 0 0 80px rgba(143,230,227,.03); animation: orbit 18s linear infinite; }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.78); font-size: 18px; }
.page-hero h1 { max-width: 900px; }
.feature-list { display: grid; gap: 14px; margin-top: 30px; }
.feature-list div { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(25,51,88,.04); }
.feature-list strong { display: block; color: var(--primary); }
.feature-list span { color: var(--muted); }
.doctor-panel { padding: 38px; border-radius: var(--radius); background: var(--soft); text-align: center; border: 1px solid var(--line); }
.doctor-panel img { width: 220px; margin: 0 auto 24px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-grid div { padding: 25px; border-radius: 15px; background: #fff; border: 1px solid var(--line); }
.process-grid span { display: block; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .1em; margin-bottom: 12px; }
.seo-content { max-width: 900px; }
.service-hero__grid { display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 34px; }
.service-badge { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); text-align: center; }
.service-badge span { width: 92px; height: 92px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--accent); font-weight: 800; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.content-card, .side-card, .appointment-form, .contact-panel, .article-card { padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.side-card { position: sticky; top: 116px; }
.phone-link { display: block; margin-top: 18px; color: var(--primary); font-size: 24px; font-weight: 700; }
.appointment-grid, .contact-grid { display: grid; grid-template-columns: 1fr 390px; gap: 28px; align-items: start; }
.appointment-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.appointment-form label { color: var(--primary); font-weight: 700; }
.appointment-form textarea, .appointment-form .form-note, .appointment-form button { grid-column: 1 / -1; }
input, select, textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(34,167,175,.17); border-color: var(--accent); }
.contact-panel a { display: block; color: var(--primary); font-weight: 700; margin: 0 0 12px; }
.mini-card { margin-top: 22px; padding: 19px; border-radius: 14px; background: var(--soft); }
.mini-card strong, .mini-card span { display: block; }
.mini-card span { color: var(--muted); }
.contact-list { display: grid; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.contact-row span { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 15px; background: var(--accent-soft); color: var(--accent); font-size: 22px; }
.map-card iframe { width: 100%; height: 440px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { min-height: 245px; }
.article-card h2 { font-size: 24px; }

.cta-band { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--primary), #1c7080 68%, var(--accent)); color: #fff; padding: 58px 0; }
.cta-band::after { content: ''; position: absolute; width: 260px; height: 260px; right: 8%; top: -175px; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.04), 0 0 0 52px rgba(255,255,255,.03); }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 700px; margin-bottom: 0; }
.footer { position: relative; overflow: hidden; background: #102344; color: rgba(255,255,255,.78); padding: 66px 0 25px; }
.footer::before { content: ''; position: absolute; width: 430px; height: 430px; left: -310px; bottom: -250px; border: 1px solid rgba(34,167,175,.2); border-radius: 50%; box-shadow: 0 0 0 34px rgba(34,167,175,.04), 0 0 0 72px rgba(34,167,175,.025); }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .8fr 1fr 1.15fr; gap: 34px; }
.footer-logo { width: 260px; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: 17px; }
.footer a { display: block; margin: 9px 0; color: rgba(255,255,255,.72); transition: color .2s ease, transform .2s ease; }
.footer a:hover { color: #8fe6e3; transform: translateX(3px); }
.footer p { color: rgba(255,255,255,.58); }
.footer__bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.52); }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 53px; padding: 13px 18px; border: 3px solid rgba(255,255,255,.86); border-radius: 14px; background: #1fb55f; color: #fff; font-weight: 700; box-shadow: 0 12px 34px rgba(21,100,59,.3); transition: transform .2s ease; }
.floating-whatsapp::before { content: '\f232'; font-family: 'Font Awesome 6 Brands'; font-weight: 400; font-size: 20px; line-height: 1; }
.floating-whatsapp:hover { transform: translateY(-4px); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitReverse { to { transform: rotate(-360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes heartbeat { 0%, 28%, 46%, 100% { transform: scale(1); } 36% { transform: scale(1.17); } 42% { transform: scale(1.04); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
@media (max-width: 1050px) {
    .topbar__inner { justify-content: center; flex-wrap: wrap; gap: 8px 16px; padding: 8px 0; }
    .header__inner { min-height: 82px; }
    .brand img { width: 245px; }
    .primary-nav { gap: 17px; font-size: 14px; }
    .primary-nav a { padding-left: 0; padding-right: 0; }
    .hero__grid { gap: 36px; }
    .hero__visual img { height: 500px; }
}
@media (max-width: 860px) {
    .menu-toggle { display: block; }
    .primary-nav { position: fixed; inset: 118px 20px auto 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
    .primary-nav.is-open { display: flex; }
    .primary-nav a, .primary-nav .nav-cta { padding: 14px 15px; }
    .primary-nav a::after { bottom: 8px; left: 15px; right: 100%; }
    .primary-nav a.active::after, .primary-nav a:hover::after { right: 15px; }
    .hero__grid, .split-grid, .faq__grid, .service-hero__grid, .detail-grid, .appointment-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero__grid { min-height: auto; padding-top: 62px; }
    .hero__visual { min-height: 470px; max-width: 680px; width: 100%; margin: 0 auto; }
    .services-grid, .symptom-grid, .process-grid, .article-grid, .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .side-card { position: static; }
    .cta-band__inner, .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    .container { width: min(100% - 28px, 1180px); }
    .brand img { width: 210px; }
    .header__inner { min-height: 76px; }
    .primary-nav { top: 108px; }
    h1 { font-size: 39px; }
    h2 { font-size: 32px; }
    .hero__grid { gap: 34px; padding: 50px 0 62px; }
    .hero__meta, .services-grid, .symptom-grid, .process-grid, .article-grid, .footer__grid, .appointment-form { grid-template-columns: 1fr; }
    .hero__visual { min-height: 385px; }
    .hero__visual img, .image-panel img { height: 360px; }
    .hero__visual img { width: calc(100% - 14px); margin-left: 14px; border-radius: 120px 120px 18px 18px; }
    .hero__pulse { width: 82px; height: 82px; right: -2px; top: 74px; }
    .hero__pulse::before { font-size: 32px; }
    .hero-card { left: 5px; right: 5px; bottom: 8px; width: auto; padding: 15px 17px; }
    .hero-card strong { font-size: 21px; }
    .hero-orbit { right: 20%; }
    .section { padding: 72px 0; }
    .section-head--row { display: block; }
    .section-head--row .section-link { display: inline-block; margin-top: 4px; }
    .page-hero { padding: 68px 0; }
    .image-panel::before { inset: 12px -10px -12px 10px; }
    .image-panel__tag { left: 12px; bottom: 18px; }
    .contact-row { grid-template-columns: 44px 1fr; }
    .contact-row span { width: 44px; height: 44px; }
    .floating-whatsapp { left: 13px; right: 13px; bottom: 13px; }
}

/* Liquid-glass direction for the refreshed clinic identity. */
.container { width: min(1500px, calc(100% - 64px)); }
.topbar {
    position: relative;
    z-index: 61;
    background: rgba(7, 22, 50, .62);
    border-bottom: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.site-header {
    background: rgba(13, 32, 67, .74);
    border-bottom: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 12px 35px rgba(3, 16, 38, .18);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.brand img { width: 258px; }
.primary-nav {
    gap: 5px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.86);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 25px rgba(3,16,38,.12);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.primary-nav a { padding: 12px 14px; border-radius: 11px; }
.primary-nav a::after { left: 14px; right: 100%; bottom: 7px; }
.primary-nav a.active, .primary-nav a:hover { color: #9debea; background: rgba(255,255,255,.07); }
.primary-nav a.active::after, .primary-nav a:hover::after { right: 14px; }
.primary-nav .nav-cta { margin-left: 4px; background: rgba(34,167,175,.95); }
.menu-toggle { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.menu-toggle span { background: #fff; }
.hero { background: #122b55; }
.hero__grid { min-height: 730px; padding-top: 92px; }
.hero__visual { min-height: 560px; }
.hero__image-glass {
    position: relative;
    z-index: 2;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.04));
    box-shadow: 0 35px 90px rgba(1, 14, 35, .32), inset 0 1px 0 rgba(255,255,255,.2);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.hero__visual img { width: 100%; height: 560px; margin: 0; border: 0; border-radius: 25px; object-position: center; box-shadow: none; }
.hero-card {
    left: -24px;
    bottom: 34px;
    width: min(330px, 80%);
    color: #fff;
    background: rgba(18, 46, 88, .67);
    border-color: rgba(255,255,255,.23);
    box-shadow: 0 20px 50px rgba(1,14,35,.27), inset 0 1px 0 rgba(255,255,255,.17);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.hero-card span { color: rgba(255,255,255,.65); }
.hero-card strong { color: #fff; }
.hero-card small { color: #9debea; }
.footer { background: radial-gradient(circle at 85% 10%, rgba(34,167,175,.2), transparent 28%), #091c3d; }
.footer__glass {
    position: relative;
    z-index: 1;
    width: min(1500px, calc(100% - 64px));
    margin: 0 auto;
    padding-top: 44px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 30px;
    background: rgba(255,255,255,.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 65px rgba(0,0,0,.16);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
}
.footer__glass .footer__bottom { margin-left: auto; margin-right: auto; }

@media (max-width: 1050px) {
    .brand img { width: 235px; }
    .primary-nav { gap: 3px; }
    .primary-nav a { padding-left: 10px; padding-right: 10px; }
    .hero__grid { padding-top: 70px; }
}
@media (max-width: 860px) {
    .primary-nav { padding: 14px; background: rgba(13,32,67,.92); border-color: rgba(255,255,255,.18); }
    .primary-nav a, .primary-nav .nav-cta { padding: 14px 15px; }
    .primary-nav a.active, .primary-nav a:hover { background: rgba(255,255,255,.08); }
    .primary-nav a::after { left: 15px; right: 100%; bottom: 8px; }
    .primary-nav a.active::after, .primary-nav a:hover::after { right: 15px; }
    .hero__grid { padding-top: 58px; }
    .hero__visual { min-height: 500px; }
    .hero__visual img { height: 500px; }
    .footer__glass { width: calc(100% - 28px); }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 28px); }
    .brand img { width: 205px; }
    .hero__grid { padding-top: 50px; }
    .hero__visual { min-height: 400px; }
    .hero__visual img { height: 400px; }
    .hero__image-glass { padding: 6px; border-radius: 25px; }
    .hero__visual img { border-radius: 19px; }
    .hero-card { left: 8px; right: 8px; bottom: 9px; width: auto; }
    .footer__glass { padding-top: 28px; border-radius: 22px; }
}

/* Lighter frosted glass treatment for the navigation and footer. */
.topbar {
    color: rgba(31, 48, 76, .72);
    background: rgba(245, 249, 252, .68);
    border-bottom: 1px solid rgba(255,255,255,.76);
    box-shadow: 0 1px 0 rgba(40,65,121,.05);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}
.topbar a:hover { color: var(--primary); }
.site-header {
    position: sticky;
    overflow: hidden;
    isolation: isolate;
    background: rgba(247, 251, 253, .72);
    border-bottom: 1px solid rgba(255,255,255,.82);
    box-shadow: 0 15px 38px rgba(40,65,121,.1);
    backdrop-filter: blur(24px) saturate(155%);
    -webkit-backdrop-filter: blur(24px) saturate(155%);
}
.site-header::before {
    content: '';
    position: absolute;
    inset: -32px;
    z-index: -1;
    background: url('../img/heart-cardiology-v3.png') center 42% / cover no-repeat;
    opacity: .1;
    filter: blur(19px) saturate(120%);
    transform: scale(1.08);
}
.header__inner { position: relative; z-index: 1; }
.primary-nav {
    color: var(--primary);
    border-color: rgba(40,65,121,.13);
    background: rgba(255,255,255,.58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 10px 28px rgba(40,65,121,.11);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}
.primary-nav a.active, .primary-nav a:hover { color: var(--accent); background: rgba(255,255,255,.66); }
.primary-nav .nav-cta { color: #fff !important; background: rgba(34,167,175,.96); }
.menu-toggle { border-color: rgba(40,65,121,.14); background: rgba(255,255,255,.64); }
.menu-toggle span { background: var(--primary); }
.footer {
    background: linear-gradient(115deg, rgba(10, 32, 70, .94), rgba(13, 70, 91, .87)), url('../img/cardiology-ecg-v2.png') center / cover no-repeat;
}
.footer__glass {
    background: linear-gradient(125deg, rgba(255,255,255,.15), rgba(116,226,220,.1));
    border-color: rgba(255,255,255,.27);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 30px 80px rgba(2,16,38,.22);
    backdrop-filter: blur(25px) saturate(135%);
    -webkit-backdrop-filter: blur(25px) saturate(135%);
}
@media (max-width: 860px) {
    .primary-nav { background: rgba(247,251,253,.92); border-color: rgba(40,65,121,.15); }
    .primary-nav a.active, .primary-nav a:hover { background: rgba(255,255,255,.78); }
}

/* White glass header: a blurred image remains visible beneath a bright veil. */
.topbar { background: rgba(255,255,255,.94); }
.site-header { background: rgba(255,255,255,.68); }
.site-header::before {
    background: linear-gradient(rgba(255,255,255,.58), rgba(255,255,255,.58)), url('../img/heart-cardiology-v3.png') center 42% / cover no-repeat;
    opacity: .88;
    filter: grayscale(.32) blur(22px) saturate(95%);
    transform: scale(1.1);
}
.primary-nav { background: rgba(255,255,255,.88); }

/* No-gray white glass: soft medical shapes sit behind a clean white veil. */
.topbar {
    color: rgba(40,65,121,.7);
    background: #fff;
    border-bottom-color: #edf3f6;
}
.site-header {
    background: rgba(255,255,255,.94);
    border-bottom-color: rgba(40,65,121,.08);
    box-shadow: 0 12px 35px rgba(40,65,121,.08);
}
.site-header::before {
    inset: -42px;
    background:
        radial-gradient(circle at 13% 48%, rgba(34,167,175,.14) 0 5%, transparent 18%),
        radial-gradient(circle at 78% 0%, rgba(40,65,121,.12) 0 9%, transparent 25%),
        radial-gradient(circle at 92% 82%, rgba(127,220,215,.16) 0 6%, transparent 18%),
        linear-gradient(110deg, rgba(255,255,255,.98), rgba(255,255,255,.72));
    opacity: 1;
    filter: blur(21px);
    transform: scale(1.08);
}
.primary-nav { background: rgba(255,255,255,.94); }

.footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--ink);
    background: #f8fcfd;
}
.footer::before {
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    opacity: 1;
    background:
        radial-gradient(circle at 8% 78%, rgba(34,167,175,.13) 0 7%, transparent 27%),
        radial-gradient(circle at 92% 18%, rgba(40,65,121,.11) 0 8%, transparent 25%),
        radial-gradient(circle at 65% 100%, rgba(127,220,215,.12) 0 7%, transparent 24%),
        #f8fcfd;
    filter: blur(18px);
    box-shadow: none;
}
.footer__glass {
    background: rgba(255,255,255,.72);
    border-color: rgba(40,65,121,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 22px 60px rgba(40,65,121,.1);
    backdrop-filter: blur(24px) saturate(125%);
    -webkit-backdrop-filter: blur(24px) saturate(125%);
}
.footer h3 { color: var(--primary); }
.footer a { color: rgba(23,37,63,.7); }
.footer a:hover { color: var(--accent); }
.footer p { color: rgba(23,37,63,.62); }
.footer__bottom { color: rgba(23,37,63,.52); border-top-color: rgba(40,65,121,.12); }

/* Full-bleed homepage scene inspired by the supplied reference. */
body.home-page .topbar {
    position: absolute;
    inset: 0 0 auto;
    z-index: 90;
    color: rgba(255,255,255,.8);
    background: rgba(7,24,47,.24);
    border-bottom-color: rgba(255,255,255,.15);
    box-shadow: none;
    backdrop-filter: blur(17px) saturate(125%);
    -webkit-backdrop-filter: blur(17px) saturate(125%);
}
body.home-page .topbar a:hover { color: #fff; }
body.home-page .site-header {
    position: absolute;
    inset: 36px 0 auto;
    z-index: 80;
    background: rgba(7,24,47,.27);
    border-bottom-color: rgba(255,255,255,.16);
    box-shadow: none;
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
}
body.home-page .site-header::before {
    background: url('../img/heart-cardiology-v3.png') center 35% / cover no-repeat;
    opacity: .3;
    filter: blur(18px) saturate(115%);
}
body.home-page .brand img { filter: brightness(0) invert(1); }
body.home-page .primary-nav {
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,0);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 28px rgba(0,0,0,.11);
}
body.home-page .primary-nav a.active,
body.home-page .primary-nav a:hover { color: #9debea; background: rgba(255,255,255,.1); transition: 0.4s; }
body.home-page .menu-toggle { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.1); }
body.home-page .menu-toggle span { background: #fff; }
.home-hero {
    position: relative;
    min-height: 100svh;
    isolation: isolate;
    overflow: hidden;
    background: #102b4e url('../img/heart-cardiology-v3.png') center right / cover no-repeat;
}
.home-hero::before {
    z-index: -1;
    background: linear-gradient(90deg, rgba(7,24,48,.86) 0%, rgba(9,31,59,.63) 42%, rgba(9,31,59,.15) 100%);
}
.home-hero::after {
    z-index: -1;
    height: 270px;
    background: linear-gradient(180deg, transparent, rgba(7,24,48,.72));
}
.home-hero .hero__grid {
    min-height: 100svh;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    padding: 190px 0 190px;
}
.home-hero .hero__content { max-width: 760px; }
.home-hero h1 { max-width: 720px; font-size: clamp(44px, 5.5vw, 78px); }
.home-hero .hero__visual { min-height: 350px; display: flex; align-items: center; justify-content: flex-end; }
.home-hero__visual .hero-card {
    position: relative;
    inset: auto;
    width: min(430px, 100%);
    margin-top: 110px;
    padding: 28px;
    border-radius: 22px;
    background: rgba(9,35,67,.42);
    border-color: rgba(255,255,255,.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 25px 70px rgba(0,0,0,.22);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
}
.home-hero__visual .hero-card strong { font-size: 32px; line-height: 1.12; }
.home-hero__bottom {
    position: absolute;
    inset: auto 0 0;
    z-index: 5;
    background: rgba(7,24,47,.53);
    border-top: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
}
.home-hero__bottom-inner { min-height: 126px; display: grid; grid-template-columns: 1.35fr repeat(3, .75fr) 1fr; align-items: center; gap: 0; }
.home-hero__bottom-title { padding-right: 32px; }
.home-hero__bottom-title .eyebrow { margin-bottom: 4px; color: #9debea; }
.home-hero__bottom-title strong { display: block; color: #fff; font-size: 18px; font-weight: 600; }
.home-hero__bottom-inner > a { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 14px; min-height: 57px; padding: 5px 22px; border-left: 1px solid rgba(255,255,255,.16); color: #fff; }
.home-hero__bottom-inner > a span { grid-row: span 2; color: #9debea; font-size: 16px; font-weight: 800; }
.home-hero__bottom-inner > a small { color: rgba(255,255,255,.66); font-size: 12px; }
.home-hero__bottom-inner > a b { grid-row: span 2; color: #9debea; font-size: 21px; font-weight: 400; }
.home-hero__bottom-inner > a:hover { background: rgba(255,255,255,.08); }
.home-hero__bottom-inner .home-hero__bottom-cta { display: inline-flex; justify-content: space-between; gap: 16px; margin-left: 15px; padding: 16px 19px; border: 1px solid rgba(143,230,227,.42); border-radius: 11px; background: rgba(34,167,175,.82); font-weight: 700; }
.home-hero__bottom-inner .home-hero__bottom-cta b { font-size: 18px; }
@media (max-width: 860px) {
    body.home-page .site-header { inset: 36px 0 auto; }
    body.home-page .primary-nav { background: rgba(7,24,47,.88); }
    .home-hero .hero__grid { min-height: 880px; grid-template-columns: 1fr; padding: 165px 0 250px; }
    .home-hero .hero__visual { min-height: 180px; justify-content: flex-start; }
    .home-hero__visual .hero-card { margin-top: 0; }
    .home-hero__bottom-inner { grid-template-columns: 1fr repeat(3, 1fr); min-height: 150px; }
    .home-hero__bottom-title { grid-column: 1 / -1; padding: 18px 0 6px; }
    .home-hero__bottom-inner .home-hero__bottom-cta { grid-column: 1 / -1; margin: 8px 0 16px; }
}
@media (max-width: 600px) {
    .home-hero .hero__grid { min-height: 930px; padding-top: 145px; }
    .home-hero h1 { font-size: 42px; }
    .home-hero__bottom-inner { grid-template-columns: repeat(3, 1fr); }
    .home-hero__bottom-title { grid-column: 1 / -1; }
    .home-hero__bottom-inner > a { padding: 8px 10px; }
    .home-hero__bottom-inner > a small { font-size: 10px; }
}

/* Animated cardiology motifs: slow enough to feel alive, quiet enough to keep the copy readable. */
.home-hero__motion { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.motion-heart { position: absolute; top: 29%; right: 36%; width: 82px; height: 82px; display: grid; place-items: center; color: #9debea; font-size: 54px; filter: drop-shadow(0 0 18px rgba(143,230,227,.55)); animation: heartFloat 4.8s ease-in-out infinite; }
.motion-heart::before { content: '♥'; animation: heartbeatSoft 1.7s ease-in-out infinite; }
.motion-heart::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(143,230,227,.42); border-radius: 50%; animation: heartHalo 2.8s ease-out infinite; }
.motion-ring { position: absolute; top: 25%; right: 24%; width: 270px; height: 270px; border: 1px solid rgba(143,230,227,.24); border-radius: 50%; animation: ringDrift 18s linear infinite; }
.motion-ring::before { content: ''; position: absolute; inset: 22px; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; }
.motion-ring--two { top: 18%; right: 17%; width: 430px; height: 430px; border-color: rgba(143,230,227,.14); animation-duration: 28s; animation-direction: reverse; }
.motion-ring--two::before { inset: 42px; }
.motion-orb { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #9debea; box-shadow: 0 0 0 8px rgba(143,230,227,.08), 0 0 28px rgba(143,230,227,.75); animation: orbFloat 7s ease-in-out infinite; }
.motion-orb--one { top: 25%; right: 20%; }
.motion-orb--two { right: 45%; bottom: 28%; width: 7px; height: 7px; animation-delay: -2.2s; animation-duration: 5.5s; }
.motion-pulse { position: absolute; right: 31%; bottom: 34%; width: 150px; height: 24px; opacity: .72; background: #9debea; clip-path: polygon(0 48%, 15% 48%, 22% 8%, 31% 88%, 42% 48%, 67% 48%, 75% 22%, 84% 76%, 100% 48%, 100% 58%, 0 58%); filter: drop-shadow(0 0 9px rgba(143,230,227,.6)); animation: pulseSlide 5.5s ease-in-out infinite; }
.home-hero__bottom-cta { position: relative; overflow: hidden; }
.home-hero__bottom-cta::after { content: ''; position: absolute; inset: 0 auto 0 -60%; width: 42%; transform: skewX(-18deg); background: rgba(255,255,255,.28); animation: glassSweep 5.5s ease-in-out infinite; }
.footer::after { content: ''; position: absolute; right: -80px; top: 28px; width: 260px; height: 260px; border: 1px solid rgba(34,167,175,.19); border-radius: 50%; box-shadow: 0 0 0 28px rgba(34,167,175,.05), 0 0 0 58px rgba(34,167,175,.03); animation: footerOrbit 18s linear infinite; }
@keyframes heartFloat { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); } 50% { transform: translate3d(0, -16px, 0) rotate(5deg); } }
@keyframes heartbeatSoft { 0%, 28%, 46%, 100% { transform: scale(1); } 36% { transform: scale(1.18); } 42% { transform: scale(1.04); } }
@keyframes heartHalo { 0% { opacity: .65; transform: scale(.78); } 70%, 100% { opacity: 0; transform: scale(1.45); } }
@keyframes ringDrift { from { transform: rotate(0deg) translateX(0); } 50% { transform: rotate(180deg) translateX(12px); } to { transform: rotate(360deg) translateX(0); } }
@keyframes orbFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-16px, 24px, 0); } }
@keyframes pulseSlide { 0%, 100% { transform: translateX(0); opacity: .28; } 50% { transform: translateX(26px); opacity: .9; } }
@keyframes glassSweep { 0%, 52% { left: -60%; } 78%, 100% { left: 125%; } }
@keyframes footerOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 860px) {
    .motion-heart { top: 30%; right: 12%; transform: scale(.75); }
    .motion-ring { right: -8%; top: 26%; transform: scale(.72); }
    .motion-ring--two { right: -24%; top: 18%; }
    .motion-pulse { right: 13%; bottom: 42%; transform: scale(.72); }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero__motion, .footer::after { display: none; }
}

/* Shared motion language for lower homepage sections and interior pages. */
.service-strip, .split-section, .faq { position: relative; overflow: hidden; }
.service-strip::before,
.split-section::after,
.faq::after {
    content: '';
    position: absolute;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(34,167,175,.16);
    border-radius: 50%;
    pointer-events: none;
    animation: sectionOrbit 22s linear infinite;
}
.service-strip::before { right: -74px; top: 68px; box-shadow: 0 0 0 22px rgba(34,167,175,.035), 0 0 0 48px rgba(34,167,175,.02); }
.split-section::after { left: -125px; bottom: -96px; width: 260px; height: 260px; animation-direction: reverse; }
.faq::after { right: 9%; bottom: -160px; width: 320px; height: 320px; border-color: rgba(40,65,121,.1); animation-duration: 30s; }
.service-card > * { position: relative; z-index: 1; }
.service-card::before { z-index: 0; animation: cardRing 8s ease-in-out infinite; }
.service-card:nth-child(2)::before { animation-delay: -2s; }
.service-card:nth-child(3)::before { animation-delay: -4s; }
.service-card:nth-child(4)::before { animation-delay: -1s; }
.service-card:nth-child(5)::before { animation-delay: -3s; }
.service-card:nth-child(6)::before { animation-delay: -5s; }
.service-icon::after { animation: iconSpin 12s linear infinite; }
.symptom-item { animation: symptomBreath 6s ease-in-out infinite; }
.symptom-item:nth-child(2n) { animation-delay: -2.8s; }
.symptom-item:nth-child(3n) { animation-delay: -4.1s; }
.process-grid div, .article-card, .contact-row, .content-card, .side-card, .appointment-form, .contact-panel { position: relative; overflow: hidden; }
.process-grid div::after,
.contact-row::after,
.article-card::after,
.content-card::after,
.side-card::after,
.appointment-form::after,
.contact-panel::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    right: 22px;
    top: 22px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(34,167,175,.08), 0 0 20px rgba(34,167,175,.35);
    opacity: .55;
    animation: dotPulse 4.5s ease-in-out infinite;
}
.process-grid div:nth-child(2)::after, .article-card:nth-child(2)::after { animation-delay: -1.4s; }
.process-grid div:nth-child(3)::after, .article-card:nth-child(3)::after { animation-delay: -2.7s; }
.process-grid div:nth-child(4)::after { animation-delay: -3.6s; }
.page-hero::before {
    content: '';
    position: absolute;
    right: 26%;
    top: 27%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9debea;
    box-shadow: 0 0 0 10px rgba(143,230,227,.08), 0 0 30px rgba(143,230,227,.65);
    animation: pageOrb 5s ease-in-out infinite;
}
.service-badge span { animation: badgeBeat 3.6s ease-in-out infinite; }
.contact-row span { animation: contactPulse 4s ease-in-out infinite; }
@keyframes sectionOrbit { from { transform: rotate(0deg) translateX(0); } 50% { transform: rotate(180deg) translateX(13px); } to { transform: rotate(360deg) translateX(0); } }
@keyframes cardRing { 0%, 100% { transform: scale(1) rotate(0deg); opacity: .7; } 50% { transform: scale(1.25) rotate(90deg); opacity: .25; } }
@keyframes iconSpin { from { transform: rotate(8deg); } to { transform: rotate(368deg); } }
@keyframes symptomBreath { 0%, 100% { transform: translateY(0); box-shadow: 0 9px 25px rgba(40,65,121,.05); } 50% { transform: translateY(-3px); box-shadow: 0 13px 27px rgba(40,65,121,.08); } }
@keyframes dotPulse { 0%, 100% { transform: scale(.8); opacity: .35; } 50% { transform: scale(1.25); opacity: .8; } }
@keyframes pageOrb { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(22px); opacity: 1; } }
@keyframes badgeBeat { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34,167,175,.15); } 42% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(34,167,175,0); } }
@keyframes contactPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,167,175,.08); } 50% { box-shadow: 0 0 0 9px rgba(34,167,175,0); } }
@media (prefers-reduced-motion: reduce) {
    .service-strip::before, .split-section::after, .faq::after,
    .service-card::before, .service-icon::after, .symptom-item,
    .process-grid div::after, .contact-row::after, .article-card::after,
    .content-card::after, .side-card::after, .appointment-form::after,
    .contact-panel::after, .page-hero::before, .service-badge span,
    .contact-row span { animation: none; }
}

/* Mobile utility fixes. */
.menu-backdrop { display: none; }
@media (max-width: 860px) {
    .site-header,
    body.home-page .site-header { overflow: visible; }
    .menu-toggle { position: relative; z-index: 220; }
    .menu-backdrop.is-visible {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 199;
        border: 0;
        background: rgba(4, 18, 38, .58);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        cursor: pointer;
    }
    .primary-nav,
    body.home-page .primary-nav {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(360px, 88vw);
        height: 100dvh;
        max-height: none;
        padding: 145px 24px 30px;
        overflow-y: auto;
        visibility: hidden;
        opacity: 1;
        transform: translateX(105%);
        border: 1px solid rgba(143,230,227,.24);
        border-right: 0;
        border-radius: 24px 0 0 24px;
        background: rgba(7, 28, 57, .96);
        box-shadow: -18px 0 55px rgba(0,0,0,.23), inset 1px 0 0 rgba(255,255,255,.1);
        transition: transform .34s cubic-bezier(.22,.8,.25,1), visibility .34s ease;
        backdrop-filter: blur(20px) saturate(135%);
        -webkit-backdrop-filter: blur(20px) saturate(135%);
    }
    .primary-nav.is-open,
    body.home-page .primary-nav.is-open {
        display: flex !important;
        transform: translateX(0);
        z-index: 210 !important;
        visibility: visible !important;
    }
    .primary-nav a,
    .primary-nav .nav-cta { padding: 16px 15px; }
    .primary-nav a::after { left: 15px; right: 100%; bottom: 8px; }
    .primary-nav a.active::after,
    .primary-nav a:hover::after { right: 15px; }
}
@media (max-width: 600px) {
    html,
    body,
    main {
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
    body.home-page { width: 100%; min-width: 0; }
    body.home-page main { width: 100%; min-width: 0; }
    body.home-page .topbar,
    body.home-page .site-header,
    body.home-page .home-hero,
    body.home-page .home-hero__bottom {
        width: auto;
        min-width: 0;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        left: 0;
        right: 0;
    }
body.home-page .home-hero { width: 100%; }
    .topbar__address { display: none !important; }
    .floating-whatsapp {
        left: auto;
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
        min-height: 54px;
        padding: 0;
        border-width: 2px;
        border-radius: 50%;
        font-size: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .floating-whatsapp::before {
        position: absolute;
        left: 50%;
        top: 50%;
        display: block;
        width: 1em;
        height: 1em;
        font-size: 24px;
        line-height: 1;
        text-align: center;
        transform: translate(-50%, -50%);
    }
}

/* Homepage hero cleanup requested for all viewport sizes. */
body.home-page .hero__content > .eyebrow,
body.home-page .hero__meta,
body.home-page .home-hero__bottom { display: none !important; }

/* Desktop navigation separators and a slightly wider glass menu. */
@media (min-width: 861px) {
    .primary-nav {
        gap: 15px;
        padding: 7px 16px 7px 16px;
    }
    .primary-nav > a {
        padding-left: 18px;
        padding-right: 18px;
    }
    .primary-nav > a + a {
        border-left: 1px solid rgba(255,255,255,.18);
    }
    .primary-nav .nav-cta {
        margin-left: 4px;
    }
}

/* Refined appointment form and native calendar/time controls. */
body.appointment-page .appointment-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbfd 0%, #eef8f8 52%, #f8fbfd 100%);
}
body.appointment-page .appointment-section::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: 80px;
    border: 1px solid rgba(34,167,175,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(34,167,175,.04), 0 0 0 70px rgba(34,167,175,.025);
    animation: orbit 24s linear infinite;
}
body.appointment-page .appointment-form,
body.appointment-page .contact-panel {
    position: relative;
    z-index: 1;
    border-color: rgba(34,167,175,.18);
    border-radius: 24px;
    box-shadow: 0 24px 65px rgba(30,72,105,.1), inset 0 1px 0 rgba(255,255,255,.92);
}
body.appointment-page .appointment-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 38px;
}
body.appointment-page .appointment-form__intro {
    grid-column: 1 / -1;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(40,65,121,.1);
}
body.appointment-page .appointment-form__intro .eyebrow {
    margin-bottom: 8px;
    color: var(--accent);
}
body.appointment-page .appointment-form__intro h2 {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 30px;
}
body.appointment-page .appointment-form__intro p {
    margin: 0;
    color: var(--muted);
}
body.appointment-page .appointment-form > label,
body.appointment-page .appointment-datetime label {
    display: block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
}
body.appointment-page .appointment-form > label input,
body.appointment-page .appointment-form > label select,
body.appointment-page .appointment-form > label textarea,
body.appointment-page .input-shell input {
    min-height: 54px;
    margin-top: 9px;
    border-color: #d5e4ec;
    border-radius: 13px;
    background: #fbfdfe;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.appointment-page .appointment-form textarea {
    min-height: 145px;
    resize: vertical;
}
body.appointment-page .appointment-form > label input:focus,
body.appointment-page .appointment-form > label select:focus,
body.appointment-page .appointment-form > label textarea:focus,
body.appointment-page .input-shell input:focus {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(34,167,175,.11);
}
body.appointment-page .appointment-datetime {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(34,167,175,.16);
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(223,246,245,.7), rgba(255,255,255,.78));
}
body.appointment-page .input-shell {
    position: relative;
    display: block;
}
body.appointment-page .input-shell i {
    position: absolute;
    z-index: 1;
    left: 16px;
    top: 27px;
    color: var(--accent);
    pointer-events: none;
}
body.appointment-page .input-shell input {
    padding-left: 43px;
}
body.appointment-page .appointment-form .form-note {
    margin: 0;
    border-radius: 13px;
    border-color: rgba(198,85,103,.2);
}
body.appointment-page .appointment-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 56px;
    border-radius: 13px;
}
body.appointment-page .appointment-form button i {
    font-size: 19px;
}
body.appointment-page .contact-panel__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
body.appointment-page .contact-panel h2 {
    margin-bottom: 28px;
    font-size: 40px;
    line-height: 1.05;
}
body.appointment-page .contact-panel a,
body.appointment-page .contact-panel p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
body.appointment-page .contact-panel a i,
body.appointment-page .contact-panel p i {
    width: 20px;
    margin-top: 4px;
    color: var(--accent);
    text-align: center;
}
@media (max-width: 600px) {
    body.appointment-page .appointment-form,
    body.appointment-page .contact-panel { padding: 24px 18px; }
    body.appointment-page .appointment-form__intro h2 { font-size: 27px; }
    body.appointment-page .appointment-datetime { grid-template-columns: 1fr; gap: 14px; padding: 15px; }
}
