.imtel-banner-area {
    position: relative;
    background: #0f1724;
}

body.imtel-featured-lightbox-open {
    overflow: hidden;
}

.imtel-home-featured-area {
    position: fixed;
    top: calc(var(--imtel-header-offset, var(--imtel-topbar-h, 0px)) + 74px);
    left: 0;
    width: 100%;
    z-index: 1001;
    pointer-events: none;
}

.imtel-home-featured-area .container {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.imtel-home-featured-shell {
    position: relative;
    display: block;
    width: min(1160px, calc(100% - 24px));
    max-width: 1160px;
    margin: 0 auto;
    padding: 18px 126px 18px 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 84% 18%, rgba(246, 182, 60, 0.2), transparent 26%),
        linear-gradient(135deg, rgba(17, 40, 93, 0.97) 0%, rgba(34, 75, 151, 0.96) 48%, rgba(204, 31, 31, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 70px rgba(7, 14, 25, 0.34);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translate3d(88px, 0, 0);
    transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.38s ease, padding 0.38s ease;
    pointer-events: auto;
    overflow: hidden;
    max-height: 280px;
}

.imtel-home-featured-shell.is-ready {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.imtel-home-featured-shell.is-closing {
    opacity: 0;
    transform: translate3d(-72px, 0, 0);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.imtel-home-featured-slides {
    min-height: 164px;
}

.imtel-home-featured-slide {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    min-height: 164px;
}

.imtel-home-featured-media {
    position: relative;
    min-height: 164px;
    width: 100%;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    border: 0;
    cursor: zoom-in;
}

.imtel-home-featured-backdrop {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.08);
    filter: blur(14px);
    opacity: 0.45;
}

.imtel-home-featured-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 36, 0.1), rgba(246, 182, 60, 0.08));
}

.imtel-home-featured-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 164px;
    padding: 6px;
    object-fit: contain;
    object-position: center;
}

.imtel-home-featured-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(15, 23, 36, 0.58);
    color: #ffffff;
    font-size: 14px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.imtel-home-featured-media:hover .imtel-home-featured-zoom,
.imtel-home-featured-media:focus-visible .imtel-home-featured-zoom {
    opacity: 1;
    transform: translateY(0);
}

.imtel-home-featured-media:hover .imtel-home-featured-zoom {
    background: rgba(204, 31, 31, 0.86);
}

.imtel-home-featured-content {
    display: grid;
    gap: 10px;
    align-content: center;
    min-width: 0;
}

.imtel-home-featured-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.imtel-home-featured-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
}

.imtel-home-featured-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff1d3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.imtel-home-featured-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    line-height: 1.12;
    max-width: 34ch;
}

.imtel-home-featured-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 62ch;
}

.imtel-home-featured-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease;
    white-space: nowrap;
}

.imtel-home-featured-link:hover {
    color: #ffffff;
    background: rgba(246, 182, 60, 0.88);
    transform: translateY(-1px);
}

.imtel-home-featured-controls {
    position: absolute;
    top: 18px;
    right: 62px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.imtel-home-featured-arrow {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.imtel-home-featured-arrow:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.22);
}

.imtel-home-featured-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 28px;
    padding: 0 2px;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
}

.imtel-home-featured-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.imtel-home-featured-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.16);
}

.imtel-home-featured-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.imtel-home-featured-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 14, 25, 0.82);
    backdrop-filter: blur(8px);
}

.imtel-home-featured-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: calc(100vh - 56px);
    padding: 18px 18px 16px;
    border-radius: 24px;
    background: rgba(13, 22, 36, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.imtel-home-featured-lightbox-dialog img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 150px);
    border-radius: 18px;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.imtel-home-featured-lightbox-dialog p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
}

.imtel-home-featured-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
}


/* ==========================================================================
   IMTEL Hero — light background, duotone photo carousel, particles overlay.
   Text column on the left; full-bleed photo panel on the right blends into
   the page background via a left-edge fade (no card/frame around the photo).
   ========================================================================== */

.imtel-hero {
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    background: var(--imtel-off-white);
    padding-top: calc(var(--imtel-header-offset, var(--imtel-topbar-h, 0px)) + 110px);
}

.imtel-hero.has-featured-overlay {
    padding-top: calc(var(--imtel-header-offset, var(--imtel-topbar-h, 0px)) + 150px);
}

/* ---------- Photo carousel (right, full-bleed) ---------- */
.imtel-hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.imtel-hero-photo-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(1) contrast(1.05) brightness(1.1);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.imtel-hero-photo-slide.is-active {
    opacity: 1;
}

.imtel-hero-photo-duotone {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--imtel-blue) 0%, var(--imtel-red) 100%);
    mix-blend-mode: color;
    opacity: 0.55;
}

.imtel-hero-photo-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        var(--imtel-off-white) 0%,
        rgba(250, 250, 250, 0.85) 15%,
        rgba(250, 250, 250, 0.3) 40%,
        transparent 65%);
}

.imtel-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.imtel-hero-glow {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
    pointer-events: none;
}

.imtel-hero-glow-blue {
    top: -120px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: var(--imtel-glow-blue);
}

.imtel-hero-glow-red {
    bottom: -140px;
    right: -100px;
    width: 460px;
    height: 460px;
    background: var(--imtel-glow-red);
}

.imtel-hero .container {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
    padding-bottom: 70px;
}

/* ---------- Text content (left) ---------- */
.imtel-hero-content {
    max-width: 560px;
}

.imtel-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(30, 91, 168, 0.1);
    border: 1px solid rgba(30, 91, 168, 0.16);
    color: var(--imtel-blue-dark);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.imtel-hero-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--imtel-red);
    box-shadow: 0 0 0 4px rgba(200, 32, 46, 0.12);
}

.imtel-hero-title {
    margin-bottom: 24px;
    color: var(--imtel-dark);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.imtel-hero-title span {
    color: var(--imtel-blue);
}

/* Typewriter word: width is locked to the fully-typed text via JS before the
   loop starts, so the rest of the title never shifts while it types/erases. */
.imtel-hero-typewriter {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
}

.imtel-hero-typewriter-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.imtel-hero-typewriter-text {
    color: var(--imtel-blue);
    font-weight: 700;
}

.imtel-hero-typewriter-cursor {
    display: inline-block;
    margin-left: 2px;
    color: var(--imtel-blue);
    font-weight: 400;
    animation: imtelCursorBlink 1s step-end infinite;
}

@keyframes imtelCursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .imtel-hero-typewriter-cursor {
        animation: none;
    }
}

.imtel-hero-subtitle {
    max-width: 58ch;
    margin-bottom: 34px;
    color: var(--imtel-gray);
    font-size: 18px;
    line-height: 1.8;
}

.imtel-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
}

.imtel-hero-btn-outline {
    margin-top: 14px;
}

/* ---------- Bottom ticker — the section's one deliberately dark element ---------- */
.imtel-hero-ticker {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 44px;
    overflow: hidden;
    background: var(--imtel-dark);
    border-top: 2px solid;
    border-image: linear-gradient(90deg, var(--imtel-blue), var(--imtel-red)) 1;
}

.imtel-hero-ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    white-space: nowrap;
    animation: imtelHeroTicker 32s linear infinite;
}

.imtel-hero-ticker:hover .imtel-hero-ticker-track {
    animation-play-state: paused;
}

.imtel-hero-ticker-item {
    display: inline-block;
    padding: 0 14px;
    color: var(--imtel-blue-light);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.imtel-hero-ticker-sep {
    color: var(--imtel-red-light);
    opacity: 0.7;
}

@keyframes imtelHeroTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .imtel-hero-photo-slide,
    .imtel-hero-ticker-track {
        animation: none;
        transition: none;
    }
}

@media (max-width: 991px) {
    .imtel-hero {
        min-height: 0;
        padding-top: calc(var(--imtel-header-offset, var(--imtel-topbar-h, 0px)) + 110px);
    }

    .imtel-hero.has-featured-overlay {
        padding-top: calc(var(--imtel-header-offset, var(--imtel-topbar-h, 0px)) + 148px);
    }

    .imtel-hero .container {
        padding-bottom: 50px;
    }

    .imtel-hero-content {
        max-width: none;
    }

    /* Below 992px the text spans the full width, so the photo can no longer
       sit beside it — it becomes a full-bleed, much fainter backdrop behind
       the text instead of disappearing outright. */
    .imtel-hero-photo {
        width: 100%;
    }

    .imtel-hero-photo-fade {
        background: rgba(250, 250, 250, 0.88);
    }

    .imtel-hero-photo-duotone {
        opacity: 0.3;
    }

    .imtel-hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .imtel-hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .imtel-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .imtel-hero-btn-outline {
        margin-top: 0;
    }

    .imtel-hero-ticker-item {
        font-size: 12px;
    }
}
