:root {
    --navy: #262161;
    --navy-2: #18154f;
    --green: #6fb43f;
    --green-2: #5da334;
    --gray: #727572;
    --ice: #f7f3ec;
    --line: #e8e1d6;
    --ink: #101828;
    /* Calm Premium Clinical */
    --canvas: #fbfaf7;
    --paper: #ffffff;
    --warm: #f5f1ea;
    --warm-line: #ece5da;
    --muted: #6f6d68;
    --ink-2: #2c2a33;
}

.font-display {
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

.bg-colinas-navy {
    background-color: var(--navy);
}

.bg-colinas-green {
    background-color: var(--green);
}

.text-colinas-navy {
    color: var(--navy);
}

.text-colinas-green {
    color: var(--green);
}

html {
    scroll-behavior: smooth;
}

main section[id] {
    scroll-margin-top: 9rem;
}

html,
body {
    overflow-x: clip;
    max-width: 100%;
}

body {
    letter-spacing: 0;
    background-color: var(--canvas);
    color: var(--ink-2);
}

*,
*::before,
*::after {
    min-width: 0;
}

::selection {
    background: rgba(111, 180, 63, .22);
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: .75rem;
    z-index: 100;
    transform: translateY(-150%);
    border-radius: 8px;
    background: #fff;
    padding: .75rem 1rem;
    color: var(--navy);
    font-size: .875rem;
    font-weight: 900;
    box-shadow: 0 16px 40px rgba(38, 33, 97, .15);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: #fff;
}

.utility-bar {
    background: linear-gradient(90deg, var(--navy), #201b67);
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
}

.utility-bar>div {
    min-height: 42px;
}

.utility-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: rgba(255, 255, 255, .9);
    transition: color .2s ease;
}

.utility-link:hover {
    color: #fff;
}

.utility-emergency {
    color: #fff;
}

.utility-emergency svg {
    color: #ff6b6b;
    fill: rgba(255, 107, 107, .15);
}

.main-nav {
    border-bottom: 1px solid #ede7dd;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
}

.site-header.is-scrolled .main-nav {
    box-shadow: 0 12px 28px rgba(38, 33, 97, .08);
}

/* ============ MAIN NAV (clean rewrite) ============ */
.main-nav-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.brand-logo {
    height: 72px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    transition: transform .25s ease;
}

.brand-link:hover .brand-logo {
    transform: translateY(-1px);
}

@media (min-width: 1280px) {
    .brand-logo {
        height: 80px;
        max-width: 360px;
    }
}

/* DEFAULT: mobile-first — hamburger always visible, desktop nav hidden */
.nav-primary,
.nav-actions {
    display: none;
}

.mobile-toggle {
    display: inline-flex;
    height: 42px;
    width: 42px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: rgba(38, 33, 97, 0.05);
    color: var(--navy);
    cursor: pointer;
    transition: background .2s ease, transform .1s ease, color .2s ease;
}

.mobile-toggle:hover {
    background: rgba(38, 33, 97, 0.08);
}

.mobile-toggle:active {
    transform: scale(0.95);
    background: rgba(38, 33, 97, 0.12);
}

/* Mobile menu panel */
.mobile-menu {
    border-top: 1px solid #e5edf5;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(38, 33, 97, .08);
}

.mobile-menu.hidden {
    display: none;
}

.mobile-menu-inner {
    display: grid;
    gap: .25rem;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: .9rem 1rem;
    color: #403c36;
    font-size: .98rem;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.mobile-link:hover,
.mobile-link:active {
    background: #f4f0e9;
    color: var(--navy);
}

.mobile-group {
    border-radius: 10px;
}

.mobile-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .9rem 1rem;
    border-radius: 10px;
    color: #403c36;
    font-size: .98rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
    transition: background .2s ease;
}

.mobile-group summary::-webkit-details-marker {
    display: none;
}

.mobile-group summary:hover {
    background: #f4f0e9;
    color: var(--navy);
}

.mobile-group summary svg {
    transition: transform .2s ease;
}

.mobile-group[open] summary {
    background: #eef2f9;
    color: var(--navy);
}

.mobile-group[open] summary svg {
    transform: rotate(180deg);
}

.mobile-sub {
    display: grid;
    gap: .15rem;
    padding: .35rem 0 .25rem 1.5rem;
    border-left: 2px solid #e5edf5;
    margin-left: 1rem;
    margin-top: .25rem;
}

.mobile-sub-link {
    display: block;
    padding: .65rem .85rem;
    border-radius: 8px;
    color: #57534c;
    font-size: .9rem;
    font-weight: 850;
    transition: background .2s ease, color .2s ease;
}

.mobile-sub-link:hover {
    background: #f4f0e9;
    color: var(--navy);
}

/* ============ DESKTOP NAV — appears at ≥1180px ============ */
@media (min-width: 1180px) {
    .nav-primary {
        display: flex !important;
        align-items: center;
        gap: 1.2rem;
        margin-left: auto;
    }

    .nav-actions {
        display: flex !important;
        align-items: center;
        gap: .65rem;
        margin-left: 1.25rem;
        flex-shrink: 0;
    }

    .mobile-toggle {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }
}

@media (min-width: 1440px) {
    .nav-primary {
        gap: 1.6rem;
        margin-left: 2rem;
    }

    .nav-actions {
        margin-left: 1.75rem;
    }
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 44px;
    border-radius: 10px;
    padding: 0 .25rem;
    color: #1f2a44;
    font-size: .95rem;
    font-weight: 850;
    letter-spacing: .005em;
    white-space: nowrap;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color .2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: .25rem;
    right: .25rem;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--navy);
}

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after {
    transform: scaleX(1);
}

/* ============ Dropdown ============ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle svg {
    transition: transform .2s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    z-index: 80;
    min-width: 240px;
    padding: .5rem;
    border-radius: 14px;
    border: 1px solid #e5edf5;
    background: #fff;
    box-shadow: 0 24px 50px rgba(38, 33, 97, .15);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .85rem;
    border-radius: 10px;
    color: #403c36;
    font-size: .92rem;
    font-weight: 850;
    transition: background .2s ease, color .2s ease;
}

.nav-dropdown-menu a svg {
    color: var(--green);
    flex-shrink: 0;
}

.nav-dropdown-menu a:hover {
    background: #f4f0e9;
    color: var(--navy);
}

/* ============ Nav-actions: Buscar icon + Agendar pill ============ */
.nav-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.nav-search:hover {
    background: #f4f0e9;
    border-color: var(--navy);
}

.nav-cta {
    padding: .85rem 1.15rem;
    font-size: .9rem;
    white-space: nowrap;
}

@media (min-width: 1440px) {
    .nav-search {
        width: auto;
        padding: 0 1rem;
        border-radius: 10px;
        gap: .5rem;
        font-size: .9rem;
        font-weight: 900;
    }

    .nav-search::after {
        content: "Buscar";
    }
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border-radius: 12px;
    border: 1px solid transparent;
    padding: .9rem 1.3rem;
    font-size: .9rem;
    font-weight: 900;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1.05rem 1.45rem;
}

.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 24px rgba(111, 180, 63, .22);
}

.btn-green:hover {
    background: var(--green-2);
}

.btn-outline {
    border-color: var(--warm-line);
    background: var(--paper);
    color: var(--navy);
}

.btn-outline:hover {
    border-color: var(--navy);
    box-shadow: 0 10px 24px rgba(38, 33, 97, .09);
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .14);
}

.btn-emergency {
    border-color: #fecaca;
    background: #fff5f5;
    color: #b91c1c;
    box-shadow: 0 12px 24px rgba(185, 28, 28, .08);
}

.btn-emergency:hover {
    border-color: #ef4444;
    background: #fee2e2;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 12%, rgba(111, 180, 63, .12), transparent 30rem),
        radial-gradient(circle at 6% 94%, rgba(38, 33, 97, .05), transparent 26rem),
        linear-gradient(180deg, #ffffff 0%, var(--canvas) 58%, #f3ede4 100%);
}

.hero-section::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(38, 33, 97, .2), transparent);
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 4.2vw, 4.4rem);
    padding: clamp(3rem, 4.6vw, 4.5rem) 1rem 4.65rem;
}

@media (min-width: 640px) {
    .hero-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-kicker {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.1rem;
    border: 1px solid #e6ded2;
    border-radius: 999px;
    background: #ffffff;
    padding: .45rem .9rem;
    color: var(--navy);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(38, 33, 97, .05);
}

.hero-kicker svg {
    color: var(--green);
}

.hero-copy h1 {
    max-width: 720px;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.9rem, 4.2vw, 4.55rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.027em;
    text-wrap: balance;
}

.hero-copy p {
    margin-top: 1.5rem;
    max-width: 600px;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.8;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.hero-assist-panel {
    margin-top: 1.75rem;
    display: grid;
    max-width: 660px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #dce6f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(38, 33, 97, .07);
}

.hero-assist-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    align-items: start;
    min-height: 104px;
    padding: 1rem;
    color: var(--navy);
    transition: background .2s ease;
}

.hero-assist-item+.hero-assist-item {
    border-left: 1px solid #ebe4d9;
}

.hero-assist-item:hover {
    background: #faf7f1;
}

.hero-assist-item svg {
    margin-top: .1rem;
    color: var(--green);
}

.hero-assist-item strong {
    display: block;
    color: var(--navy);
    font-size: .93rem;
    font-weight: 950;
    line-height: 1.25;
}

.hero-assist-item small {
    display: block;
    margin-top: .35rem;
    color: #6f6d68;
    font-size: .8rem;
    font-weight: 750;
    line-height: 1.45;
}

.hero-feature {
    position: relative;
    min-height: 560px;
}

.hero-feature-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #efe9e0;
    box-shadow: 0 36px 78px rgba(38, 33, 97, .18);
}

.hero-feature-image::after {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 38%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .35));
    pointer-events: none;
}

.hero-feature-badge {
    position: absolute;
    left: 1.1rem;
    top: 1.1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    padding: .5rem .9rem;
    color: var(--navy);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .03em;
    box-shadow: 0 14px 30px rgba(38, 33, 97, .18);
    backdrop-filter: blur(10px);
}

.hero-feature-badge svg {
    color: var(--green);
}

.hero-feature-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-feature::before {
    display: none;
}

.hero-feature-panel {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.4rem;
    z-index: 3;
    display: grid;
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 52px rgba(38, 33, 97, .22);
    backdrop-filter: blur(14px);
}

.hero-feature-panel span {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 850;
    line-height: 1.35;
}

.hero-feature-panel span+span {
    border-left: 1px solid #ece5da;
}

.hero-feature-panel b {
    display: block;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
}

.hero-pathways {
    margin-top: 1.5rem;
    display: grid;
    max-width: 720px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #dce6f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(38, 33, 97, .07);
}

.hero-pathways a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .75rem;
    min-height: 112px;
    padding: 1rem;
    color: var(--navy);
    transition: background .2s ease;
}

.hero-pathways a+a {
    border-left: 1px solid #ebe4d9;
}

.hero-pathways a:hover {
    background: #faf7f1;
}

.hero-pathways svg {
    color: var(--green);
    margin-top: .1rem;
}

.hero-pathways strong {
    display: block;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 950;
    line-height: 1.25;
}

.hero-pathways small {
    display: block;
    margin-top: .35rem;
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 750;
    line-height: 1.4;
}

.hero-proof {
    margin-top: 2rem;
    display: grid;
    max-width: 720px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #dce6f0;
    border-bottom: 1px solid #dce6f0;
}

.hero-proof span {
    display: grid;
    gap: .25rem;
    padding: 1rem 1rem 1rem 0;
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.35;
}

.hero-proof span+span {
    border-left: 1px solid #dce6f0;
    padding-left: 1rem;
}

.hero-proof b {
    display: block;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 950;
    line-height: 1;
}

.hero-media-stack {
    position: relative;
    min-height: 650px;
}

.hero-visual {
    position: absolute;
    inset: 0 0 7.2rem 0;
    overflow: hidden;
    border: 1px solid rgba(38, 33, 97, .1);
    border-radius: 8px;
    background: #efe9e0;
    box-shadow: 0 34px 70px rgba(38, 33, 97, .18);
}

.hero-visual::before {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 32%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .36));
    pointer-events: none;
}

.hero-callout {
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    z-index: 2;
    display: flex;
    max-width: 255px;
    gap: .85rem;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    padding: 1rem;
    box-shadow: 0 20px 44px rgba(38, 33, 97, .18);
    backdrop-filter: blur(12px);
}

.hero-callout svg {
    color: var(--green);
    flex-shrink: 0;
}

.hero-callout strong {
    display: block;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 900;
}

.hero-callout span {
    display: block;
    margin-top: .25rem;
    color: #6f6d68;
    font-size: .8rem;
    line-height: 1.45;
}

.hero-clinical-card {
    position: absolute;
    right: -1rem;
    top: 2rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(360px, calc(100% - 2rem));
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    padding: 1rem;
    box-shadow: 0 24px 52px rgba(38, 33, 97, .17);
    backdrop-filter: blur(12px);
}

.hero-clinical-card span {
    display: block;
    color: var(--green);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-clinical-card strong {
    display: block;
    margin-top: .25rem;
    color: var(--navy);
    font-size: .98rem;
    font-weight: 950;
    line-height: 1.3;
}

.hero-clinical-card a {
    display: flex;
    height: 42px;
    width: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
}

.hero-mini-grid {
    position: absolute;
    right: 1.25rem;
    bottom: 0;
    z-index: 3;
    display: grid;
    width: min(420px, calc(100% - 2.5rem));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.hero-mini-grid figure {
    position: relative;
    min-height: 160px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    background: #e6ded2;
    box-shadow: 0 22px 48px rgba(38, 33, 97, .16);
}

.hero-mini-grid img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-mini-grid figure::after {
    position: absolute;
    inset: auto 0 0;
    height: 54%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .62));
}

.hero-mini-grid figcaption {
    position: absolute;
    left: .85rem;
    bottom: .8rem;
    z-index: 1;
    color: #fff;
    font-size: .82rem;
    font-weight: 950;
}

.hero-access-wrap {
    position: relative;
    z-index: 4;
    max-width: 1280px;
    margin: -2.2rem auto 0;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hero-access-wrap {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-access-wrap {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.task-grid {
    position: relative;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #d8e4ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(38, 33, 97, .1);
}

.task-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    min-height: 138px;
    background: #fff;
    padding: 1.25rem;
    transition: background .2s ease, transform .2s ease;
}

.task-card:not(:last-child) {
    border-right: 1px solid #ebe4d9;
}

.task-card:hover {
    transform: translateY(-2px);
    background: #faf7f1;
}

.task-card[href^="tel"] .task-icon {
    background: #fff1f2;
    color: #dc2626;
}

.task-icon {
    display: flex;
    height: 50px;
    width: 50px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(38, 33, 97, .06);
    color: var(--navy);
}

.task-body strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 950;
}

.task-body small {
    display: block;
    margin-top: .45rem;
    color: #6f6d68;
    font-size: .84rem;
    line-height: 1.45;
}

.task-body em {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .8rem;
    color: var(--navy);
    font-size: .8rem;
    font-style: normal;
    font-weight: 950;
}

.care-finder {
    padding: clamp(3.5rem, 5vw, 5rem) 0;
    background: #fff;
}

.finder-panel {
    border: 1px solid #ece5da;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #fdfbf7);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 26px 60px rgba(38, 33, 97, .08);
}

.finder-head {
    max-width: 760px;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.finder-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid #e6ded2;
    border-radius: 999px;
    background: #fff;
    padding: .4rem .9rem;
    color: var(--navy);
    font-size: .74rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(38, 33, 97, .05);
}

.finder-kicker svg {
    color: var(--green);
}

.finder-panel h2 {
    margin-top: 1rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -.01em;
}

.finder-head p {
    margin-top: .85rem;
    color: #6f6d68;
    font-size: 1rem;
    line-height: 1.65;
}

.finder-search {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .55rem;
    max-width: 760px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    padding: .4rem .4rem .4rem 1.15rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.finder-search:focus-within {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(38, 33, 97, .1);
}

.finder-search>svg {
    color: var(--navy);
}

.finder-search input {
    min-width: 0;
    min-height: 60px;
    background: transparent;
    color: #1c1a17;
    font-size: 1rem;
    font-weight: 750;
    outline: none;
}

.finder-clear {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(2, 6, 23, .06);
    color: var(--navy);
    transition: background .2s ease;
}

.finder-clear:hover {
    background: rgba(2, 6, 23, .12);
}

.finder-submit {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 52px;
    padding: 0 1.35rem;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    font-size: .9rem;
    font-weight: 950;
    transition: background .2s ease, transform .2s ease;
}

.finder-submit:hover {
    background: var(--navy-2);
    transform: translateY(-1px);
}

.clinical-grid {
    margin-top: 2.25rem;
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.clinical-chip {
    display: flex;
    min-height: 88px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border-radius: 8px;
    color: var(--navy);
    font-size: .84rem;
    font-weight: 900;
    transition: background .2s ease, color .2s ease;
}

.clinical-chip:hover {
    background: #f4f0e9;
}

/* When the user types, collapse the chips so results sit right under the search bar */
.finder-panel.is-searching .clinical-grid {
    display: none;
}

.finder-panel.is-searching .care-results {
    margin-top: 1.25rem;
    border-top: 0;
    padding-top: 0;
}

.care-results {
    margin-top: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 540px;
    overflow: auto;
    border-top: 1px solid #ede7dd;
    padding-top: 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.care-results::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.care-results.is-active {
    display: flex;
}

.care-group {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.care-group.is-hidden {
    display: none;
}

.care-group>header {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: .65rem;
    color: var(--navy);
}

.care-group>header span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(111, 180, 63, .14);
    color: var(--green);
}

.care-group>header strong {
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 950;
    color: var(--navy);
}

.care-group>header small {
    justify-self: end;
    color: #6f6d68;
    font-size: .76rem;
    font-weight: 750;
}

.care-group-list {
    display: grid;
    gap: .6rem;
}

.care-service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.care-doctor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.care-result {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .55rem .65rem;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: .85rem .95rem;
    text-align: left;
    color: #2b2823;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.care-result:hover {
    border-color: rgba(111, 180, 63, .55);
    background: #fff;
    transform: translateY(-1px);
}

.care-result>svg {
    color: var(--green);
}

.care-result span {
    font-size: .88rem;
    font-weight: 900;
}

.care-result small {
    grid-column: 2;
    color: #6f6d68;
    font-size: .74rem;
    font-weight: 750;
}

.care-result.is-hidden {
    display: none;
}

.care-result--doctor {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    background: #fff;
    border-color: #ece5da;
}

.care-result--doctor:hover {
    background: linear-gradient(135deg, #fff, #f4faf0);
    box-shadow: 0 14px 28px rgba(38, 33, 97, .08);
}

.care-result--doctor img {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center top;
    background: #f3eee6;
}

.care-result--doctor span {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.care-result--doctor strong {
    color: var(--navy);
    font-size: .92rem;
    font-weight: 950;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.care-result--doctor small {
    grid-column: auto;
    color: var(--green);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .02em;
}

.care-result--doctor>svg {
    color: var(--navy);
    transition: transform .2s ease;
}

.care-result--doctor:hover>svg {
    transform: translate(2px, -2px);
    color: var(--green);
}

.care-empty {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 1px dashed #d8d0c2;
    border-radius: 12px;
    background: #f8fafc;
    padding: 1.15rem;
    color: #6f6d68;
    font-size: .9rem;
    font-weight: 850;
    text-align: center;
}

.care-empty svg {
    color: #a8a39a;
}

.care-empty a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.care-empty a:hover {
    color: var(--green);
}

.care-intelligence {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid #ece5da;
    border-radius: 8px;
    background: linear-gradient(90deg, #f8fafc, #fff);
}

.care-intelligence>div,
.care-intelligence article {
    padding: 1.15rem;
    border-right: 1px solid #ece5da;
}

.care-intelligence article:last-child {
    border-right: 0;
}

.care-intelligence>div span {
    color: var(--green);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.care-intelligence>div strong {
    display: block;
    margin-top: .35rem;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.35;
}

.care-intelligence article b {
    display: block;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 950;
}

.care-intelligence article span {
    display: block;
    color: #403c36;
    font-size: .82rem;
    font-weight: 900;
}

.care-intelligence article small {
    display: block;
    margin-top: .3rem;
    color: #6f6d68;
    font-size: .74rem;
    line-height: 1.35;
}

.section-shell {
    padding: clamp(4.75rem, 8vw, 7.5rem) 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--green);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-title {
    margin-top: .65rem;
    max-width: 760px;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.05rem, 3.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.022em;
    text-wrap: balance;
}

.section-copy {
    margin-top: 1.35rem;
    max-width: 660px;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.85;
}

.section-center {
    display: flex;
    justify-content: center;
    text-align: center;
}

.section-center .section-title {
    margin-left: auto;
    margin-right: auto;
}

.premium-checks {
    margin-top: 1.75rem;
    display: grid;
    gap: .85rem;
}

.premium-checks li {
    position: relative;
    padding-left: 1.8rem;
    color: #403c36;
    font-size: .96rem;
    font-weight: 750;
    line-height: 1.55;
}

.premium-checks li::before {
    position: absolute;
    left: 0;
    top: .12rem;
    content: "✓";
    color: var(--green);
    font-weight: 950;
}

.clinical-mosaic {
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    grid-template-rows: 1fr 1fr;
    gap: .9rem;
    align-self: stretch;
    max-height: 480px;
}

.clinical-mosaic figure {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #e2e8f0;
    box-shadow: 0 18px 36px rgba(38, 33, 97, .08);
    margin: 0;
}

.clinical-mosaic img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.clinical-mosaic figure:hover img {
    transform: scale(1.04);
}

.clinical-mosaic figcaption {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 1.6rem 1rem .85rem;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .72));
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .01em;
}

.clinical-mosaic figcaption small {
    display: block;
    margin-top: .15rem;
    color: rgba(255, 255, 255, .78);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: 0;
}

.mosaic-main {
    grid-row: span 2;
    min-height: 0;
}

.mosaic-main img {
    object-position: center;
}

.featured-service-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid #e8e1d6;
    border-bottom: 1px solid #e8e1d6;
}

.featured-service {
    min-height: 230px;
    border-right: 1px solid #e8e1d6;
    padding: 1.45rem 1.2rem;
}

.featured-service:last-child {
    border-right: 0;
}

.featured-service svg {
    color: var(--navy);
}

.featured-service h3 {
    margin-top: 1.15rem;
    color: var(--navy);
    font-size: 1.03rem;
    font-weight: 950;
}

.featured-service p {
    margin-top: .55rem;
    color: #6f6d68;
    font-size: .9rem;
    line-height: 1.55;
}

.link-action {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    color: var(--navy);
    font-size: .83rem;
    font-weight: 950;
}

.service-directory {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 1.15rem;
    align-items: stretch;
}

.directory-intro {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--navy), #1d1958);
    padding: 1.6rem;
    color: #fff;
    box-shadow: 0 18px 42px rgba(38, 33, 97, .18);
}

.directory-intro::after {
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    height: 10rem;
    width: 10rem;
    content: "";
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
}

.directory-intro h3 {
    margin-top: .65rem;
    color: #fff;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.55rem, 2.2vw, 2.35rem);
    font-weight: 950;
    line-height: 1.1;
}

.directory-intro span {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

.directory-intro-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.5rem;
    color: #fff;
    font-size: .86rem;
    font-weight: 950;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.directory-card {
    display: grid;
    gap: .95rem;
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    padding: 1.05rem;
    box-shadow: 0 16px 34px rgba(38, 33, 97, .055);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.directory-card:hover {
    transform: translateY(-2px);
    border-color: #c9d8e7;
    box-shadow: 0 20px 42px rgba(38, 33, 97, .09);
}

.directory-card-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
}

.directory-card-head>span {
    display: flex;
    height: 42px;
    width: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f0f7ec;
    color: var(--green);
}

.directory-card h4 {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 950;
}

.directory-card p {
    margin-top: .25rem;
    color: #6f6d68;
    font-size: .8rem;
    line-height: 1.45;
}

.directory-card ul {
    display: grid;
    gap: .35rem;
}

.directory-card a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-radius: 6px;
    padding: .62rem .7rem;
    color: #57534c;
    text-align: left;
    font-size: .84rem;
    font-weight: 800;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.directory-card a:hover {
    background: #f7f3ec;
    color: var(--navy);
    transform: translateX(2px);
}

.capability-section {
    overflow: hidden;
    background:
        linear-gradient(90deg, #f7f3ec 0%, #fff 62%),
        radial-gradient(circle at 82% 20%, rgba(111, 180, 63, .12), transparent 26rem);
    padding: 5.75rem 0;
}

.capability-shell {
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: .78fr 1.22fr;
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .capability-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .capability-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.capability-copy {
    position: relative;
    z-index: 1;
}

.capability-stats {
    margin-top: 1.6rem;
    display: grid;
    gap: .7rem;
}

.capability-stats article {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: .85rem;
    border-bottom: 1px solid #e8e1d6;
    padding-bottom: .7rem;
}

.capability-stats strong {
    color: var(--green);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.65rem;
    font-weight: 950;
    line-height: 1;
}

.capability-stats span {
    color: #57534c;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.35;
}

.capability-showcase {
    display: grid;
    grid-template-columns: .86fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.capability-photo {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e8e1d6;
    background: #e8e1d6;
    box-shadow: 0 24px 55px rgba(38, 33, 97, .12);
}

.capability-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.capability-photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 42%, rgba(11, 18, 43, .78));
}

.capability-photo figcaption {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1rem;
    z-index: 1;
    color: #fff;
}

.capability-photo strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 950;
}

.capability-photo span {
    display: block;
    margin-top: .35rem;
    color: rgba(255, 255, 255, .76);
    font-size: .82rem;
    line-height: 1.45;
}

.capability-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.capability-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: .85rem;
    row-gap: .25rem;
    align-items: start;
    border-radius: 8px;
    border: 1px solid #e8e1d6;
    background: rgba(255, 255, 255, .9);
    padding: .95rem;
    color: var(--navy);
    box-shadow: 0 14px 34px rgba(38, 33, 97, .055);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.capability-item span {
    grid-row: span 2;
    display: flex;
    height: 46px;
    width: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f0f7ec;
    color: var(--green);
}

.capability-item:hover {
    transform: translateY(-2px);
    border-color: #c9d8e7;
    background: #fff;
    box-shadow: 0 20px 42px rgba(38, 33, 97, .09);
}

.capability-item strong {
    font-size: .95rem;
    font-weight: 950;
    line-height: 1.25;
}

.capability-item small {
    grid-column: 2;
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 750;
    line-height: 1.45;
}

.guide-rail {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid #e8e1d6;
    border-bottom: 1px solid #e8e1d6;
}

.guide-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 78px;
    border-right: 1px solid #e8e1d6;
    padding: 1rem;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 900;
}

.journey-section {
    background: #fff;
    padding: 5rem 0 1rem;
}

.journey-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.journey-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.journey-card {
    position: relative;
    min-height: 245px;
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    padding: 1.35rem;
    box-shadow: 0 14px 30px rgba(38, 33, 97, .06);
}

.journey-card::after {
    position: absolute;
    right: -1rem;
    top: 2.4rem;
    z-index: 1;
    height: 1px;
    width: 1rem;
    content: "";
    background: #e8e1d6;
}

.journey-card:last-child::after {
    display: none;
}

.journey-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--navy);
}

.journey-top span {
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.65rem;
    font-weight: 950;
}

.journey-top svg {
    color: var(--green);
}

.journey-card h3 {
    margin-top: 1.3rem;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 950;
}

.journey-card p {
    margin-top: .75rem;
    color: #6f6d68;
    font-size: .9rem;
    line-height: 1.65;
}

.guide-link:last-child {
    border-right: 0;
}

.guide-link:hover {
    background: #f8fafc;
}

.guide-link svg {
    color: var(--navy);
}

.patient-panel {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: .9fr 1fr 1fr;
    overflow: hidden;
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(38, 33, 97, .07);
}

.patient-panel-intro {
    background: var(--navy);
    padding: 2rem;
    color: #fff;
}

.patient-panel-intro h3 {
    margin-top: .8rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.08;
}

.patient-panel-intro p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, .75);
    line-height: 1.75;
}

.patient-list.compact {
    padding: 2rem;
    border-left: 1px solid #e8e1d6;
}

.patient-list h4 {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--navy);
    font-size: 1.03rem;
    font-weight: 950;
}

.patient-list ol {
    margin-top: 1rem;
    display: grid;
    gap: .7rem;
    counter-reset: patient;
}

.patient-list li {
    position: relative;
    padding-left: 1.45rem;
    color: #6f6d68;
    font-size: .86rem;
    line-height: 1.5;
}

.patient-list li::before {
    position: absolute;
    left: 0;
    counter-increment: patient;
    content: counter(patient);
    color: var(--green);
    font-weight: 950;
}

.tour-section {
    padding: 0 0 5rem;
    background: #fff;
}

.tour-card {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    overflow: hidden;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
}

.tour-copy {
    padding: clamp(2rem, 4vw, 3rem);
}

.tour-copy p {
    color: var(--green);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tour-copy h2 {
    margin-top: .8rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
}

.tour-copy span {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

.tour-video {
    position: relative;
    min-height: 390px;
    background: #1c1a17;
}

.tour-video::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(38, 33, 97, .28), transparent);
    pointer-events: none;
}

.gallery-title {
    margin-top: .45rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 900;
}

.gallery-nav {
    display: flex;
    height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8e1d6;
    border-radius: 999px;
    color: var(--navy);
}

.gallery-nav:hover {
    background: #f4f0e9;
}

.gallery-rail {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.gallery-rail::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

.gallery-card {
    position: relative;
    min-width: min(330px, 82vw);
    height: 230px;
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: 8px;
    background: #e8e1d6;
    text-align: left;
}

.gallery-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card span {
    position: absolute;
    inset: auto 0 0;
    padding: 3rem 1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .8));
    color: #fff;
}

.gallery-card strong,
.gallery-card small {
    display: block;
}

.gallery-card strong {
    font-weight: 950;
}

.gallery-card small {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .75);
    font-size: .78rem;
}

.appointment-band {
    background: #f7f3ec;
    padding: 2.25rem 0;
}

.appointment-icon {
    display: flex;
    height: 72px;
    width: 72px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    box-shadow: 0 16px 36px rgba(38, 33, 97, .08);
}

.appointment-band h2 {
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 950;
}

.appointment-band p {
    margin-top: .25rem;
    color: #6f6d68;
    font-size: .95rem;
}

.phone-cta {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--navy);
    font-weight: 950;
}

.phone-cta small {
    display: block;
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 750;
}

.site-footer {
    background: linear-gradient(180deg, var(--navy), var(--navy-2));
    color: #fff;
}

.footer-grid {
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    gap: 2rem;
    grid-template-columns: 1.4fr .8fr 1fr;
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .footer-grid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.footer-logo {
    height: 46px;
    width: auto;
    border-radius: 6px;
    background: #fff;
    padding: .2rem;
}

.site-footer p {
    max-width: 460px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

.site-footer h4 {
    color: #fff;
    font-size: .95rem;
    font-weight: 950;
}

.site-footer ul {
    margin-top: 1rem;
    display: grid;
    gap: .58rem;
    color: rgba(255, 255, 255, .68);
    font-size: .86rem;
}

.site-footer a:hover {
    color: #fff;
}

.footer-title {
    color: #fff;
    font-size: .95rem;
    font-weight: 950;
}

.footer-list {
    margin-top: 1rem;
    display: grid;
    gap: .58rem;
    color: rgba(255, 255, 255, .68);
    font-size: .86rem;
}

.footer-list a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    height: 36px;
    width: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.footer-social:hover {
    background: var(--green);
}

.footer-brand-contact {
    margin-top: 1.25rem;
    display: grid;
    gap: .45rem;
    color: rgba(255, 255, 255, .68);
    font-size: .8rem;
    line-height: 1.45;
}

.footer-brand-contact a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 1rem;
    color: rgba(255, 255, 255, .58);
    font-size: .78rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .68);
    font-weight: 800;
}

.footer-bottom a:hover {
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    display: flex;
    height: 56px;
    width: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 18px 36px rgba(22, 101, 52, .28);
    transition: transform .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
}

.mobile-actionbar {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom));
    z-index: 65;
    display: none;
    grid-template-columns: 1fr 1.25fr 1fr;
    align-items: center;
    padding: 6px;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 36px rgba(38, 33, 97, 0.12), 0 1px 3px rgba(38, 33, 97, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-actionbar a,
.mobile-actionbar button {
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    color: var(--navy);
    font-size: .84rem;
    font-weight: 800;
    border-radius: 12px;
    transition: background .2s ease, transform .1s ease, color .2s ease;
    border: 0;
    cursor: pointer;
}

.mobile-actionbar a {
    background: transparent;
}

.mobile-actionbar a:active {
    background: rgba(38, 33, 97, 0.07);
    color: var(--navy-2);
}

.mobile-actionbar button {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(111, 180, 63, 0.28);
}

.mobile-actionbar button:active {
    transform: scale(0.97);
    filter: brightness(0.96);
}

.command-shell {
    position: fixed;
    inset: 0;
    z-index: 105;
    align-items: flex-start;
    justify-content: center;
    background: rgba(2, 6, 23, .58);
    padding: 7vh 1rem 1rem;
    backdrop-filter: blur(10px);
}

.command-shell:not(.hidden) {
    display: flex;
}

.command-panel {
    width: min(100%, 820px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 34px 90px rgba(2, 6, 23, .35);
}

.command-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .85rem;
    border-bottom: 1px solid #e4ebf3;
    padding: 1rem 1.1rem;
    color: var(--navy);
}

.command-search input {
    min-height: 46px;
    outline: none;
    color: #1c1a17;
    font-size: 1rem;
    font-weight: 750;
}

.command-search button {
    display: flex;
    height: 38px;
    width: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #6f6d68;
}

.command-search button:hover {
    background: #f4f0e9;
    color: var(--navy);
}

.command-content {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 1rem;
    padding: 1rem;
}

.command-content h2 {
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1.1;
}

.command-content p {
    margin-top: .7rem;
    color: #6f6d68;
    line-height: 1.65;
}

.command-results {
    display: grid;
    gap: .55rem;
}

.command-results a,
.command-results button {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .85rem;
    align-items: center;
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    background: #fff;
    padding: .85rem;
    text-align: left;
    color: var(--navy);
}

.command-results a:hover,
.command-results button:hover {
    background: #f8fafc;
    border-color: rgba(111, 180, 63, .48);
}

.command-results svg {
    color: var(--green);
}

.command-results strong {
    display: block;
    font-size: .92rem;
    font-weight: 950;
}

.command-results small {
    display: block;
    margin-top: .2rem;
    color: #6f6d68;
    font-size: .78rem;
    line-height: 1.35;
}

.command-results .is-hidden {
    display: none;
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, .66);
    padding: 1rem;
    backdrop-filter: blur(8px);
}

.modal-shell:not(.hidden) {
    display: flex;
}

.modal-panel {
    width: min(100%, 620px);
    max-height: 92vh;
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(2, 6, 23, .3);
    animation: modalIn .18s ease-out;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    background: var(--navy);
    color: #fff;
    padding: 1.45rem 1.5rem;
}

.modal-header h2 {
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 950;
}

.modal-header p {
    margin-top: .3rem;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
}

.modal-close {
    display: flex;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, .12);
}

.form-label {
    margin-bottom: .45rem;
    display: block;
    color: #403c36;
    font-size: .82rem;
    font-weight: 900;
}

.form-input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d8d0c2;
    background: #fff;
    padding: .85rem 1rem;
    color: #1c1a17;
    font-size: .94rem;
    font-weight: 650;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(111, 180, 63, .16);
}

@keyframes modalIn {
    from {
        transform: translateY(10px) scale(.985);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 110;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, .88);
    padding: 1rem;
    backdrop-filter: blur(8px);
}

.lightbox:not(.hidden) {
    display: flex;
}

.lightbox-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    display: flex;
    height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.lightbox figure {
    max-width: min(100%, 1050px);
}

.lightbox img {
    max-height: 76vh;
    width: 100%;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox figcaption {
    margin-top: 1rem;
    color: #fff;
}

.lightbox figcaption strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 950;
}

.lightbox figcaption span {
    display: block;
    margin-top: .25rem;
    color: rgba(255, 255, 255, .72);
}

.directory-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 12%, rgba(111, 180, 63, .14), transparent 28rem),
        linear-gradient(180deg, #fff 0%, #f6f9fc 100%);
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.directory-hero-inner {
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: minmax(0, .98fr) minmax(0, .72fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .directory-hero-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .directory-hero-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.directory-hero h1 {
    max-width: 760px;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    font-weight: 950;
    line-height: .98;
}

.directory-hero p {
    margin-top: 1.25rem;
    max-width: 680px;
    color: #57534c;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.8;
}

.doctor-search {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    max-width: 720px;
    overflow: hidden;
    border: 1px solid #c8d6e4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 54px rgba(38, 33, 97, .1);
}

.doctor-search>svg {
    align-self: center;
    justify-self: center;
    color: var(--green);
}

.doctor-search input {
    min-width: 0;
    min-height: 68px;
    color: #1c1a17;
    font-size: 1rem;
    font-weight: 750;
    outline: none;
}

.doctor-search button {
    min-width: 132px;
    background: var(--navy);
    color: #fff;
    font-size: .9rem;
    font-weight: 950;
}

.directory-hero-panel {
    overflow: hidden;
    border: 1px solid #dbe6f1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(38, 33, 97, .12);
}

.directory-hero-panel img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.directory-hero-panel>div {
    padding: 1.25rem;
}

.directory-hero-panel span {
    color: var(--green);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.directory-hero-panel strong {
    display: block;
    margin-top: .5rem;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 950;
    line-height: 1.35;
}

.directory-hero-panel dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #ece5da;
}

.directory-hero-panel dl div {
    padding: 1rem;
}

.directory-hero-panel dl div+div {
    border-left: 1px solid #ece5da;
}

.directory-hero-panel dt {
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
}

.directory-hero-panel dd {
    margin-top: .3rem;
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 850;
}

.doctor-directory-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(4rem, 6vw, 6rem) 1rem;
}

@media (min-width: 640px) {
    .doctor-directory-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .doctor-directory-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.doctor-directory-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.doctor-directory-head h2 {
    margin-top: .45rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    font-weight: 950;
    line-height: 1.05;
}

.doctor-directory-head span {
    display: block;
    margin-top: .75rem;
    max-width: 620px;
    color: #6f6d68;
    line-height: 1.7;
}

.doctor-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.doctor-filter-bar button {
    min-height: 42px;
    border: 1px solid #e5ddd1;
    border-radius: 999px;
    background: #fff;
    padding: 0 1rem;
    color: #403c36;
    font-size: .82rem;
    font-weight: 950;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.doctor-filter-bar button:hover,
.doctor-filter-bar button.is-active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.doctor-grid {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctor-card {
    display: grid;
    grid-template-rows: 190px 1fr auto;
    overflow: hidden;
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(38, 33, 97, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.doctor-card:hover {
    transform: translateY(-3px);
    border-color: rgba(111, 180, 63, .5);
    box-shadow: 0 24px 52px rgba(38, 33, 97, .12);
}

.doctor-card.is-hidden {
    display: none;
}

.doctor-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f3eee6;
}

.doctor-card-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.doctor-card-media::after {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .54));
}

.doctor-card-media span {
    position: absolute;
    left: .9rem;
    bottom: .8rem;
    z-index: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    padding: .34rem .62rem;
    color: var(--navy);
    font-size: .72rem;
    font-weight: 950;
}

.doctor-card-body {
    padding: 1.15rem;
}

.doctor-specialty {
    color: var(--green);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.doctor-card h3 {
    margin-top: .45rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.12rem;
    font-weight: 950;
    line-height: 1.25;
}

.doctor-card h3 a:hover {
    color: var(--green);
}

.doctor-card p {
    margin-top: .65rem;
    color: #6f6d68;
    font-size: .86rem;
    line-height: 1.55;
}

.doctor-meta {
    margin-top: .9rem;
    display: grid;
    gap: .45rem;
}

.doctor-meta span {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #57534c;
    font-size: .78rem;
    font-weight: 850;
}

.doctor-meta svg {
    color: var(--green);
    flex-shrink: 0;
}

.doctor-card-actions {
    display: grid;
    grid-template-columns: 1fr 52px;
    border-top: 1px solid #ece5da;
}

.doctor-card-actions button,
.doctor-card-actions a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 950;
}

.doctor-card-actions button:hover,
.doctor-card-actions a:hover {
    background: #faf7f1;
}

.doctor-card-actions a {
    border-left: 1px solid #ece5da;
    color: var(--green);
}

.doctor-empty {
    margin-top: 1.5rem;
    border: 1px dashed #d8d0c2;
    border-radius: 8px;
    background: #f8fafc;
    padding: 1.25rem;
    color: #6f6d68;
    font-weight: 850;
    text-align: center;
}

.directory-cta {
    display: flex;
    max-width: 1280px;
    margin: 0 auto 5rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-radius: 8px;
    background: var(--navy);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    color: #fff;
}

.directory-cta h2 {
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.6rem, 2.7vw, 2.5rem);
    font-weight: 950;
    line-height: 1.08;
}

.directory-cta p {
    margin-top: .75rem;
    max-width: 720px;
    color: rgba(255, 255, 255, .74);
    line-height: 1.7;
}

.directory-hero-photo {
    position: relative;
    min-height: 345px;
    overflow: visible;
    background:
        linear-gradient(90deg, rgba(38, 33, 97, .84), rgba(38, 33, 97, .5)),
        var(--directory-bg) center 42% / cover no-repeat;
    padding: 0;
}

.directory-hero-overlay {
    position: relative;
    display: flex;
    min-height: 345px;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem 6.5rem;
}

@media (min-width: 640px) {
    .directory-hero-overlay {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .directory-hero-overlay {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.directory-hero-content {
    max-width: 760px;
    color: #fff;
}

.directory-hero-content h1 {
    color: #fff;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.8rem, 5.2vw, 5.3rem);
    font-weight: 950;
    line-height: .98;
}

.directory-hero-content p {
    max-width: 610px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .86);
    font-size: 1.08rem;
    line-height: 1.75;
}

.directory-floating-cta {
    position: absolute;
    right: 2rem;
    bottom: -2.2rem;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-height: 72px;
    border: 0;
    border-radius: 999px 0 0 999px;
    background: #fff;
    padding: 0 2rem;
    color: var(--navy);
    font-weight: 950;
    box-shadow: 0 18px 40px rgba(38, 33, 97, .18);
}

.directory-floating-cta svg {
    color: var(--green);
}

.directory-search-stage {
    position: relative;
    z-index: 5;
    max-width: 980px;
    margin: -3.85rem auto 0;
    padding: 0 1rem;
}

.doctor-search-card {
    position: relative;
    border-radius: 8px;
    background: #fff;
    padding: 1.35rem;
    box-shadow: 0 26px 56px rgba(38, 33, 97, .18);
}

.doctor-search-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .9rem;
    color: var(--navy);
}

.doctor-search-title>span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #eef9ea;
    color: var(--green);
}

.doctor-search-title strong {
    color: var(--navy);
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 950;
}

.doctor-help {
    border: 0;
    background: transparent;
    color: var(--green);
}

.doctor-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 64px;
    align-items: center;
    overflow: hidden;
    margin-top: 1rem;
    border: 2px solid #d8e4f0;
    border-radius: 999px;
    background: #faf7f1;
}

.doctor-search-row:focus-within {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(38, 33, 97, .08);
}

.doctor-search-row input {
    min-width: 0;
    min-height: 60px;
    background: transparent;
    padding: 0 1.4rem;
    color: #1c1a17;
    font-size: 1rem;
    font-weight: 750;
    outline: none;
}

.doctor-clear {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--navy);
}

.doctor-search-submit {
    display: grid;
    place-items: center;
    min-height: 64px;
    border: 0;
    background: var(--navy);
    color: #fff;
}

.doctor-live-panel {
    position: absolute;
    top: calc(100% - .6rem);
    left: 1rem;
    right: 1rem;
    z-index: 20;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 34px 70px rgba(38, 33, 97, .2);
}

.doctor-live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    color: #57534c;
    font-weight: 750;
}

.doctor-live-head div {
    display: flex;
    gap: .4rem;
}

.doctor-live-head button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #e8e1d6;
    border-radius: 6px;
    background: #fff;
    color: var(--navy);
}

.doctor-live-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 430px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.doctor-live-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.doctor-live-result {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    min-height: 132px;
    border-top: 1px solid #e9f0f6;
    padding: 1rem 1.35rem;
}

.doctor-live-result img {
    width: 92px;
    height: 104px;
    border-radius: 8px;
    background: #f3eee6;
    object-fit: cover;
    object-position: center top;
}

.doctor-live-result strong {
    display: block;
    color: #1769aa;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.22rem;
    font-weight: 950;
    line-height: 1.12;
}

.doctor-live-result small {
    display: block;
    margin-top: .35rem;
    color: #403c36;
    font-style: italic;
    line-height: 1.35;
}

.doctor-live-result.is-hidden {
    display: none;
}

.directory-roster-section {
    padding-top: clamp(3rem, 5vw, 5rem);
}

.doctor-directory-head.compact {
    align-items: flex-start;
}

.doctor-roster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 2.6vw, 2.5rem);
    row-gap: 2.25rem;
}

.doctor-roster-grid .doctor-card {
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.doctor-roster-grid .doctor-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.doctor-roster-grid .doctor-card-media {
    height: 142px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.doctor-roster-grid .doctor-card-media img {
    height: 142px;
    width: 108px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center top;
    filter: drop-shadow(0 16px 20px rgba(38, 33, 97, .08));
}

.doctor-roster-grid .doctor-card-media::after,
.doctor-roster-grid .doctor-card-media span {
    display: none;
}

.doctor-roster-grid .doctor-card-body {
    padding: 0;
}

.doctor-roster-grid .doctor-card h3 {
    margin: 0;
    color: #1769aa;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.12;
}

.doctor-roster-grid .doctor-specialty {
    display: block;
    margin-top: .35rem;
    color: #1f2937;
    font-size: .82rem;
    font-style: italic;
    font-weight: 650;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
}

.doctor-view-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 30px;
    margin-top: 1rem;
    border-radius: 999px;
    background: var(--green);
    padding: 0 .85rem;
    color: #fff;
    font-size: .78rem;
    font-weight: 950;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .16), 0 8px 16px rgba(111, 180, 63, .2);
}

.doctor-view-pill:hover {
    background: var(--navy);
    color: #fff;
}

.directory-location-band {
    display: grid;
    max-width: 1280px;
    margin: clamp(4rem, 8vw, 8rem) auto 0;
    grid-template-columns: minmax(0, .62fr) minmax(0, 1.18fr) minmax(0, .7fr);
    gap: 2rem;
    align-items: center;
    padding: 0 1rem clamp(4rem, 7vw, 6rem);
}

@media (min-width: 640px) {
    .directory-location-band {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .directory-location-band {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.directory-location-band>div img {
    width: 210px;
}

.directory-location-band p {
    max-width: 280px;
    margin-top: 1.4rem;
    color: #57534c;
    line-height: 1.65;
}

.directory-location-band iframe {
    width: 100%;
    height: 340px;
    border: 0;
    border-radius: 8px;
    background: #efe9e0;
}

.directory-location-band address {
    display: grid;
    gap: 1rem;
    color: #1769aa;
    font-style: normal;
    line-height: 1.55;
}

.directory-location-band address strong {
    color: #1769aa;
    font-weight: 750;
}

.directory-location-band address span {
    display: flex;
    gap: 1rem;
    font-weight: 950;
}

.profile-header {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
}

.profile-header img {
    height: 52px;
    width: auto;
}

.profile-header nav {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 900;
}

.profile-header nav a,
.profile-header nav button {
    border: 0;
    border-radius: 8px;
    background: #fff;
    padding: .75rem .9rem;
}

.profile-header nav button {
    background: var(--green);
    color: #fff;
}

.doctor-profile-hero {
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding: clamp(3rem, 6vw, 5.5rem) 1rem;
}

.doctor-profile-copy>span {
    color: var(--green);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.doctor-profile-copy h1 {
    margin-top: .7rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.6rem, 5vw, 5.25rem);
    font-weight: 950;
    line-height: .98;
}

.doctor-profile-copy p {
    margin-top: 1.25rem;
    max-width: 720px;
    color: #57534c;
    font-size: 1.08rem;
    line-height: 1.8;
}

.doctor-profile-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.doctor-profile-card {
    overflow: hidden;
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(38, 33, 97, .12);
}

.doctor-profile-card img {
    height: 360px;
    width: 100%;
    object-fit: cover;
}

.doctor-profile-card dl {
    display: grid;
    grid-template-columns: 1fr;
}

.doctor-profile-card div {
    padding: 1rem 1.25rem;
    border-top: 1px solid #ece5da;
}

.doctor-profile-card dt {
    color: var(--green);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.doctor-profile-card dd {
    margin-top: .35rem;
    color: var(--navy);
    font-weight: 900;
}

.doctor-profile-content {
    display: grid;
    max-width: 1280px;
    margin: 0 auto 5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 1rem;
}

.doctor-profile-content article {
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: 0 18px 42px rgba(38, 33, 97, .06);
}

.doctor-profile-content h2 {
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.55rem;
    font-weight: 950;
}

.doctor-profile-content p {
    margin-top: .9rem;
    color: #57534c;
    line-height: 1.75;
}

.doctor-profile-empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 5rem 1rem;
}

.doctor-profile-empty h1 {
    color: var(--navy);
    font-size: 3rem;
    font-weight: 950;
}

.doctor-profile-banner {
    position: relative;
    display: flex;
    min-height: 340px;
    align-items: center;
    justify-content: space-between;
    background:
        linear-gradient(90deg, rgba(38, 33, 97, .86), rgba(38, 33, 97, .52)),
        var(--profile-bg) center 44% / cover no-repeat;
    padding: 2rem max(1rem, calc((100vw - 1280px) / 2 + 2rem));
    color: #fff;
}

.doctor-profile-banner>div {
    max-width: 860px;
}

.doctor-profile-banner span {
    display: block;
    margin-bottom: .8rem;
    color: rgba(255, 255, 255, .88);
    font-size: 1.08rem;
    font-weight: 750;
}

.doctor-profile-banner h1 {
    max-width: 820px;
    color: #fff;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(2.6rem, 5vw, 5.3rem);
    font-weight: 950;
    line-height: .98;
}

.profile-floating-cta {
    position: absolute;
    right: 0;
    bottom: -2.1rem;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-height: 72px;
    border: 0;
    border-radius: 999px 0 0 999px;
    background: #fff;
    padding: 0 2rem;
    color: var(--navy);
    font-weight: 950;
    box-shadow: 0 18px 40px rgba(38, 33, 97, .18);
}

.profile-floating-cta svg {
    color: var(--green);
}

.doctor-profile-main {
    display: grid;
    max-width: 1180px;
    margin: 0 auto;
    grid-template-columns: minmax(0, .95fr) minmax(0, .8fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(4rem, 7vw, 6rem) 1rem 3rem;
}

.doctor-portrait {
    display: flex;
    justify-content: center;
}

.doctor-portrait img {
    width: min(100%, 520px);
    max-height: 580px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center top;
    filter: drop-shadow(0 28px 34px rgba(38, 33, 97, .08));
}

.doctor-info-panel {
    background: #f3eee6;
    padding: clamp(2rem, 4vw, 3.2rem);
}

.doctor-info-panel h2 {
    border-left: 3px solid var(--green);
    padding-left: .9rem;
    color: #1769aa;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1.1;
}

.doctor-info-panel h2+dl {
    margin-top: 1.2rem;
}

.doctor-info-panel h2:not(:first-child) {
    margin-top: 2rem;
}

.doctor-info-panel dl {
    display: grid;
    gap: 1rem;
}

.doctor-info-panel dl div {
    border-bottom: 1px solid #dce7f1;
    padding-bottom: 1rem;
}

.doctor-info-panel dl div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.doctor-info-panel dt {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #1c1a17;
    font-size: .92rem;
    font-weight: 950;
}

.doctor-info-panel dt svg {
    color: var(--green);
    flex-shrink: 0;
}

.doctor-info-panel dd {
    margin: .35rem 0 0 1.55rem;
    color: #403c36;
    line-height: 1.55;
}

.profile-story {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2rem 4rem;
    max-width: 1180px;
    padding-top: 2rem;
}

.profile-story article {
    border: 0;
    padding: 0;
    box-shadow: none;
}

.profile-section-title {
    border-left: 3px solid var(--green);
    padding-left: 1rem;
}

.profile-section-title h2 {
    color: #1769aa;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 950;
    line-height: 1.1;
}

.profile-story article strong {
    display: block;
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 950;
}

.association-list {
    display: grid;
    gap: 1rem;
}

.association-list p {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 0;
    color: #1f2937;
    font-weight: 850;
}

.association-list svg {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    padding: .5rem;
    flex-shrink: 0;
}

.back-to-directory {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    color: var(--green);
    font-weight: 950;
}

.back-to-directory::before,
.back-to-directory::after {
    width: min(320px, 30vw);
    height: 2px;
    content: "";
    background: #9bc7ea;
}

/* ====== Páginas institucionales y servicios ====== */
.content-page,
.service-page {
    background: #fff;
}

.content-hero,
.service-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f7f3ec 0%, #fff 100%);
}

.content-hero-shell,
.service-hero-shell {
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(3rem, 6vw, 5rem) 1rem;
}

@media (min-width: 640px) {

    .content-hero-shell,
    .service-hero-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {

    .content-hero-shell,
    .service-hero-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.content-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.2rem;
    color: #6f6d68;
    font-size: .82rem;
    font-weight: 850;
}

.content-breadcrumb a:hover {
    color: var(--navy);
}

.content-hero-copy h1,
.service-hero-copy h1 {
    margin-top: .75rem;
    max-width: 780px;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.7rem, 6vw, 5.35rem);
    font-weight: 950;
    line-height: .98;
}

.content-hero-copy>p:not(.section-label),
.service-hero-copy>p {
    margin-top: 1.25rem;
    max-width: 690px;
    color: #5b574f;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
}

.content-hero-actions,
.service-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.content-hero-media,
.service-hero-media {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e8e1d6;
    background: #e8e1d6;
    box-shadow: 0 24px 55px rgba(38, 33, 97, .12);
}

.content-hero-media img,
.service-hero-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.content-stat-strip {
    display: grid;
    max-width: 1180px;
    margin: -1.6rem auto 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(38, 33, 97, .08);
}

.content-stat-strip article {
    padding: 1.15rem 1.3rem;
    border-right: 1px solid #ebe4d9;
}

.content-stat-strip article:last-child {
    border-right: 0;
}

.content-stat-strip strong {
    display: block;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 950;
    line-height: 1;
}

.content-stat-strip span {
    display: block;
    margin-top: .35rem;
    color: #6f6d68;
    font-size: .82rem;
    font-weight: 850;
}

.content-body,
.service-detail,
.related-services {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4.5rem 1rem;
}

@media (min-width: 640px) {

    .content-body,
    .service-detail,
    .related-services {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {

    .content-body,
    .service-detail,
    .related-services {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.content-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.content-info-card {
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    padding: 1.35rem;
    box-shadow: 0 16px 34px rgba(38, 33, 97, .055);
}

.content-info-card>span,
.service-chip,
.related-service-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef6e7;
    color: var(--green);
}

.content-info-card>span {
    height: 42px;
    width: 42px;
}

.content-info-card h2 {
    margin-top: 1rem;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 950;
}

.content-info-card p {
    margin-top: .65rem;
    color: #6f6d68;
    font-size: .92rem;
    line-height: 1.7;
}

.content-service-directory {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.content-service-group {
    display: grid;
    gap: 1rem;
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 16px 34px rgba(38, 33, 97, .055);
}

.content-service-group>div>span {
    display: inline-flex;
    height: 42px;
    width: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f0f7ec;
    color: var(--green);
}

.content-service-group h2 {
    margin-top: .85rem;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 950;
}

.content-service-group p {
    margin-top: .45rem;
    color: #6f6d68;
    line-height: 1.6;
}

.content-service-group ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
}

.content-service-group a,
.content-sitemap a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-radius: 6px;
    background: #f8fafc;
    padding: .7rem .75rem;
    color: #403c36;
    font-size: .85rem;
    font-weight: 850;
}

.content-service-group a:hover,
.content-sitemap a:hover {
    background: #eef4f9;
    color: var(--navy);
}

.content-sitemap {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.content-sitemap article {
    display: grid;
    align-content: start;
    gap: .5rem;
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    padding: 1.2rem;
    box-shadow: 0 16px 34px rgba(38, 33, 97, .055);
}

.content-sitemap h2 {
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 950;
}

.content-sitemap-wide {
    grid-column: 1 / -1;
}

.content-sitemap-wide>div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
}

.content-map-panel {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    overflow: hidden;
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(38, 33, 97, .08);
}

.content-map-panel>div {
    padding: 2rem;
}

.content-map-panel h2 {
    color: var(--navy);
    font-size: 1.6rem;
    font-weight: 950;
}

.content-map-panel p {
    margin: .75rem 0 1.25rem;
    color: #6f6d68;
    line-height: 1.7;
}

.content-map-panel iframe {
    min-height: 360px;
    width: 100%;
    border: 0;
}

.service-chip {
    gap: .45rem;
    width: fit-content;
    padding: .55rem .7rem;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 950;
}

.service-hero-media figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    padding: .9rem 1rem;
    box-shadow: 0 14px 34px rgba(38, 33, 97, .12);
}

.service-hero-media strong,
.service-hero-media span {
    display: block;
}

.service-hero-media strong {
    color: var(--navy);
    font-weight: 950;
}

.service-hero-media span {
    margin-top: .2rem;
    color: #6f6d68;
    font-size: .82rem;
    font-weight: 800;
}

.service-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.25rem;
}

.service-detail-main {
    display: grid;
    gap: 1rem;
}

.service-story {
    border: 1px solid #e8e1d6;
    border-radius: 8px;
    background: #fff;
    padding: clamp(1.4rem, 3vw, 2rem);
    box-shadow: 0 16px 34px rgba(38, 33, 97, .055);
}

.service-story h2 {
    margin-top: .7rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    font-weight: 950;
    line-height: 1.08;
}

.service-story p:not(.section-label) {
    margin-top: 1rem;
    color: #5b574f;
    line-height: 1.8;
}

.service-story ul {
    margin-top: 1.4rem;
    display: grid;
    gap: .8rem;
}

.service-story li {
    display: flex;
    gap: .7rem;
    color: #403c36;
    font-weight: 800;
    line-height: 1.55;
}

.service-story li svg {
    margin-top: .2rem;
    color: var(--green);
    flex-shrink: 0;
}

.service-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}

.service-process article {
    border: 1px solid var(--warm-line);
    border-radius: 16px;
    background: var(--warm);
    padding: 1.2rem;
}

.service-process span {
    color: var(--green);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.45rem;
    font-weight: 950;
}

.service-process p {
    margin-top: .65rem;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.55;
}

.service-contact-card {
    position: sticky;
    top: 9rem;
    border-radius: 20px;
    background: var(--navy);
    padding: 1.4rem;
    color: #fff;
    box-shadow: 0 22px 52px rgba(38, 33, 97, .22);
}

.service-contact-card>span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--green);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.service-contact-card h2 {
    margin-top: .75rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: 950;
    line-height: 1.1;
}

.service-contact-card p {
    margin: .85rem 0 1.2rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
}

.service-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .95rem;
    color: #fff;
    font-size: .88rem;
    font-weight: 950;
}

.related-services {
    padding-top: 0;
}

.related-services-head h2 {
    margin-top: .5rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 950;
}

.related-services-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.related-service-card {
    position: relative;
    display: grid;
    gap: .45rem;
    border: 1px solid var(--warm-line);
    border-radius: 18px;
    background: var(--paper);
    padding: 1.3rem;
    color: var(--navy);
    box-shadow: 0 16px 34px rgba(38, 33, 97, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.related-service-card span {
    height: 42px;
    width: 42px;
}

.related-service-card strong {
    margin-top: .5rem;
    font-weight: 950;
}

.related-service-card small {
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 800;
}

.related-service-card>svg {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: var(--green);
    transition: transform .2s ease;
}

.related-service-card:hover {
    border-color: rgba(111, 180, 63, .5);
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(38, 33, 97, .1);
}

.related-service-card:hover>svg {
    transform: translate(2px, -2px);
}

@media (max-width: 1180px) {
    .task-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doctor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doctor-roster-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .task-card:nth-child(2n) {
        border-right: 0;
    }

    .task-card:nth-child(-n + 2) {
        border-bottom: 1px solid #ebe4d9;
    }

    .clinical-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .featured-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .featured-service:nth-child(3n) {
        border-right: 0;
    }

    .capability-shell {
        grid-template-columns: 1fr;
    }

    .capability-showcase {
        grid-template-columns: .8fr 1.2fr;
    }

    .content-service-group ul,
    .content-sitemap-wide>div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-card:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 900px) {
    .directory-hero-inner {
        grid-template-columns: 1fr;
    }

    .directory-hero-overlay {
        min-height: 310px;
        padding-bottom: 6rem;
    }

    .directory-floating-cta,
    .profile-floating-cta {
        right: 1rem;
        min-height: 58px;
        border-radius: 999px;
        padding: 0 1.2rem;
    }

    .directory-search-stage {
        margin-top: -3.3rem;
    }

    .doctor-live-grid {
        grid-template-columns: 1fr;
        max-height: 430px;
    }

    .doctor-roster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .directory-location-band,
    .doctor-profile-main,
    .profile-story {
        grid-template-columns: 1fr;
    }

    .profile-section-title {
        margin-top: 1rem;
    }

    .doctor-directory-head {
        align-items: start;
        flex-direction: column;
    }

    .doctor-filter-bar {
        justify-content: flex-start;
    }

    .hero-section {
        background: linear-gradient(180deg, #fff 0%, #f7f3ec 100%);
    }

    .hero-shell {
        grid-template-columns: 1fr;
        padding-bottom: 3.75rem;
    }

    .hero-copy {
        min-height: auto;
        padding-top: 1rem;
    }

    .hero-assist-panel {
        grid-template-columns: 1fr;
    }

    .hero-assist-item+.hero-assist-item {
        border-left: 0;
        border-top: 1px solid #ebe4d9;
    }

    .hero-feature {
        min-height: 430px;
    }

    .hero-feature-image {
        inset: 0;
    }

    .hero-feature::before {
        display: none;
    }

    .hero-feature-panel {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
    }

    .hero-pathways {
        grid-template-columns: 1fr;
    }

    .hero-pathways a+a {
        border-left: 0;
        border-top: 1px solid #ebe4d9;
    }

    .hero-pathways a {
        min-height: auto;
    }

    .hero-media-stack {
        min-height: 560px;
    }

    .hero-visual {
        inset: 0 0 8.4rem 0;
    }

    .hero-clinical-card {
        right: 1rem;
        top: 1rem;
    }

    .hero-mini-grid {
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .hero-access-wrap {
        margin-top: -1rem;
    }

    .task-grid {
        grid-template-columns: 1fr;
    }

    .task-card,
    .task-card:not(:last-child),
    .task-card:nth-child(2n),
    .task-card:nth-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #ebe4d9;
    }

    .task-card:last-child {
        border-bottom: 0;
    }

    .clinical-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .care-service-list,
    .care-doctor-list {
        grid-template-columns: 1fr;
    }

    .finder-search {
        grid-template-columns: 24px minmax(0, 1fr) auto;
        padding-left: .9rem;
    }

    .finder-submit {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .care-intelligence {
        grid-template-columns: 1fr;
    }

    .care-intelligence>div,
    .care-intelligence article {
        border-right: 0;
        border-bottom: 1px solid #ece5da;
    }

    .care-intelligence article:last-child {
        border-bottom: 0;
    }

    .clinical-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        max-height: none;
    }

    .clinical-mosaic figure {
        min-height: 220px;
    }

    .mosaic-main {
        grid-row: auto;
        min-height: 280px;
    }

    .service-directory {
        grid-template-columns: 1fr;
    }

    .directory-grid {
        grid-template-columns: 1fr;
    }

    .featured-service-grid {
        grid-template-columns: 1fr;
        border: 1px solid #e8e1d6;
    }

    .featured-service {
        border-right: 0;
        border-bottom: 1px solid #e8e1d6;
        min-height: auto;
    }

    .featured-service:last-child {
        border-bottom: 0;
    }

    .capability-showcase {
        grid-template-columns: 1fr;
    }

    .capability-photo {
        min-height: 320px;
    }

    .capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-hero-shell,
    .service-hero-shell,
    .service-detail,
    .content-map-panel {
        grid-template-columns: 1fr;
    }

    .content-hero-media,
    .service-hero-media {
        min-height: 320px;
    }

    .content-stat-strip,
    .content-section-grid,
    .content-service-directory,
    .content-sitemap,
    .service-process {
        grid-template-columns: 1fr;
    }

    .content-stat-strip article {
        border-right: 0;
        border-bottom: 1px solid #ebe4d9;
    }

    .content-stat-strip article:last-child {
        border-bottom: 0;
    }

    .service-contact-card {
        position: relative;
        top: auto;
    }

    .guide-rail {
        grid-template-columns: 1fr;
        border: 1px solid #e8e1d6;
    }

    .guide-link {
        border-right: 0;
        border-bottom: 1px solid #e8e1d6;
    }

    .guide-link:last-child {
        border-bottom: 0;
    }

    .patient-panel {
        grid-template-columns: 1fr;
    }

    .patient-list.compact {
        border-left: 0;
        border-top: 1px solid #e8e1d6;
    }

    .journey-head {
        align-items: start;
        flex-direction: column;
    }

    .journey-grid {
        grid-template-columns: 1fr;
    }

    .journey-card::after {
        display: none;
    }

    .tour-card {
        grid-template-columns: 1fr;
    }

    .tour-video {
        min-height: 260px;
    }

    .command-content {
        grid-template-columns: 1fr;
    }

    .directory-cta {
        margin-left: 1rem;
        margin-right: 1rem;
        align-items: start;
        flex-direction: column;
    }

    .footer-grid,
    .doctor-profile-hero,
    .doctor-profile-content {
        grid-template-columns: 1fr;
    }

    .profile-header {
        align-items: start;
        flex-direction: column;
    }

    .profile-header nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .directory-hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .directory-hero-content p {
        font-size: .98rem;
    }

    .directory-search-stage {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .doctor-search-card {
        padding: 1rem;
    }

    .doctor-search-title {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .doctor-help {
        display: none;
    }

    .doctor-search-title strong {
        font-size: 1.35rem;
    }

    .doctor-search-row {
        grid-template-columns: minmax(0, 1fr) auto 58px;
        border-radius: 8px;
    }

    .doctor-search-row input {
        min-height: 56px;
        padding: 0 1rem;
        font-size: .92rem;
    }

    .doctor-live-panel {
        left: 0;
        right: 0;
        top: calc(100% - .35rem);
    }

    .doctor-live-result {
        grid-template-columns: 78px minmax(0, 1fr);
        min-height: 112px;
        padding: .9rem;
    }

    .doctor-live-result img {
        width: 72px;
        height: 86px;
    }

    .doctor-live-result strong {
        font-size: 1rem;
    }

    .doctor-roster-grid .doctor-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .doctor-roster-grid .doctor-card-media,
    .doctor-roster-grid .doctor-card-media img {
        height: 124px;
    }

    .doctor-roster-grid .doctor-card-media img {
        width: 94px;
    }

    .directory-location-band iframe {
        height: 280px;
    }

    .doctor-profile-banner {
        min-height: 300px;
        padding: 2rem 1rem 4.5rem;
    }

    .doctor-profile-banner h1 {
        font-size: clamp(2.3rem, 12vw, 3.4rem);
    }

    .doctor-profile-main {
        padding-top: 4rem;
    }

    .back-to-directory::before,
    .back-to-directory::after {
        display: none;
    }

    .doctor-search {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .doctor-search input {
        min-height: 62px;
    }

    .doctor-search button {
        grid-column: 1 / -1;
        min-height: 52px;
        width: 100%;
    }

    .directory-hero-panel dl {
        grid-template-columns: 1fr;
    }

    .directory-hero-panel dl div+div {
        border-left: 0;
        border-top: 1px solid #ece5da;
    }

    .doctor-grid {
        grid-template-columns: 1fr;
    }

    .utility-bar {
        font-size: .78rem;
    }

    .main-nav .brand-link img {
        max-width: 185px;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 12vw, 3.55rem);
    }

    .hero-copy p {
        font-size: .98rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .hero-actions .btn {
        min-height: 52px;
        width: auto;
        justify-content: center;
        padding-inline: .8rem;
        font-size: .84rem;
        border-radius: 12px;
    }

    .hero-actions .btn-outline {
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid rgba(38, 33, 97, 0.08);
        box-shadow: 0 4px 10px rgba(38, 33, 97, 0.03);
    }

    .hero-actions .btn-outline:active {
        background: #f4f0e9;
        transform: scale(0.98);
    }

    .hero-actions .btn-green,
    .hero-actions .btn-emergency {
        grid-column: 1 / -1;
    }

    .hero-actions .btn-emergency {
        background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
        border: 1px solid rgba(239, 68, 68, 0.15);
        color: #c53030;
        box-shadow: 0 6px 14px rgba(239, 68, 68, 0.08);
    }

    .hero-actions .btn-emergency:active {
        background: #fee2e2;
        transform: scale(0.98);
    }

    .hero-assist-panel {
        display: none;
    }

    .hero-assist-item {
        min-height: auto;
    }

    .hero-feature {
        min-height: 390px;
    }

    .hero-feature-panel {
        grid-template-columns: 1fr;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 16px 36px rgba(38, 33, 97, 0.12);
        border-radius: 16px;
    }

    .hero-feature-panel span {
        display: grid;
        grid-template-columns: 64px 1fr;
        align-items: center;
        gap: 0.85rem;
        padding: 1.15rem 1.25rem;
        text-align: left;
    }

    .hero-feature-panel span+span {
        border-left: 0;
        border-top: 1px solid rgba(221, 230, 239, 0.6);
    }

    .hero-feature-panel b {
        font-size: 1.65rem;
        color: var(--navy);
        background: linear-gradient(135deg, var(--navy) 30%, var(--navy-2) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .hero-proof span,
    .hero-proof span+span {
        border-left: 0;
        border-top: 1px solid #dce6f0;
        padding: .9rem 0;
    }

    .hero-proof span:first-child {
        border-top: 0;
    }

    .hero-media-stack {
        min-height: 520px;
    }

    .hero-visual {
        inset: 0 0 11rem 0;
    }

    .hero-mini-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-mini-grid figure {
        min-height: 130px;
    }

    .hero-clinical-card {
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .hero-callout {
        left: 1rem;
        right: 1rem;
        top: 1rem;
        max-width: none;
    }

    .task-card {
        min-height: auto;
        padding: 1.2rem;
    }

    .task-icon {
        height: 52px;
        width: 52px;
    }

    .finder-search input {
        min-height: 52px;
        font-size: .94rem;
    }

    .care-group>header {
        grid-template-columns: auto 1fr;
    }

    .care-group>header small {
        display: none;
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }

    .capability-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .content-hero-shell,
    .service-hero-shell {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .content-hero-copy h1,
    .service-hero-copy h1 {
        font-size: clamp(2.35rem, 12vw, 3.5rem);
    }

    .content-hero-actions .btn,
    .service-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .content-service-group ul,
    .content-sitemap-wide>div,
    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .section-shell {
        padding: 4.5rem 0;
    }

    .appointment-band .btn,
    .phone-cta {
        width: 100%;
        justify-content: center;
    }

    .mobile-actionbar {
        display: grid;
    }

    .whatsapp-float {
        display: none;
    }

    body {
        padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
    }

    .command-shell {
        padding-top: 4vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* ====== Noticias / Sala de prensa ====== */
.news-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(3.5rem, 5vw, 5rem) 0 clamp(2.5rem, 4vw, 4rem);
    color: #fff;
}

.news-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(70% 70% at 84% 8%, rgba(111, 180, 63, .28), transparent 60%),
        radial-gradient(50% 50% at 10% 90%, rgba(111, 180, 63, .12), transparent 60%),
        linear-gradient(135deg, #14123f 0%, #1c1856 50%, #262161 100%);
}

.news-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.news-hero-shell {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .news-hero-shell {
        padding: 0 1.5rem;
    }
}

.news-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    padding: .45rem 1rem;
    color: #fff;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.news-hero-kicker svg {
    color: #b6f0a3;
}

.news-hero h1 {
    margin-top: 1.1rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -.015em;
    color: #fff;
}

.news-hero>div>p {
    margin: 1rem auto 0;
    max-width: 620px;
    color: rgba(255, 255, 255, .8);
    font-size: 1.02rem;
    line-height: 1.7;
}

.news-search {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: .5rem;
    max-width: 560px;
    margin: 1.75rem auto 0;
    padding: .35rem .35rem .35rem 1.1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(12px);
    transition: border-color .2s ease, background .2s ease;
}

.news-search:focus-within {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .5);
}

.news-search>svg {
    color: rgba(255, 255, 255, .85);
}

.news-search input {
    min-width: 0;
    min-height: 52px;
    background: transparent;
    color: #fff;
    font-size: .96rem;
    font-weight: 750;
    outline: none;
}

.news-search input::placeholder {
    color: rgba(255, 255, 255, .55);
}

.news-search button {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 46px;
    padding: 0 1.2rem;
    border: 0;
    border-radius: 12px;
    background: #6fb43f;
    color: #fff;
    font-size: .9rem;
    font-weight: 950;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.news-search button:hover {
    background: #5da334;
    transform: translateY(-1px);
}

.news-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(2.5rem, 4vw, 4rem) 1rem clamp(4rem, 6vw, 6rem);
}

@media (min-width: 640px) {
    .news-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .news-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}

.news-filter {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 40px;
    padding: 0 1rem;
    border: 1px solid #e5ddd1;
    border-radius: 999px;
    background: #fff;
    color: #403c36;
    font-size: .82rem;
    font-weight: 950;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.news-filter:hover {
    border-color: #262161;
    color: #262161;
}

.news-filter.is-active {
    background: #262161;
    border-color: #262161;
    color: #fff;
}

.news-filter.is-active svg {
    color: #b6f0a3;
}

.news-filter svg {
    color: #6fb43f;
}

.news-filter span {
    padding: .15rem .5rem;
    border-radius: 999px;
    background: rgba(38, 33, 97, .08);
    color: inherit;
    font-size: .7rem;
}

.news-filter.is-active span {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.news-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: stretch;
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid #ece5da;
    background: #fff;
    box-shadow: 0 24px 48px rgba(38, 33, 97, .08);
}

.news-featured-media {
    position: relative;
    display: block;
    min-height: 320px;
    overflow: hidden;
    background: #f3eee6;
}

.news-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.news-featured-media:hover img {
    transform: scale(1.04);
}

.news-featured-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #6fb43f, #5da334);
    color: #fff;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .03em;
    box-shadow: 0 8px 20px rgba(111, 180, 63, .35);
}

.news-featured-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 850;
}

.news-meta time {
    font-weight: 850;
}

.news-reading {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.news-reading svg {
    color: #6fb43f;
}

.news-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(38, 33, 97, .08);
    color: #262161;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.news-cat-pill svg {
    color: #6fb43f;
}

.news-featured-body h2 {
    color: #262161;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 950;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.news-featured-body h2 a {
    color: inherit;
}

.news-featured-body h2 a:hover {
    color: #6fb43f;
}

.news-featured-body p {
    color: #57534c;
    line-height: 1.7;
    font-size: 1rem;
}

.news-featured-body .btn {
    align-self: flex-start;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #ece5da;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(38, 33, 97, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 180, 63, .5);
    box-shadow: 0 24px 44px rgba(38, 33, 97, .12);
}

.news-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f3eee6, #e6ded2);
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card:hover .news-card-media img {
    transform: scale(1.05);
}

.news-card-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #a8a39a;
}

.news-card-fallback svg {
    width: 56px;
    height: 56px;
    color: #6fb43f;
    opacity: .55;
}

.news-card-cat {
    position: absolute;
    top: .85rem;
    left: .85rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: #262161;
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .03em;
    box-shadow: 0 6px 14px rgba(38, 33, 97, .18);
}

.news-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.25rem 1.35rem 1.35rem;
}

.news-card-body time {
    color: #a8a39a;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .02em;
}

.news-card-body h3 {
    color: #262161;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: -.005em;
}

.news-card-body h3 a {
    color: inherit;
}

.news-card-body h3 a:hover {
    color: #6fb43f;
}

.news-card-body p {
    color: #6f6d68;
    font-size: .88rem;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    padding-top: .5rem;
    color: #262161;
    font-size: .82rem;
    font-weight: 950;
    transition: color .2s ease, gap .2s ease;
}

.news-card-link:hover {
    color: #6fb43f;
    gap: .65rem;
}

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.news-page-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.2rem;
    border: 1px solid #e5ddd1;
    border-radius: 999px;
    background: #fff;
    color: #262161;
    font-size: .85rem;
    font-weight: 950;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.news-page-link:hover {
    background: #f4f0e9;
    border-color: #262161;
    transform: translateY(-1px);
}

.news-page-info {
    color: #6f6d68;
    font-size: .85rem;
    font-weight: 850;
}

.news-empty {
    display: grid;
    place-items: center;
    gap: .65rem;
    padding: 4rem 1.5rem;
    border: 1px dashed #d8d0c2;
    border-radius: 16px;
    background: #f8fafc;
    color: #6f6d68;
    text-align: center;
}

.news-empty svg {
    color: #a8a39a;
}

.news-empty strong {
    color: #262161;
    font-size: 1.1rem;
    font-weight: 950;
}

.news-empty p {
    font-size: .9rem;
}

.news-empty .btn {
    margin-top: .65rem;
}

/* ===== Single article ===== */
.news-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem clamp(2rem, 4vw, 3rem);
}

@media (min-width: 640px) {
    .news-article {
        padding: 0 1.5rem clamp(2rem, 4vw, 3rem);
    }
}

.news-article-header {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.news-article-header .news-cat-pill {
    display: inline-flex;
}

.news-article-header h1 {
    margin-top: 1.1rem;
    color: #262161;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 950;
    line-height: 1.07;
    letter-spacing: -.015em;
}

.news-article-lead {
    margin-top: 1rem;
    color: #57534c;
    font-size: 1.1rem;
    line-height: 1.6;
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
    color: #6f6d68;
    font-size: .84rem;
    font-weight: 850;
}

.news-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.news-article-meta svg {
    color: #6fb43f;
}

.news-article-cover {
    margin: 0 0 2.5rem;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 28px 60px rgba(38, 33, 97, .12);
}

.news-article-cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.news-article-body {
    max-width: 720px;
    margin: 0 auto;
    color: #2b2823;
    font-size: 1.08rem;
    line-height: 1.85;
}

.news-article-body p {
    margin-top: 1.3rem;
}

.news-article-body p:first-child {
    margin-top: 0;
}

.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
    color: #262161;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-weight: 950;
    line-height: 1.2;
    margin-top: 2.25rem;
}

.news-article-body h2 {
    font-size: 1.65rem;
}

.news-article-body h3 {
    font-size: 1.35rem;
}

.news-article-body h4 {
    font-size: 1.15rem;
}

.news-article-body ul,
.news-article-body ol {
    margin-top: 1.3rem;
    padding-left: 1.6rem;
    display: grid;
    gap: .5rem;
}

.news-article-body ul li {
    list-style: none;
    position: relative;
    padding-left: 1.2rem;
}

.news-article-body ul li::before {
    position: absolute;
    left: 0;
    top: .65em;
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #6fb43f;
}

.news-article-body ol li::marker {
    color: #6fb43f;
    font-weight: 950;
}

.news-article-body strong {
    color: #18154f;
    font-weight: 900;
}

.news-article-body a {
    color: #262161;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-article-body a:hover {
    color: #6fb43f;
}

.news-article-body blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #6fb43f;
    background: linear-gradient(90deg, rgba(111, 180, 63, .08), transparent);
    border-radius: 0 14px 14px 0;
    color: #18154f;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.65;
}

.news-article-source {
    max-width: 720px;
    margin: 2.5rem auto 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 1.25rem;
    border: 1px solid #ece5da;
    border-radius: 12px;
    background: #f8fafc;
    color: #57534c;
    font-size: .88rem;
    font-weight: 850;
}

.news-article-source svg {
    color: #6fb43f;
    flex-shrink: 0;
}

.news-article-source a {
    color: #262161;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

.news-article-share {
    max-width: 720px;
    margin: 2.5rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid #ece5da;
    border-bottom: 1px solid #ece5da;
}

.news-article-share span {
    color: #6f6d68;
    font-size: .85rem;
    font-weight: 900;
    letter-spacing: .03em;
}

.news-article-share>div {
    display: flex;
    gap: .5rem;
}

.news-article-share a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #f4f0e9;
    color: #262161;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.news-article-share a:hover {
    background: #262161;
    color: #fff;
    transform: translateY(-2px);
}

.news-article-share a svg {
    width: 18px;
    height: 18px;
}

.news-related {
    max-width: 1180px;
    margin: clamp(3rem, 5vw, 5rem) auto 0;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .news-related {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .news-related {
        padding: 0 2rem;
    }
}

.news-related-head {
    margin-bottom: 1.5rem;
}

.news-related-head h2 {
    margin-top: .45rem;
    color: #262161;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 950;
}

@media (max-width: 900px) {
    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-media {
        min-height: 240px;
        aspect-ratio: 16/10;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-pagination {
        flex-direction: column;
        gap: .75rem;
    }

    .news-article-meta {
        flex-direction: column;
        gap: .5rem;
        align-items: flex-start;
        text-align: left;
    }

    .news-article-header {
        text-align: left;
    }

    .news-article-header .news-cat-pill {
        display: inline-flex;
    }
}

/* ===== Home news preview band ===== */
.home-news-band {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    padding: clamp(4rem, 6vw, 5rem) 0;
}

.home-news-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.home-news-head span {
    display: block;
    margin-top: .75rem;
    max-width: 560px;
    color: #6f6d68;
    line-height: 1.7;
}

/* ====== Colinas IA chat widget ====== */
.cai-root {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 80;
    font-family: "Inter", system-ui, sans-serif;
}

body.cai-locked {
    overflow: hidden;
}

body.cai-locked .mobile-actionbar {
    display: none !important;
}

.cai-fab {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #262161 0%, #6fb43f 130%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 22px 44px rgba(38, 33, 97, .35), 0 0 0 6px rgba(111, 180, 63, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cai-fab::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: rgba(111, 180, 63, .25);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}

.cai-fab:hover {
    transform: translateY(-3px) scale(1.03);
}

.cai-fab:hover::before {
    opacity: 1;
    transform: scale(1.15);
}

.cai-fab svg {
    width: 28px;
    height: 28px;
}

.cai-fab .cai-fab-open {
    display: none;
}

.cai-root.is-open .cai-fab .cai-fab-closed {
    display: none;
}

.cai-root.is-open .cai-fab .cai-fab-open {
    display: block;
}

.cai-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .65rem;
    font-weight: 950;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

.cai-panel {
    position: absolute;
    right: 0;
    bottom: calc(64px + 1rem);
    width: 400px;
    max-width: calc(100vw - 2.5rem);
    height: 600px;
    max-height: calc(100vh - 7rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #ece5da;
    box-shadow: 0 38px 80px rgba(38, 33, 97, .28);
    opacity: 0;
    transform: translateY(20px) scale(.97);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.cai-root.is-open .cai-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cai-header {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, #18154f 0%, #262161 70%, #3a3196 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cai-header-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #b6f0a3;
}

.cai-header-avatar svg {
    width: 22px;
    height: 22px;
}

.cai-header-title {
    flex: 1;
    min-width: 0;
}

.cai-header-title strong {
    display: block;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1rem;
    font-weight: 950;
}

.cai-header-title small {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .15rem;
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 800;
}

.cai-header-title small::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #6fb43f;
    box-shadow: 0 0 0 3px rgba(111, 180, 63, .25);
    animation: caiPulse 1.6s ease-in-out infinite;
}

@keyframes caiPulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(111, 180, 63, .25);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(111, 180, 63, .15);
    }
}

.cai-close,
.cai-reset {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .35s ease;
}

.cai-close:hover,
.cai-reset:hover {
    background: rgba(255, 255, 255, .22);
}

.cai-reset:hover {
    transform: rotate(-90deg);
}

.cai-reset svg,
.cai-close svg {
    width: 17px;
    height: 17px;
}

.cai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    scrollbar-width: thin;
    scrollbar-color: #d8d0c2 transparent;
}

.cai-messages::-webkit-scrollbar {
    width: 6px;
}

.cai-messages::-webkit-scrollbar-thumb {
    background: #d8d0c2;
    border-radius: 999px;
}

.cai-msg {
    display: flex;
    gap: .55rem;
    max-width: 100%;
    animation: caiFade .22s ease;
}

@keyframes caiFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cai-msg-user {
    justify-content: flex-end;
}

.cai-bubble {
    max-width: 84%;
    padding: .75rem 1rem;
    border-radius: 16px;
    font-size: .92rem;
    line-height: 1.55;
    word-wrap: break-word;
}

.cai-msg-user .cai-bubble {
    background: linear-gradient(135deg, #262161, #18154f);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.cai-msg-bot .cai-bubble {
    background: #fff;
    color: #1c1a17;
    border: 1px solid #ece5da;
    border-bottom-left-radius: 4px;
    box-shadow: 0 6px 16px rgba(38, 33, 97, .06);
}

.cai-bubble strong {
    font-weight: 900;
    color: inherit;
}

.cai-bubble em {
    font-style: italic;
}

.cai-bubble code {
    padding: .1rem .35rem;
    border-radius: 5px;
    background: rgba(38, 33, 97, .08);
    color: #18154f;
    font-family: "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: .85em;
}

.cai-bubble ul,
.cai-bubble ol {
    margin: .55rem 0 .25rem;
    padding-left: 1.2rem;
    display: grid;
    gap: .3rem;
}

.cai-bubble ul {
    list-style: none;
    padding-left: 0;
}

.cai-bubble ul li {
    position: relative;
    padding-left: 1.15rem;
}

.cai-bubble ul li::before {
    position: absolute;
    left: 0;
    top: .55em;
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #6fb43f;
}

.cai-bubble ol li {
    padding-left: .25rem;
}

.cai-bubble ol li::marker {
    color: #6fb43f;
    font-weight: 900;
}

.cai-bubble-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cai-msg-bot .cai-bubble-wrap .cai-bubble {
    max-width: 100%;
    width: auto;
}

.cai-copy {
    position: absolute;
    top: -8px;
    right: -8px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #ece5da;
    border-radius: 999px;
    background: #fff;
    color: #57534c;
    cursor: pointer;
    opacity: 0;
    transform: scale(.85);
    transition: opacity .2s ease, transform .2s ease, background .2s ease, color .2s ease;
    box-shadow: 0 4px 12px rgba(38, 33, 97, .12);
}

.cai-bubble-wrap:hover .cai-copy {
    opacity: 1;
    transform: scale(1);
}

.cai-copy:hover {
    background: #262161;
    color: #fff;
    border-color: #262161;
}

.cai-copy svg {
    width: 13px;
    height: 13px;
}

.cai-copy.is-copied {
    background: #6fb43f;
    border-color: #6fb43f;
    color: #fff;
    opacity: 1;
    transform: scale(1);
}

.cai-copy.is-copied svg {
    display: none;
}

.cai-copy.is-copied::after {
    content: "✓";
    font-weight: 950;
    font-size: .9rem;
}

.cai-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #262161, #6fb43f);
    color: #fff;
}

.cai-avatar svg {
    width: 16px;
    height: 16px;
}

.cai-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: #262161;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cai-link:hover {
    color: #6fb43f;
}

.cai-link svg {
    width: 12px;
    height: 12px;
}

.cai-doctor-cards {
    margin-top: .65rem;
    display: grid;
    gap: .5rem;
}

.cai-doctor-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #faf7f1, #fff);
    border: 1px solid #ece5da;
    color: #1c1a17;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cai-doctor-card:hover {
    border-color: rgba(111, 180, 63, .55);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(38, 33, 97, .1);
}

.cai-doctor-link {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    padding: .75rem .85rem;
    color: inherit;
}

.cai-doctor-link img {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center top;
    background: #f3eee6;
}

.cai-doctor-link strong {
    display: block;
    color: #262161;
    font-size: .92rem;
    font-weight: 950;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cai-doctor-link small {
    display: block;
    margin-top: .15rem;
    color: #6fb43f;
    font-size: .74rem;
    font-weight: 900;
}

.cai-doctor-link em {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: .3rem;
    color: #6f6d68;
    font-size: .72rem;
    font-style: normal;
    font-weight: 750;
}

.cai-doctor-link em svg {
    width: 11px;
    height: 11px;
    color: #6fb43f;
}

.cai-doctor-cta {
    display: flex;
    gap: 0;
    border-top: 1px solid #f0ebe3;
    background: rgba(248, 250, 252, .6);
}

.cai-doctor-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .55rem .65rem;
    border: 0;
    background: transparent;
    color: #262161;
    font-size: .78rem;
    font-weight: 950;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.cai-doctor-btn+.cai-doctor-btn {
    border-left: 1px solid #f0ebe3;
}

.cai-doctor-btn:hover {
    background: #f4f0e9;
    color: #18154f;
}

.cai-doctor-btn.is-primary {
    background: #262161;
    color: #fff;
}

.cai-doctor-btn.is-primary:hover {
    background: #18154f;
}

.cai-doctor-btn svg {
    width: 13px;
    height: 13px;
}

.cai-doctor-btn[aria-label] {
    flex: 0 0 auto;
    padding: .55rem .85rem;
}

.cai-actions {
    margin-top: .65rem;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.cai-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .85rem;
    border: 1px solid #e5ddd1;
    border-radius: 999px;
    background: #fff;
    color: #262161;
    font-size: .78rem;
    font-weight: 950;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.cai-action-btn:hover {
    background: #6fb43f;
    border-color: #6fb43f;
    color: #fff;
}

.cai-action-btn svg {
    width: 13px;
    height: 13px;
}

.cai-typing .cai-bubble {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .85rem 1rem;
}

.cai-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #a8a39a;
    animation: caiDot 1.2s ease-in-out infinite;
}

.cai-dot:nth-child(2) {
    animation-delay: .15s;
}

.cai-dot:nth-child(3) {
    animation-delay: .3s;
}

@keyframes caiDot {

    0%,
    100% {
        transform: translateY(0);
        opacity: .5;
    }

    40% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

.cai-quick {
    display: none;
    flex-wrap: wrap;
    gap: .45rem;
    padding: 0 1.1rem .85rem;
    background: linear-gradient(180deg, transparent, #f8fafc);
}

.cai-quick.is-visible {
    display: flex;
}

.cai-quick-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .85rem;
    border: 1px solid #e6ded2;
    border-radius: 999px;
    background: #fff;
    color: #262161;
    font-size: .76rem;
    font-weight: 900;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.cai-quick-chip:hover {
    border-color: #6fb43f;
    background: #f4faf0;
    transform: translateY(-1px);
}

.cai-quick-chip svg {
    width: 13px;
    height: 13px;
    color: #6fb43f;
}

.cai-form {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: .55rem;
    padding: .85rem 1rem 1rem;
    background: #fff;
    border-top: 1px solid #ece5da;
}

.cai-input {
    width: 100%;
    min-height: 44px;
    max-height: 140px;
    padding: .65rem .95rem;
    border: 1px solid #d8d0c2;
    border-radius: 14px;
    background: #f8fafc;
    color: #1c1a17;
    font-family: inherit;
    font-size: .94rem;
    font-weight: 650;
    line-height: 1.5;
    resize: none;
    outline: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.cai-input:focus {
    border-color: #262161;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(38, 33, 97, .1);
}

.cai-send {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #6fb43f, #5da334);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(111, 180, 63, .35);
    transition: transform .2s ease, opacity .2s ease;
}

.cai-send:hover {
    transform: translateY(-1px);
}

.cai-send:disabled {
    opacity: .55;
    cursor: wait;
}

.cai-send svg {
    width: 18px;
    height: 18px;
}

.cai-footnote {
    padding: 0 1rem .9rem;
    color: #a8a39a;
    font-size: .68rem;
    font-weight: 750;
    text-align: center;
}

.cai-footnote svg {
    display: inline;
    width: 11px;
    height: 11px;
    vertical-align: -2px;
    color: #6fb43f;
}

.cai-flash {
    animation: caiFlash 1.5s ease;
}

@keyframes caiFlash {
    0% {
        box-shadow: 0 0 0 0 rgba(111, 180, 63, 0);
    }

    20% {
        box-shadow: 0 0 0 8px rgba(111, 180, 63, .35);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(111, 180, 63, 0);
    }
}

/* ===== Follow-up suggestion chips =====
   Placed inside .cai-bubble-wrap so they sit below the bubble and share its width. */
.cai-suggestions {
    margin-top: .55rem;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    width: 100%;
}

.cai-suggestion-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .8rem;
    border: 1px solid rgba(111, 180, 63, .35);
    border-radius: 10px;
    background: rgba(111, 180, 63, .08);
    color: #166534;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    max-width: 100%;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.cai-suggestion-chip:hover {
    background: #6fb43f;
    border-color: #6fb43f;
    color: #fff;
    transform: translateY(-1px);
}

.cai-suggestion-chip svg {
    width: 12px;
    height: 12px;
}

/* ===== Error state with retry ===== */
.cai-msg-error .cai-avatar {
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.cai-msg-error .cai-bubble {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
}

.cai-retry {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .8rem;
    border: 1px solid #f97316;
    border-radius: 999px;
    background: #fff;
    color: #c2410c;
    font-size: .78rem;
    font-weight: 950;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.cai-retry:hover {
    background: #f97316;
    color: #fff;
}

.cai-retry svg {
    width: 13px;
    height: 13px;
}

/* ===== Send button loading state ===== */
.cai-send.is-loading {
    background: linear-gradient(135deg, #a8a39a, #6f6d68);
    box-shadow: 0 6px 14px rgba(38, 33, 97, .15);
    cursor: wait;
}

.cai-send.is-loading svg {
    animation: caiSpin 1s linear infinite;
}

@keyframes caiSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===== First-visit attention bounce on FAB ===== */
.cai-attention .cai-fab {
    animation: caiAttention 1.6s ease-in-out 3;
}

@keyframes caiAttention {

    0%,
    100% {
        transform: translateY(0);
    }

    15% {
        transform: translateY(-12px) scale(1.05);
    }

    30% {
        transform: translateY(0);
    }

    45% {
        transform: translateY(-6px) scale(1.02);
    }

    60% {
        transform: translateY(0);
    }
}

.cai-attention .cai-fab::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid #6fb43f;
    opacity: 0;
    animation: caiAttentionRing 1.6s ease-out 3;
}

@keyframes caiAttentionRing {
    0% {
        opacity: 1;
        transform: scale(.85);
    }

    100% {
        opacity: 0;
        transform: scale(1.45);
    }
}

/* ===== Colinas IA mobile ===== */
@media (max-width: 640px) {
    #colinasAi.cai-root {
        right: 1rem;
        /* Lift the FAB above the persistent mobile-actionbar (≈58px + .75rem) */
        bottom: calc(5.6rem + env(safe-area-inset-bottom));
    }

    .cai-fab {
        width: 56px;
        height: 56px;
        box-shadow: 0 16px 32px rgba(38, 33, 97, .35), 0 0 0 4px rgba(111, 180, 63, .14);
    }

    .cai-fab svg {
        width: 24px;
        height: 24px;
    }

    /* Full-screen panel takes over the viewport on mobile */
    .cai-root.is-open {
        inset: 0;
        right: 0;
        bottom: 0;
    }

    /* Hide the FAB when the panel is open on mobile — header X is the close action */
    .cai-root.is-open .cai-fab {
        display: none;
    }

    .cai-panel {
        position: fixed;
        inset: 0;
        bottom: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
        border: 0;
        transform: translateY(16px);
    }

    .cai-root.is-open .cai-panel {
        transform: translateY(0);
    }

    .cai-header {
        padding-top: calc(.95rem + env(safe-area-inset-top, 0px));
        padding-left: calc(1.1rem + env(safe-area-inset-left, 0px));
        padding-right: calc(1.1rem + env(safe-area-inset-right, 0px));
    }

    .cai-messages {
        padding: .95rem;
        padding-left: calc(.95rem + env(safe-area-inset-left, 0px));
        padding-right: calc(.95rem + env(safe-area-inset-right, 0px));
        gap: .75rem;
    }

    .cai-bubble {
        font-size: .94rem;
    }

    .cai-bubble-wrap {
        max-width: calc(100% - 38px);
    }

    .cai-msg-bot .cai-bubble {
        box-shadow: none;
    }

    .cai-copy {
        opacity: .55;
        transform: scale(1);
    }

    .cai-suggestions {
        gap: .35rem;
    }

    .cai-suggestion-chip {
        padding: .4rem .7rem;
        font-size: .76rem;
        border-radius: 9px;
    }

    .cai-quick {
        gap: .4rem;
        padding: 0 .95rem .75rem;
        padding-left: calc(.95rem + env(safe-area-inset-left, 0px));
        padding-right: calc(.95rem + env(safe-area-inset-right, 0px));
        max-height: 40vh;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .cai-quick::-webkit-scrollbar {
        display: none;
    }

    .cai-quick-chip {
        padding: .5rem .75rem;
        font-size: .76rem;
    }

    .cai-form {
        padding: .75rem .9rem calc(.85rem + env(safe-area-inset-bottom, 0px));
        padding-left: calc(.9rem + env(safe-area-inset-left, 0px));
        padding-right: calc(.9rem + env(safe-area-inset-right, 0px));
    }

    .cai-input {
        min-height: 46px;
        font-size: 16px;
        /* prevent iOS zoom on focus */
    }

    .cai-send {
        width: 46px;
        height: 46px;
    }

    .cai-footnote {
        padding: 0 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
        font-size: .66rem;
        line-height: 1.45;
    }
}


/* ====== Liderazgo Institucional ====== */
.leadership-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4rem, 6vw, 6rem) 0;
    color: #fff;
}

.leadership-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(70% 70% at 84% 8%, rgba(111, 180, 63, .28), transparent 60%),
        radial-gradient(60% 60% at 8% 92%, rgba(111, 180, 63, .12), transparent 60%),
        linear-gradient(135deg, #14123f 0%, #1c1856 45%, #262161 100%);
}

.leadership-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}

.leadership-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .leadership-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .leadership-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.leadership-head {
    max-width: 720px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.leadership-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    padding: .45rem 1rem;
    color: #fff;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.leadership-kicker svg {
    color: #b6f0a3;
}

.leadership-head h2 {
    margin-top: 1.1rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -.015em;
    color: #fff;
}

.leadership-head p {
    margin: 1rem auto 0;
    max-width: 620px;
    color: rgba(255, 255, 255, .78);
    font-size: 1rem;
    line-height: 1.7;
}

.leadership-feature {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.5rem, 2.8vw, 2rem);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .06) 100%);
    backdrop-filter: blur(16px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .15);
}

.leader-portrait {
    position: relative;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    flex-shrink: 0;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .15), transparent 60%),
        linear-gradient(135deg, #6fb43f, #5da334 60%, #262161);
    box-shadow:
        0 18px 36px rgba(111, 180, 63, .35),
        inset 0 0 0 6px rgba(255, 255, 255, .12);
}

.leader-initials {
    color: #fff;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 2.8rem;
    font-weight: 950;
    letter-spacing: -.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}

.leader-portrait-badge {
    position: absolute;
    bottom: 6px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    color: #6fb43f;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .25);
}

.leader-meta {
    min-width: 0;
}

.leader-role {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: rgba(111, 180, 63, .22);
    border: 1px solid rgba(111, 180, 63, .45);
    color: #d6f5c5;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.leader-meta h3 {
    margin-top: .85rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -.015em;
    color: #fff;
}

.leader-credentials {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .9rem;
    color: #d6f5c5;
    font-size: .88rem;
    font-weight: 850;
}

.leader-credentials svg {
    color: #b6f0a3;
    flex-shrink: 0;
}

.leader-bio {
    margin-top: .75rem;
    max-width: 540px;
    color: rgba(255, 255, 255, .76);
    font-size: .95rem;
    line-height: 1.65;
}

.leadership-bridge {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 720px;
    margin: clamp(2.5rem, 4vw, 3.25rem) auto clamp(1.75rem, 3vw, 2.25rem);
}

.bridge-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
}

.bridge-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.bridge-label svg {
    color: #b6f0a3;
}

.gerencias-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.gerencia-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 1.4rem 1.2rem 1.3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: linear-gradient(160deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .03) 100%);
    backdrop-filter: blur(10px);
    color: #fff;
    transition: transform .25s ease, border-color .25s ease;
}

.gerencia-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(111, 180, 63, .12), transparent 55%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.gerencia-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 180, 63, .55);
}

.gerencia-card:hover::before {
    opacity: 1;
}

.gerencia-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(111, 180, 63, .2);
    border: 1px solid rgba(111, 180, 63, .35);
    color: #b6f0a3;
}

.gerencia-card small {
    color: rgba(255, 255, 255, .58);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gerencia-card strong {
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 950;
    line-height: 1.2;
    color: #fff;
}

.gerencia-card p {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .7);
    font-size: .82rem;
    line-height: 1.55;
}

.board-strip {
    display: grid;
    grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    margin-top: clamp(2.25rem, 3vw, 3rem);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px);
}

.board-intro span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .65);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.board-intro span svg {
    color: #b6f0a3;
}

.board-intro strong {
    display: block;
    margin-top: .4rem;
    color: #fff;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

.board-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.board-members li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .92);
    font-size: .82rem;
    font-weight: 850;
}

.board-members li svg {
    color: #b6f0a3;
}

@media (max-width: 1180px) {
    .gerencias-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .leadership-feature {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .leader-portrait {
        width: 110px;
        height: 110px;
    }

    .leader-initials {
        font-size: 2.4rem;
    }

    .leader-role {
        align-self: center;
    }

    .leader-credentials {
        justify-content: center;
        flex-wrap: wrap;
    }

    .leader-bio {
        margin-left: auto;
        margin-right: auto;
    }

    .gerencias-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .board-strip {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .board-members {
        justify-content: flex-start;
    }
}

@media (max-width: 540px) {
    .gerencias-grid {
        grid-template-columns: 1fr;
    }

    .leadership-feature {
        padding: 1.4rem;
    }
}

/* ====== Premium CTA band (landing) ====== */
.cta-band {
    background: #fff;
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    border-radius: 24px;
    background: linear-gradient(135deg, #18154f 0%, #262161 55%, #2f2978 100%);
    padding: clamp(2rem, 4vw, 3.25rem);
    color: #fff;
    box-shadow: 0 36px 80px rgba(38, 33, 97, .28);
    isolation: isolate;
}

.cta-panel-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 60% at 92% 8%, rgba(111, 180, 63, .35), transparent 60%),
        radial-gradient(50% 50% at 6% 95%, rgba(111, 180, 63, .18), transparent 60%);
}

.cta-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    padding: .4rem .85rem;
    color: #fff;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.cta-panel-kicker svg {
    color: #b6f0a3;
}

.cta-panel h2 {
    margin-top: 1.1rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -.01em;
    color: #fff;
}

.cta-panel-copy p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, .82);
    line-height: 1.7;
    font-size: 1rem;
    max-width: 620px;
}

.cta-panel-points {
    margin-top: 1.4rem;
    display: grid;
    gap: .6rem;
}

.cta-panel-points li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255, 255, 255, .9);
    font-size: .9rem;
    font-weight: 750;
}

.cta-panel-points svg {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(111, 180, 63, .85);
    color: #fff;
    padding: 4px;
    flex-shrink: 0;
}

.cta-panel-actions {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.cta-panel-actions .btn-green {
    width: 100%;
    justify-content: center;
    min-height: 58px;
    font-size: .95rem;
    box-shadow: 0 18px 32px rgba(111, 180, 63, .35);
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
    padding: 1rem 1.15rem;
    color: #fff;
    transition: background .2s ease, border-color .2s ease;
}

.cta-phone:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .4);
}

.cta-phone-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(111, 180, 63, .85);
    color: #fff;
}

.cta-phone small {
    display: block;
    color: rgba(255, 255, 255, .65);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cta-phone strong {
    display: block;
    margin-top: .1rem;
    color: #fff;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.25rem;
    font-weight: 950;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: .9rem;
    font-weight: 950;
    transition: background .2s ease, border-color .2s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .42);
}

.cta-secondary svg {
    color: #b6f0a3;
}

/* ====== Featured doctors (landing) ====== */
.featured-doctors {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    padding: clamp(4rem, 6vw, 5.5rem) 0;
}

.featured-doctors-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.featured-doctors-head span {
    display: block;
    margin-top: .75rem;
    max-width: 560px;
    color: #6f6d68;
    line-height: 1.7;
}

.featured-doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.featured-doctor {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #ece5da;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(38, 33, 97, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.featured-doctor:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 180, 63, .55);
    box-shadow: 0 26px 48px rgba(38, 33, 97, .14);
}

.featured-doctor-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3eee6;
}

.featured-doctor-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s ease;
}

.featured-doctor:hover .featured-doctor-photo img {
    transform: scale(1.05);
}

.featured-doctor-photo::after {
    position: absolute;
    inset: auto 0 0;
    height: 60%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .55));
}

.featured-doctor-photo span {
    position: absolute;
    left: .9rem;
    bottom: .9rem;
    z-index: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    padding: .35rem .75rem;
    color: var(--navy);
    font-size: .72rem;
    font-weight: 950;
    box-shadow: 0 6px 14px rgba(38, 33, 97, .18);
}

.featured-doctor-body {
    padding: 1.1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-doctor-body h3 {
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1.22;
}

.featured-doctor-body h3 a {
    color: inherit;
}

.featured-doctor-body h3 a:hover {
    color: var(--green);
}

.featured-doctor-body p {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .55rem;
    color: #6f6d68;
    font-size: .8rem;
    font-weight: 750;
    line-height: 1.4;
}

.featured-doctor-body p svg {
    color: var(--green);
    flex-shrink: 0;
}

.featured-doctor-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 950;
    transition: color .2s ease, gap .2s ease;
}

.featured-doctor-link:hover {
    color: var(--green);
    gap: .65rem;
}

/* ====== Directory page (new UI) ====== */
.dir-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(120deg, rgba(24, 21, 79, .96) 0%, rgba(38, 33, 97, .82) 45%, rgba(38, 33, 97, .55) 100%),
        var(--dir-hero-bg) center 35% / cover no-repeat;
    color: #fff;
}

.dir-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        radial-gradient(60% 60% at 88% 18%, rgba(111, 180, 63, .25), transparent 60%),
        radial-gradient(40% 40% at 12% 92%, rgba(111, 180, 63, .14), transparent 60%);
}

.dir-hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 6rem) 1rem clamp(7rem, 11vw, 9rem);
}

@media (min-width: 640px) {
    .dir-hero-grid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .dir-hero-grid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.dir-hero-copy {
    max-width: 760px;
}

.dir-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    padding: .45rem .95rem;
    color: #fff;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.dir-hero-kicker svg {
    color: #b6f0a3;
}

.dir-hero-copy h1 {
    margin-top: 1.1rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.7rem, 5.4vw, 5.4rem);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -.015em;
}

.dir-hero-copy>p {
    margin-top: 1.15rem;
    max-width: 620px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.75;
}

.dir-hero-actions {
    margin-top: 1.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.dir-hero-stats {
    margin-top: 2.4rem;
    display: grid;
    max-width: 620px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.dir-hero-stats>div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .85rem;
    padding: 1.05rem 1.1rem;
}

.dir-hero-stats>div+div {
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.dir-hero-stats dt {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(111, 180, 63, .28);
    color: #d6f5c5;
}

.dir-hero-stats dd {
    margin: 0;
}

.dir-hero-stats strong {
    display: block;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
    color: #fff;
}

.dir-hero-stats small {
    display: block;
    margin-top: .2rem;
    color: rgba(255, 255, 255, .72);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.dir-hero .btn-outline-white {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}

.dir-search-stage {
    position: relative;
    z-index: 6;
    max-width: 1120px;
    margin: -5.5rem auto 0;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .dir-search-stage {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.dir-search-card {
    position: relative;
    border-radius: 18px;
    background: #fff;
    padding: clamp(1.25rem, 2.4vw, 1.8rem);
    box-shadow: 0 32px 70px rgba(38, 33, 97, .18);
    border: 1px solid #e5edf5;
}

.dir-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.dir-search-title {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
}

.dir-search-title>span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(111, 180, 63, .18), rgba(111, 180, 63, .06));
    color: var(--green);
}

.dir-search-title strong {
    display: block;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 950;
    line-height: 1.2;
}

.dir-search-title small {
    display: block;
    margin-top: .15rem;
    color: #6f6d68;
    font-size: .82rem;
    font-weight: 750;
}

.dir-result-count {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    background: #f4f0e9;
    padding: .45rem .85rem;
    color: var(--navy);
    font-size: .78rem;
    font-weight: 950;
}

.dir-result-count svg {
    color: var(--green);
}

.dir-search-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .5rem;
    margin-top: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: .35rem .35rem .35rem 1rem;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.dir-search-row:focus-within {
    border-color: var(--navy);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(38, 33, 97, .1);
}

.dir-search-row>svg {
    color: var(--navy);
}

.dir-search-row input {
    min-width: 0;
    min-height: 58px;
    background: transparent;
    color: #1c1a17;
    font-size: 1rem;
    font-weight: 750;
    outline: none;
}

.dir-search-clear {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(2, 6, 23, .06);
    color: var(--navy);
    transition: background .2s ease;
}

.dir-search-clear:hover {
    background: rgba(2, 6, 23, .12);
}

.dir-search-submit {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 48px;
    border-radius: 10px;
    background: var(--navy);
    padding: 0 1.2rem;
    color: #fff;
    font-size: .9rem;
    font-weight: 950;
    transition: background .2s ease, transform .2s ease;
}

.dir-search-submit:hover {
    background: var(--navy-2);
    transform: translateY(-1px);
}

.dir-live-panel {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    right: 0;
    z-index: 25;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #ece5da;
    background: #fff;
    box-shadow: 0 30px 60px rgba(38, 33, 97, .18);
}

.dir-live-head {
    padding: .9rem 1.2rem;
    border-bottom: 1px solid #f0ebe3;
    color: var(--navy);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dir-live-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 440px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dir-live-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.dir-live-result {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: .85rem 1.2rem;
    border-top: 1px solid #f4f0e9;
    color: var(--navy);
    transition: background .2s ease;
}

.dir-live-result:hover {
    background: #faf7f1;
}

.dir-live-result.is-hidden {
    display: none;
}

.dir-live-result img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center top;
    background: #f3eee6;
}

.dir-live-result strong {
    display: block;
    color: var(--navy);
    font-size: .95rem;
    font-weight: 950;
}

.dir-live-result small {
    display: block;
    margin-top: .2rem;
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 750;
}

.dir-live-result svg {
    color: var(--green);
}

.dir-section {
    padding: clamp(4rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
}

.dir-section-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .dir-section-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .dir-section-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.dir-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.dir-section-head h2 {
    margin-top: .55rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -.01em;
}

.dir-section-head span {
    display: block;
    margin-top: .65rem;
    max-width: 580px;
    color: #6f6d68;
    line-height: 1.65;
}

.dir-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.dir-filter-bar button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 42px;
    border: 1px solid #e5ddd1;
    border-radius: 999px;
    background: #fff;
    padding: 0 1.05rem;
    color: #403c36;
    font-size: .82rem;
    font-weight: 950;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.dir-filter-bar button:hover {
    border-color: var(--navy);
    color: var(--navy);
    transform: translateY(-1px);
}

.dir-filter-bar button.is-active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.dir-filter-bar button.is-active svg {
    color: #b6f0a3;
}

.dir-filter-bar button svg {
    color: var(--green);
}

.dir-doctor-grid {
    margin-top: 2.25rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.dir-doctor-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #ece5da;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(38, 33, 97, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.dir-doctor-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 180, 63, .55);
    box-shadow: 0 26px 48px rgba(38, 33, 97, .14);
}

.dir-doctor-card.is-hidden {
    display: none;
}

.dir-doctor-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3eee6;
}

.dir-doctor-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .45s ease;
}

.dir-doctor-card:hover .dir-doctor-photo img {
    transform: scale(1.05);
}

.dir-doctor-photo::after {
    position: absolute;
    inset: auto 0 0;
    height: 56%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .55));
}

.dir-doctor-tag {
    position: absolute;
    left: .85rem;
    bottom: .85rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    padding: .35rem .7rem;
    color: var(--navy);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .02em;
    box-shadow: 0 6px 14px rgba(38, 33, 97, .18);
}

.dir-doctor-body {
    flex: 1;
    padding: 1.1rem 1.15rem .8rem;
}

.dir-doctor-body h3 {
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.08rem;
    font-weight: 950;
    line-height: 1.2;
}

.dir-doctor-body h3 a {
    color: inherit;
}

.dir-doctor-body h3 a:hover {
    color: var(--green);
}

.dir-doctor-office,
.dir-doctor-schedule {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .55rem;
    color: #6f6d68;
    font-size: .78rem;
    font-weight: 750;
    line-height: 1.3;
}

.dir-doctor-office svg,
.dir-doctor-schedule svg {
    color: var(--green);
    flex-shrink: 0;
}

.dir-doctor-actions {
    display: grid;
    grid-template-columns: 1fr 48px;
    border-top: 1px solid #f0ebe3;
}

.dir-action-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 50px;
    color: var(--navy);
    font-size: .85rem;
    font-weight: 950;
    transition: background .2s ease;
}

.dir-action-primary:hover {
    background: #faf7f1;
}

.dir-action-secondary {
    display: grid;
    place-items: center;
    border-left: 1px solid #f0ebe3;
    color: var(--green);
    transition: background .2s ease, color .2s ease;
}

.dir-action-secondary:hover {
    background: var(--green);
    color: #fff;
}

.dir-doctor-empty {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border: 1px dashed #d8d0c2;
    border-radius: 12px;
    background: #f8fafc;
    padding: 1.4rem;
    color: #6f6d68;
    font-weight: 850;
}

.dir-doctor-empty svg {
    color: #a8a39a;
}

.dir-value-band {
    background: linear-gradient(180deg, #f7f3ec 0%, #fff 100%);
    padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.dir-value-shell {
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .dir-value-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .dir-value-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.dir-value-shell article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    border: 1px solid #ece5da;
    border-radius: 16px;
    background: #fff;
    padding: 1.3rem;
    box-shadow: 0 12px 28px rgba(38, 33, 97, .06);
}

.dir-value-shell span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(38, 33, 97, .08);
    color: var(--navy);
}

.dir-value-shell article:hover span {
    background: var(--green);
    color: #fff;
}

.dir-value-shell strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 950;
}

.dir-value-shell small {
    display: block;
    margin-top: .25rem;
    color: #6f6d68;
    font-size: .82rem;
    font-weight: 750;
    line-height: 1.5;
}

.dir-location {
    padding: clamp(3rem, 5vw, 5rem) 0 clamp(4rem, 6vw, 6rem);
}

.dir-location-shell {
    display: grid;
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 1.5rem;
    align-items: stretch;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .dir-location-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .dir-location-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.dir-location-info {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: var(--navy);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    color: #fff;
    box-shadow: 0 24px 50px rgba(38, 33, 97, .25);
}

.dir-location-info img {
    width: 180px;
    background: #fff;
    border-radius: 12px;
    padding: .55rem .75rem;
    box-shadow: 0 12px 24px rgba(2, 6, 23, .22);
}

.dir-location-info h2 {
    margin-top: 1.25rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 950;
    line-height: 1.1;
}

.dir-location-info p {
    margin-top: .85rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.65;
}

.dir-location-info ul {
    margin-top: 1.5rem;
    display: grid;
    gap: .75rem;
}

.dir-location-info li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255, 255, 255, .92);
    font-size: .9rem;
    font-weight: 750;
}

.dir-location-info li a {
    color: #fff;
}

.dir-location-info li a:hover {
    color: #b6f0a3;
}

.dir-location-info li svg {
    color: #b6f0a3;
    flex-shrink: 0;
}

.dir-location-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.dir-location-actions .btn-outline {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.dir-location-actions .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .16);
}

.dir-location-shell iframe {
    width: 100%;
    min-height: 420px;
    height: 100%;
    border: 0;
    border-radius: 18px;
    background: #efe9e0;
    box-shadow: 0 16px 40px rgba(38, 33, 97, .12);
}

/* ====== Doctor profile (new UI) ====== */
.profile-shell {
    background: #f7f3ec;
    min-height: 100vh;
}

.profile-topbar {
    background: #fff;
    border-bottom: 1px solid #e5edf5;
}

.profile-topbar-inner {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .profile-topbar-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .profile-topbar-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.profile-topbar nav {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.profile-topbar nav a,
.profile-topbar nav button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 42px;
    border-radius: 10px;
    padding: 0 .95rem;
    color: var(--navy);
    font-size: .85rem;
    font-weight: 900;
    transition: background .2s ease, color .2s ease;
}

.profile-topbar nav a:hover {
    background: #f4f0e9;
    color: var(--navy);
}

.profile-topbar nav .profile-cta {
    background: var(--green);
    color: #fff;
    box-shadow: 0 10px 22px rgba(111, 180, 63, .25);
}

.profile-topbar nav .profile-cta:hover {
    background: var(--green-2);
    color: #fff;
}

.profile-crumbs {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1rem .5rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #6f6d68;
    font-size: .82rem;
    font-weight: 850;
}

@media (min-width: 640px) {
    .profile-crumbs {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .profile-crumbs {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.profile-crumbs a {
    color: var(--navy);
}

.profile-crumbs a:hover {
    color: var(--green);
}

.profile-crumbs span {
    color: #a8a39a;
}

.profile-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1rem clamp(2rem, 4vw, 3rem);
}

@media (min-width: 640px) {
    .profile-hero {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .profile-hero {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.profile-hero-card {
    display: grid;
    grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #ece5da;
    box-shadow: 0 30px 70px rgba(38, 33, 97, .12);
}

.profile-portrait {
    position: relative;
    min-height: 420px;
    background: linear-gradient(135deg, #f3eee6, #e6ded2);
}

.profile-portrait img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-portrait::after {
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .25));
    pointer-events: none;
}

.profile-portrait-badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    padding: .4rem .8rem;
    color: var(--navy);
    font-size: .74rem;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(38, 33, 97, .18);
}

.profile-portrait-badge svg {
    color: var(--green);
}

.profile-identity {
    padding: clamp(1.75rem, 3vw, 2.4rem);
    display: flex;
    flex-direction: column;
}

.profile-specialty-pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: .4rem;
    border-radius: 999px;
    background: rgba(111, 180, 63, .12);
    padding: .35rem .8rem;
    color: var(--green);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.profile-identity h1 {
    margin-top: 1rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -.015em;
}

.profile-identity>p {
    margin-top: 1.1rem;
    color: #57534c;
    font-size: 1rem;
    line-height: 1.7;
}

.profile-quick-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.profile-quick-actions .btn {
    min-height: 50px;
}

.profile-quick-actions .btn-ghost {
    border: 1px solid #e5ddd1;
    background: #fff;
    color: var(--navy);
}

.profile-quick-actions .btn-ghost:hover {
    border-color: var(--navy);
    background: #faf7f1;
}

.profile-meta-strip {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #ece5da;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(38, 33, 97, .06);
}

.profile-meta-strip>div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .8rem;
    padding: 1.05rem 1.15rem;
}

.profile-meta-strip>div+div {
    border-left: 1px solid #f0ebe3;
}

.profile-meta-strip span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(38, 33, 97, .08);
    color: var(--navy);
}

.profile-meta-strip small {
    display: block;
    color: #a8a39a;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.profile-meta-strip strong {
    display: block;
    margin-top: .15rem;
    color: var(--navy);
    font-size: .92rem;
    font-weight: 900;
    word-break: break-word;
}

.profile-meta-strip a {
    color: var(--navy);
}

.profile-meta-strip a:hover {
    color: var(--green);
}

.profile-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem clamp(4rem, 6vw, 6rem);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 640px) {
    .profile-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .profile-body {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.profile-card {
    border: 1px solid #ece5da;
    border-radius: 18px;
    background: #fff;
    padding: clamp(1.4rem, 2.4vw, 2rem);
    box-shadow: 0 14px 32px rgba(38, 33, 97, .06);
}

.profile-card+.profile-card {
    margin-top: 1.25rem;
}

.profile-card h2 {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1.2;
}

.profile-card h2 svg {
    color: var(--green);
}

.profile-card p {
    margin-top: 1rem;
    color: #57534c;
    line-height: 1.75;
    font-size: .96rem;
}

.profile-card .profile-card-lead {
    display: block;
    margin-top: .5rem;
    color: #1c1a17;
    font-weight: 900;
    font-size: 1rem;
}

.profile-associations {
    margin-top: 1.2rem;
    display: grid;
    gap: .65rem;
}

.profile-associations p {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 0;
    padding: .85rem 1rem;
    border: 1px solid #f0ebe3;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--navy);
    font-size: .92rem;
    font-weight: 900;
    line-height: 1.4;
}

.profile-associations p svg {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    padding: 7px;
}

.profile-aside {
    display: grid;
    gap: 1.25rem;
    align-self: start;
}

.profile-info-card {
    border: 1px solid #ece5da;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(38, 33, 97, .06);
}

.profile-info-card h3 {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid #f0ebe3;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 950;
}

.profile-info-card h3 svg {
    color: var(--green);
}

.profile-info-card dl {
    display: grid;
}

.profile-info-card dl div {
    padding: 1rem 1.4rem;
    border-bottom: 1px solid #f4f0e9;
}

.profile-info-card dl div:last-child {
    border-bottom: 0;
}

.profile-info-card dt {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #a8a39a;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.profile-info-card dt svg {
    color: var(--green);
}

.profile-info-card dd {
    margin: .4rem 0 0;
    color: var(--navy);
    font-size: .94rem;
    font-weight: 850;
    line-height: 1.5;
    word-break: break-word;
}

.profile-info-card dd a {
    color: var(--navy);
}

.profile-info-card dd a:hover {
    color: var(--green);
}

.profile-cta-card {
    border-radius: 18px;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    padding: clamp(1.5rem, 2.4vw, 1.85rem);
    color: #fff;
    box-shadow: 0 24px 48px rgba(38, 33, 97, .25);
}

.profile-cta-card span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    padding: .35rem .75rem;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.profile-cta-card span svg {
    color: #b6f0a3;
}

.profile-cta-card h3 {
    margin-top: 1rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1.15;
}

.profile-cta-card p {
    margin-top: .65rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.65;
    font-size: .9rem;
}

.profile-cta-card .btn {
    margin-top: 1.25rem;
    width: 100%;
    justify-content: center;
}

.profile-back {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin: 2.5rem auto 0;
    padding: .9rem 1.6rem;
    border: 1px solid #e5ddd1;
    border-radius: 999px;
    color: var(--navy);
    font-weight: 950;
    background: #fff;
    transition: background .2s ease, transform .2s ease;
}

.profile-back:hover {
    background: #f4f0e9;
    transform: translateX(-2px);
}

.profile-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) 1rem;
    text-align: center;
}

.profile-empty h1 {
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 950;
}

.profile-empty p {
    margin-top: 1rem;
    color: #6f6d68;
    line-height: 1.7;
}

.profile-empty .btn {
    margin-top: 2rem;
}

@media (max-width: 1180px) {
    .featured-doctors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-panel {
        grid-template-columns: 1fr;
    }

    .dir-doctor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .profile-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-meta-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-meta-strip>div:nth-child(2n) {
        border-left: 1px solid #f0ebe3;
    }

    .profile-meta-strip>div:nth-child(2n+1) {
        border-left: 0;
    }
}

@media (max-width: 900px) {
    .dir-hero-stats {
        grid-template-columns: 1fr;
    }

    .dir-hero-stats>div+div {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .dir-search-stage {
        margin-top: -4.5rem;
    }

    .dir-live-grid {
        grid-template-columns: 1fr;
    }

    .dir-doctor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dir-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dir-filter-bar {
        justify-content: flex-start;
    }

    .dir-value-shell {
        grid-template-columns: 1fr;
    }

    .dir-location-shell {
        grid-template-columns: 1fr;
    }

    .dir-location-shell iframe {
        min-height: 320px;
    }

    .profile-hero-card {
        grid-template-columns: 1fr;
    }

    .profile-portrait {
        min-height: 360px;
    }

    .profile-meta-strip {
        grid-template-columns: 1fr;
    }

    .profile-meta-strip>div+div {
        border-left: 0;
        border-top: 1px solid #f0ebe3;
    }
}

@media (max-width: 640px) {
    .featured-doctors-grid {
        grid-template-columns: 1fr;
    }

    .featured-doctors-head {
        align-items: start;
        flex-direction: column;
    }

    .cta-panel {
        padding: 1.65rem;
        border-radius: 18px;
    }

    .cta-panel h2 {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
    }

    .dir-hero-grid {
        padding-top: 3rem;
        padding-bottom: 7.5rem;
    }

    .dir-hero-copy h1 {
        font-size: clamp(2.3rem, 12vw, 3.4rem);
    }

    .dir-hero-actions .btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
    }

    .dir-search-card {
        padding: 1.1rem;
    }

    .dir-search-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dir-search-row {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        padding-left: .75rem;
        gap: .35rem;
    }

    .dir-search-row>svg {
        width: 1rem;
        height: 1rem;
    }

    .dir-search-row input {
        min-height: 52px;
        font-size: .94rem;
    }

    .dir-search-submit {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 50px;
    }

    .dir-search-clear {
        width: 38px;
        height: 38px;
    }

    .dir-doctor-grid {
        grid-template-columns: 1fr;
    }

    .dir-doctor-photo {
        aspect-ratio: 16 / 11;
    }

    .profile-topbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: .85rem;
    }

    .profile-topbar nav {
        justify-content: center;
    }

    .profile-crumbs {
        font-size: .76rem;
    }

    .profile-identity h1 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    .profile-quick-actions .btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
    }

    .profile-back {
        width: 100%;
    }
}
/* ============================================================
   CALM PREMIUM CLINICAL — polish layer
   reveal motion · press feedback · softened card depth
   Added by redesign pass. Remove this block to revert these.
   ============================================================ */

/* Physical press feedback */
.btn:active { transform: translateY(1px) scale(.99); }
.task-card:active,
.doctor-card:active,
.news-card:active,
.guide-link:active,
.directory-card:active,
.hero-assist-item:active { transform: scale(.994); }

/* Calmer, softer card radii */
.doctor-card,
.journey-card,
.directory-card { border-radius: 18px; }

/* Scroll reveal — only active once JS adds .reveal-on (progressive enhancement) */
.reveal-on .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s cubic-bezier(.16, .84, .44, 1),
                transform .7s cubic-bezier(.16, .84, .44, 1);
}

.reveal-on .reveal.is-inview {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* ==========================================================================
   REPOSITORIO DIGITAL — biblioteca de protocolos clínicos
   ========================================================================== */

/* app.css carga después de tailwind.generated.css: sin esto, los display
   propios de .repo-* pisarían la utilidad .hidden que usa el filtrado JS. */
.repo-row.hidden,
.repo-reset.hidden,
.repo-search-clear.hidden,
.repo-empty.hidden {
    display: none;
}

.repo-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ——— Hero: lámina navy de biblioteca ——— */
.repo-hero {
    position: relative;
    overflow: clip;
    background:
        radial-gradient(1200px 540px at 86% -10%, rgba(111, 180, 63, .16), transparent 60%),
        radial-gradient(900px 480px at -10% 110%, rgba(255, 255, 255, .07), transparent 55%),
        linear-gradient(160deg, var(--navy) 0%, #1d1856 55%, var(--navy-2) 100%);
    color: #fff;
}

.repo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(720px 420px at 78% 36%, rgba(0, 0, 0, .8), transparent 72%);
    -webkit-mask-image: radial-gradient(720px 420px at 78% 36%, rgba(0, 0, 0, .8), transparent 72%);
}

.repo-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: clamp(2.2rem, 5vw, 3.6rem);
    padding-bottom: clamp(2.6rem, 6vw, 4.4rem);
}

.repo-breadcrumb a {
    color: rgba(255, 255, 255, .72);
}

.repo-breadcrumb a:hover {
    color: #fff;
}

.repo-breadcrumb span {
    color: rgba(255, 255, 255, .92);
}

.repo-breadcrumb svg {
    color: rgba(255, 255, 255, .45);
}

.repo-hero-grid {
    display: grid;
    align-items: end;
    gap: clamp(1.8rem, 4vw, 3.4rem);
    margin-top: clamp(1.4rem, 3vw, 2.4rem);
}

@media (min-width: 1024px) {
    .repo-hero-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(280px, .9fr);
    }
}

.repo-hero-copy h1 {
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.7rem, 6.4vw, 4.9rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.028em;
    text-wrap: balance;
}

.repo-hero-lead {
    margin-top: 1.15rem;
    max-width: 56ch;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    font-weight: 500;
    line-height: 1.75;
}

/* Buscador principal */
.repo-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 1.9rem;
    max-width: 620px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(10, 8, 40, .4);
}

.repo-search:focus-within {
    outline: 3px solid rgba(111, 180, 63, .55);
    outline-offset: 2px;
}

.repo-search-icon {
    position: absolute;
    left: 1.1rem;
    color: var(--navy);
    pointer-events: none;
}

.repo-search input {
    width: 100%;
    border: 0;
    border-radius: 16px;
    background: transparent;
    padding: 1.18rem 5.4rem 1.18rem 3.2rem;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 600;
}

.repo-search input::placeholder {
    color: #5a6372;
    font-weight: 500;
}

.repo-search input:focus {
    outline: none;
}

.repo-search input::-webkit-search-cancel-button {
    display: none;
}

.repo-search-clear {
    position: absolute;
    right: 3.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--warm);
    color: var(--navy);
    transition: background .2s ease;
}

.repo-search-clear:hover {
    background: var(--warm-line);
}

.repo-search-kbd {
    position: absolute;
    right: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border: 1px solid var(--warm-line);
    border-radius: 8px;
    background: var(--canvas);
    color: var(--gray);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 800;
}

@media (hover: none) {
    .repo-search-kbd {
        display: none;
    }

    .repo-search-clear {
        right: 1.05rem;
    }
}

.repo-hero-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: 1.15rem;
    font-size: .86rem;
}

.repo-hero-chips>span {
    color: rgba(255, 255, 255, .62);
    font-weight: 700;
}

.repo-hero-chips button {
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    padding: .38rem .85rem;
    color: rgba(255, 255, 255, .92);
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.repo-hero-chips button:hover {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .1);
    transform: translateY(-1px);
}

/* Panel de datos del hero */
.repo-hero-panel {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    background: rgba(255, 255, 255, .06);
    padding: 1.5rem 1.6rem 1.6rem;
}

.repo-hero-stat strong {
    display: block;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}

.repo-hero-stat span {
    display: block;
    margin-top: .35rem;
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
    font-weight: 600;
}

.repo-hero-facts {
    margin-top: 1.25rem;
    display: grid;
    gap: .7rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 1.25rem;
}

.repo-hero-facts li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255, 255, 255, .88);
    font-size: .92rem;
    font-weight: 600;
}

.repo-hero-facts svg {
    flex-shrink: 0;
    color: var(--green);
}

/* ——— Barra de filtros ——— */
.repo-toolbar {
    position: sticky;
    top: 151px;
    z-index: 40;
    border-bottom: 1px solid var(--warm-line);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
}

.repo-toolbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.1rem;
    padding-top: .8rem;
    padding-bottom: .8rem;
}

.repo-scope {
    display: inline-flex;
    border: 1px solid var(--warm-line);
    border-radius: 12px;
    background: var(--warm);
    padding: .25rem;
}

.repo-scope button {
    border-radius: 9px;
    padding: .5rem .95rem;
    color: #4d4b46;
    font-size: .85rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.repo-scope button[aria-pressed="true"] {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 8px 18px rgba(38, 33, 97, .24);
}

.repo-toolbar-selects {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
}

.repo-toolbar-selects select {
    border: 1px solid var(--warm-line);
    border-radius: 10px;
    background: #fff;
    padding: .55rem 2rem .55rem .8rem;
    color: var(--ink-2);
    font-size: .85rem;
    font-weight: 700;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23262161' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .6rem center;
    cursor: pointer;
}

.repo-toolbar-selects select:focus-visible,
.repo-scope button:focus-visible,
.repo-hero-chips button:focus-visible,
.repo-cat-list button:focus-visible {
    outline: 3px solid rgba(111, 180, 63, .55);
    outline-offset: 2px;
}

.repo-reset {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 10px;
    padding: .55rem .8rem;
    color: #9a3412;
    font-size: .82rem;
    font-weight: 800;
    transition: background .2s ease;
}

.repo-reset:hover {
    background: #fff3eb;
}

.repo-count {
    margin-left: auto;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ——— Cuerpo: aside + resultados ——— */
.repo-body {
    padding-top: clamp(1.8rem, 3.5vw, 2.8rem);
    padding-bottom: clamp(2.4rem, 5vw, 4rem);
}

.repo-shell {
    display: grid;
    gap: clamp(1.4rem, 3vw, 2.6rem);
    align-items: start;
}

@media (min-width: 1024px) {
    .repo-shell {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .repo-aside {
        position: sticky;
        top: 226px;
    }
}

.repo-aside h2 {
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
}

.repo-cat-list {
    display: grid;
    gap: .3rem;
    margin-top: .9rem;
}

.repo-cat-list button {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    border-radius: 12px;
    padding: .62rem .75rem;
    color: #4d4b46;
    font-size: .89rem;
    font-weight: 700;
    text-align: left;
    transition: background .18s ease, color .18s ease;
}

.repo-cat-list button svg {
    flex-shrink: 0;
    color: var(--gray);
    transition: color .18s ease;
}

.repo-cat-list button span {
    flex: 1;
    min-width: 0;
}

.repo-cat-list button em {
    font-style: normal;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.repo-cat-list button:hover {
    background: var(--warm);
    color: var(--navy);
}

.repo-cat-list button[aria-pressed="true"] {
    background: var(--navy);
    color: #fff;
}

.repo-cat-list button[aria-pressed="true"] svg,
.repo-cat-list button[aria-pressed="true"] em {
    color: rgba(255, 255, 255, .85);
}

.repo-aside-note {
    display: flex;
    gap: .8rem;
    margin-top: 1.6rem;
    border: 1px solid var(--warm-line);
    border-radius: 14px;
    background: var(--warm);
    padding: 1rem 1.05rem;
}

.repo-aside-note svg {
    flex-shrink: 0;
    margin-top: .1rem;
    color: var(--green-2);
}

.repo-aside-note p {
    color: #54524c;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.6;
}

/* Filas tipo catálogo de biblioteca */
.repo-list {
    display: grid;
    gap: .75rem;
}

.repo-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.05rem;
    border: 1px solid var(--warm-line);
    border-radius: 16px;
    background: var(--paper);
    padding: 1.15rem 1.2rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.repo-row:hover {
    border-color: rgba(38, 33, 97, .35);
    box-shadow: 0 18px 40px rgba(38, 33, 97, .09);
    transform: translateY(-2px);
}

.repo-row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(38, 33, 97, .07);
    color: var(--navy);
}

[data-scope="internacional"] .repo-row-icon {
    background: rgba(111, 180, 63, .14);
    color: var(--green-2);
}

.repo-row-main {
    flex: 1;
    min-width: 0;
}

.repo-row-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
}

.repo-org {
    color: var(--green-2);
    letter-spacing: .02em;
}

.repo-lang {
    border: 1px solid var(--warm-line);
    border-radius: 6px;
    padding: .08rem .4rem;
    font-size: .68rem;
    letter-spacing: .05em;
}

.repo-key {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border-radius: 999px;
    background: rgba(111, 180, 63, .14);
    padding: .14rem .55rem;
    color: #3d7417;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.repo-row h3 {
    margin-top: .4rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.repo-row h3 a {
    color: var(--navy);
}

.repo-row h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
}

.repo-row h3 a:focus-visible {
    outline: none;
}

.repo-row h3 a:focus-visible::after {
    outline: 3px solid rgba(111, 180, 63, .55);
    outline-offset: 2px;
}

.repo-row-summary {
    margin-top: .4rem;
    max-width: 72ch;
    color: #4f4d48;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.65;
}

.repo-row-action {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    align-self: center;
    flex-shrink: 0;
    border: 1px solid var(--warm-line);
    border-radius: 999px;
    padding: .5rem .95rem;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 900;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.repo-row:hover .repo-row-action {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

/* Entrada escalonada de las primeras filas */
@media (prefers-reduced-motion: no-preference) {
    .repo-row {
        animation: repoRowIn .55s cubic-bezier(.16, .84, .44, 1) backwards;
    }

    .repo-row:nth-child(1) {
        animation-delay: .05s;
    }

    .repo-row:nth-child(2) {
        animation-delay: .1s;
    }

    .repo-row:nth-child(3) {
        animation-delay: .15s;
    }

    .repo-row:nth-child(4) {
        animation-delay: .2s;
    }

    .repo-row:nth-child(5) {
        animation-delay: .25s;
    }

    .repo-row:nth-child(6) {
        animation-delay: .3s;
    }

    .repo-row:nth-child(n+7) {
        animation-delay: .34s;
    }
}

@keyframes repoRowIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Mostrar más (paginación incremental del cliente) */
.repo-more {
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
}

.repo-more.hidden {
    display: none;
}

.repo-more button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--warm-line);
    border-radius: 999px;
    background: #fff;
    padding: .8rem 1.5rem;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 900;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.repo-more button:hover {
    border-color: var(--navy);
    box-shadow: 0 12px 28px rgba(38, 33, 97, .1);
    transform: translateY(-1px);
}

/* Estado vacío */
.repo-empty {
    display: grid;
    justify-items: center;
    gap: .6rem;
    border: 1px dashed var(--warm-line);
    border-radius: 18px;
    background: var(--canvas);
    padding: 3rem 1.5rem;
    text-align: center;
}

.repo-empty svg {
    color: var(--gray);
}

.repo-empty h3 {
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
}

.repo-empty p {
    max-width: 46ch;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.65;
}

.repo-empty .btn {
    margin-top: .6rem;
}

/* ——— Fuentes para investigar ——— */
.repo-research {
    border-top: 1px solid var(--warm-line);
    background: var(--warm);
    padding: clamp(2.6rem, 5vw, 4.2rem) 0;
}

.repo-research-head h2 {
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.018em;
}

.repo-research-head p {
    margin-top: .6rem;
    max-width: 62ch;
    color: #54524c;
    font-size: .98rem;
    font-weight: 500;
    line-height: 1.7;
}

.repo-research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: .9rem;
    margin-top: 1.8rem;
}

.repo-research-grid a {
    display: block;
    height: 100%;
    border: 1px solid var(--warm-line);
    border-radius: 16px;
    background: #fff;
    padding: 1.25rem 1.3rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.repo-research-grid a:hover {
    border-color: rgba(38, 33, 97, .3);
    box-shadow: 0 16px 36px rgba(38, 33, 97, .08);
    transform: translateY(-2px);
}

.repo-research-grid a>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(38, 33, 97, .07);
    color: var(--navy);
}

.repo-research-grid strong {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: .85rem;
    color: var(--navy);
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
}

.repo-research-grid strong svg {
    color: var(--green-2);
    transition: transform .2s ease;
}

.repo-research-grid a:hover strong svg {
    transform: translate(2px, -2px);
}

.repo-research-grid p {
    margin-top: .45rem;
    color: #55534d;
    font-size: .86rem;
    font-weight: 500;
    line-height: 1.6;
}

/* ——— Cierre: aviso + solicitud ——— */
.repo-footer-band {
    padding: clamp(2.2rem, 4.5vw, 3.6rem) 0;
}

.repo-disclaimer {
    display: flex;
    gap: .85rem;
    border: 1px solid #f3d9b7;
    border-radius: 14px;
    background: #fdf6ec;
    padding: 1.05rem 1.2rem;
}

.repo-disclaimer svg {
    flex-shrink: 0;
    margin-top: .15rem;
    color: #b45309;
}

.repo-disclaimer p {
    color: #6b4d1f;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.65;
}

.repo-disclaimer strong {
    color: #92400e;
    font-weight: 800;
}

.repo-request {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    margin-top: 1.4rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--navy), #1d1856);
    padding: clamp(1.6rem, 3.4vw, 2.4rem) clamp(1.4rem, 3.4vw, 2.6rem);
    color: #fff;
}

.repo-request h2 {
    font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.015em;
}

.repo-request p {
    margin-top: .45rem;
    max-width: 52ch;
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.65;
}

/* ——— Responsive ——— */
@media (max-width: 1023px) {
    .repo-hero-panel {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem 2rem;
    }

    .repo-hero-facts {
        margin-top: 0;
        border-top: 0;
        padding-top: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex: 1;
        min-width: 260px;
    }
}

@media (max-width: 767px) {
    .repo-toolbar-inner {
        gap: .6rem;
    }

    .repo-scope {
        width: 100%;
    }

    .repo-scope button {
        flex: 1;
        padding: .5rem .3rem;
        font-size: .74rem;
        text-align: center;
        letter-spacing: -.01em;
    }

    .repo-count {
        margin-left: 0;
    }

    .repo-cat-list {
        display: flex;
        gap: .45rem;
        overflow-x: auto;
        margin-left: -1rem;
        margin-right: -1rem;
        padding: .25rem 1rem .6rem;
        scrollbar-width: none;
    }

    .repo-cat-list::-webkit-scrollbar {
        display: none;
    }

    .repo-cat-list button {
        width: auto;
        flex-shrink: 0;
        border: 1px solid var(--warm-line);
        background: #fff;
        border-radius: 999px;
        padding: .5rem .85rem;
        font-size: .82rem;
    }

    .repo-cat-list button em {
        font-size: .72rem;
    }

    .repo-aside-note {
        display: none;
    }

    .repo-row {
        flex-wrap: wrap;
        gap: .8rem;
        padding: 1rem;
    }

    .repo-row-icon {
        width: 40px;
        height: 40px;
    }

    .repo-row-main {
        flex-basis: calc(100% - 56px);
    }

    .repo-row h3 {
        font-size: 1rem;
    }

    .repo-row-action {
        margin-left: 56px;
        align-self: flex-start;
    }

    .repo-hero-facts {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Seguros aceptados / Aseguradoras (marquee premium)
   ============================================================ */
.insurers-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.5rem, 6vw, 5.75rem) 0;
    background:
        radial-gradient(120% 100% at 50% -20%, rgba(38, 33, 97, .06), transparent 60%),
        linear-gradient(180deg, var(--paper) 0%, var(--ice) 100%);
    border-top: 1px solid var(--warm-line);
    border-bottom: 1px solid var(--warm-line);
}

.insurers-orb {
    position: absolute;
    z-index: -1;
    top: -180px;
    left: 50%;
    width: 620px;
    height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(111, 180, 63, .14), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
}

.insurers-head {
    max-width: 46rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.insurers-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    border: 1px solid rgba(38, 33, 97, .14);
    background: rgba(255, 255, 255, .8);
    padding: .5rem 1.05rem;
    color: var(--navy);
    font-family: "Outfit", Inter, sans-serif;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(38, 33, 97, .08);
}

.insurers-kicker i {
    color: var(--green);
}

.insurers-head h2 {
    margin: 1.1rem 0 .85rem;
    font-family: "Outfit", "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--navy);
    font-size: clamp(1.85rem, 4vw, 2.85rem);
}

.insurers-head p {
    margin: 0 auto;
    max-width: 38rem;
    color: var(--muted);
    font-size: clamp(.98rem, 1.4vw, 1.08rem);
    line-height: 1.65;
}

.insurers-head a {
    color: var(--green-2);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid rgba(111, 180, 63, .35);
    transition: border-color .2s ease, color .2s ease;
}

.insurers-head a:hover {
    color: var(--green);
    border-color: var(--green);
}

/* Marquee shell with edge fades */
.insurers-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.insurers-track {
    display: flex;
    width: max-content;
    gap: 1.25rem;
    padding: 1rem .25rem;
    animation: insurersScroll 34s linear infinite;
    will-change: transform;
}

.insurers-marquee:hover .insurers-track {
    animation-play-state: paused;
}

@keyframes insurersScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

.insurer-card {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: clamp(180px, 22vw, 248px);
    height: clamp(112px, 14vw, 138px);
    padding: 1.25rem 1.6rem;
    overflow: hidden;
    border-radius: 20px;
    background: var(--paper);
    border: 1px solid var(--warm-line);
    box-shadow: 0 12px 30px rgba(38, 33, 97, .07);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

.insurer-card img {
    max-width: 100%;
    max-height: clamp(64px, 9vw, 88px);
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .35s ease;
}

.insurer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(111, 180, 63, .5);
    box-shadow: 0 22px 48px rgba(38, 33, 97, .14);
}

.insurer-card:hover img {
    transform: scale(1.04);
}

/* Footer trust strip */
.insurers-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.4rem;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
}

.insurers-foot span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.insurers-foot i {
    color: var(--green);
}

.insurers-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--warm-line);
}

.insurers-dot:last-of-type {
    display: none;
}

.insurers-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}

.insurers-link:hover {
    color: var(--green-2);
    gap: .7rem;
}

@media (max-width: 640px) {
    .insurers-foot {
        flex-direction: column;
        gap: .75rem;
    }
    .insurers-dot {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .insurers-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .insurers-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .insurer-card[aria-hidden="true"] {
        display: none;
    }
}
