/* Static Clinica Sante marketing shell. Loaded after the portal theme.
   Scalable dimensions use relative units. Device-pixel borders, focus rings,
   the visually-hidden utility and Bootstrap-aligned breakpoints remain in px. */
@font-face {
    font-family: "Clinica Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02ff, U+1e00-1eff, U+2020, U+20a0-20ab, U+2113, U+2c60-2c7f, U+a720-a7ff;
}

@font-face {
    font-family: "Clinica Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}

@font-face {
    font-family: "Clinica Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/poppins-400-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02ff, U+1e00-1eff, U+2020, U+20a0-20ab, U+2113, U+2c60-2c7f, U+a720-a7ff;
}

@font-face {
    font-family: "Clinica Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/poppins-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}

@font-face {
    font-family: "Clinica Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/poppins-600-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02ff, U+1e00-1eff, U+2020, U+20a0-20ab, U+2113, U+2c60-2c7f, U+a720-a7ff;
}

@font-face {
    font-family: "Clinica Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/poppins-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}

@font-face {
    font-family: "Clinica Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/poppins-700-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02ff, U+1e00-1eff, U+2020, U+20a0-20ab, U+2113, U+2c60-2c7f, U+a720-a7ff;
}

@font-face {
    font-family: "Clinica Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/poppins-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}

@font-face {
    font-family: "Clinica Poppins";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/poppins-800-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02ff, U+1e00-1eff, U+2020, U+20a0-20ab, U+2113, U+2c60-2c7f, U+a720-a7ff;
}

@font-face {
    font-family: "Clinica Poppins";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../lib/clinica-sante-fonts/poppins-800-latin.woff2") format("woff2");
    unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}

:root {
    --marketing-header-mobile-height: 3.625rem;
    --marketing-header-desktop-height: 3.625rem;
    --marketing-quick-strip-height: 3.875rem;
    --marketing-ink: #555;
    --marketing-muted: #666;
    --marketing-green: #5e7f6e;
    --marketing-green-dark: #3f5f4f;
    --marketing-orange: #e8951d;
    --marketing-orange-dark: #e8951d;
    --marketing-line: #e2e2e2;
    --marketing-focus: #e8951d;
    --marketing-shadow: 0 1.5rem 3.75rem rgba(15, 20, 25, .16), 0 .375rem 1rem rgba(15, 20, 25, .05);
}

html.marketing-page-root { font-size: 100%; }

body.marketing-page-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding-top: var(--marketing-header-mobile-height);
    padding-bottom: 0;
    overflow-x: hidden;
}

body.shell-scroll-locked { overflow: hidden; }

.marketing-skip-link {
    position: fixed;
    z-index: 1110;
    top: .45rem;
    left: .75rem;
    padding: .65rem .9rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    background: var(--marketing-green-dark);
    border-radius: .4rem;
    box-shadow: var(--marketing-shadow);
    transform: translateY(calc(-100% - 1rem));
}

.marketing-skip-link:focus { transform: translateY(0); }

.marketing-page-main {
    flex: 1 0 auto;
    width: 100%;
    padding-top: clamp(1rem, 2.5vw, 2rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
    scroll-margin-top: calc(var(--marketing-header-mobile-height) + .5rem);
}

.marketing-header {
    position: fixed;
    z-index: 1040;
    inset: 0 0 auto;
    height: var(--marketing-header-mobile-height);
    color: var(--marketing-ink);
    font-family: "Clinica Poppins", "Segoe UI", system-ui, sans-serif;
    background: linear-gradient(0deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .96) 60%, #fff 100%);
    border-bottom-right-radius: 1.375rem;
    border-bottom-left-radius: 1.375rem;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.marketing-header__desktop { display: none; }

.marketing-header__mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    height: var(--marketing-header-mobile-height);
    padding-right: 1.875rem;
    padding-left: 1.875rem;
}

.marketing-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    border-radius: .5rem;
}

.marketing-brand img {
    display: block;
    width: auto;
    height: 1.5rem;
    max-width: none;
    object-fit: contain;
}

.marketing-header button,
.marketing-quick-strip button,
.marketing-overlay button {
    font-family: inherit;
}

.marketing-overlay :where(a, button, input):focus-visible,
.marketing-quick-strip :where(a, button):focus-visible,
.marketing-footer :where(a, button):focus-visible {
    outline: .2rem solid var(--marketing-focus);
    outline-offset: .16rem;
}

.marketing-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .3rem;
}

.marketing-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 2.5rem;
    padding: .45rem .62rem;
    color: var(--marketing-ink);
    font-size: .83rem;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    border-radius: .5rem;
}

.marketing-action .bi { color: var(--marketing-orange-dark); font-size: 1.05rem; }

.marketing-action--logout {
    color: var(--marketing-orange-dark);
    border-color: rgba(189, 88, 16, .45);
}

.marketing-nav,
.marketing-nav__list { height: 100%; }

.marketing-nav__list {
    display: flex;
    align-items: stretch;
    gap: clamp(.25rem, 1.3vw, 1rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.marketing-nav__item { display: flex; align-items: stretch; }

.marketing-nav__toggle,
.marketing-nav__direct {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .7rem;
    color: var(--marketing-ink);
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    border: 0;
    border-bottom: .2rem solid transparent;
}

.marketing-nav__chevron {
    width: .625rem;
    height: .625rem;
    flex: 0 0 .625rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .55;
    transform-origin: center;
    transition: transform .2s ease;
}

.marketing-nav__toggle[aria-expanded="true"] {
    color: var(--marketing-orange-dark);
    border-bottom-color: var(--marketing-orange);
}

.marketing-nav__toggle[aria-expanded="true"] .marketing-nav__chevron { transform: rotate(180deg); }

.marketing-nav__direct .bi { color: var(--marketing-orange-dark); }

.marketing-mega {
    position: fixed;
    z-index: 1038;
    top: var(--marketing-header-desktop-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--marketing-header-desktop-height));
    max-height: calc(100dvh - var(--marketing-header-desktop-height));
    overflow-y: auto;
    color: var(--marketing-ink);
    background: #fff;
    border-top: 1px solid var(--marketing-line);
    box-shadow: var(--marketing-shadow);
}

.marketing-mega__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
    gap: 1.5rem clamp(1rem, 2.5vw, 2.25rem);
    padding-top: 1.5rem;
    padding-bottom: 1.8rem;
}

.marketing-mega__section { min-width: 0; }

.marketing-mega__title {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .65rem;
    color: var(--marketing-green-dark);
    font-size: .96rem;
    font-weight: 750;
}

.marketing-mega__title img {
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    object-fit: contain;
}

.marketing-mega__links {
    display: grid;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.marketing-mega__links a {
    display: inline-block;
    padding: .18rem 0;
    color: var(--marketing-ink);
    font-size: .88rem;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.marketing-mega__socials {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .25rem;
}

.marketing-mega__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #666;
    text-decoration: none;
    background: #f5f8f6;
    border: 1px solid rgba(15, 20, 25, .05);
    border-radius: .625rem;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.marketing-mega__socials svg {
    width: .9375rem;
    height: .9375rem;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile drawer and search ---------------------------------------------------- */
.marketing-overlay {
    position: fixed;
    z-index: 1080;
    inset: 0;
}

.marketing-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 22, 16, .56);
    opacity: 0;
    transition: opacity .22s ease;
}

.marketing-overlay.is-open .marketing-overlay__backdrop { opacity: 1; }

.marketing-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(92vw, 31rem);
    height: 100%;
    color: var(--marketing-ink);
    background: #fff;
    box-shadow: -.5rem 0 2rem rgba(0, 0, 0, .2);
    transform: translateX(102%);
    transition: transform .24s ease;
}

.marketing-overlay.is-open .marketing-drawer__panel { transform: translateX(0); }

.marketing-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--marketing-header-mobile-height);
    padding: .65rem 1rem;
    border-bottom: 1px solid var(--marketing-line);
}

.marketing-overlay__close {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    color: var(--marketing-ink);
    background: #f2f5f3;
    border: 0;
    border-radius: 50%;
}

.marketing-overlay__close .bi { font-size: 1.35rem; }

.marketing-drawer__scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: .5rem 1rem 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.marketing-drawer__group { border-bottom: .0625rem solid #e7ece9; }

.marketing-drawer__group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 3.35rem;
    padding: .6rem .25rem;
    color: var(--marketing-ink);
    font-weight: 750;
    text-align: left;
    background: transparent;
    border: 0;
}

.marketing-drawer__group-toggle .bi {
    font-size: .8rem;
    transition: transform .18s ease;
}

.marketing-drawer__group-toggle[aria-expanded="true"] { color: var(--marketing-orange-dark); }
.marketing-drawer__group-toggle[aria-expanded="true"] .bi { transform: rotate(180deg); }

.marketing-drawer__group-body {
    padding: .15rem .25rem .9rem .85rem;
    border-left: .18rem solid rgba(231, 119, 33, .32);
}

.marketing-drawer__section + .marketing-drawer__section { margin-top: 1rem; }

.marketing-drawer__section h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .45rem;
    color: var(--marketing-green-dark);
    font-size: .91rem;
    font-weight: 750;
}

.marketing-drawer__section h3 img {
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 1.5rem;
    object-fit: contain;
}

.marketing-drawer__section ul {
    display: grid;
    gap: .15rem;
    margin: 0;
    padding: 0 0 0 2rem;
    list-style: none;
}

.marketing-drawer__section a {
    display: block;
    padding: .38rem 0;
    color: var(--marketing-ink);
    font-size: .9rem;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.marketing-drawer__direct,
.marketing-drawer__logout {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    min-height: 3.2rem;
    margin-top: .65rem;
    padding: .7rem .85rem;
    color: var(--marketing-ink);
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    background: #f3f6f4;
    border: 1px solid var(--marketing-line);
    border-radius: .6rem;
}

.marketing-drawer__direct .bi:last-child { margin-left: auto; font-size: .85rem; }

.marketing-drawer__logout {
    color: #a13f0b;
    background: #fff7f1;
    border-color: #edc3a5;
}

.marketing-drawer__shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1.15rem;
}

.marketing-drawer__shortcuts a {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 4rem;
    padding: .65rem;
    color: var(--marketing-ink);
    font-size: .83rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    background: #fafbf9;
    border: 1px solid var(--marketing-line);
    border-radius: .65rem;
}

.marketing-drawer__shortcuts img {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    object-fit: contain;
}

.marketing-drawer__footer {
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: var(--marketing-green-dark);
}

.marketing-drawer__footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 2.75rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 750;
    text-decoration: none;
}

/* Fixed mobile quick strip ---------------------------------------------------- */
.marketing-quick-strip {
    position: fixed;
    z-index: 1050;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: calc(var(--marketing-quick-strip-height) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid var(--marketing-line);
    box-shadow: 0 -.3rem 1.2rem rgba(24, 41, 30, .12);
}

.marketing-quick-strip a,
.marketing-quick-strip button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .18rem;
    min-width: 0;
    padding: .35rem .15rem;
    color: var(--marketing-ink);
    font-size: .72rem;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    background: #fff;
    border: 0;
}

.marketing-quick-strip span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Footer --------------------------------------------------------------------- */
.marketing-footer a { color: #fff; text-underline-offset: .18rem; }

.marketing-toast-container {
    z-index: 1090;
    bottom: calc(var(--marketing-quick-strip-height) + env(safe-area-inset-bottom));
}

@media (min-width: 36rem) {
    .marketing-drawer__shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (hover: hover) {
    .marketing-nav__toggle:hover,
    .marketing-nav__direct:hover,
    .marketing-action:hover { color: var(--marketing-orange-dark); background: #fff7f1; }

    .marketing-mega__links a:hover,
    .marketing-drawer__section a:hover,
    .marketing-footer a:hover { color: #ffb273; text-decoration: underline; }
    .marketing-quick-strip :where(a, button):hover { background: #fff7f1; }
}

@media (min-width: 992px) {
    body.marketing-page-shell {
        padding-top: var(--marketing-header-desktop-height);
        padding-bottom: 0;
    }

    .marketing-header { height: var(--marketing-header-desktop-height); }
    .marketing-header__desktop { display: block; }
    .marketing-header__mobile,
    .marketing-quick-strip,
    .marketing-drawer { display: none !important; }
    .marketing-toast-container { bottom: 0; }

}

@media (min-width: 992px) and (max-width: 1100px) {
    .marketing-action { padding-inline: .42rem; font-size: .77rem; }
    .marketing-nav__list { gap: .1rem; }
    .marketing-nav__toggle,
    .marketing-nav__direct { padding-inline: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
    .marketing-drawer__group-toggle .bi,
    .marketing-overlay__backdrop,
    .marketing-drawer__panel { transition: none; }
}

/* 2026 public-shell visual parity ------------------------------------------- */
.marketing-overlay,
.marketing-quick-strip {
    font-family: "Clinica Montserrat", "Segoe UI", system-ui, sans-serif;
}

.marketing-drawer__panel {
    width: min(26.25rem, 88vw);
    max-height: 100dvh;
    box-shadow: -1.5rem 0 3.75rem rgba(15, 20, 25, .18), -.375rem 0 1rem rgba(15, 20, 25, .06);
}

.marketing-overlay__backdrop {
    background: rgba(15, 20, 25, .42);
    backdrop-filter: blur(.375rem);
    -webkit-backdrop-filter: blur(.375rem);
}

.marketing-drawer__group-toggle {
    padding: 1rem .25rem;
    font-size: .96875rem;
    font-weight: 700;
}

.marketing-drawer__section h3 {
    font-size: .8125rem;
    font-weight: 700;
}

.marketing-drawer__section a { font-size: .84375rem; }

.marketing-quick-strip {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: calc(var(--marketing-quick-strip-height) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .96) 60%, #fff 100%);
    border: 0;
    border-top-left-radius: 1.375rem;
    border-top-right-radius: 1.375rem;
    box-shadow: 0 -.0625rem 0 rgba(15, 20, 25, .04), 0 -.625rem 1.875rem rgba(15, 20, 25, .05);
    backdrop-filter: saturate(180%) blur(1.5rem);
    -webkit-backdrop-filter: saturate(180%) blur(1.5rem);
}

.marketing-quick-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .25rem;
    width: 100%;
    max-width: 28.75rem;
    padding: .5rem 1.125rem;
}

.marketing-quick-strip a,
.marketing-quick-strip button {
    position: relative;
    display: inline-flex;
    flex: 1 1 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 2.875rem;
    min-width: 0;
    padding: 0;
    color: #555;
    background: transparent;
    border: 0;
    border-radius: .875rem;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.marketing-quick-strip__icon {
    width: 1.4375rem;
    height: 1.4375rem;
    flex: 0 0 auto;
    color: currentColor;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.marketing-quick-strip__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.marketing-quick-strip :where(a, button):active {
    color: #3a5446;
    background: rgba(127, 161, 141, .14);
    transform: scale(.94);
}

/* Footer media and typography */
.marketing-footer {
    position: relative;
    flex: 0 0 auto;
    padding: 2.5rem 0 6.25rem;
    margin-top: 2.5rem;
    overflow: hidden;
    color: rgba(255, 255, 255, .85);
    font-family: "Clinica Poppins", "Segoe UI", system-ui, sans-serif;
    background: #3f5f4f;
}

.marketing-footer__video {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
    filter: saturate(.8);
    pointer-events: none;
}

.marketing-footer__overlay,
.marketing-footer__overlay2 {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.marketing-footer__overlay {
    z-index: 1;
    background: linear-gradient(rgba(58, 84, 70, .9) 0%, rgba(58, 84, 70, .8) 50%, rgba(58, 84, 70, .94) 100%);
}

.marketing-footer__overlay2 {
    z-index: 2;
    background:
        radial-gradient(at 20% 0%, rgba(232, 149, 29, .094) 0%, transparent 50%),
        radial-gradient(at 90% 100%, rgba(232, 149, 29, .07) 0%, transparent 55%);
}

.marketing-footer__inner {
    position: relative;
    z-index: 3;
}

.marketing-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 0;
    padding-bottom: 0;
}

.marketing-footer__logo-link {
    display: inline-block;
    margin-bottom: .875rem;
    line-height: 0;
}

.marketing-footer__logo {
    display: block;
    width: auto;
    height: 2.375rem;
    margin: 0;
}

.marketing-footer__brand > .marketing-footer__description {
    max-width: 27.5rem;
    margin: 0 0 .875rem;
    color: rgba(255, 255, 255, .55);
    font-size: .78125rem;
    line-height: 1.55;
}

.marketing-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .875rem;
    margin-bottom: .875rem;
    color: rgba(255, 255, 255, .5);
    font-size: .71875rem;
}

.marketing-footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem 1.125rem;
    margin: 0 0 1rem;
    font-size: .75rem;
    font-style: normal;
}

.marketing-footer__contact a {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.marketing-footer__contact svg { color: #e8951d; }
.marketing-footer__muted { color: rgba(255, 255, 255, .4); }

.marketing-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 0;
}

.marketing-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.marketing-footer__social svg {
    width: .875rem;
    height: .875rem;
}

.marketing-footer__column h2 {
    margin: 0 0 .75rem;
    color: #f7b950;
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.marketing-footer__column > a {
    display: block;
    padding: .25rem 0;
    color: rgba(255, 255, 255, .7);
    font-size: .8125rem;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.marketing-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: 1.125rem;
    margin-top: 1.75rem;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.marketing-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .38);
    font-size: .6875rem;
    letter-spacing: .02em;
}

.marketing-footer__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .625rem;
}

.marketing-footer__trust a {
    display: inline-flex;
    border-radius: .4rem;
    line-height: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.marketing-footer__trust img {
    display: block;
    width: auto;
    height: 2.375rem;
    max-width: none;
    object-fit: contain;
}

@media (max-width: 575px) {
    .marketing-footer__grid { gap: 1.5rem; }
}

.marketing-header .marketing-nav__toggle:focus-visible,
.marketing-header .marketing-nav__direct:focus-visible,
.marketing-header .marketing-action--phone:focus-visible {
    outline: 2px solid #e8951d;
    outline-offset: 2px;
}

.marketing-header .marketing-nav__toggle:focus-visible,
.marketing-header .marketing-nav__direct:focus-visible { border-radius: .5rem; }

.marketing-header .marketing-action--phone:focus-visible {
    color: #f7b950;
    background: transparent;
}

.marketing-header .marketing-action--logout:focus-visible {
    color: #fff;
    background: #b94b22;
    outline: 2px solid #e8951d;
    outline-offset: 2px;
}

.marketing-header .marketing-mega__links a:focus-visible {
    padding-left: .875rem;
    color: #3f5f4f;
    text-decoration: none;
    background: #f5f8f6;
    outline: 2px solid #e8951d;
    outline-offset: 1px;
}

.marketing-header .marketing-mega__socials a:focus-visible {
    color: #fff;
    background: #e8951d;
    border-color: #e8951d;
    outline: 2px solid #3f5f4f;
    outline-offset: 2px;
}

@media (hover: hover) {
    .marketing-quick-strip :where(a, button):hover {
        color: #3a5446;
        background: rgba(127, 161, 141, .1);
    }

    .marketing-header .marketing-nav__toggle:hover,
    .marketing-header .marketing-nav__direct:hover {
        color: #3f5f4f;
        background: transparent;
    }

    .marketing-header .marketing-nav__toggle:hover::after,
    .marketing-header .marketing-nav__direct:hover::after {
        transform: scaleX(1);
    }

    .marketing-header .marketing-action--phone:hover {
        color: #f7b950;
        background: transparent;
    }

    .marketing-header .marketing-action--logout:hover {
        color: #fff;
        background: #b94b22;
    }

    .marketing-header .marketing-mega__links a:hover {
        padding-left: .875rem;
        color: #3f5f4f;
        text-decoration: none;
        background: #f5f8f6;
    }

    .marketing-header .marketing-mega__socials a:hover {
        color: #fff;
        text-decoration: none;
        background: #e8951d;
        border-color: #e8951d;
        transform: translateY(-.125rem);
    }

    .marketing-footer__contact a:hover,
    .marketing-footer__column > a:hover {
        color: #f7b950;
        text-decoration: none;
    }

    .marketing-footer__logo-link:hover {
        color: inherit;
        text-decoration: none;
    }

    .marketing-footer__social a:hover {
        color: #fff;
        text-decoration: none;
        background: #e8951d;
        border-color: #e8951d;
        transform: translateY(-.125rem);
    }

    .marketing-footer__trust a:hover {
        opacity: .85;
        transform: translateY(-.0625rem);
    }
}

@media (min-width: 992px) {
    .marketing-header {
        height: 3.625rem;
        background: #fff;
        border-bottom: 1px solid rgba(15, 20, 25, .03);
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .marketing-header__desktop {
        height: 3.625rem;
    }

    .marketing-header__desktop-row {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        height: 3.625rem;
    }

    .marketing-header__desktop .marketing-brand {
        flex-shrink: 0;
        margin-right: 1.875rem;
        transition: transform .2s cubic-bezier(.22, 1, .36, 1);
    }

    .marketing-header__desktop .marketing-brand:hover { transform: translateY(-.0625rem); }
    .marketing-header__desktop .marketing-brand img { height: 1.5rem; }

    .marketing-nav {
        flex: 0 0 auto;
        min-width: 0;
        height: 3.625rem;
        margin-left: clamp(2.1875rem, calc(10.81vw - 4.5rem), 4.1525rem);
    }

    .marketing-nav__list {
        align-items: center;
        justify-content: flex-start;
        gap: .625rem;
        height: 3.625rem;
    }

    .marketing-nav__item {
        position: relative;
        align-items: center;
        height: 3.625rem;
    }

    .marketing-nav__toggle,
    .marketing-nav__direct {
        position: relative;
        gap: .375rem;
        height: auto;
        padding: .5625rem .25rem;
        margin: 0 .75rem;
        color: #666;
        font-size: .8125rem;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: .01em;
        border: 0;
        transition: color .2s ease;
    }

    .marketing-nav__toggle::after,
    .marketing-nav__direct::after {
        position: absolute;
        right: .25rem;
        bottom: .125rem;
        left: .25rem;
        height: .125rem;
        content: "";
        background: #e8951d;
        border-radius: .125rem;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    }

    .marketing-nav__toggle[aria-expanded="true"] {
        color: #3f5f4f;
    }

    .marketing-nav__toggle[aria-expanded="true"]::after { transform: scaleX(1); }
    .marketing-nav__direct .bi { color: currentColor; }

    .marketing-header__actions {
        flex: 0 0 auto;
        gap: .125rem;
        padding: .25rem;
        margin-left: auto;
        background: #f5f8f6;
        border-radius: 62.4375rem;
    }

    .marketing-action--icon {
        width: 2.125rem;
        height: 2.125rem;
        min-height: 2.125rem;
        padding: 0;
        color: #3f5f4f;
        border: 0;
        border-radius: 50%;
    }

    .marketing-action--icon .bi {
        color: currentColor;
        font-size: 1rem;
    }

    .marketing-action--phone {
        gap: .375rem;
        min-height: 0;
        padding: 0;
        margin-right: .375rem;
        margin-left: .375rem;
        color: #3f5f4f;
        font-size: .8125rem;
        font-weight: 700;
        line-height: 1.5;
        border: 0;
        border-radius: 0;
    }

    .marketing-action--phone .bi {
        color: currentColor;
        font-size: .875rem;
    }

    .marketing-action--logout { color: #b94b22; }

    .marketing-mega {
        position: absolute;
        z-index: 1042;
        top: calc(100% - .625rem);
        left: 0;
        width: min(35rem, calc(100vw - 1.5rem));
        padding-top: .625rem;
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .marketing-mega::before {
        position: absolute;
        z-index: 1;
        top: .25rem;
        left: 1.25rem;
        width: .75rem;
        height: .75rem;
        content: "";
        background: #fff;
        border-top: 1px solid rgba(15, 20, 25, .05);
        border-left: 1px solid rgba(15, 20, 25, .05);
        transform: rotate(45deg);
    }

    .marketing-mega__grid {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        column-gap: 1.625rem;
        row-gap: 0;
        width: 100%;
        max-height: calc(100vh - 5.375rem);
        max-height: calc(100dvh - 5.375rem);
        padding: 1.375rem 1.5rem 1.5rem;
        overflow-y: auto;
        background: #fff;
        border: 1px solid rgba(15, 20, 25, .05);
        border-radius: .875rem;
        box-shadow: var(--marketing-shadow);
    }

    .marketing-mega__column {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 1.375rem;
    }

    .marketing-mega__title {
        gap: .5rem;
        padding-bottom: .5rem;
        margin: 0 0 .625rem;
        color: #3f5f4f;
        font-size: .75rem;
        font-weight: 800;
        letter-spacing: .01em;
        border-bottom: 1px solid rgba(63, 95, 79, .12);
    }

    .marketing-mega__title img {
        width: 1.125rem;
        height: 1.125rem;
        flex-basis: 1.125rem;
    }

    .marketing-mega__icon {
        width: 1.125rem;
        height: 1.125rem;
        flex: 0 0 1.125rem;
        background: #e8951d;
        -webkit-mask-image: var(--marketing-section-icon);
        mask-image: var(--marketing-section-icon);
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
    }

    .marketing-mega__links { gap: .0625rem; }

    .marketing-mega__links a {
        display: block;
        padding: .375rem .625rem;
        color: #555;
        font-size: .78125rem;
        line-height: 1.35;
        border-radius: .5rem;
    }

    .marketing-footer__grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr);
        gap: 2.5rem;
    }

    .marketing-footer { padding-bottom: 2.5rem; }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .marketing-header__desktop .marketing-brand { margin-right: 1.25rem; }
    .marketing-nav__list { gap: .25rem; }
    .marketing-nav__toggle,
    .marketing-nav__direct { margin-right: .5rem; margin-left: .5rem; }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .marketing-header__desktop .marketing-brand { margin-right: .625rem; }
    .marketing-nav__list { gap: .125rem; }
    .marketing-nav__toggle,
    .marketing-nav__direct {
        gap: .25rem;
        padding-right: .125rem;
        padding-left: .125rem;
        margin-right: .25rem;
        margin-left: .25rem;
        font-size: .75rem;
    }
    .marketing-action--phone { gap: .25rem; padding-right: 0; padding-left: 0; font-size: .78125rem; }
}

@media (min-width: 992px) and (max-width: 1099px) {
    .marketing-header__desktop .marketing-brand { margin-right: .25rem; }
    .marketing-header__actions { margin-left: auto; }
}

@media (min-width: 1100px) {
    .marketing-header__actions { margin-right: .375rem; }
}

@media (prefers-reduced-motion: reduce) {
    .marketing-footer__video { display: none; }
    .marketing-header__desktop .marketing-brand,
    .marketing-quick-strip :where(a, button),
    .marketing-footer__social a,
    .marketing-footer__trust a { transition: none; }
}
