/* ---------------------------------------------------------
   Landing page styles — matches the Cavendish/AVOID UI
   --------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    /* pulled from config, overridden per-deploy via <style> in landing/index.php */
    --c-top:       #0070C7;
    --c-side:      #005699;
    --c-highlight: #F5B500;
    --c-link:      #0070C7;

    /* local palette */
    --c-bg:        #F0F0F0;
    --c-white:     #FFFFFF;
    --c-text:      #333333;
    --c-text-soft: #555555;
    --c-text-mute: #888888;
    --c-border:    #CCCCCC;
    --c-border-hi: #AAAAAA;

    --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--c-link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------------------------------------------------------
   Top header bar  (mirrors #topheader in the skin)
   --------------------------------------------------------- */

.topheader {
    background: var(--c-top);
    padding: 0 20px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--c-top);
    animation: fade-down .4s var(--ease) both;
}
@keyframes fade-down {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.topheader__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}
.topheader__logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}
.topheader__logo-fallback {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
}

.topheader__right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}
.topheader__right a {
    color: #fff;
    text-decoration: none !important;
    opacity: 0.85;
    transition: opacity .2s;
}
.topheader__right a:hover { opacity: 1; text-decoration: none !important; }

.font-size-label { opacity: 0.7; }
.font-size-btn {
    cursor: default;
    padding: 2px 5px;
    border-left: 1px solid rgba(255,255,255,0.25);
    font-weight: 600;
}
.font-size-btn:first-of-type { font-size: 12px; }
.font-size-btn:nth-of-type(2){ font-size: 15px; }
.font-size-btn:last-of-type  { font-size: 18px; }

/* ---------------------------------------------------------
   Secondary nav bar  (mirrors #outerHeader / #header)
   --------------------------------------------------------- */

.outerheader {
    background: var(--c-side);
    display: flex;
    align-items: stretch;
    padding: 0 20px;
    height: 48px;
    animation: fade-down .4s .07s var(--ease) both;
    position: sticky;
    top: 50px;
    z-index: 49;
}

.header-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}
.header-tabs li {
    display: flex;
    align-items: stretch;
}
.header-tabs a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none !important;
    white-space: nowrap;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    transition: background .2s, border-color .2s;
}
.header-tabs a:hover {
    background: rgba(255,255,255,0.1);
    text-decoration: none !important;
}
.header-tabs li.selected a {
    border-top: 3px solid var(--c-highlight);
    background: rgba(245, 181, 0, 0.15);
}

.outerheader__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mirrors the "Contact Us / Report Issue / Sign in" button row */
.hdr-btn {
    display: inline-block;
    padding: 8px 14px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--c-side) !important;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .18s, border-color .18s;
    white-space: nowrap;
}
.hdr-btn:hover {
    background: #f2f2f2;
    border-color: #999;
    text-decoration: none !important;
}
.hdr-btn--primary {
    background: var(--c-top);
    color: #fff !important;
    border-color: var(--c-top);
}
.hdr-btn--primary:hover {
    background: #005caa;
    border-color: #005caa;
}

/* ---------------------------------------------------------
   Page wrapper
   --------------------------------------------------------- */

.page-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 28px 64px;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 52px 0 56px;
    border-bottom: 1px solid var(--c-border);
}
@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding: 40px 0 44px; }
    .hero__title {
        text-align: center;
    }
    .hero__subtitle {
        text-align: center;
    }
    .hero__card-wrap { 
        display: block; 
        max-width: 80%;
        width: 100%; 
        align-items: center; 
        margin: 0 auto;
    }
    .hero__logo {
        width: 100%;
        height: auto;
        object-fit: contain;
        align-self: center;
        margin: 0 auto;
    }
    .btn-main {
        align-self: center;
        margin: 0 auto;
    }
}

.hero__logo {
    width: 400px;
    height: auto;
    object-fit: contain;
}

.hero__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--c-text);
    letter-spacing: -0.01em;
}
.hero__title .accent {
    color: var(--c-top);
}

.hero__subtitle {
    font-size: 16.5px;
    color: var(--c-text-soft);
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 1080px;
    text-align: justify;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
}

/* Primary blue CTA button */
.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 16.5px;
    font-weight: 600;
    color: #fff !important;
    background: var(--c-top);
    border: 1px solid var(--c-top);
    border-radius: 2px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s, border-color .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn-main:hover {
    background: #005caa;
    border-color: #005caa;
    box-shadow: 0 2px 8px rgba(0,112,199,0.28);
    text-decoration: none !important;
}
.btn-main svg { transition: transform .25s var(--ease); flex-shrink: 0; }
.btn-main:hover svg { transform: translateX(3px); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 16.5px;
    font-weight: 500;
    color: var(--c-text) !important;
    background: #fff;
    border: 1px solid var(--c-border-hi);
    border-radius: 2px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
}
.btn-outline:hover {
    background: #f5f5f5;
    border-color: #999;
    text-decoration: none !important;
}

/* Stat strip */
.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border: 1px solid var(--c-border);
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.stat-item {
    flex: 1;
    min-width: 110px;
    padding: 16px 20px;
    border-right: 1px solid var(--c-border);
    text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
    display: block;
    font-size: 23px;
    font-weight: 700;
    color: var(--c-top);
    line-height: 1;
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: 14px;
    color: var(--c-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ----- dashboard card ----- */
.hero__card-wrap {
    position: relative;
}
.dashboard-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 3px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    overflow: hidden;
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
    transition: transform .8s var(--ease);
    animation: card-float 6s ease-in-out infinite;
}
.dashboard-card:hover { transform: perspective(900px) rotateY(0deg) rotateX(0deg); }
@keyframes card-float {
    0%, 100% { translate: 0 0; }
    50%       { translate: 0 -6px; }
}

@media (max-width: 860px) {
    .dashboard-card {
        transform: none;
    }
}

.dc-header {
    background: var(--c-side);
    color: #fff;
    padding: 12px 16px;
    font-size: 15.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dc-header-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-highlight);
    box-shadow: 0 0 0 0 rgba(245,181,0,.7);
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%  { box-shadow: 0 0 0 0 rgba(245,181,0,.7); }
    70% { box-shadow: 0 0 0 8px rgba(245,181,0,0); }
    100%{ box-shadow: 0 0 0 0 rgba(245,181,0,0); }
}

.dc-body { padding: 18px; display: grid; gap: 12px; }

.dc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid var(--c-border);
    border-radius: 2px;
    background: #f9f9f9;
    border-left: 3px solid var(--c-top);
}
.dc-row:nth-child(2) { border-left-color: var(--c-highlight); }
.dc-row:nth-child(3) { border-left-color: #4EBB84; }
.dc-row:nth-child(4) { border-left-color: #e25813; }
.dc-row:nth-child(5) { border-left-color: #b92694; }

.dc-label {
    font-size: 15.5px;
    color: var(--c-text-soft);
    font-weight: 500;
}
.dc-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-top);
    font-variant-numeric: tabular-nums;
}
.dc-row:nth-child(2) .dc-value { color: var(--c-highlight); }
.dc-row:nth-child(3) .dc-value { color: #4EBB84; }
.dc-row:nth-child(4) .dc-value { color: #e25813; }
.dc-row:nth-child(5) .dc-value { color: #b92694; }

.dc-bars {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
    align-items: end;
    height: 88px;
    padding: 8px 4px 2px;
    border: 1px solid var(--c-border);
    border-radius: 2px;
    background: #fafafa;
}
.dc-bar {
    width: 100%;
    height: var(--h, 50%);
    background: var(--c-top);
    border-radius: 2px 2px 0 0;
    opacity: 0.75;
    transform-origin: bottom;
    animation: bar-rise 1.1s var(--ease) both;
}
.dc-bar:nth-child(2n){ background: var(--c-side); opacity: 0.55; }
.dc-bar:nth-child(1) { animation-delay: .06s; }
.dc-bar:nth-child(2) { animation-delay: .12s; }
.dc-bar:nth-child(3) { animation-delay: .18s; }
.dc-bar:nth-child(4) { animation-delay: .24s; }
.dc-bar:nth-child(5) { animation-delay: .30s; }
.dc-bar:nth-child(6) { animation-delay: .36s; }
.dc-bar:nth-child(7) { animation-delay: .42s; }
.dc-bar:nth-child(8) { animation-delay: .48s; }
@keyframes bar-rise {
    from { transform: scaleY(0); opacity: 0; }
    to   { transform: scaleY(1); opacity: 0.75; }
}

.dc-foot {
    font-size: 14px;
    color: var(--c-text-mute);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 2px 0;
}
.dc-foot .dc-header-dot { width: 7px; height: 7px; }

/* ---------------------------------------------------------
   Section common
   --------------------------------------------------------- */

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    margin: 0 0 4px;
    letter-spacing: -0.005em;
}
.section-sub {
    font-size: 17px;
    color: var(--c-text-soft);
    margin: 0 0 28px;
    line-height: 1.6;
}
.section-divider {
    width: 38px;
    height: 3px;
    background: var(--c-top);
    border-radius: 2px;
    margin: 10px 0 20px;
}

/* Section head row with optional "View all" link */
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--c-border);
    padding-bottom: 12px;
    gap: 12px;
}
.section-head-row h2 {
    margin: 0;
    padding: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--c-text);
    border-bottom: 3px solid var(--c-top);
    padding-bottom: 12px;
    margin-bottom: -13px;
}

/* ---------------------------------------------------------
   Features
   --------------------------------------------------------- */

.features {
    padding: 52px 0 48px;
    border-bottom: 1px solid var(--c-border);
}

.features-intro {
    margin-bottom: 32px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 900px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-top);
    border-radius: 2px;
    padding: 22px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: box-shadow .3s var(--ease), border-top-color .3s var(--ease), transform .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--c-highlight);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.feature-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-card:nth-child(2) { border-top-color: #4EBB84; }
.feature-card:nth-child(3) { border-top-color: var(--c-highlight); }
.feature-card:nth-child(4) { border-top-color: #8B7CFF; }
.feature-card:nth-child(5) { border-top-color: #E05C5C; }
.feature-card:nth-child(6) { border-top-color: #3AB5C3; }
.feature-card:nth-child(7) { border-top-color: #D4884F; }
.feature-card:nth-child(8) { border-top-color: #5C9E5C; }

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 3px;
    background: var(--c-top);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #fff;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card:nth-child(2) .feature-icon { background: #4EBB84; }
.feature-card:nth-child(3) .feature-icon { background: var(--c-highlight); color: #4a3600; }
.feature-card:nth-child(4) .feature-icon { background: #8B7CFF; }
.feature-card:nth-child(5) .feature-icon { background: #E05C5C; }
.feature-card:nth-child(6) .feature-icon { background: #3AB5C3; }
.feature-card:nth-child(7) .feature-icon { background: #D4884F; }
.feature-card:nth-child(8) .feature-icon { background: #5C9E5C; }

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text);
    margin: 0 0 8px;
}
.feature-card p {
    font-size: 15.5px;
    color: var(--c-text-soft);
    margin: 0;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   Workflow steps
   --------------------------------------------------------- */

.workflow {
    padding: 52px 0 48px;
    border-bottom: 1px solid var(--c-border);
}
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
@media (max-width: 800px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.step {
    padding: 26px 24px;
    border-right: 1px solid var(--c-border);
    position: relative;
    transition: background .25s var(--ease);
}
.step:last-child { border-right: none; }
.step:hover { background: #f7f9fc; }

.step__num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--c-top);
    opacity: 0.18;
    line-height: 1;
    margin-bottom: 10px;
}
.step h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--c-text);
}
.step p {
    font-size: 15.5px;
    color: var(--c-text-soft);
    margin: 0;
    line-height: 1.6;
}
.step-arrow {
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: var(--c-top);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    font-size: 11px;
}
@media (max-width: 800px) {
    .step:nth-child(2) .step-arrow,
    .step:nth-child(4) .step-arrow { display: none; }
}

/* ---------------------------------------------------------
   CTA band
   --------------------------------------------------------- */

.cta-section {
    padding: 52px 0 0;
}
.cta-band {
    background: var(--c-top);
    border-radius: 2px;
    padding: 44px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: 0 4px 18px rgba(0,112,199,0.22);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.cta-band::after {
    content: "";
    position: absolute;
    right: 60px; bottom: -80px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.cta-band h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.cta-band p {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    margin: 0;
}
.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}
.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--c-top) !important;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 2px;
    text-decoration: none !important;
    transition: background .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn-cta-white:hover {
    background: #edf4fe;
    box-shadow: 0 2px 10px rgba(0,0,0,0.14);
    text-decoration: none !important;
}
.btn-cta-white svg { transition: transform .25s var(--ease); }
.btn-cta-white:hover svg { transform: translateX(3px); }

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 16.5px;
    font-weight: 600;
    color: #fff !important;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 2px;
    text-decoration: none !important;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    text-decoration: none !important;
}

/* ---------------------------------------------------------
   Footer  (matches the cavendish footer)
   --------------------------------------------------------- */

.footer {
    background: var(--c-side);
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    margin-top: 52px;
}
.footer__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}
.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
}
.footer__links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none !important;
    transition: color .2s;
}
.footer__links a:hover { color: #fff; text-decoration: none !important; }
.footer__sep {
    color: rgba(255,255,255,0.3);
    margin: 0 4px;
}
.footer__copy { color: rgba(255,255,255,0.55); align-self: center; margin: 0 auto; }

/* ---------------------------------------------------------
   Hero eyebrow
   --------------------------------------------------------- */

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--c-text-mute);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.eyebrow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4EBB84;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(78,187,132,.7);
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%  { box-shadow: 0 0 0 0 rgba(78,187,132,.7); }
    70% { box-shadow: 0 0 0 8px rgba(78,187,132,0); }
    100%{ box-shadow: 0 0 0 0 rgba(78,187,132,0); }
}

/* ---------------------------------------------------------
   About section
   --------------------------------------------------------- */

.about-section {
    padding: 52px 0 48px;
    border-bottom: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 380px;
}
@media (max-width: 820px) { 
    .about-grid { 
        grid-template-columns: 1fr; 
        min-height: unset;
    } 
}

.about-main p {
    font-size: 16px;
    line-height: 2;
    color: var(--c-text-soft);
    margin: 0 0 18px;
    text-align: justify;
}
.about-main p strong { color: var(--c-text); }
.about-main .btn-outline { margin-top: 8px; }

.about-callout {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-left: 4px solid var(--c-top);
    border-radius: 2px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.about-callout blockquote {
    margin: 0 0 16px;
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text-soft);
    font-style: italic;
}
.about-callout__contact {
    font-size: 16px;
    color: var(--c-text-soft);
    line-height: 1.6;
}
.about-callout__contact strong { color: var(--c-text); }
.about-callout__contact a { color: var(--c-link); }

.about-factors {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 2px;
    padding: 20px 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.factor-label {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--c-text-mute);
    margin-bottom: 12px;
}
.about-factors ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}
.about-factors li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16.5px;
    color: var(--c-text);
}
.factor-icon {
    color: var(--c-top);
    font-size: 9px;
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   Sponsors section
   --------------------------------------------------------- */

.sponsors-section {
    padding: 52px 0 48px;
    border-bottom: 1px solid var(--c-border);
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 4px;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 2px;
    min-width: 140px;
    min-height: 78px;
    text-decoration: none !important;
    transition: border-color .25s, box-shadow .25s, transform .25s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.sponsor-item:hover {
    border-color: var(--c-top);
    box-shadow: 0 3px 10px rgba(0,112,199,0.14);
    transform: translateY(-2px);
    text-decoration: none !important;
}
.sponsor-item img {
    max-height: 48px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter .25s;
}
.sponsor-item:hover img { filter: grayscale(0%); }

.sponsor-item--text { min-width: 120px; }
.sponsor-text-badge {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-side);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.03em;
}

/* ---------------------------------------------------------
   CTA email link
   --------------------------------------------------------- */

.cta-email {
    display: inline-block;
    margin-top: 10px;
    font-size: 16.5px;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: underline !important;
    transition: color .2s;
}
.cta-email:hover { color: #fff !important; }

/* ---------------------------------------------------------
   Scroll-reveal
   --------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--delay, 0) * 1ms);
    will-change: opacity, transform;
}
.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
}
