:root {
    --header-h: 72px;
}


/* ==========================================================================
   EXACT BEAUTIFUL GLASSMORPHIC DESIGN SYSTEM (MATCHING USER SCREENSHOT)
   ========================================================================== */

body {
    background-color: #0b1320;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* TOP BAR EXEC (EXACT SCREENSHOT CLONE) */
.semper-top-bar {
    display: none !important;
    background: #070d17 !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 10001 !important;
}

.semper-top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #cbd5e1;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 11.5px;
}

.top-bar-center-pill {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 14px;
}

/* MAIN HEADER (EXACT SCREENSHOT CLONE) */
.semper-main-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 72px !important;
    z-index: 10000 !important;
    background: rgba(11, 19, 32, 0.88) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) !important;
}

.semper-header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

.semper-nav > ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.semper-nav > ul > li > a,
.semper-nav .id-nav-link {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    transition: all 0.25s ease !important;
}

.semper-nav > ul > li > a.active,
.semper-nav .id-nav-link.active {
    background: rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

.semper-nav > ul > li > a:hover,
.semper-nav .id-nav-link:hover {
    color: #38bdf8 !important;
}

.header-action-btn {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* BUTTONS EXACT MATCH FROM SCREENSHOT */
.btn-hero-primary-blue {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.45) 0%, rgba(2, 132, 199, 0.8) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.7) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 12px 28px !important;
    border-radius: 24px !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.35) !important;
    transition: all 0.25s ease !important;
}

.btn-hero-primary-blue:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.5) !important;
}

.btn-hero-white-pill {
    background: #ffffff !important;
    color: #0b1320 !important;
    font-weight: 800 !important;
    padding: 12px 28px !important;
    border-radius: 24px !important;
    border: none !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25) !important;
    transition: all 0.25s ease !important;
}

.btn-hero-white-pill:hover {
    background: #f8fafc !important;
    transform: translateY(-2px) !important;
}

/* Eliminate gap between sticky header and hero slider */
.id-home-page #main-content,
#main-content:has(.hero-semper-light) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* SECTION 1: HERO SLIDER */
.hero-semper-light {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: #0f172a;
}

.hero-slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background image with cinematic camera motion (Ken Burns effect) */
.hero-slide-bg {
    position: absolute;
    inset: -6%; /* extra bleed to prevent white edges during camera motion */
    width: 112%;
    height: 112%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.0) translate(0, 0);
    will-change: transform;
    pointer-events: none;
    z-index: 1;
}

.hero-slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
}

/* Distinct subtle camera movement tailored to each category */
/* Slide 0 - Piscinas: Slow subtle zoom in with gentle diagonal drift */
@keyframes heroCamera0 {
    0% {
        transform: scale(1.0) translate(0, 0);
    }
    100% {
        transform: scale(1.08) translate(-1.2%, -0.8%);
    }
}

/* Slide 1 - Pozos: Slow cinematic diagonal reveal */
@keyframes heroCamera1 {
    0% {
        transform: scale(1.08) translate(1.2%, 0.6%);
    }
    100% {
        transform: scale(1.01) translate(-0.8%, -0.4%);
    }
}

/* Slide 2 - Jardines: Vertical upward crane push (ideal for vertical green wall) */
@keyframes heroCamera2 {
    0% {
        transform: scale(1.0) translate(0, 1.8%);
    }
    100% {
        transform: scale(1.08) translate(0, -1.2%);
    }
}

/* Slide 3 - Riego: Wide cinematic pan across the expansive lawn */
@keyframes heroCamera3 {
    0% {
        transform: scale(1.08) translate(-1.2%, 0.5%);
    }
    100% {
        transform: scale(1.01) translate(0.8%, -0.4%);
    }
}

.hero-slide.active .hero-slide-cam-0 {
    animation: heroCamera0 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-slide.active .hero-slide-cam-1 {
    animation: heroCamera1 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-slide.active .hero-slide-cam-2 {
    animation: heroCamera2 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-slide.active .hero-slide-cam-3 {
    animation: heroCamera3 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Subtle dark gradient overlay to ensure perfect contrast and text readability */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 19, 32, 0.28) 0%, rgba(11, 19, 32, 0.82) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-category-pill {
    display: inline-block;
    background: rgba(56, 189, 248, 0.22);
    border: 1.5px solid rgba(56, 189, 248, 0.7);
    color: #38bdf8;
    font-size: 15px !important;
    font-weight: 850 !important;
    letter-spacing: 1.5px !important;
    padding: 8px 22px !important;
    border-radius: 9999px;
    margin-bottom: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-slider-nav {
    position: absolute;
    bottom: 36px;
    left: 0;
    right: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    pointer-events: none;
}

.hero-slider-nav > * {
    pointer-events: auto;
}

.hero-arrow {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.25s ease;
}

.hero-arrow:hover {
    background: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
}

.hero-dots-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 28px;
    border-radius: 12px;
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* SECTION 2: 4 FACETS (MESH ANIMATED FLUID DARK) */


@keyframes gradientMeshAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.units-section-pill {
    display: inline-block;
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.units-section-title {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.unit-carousel-slide {
    display: none;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.unit-carousel-slide.active {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}

.unit-slide-media {
    position: relative;
    min-height: 420px;
}

.unit-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unit-slide-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(11, 19, 32, 0.85);
    backdrop-filter: blur(10px);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 16px;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.unit-slide-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.unit-slide-title {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.unit-slide-highlights li {
    font-size: 14px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.metrics-counter-bar {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
}

.metric-item-val {
    font-size: 32px;
    font-weight: 900;
    color: #38bdf8;
}

.metric-item-lbl {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 4px;
}

/* SECTION 3: FULLSCREEN PROJECTS */
.featured-projects-section {
    position: relative;
    width: 100% !important;
    height: calc(100vh - 72px) !important;
    min-height: 600px !important;
    overflow: hidden !important;
    background: #0b1320;
}

.fullscreen-project-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 60px 5% 50px 5%;
    box-sizing: border-box;
}

.fullscreen-project-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}

.fs-project-bg {
    position: absolute;
    inset: -6%;
    width: 112%;
    height: 112%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

.fullscreen-project-slide.active .fs-project-bg.fs-bg-anim-0 {
    animation: fsKenBurnsA 14s ease-in-out infinite alternate;
}
.fullscreen-project-slide.active .fs-project-bg.fs-bg-anim-1 {
    animation: fsKenBurnsB 14s ease-in-out infinite alternate;
}
.fullscreen-project-slide.active .fs-project-bg.fs-bg-anim-2 {
    animation: fsKenBurnsC 14s ease-in-out infinite alternate;
}
.fullscreen-project-slide.active .fs-project-bg.fs-bg-anim-3 {
    animation: fsKenBurnsD 14s ease-in-out infinite alternate;
}

@keyframes fsKenBurnsA {
    0% { transform: scale(1) translate(0%, 0%); }
    50% { transform: scale(1.08) translate(-1.8%, -1.2%); }
    100% { transform: scale(1.04) translate(1.2%, 0.8%); }
}

@keyframes fsKenBurnsB {
    0% { transform: scale(1.06) translate(1.2%, 0.8%); }
    50% { transform: scale(1) translate(-1%, -0.6%); }
    100% { transform: scale(1.08) translate(-1.5%, 1.2%); }
}

@keyframes fsKenBurnsC {
    0% { transform: scale(1.02) translate(-1.2%, 0.8%); }
    50% { transform: scale(1.08) translate(1.5%, -1%); }
    100% { transform: scale(1) translate(0%, 0%); }
}

@keyframes fsKenBurnsD {
    0% { transform: scale(1.08) translate(0%, -1.2%); }
    50% { transform: scale(1.02) translate(-1.4%, 1%); }
    100% { transform: scale(1.06) translate(1.2%, -0.6%); }
}

.featured-projects-section:hover .fullscreen-project-slide.active .fs-project-bg {
    filter: brightness(1.05) contrast(1.02);
}

.fs-project-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 19, 32, 0.45) 0%, rgba(11, 19, 32, 0.2) 40%, rgba(11, 19, 32, 0.85) 85%, rgba(11, 19, 32, 0.98) 100%);
}

.fs-project-content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 36px;
    box-sizing: border-box;
}

.fs-project-info {
    flex: 1;
    max-width: 680px;
}

.fs-project-cat-pill {
    display: inline-block;
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.fs-project-title {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.fs-project-location {
    color: #7dd3fc;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.fs-project-desc {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
    max-width: 580px;
    margin-bottom: 22px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.fs-project-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Slide Navigation Capsule */
.fs-project-nav {
    position: absolute;
    top: 85px;
    right: 5%;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(11, 19, 32, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 9999px;
    padding: 7px 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    user-select: none;
}

.fs-project-dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fs-project-counter {
    color: #38bdf8;
    font-size: 13px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 1px;
    margin-left: 4px;
}

.fs-project-spec-drawer {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 24px;
    padding: 24px;
    width: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.drawer-header {
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    padding-bottom: 8px;
}

.drawer-spec-key { color: #94a3b8; font-size: 12px; }
.drawer-spec-val { color: #ffffff; font-size: 12px; font-weight: 700; }

/* SECTION 4: URBAN CHALLENGES (PREMIUM DARK BLUE THEME) */
.sec4-light-beige {
    background-color: #070e1c !important;
    color: #f8fafc !important;
    padding: 100px 5% !important;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.sec4-title-dark { font-size: 34px; font-weight: 900; color: #ffffff !important; margin: 0; text-transform: uppercase; }
.sec4-title-color { font-size: 34px; font-weight: 900; color: #38bdf8 !important; margin: 4px 0 0 0; text-transform: uppercase; }
.sec4-desc { max-width: 520px; font-size: 14.5px; color: #94a3b8 !important; line-height: 1.65; }

.sec4-cards-grid {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sec4-vertical-card {
    position: relative;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.15);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.sec4-vertical-card:hover { transform: translateY(-8px); border-color: rgba(56, 189, 248, 0.45); }
.sec4-card-img { width: 100%; height: 100%; object-fit: cover; }

.sec4-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(7, 14, 28, 0.85) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sec4-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sec4-card-tag-icon { width: 12px; height: 12px; border: 2px solid #38bdf8; background: transparent; }

.sec4-controls-row {
    max-width: 1350px;
    margin: 30px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 96px 0 4%;
    box-sizing: border-box;
}

.sec4-sq-dot { width: 10px; height: 10px; border: 1px solid rgba(56, 189, 248, 0.4); background: transparent; cursor: pointer; display: inline-block; border-radius: 2px; }
.sec4-sq-dot.active { background: #38bdf8; border-color: #38bdf8; }

.sec4-arrow-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: #0c182c;
    color: #ffffff;
    font-size: 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sec4-arrow-btn:hover { background: #0284c7; color: #ffffff; border-color: #38bdf8; }

/* BLOQUE 5.1: MARCAS GLOBALES (CLEAN WHITE - USER IMAGE 3 REPLICA) */
.brands-white-section {
    background: #080f1e !important;
    color: #ffffff !important;
    padding: 70px 5% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brands-title-center {
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 40px 0;
}

.brands-title-color { color: #0284c7; }

.brands-grid-logos {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.brand-logo-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 28px;
    font-size: 14px;
    font-weight: 800;
    color: #334155;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* BLOQUE 5.2: TESTIMONIOS (PREMIUM DARK BLUE THEME) */
.testimonials-light-section {
    background: #091322 !important;
    color: #f8fafc !important;
    padding: 90px 5% !important;
    border-top: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
}

.test-split-top-card {
    max-width: 1350px;
    margin: 0 auto 30px auto;
    background: #e5e3dc;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.test-top-content { padding: 50px; display: flex; flex-direction: column; justify-content: space-between; }

.test-tag-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    width: fit-content;
}

.test-top-title { font-size: 22px; font-weight: 800; color: #1e293b; margin: 0 0 16px 0; line-height: 1.3; }

.test-bottom-2col {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.test-subcard {
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.test-subcard img { width: 100%; height: 100%; object-fit: cover; }

/* BLOQUE 5.3: PRESENCIA NACIONAL HONDURAS (ZIG-ZAG SPLIT - USER IMAGE 4 REPLICA) */
.honduras-split-section {
    background: #070e1c !important;
    color: #f8fafc !important;
    padding: 90px 5% !important;
}

.honduras-zigzag-row {
    max-width: 1300px;
    margin: 0 auto 60px auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.honduras-zigzag-row.reverse { grid-template-columns: 1.1fr 1fr; }

.honduras-frame-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.honduras-frame-img img { width: 100%; height: 380px; object-fit: cover; display: block; }

.corner-bracket-tl {
    position: absolute; top: -10px; left: -10px; width: 30px; height: 30px;
    border-top: 4px solid #0284c7; border-left: 4px solid #0284c7;
}

.corner-bracket-br {
    position: absolute; bottom: -10px; right: -10px; width: 30px; height: 30px;
    border-bottom: 4px solid #0284c7; border-right: 4px solid #0284c7;
}

.honduras-city-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: #e2e8f0; color: #0284c7; font-size: 11px; font-weight: 800;
    padding: 4px 12px; border-radius: 4px; margin-bottom: 16px; width: fit-content;
}

.honduras-city-title { font-size: 32px; font-weight: 900; color: #1e293b; margin: 0 0 16px 0; }
.honduras-city-desc { font-size: 15px; color: #475569; line-height: 1.7; margin-bottom: 24px; }

/* BLOQUE 5.4: CALCULADORA PENTAIR */
.energy-calc-section {
    background: linear-gradient(135deg, #022a4a 0%, #004d80 50%, #07192f 100%) !important;
    padding: 90px 5% !important;
    color: #ffffff !important;
}

/* SECTION 6.5 & 6.8: SIMULADOR IA & FAQ */
.ai-simulator-section { background: #0f172a !important; color: #ffffff !important; padding: 90px 5% !important; }
.faq-section { background: #08101e !important; color: #f8fafc !important; padding: 90px 5% !important; border-top: 1px solid rgba(56, 189, 248, 0.15) !important; border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important; }
.faq-question { background: #0c182b !important; color: #ffffff !important; border: 1px solid rgba(56, 189, 248, 0.2) !important; }
.faq-answer { background: #0c182b !important; color: #cbd5e1 !important; border: 1px solid rgba(56, 189, 248, 0.2) !important; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .sec4-cards-grid { grid-template-columns: 1fr 1fr !important; }
    .unit-carousel-slide.active { grid-template-columns: 1fr !important; }
    .test-split-top-card { grid-template-columns: 1fr !important; }
    .test-bottom-2col { grid-template-columns: 1fr !important; }
    .honduras-zigzag-row, .honduras-zigzag-row.reverse { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
    .sec4-cards-grid { grid-template-columns: 1fr !important; }
}


/* ==========================================================================
   INFINITE CONTINUOUS MOVING LOGO CAROUSEL (MARQUEE TICKER)
   ========================================================================== */
.brands-infinite-track {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
}

.brands-infinite-track::before,
.brands-infinite-track::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-infinite-track::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-infinite-track::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-infinite-content {
    display: inline-flex;
    gap: 24px;
    animation: logoMarqueeAnimation 25s linear infinite;
    width: max-content;
}

.brands-infinite-track:hover .brands-infinite-content {
    animation-play-state: paused;
}

@keyframes logoMarqueeAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ==========================================================================
   NEW SECTION 2, 8 (CALCULATOR) & 9 (AI SIMULATOR) UNIFIED DESIGN
   ========================================================================== */

/* --- SECTION 2: ECOSISTEMA & MÓDULOS DE DISEÑO (NEW SLEEK 4-CARD GRID UI) --- */
.sec2-redesign-grid {
    max-width: 1350px;
    margin: 40px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sec2-card-item {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.sec2-card-item:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
    box-shadow: 0 20px 45px rgba(56, 189, 248, 0.25);
}

.sec2-card-img-wrap {
    position: relative;
    height: 220px;
    width: 100%;
}

.sec2-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec2-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.sec2-card-title {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    margin: 10px 0 14px 0;
    line-height: 1.3;
}

.sec2-card-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sec2-card-bullets li {
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- SECTION 8: CALCULADORA PENTAIR (REDESIGNED UNIFIED LIGHT BEIGE / SLATE UI) --- */
.sec8-calc-redesign {
    background-color: #eae8e1 !important;
    color: #1e293b !important;
    padding: 90px 5% !important;
}

.sec8-calc-card {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    background: #0b1528;
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.sec8-result-box {
    background: #070f1e;
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

/* --- SECTION 9: SIMULADOR IA --- */
.sec9-ai-redesign {
    background-color: #070f1e !important;
    color: #ffffff !important;
    padding: 90px 5% !important;
}

.sec9-ai-card {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    background: #0b1528;
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.sec9-preset-btn {
    background: #0e1d38;
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    color: #e2e8f0;
    font-weight: 800;
    text-align: center;
    transition: all 0.25s ease;
}

.sec9-preset-btn.active, .sec9-preset-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

@media (max-width: 992px) {
    .sec2-redesign-grid { grid-template-columns: 1fr 1fr !important; }
    .sec8-calc-card, .sec9-ai-card { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
    .sec2-redesign-grid { grid-template-columns: 1fr !important; }
}


/* ==========================================================================
   SECTION 2 ANIMATED MESH & HIGH DYNAMIC GLOW CARDS
   ========================================================================== */
.business-units-showcase {
    background: linear-gradient(-45deg, #050d1a, #0a1b33, #082846, #0e3a60, #061124) !important;
    background-size: 400% 400% !important;
    animation: sec2GradientMesh 10s ease infinite !important;
    padding: 100px 5% !important;
    position: relative !important;
    overflow: hidden !important;
}

@keyframes sec2GradientMesh {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sec2-card-item {
    background: rgba(11, 19, 32, 0.85) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
}

.sec2-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.15), transparent);
    transition: 0.6s;
    pointer-events: none;
}

.sec2-card-item:hover::before {
    left: 100%;
}

.sec2-card-item:hover {
    transform: translateY(-12px) scale(1.02) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 30px 70px rgba(56, 189, 248, 0.35) !important;
}

.sec2-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sec2-card-item:hover .sec2-card-img-wrap img {
    transform: scale(1.08) !important;
}


/* ==========================================================================
   LIQUID WATER WAVE RIPPLE & SHIMMER BUTTON ANIMATIONS (NO EMOJIS - SVG ONLY)
   ========================================================================== */
.btn-hero-primary-blue,
.header-action-btn,
.ai-generate-btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0c4a6e 100%) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.85) !important;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45), inset 0 0 15px rgba(56, 189, 248, 0.35) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-hero-primary-blue::before,
.header-action-btn::before,
.ai-generate-btn::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(2, 132, 199, 0) 70%) !important;
    animation: waterLiquidWave 6s infinite linear !important;
    z-index: -1 !important;
    opacity: 0.85 !important;
}

.btn-hero-primary-blue::after,
.header-action-btn::after,
.ai-generate-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 70% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent) !important;
    transform: skewX(-25deg) !important;
    animation: waterShimmerFlow 3.5s infinite ease-in-out !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.btn-hero-primary-blue:hover,
.header-action-btn:hover,
.ai-generate-btn:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.65), inset 0 0 25px rgba(255, 255, 255, 0.6) !important;
    border-color: #7dd3fc !important;
}

.btn-hero-white-pill {
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35) !important;
    transition: all 0.35s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-hero-white-pill::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 70% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), transparent) !important;
    transform: skewX(-25deg) !important;
    animation: waterShimmerFlow 4s infinite ease-in-out !important;
}

.btn-hero-white-pill:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.55) !important;
    background: #f8fafc !important;
}

@keyframes waterLiquidWave {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes waterShimmerFlow {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}


/* ==========================================================================
   ULTRA-PREMIUM HEADER COTIZAR BUTTON
   ========================================================================== */
.header-action-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #00d2ff 100%) !important;
    background-size: 200% 200% !important;
    animation: liquidGradientMove 4s ease infinite !important;
    border: 1.5px solid #38bdf8 !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.4) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.header-action-btn:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.85), inset 0 0 15px rgba(255, 255, 255, 0.7) !important;
    border-color: #ffffff !important;
}

@keyframes liquidGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   SECTION 2 INTERACTIVE CAROUSEL STAGE & TAB SWITCHER
   ========================================================================== */
.sec2-stage-wrap {
    max-width: 1250px;
    margin: 30px auto 0 auto;
    position: relative;
}

.sec2-tab-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.sec2-tab-btn {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    color: #cbd5e1;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sec2-tab-btn.active, .sec2-tab-btn:hover {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.9), rgba(56, 189, 248, 0.7));
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.sec2-stage-card {
    background: rgba(11, 19, 32, 0.88);
    backdrop-filter: blur(24px);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 28px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    display: none;
    animation: sec2StageFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sec2-stage-card.active {
    display: grid;
}

@keyframes sec2StageFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.sec2-stage-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.sec2-stage-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sec2-stage-card:hover .sec2-stage-media img {
    transform: scale(1.06);
}

/* ==========================================================================
   HIGH-IMPACT CALCULATOR & AI SIMULATOR STYLES (LIGHT WHITE & WARM GRAY)
   ========================================================================== */
.sec8-calc-redesign {
    background: linear-gradient(135deg, #071930 0%, #0c2b52 50%, #0284c7 100%) !important;
    color: #ffffff !important;
    padding: 100px 5% !important;
    position: relative;
    border-top: 1px solid rgba(56, 189, 248, 0.25);
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
}

.sec8-calc-redesign .units-section-pill {
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
}

.sec8-calc-redesign .units-section-title {
    color: #ffffff !important;
}

.sec8-calc-redesign p {
    color: #cbd5e1 !important;
}

.sec8-calc-redesign .btn-hero-primary-blue {
    background: #ffffff !important;
    color: #071930 !important;
    font-weight: 850 !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25) !important;
}

.sec8-calc-redesign .btn-hero-primary-blue:hover {
    background: #f8fafc !important;
    transform: translateY(-2px) !important;
}

.sec8-calc-redesign .id-wide-image {
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
}

.sec8-calc-card {
    max-width: 1150px;
    margin: 40px auto 0 auto;
    background: #0b1528;
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    border-radius: 28px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.sec8-result-box {
    background: #070f1e;
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.sec9-ai-redesign {
    background: #070f1e !important;
    color: #ffffff !important;
    padding: 100px 5% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sec9-ai-redesign .units-section-pill {
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
}

.sec9-ai-redesign .units-section-title {
    color: #ffffff !important;
}

.sec9-ai-redesign p {
    color: #94a3b8 !important;
}

.sec9-ai-redesign .btn-hero-primary-blue {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35) !important;
}

.sec9-ai-redesign .btn-hero-primary-blue:hover {
    background: #0369a1 !important;
    transform: translateY(-2px) !important;
}

.sec9-ai-card {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    background: #0b1528;
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    border-radius: 28px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.sec9-preset-btn {
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    color: #334155;
    font-weight: 800;
    text-align: center;
    transition: all 0.3s ease;
}

.sec9-preset-btn.active, .sec9-preset-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.3);
}


/* ==========================================================================
   MASTER MOBILE & TABLET RESPONSIVE STYLES (320px - 768px)
   ========================================================================== */

/* --- TABLET & MOBILE GLOBAL OVERRIDES (<= 992px) --- */
@media (max-width: 992px) {
    .semper-header-container {
        padding: 0 4% !important;
    }

    .sec2-stage-card {
        grid-template-columns: 1fr !important;
        padding: 28px !important;
        gap: 24px !important;
    }
    
    .sec2-stage-media {
        height: 260px !important;
    }

    .sec8-calc-card,
    .sec9-ai-card {
        grid-template-columns: 1fr !important;
        padding: 30px !important;
        gap: 30px !important;
    }
}

/* --- MOBILE SPECIFIC OVERRIDES (<= 768px) --- */
@media (max-width: 768px) {
    /* HERO SLIDER MOBILE */
    .hero-semper-light {
        min-height: 90vh !important;
        padding-top: 90px !important;
    }

    .hero-slide {
        padding-top: 20px !important;
        padding-bottom: 74px !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-category-pill {
        font-size: 13px !important;
        padding: 7px 16px !important;
        margin-bottom: 14px !important;
        letter-spacing: 1.2px !important;
        display: inline-block !important;
    }

    .hero-slide h1 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 14px !important;
    }

    .hero-slide p {
        font-size: 13.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 22px !important;
    }

    .hero-slide .btn-hero-primary-blue,
    .hero-slide .btn-hero-white-pill {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding: 12px 18px !important;
        font-size: 12.5px !important;
    }

    .hero-slider-nav {
        bottom: 20px !important;
        right: auto !important;
        left: 5% !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    /* SECTION 2 INTERACTIVE STAGE MOBILE */
    .business-units-showcase {
        padding: 60px 4% !important;
    }

    .units-section-title {
        font-size: 24px !important;
    }

    .sec2-tab-nav {
        gap: 6px !important;
    }

    .sec2-tab-btn {
        font-size: 11px !important;
        padding: 8px 14px !important;
        flex: 1 1 calc(50% - 10px) !important;
        justify-content: center !important;
    }

    .sec2-stage-card {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    .sec2-stage-card h3 {
        font-size: 22px !important;
    }

    .sec2-stage-card p {
        font-size: 13.5px !important;
    }

    .metrics-counter-bar {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        padding: 20px !important;
        margin-top: 30px !important;
    }

    .metric-item-val {
        font-size: 28px !important;
    }

    /* SECTION 3 FULLSCREEN PROJECTS MOBILE */
    .featured-projects-section {
        height: auto !important;
        min-height: auto !important;
    }

    .fullscreen-project-slide {
        height: auto !important;
        min-height: auto !important;
        padding: 80px 4% 50px 4% !important;
        position: relative !important;
    }

    .fullscreen-project-slide > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
    }

    .fs-project-title {
        font-size: 24px !important;
    }

    .fs-project-desc {
        font-size: 13.5px !important;
    }

    .fs-project-spec-drawer {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px !important;
    }

    /* SECTION 4 SERVICES MOBILE */
    .sec4-light-beige {
        padding: 60px 4% !important;
    }

    .sec4-cards-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .sec4-vertical-card {
        height: 240px !important;
    }

    .sec4-card-tag {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }

    /* BLOQUE 5.1 MARCAS MOBILE */
    .brands-white-section {
        padding: 45px 4% !important;
    }

    .brands-title-center {
        font-size: 20px !important;
        margin-bottom: 25px !important;
    }

    .brand-logo-card {
        padding: 8px 14px !important;
        font-size: 11px !important;
    }

    /* BLOQUE 5.2 TESTIMONIOS MOBILE */
    .testimonials-light-section {
        padding: 60px 4% !important;
    }

    .test-split-top-card {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .test-top-img {
        height: 200px !important;
    }

    .test-bottom-2col {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .test-subcard {
        height: 200px !important;
    }

    /* BLOQUE 5.3 COBERTURA ZIGZAG MOBILE */
    .honduras-split-section {
        padding: 60px 4% !important;
    }

    .honduras-zigzag-row,
    .honduras-zigzag-row.reverse {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        flex-direction: column !important;
    }

    .honduras-frame-img {
        height: 220px !important;
    }

    .honduras-info-box {
        padding: 20px !important;
    }

    .honduras-city-title {
        font-size: 20px !important;
    }

    /* SECTION 8 CALCULADORA MOBILE */
    .sec8-calc-redesign {
        padding: 60px 4% !important;
    }

    .sec8-calc-card {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    .calc-savings-val {
        font-size: 32px !important;
    }

    .sec8-result-box {
        padding: 20px !important;
    }

    /* SECTION 9 SIMULADOR IA MOBILE */
    .sec9-ai-redesign {
        padding: 60px 4% !important;
    }

    .sec9-ai-card {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    /* FAQ & CTA BANNER MOBILE */
    .faq-section {
        padding: 60px 4% !important;
    }

    .faq-question {
        font-size: 14px !important;
        padding: 14px !important;
    }

    .final-cta-section {
        padding: 70px 4% !important;
    }

    .final-cta-section h2 {
        font-size: 22px !important;
    }

    /* FOOTER MOBILE */
    .semper-footer {
        padding: 50px 4% 25px 4% !important;
    }

    .semper-footer > div > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
}

/* --- SMALL MOBILE PHONES (<= 480px) --- */
@media (max-width: 480px) {
    .sec4-cards-grid {
        grid-template-columns: 1fr !important;
    }
    
    .sec2-tab-btn {
        flex: 1 1 100% !important;
    }
}


/* ==========================================================================
   ULTRA-CREATIVE GLASSMOBILE MENU DRAWER (RESPONSIVE MOVILES)
   ========================================================================== */

/* HAMBURGER TOGGLE BUTTON */
.mobile-nav-toggle {
    display: none;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
    z-index: 1000001;
}

.mobile-nav-toggle:hover, .mobile-nav-toggle.active {
    background: #0284c7;
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.7);
    transform: scale(1.05);
}

/* FULLSCREEN GLASS OVERLAY DRAWER */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    background: linear-gradient(135deg, rgba(7, 13, 23, 0.96) 0%, rgba(13, 25, 45, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 90px 8% 40px 8%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.mobile-drawer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-drawer-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-drawer-nav ul li a.active,
.mobile-drawer-nav ul li a:hover {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.9), rgba(56, 189, 248, 0.8));
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
    transform: translateX(6px);
}

.mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: flex !important;
    }

    .semper-nav {
        display: none !important;
    }
}


/* ==========================================================================
   PERFECT COMPACT MOBILE STYLES (ELIMINATE EMPTY SPACES & FIX MENU)
   ========================================================================== */

.mobile-nav-toggle {
    display: none;
    background: #0284c7 !important;
    border: 1.5px solid #ffffff !important;
    color: #ffffff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6) !important;
    z-index: 10000005 !important;
    position: relative !important;
}

.mobile-drawer-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000000 !important;
    background: rgba(7, 13, 23, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 85px 6% 30px 6% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-15px) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-drawer-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

@media (max-width: 992px) {
    .mobile-nav-toggle { display: flex !important; }
    .semper-nav { display: none !important; }
}

@media (max-width: 768px) {
    /* REMOVE HERO EMPTY GAP */
    .hero-semper-light {
        height: auto !important;
        min-height: auto !important;
        padding-top: 75px !important;
        padding-bottom: 60px !important;
    }

    .hero-slide {
        height: auto !important;
        min-height: auto !important;
        padding: 30px 0 !important;
    }

    .hero-slide h1 {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }

    .hero-slide p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
    }

    /* REMOVE SECTION 2 EMPTY GAP */
    .business-units-showcase {
        padding: 40px 16px !important;
    }

    .sec2-stage-card {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
        gap: 16px !important;
    }

    .sec2-stage-media {
        height: 200px !important;
    }

    .metrics-counter-bar {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 16px !important;
        margin-top: 24px !important;
    }

    .metric-item-val { font-size: 24px !important; }
    .metric-item-lbl { font-size: 11px !important; }

    /* REMOVE FULLSCREEN PROJECTS EMPTY GAP */
    .featured-projects-section {
        height: auto !important;
        min-height: auto !important;
    }

    .fullscreen-project-slide {
        height: auto !important;
        min-height: auto !important;
        padding: 40px 16px !important;
        position: relative !important;
        display: none;
    }

    .fullscreen-project-slide.active {
        display: block !important;
    }

    .fullscreen-project-slide > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .fs-project-title {
        font-size: 22px !important;
        margin: 8px 0 !important;
    }

    .fs-project-desc {
        font-size: 13px !important;
        margin-bottom: 16px !important;
    }

    .fs-project-spec-drawer {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px !important;
        margin-top: 15px !important;
    }

    /* REMOVE SECTION 4 EMPTY GAP */
    .sec4-light-beige {
        padding: 40px 16px !important;
    }

    .sec4-cards-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .sec4-vertical-card {
        height: 200px !important;
    }

    /* REMOVE BRANDS & TESTIMONIALS EMPTY GAP */
    .brands-white-section {
        padding: 35px 16px !important;
    }

    .testimonials-light-section {
        padding: 40px 16px !important;
    }

    .test-split-top-card {
        grid-template-columns: 1fr !important;
        padding: 16px !important;
        gap: 16px !important;
    }

    .test-top-img {
        height: 180px !important;
    }

    .test-bottom-2col {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .test-subcard {
        height: 180px !important;
    }

    /* REMOVE COBERTURA ZIGZAG EMPTY GAP */
    .honduras-split-section {
        padding: 40px 16px !important;
    }

    .honduras-zigzag-row,
    .honduras-zigzag-row.reverse {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 25px !important;
    }

    .honduras-frame-img {
        height: 190px !important;
    }

    .honduras-info-box {
        padding: 16px !important;
    }

    /* REMOVE CALCULATOR & AI SIMULATOR EMPTY GAP */
    .sec8-calc-redesign,
    .sec9-ai-redesign {
        padding: 40px 16px !important;
    }

    .sec8-calc-card,
    .sec9-ai-card {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
        gap: 20px !important;
        border-radius: 20px !important;
    }

    .sec8-result-box {
        padding: 18px !important;
    }

    .calc-savings-val {
        font-size: 30px !important;
    }

    /* REMOVE FAQ & FOOTER EMPTY GAP */
    .faq-section {
        padding: 40px 16px !important;
    }

    .final-cta-section {
        padding: 50px 16px !important;
    }

    .semper-footer {
        padding: 40px 16px 20px 16px !important;
    }
}

@media (max-width: 480px) {
    .sec4-cards-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   100VH FULLSCREEN SECTIONS FOR DESKTOP & MOBILE
   ========================================================================== */

/* ALL MAIN SECTIONS AT 100VH VIEWPORT HEIGHT WITH FLEX CENTERING */
.hero-semper-light,
.business-units-showcase,
.featured-projects-section,
.sec4-light-beige,
.brands-white-section,
.testimonials-light-section,
.honduras-split-section,
.sec8-calc-redesign,
.sec9-ai-redesign,
.faq-section,
.final-cta-section {
    min-height: 100vh !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 80px !important;
    padding-bottom: 40px !important;
}

/* ==========================================================================
   HIGH-END SAPPHIRE GLASSMOBILE MENU DRAWER (UNIFIED WITH SITE IDENTITY)
   ========================================================================== */

.mobile-nav-toggle {
    display: none;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.9), rgba(56, 189, 248, 0.8)) !important;
    border: 1.5px solid #38bdf8 !important;
    color: #ffffff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.4) !important;
    z-index: 10000005 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

.mobile-nav-toggle:hover, .mobile-nav-toggle.active {
    transform: scale(1.08) !important;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.9) !important;
    border-color: #ffffff !important;
}

.mobile-drawer-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000000 !important;
    background: linear-gradient(135deg, rgba(7, 13, 23, 0.97) 0%, rgba(10, 27, 51, 0.98) 50%, rgba(6, 17, 34, 0.97) 100%) !important;
    backdrop-filter: blur(35px) !important;
    -webkit-backdrop-filter: blur(35px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 100px 6% 40px 6% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.96) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-drawer-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
}

.mobile-drawer-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.mobile-drawer-nav ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 22px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(16px) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.3) !important;
    border-radius: 18px !important;
    color: #cbd5e1 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-drawer-nav ul li a.active,
.mobile-drawer-nav ul li a:hover {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.95), rgba(56, 189, 248, 0.85)) !important;
    color: #ffffff !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.5) !important;
    transform: translateX(8px) !important;
}

.mobile-drawer-nav ul li a .nav-num-badge {
    background: rgba(56, 189, 248, 0.25) !important;
    border: 1px solid rgba(56, 189, 248, 0.5) !important;
    color: #38bdf8 !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.mobile-drawer-nav ul li a.active .nav-num-badge,
.mobile-drawer-nav ul li a:hover .nav-num-badge {
    background: #ffffff !important;
    color: #0284c7 !important;
    border-color: #ffffff !important;
}

@media (max-width: 992px) {
    .mobile-nav-toggle { display: flex !important; }
    .semper-nav { display: none !important; }
}

@media (max-width: 768px) {
    .hero-semper-light,
    .business-units-showcase,
    .featured-projects-section,
    .sec4-light-beige,
    .brands-white-section,
    .testimonials-light-section,
    .honduras-split-section,
    .sec8-calc-redesign,
    .sec9-ai-redesign,
    .faq-section,
    .final-cta-section {
        min-height: 100vh !important;
        padding-top: 85px !important;
        padding-bottom: 35px !important;
    }

    .sec2-stage-media { height: 210px !important; }
    .sec4-vertical-card { height: 210px !important; }
    .honduras-frame-img { height: 200px !important; }
}


/* ==========================================================================
   FIXED GLASS HEADER & EDGE-TO-EDGE 100VH HERO SLIDER
   ========================================================================== */

.semper-main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100000 !important;
    background: rgba(11, 19, 32, 0.75) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
}

.hero-semper-light {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.hero-slider-track {
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
}

.hero-slide {
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 90px 0 106px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* SECTION PADDINGS CLEANUP */
.business-units-showcase,
.featured-projects-section,
.sec4-light-beige,
.brands-white-section,
.testimonials-light-section,
.honduras-split-section,
.sec8-calc-redesign,
.sec9-ai-redesign,
.faq-section,
.final-cta-section {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 80px 5% 40px 5% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .hero-semper-light,
    .hero-slider-track,
    .hero-slide {
        height: 100vh !important;
        min-height: 100vh !important;
    }

    .hero-slide {
        align-items: center !important;
        padding: 85px 0 60px 0 !important;
    }

    .business-units-showcase,
    .featured-projects-section,
    .sec4-light-beige,
    .brands-white-section,
    .testimonials-light-section,
    .honduras-split-section,
    .sec8-calc-redesign,
    .sec9-ai-redesign,
    .faq-section,
    .final-cta-section {
        min-height: 100vh !important;
        padding: 70px 4% 30px 4% !important;
    }
}


/* ==========================================================================
   COMPACT STRIP & NATURAL HEIGHT FOR MARQUEE & FAQ SECTIONS
   ========================================================================== */

.brands-white-section {
    min-height: auto !important;
    height: auto !important;
    padding: 45px 5% !important;
    background: #080f1e !important;
    color: #ffffff !important;
}

.faq-section {
    min-height: auto !important;
    height: auto !important;
    padding: 70px 5% !important;
    background: #08101e !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .brands-white-section {
        padding: 35px 4% !important;
    }
    
    .faq-section {
        padding: 50px 4% !important;
    }
}


/* ==========================================================================
   SECTION 2 – SPLIT-SCREEN REDESIGN (PREMIUM DARK BLUE THEME)
   ========================================================================== */

.sec2-split-redesign {
    background: #091222 !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    padding: 120px 5% 80px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    border-top: 1px solid rgba(56, 189, 248, 0.15);
}

.sec2-split-inner {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* LEFT */
.sec2-left-col { display: flex; flex-direction: column; }

.sec2-big-heading {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.1;
    margin: 16px 0 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.sec2-lead-text {
    font-size: 15px;
    color: #94a3b8 !important;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
}

.sec2-stats-row {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.sec2-stat { display: flex; flex-direction: column; gap: 4px; }
.sec2-stat-num { font-size: 32px; font-weight: 900; color: #38bdf8 !important; line-height: 1; }
.sec2-stat-lbl { font-size: 12px; color: #94a3b8 !important; text-transform: uppercase; letter-spacing: 1px; }

/* ACCORDION */
.sec2-accordion { display: flex; flex-direction: column; width: 100%; }

.sec2-accordion-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sec2-accordion-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.sec2-acc-hd {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    color: #f1f5f9 !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: color 0.2s;
}
.sec2-acc-hd:hover, .sec2-accordion-item.open .sec2-acc-hd { color: #38bdf8 !important; }
.sec2-accordion-item.open .sec2-acc-hd svg { transform: rotate(180deg); }
.sec2-acc-hd svg { transition: transform 0.3s ease; flex-shrink: 0; stroke: currentColor; }

.sec2-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.sec2-accordion-item.open .sec2-acc-body { max-height: 200px; }

.sec2-acc-body p {
    font-size: 14px;
    color: #cbd5e1 !important;
    line-height: 1.7;
    padding-bottom: 18px;
    margin: 0;
}

/* RIGHT */
.sec2-right-col { position: relative; }

.sec2-img-stack {
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.sec2-img-main {
    position: absolute;
    top: 0; left: 0;
    width: 82%;
    height: 80%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56, 189, 248, 0.25);
    animation: sec2FloatMain 7s ease-in-out infinite alternate;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    will-change: transform;
}

.sec2-img-main:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(2, 132, 199, 0.4), 0 0 0 2px rgba(14, 165, 233, 0.5);
}

.sec2-img-thumb {
    position: absolute;
    bottom: 0; right: 0;
    width: 52%;
    height: 48%;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(14, 165, 233, 0.3);
    animation: sec2FloatThumb 5.5s ease-in-out infinite alternate 0.6s;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    z-index: 2;
    will-change: transform;
}

.sec2-img-thumb:hover {
    transform: translateY(-10px) scale(1.05) rotate(-1deg);
    border-color: #38bdf8 !important;
    box-shadow: 0 32px 64px -10px rgba(14, 165, 233, 0.5);
}

.sec2-floating-badge {
    position: absolute;
    top: 20px;
    right: 32px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35);
    animation: sec2BadgePulse 4s ease-in-out infinite;
    pointer-events: none;
}

.sec2-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
    animation: sec2GlowDot 2s ease-in-out infinite;
}

.sec2-accent-line {
    position: absolute;
    bottom: 30px;
    left: -20px;
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #0284c7 0%, #38bdf8 50%, transparent 100%);
    border-radius: 4px;
    animation: sec2AccentPulse 3s ease-in-out infinite alternate;
}

@keyframes sec2FloatMain {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-12px) rotate(0.4deg);
    }
}

@keyframes sec2FloatThumb {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-16px) rotate(-1.2deg);
    }
}

@keyframes sec2BadgePulse {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.95;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@keyframes sec2GlowDot {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 14px #38bdf8;
    }
}

@keyframes sec2AccentPulse {
    0% {
        opacity: 0.6;
        filter: drop-shadow(0 0 2px #0284c7);
    }
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 8px #38bdf8);
    }
}

/* Mobile Menu is styled in content.css */


/* ==========================================================================
   CLEAN MOBILE RESPONSIVE  (reset all previous conflicting rules)
   ========================================================================== */

@media (max-width: 992px) {
    .mobile-nav-toggle { display: flex !important; }
    .semper-nav        { display: none  !important; }
}

@media (max-width: 900px) {
    .sec2-split-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sec2-big-heading { font-size: 36px; }
    .sec2-img-stack   { height: 360px; }
    .sec2-img-main    { width: 86%; height: 75%; }
    .sec2-img-thumb   { width: 48%; height: 44%; }
    .sec2-stats-row   { gap: 20px; }
    .sec2-stat-num    { font-size: 24px; }
}

@media (max-width: 768px) {
    /* HERO */
    .hero-semper-light, .hero-slider-track, .hero-slide {
        height: 100vh !important;
        min-height: 100vh !important;
    }
    .hero-slide h1 { font-size: 28px !important; }
    .hero-slide p  { font-size: 14px !important; }

    /* SECTION 2 */
    .sec2-split-redesign {
        padding: 100px 5% 60px !important;
    }
    .sec2-right-col { display: none; }
    .sec2-big-heading { font-size: 30px; }

    /* ALL FULL-SCREEN SECTIONS */
    .business-units-showcase,
    .featured-projects-section,
    .sec4-light-beige,
    .testimonials-light-section,
    .honduras-split-section,
    .sec8-calc-redesign,
    .sec9-ai-redesign,
    .final-cta-section {
        min-height: 100vh !important;
        padding-top: 90px !important;
        padding-bottom: 40px !important;
        box-sizing: border-box !important;
    }

    /* STRIP SECTIONS (no 100vh) */
    .brands-white-section { min-height: auto !important; padding: 40px 5% !important; }
    .faq-section          { min-height: auto !important; padding: 60px 5% !important; }

    /* SECTION 3 FULLSCREEN PROJECTS */
    .featured-projects-section { position: relative !important; }
    .fullscreen-project-slide  { padding: 100px 5% 40px !important; }
    .fs-project-title { font-size: 24px !important; }

    /* SECTION 4 GRID */
    .sec4-cards-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
    .sec4-vertical-card { height: 180px !important; }

    /* SECTION 5 TESTIMONIALS */
    .test-split-top-card  { grid-template-columns: 1fr !important; }
    .test-top-img         { height: 200px !important; }
    .test-bottom-2col     { grid-template-columns: 1fr !important; }

    /* SECTION 6 COBERTURA */
    .honduras-zigzag-row,
    .honduras-zigzag-row.reverse { grid-template-columns: 1fr !important; gap: 16px !important; }
    .honduras-frame-img { height: 200px !important; }

    /* SECTIONS 8 & 9 */
    .sec8-calc-card,
    .sec9-ai-card { grid-template-columns: 1fr !important; }

    /* FOOTER */
    .semper-footer { padding: 50px 5% 24px !important; }
    .footer-grid-4col { grid-template-columns: 1fr 1fr !important; }

    /* HEADER */
    .semper-header-container {
        padding: 0 5% !important;
    }
    .header-action-btn { display: none !important; }
}

@media (max-width: 480px) {
    .sec4-cards-grid { grid-template-columns: 1fr !important; }
    .footer-grid-4col { grid-template-columns: 1fr !important; }
    .sec2-stats-row { gap: 16px; }
    .mob-menu-link  { font-size: 34px; }
}


/* ==========================================================================
   SEC4  CAROUSEL
   ========================================================================== */

.sec4-light-beige {
    background: #070e1c !important;
    color: #f8fafc !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    padding: 100px 5% 60px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.sec4-inner { width: 100%; }

.sec4-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.sec4-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.sec4-carousel-track {
    display: flex;
    gap: 18px;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}

.sec4-slide {
    display: flex;
    gap: 18px;
    flex-shrink: 0;
    width: 100%;
}

.sec4-vertical-card {
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 420px;
    cursor: pointer;
}

.sec4-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.sec4-vertical-card:hover .sec4-card-img { transform: scale(1.04); }

.sec4-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,13,23,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.sec4-card-tag {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.8px;
}

.sec4-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.sec4-square-dots { display: flex; gap: 8px; }
.sec4-sq-dot {
    width: 28px; height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    transition: background 0.3s, width 0.3s;
    cursor: pointer;
}
.sec4-sq-dot.active { background: #0284c7; width: 48px; }

.sec4-arrow-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.sec4-arrow-btn:hover { background: #0284c7; color: #fff; border-color: #0284c7; }

/* ==========================================================================
   FEATURED PROJECTS  – fullscreen fix desktop & mobile
   ========================================================================== */

.featured-projects-section {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    overflow: hidden !important;
    display: block !important;
    padding: 0 !important;
}

.fullscreen-project-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    display: flex !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease !important;
    transform: scale(1.02);
    align-items: flex-end !important;
    padding: 80px 5% 60px !important;
    box-sizing: border-box !important;
}

.fullscreen-project-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
    z-index: 2 !important;
}

/* ==========================================================================
   FAQ & FINAL CTA SECTIONS – PREMIUM DARK BLUE THEME
   ========================================================================== */

.faq-section {
    background: #08101e !important;
    min-height: auto !important;
    padding: 90px 5% !important;
    display: block !important;
    box-sizing: border-box !important;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.faq-section .faq-big-title,
.faq-section .units-section-title {
    color: #ffffff !important;
}

.faq-section .units-section-pill {
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #38bdf8 !important;
}

.final-cta-section {
    background: linear-gradient(135deg, #03172e 0%, #075985 100%) !important;
    color: #ffffff !important;
    min-height: auto !important;
    padding: 100px 5% !important;
    text-align: center !important;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    box-sizing: border-box !important;
}

.final-cta-section h2 {
    color: #ffffff !important;
    font-size: clamp(28px, 3.8vw, 44px) !important;
    font-weight: 900 !important;
    margin: 0 0 16px !important;
}

.final-cta-section p {
    color: #e2e8f0 !important;
    max-width: 680px !important;
    margin: 0 auto 35px !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.final-cta-section .btn-hero-primary-blue {
    background: #ffffff !important;
    color: #03172e !important;
    border: none !important;
    font-weight: 850 !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25) !important;
}

.final-cta-section .btn-hero-primary-blue::before,
.final-cta-section .btn-hero-primary-blue::after {
    display: none !important;
}

.final-cta-section .btn-hero-primary-blue:hover {
    background: #f8fafc !important;
    transform: translateY(-2px) !important;
}

.final-cta-section .btn-hero-white-pill {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
}

.final-cta-section .btn-hero-white-pill::before,
.final-cta-section .btn-hero-white-pill::after {
    display: none !important;
}

.final-cta-section .btn-hero-white-pill:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

.faq-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.faq-left {
    position: sticky;
    top: 100px;
}

.faq-big-title {
    font-size: 40px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    margin: 16px 0 16px;
    text-transform: uppercase;
}

.faq-lead {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    max-width: 320px;
}

.faq-right { display: flex; flex-direction: column; }

.faq-new-item {
    border-bottom: 1px solid rgba(15,23,42,0.1);
}
.faq-new-item:first-child { border-top: 1px solid rgba(15,23,42,0.1); }

.faq-new-hd {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}
.faq-new-item.open .faq-new-hd,
.faq-new-hd:hover { color: #0284c7; }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s ease; }
.faq-new-item.open .faq-chevron { transform: rotate(180deg); }

.faq-new-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-new-item.open .faq-new-body { max-height: 300px; }
.faq-new-body p {
    font-size: 14px;
    color: #475569;
    line-height: 1.75;
    padding-bottom: 22px;
    margin: 0;
}

/* Mobile nav toggle */
.mobile-nav-toggle {
    display: none;
    background: linear-gradient(135deg, #0284c7, #38bdf8) !important;
    border: none !important;
    color: #fff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100001 !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 992px) {
    .mobile-nav-toggle { display: flex !important; }
    .semper-nav        { display: none  !important; }
    .header-action-btn { display: none  !important; }
}

@media (max-width: 768px) {
    /* HERO */
    .hero-semper-light, .hero-slider-track, .hero-slide {
        height: 100vh !important;
        min-height: 100vh !important;
    }
    .hero-slide h1 { font-size: 26px !important; line-height: 1.2 !important; }
    .hero-slide p  { font-size: 13px !important; }

    /* SEC2 */
    .sec2-split-redesign  { padding: 90px 5% 50px !important; }
    .sec2-right-col       { display: none !important; }
    .sec2-big-heading     { font-size: 28px !important; }
    .sec2-stats-row       { gap: 20px !important; }
    .sec2-stat-num        { font-size: 22px !important; }

    /* SEC3 FULLSCREEN PROJECTS MOBILE */
    .featured-projects-section {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .fullscreen-project-slide {
        padding: 85px 20px 85px 20px !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }
    .fs-project-overlay {
        background: linear-gradient(180deg, rgba(11, 19, 32, 0.85) 0%, rgba(11, 19, 32, 0.48) 32%, rgba(11, 19, 32, 0.82) 65%, rgba(11, 19, 32, 0.98) 100%) !important;
    }
    .fs-project-content-wrap {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .fs-project-info {
        width: 100% !important;
        max-width: 100% !important;
    }
    .fs-project-cat-pill {
        font-size: 10.5px !important;
        padding: 5px 12px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        max-width: 90% !important;
        display: inline-block !important;
    }
    .fs-project-title {
        font-size: 22px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        margin: 0 0 6px 0 !important;
    }
    .fs-project-location {
        font-size: 12px !important;
        margin-bottom: 8px !important;
        gap: 5px !important;
    }
    .fs-project-desc {
        font-size: 13px !important;
        line-height: 1.45 !important;
        margin-bottom: 14px !important;
        color: #cbd5e1 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .fs-project-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        padding-right: 56px !important;
        box-sizing: border-box !important;
    }
    .fs-project-actions .btn-hero-primary-blue,
    .fs-project-actions .btn-hero-white-pill {
        flex: 1 1 0 !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 10px 12px !important;
        font-size: 11px !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
    }
    .fs-project-spec-drawer {
        display: none !important;
    }
    /* Mobile Navigation Capsule at Bottom-Left */
    .fs-project-nav {
        top: auto !important;
        bottom: 16px !important;
        left: 16px !important;
        right: auto !important;
        padding: 4px 10px !important;
        gap: 6px !important;
        background: rgba(11, 19, 32, 0.88) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border: 1px solid rgba(56, 189, 248, 0.38) !important;
        border-radius: 9999px !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55) !important;
        z-index: 25 !important;
    }
    .fs-project-nav .hero-arrow {
        width: 26px !important;
        height: 26px !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.12) !important;
        border-radius: 50% !important;
    }
    .fs-project-dots {
        gap: 5px !important;
    }
    .fs-project-dots .hero-dot {
        width: 5px !important;
        height: 5px !important;
    }
    .fs-project-dots .hero-dot.active {
        width: 14px !important;
        background: #38bdf8 !important;
    }
    .fs-project-counter {
        font-size: 10.5px !important;
        margin-left: 2px !important;
        letter-spacing: 0.5px !important;
    }

    /* SEC4 CAROUSEL */
    .sec4-light-beige   { padding: 90px 5% 50px !important; }
    .sec4-header-row    { flex-direction: column !important; gap: 12px !important; }
    .sec4-vertical-card { height: 240px !important; }
    .sec4-slide         { gap: 10px !important; }

    /* SEC4: show 1 card at a time on mobile */
    .sec4-slide .sec4-vertical-card:nth-child(n+3) { display: none !important; }

    /* FAQ */
    .faq-inner {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .faq-left { position: static !important; }
    .faq-big-title { font-size: 28px !important; }

    /* TESTIMONIALS */
    .test-split-top-card  { grid-template-columns: 1fr !important; }
    .test-bottom-2col     { grid-template-columns: 1fr !important; }

    /* COBERTURA ZIGZAG */
    .honduras-zigzag-row,
    .honduras-zigzag-row.reverse { grid-template-columns: 1fr !important; }
    .honduras-frame-img { height: 200px !important; }

    /* CALC & AI */
    .sec8-calc-card, .sec9-ai-card { grid-template-columns: 1fr !important; }

    /* FOOTER */
    .semper-footer div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 480px) {
    .sec4-slide .sec4-vertical-card:nth-child(n+2) { display: none !important; }
    .mob-menu-link { font-size: 32px !important; }
    .faq-big-title { font-size: 24px !important; }
}


/* ==========================================================================
   HEADER-AWARE FULLSCREEN SECTIONS
   (header is sticky 72px, so content sections = 100vh - 72px)
   ========================================================================== */

.business-units-showcase,
.sec4-light-beige,
.testimonials-light-section,
.honduras-split-section,
.sec8-calc-redesign,
.sec9-ai-redesign,
.final-cta-section {
    min-height: calc(100vh - 72px) !important;
    box-sizing: border-box !important;
}

@media (min-width: 769px) {
    /* featured-projects desktop sizing */
    .featured-projects-section {
        height: calc(100vh - 72px) !important;
        min-height: calc(100vh - 72px) !important;
    }
}

/* Hero goes full 100vh / 100dvh behind the fixed glass header */
.hero-semper-light,
.hero-slider-track,
.hero-slide {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
}

/* Sec2 split-screen */
.sec2-split-redesign {
    min-height: 100vh !important;
    min-height: 100dvh !important;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .hero-semper-light,
    .hero-slider-track,
    .hero-slide {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }

    .business-units-showcase,
    .sec2-split-redesign,
    .sec4-light-beige,
    .testimonials-light-section,
    .honduras-split-section,
    .sec8-calc-redesign,
    .sec9-ai-redesign,
    .final-cta-section {
        min-height: calc(100vh - 72px) !important;
    }
}


/* ==========================================================================
   TESTIMONIALS – EDITORIAL SHOWCASE (PREMIUM DARK BLUE THEME)
   ========================================================================== */

.testimonials-light-section {
    background: #091322 !important;
    min-height: calc(100vh - 72px) !important;
    display: flex !important;
    align-items: center !important;
    padding: 80px 5% 60px !important;
    box-sizing: border-box !important;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.testi-inner {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* HEADER */
.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.testi-big-title {
    font-size: 46px;
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.1;
    margin: 14px 0 0;
    text-transform: uppercase;
}

.testi-title-accent { color: #38bdf8 !important; }

.testi-lead {
    font-size: 14px;
    color: #94a3b8 !important;
    line-height: 1.7;
    max-width: 440px;
    margin: 0;
}

/* TESTI CAROUSEL CONTROLS & TABS */
.testi-header-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    padding-right: clamp(10px, 5vw, 84px);
    box-sizing: border-box;
}

.testi-nav-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0c182b;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 9999px;
    padding: 4px 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.testi-nav-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0f1f38;
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testi-nav-arrow:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #38bdf8;
    transform: scale(1.05);
}

.testi-dots-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px;
}

.testi-dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.testi-dot.active {
    background: #38bdf8;
    width: 18px;
    border-radius: 4px;
}

.testi-counter {
    font-size: 12px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #38bdf8;
    letter-spacing: 0.5px;
    padding: 0 4px;
}

/* Category & Project Pills Bar */
.testi-pills-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testi-pills-bar::-webkit-scrollbar {
    display: none;
}

.testi-pill-btn {
    white-space: nowrap;
    padding: 7px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    background: #0c182b;
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.25s ease;
}

.testi-pill-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    color: #ffffff;
}

.testi-pill-btn.active {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* Slide Transition Animations */
.testi-slide-fade {
    animation: testiFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes testiFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FEATURED ROW */
.testi-featured-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* LEFT IMAGE */
.testi-feat-img-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 440px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.testi-feat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.testi-feat-img-wrap:hover .testi-feat-img { transform: scale(1.03); }

.testi-feat-img-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(7,14,28,0.95) 0%, transparent 100%);
    padding: 28px 24px 24px;
}

.testi-img-tag {
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.testi-feat-img-caption h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin: 6px 0 4px;
}

.testi-feat-img-caption p {
    color: #cbd5e1;
    font-size: 13px;
    margin: 0;
}

/* RIGHT QUOTE */
.testi-feat-quote-wrap {
    background: #0c192d !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 18px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.testi-quote-mark {
    font-size: 80px;
    line-height: 0.7;
    color: #38bdf8;
    font-weight: 900;
    opacity: 0.3;
}

.testi-quote-text {
    font-size: 18px;
    color: #f1f5f9 !important;
    line-height: 1.75;
    font-style: italic;
    margin: 0;
    flex: 1;
}

.testi-quote-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testi-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #38bdf8;
}
.testi-author-avatar.small { width: 34px; height: 34px; }

.testi-author-name { font-size: 14px; font-weight: 800; color: #ffffff !important; }
.testi-author-name.small { font-size: 13px; }
.testi-author-role { font-size: 12px; color: #94a3b8 !important; }

.testi-feat-stats {
    display: flex;
    gap: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testi-feat-stat { display: flex; flex-direction: column; gap: 3px; }
.testi-stat-n { font-size: 26px; font-weight: 900; color: #38bdf8 !important; line-height: 1; }
.testi-stat-l { font-size: 11px; color: #94a3b8 !important; text-transform: uppercase; letter-spacing: 0.8px; }

/* MINI CARDS ROW */
.testi-mini-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testi-mini-card {
    background: #0b1528 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.testi-mini-card:hover {
    border-color: #38bdf8 !important;
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.25) !important;
}

.testi-mini-img-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
}
.testi-mini-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.testi-mini-card:hover .testi-mini-img-wrap img { transform: scale(1.05); }

.testi-mini-tag {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 10px;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(11, 21, 40, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.8px;
}

.testi-mini-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.testi-mini-body p {
    font-size: 13.5px;
    color: #cbd5e1 !important;
    line-height: 1.65;
    font-style: italic;
    margin: 0;
}
.testi-mini-author { display: flex; align-items: center; gap: 10px; }
.testi-mini-author .testi-author-name { color: #ffffff !important; font-weight: 700; }
.testi-mini-author .testi-author-role { color: #94a3b8 !important; }

/* MOBILE */
@media (max-width: 900px) {
    .testi-featured-row { grid-template-columns: 1fr; }
    .testi-feat-img-wrap { min-height: 280px; }
    .testi-big-title { font-size: 32px; }
}

@media (max-width: 768px) {
    .testi-mini-row { grid-template-columns: 1fr; }
    .testi-header { flex-direction: column; gap: 16px; align-items: flex-start; }
    .testi-header-controls { align-items: flex-start; width: 100%; gap: 12px; }
    .testi-nav-group { width: 100%; justify-content: space-between; }
    .testi-pills-bar { gap: 6px; margin-top: -6px; }
    .testi-pill-btn { padding: 6px 12px; font-size: 11px; }
    .testi-big-title { font-size: 26px; }
    .testi-feat-quote-wrap { padding: 24px; }
    .testi-quote-text { font-size: 15px; }
}


/* ==========================================================================
   INVERSIONES DIVERSAS FLOATING CAPSULE HEADER & 4-COLUMN MEGA MENUS
   ========================================================================== */

/* Floating Pill Header - Dark Glass & Dynamic Scroll/Dock Behavior */
.nomad-floating-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    pointer-events: none;
    box-sizing: border-box;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating pill state: triggers only when actively scrolling */
.nomad-floating-header.is-scrolling {
    top: 14px;
}

.nomad-pill-container {
    pointer-events: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 84px;
    background: rgba(11, 19, 32, 0.90);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(32px, calc((100% - 1440px) / 2));
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
    position: relative;
    z-index: 100;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.35s ease,
                border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border 0.35s ease,
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.35s ease,
                box-shadow 0.4s ease;
}

/* Capsule pill mode during scroll motion */
.nomad-floating-header.is-scrolling .nomad-pill-container {
    width: calc(100% - 48px);
    max-width: 1400px;
    height: 72px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(11, 19, 32, 0.82);
    backdrop-filter: blur(22px) saturate(190%);
    -webkit-backdrop-filter: blur(22px) saturate(190%);
    padding: 0 20px 0 28px;
    box-shadow: 0 20px 40px -6px rgba(0, 0, 0, 0.55), 
                0 4px 16px rgba(0, 0, 0, 0.35), 
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
}

/* Brand Logo */
.nomad-logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding-right: 22px;
    flex-shrink: 0;
}

.nomad-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    transition: height 0.3s ease;
}

.nomad-floating-header.is-scrolling .nomad-logo-img {
    height: 48px;
}

/* Desktop Navigation List */
.nomad-desktop-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.nomad-nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nomad-nav-item {
    position: static;
    height: 100%;
    display: flex;
    align-items: center;
}

.nomad-nav-link {
    font-family: inherit;
    font-size: 15px;
    font-weight: 650;
    color: #e2e8f0;
    text-decoration: none;
    padding: 9px 16px;
    border-radius: 9999px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}

@media (max-width: 1260px) {
    .nomad-nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
}

.nomad-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Active or open tab with official Inversiones Diversas Royal Blue */
.nomad-nav-link.active,
.nomad-nav-item.is-open > .nomad-nav-link {
    background: #264798 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(38, 71, 152, 0.45);
}

.nomad-nav-badge {
    background: #2e73b7;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Right Side Actions */
.nomad-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Eye-Catching Animated Cotizar CTA Button */
.nomad-quote-btn {
    position: relative;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #0369a1 100%);
    background-size: 200% 200%;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 850;
    letter-spacing: 0.9px;
    padding: 11px 26px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.65), 0 4px 14px rgba(2, 132, 199, 0.4);
    animation: nomadQuotePulse 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite, nomadGradientFlow 6s ease infinite;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shimmer beam that sweeps across the button */
.nomad-quote-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 45%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: nomadShimmerSweep 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes nomadQuotePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7), 0 4px 14px rgba(2, 132, 199, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(2, 132, 199, 0), 0 6px 20px rgba(2, 132, 199, 0.65);
        transform: scale(1.035);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0), 0 4px 14px rgba(2, 132, 199, 0.4);
        transform: scale(1);
    }
}

@keyframes nomadGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes nomadShimmerSweep {
    0%, 30% {
        left: -80%;
    }
    60%, 100% {
        left: 150%;
    }
}

.nomad-quote-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.8), 0 8px 24px rgba(2, 132, 199, 0.5);
    background-position: 100% 50%;
}

.nomad-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(11, 19, 32, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.nomad-mobile-toggle:hover {
    background: rgba(38, 71, 152, 0.9);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

/* Dimmed backdrop overlay when dropdown is open */
.nomad-dropdown-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 19, 32, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s;
}

.nomad-dropdown-backdrop.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mega Menu Card with Dark Glass effect */
.nomad-mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 1080px;
    max-width: calc(100vw - 48px);
    background: rgba(11, 19, 32, 0.94);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-radius: 26px;
    padding: 32px 36px;
    box-shadow: 0 28px 60px -10px rgba(0, 0, 0, 0.65), 
                0 6px 20px rgba(0, 0, 0, 0.4), 
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
    z-index: 120;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
}

/* Hover bridge: keeps hover intact when crossing gap */
.nomad-mega-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: transparent;
}

.nomad-mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nomad-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.nomad-mega-col {
    display: flex;
    flex-direction: column;
}

.nomad-col-img-wrap {
    width: 100%;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 14px;
    display: block;
    position: relative;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nomad-col-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.nomad-col-img-wrap:hover {
    border-color: #38bdf8;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.nomad-col-img-wrap:hover .nomad-col-img {
    transform: scale(1.06);
}

.nomad-col-title {
    font-size: 16px;
    font-weight: 800;
    color: #60a5fa;
    margin: 0 0 12px 0;
    letter-spacing: -0.2px;
}

.nomad-col-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nomad-col-link {
    font-size: 13.5px;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.15s ease;
    line-height: 1.4;
    border-radius: 6px;
    padding: 3px 6px;
    margin-left: -6px;
}

.nomad-col-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
    transform: translateX(3px);
}

/* Badges */
.badge-hot {
    background: #ea580c;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge-seller {
    background: #264798;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge-nuevo {
    background: #2e73b7;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge-exp {
    background: #1e3a8a;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Responsive Header */
@media (max-width: 1060px) {
    .nomad-desktop-nav,
    .nomad-mega-menu,
    .nomad-dropdown-backdrop {
        display: none !important;
    }
    .nomad-mobile-toggle {
        display: flex !important;
    }
    .nomad-pill-container {
        height: 68px;
        width: 100%;
        border-radius: 0;
        padding: 0 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        border-top: none;
        border-left: none;
        border-right: none;
    }
    .nomad-floating-header.is-scrolling .nomad-pill-container {
        height: 60px;
        width: calc(100% - 24px);
        border-radius: 9999px;
        padding: 0 12px 0 18px;
        border: 1px solid rgba(255, 255, 255, 0.16);
    }
    .nomad-logo-img {
        height: 48px;
    }
    .nomad-floating-header {
        top: 0;
    }
    .nomad-floating-header.is-scrolling {
        top: 10px;
    }
}

@media (max-width: 768px) {
    .nomad-quote-btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
    .nomad-pill-container {
        height: 64px;
        padding: 0 14px;
    }
    .nomad-floating-header.is-scrolling .nomad-pill-container {
        height: 56px;
        width: calc(100% - 16px);
        padding: 0 8px 0 14px;
    }
    .nomad-logo-img {
        height: 42px;
    }
    .nomad-floating-header {
        top: 0;
    }
    .nomad-floating-header.is-scrolling {
        top: 8px;
    }
}

/* ==========================================================================
   ANIMATED 3D MASCOT WITH WHATSAPP (INVERSIONES DIVERSAS)
   ========================================================================== */

.id-wa-floating-wrap {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Speech bubble */
.id-wa-bubble {
    pointer-events: auto;
    background: #ffffff;
    color: #0f172a;
    font-size: 11px;
    font-weight: 750;
    padding: 5px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    margin-right: 4px;
    border: 1px solid rgba(38, 71, 152, 0.15);
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    text-decoration: none !important;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s ease;
    z-index: 3;
}

.id-wa-bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 18px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ffffff;
}

.id-wa-bubble-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25d366;
    display: inline-block;
    box-shadow: 0 0 7px #25d366;
    animation: idGreenDotPulse 1.8s ease-in-out infinite;
}

.id-wa-trigger {
    pointer-events: auto;
    display: block;
    text-decoration: none !important;
    position: relative;
    cursor: pointer;
}

/* Mascot Hero with 3D WhatsApp badge in hand - Refined Eye-Catching Scale */
.id-wa-mascot-hero {
    position: relative;
    display: block;
    width: 82px;
}

.id-wa-mascot-full-img {
    width: 82px;
    height: auto;
    aspect-ratio: 674 / 922;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32)) drop-shadow(0 3px 8px rgba(37, 211, 102, 0.28));
    transform-origin: 62.5% 95%;
    animation: idMascotHeroFloat 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Ground shadow positioned directly under the mascot's feet (x=62.5%) */
.id-wa-mascot-floor-shadow {
    position: absolute;
    bottom: -3px;
    left: 62.5%;
    transform: translateX(-50%);
    width: 54px;
    height: 9px;
    background: radial-gradient(
        ellipse 50% 50% at 50% 50%,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.28) 45%,
        rgba(0, 0, 0, 0.08) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(1px);
    animation: idMascotFloorShadow 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

@keyframes idMascotFloorShadow {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.85;
    }
    30% {
        transform: translateX(-50%) scale(0.72);
        opacity: 0.38;
    }
    60% {
        transform: translateX(-50%) scale(0.92);
        opacity: 0.72;
    }
    80% {
        transform: translateX(-50%) scale(0.78);
        opacity: 0.48;
    }
}

/* Dynamic State on SCROLL (user is actively scrolling - non-blocking) */
.id-wa-floating-wrap.is-scrolling {
    opacity: 0.22;
    pointer-events: none !important;
}

.id-wa-floating-wrap.is-scrolling * {
    pointer-events: none !important;
}

.id-wa-floating-wrap.is-scrolling .id-wa-bubble {
    opacity: 0;
    transform: translateY(8px) scale(0.85);
}

.id-wa-floating-wrap.is-scrolling .id-wa-mascot-full-img {
    animation-play-state: paused;
    transform: scale(0.78) translateY(3px);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.id-wa-floating-wrap.is-scrolling .id-wa-mascot-floor-shadow {
    transform: translateX(-50%) scale(0.6);
    opacity: 0.3;
}

/* Hover Interactions when idle */
.id-wa-floating-wrap:not(.is-scrolling) .id-wa-trigger:hover .id-wa-mascot-full-img {
    transform: translateY(-5px) scale(1.06) rotate(1.5deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 12px rgba(37, 211, 102, 0.45));
}

.id-wa-floating-wrap:not(.is-scrolling) .id-wa-trigger:hover .id-wa-mascot-floor-shadow {
    transform: translateX(-50%) scale(0.75);
    opacity: 0.35;
}

.id-wa-floating-wrap:not(.is-scrolling) .id-wa-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 71, 152, 0.22);
}

/* Close / Dismiss Toggle Button */
.id-wa-close-btn {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #94a3b8;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.id-wa-floating-wrap:hover .id-wa-close-btn {
    opacity: 1;
}

.id-wa-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.15);
}

/* Minimized Pill State */
.id-wa-minimized {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0c182b;
    border: 1px solid rgba(37, 211, 102, 0.4);
    padding: 5px 12px 5px 6px;
    border-radius: 9999px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    text-decoration: none !important;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.id-wa-minimized:hover {
    transform: translateY(-2px);
    border-color: #25d366;
}

.id-wa-min-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
    flex-shrink: 0;
}

.id-wa-min-text {
    font-size: 11px;
    font-weight: 750;
    color: #e2e8f0;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.id-wa-restore-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px 2px 2px 6px;
    font-size: 11px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.id-wa-restore-btn:hover {
    color: #38bdf8;
}

/* Breathing / Floating Animation */
@keyframes idMascotHeroFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    30% {
        transform: translateY(-4px) rotate(1.2deg) scale(1.015);
    }
    60% {
        transform: translateY(-1.5px) rotate(-1deg) scale(0.995);
    }
    80% {
        transform: translateY(-3px) rotate(0.6deg) scale(1.01);
    }
}

@keyframes idGreenDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

/* Mobile adjustments (non-obstructive compact footprint) */
@media (max-width: 640px) {
    .id-wa-floating-wrap {
        right: 10px;
        bottom: 12px;
    }
    .id-wa-mascot-hero {
        width: 62px;
    }
    .id-wa-mascot-full-img {
        width: 62px;
    }
    .id-wa-mascot-floor-shadow {
        width: 40px;
        height: 6px;
        bottom: -2px;
    }
    .id-wa-floating-wrap.is-scrolling .id-wa-mascot-full-img {
        transform: scale(0.75) translateY(2px);
    }
    .id-wa-floating-wrap.is-scrolling .id-wa-mascot-floor-shadow {
        transform: translateX(-50%) scale(0.6);
        opacity: 0.3;
    }
    /* Hide wide speech bubble on mobile so it NEVER covers CTAs or buttons */
    .id-wa-bubble {
        display: none !important;
    }
    .id-wa-close-btn {
        display: none !important;
    }
    .id-wa-minimized {
        right: 10px;
        bottom: 10px;
        padding: 4px 8px 4px 4px;
    }
    .id-wa-min-icon {
        width: 26px;
        height: 26px;
    }
    .id-wa-min-text {
        font-size: 10px;
    }
}

/* When lightbox modal is open, completely hide floating navbar and widgets */
body.lightbox-open .nomad-floating-header,
body.lightbox-open .id-wa-floating-wrap,
body.lightbox-open .id-wa-minimized {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}


