﻿
.ec-landing {
    --brand: #005B96;
    --ink: #0b1220;
    --muted: #5a6b7b;
    --surface: #fff;
    --divider: rgba(0,0,0,.10);
    --shadow-1: 0 8px 24px rgba(0,0,0,.08);
    --shadow-2: 0 18px 40px rgba(0,0,0,.16);
}

/* Global spacing & slab dividers */
.ec-section {
    padding: clamp(32px,6vw,64px) 0;
}

.ec-slab {
    padding: clamp(36px,6vw,84px) 0;
    background: #fff;
    border-top: 1px solid transparent; 
    display: flow-root;
}

.ec-slab + .ec-slab,
.ec-slab + section {
    border-top: 1px solid var(--divider);
}

/* HERO */
.ec-hero {
    position: relative;
    min-height: clamp(360px,60vh,800px);
    overflow: hidden;
}

.ec-hero-media {
    position: absolute;
    inset: 0;
    margin: 0;
}

.ec-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ec-hero-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,.45) 0%, rgba(0,0,0,.28) 30%, rgba(0,0,0,.10) 60%, rgba(0,0,0,0) 100%);
}

.ec-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 1rem;
}

@media (max-width:575.98px) {
    .ec-hero-overlay {
        padding: .75rem;
    }
}

.ec-hero-card {
    width: min(92vw,900px);
    text-align: center;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(255,255,255,.86);
    border-radius: 1rem;
    padding: clamp(16px,3vw,40px);
    box-shadow: var(--shadow-2);
    backdrop-filter: saturate(140%) blur(6px);
}

.ec-hero-title {
    color: var(--brand);
    margin: 0 0 .25em;
    font-weight: 800;
    letter-spacing: .2px;
    line-height: 1.15;
    font-size: clamp(1.25rem,3.0vw,2.0rem);
}

.ec-hero-sub {
    color: #14202e;
    margin: 0 0 .75rem;
    line-height: 1.5;
    font-size: clamp(.95rem,2.2vw,1.125rem);
}

.ec-hero-announcement {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: .25rem 0 1rem;
}

.ec-cta {
    padding-inline: clamp(1rem,4vw,2rem);
    padding-block: clamp(.55rem,1.2vw,.85rem);
    border-radius: .75rem;
    font-weight: 700;
}

.ec-cta:focus-visible {
    outline: 3px solid #9ec8ff;
    outline-offset: 3px;
}

.ec-inline-logo {
    height: 2.1rem;
    width: auto;
    vertical-align: middle;
    margin: 0 .35rem;
}

/* ---------- FEATURES ---------- */
.ec-features {
    background: #f7f9fc;
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.ec-feature-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .875rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-1);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover:hover) and (pointer:fine) {
    .ec-feature-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-2);
        border-color: color-mix(in srgb, var(--brand) 18%, transparent);
    }
}

.ec-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto .5rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 8%, transparent);
    color: var(--brand);
    font-size: 28px;
}

/* ---------- SLABS (image + copy) ---------- */
@media (min-width:992px) {
    .ec-slab.ec-slab--alt .row {
        flex-direction: row-reverse;
    }
}

.slab-media {
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-1);
}

.slab-media img {
    display: block;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    object-position: center;
}

.slab-copy {
    max-width: 58ch;
}

.slab-title {
    color: var(--brand);
    font-weight: 800;
    line-height: 1.15;
    font-size: clamp(1.5rem,3vw,2.25rem);
    letter-spacing: .2px;
    margin: 0 0 .5rem;
}

.slab-body {
    color: var(--ink);
    line-height: 1.65;
    font-size: clamp(1rem,1.8vw,1.125rem);
    margin: 0 0 1rem;
}

.slab-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: .35rem .75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}

.slab-meta li {
    position: relative;
    padding-left: 1.1rem;
    color: #314152;
}

.slab-meta li::before {
    content: "▹";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand);
    line-height: 1;
}

@media (max-width:575.98px) {
    .slab-media {
        border-radius: .75rem;
    }

    .slab-copy {
        max-width: 65ch;
    }
}

/* ---------- CAROUSEL ---------- */
#ecCarousel .carousel-item {
    height: 60vh;
    min-height: 320px;
    max-height: 800px;
}

#ecCarousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* ---------- LOCATION BAND (split-section) ---------- */
.split-section {
    position: relative;
    overflow: hidden;
    color: #eaf0f7;
    padding: 0;
    min-height: clamp(360px,40vh,760px);
}

.split-section .split-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(900px 360px at 12% 0%, color-mix(in srgb, var(--brand) 10%, transparent) 0%, transparent 70%), radial-gradient(680px 260px at 95% 85%, color-mix(in srgb, #0d6efd 9%, transparent) 0%, transparent 75%), linear-gradient(180deg, #0a0f1a 0%, grey 70%);
}

.split-section--pattern .split-bg {
    background: radial-gradient(1px 1px at 12px 12px, rgba(0,0,0,.045) 1px, transparent 1px), radial-gradient(1px 1px at 6px 6px, rgba(0,0,0,.03) 1px, transparent 1px), radial-gradient(900px 360px at 12% 0%, color-mix(in srgb, var(--brand) 10%, transparent) 0%, transparent 70%), radial-gradient(680px 260px at 95% 85%, color-mix(in srgb, #0d6efd 9%, transparent) 0%, transparent 75%), linear-gradient(180deg, #0a0f1a 0%, grey 70%);
    background-size: 24px 24px,24px 24px,auto,auto,auto;
    background-blend-mode: normal,normal,screen,screen,normal;
}

.split-section > .container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding-block: clamp(32px,6vw,96px);
}

.split-stack {
    display: grid;
    gap: clamp(10px,1.8vw,18px);
    justify-items: center;
    max-width: 780px;
}

.split-title {
    font-weight: 800;
    line-height: 1.1;
    font-size: clamp(1.5rem,4vw,2.5rem);
    letter-spacing: .2px;
    margin: 0;
    color: #fff;
}

.split-address {
    margin: 0;
    font-style: normal;
    opacity: .92;
    font-size: clamp(1rem,2.2vw,1.125rem);
}

.split-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem .8rem;
    justify-content: center;
    margin-top: clamp(6px,1vw,12px);
}

.split-btn {
    padding: .65rem 1.05rem;
    border-radius: .8rem;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.split-btn.btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255,255,255,.65);
    --bs-btn-hover-bg: rgba(255,255,255,.12);
    --bs-btn-hover-border-color: #fff;
}

.split-address a {
    color: inherit;
    text-decoration: none;
}

@media (max-width:575.98px) {
    .split-section--pattern .split-bg {
        filter: saturate(1) brightness(.98);
    }
}

/* ---------- COMPARISON TABLE ---------- */
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

    .cmp-table th, .cmp-table td {
        border: 1px solid #e2e6ea;
        padding: .6rem .75rem;
        vertical-align: middle;
    }

    .cmp-table thead th {
        background: #8d939a;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    .cmp-table .section th {
        background: #eef0f3;
        color: #333;
        text-align: left;
        font-weight: 800;
    }

    .cmp-table th[scope="row"] {
        font-weight: 700;
    }

    .cmp-table td.yes {
        background: #fff url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23111" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') no-repeat center/18px;
    }

.visually-hidden {
    position: absolute !important;
    clip: rect(1px,1px,1px,1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ---------- Table -> Cards on small screens ---------- */
@media (max-width:576px) {
    .cmp-table thead {
        display: none;
    }

    .cmp-table,
    .cmp-table tbody,
    .cmp-table tr,
    .cmp-table td,
    .cmp-table th {
        display: block;
        width: 100%;
    }

    .cmp-table tr {
        border: 1px solid #e2e6ea;
        border-radius: .9rem;
        overflow: hidden;
        margin-bottom: .9rem;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,.06);
    }

    .cmp-table tr.section {
        border: 0;
        margin: 1rem 0 .5rem;
        background: transparent;
        box-shadow: none;
    }

    .cmp-table tr.section th {
        display: block;
        background: var(--brand);
        color: #fff;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        padding: .6rem;
        border-radius: .5rem;
    }

    .cmp-table th[scope="row"] {
        background: #f4f7fb;
        color: var(--ink);
        font-weight: 800;
        padding: .9rem 1rem;
        border-bottom: 1px solid #e6eaee;
    }

    .cmp-table td {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: .8rem 1rem;
        gap: .5rem;
        border: 0;
        border-top: 1px solid #eef1f4;
        min-height: 44px;
        position: relative;
    }

    .cmp-table td::before {
        content: attr(aria-label);
        color: var(--muted);
        font-size: .95rem;
        font-weight: 600;
    }

    .cmp-table td::after {
        content: "—";
        color: #8a97a6;
        font-weight: 700;
        letter-spacing: .2px;
    }

    .cmp-table td.yes {
        background: none;
    }

    .cmp-table td.yes::after {
        content: "✓";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 2rem;
        height: 1.6rem;
        padding: 0 .6rem;
        border-radius: 999px;
        border: 1px solid var(--brand);
        color: var(--brand);
        font-weight: 800;
        line-height: 1;
    }

    .cmp-table {
        font-size: 15px;
    }
}





:root {
    --ec-ease: cubic-bezier(.22,.61,.36,1);
    --ec-dur: 600ms;
}

@media (prefers-reduced-motion: reduce) {
    [data-ec-reveal],
    .ec-zoomable img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Base hidden state */
[data-ec-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--ec-dur) var(--ec-ease), transform var(--ec-dur) var(--ec-ease);
    will-change: opacity, transform;
}

/* When revealed by JS */
[data-ec-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature cards: gentle hover lift (optional but nice) */
.ec-feature-card {
    transition: transform 280ms var(--ec-ease), box-shadow 280ms var(--ec-ease);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    border-radius: var(--radius, 1rem);
    background: var(--card-bg, #fff);
}

.ec-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0,0,0,.10);
}

/* Slab images: subtle zoom on hover + relaxed default */
.ec-zoomable {
    overflow: hidden;
    border-radius: var(--radius, 1rem);
}

.ec-zoomable img {
    display: block;
    width: 100%;
    transform: scale(1.01);
    transition: transform 700ms var(--ec-ease), filter 700ms var(--ec-ease);
    will-change: transform;
}

.ec-zoomable:hover img {
    transform: scale(1.035);
}



.ec-hero-card .ec-hero-title,
.ec-hero-card .ec-hero-sub,
.ec-hero-card .ec-hero-announcement,
.ec-hero-card .ec-cta {
    transform: translateY(26px);
    opacity: 0;
    transition: transform 600ms cubic-bezier(.2,.8,.2,1), opacity 600ms cubic-bezier(.2,.8,.2,1);
    will-change: transform, opacity;
}


.ec-hero-card .ec-hero-title {
    transition-delay: 60ms;
}

.ec-hero-card .ec-hero-sub {
    transition-delay: 160ms;
}

.ec-hero-card .ec-hero-announcement {
    transition-delay: 260ms;
}

.ec-hero-card .ec-cta {
    transition-delay: 360ms;
}

.ec-hero-card.is-hero-in .ec-hero-title,
.ec-hero-card.is-hero-in .ec-hero-sub,
.ec-hero-card.is-hero-in .ec-hero-announcement,
.ec-hero-card.is-hero-in .ec-cta {
    transform: translateY(0);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .ec-hero-card .ec-hero-title,
    .ec-hero-card .ec-hero-sub,
    .ec-hero-card .ec-hero-announcement,
    .ec-hero-card .ec-cta {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}



.offerings-section.animate-offerings .text-center > p {
    opacity: 1;
    transform: none;
    transition-delay: .2s;
    font-size: 18px;
}

.section-tight {
    padding-block: clamp(1.0rem,2.0vw,1.5rem);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: transform 900ms ease-out, opacity 900ms ease-out;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

