/* =========================================================
   Extraaaz BuildTech — Premium Landing Design System
   Industrial-premium · steel · concrete · cinematic hero
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
    --heading-fonts: "Syne", sans-serif !important;
    --body-fonts: "Manrope", sans-serif !important;

    --ex-ink: #0a1620;
    --ex-steel: #0e2a3d;
    --ex-navy: #061820;
    --ex-blue: #0461a5;
    --ex-sky: #1a7fc1;
    --ex-mist: #e8f1f7;
    --ex-fog: #f3f6f8;
    --ex-muted: #5c6b78;
    --ex-line: rgba(10, 22, 32, 0.1);
    --ex-radius: 4px;
    --ex-radius-lg: 12px;
    --ex-shadow: 0 24px 60px rgba(6, 24, 32, 0.18);
    --ex-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base overrides ---------- */
html {
    font-size: 16px;
}

body {
    font-family: var(--body-fonts) !important;
    color: var(--ex-ink);
    background: var(--ex-fog);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.ex-hero__brand,
.ex-hero__title,
.ex-section-title,
.ex-quote__name,
.portal-card__title,
.service__item-content .title {
    font-family: var(--heading-fonts) !important;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--ex-ink);
}

/* Soft concrete atmosphere */
body:not(.dark-theme)::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(900px 480px at 0% 0%, rgba(4, 97, 165, 0.07), transparent 60%),
        radial-gradient(700px 400px at 100% 20%, rgba(14, 42, 61, 0.05), transparent 55%),
        linear-gradient(180deg, #eef3f6 0%, #f7f9fa 35%, #ffffff 100%);
    opacity: 0.95;
}

/* ---------- Top bar: de-emphasize ---------- */
.navbar-top {
    background: transparent !important;
    backdrop-filter: none !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.navbar-top-wrapper {
    padding: 8px 0 0;
    opacity: 0.85;
}

.navbar-top .tel-link,
.navbar-top .topbar-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 13px;
    font-weight: 500;
}

body:not(.home-landing) .navbar-top .tel-link,
body:not(.home-landing) .navbar-top .topbar-link {
    color: var(--ex-steel) !important;
}

.home-landing .navbar-top .mode--toggle {
    filter: brightness(1.2);
}

/* ---------- Header ---------- */
.home-landing header {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 100;
    transition: top 0.35s var(--ex-ease);
}

.home-landing header.is-solid {
    top: 0;
}

.home-landing .navbar-bottom {
    background: transparent;
}

.home-landing .navbar-bottom-wrapper {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--ex-radius-lg);
    padding: 10px 18px;
    box-shadow: none;
    transition: background 0.35s var(--ex-ease), border-color 0.35s var(--ex-ease), box-shadow 0.35s var(--ex-ease);
}

.home-landing header.is-solid .navbar-bottom-wrapper {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: var(--ex-line);
    box-shadow: 0 10px 30px rgba(6, 24, 32, 0.08);
}

.home-landing .navbar-bottom-wrapper .menu li a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-landing header.is-solid .navbar-bottom-wrapper .menu li a {
    color: var(--ex-steel);
}

.home-landing .navbar-bottom-wrapper .menu li a:hover,
.home-landing .navbar-bottom-wrapper .menu li a.active {
    color: #fff;
}

.home-landing header.is-solid .navbar-bottom-wrapper .menu li a:hover,
.home-landing header.is-solid .navbar-bottom-wrapper .menu li a.active {
    color: var(--ex-blue);
}

.home-landing .navbar-bottom-wrapper .logo {
    height: 44px;
    width: 180px;
}

.home-landing .navbar-bottom-wrapper .logo img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.home-landing header.is-solid .navbar-bottom-wrapper .logo img {
    filter: none;
}

.home-landing .nav-toggle span {
    background: #fff;
}

.home-landing header.is-solid .nav-toggle span {
    background: var(--ex-ink);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-login-dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid rgba(4, 97, 165, 0.35);
    background: #fff;
    color: var(--ex-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--ex-radius);
    transition: 0.25s var(--ex-ease);
}

.home-landing header:not(.is-solid) .nav-login-dropdown .dropdown-toggle {
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
}

.home-landing header.is-solid .nav-login-dropdown .dropdown-toggle {
    border-color: rgba(4, 97, 165, 0.35);
    color: var(--ex-blue);
    background: #fff;
}

.nav-login-dropdown .dropdown-toggle:hover,
.nav-login-dropdown.show .dropdown-toggle {
    background: var(--ex-blue);
    color: #fff;
    border-color: var(--ex-blue);
}

.home-landing header:not(.is-solid) .nav-login-dropdown .dropdown-toggle:hover,
.home-landing header:not(.is-solid) .nav-login-dropdown.show .dropdown-toggle {
    background: #fff;
    color: var(--ex-steel);
    border-color: #fff;
}

.home-landing header.is-solid .nav-login-dropdown .dropdown-toggle:hover,
.home-landing header.is-solid .nav-login-dropdown.show .dropdown-toggle {
    background: var(--ex-blue);
    color: #fff;
    border-color: var(--ex-blue);
}

.nav-login-dropdown .dropdown-menu {
    border: 1px solid var(--ex-line);
    border-radius: var(--ex-radius-lg);
    box-shadow: var(--ex-shadow);
    padding: 8px;
    min-width: 220px;
    margin-top: 10px !important;
}

.nav-login-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ex-steel);
}

.nav-login-dropdown .dropdown-item i {
    font-size: 18px;
    color: var(--ex-blue);
}

.nav-login-dropdown .dropdown-item:hover {
    background: var(--ex-mist);
    color: var(--ex-blue);
}

.home-landing .nav-actions .cmn--btn,
.home-landing .nav-actions .ex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    line-height: 1;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ex-steel);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s var(--ex-ease), background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.home-landing header.is-solid .nav-actions .cmn--btn {
    background: var(--ex-blue);
    color: #fff;
    border-color: var(--ex-blue);
    box-shadow: 0 8px 20px rgba(4, 97, 165, 0.28);
}

.home-landing .nav-actions .cmn--btn:hover {
    transform: translateY(-2px);
    background: #fff;
    color: var(--ex-ink);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.home-landing header.is-solid .nav-actions .cmn--btn:hover {
    background: #03528c;
    color: #fff;
    border-color: #03528c;
}

@media (max-width: 991.9px) {
    .home-landing .navbar-bottom-wrapper .menu {
        background: rgba(6, 24, 32, 0.96);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .home-landing header.is-solid .navbar-bottom-wrapper .menu {
        background: #fff;
    }

    .menu .menu-login-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .menu .menu-login-links a {
        color: #7ec8f0 !important;
        font-weight: 700;
    }
}

@media (min-width: 992px) {
    .menu .menu-login-links {
        display: none;
    }
}

/* ---------- Shared section chrome ---------- */
.ex-kicker {
    font-family: var(--body-fonts);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ex-blue);
    margin: 0 0 12px;
}

.ex-section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 12px;
    text-align: center;
}

.ex-section-title.text-start {
    text-align: left;
}

.ex-section-lead {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    color: var(--ex-muted);
    font-size: 1.05rem;
}

.ex-section-head {
    margin-bottom: 40px;
    text-align: center;
}

.ex-section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.ex-section-head--row .ex-section-title {
    text-align: left;
}

.ex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-family: var(--body-fonts);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 1.5px solid transparent;
    box-shadow: 0 10px 28px rgba(6, 24, 32, 0.14);
    transition: transform 0.25s var(--ex-ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ex-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(6, 24, 32, 0.2);
}

.ex-btn--light {
    background: #fff;
    color: var(--ex-steel);
}

.ex-btn--light:hover {
    background: #f2f7fb;
    color: var(--ex-ink);
}

.ex-btn--outline {
    background: transparent;
    border-color: rgba(14, 42, 61, 0.35);
    color: var(--ex-steel);
    box-shadow: none;
}

.ex-btn--outline:hover {
    background: var(--ex-steel);
    border-color: var(--ex-steel);
    color: #fff;
    box-shadow: 0 10px 24px rgba(6, 24, 32, 0.16);
}

.ex-btn--primary {
    background: var(--ex-blue);
    color: #fff;
    border-color: var(--ex-blue);
}

.ex-btn--primary:hover {
    background: #03528c;
    color: #fff;
}

.ex-link-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: 0.25s ease;
}

.ex-link-ghost:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.ex-link-ghost--on-dark {
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- HERO ---------- */
.ex-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 72px;
    overflow: hidden;
    color: #fff;
    background: var(--ex-navy);
}

.ex-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ex-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.06);
    animation: ex-kenburns 22s ease-out forwards;
}

@keyframes ex-kenburns {
    to {
        transform: scale(1);
    }
}

.ex-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 24, 32, 0.88) 0%, rgba(6, 24, 32, 0.55) 42%, rgba(6, 24, 32, 0.22) 70%, rgba(6, 24, 32, 0.35) 100%),
        linear-gradient(180deg, rgba(6, 24, 32, 0.45) 0%, transparent 28%, rgba(6, 24, 32, 0.72) 100%);
}

.ex-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.ex-hero__copy {
    max-width: 640px;
}

.ex-hero__brand {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 10px;
    line-height: 0.95;
    text-transform: none;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.ex-hero__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 16px;
    max-width: 36ch;
}

.ex-hero__title {
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    max-width: 18ch;
}

.ex-hero__lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 28px;
    max-width: 42ch;
}

.ex-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ex-hero__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ex-store-btn {
    display: block;
    width: 148px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s var(--ex-ease);
}

.ex-store-btn img {
    width: 100%;
    height: auto;
    display: block;
}

.ex-store-btn:hover {
    transform: translateY(-3px);
}

.ex-hero__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.ex-hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 28px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.ex-hero__scroll span {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: ex-scroll-dot 1.6s ease-in-out infinite;
}

@keyframes ex-scroll-dot {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

@media (max-width: 767px) {
    .ex-hero {
        min-height: 88vh;
        padding: 120px 0 64px;
        align-items: center;
    }

    .ex-hero__brand {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .ex-hero__title {
        max-width: none;
    }

    .ex-hero__scroll {
        display: none;
    }
}

/* ---------- Coverage mosaic ---------- */
.ex-coverage {
    padding: 88px 0 40px;
}

.ex-mosaic {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 14px;
}

.ex-mosaic__item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--ex-radius-lg);
    background: #c5d4df;
    box-shadow: var(--ex-shadow);
}

.ex-mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ex-ease);
}

.ex-mosaic__item:hover img {
    transform: scale(1.05);
}

.ex-mosaic__item--a {
    grid-row: 1 / span 2;
}

@media (max-width: 767px) {
    .ex-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .ex-mosaic__item--a {
        grid-row: auto;
        min-height: 240px;
    }

    .ex-mosaic__item--b,
    .ex-mosaic__item--c {
        min-height: 180px;
    }
}

/* ---------- Services ---------- */
.ex-services {
    padding: 64px 0 80px !important;
}

.ex-slide-nav {
    position: static !important;
    display: flex;
    gap: 8px;
}

.ex-slide-nav .slide-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--ex-radius);
    border: 1.5px solid var(--ex-line);
    background: #fff;
    color: var(--ex-steel);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.ex-slide-nav .slide-icon:hover {
    background: var(--ex-steel);
    color: #fff;
    border-color: var(--ex-steel);
}

.ex-service-tile.service__item {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
    border-radius: var(--ex-radius-lg) !important;
    overflow: hidden;
    border: 1px solid var(--ex-line);
    background: #fff;
    box-shadow: 0 12px 32px rgba(6, 24, 32, 0.08);
    min-height: 100%;
    transition: transform 0.35s var(--ex-ease), box-shadow 0.35s var(--ex-ease);
}

.ex-service-tile.service__item:hover {
    transform: translateY(-8px);
    box-shadow: var(--ex-shadow);
}

.ex-service-tile.service__item::before {
    display: none !important;
}

.ex-service-tile__media.service__item-icon {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
}

.ex-service-tile__media img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    display: block;
}

.ex-service-tile__body {
    padding: 20px 20px 24px !important;
}

.ex-service-tile__body .title {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
}

.ex-service-tile__body .txt {
    color: var(--ex-muted);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ex-service-tile .service__item-btn {
    margin-top: 12px;
    display: inline-flex;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
}

.service-inner-slider-item img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.service-section .section-title {
    display: none;
}

/* ---------- About ---------- */
.ex-about {
    padding: 80px 0 !important;
    background: #fff;
}

.ex-about__grid.about__wrapper {
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}

.ex-about__text {
    color: var(--ex-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.ex-about__media.about__wrapper-thumb {
    padding: 0 !important;
    border-radius: var(--ex-radius-lg);
    overflow: hidden;
    box-shadow: var(--ex-shadow);
    background: #0e2a3d;
    min-height: 0 !important;
    width: 0;
    flex-grow: 1;
    max-width: 520px;
    margin-left: auto;
}

.ex-about__media img,
.ex-about__media .main-img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: none !important;
}

/* ---------- Trust strip ---------- */
.ex-trust {
    padding: 48px 0 64px !important;
}

.ex-trust__strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--ex-line);
    border-bottom: 1px solid var(--ex-line);
}

.ex-trust__item.counter__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-right: 1px solid var(--ex-line);
}

.ex-trust__item.counter__item:last-child {
    border-right: none;
}

.ex-trust__item:hover {
    transform: none;
    box-shadow: none;
    background: rgba(4, 97, 165, 0.03);
}

.ex-trust__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.ex-trust__item .subtitle {
    font-family: var(--heading-fonts);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.ex-trust__desc {
    color: var(--ex-muted);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .ex-trust__strip {
        grid-template-columns: 1fr;
    }

    .ex-trust__item.counter__item {
        border-right: none;
        border-bottom: 1px solid var(--ex-line);
    }

    .ex-trust__item.counter__item:last-child {
        border-bottom: none;
    }
}

/* ---------- App ---------- */
.ex-app {
    padding: 88px 0 !important;
    background:
        linear-gradient(135deg, #0a1620 0%, #0e2a3d 55%, #0461a5 140%);
    color: rgba(255, 255, 255, 0.88);
}

.ex-app .ex-kicker {
    color: #7ec8f0;
}

.ex-app .ex-section-title,
.ex-app .subtitle {
    color: #fff !important;
}

.ex-app__layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.ex-app__copy {
    max-width: 520px;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-align: left !important;
    border-radius: 0 !important;
}

.ex-app__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 24px;
}

.ex-app__points {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ex-app__points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
}

.ex-app__points i {
    color: #7ec8f0;
    font-size: 20px;
    margin-top: 1px;
    flex-shrink: 0;
}

.ex-app__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ex-app__phones {
    justify-self: center;
}

.ex-app__phones .main-thumb img.main-img,
.ex-app__phones .smaller-thumb img.main-img {
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}

.ex-app .app-slider .owl-carousel img,
.ex-app .main-thumb .app-slider img,
.ex-app .smaller-thumb .app-slider img {
    object-fit: cover;
}

.ex-app .owl-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 991px) {
    .ex-app__layout {
        grid-template-columns: 1fr;
    }

    .ex-app__copy {
        max-width: none;
        order: 1;
    }

    .ex-app__phones {
        order: 2;
    }
}

/* ---------- Portal ---------- */
.ex-portal {
    padding: 88px 0 72px !important;
}

.ex-portal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ex-portal__panel.portal-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: start;
    padding: 36px 32px;
    min-height: 200px;
    text-decoration: none !important;
    color: inherit;
    background: #fff;
    border: 1px solid var(--ex-line);
    border-radius: var(--ex-radius-lg);
    box-shadow: 0 16px 40px rgba(6, 24, 32, 0.07);
    overflow: hidden;
    transition: transform 0.35s var(--ex-ease), box-shadow 0.35s var(--ex-ease), border-color 0.35s ease;
}

.ex-portal__panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ex-blue);
}

.ex-portal__panel:hover {
    transform: translateY(-6px);
    box-shadow: var(--ex-shadow);
    border-color: rgba(4, 97, 165, 0.35);
    color: inherit;
}

.ex-portal__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--ex-radius);
    display: grid;
    place-items: center;
    background: rgba(4, 97, 165, 0.1);
    color: var(--ex-blue);
    font-size: 30px;
    flex-shrink: 0;
}

.portal-card__title {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.portal-card__text {
    margin: 0 0 18px;
    color: var(--ex-muted);
    font-size: 15px;
    line-height: 1.55;
}

.portal-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ex-blue);
}

.portal-card--provider::before {
    background: #1f7a52;
}

.portal-card--provider .ex-portal__icon {
    background: rgba(31, 122, 82, 0.12);
    color: #1f7a52;
}

.portal-card--provider .portal-card__cta {
    color: #1f7a52;
}

@media (max-width: 767px) {
    .ex-portal__grid {
        grid-template-columns: 1fr;
    }

    .ex-portal__panel.portal-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .ex-section-head--row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- CTA ---------- */
.ex-cta {
    padding: 24px 0 72px !important;
}

.ex-cta__banner.cta-wrapper {
    border-radius: var(--ex-radius-lg);
    overflow: hidden;
    box-shadow: var(--ex-shadow);
    padding: 48px 32px;
}

.ex-cta__banner .title {
    font-family: var(--heading-fonts);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    text-transform: none !important;
}

.ex-cta .cmn--btn,
.ex-cta .ex-btn {
    border-radius: var(--ex-radius);
}

/* ---------- Testimonials ---------- */
.ex-testimonials {
    padding: 72px 0 96px !important;
    background: #fff;
}

.ex-quote {
    background: var(--ex-fog);
    border: 1px solid var(--ex-line);
    border-radius: var(--ex-radius-lg);
    padding: 32px 28px;
    height: 100%;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ex-quote__text,
.ex-quote blockquote {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--ex-steel);
    margin: 0;
    border: none;
    padding: 0;
    font-weight: 500;
}

.ex-quote__person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.ex-quote__avatar.testimonial__item-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.ex-quote__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.ex-quote__name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ex-ink);
}

.ex-quote__role {
    display: block;
    font-size: 13px;
    color: var(--ex-muted);
}

.testimonial__item-wrapper {
    background: transparent !important;
    box-shadow: none !important;
}

/* ---------- Newsletter / footer lift ---------- */
.home-landing .subscribe-newsletter {
    background: var(--ex-mist);
    padding: 64px 0 !important;
}

.home-landing .subscribe-newsletter .form-control {
    border-radius: var(--ex-radius) !important;
    border: 1px solid var(--ex-line);
    min-height: 52px;
}

.home-landing .subscribe-newsletter .cmn--btn,
.home-landing .subscribe-newsletter .subscribe-btn {
    border-radius: var(--ex-radius) !important;
    min-height: 52px;
}

.home-landing footer .main-footer {
    background: var(--ex-navy);
}

.home-landing .footer__wrapper-link a:hover {
    color: #7ec8f0;
}

/* ---------- Kill old banner layout on homepage ---------- */
.home-landing .banner-section {
    display: none;
}

/* ---------- Dark theme safety ---------- */
.dark-theme .ex-coverage,
.dark-theme .ex-about,
.dark-theme .ex-testimonials,
.dark-theme .ex-portal__panel {
    background: #141a20;
}

.dark-theme .ex-section-title,
.dark-theme .ex-hero__brand,
.dark-theme .portal-card__title {
    color: #e8eef3 !important;
}

.dark-theme .ex-trust__strip {
    border-color: #283c40;
}

.dark-theme .ex-trust__item.counter__item {
    border-color: #283c40;
}

/* ---------- Motion reduce ---------- */
@media (prefers-reduced-motion: reduce) {
    .ex-hero__img {
        animation: none;
        transform: none;
    }

    .ex-hero__scroll span {
        animation: none;
    }
}
