/* =========================
   2026 homepage visual refresh
   Layout-only styles. Existing logo and site logic are unchanged.
========================= */
:root {
    --ce-navy: #03182c;
    --ce-navy-deep: #010b18;
    --ce-cyan: #13d8ef;
    --ce-cyan-soft: #74efff;
    --ce-yellow: #ffc928;
    --ce-text: #f7fbff;
    --ce-muted: #b9c9d8;
    --ce-line: rgba(91, 218, 241, 0.25);
}

body {
    background: var(--ce-navy-deep);
    color: var(--ce-text);
}

header {
    min-height: 94px;
    padding: 18px 4.5%;
    flex-direction: row;
    justify-content: space-between;
    background: rgba(1, 11, 24, 0.96);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

header .logo {
    position: static;
    display: block;
    flex: 0 0 auto;
}

header .logo img {
    display: block;
    width: auto;
    height: 76px;
}

#main-nav {
    margin: 0 auto;
    gap: clamp(18px, 2.3vw, 38px);
}

#main-nav a {
    position: relative;
    padding: 12px 0;
    color: #eaf4fb;
    font-size: 0.98rem;
}

#main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 2px;
    background: var(--ce-cyan);
    transition: right .25s ease;
}

#main-nav a:hover::after { right: 0; }

.header-controls {
    position: static;
    flex: 0 0 auto;
}

.hero-premium {
    min-height: 590px;
    padding: 90px 5% 120px;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--ce-text);
    background:
        linear-gradient(90deg, rgba(1,11,24,.99) 0%, rgba(1,11,24,.93) 34%, rgba(1,11,24,.45) 61%, rgba(1,11,24,.10) 100%),
        url('/images/classic-el-hero.png?v=20260903-3') center/cover no-repeat;
    background-attachment: scroll;
}

.hero-premium .hero-content {
    width: min(680px, 52%);
}

.hero-kicker {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--ce-cyan-soft);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-premium .hero-content h1 {
    margin: 0 0 24px;
    max-width: 680px;
    font-size: clamp(2.8rem, 5.2vw, 5.35rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.hero-premium .hero-content h1 span { color: var(--ce-cyan); }

.hero-lead {
    max-width: 610px;
    margin-bottom: 34px;
    color: var(--ce-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.28rem) !important;
    line-height: 1.65;
    opacity: 1 !important;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-actions .cta-btn {
    padding: 17px 25px;
    border: 1px solid var(--ce-cyan);
    border-radius: 10px;
    background: var(--ce-cyan);
    color: #001321;
    animation: none;
    box-shadow: 0 14px 34px rgba(0, 207, 232, .17);
}

.hero-actions .cta-secondary {
    background: rgba(1, 11, 24, .62);
    color: #fff;
    box-shadow: none;
}

.trust-strip {
    position: relative;
    z-index: 4;
    width: min(91%, 1380px);
    min-height: 106px;
    margin: -53px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--ce-line);
    border-radius: 15px;
    background: rgba(4, 28, 50, .96);
    box-shadow: 0 25px 65px rgba(0,0,0,.34);
    overflow: hidden;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 25px 16px;
    border-right: 1px solid var(--ce-line);
}

.trust-item:last-child { border-right: 0; }
.trust-item span { color: var(--ce-cyan); font-size: 1.8rem; }
.trust-item strong { font-size: 1rem; }

.home-services {
    padding: 90px 5% 85px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, #062848 0%, var(--ce-navy-deep) 52%);
}

.section-heading span {
    color: var(--ce-cyan);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 8px 0 40px;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
}

.service-cards {
    width: min(100%, 1380px);
    margin: 0 auto 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-cards article {
    min-height: 205px;
    padding: 31px 24px;
    text-align: left;
    border: 1px solid var(--ce-line);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(12,49,78,.85), rgba(2,18,33,.88));
    transition: transform .25s ease, border-color .25s ease;
}

.service-cards article:hover { transform: translateY(-6px); border-color: var(--ce-cyan); }
.service-cards b { color: var(--ce-cyan); font-size: 2rem; }
.service-cards h3 { margin: 20px 0 8px; font-size: 1.18rem; }
.service-cards p { color: var(--ce-muted); line-height: 1.5; }

.services-link { color: var(--ce-cyan); font-weight: 800; }
.footer { margin: 0; border-top: 1px solid rgba(255,255,255,.08); }

body.light-mode .hero-premium,
body.light-mode .home-services { color: #fff; }
body.light-mode .trust-strip { color: #fff; }

@media (max-width: 1050px) {
    header { flex-wrap: wrap; }
    #main-nav { order: 3; width: 100%; padding-top: 10px; }
    .hero-premium .hero-content { width: min(650px, 64%); }
    .service-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    header { min-height: 82px; padding: 10px 16px; }
    header .logo img { height: 62px; }
    .header-controls { margin-left: auto; }
    .header-fb-btn { display: inline-flex; margin-right: 2px; } .header-fb-btn img { width: 26px; height: 26px; }
    #theme-btn { padding: 7px 9px; font-size: .75rem; }
    #main-nav { display: none; margin: 0; padding: 18px 0; }
    #main-nav.active { display: flex; }
    .mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; margin-left: 12px; }
    .mobile-menu-btn span { display: block; width: 26px; height: 2px; background: #fff; }
    .hero-premium {
        min-height: 680px;
        padding: 85px 22px 120px;
        align-items: flex-end;
        background:
            linear-gradient(180deg, rgba(1,11,24,.18), rgba(1,11,24,.65) 42%, rgba(1,11,24,.99) 72%),
            url('/images/classic-el-hero.png?v=20260903-3') 67% center/cover no-repeat;
    }
    .hero-premium .hero-content { width: 100%; }
    .hero-premium .hero-content h1 { font-size: clamp(2.35rem, 12vw, 3.7rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .cta-btn { text-align: center; }
    .trust-strip { grid-template-columns: repeat(2, 1fr); margin-top: -35px; }
    .trust-item { justify-content: flex-start; border-bottom: 1px solid var(--ce-line); }
    .trust-item:nth-child(2) { border-right: 0; }
    .service-cards { grid-template-columns: 1fr; }
}


/* Complete light theme */
body.light-mode { background:#f3f8fc; color:#102235; }
body.light-mode header { background:rgba(249,252,255,.97); border-bottom-color:rgba(2,45,76,.12); box-shadow:0 6px 24px rgba(6,35,59,.08); }
body.light-mode #main-nav a { color:#142a3d; }
body.light-mode .mobile-menu-btn span { background:#102235; }
body.light-mode .hero-premium { color:#102235; background-image:linear-gradient(90deg,rgba(247,251,255,.99) 0%,rgba(247,251,255,.94) 35%,rgba(247,251,255,.54) 60%,rgba(247,251,255,.10) 100%),url('/images/classic-el-hero.png?v=20260903-3'); }
body.light-mode .hero-premium .hero-content h1 { color:#102235; }
body.light-mode .hero-lead { color:#40556a; }
body.light-mode .hero-actions .cta-secondary { background:rgba(255,255,255,.86); color:#102235; border-color:#087f9a; }
body.light-mode .trust-strip { background:rgba(255,255,255,.98); color:#102235; border-color:rgba(9,121,147,.25); box-shadow:0 22px 55px rgba(23,54,78,.14); }
body.light-mode .trust-item { border-color:rgba(9,121,147,.18); }
body.light-mode .home-services { color:#102235; background:radial-gradient(circle at 50% 0%,#e3f7fc 0%,#f5f9fc 55%); }
body.light-mode .service-cards article { background:#fff; color:#102235; border-color:rgba(9,121,147,.20); box-shadow:0 13px 35px rgba(26,66,94,.09); }
body.light-mode .service-cards p { color:#52697d; }
body.light-mode .footer { background:#e7f0f6; color:#102235; border-top-color:rgba(2,45,76,.12); }
@media (max-width:768px) { body.light-mode .hero-premium { background-image:linear-gradient(180deg,rgba(247,251,255,.08),rgba(247,251,255,.58) 42%,rgba(247,251,255,.99) 72%),url('/images/classic-el-hero.png?v=20260903-3'); } }

/* Protect the hero image from the legacy inline theme background */
.hero-premium {
    background: linear-gradient(90deg, rgba(1,11,24,.99) 0%, rgba(1,11,24,.93) 34%, rgba(1,11,24,.45) 61%, rgba(1,11,24,.10) 100%), url('/images/classic-el-hero.png?v=20260903-4') center / cover no-repeat !important;
}
body.light-mode .hero-premium {
    background: linear-gradient(90deg, rgba(247,251,255,.99) 0%, rgba(247,251,255,.94) 35%, rgba(247,251,255,.54) 60%, rgba(247,251,255,.10) 100%), url('/images/classic-el-hero.png?v=20260903-4') center / cover no-repeat !important;
}
@media (max-width:768px) {
    .hero-premium {
        background: linear-gradient(180deg, rgba(1,11,24,.12), rgba(1,11,24,.66) 42%, rgba(1,11,24,.99) 72%), url('/images/classic-el-hero.png?v=20260903-4') 67% center / cover no-repeat !important;
    }
    body.light-mode .hero-premium {
        background: linear-gradient(180deg, rgba(247,251,255,.06), rgba(247,251,255,.60) 42%, rgba(247,251,255,.99) 72%), url('/images/classic-el-hero.png?v=20260903-4') 67% center / cover no-repeat !important;
    }
}
