/* ==========================
NAVBAR & FOOTER CSS
========================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

:root {
    --header-top-height: 64px;
    --header-safe-top: 64px;
    --header-top-real: 64px;
    --header-main-real: 64px;
    --social-size: 44px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.projects-indicators {
    display: none;
}
.coverage-locations-mobile{
    display: none;
}

.allies-indicators{
    display: none;
}

/* ======= HEADER TOP ======= */

.header-top {
    width: 100%;
    background: #0e2a4a;
    padding: 20px;
    position: relative;
    border-bottom: 3px solid rgba(0,0,0,0.55);
    box-shadow: 0 12px 18px -12px rgba(0,0,0,0.65);
}
.mobile-menu-toggle {
    position: absolute;
    left: 16px;
    top: var(--header-top-real);
    transform: translateY(-50%);
    z-index: 11990;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.28);
    background: linear-gradient(to bottom, #0e2a4a 50%, #24335c 50%);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mobile-menu-toggle .navbar-toggler-icon {
    width: 1.75em;
    height: 1.75em;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.header-main-wrapper.is-stuck .mobile-menu-toggle {
    top: calc(var(--header-main-real) / 2);
    background: linear-gradient(to bottom, #223f75, #24335c);
}
.menu-toggle-hidden { display: none !important; }
.offcanvas.theme-menu { background: linear-gradient(to right, #0c2f5b, #032447); color: #dbe9ff; }
.offcanvas.theme-menu .offcanvas-header { border-bottom: 1px solid rgba(145,154,170,0.35); }
.offcanvas.theme-menu .offcanvas-title { color: #aee9ff; }
.offcanvas.theme-menu .btn-close { filter: invert(1); opacity: .9; }
.offcanvas.theme-menu .nav-links { flex-direction: column; gap: 16px; }
.offcanvas.theme-menu .nav-links a { color: #dbe9ff; }
.offcanvas.theme-menu .nav-links a:hover { color: #09c3ff; }
.offcanvas.theme-menu .nav-links a.active { color: #aee9ff; border: 2px solid #09c3ff; border-radius: 12px; padding: 6px 12px; }

.wa-hidden { display: none !important; }

.social-icons img {
    width: 28px;
    height: 28px;
    margin-left: 10px;
}

.banner-info img {
   margin-top: 0;
}

/* ======= NAVBAR ======= */

.header-main {
    background: linear-gradient(to right, #223f75, #24335c, #223f75);
    padding-top: 26px;
    padding-bottom: 15px;
    border-top: 3px solid #314f7d;
    position: relative;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}


.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    justify-self: center;
    --overlay-gap: 280px;
    --logo-left-gap: -24px;
    --social-right-gap: 10px;
}

/* Menú */
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    justify-content: center;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 16px;
    color: #dbe9ff;
    transition: .2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
    border: 2px solid transparent;
    border-radius: 14px;
}

.nav-links a:hover {
    color: #09c3ff;
}


.nav-links a:hover {
    color: #aee9ff;
    border-color: #09c3ff;
}


/* WhatsApp chip unificado */

.whatsapp-btn {
    position: absolute;
    right: 0;
    bottom: -24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #1c3f71;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 12px 36px 12px 20px;
    border-radius: 28px;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    overflow: visible;
    z-index: 6;
}

.wa-icon {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 7;
}
.wa-icon img {
    width: 58px;
    height: 58px;
    display: block;
}

.wa-label {
    flex: 1 1 auto;
    text-align: center;
    line-height: 1;
    display: block;
    padding-left: 34px;
}

/* ==========================
Footer
========================== */

.footer {
    background: #164375;
    color: #ffffff;
}

.footer-top {
    width: 100%;
    margin: 0 auto;
    padding: 45px 270px 60px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(600px, 2fr) minmax(220px, 1fr);
    gap: 24px;
    column-gap: 64px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    position: relative;
}

.footer-brand {
    padding: 0;
    position: absolute;
    top: 60px !important;
    left: 0;
    z-index: 7;
}

.footer-brand img {
    width: 300px !important;
}

.footer-logo-badge {
    background: #ffffff;
    display: inline-block;
    padding: 22px 26px 20px; /* más espacio para un logo más grande */
    border-radius: 0 0 52px 0;
    box-shadow: 0 18px 30px rgba(0,0,0,.20);
}

.footer-logo-badge img {
    width: 300px; /* antes 220px — ahora más grande */
    height: auto;
    display: block;
}

.footer-hours {
    background: #193762;
    border-radius: 14px;
    padding: 16px 24px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    justify-self: center;
}

.footer-hours h3 {
    color: #59a9d6;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-hours p { 
    color: #dbe9ff;
    line-height: 1.4;
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    position: relative;
    width: 320px;
    justify-self: end;
}

.footer-links a {
    color: #dbe9ff;
    text-decoration: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
    border: 2px solid transparent;
    border-radius: 14px;
    transition: .2s ease-in-out;
}

.footer-links a:hover {
    border-color: #09c3ff;
}

.footer-mid {
    background: #0e2a4a;
    min-height: 120px;
    padding: 40px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-wa-center {
    position: absolute !important;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
}

.footer-social-center {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 12px;
}

.footer-social-center img {
    width: 40px;
    height: 40px;
}

.footer-bottom {
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 95%;
}

.footer-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    place-items: center;
    text-align: center;
    width: 100%;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background: rgba(207, 230, 255, 0.15);
    margin: 20px 0;
}

.footer-address-extra {
    color: #cfe6ff;
    font-size: 16px;
    text-align: center;
}

.fb-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #cfe6ff;
    font-size: 16px;
}

.fb-item .fb-icon { font-size: 25px; color: #f0a64e; }

.fb-item a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.fb-item a:hover {
    text-decoration: underline;
}


.social-center {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 14px;
    z-index: 6;
}

.social-center img {
    width: calc(var(--social-size) * 0.9);
    height: calc(var(--social-size) * 0.9);
}

.wa-chip-footer {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #1c3f71;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 12px 36px 12px 20px;
    border-radius: 28px;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    z-index: 6;
}

.wa-chip-footer .wa-chip-icon {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wa-chip-footer .wa-chip-icon img {
    width: 55px;
    height: 55px;
    display: block;
}

.wa-chip-footer .wa-chip-label {
    white-space: nowrap;
    flex: 1 1 auto;
    text-align: center;
    line-height: 1;
    display: block;
    padding-left: 34px;
}
.wa-chip-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: #1c3f71;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 12px 20px;
    border-radius: 24px;
    box-shadow: 0 8px 18px rgba(0,0,0,.16);
    margin-top: 18px;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.wa-chip-contact:hover {
    background: #244c86;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0,0,0,.18);
}
.wa-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wa-chip-icon img {
    width: 38px;
    height: 35px;
    display: block;
    border-radius: 50%;
    padding: 2px;
}
.wa-chip-contact .wa-chip-label {
    white-space: nowrap;
    line-height: 1;
    display: block;
}
.header-logo { justify-self: start; }
.header-top .header-logo { position: absolute; left: 40px; top: -18px; z-index: 8; }

.header-logo .logo-badge { background: #ffffff; display: inline-block; padding: 16px 18px 14px; border-radius: 0 0 42px 0; box-shadow: 0 14px 24px rgba(0,0,0,.18); position: relative; }
.header-logo .logo-badge img { width: 200px; height: auto; display: block; transform: scale(0.85);}

.header-main .social-center {
    position: static;
    transform: none;
    justify-self: end;
}
.header-main .whatsapp-btn {
    top: calc(var(--header-top-height) + 10px);
    transform: translateX(-50%);
    right: auto;
    bottom: auto;
}

.fb-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.header-main-wrapper { position: sticky; top: 0; z-index: 12000; }
.header-main-wrapper.is-stuck .header-top { display: none !important; }
.header-main-wrapper.is-stuck .header-logo { display: none !important; }
.header-main-wrapper.is-stuck .social-center { display: none !important; }
.header-main-wrapper.is-stuck .whatsapp-btn { display: none !important; }
.header-main-wrapper.is-stuck .header-main {min-height: 64px; display: flex; align-items: center; justify-content: center; border-top: none; }
.header-main-wrapper.is-stuck .navbar { padding: 0 40px; }

#header-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    pointer-events: none;
    visibility: hidden;
    z-index: -1;
}

.whatsapp-float {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: clamp(16px, 3vw, 32px);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #6bd87b, #18a644);
    box-shadow: 0 12px 26px rgba(0,0,0,.26), inset 0 4px 10px rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.7);
    z-index: 1001;
}
.whatsapp-float img { width: 36px; height: 36px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); }
.whatsapp-float.show { display: flex; animation: waPulse 2.6s ease-in-out infinite; }
@keyframes waPulse {
    0%,100% { transform: scale(1); box-shadow: 0 12px 24px rgba(0,0,0,.24); }
    50% { transform: scale(1.03); box-shadow: 0 16px 30px rgba(0,0,0,.28); }
}
.header-main-wrapper.is-stuck .header-main {
    background: linear-gradient(to right, #1e3a6b, #1c315a, #1e3a6b);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    transition: background .18s ease, box-shadow .18s ease;
}


/* ==========================
Carrusel
========================== */

.hero-carousel { position: relative; }
.hero-carousel .carousel-item { height: clamp(450px, 46vh, 520px); min-height: auto; }
.hero-carousel .carousel-item img { width: 100%; height: 100%; object-fit: fill; object-position: center; display: block; }
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: 72px; height: 72px; top: 50%; transform: translateY(-50%); background: #4bb9ea; border-radius: 50%; }
.hero-carousel .carousel-control-prev { left: 32px; }
.hero-carousel .carousel-control-next { right: 32px; }
.hero-carousel .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background-color: #dbe9ff; opacity: .8; }
.hero-carousel .carousel-indicators .active { background-color: #0387b3; }

/* Anchor offset under sticky header */
#banner-area, #coverage, #contact { scroll-margin-top: var(--header-safe-top); }


.why-us { padding: 60px 0; }
.why-panel { 
    width: 96%; 
    max-width: 1440px; 
    margin: 0 auto; 
    background: #f2f2f2; 
    border-radius: 36px; 
    padding: 50px 40px; 
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-between; 
    align-items: center; 
    gap: 30px; 
}
.why-title { 
    font-size: clamp(32px, 4vw, 54px); 
    font-weight: 800; 
    color: #0e2a4a; 
    line-height: 1.1; 
    margin-left: 0; 
    text-align: center;
    flex: 1 1 280px; /* Adaptable width */
}
.why-title .accent { color: #f0a64e; }
.why-list { 
    flex: 2 1 600px; /* Takes more space than title */
    display: flex; 
    justify-content: space-evenly; 
    gap: 20px; 
    align-items: flex-start; 
}
.why-item { text-align: center; flex: 1; }
.why-item img { width: clamp(90px, 9vw, 120px); height: auto; display: block; margin: 0 auto 16px; object-fit: contain; }
.why-shape { width: 116px; height: 98px; border-radius: 28px 28px 28px 0; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.why-shape i { font-size: 48px; color: #ffffff; }
.color-a { background: #59a9d6; }
.color-b { background: #193762; }
.why-text { color: #0e2a4a; font-weight: 600; font-size: clamp(16px, 1.5vw, 24px); letter-spacing: .5px; text-transform: uppercase; line-height: 1.3; }

/* ==========================
    Banner-info
    ========================== */
.banner-area { position: relative; padding-bottom: 250px; background: #ffffff; }
.banner-features { position: absolute; left: 50%; bottom: 85px; transform: translateX(-50%); width: 96%; max-width: 1200px; display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 40px; align-items: start; text-align: center; z-index: 9; }

.banner-title-1 { font-size: 40px; font-weight: 800; color: #fab81b; line-height: 1.05; }
.banner-title-2 { font-size: 34px; font-weight: 700; color: #dbe9ff; }
.banner-title-3 { font-size: 26px; font-weight: 800; color: #ffffff; letter-spacing: .5px; }
.banner-desc { margin-top: 10px; font-size: 16px; line-height: 1.5; color: #cfe6ff; max-width: 520px; }

.banner-info { position: relative; display: grid; }
.banner-info > * { grid-area: 1 / 1; }
.banner-info img { width: 100%; height: auto; display: block; }
.banner-info-content { display: flex; flex-direction: column; justify-content: center; width: min(48%, 560px); margin-left: 52%; margin-top: -5%; padding-right: clamp(16px, 6vw, 120px); color: #dbe9ff; }

.cert-panel { width: 98%; max-width: 1300px; margin: 0 auto; }
.cert-title { text-align: center; font-size: 44px; font-weight: 700; color: #193762; }
.cert-title .accent { background: linear-gradient(90deg, #59a9d6, #09c3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cert-list { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 600px); gap: 46px; justify-content: center; align-items: center; }
.cert-card { background: #f2f2f2; border-radius: 28px; display: flex; align-items: center; justify-content: center; min-height: 180px; padding: 0px 22px; box-shadow: 0 10px 22px rgba(0,0,0,.08); }
.cert-card .cert-logo { width: auto; max-width: 92%; height: 180px; object-fit: contain; display: block; }

.projects { padding: 60px 0; }
.projects-panel { width: min(92%, 1200px); margin: 0 auto; }
.projects-title { text-align: center; font-size: 36px; font-weight: 800; color: #193762; }
.projects-title .accent { color: #09c3ff; }
.projects-carousel { position: relative; margin-top: 22px; overflow: visible; }
.projects-track { display: flex; --proj-gap: clamp(16px, 2vw, 26px); gap: var(--proj-gap); overflow: hidden; padding: 0; will-change: transform; }
.proj-img {
    width: 102%;
    margin-left: -0.5%;
    height: clamp(360px, 36vh, 500px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

.proj-card {
    position: relative;
    flex: 0 0 calc((100% - 3*var(--proj-gap)) / 4);
    overflow: visible;
    z-index: 1;
    transition: z-index 0s 0.2s; /* Faster z-index reset */
}

.proj-card:hover,
.proj-card.hover-active,
.proj-card.persist-panel {
    z-index: 3000;
    transition: z-index 0s 0s;
}

.proj-content {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    overflow: hidden;
    height: 100%;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proj-card:hover .proj-content,
.proj-card.hover-active .proj-content,
.proj-card.persist-panel .proj-content {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,.15);
    z-index: 1600;
}
.panel-lock .proj-card:hover .proj-content {
    transform: none;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    z-index: 2;
}
.panel-lock .proj-card:hover { z-index: 1 !important; }
.panel-lock .proj-card.hover-active { z-index: 1 !important; }
.panel-lock .proj-card.locked-open { z-index: 3000 !important; }
.panel-lock .proj-card:not(.locked-open) { pointer-events: none; }

/* Floating Panel */
.floating-panel {
    position: fixed;
    top: calc(50vh + (var(--header-safe-top) / 2));
    left: 50%;
    width: 80vw;
    max-width: 900px;
    height: auto;
    max-height: calc(100vh - var(--header-safe-top) - 48px);
    background: #ffffff;
    padding: 24px;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-50%, -45%, 0) scale(0.96);
    transition: opacity 0.15s ease-out, visibility 0.15s ease-out, transform 0.15s ease-out; /* Fast close */
    pointer-events: none;
    z-index: 3500;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    will-change: transform, opacity;
}

.proj-card.hover-active .floating-panel,
.proj-card.persist-panel .floating-panel {
    opacity: 1;
    visibility: visible;
    transform: translate3d(-50%, -50%, 0) scale(1);
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Slow smooth open */
}

/* Backdrop for Floating Panel */
.proj-card::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    z-index: 1500;
    transition: opacity 0.4s ease;
    pointer-events: none; /* Crucial: Mouse passes through to allow "leave" detection */
}

.proj-card.hover-active::after,
.proj-card.persist-panel::after {
    opacity: 1;
    visibility: visible;
    pointer-events: none; /* Keep none so hovering backdrop = leaving card */
}

/* Reset positioning overrides from previous edit */
.projects-grid .proj-card:nth-child(2n) .floating-panel {
    left: 50%;
    right: auto;
}

.fp-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    height: 100%;
    min-height: 400px;
}

/* Logic to handle single image (empty side panel) */
.fp-side:not(:has(img)) {
    display: none !important;
}

/* When side panel is empty, make main image full width */
.fp-grid:has(.fp-side:not(:has(img))) {
    grid-template-columns: 1fr;
}

/* Single image adjustment */
.fp-grid.single-image .fp-main,
.fp-grid:has(.fp-side:not(:has(img))) .fp-main {
    background-color: #f2f2f2;
}
.fp-grid.single-image .fp-main img,
.fp-grid:has(.fp-side:not(:has(img))) .fp-main img {
    object-fit: contain;
}

.fp-main { height: 100%; cursor: pointer; overflow: hidden; border-radius: 18px; }
.fp-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.fp-main:hover img { transform: scale(1.05); }

.fp-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.fp-side img {
    width: 100%;
    height: 100%;
    flex: 1;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.fp-side img:hover { transform: scale(1.03); }

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: var(--header-safe-top);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-safe-top));
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    padding: 40px;
    box-sizing: border-box;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - var(--header-safe-top) - 80px);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    transform: scale(1);
    transition: transform 0.3s ease, opacity .18s ease;
    cursor: zoom-in; /* Default cursor for zoomable image */
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 50px;
    line-height: 0.8;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10000;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 42px;
    line-height: 1;
    padding: 10px 16px;
    border-radius: 14px;
    cursor: pointer;
    z-index: 10000;
    transition: background .2s ease, border-color .2s ease;
    user-select: none;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); }

.lightbox-close:hover {
    color: #f0a64e;
}
.proj-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(15, 38, 99, 0.80);
    color: #dbe9ff;
    text-align: center;
    font-weight: 800;
    padding: 12px 10px;
    font-size: 16px;
    z-index: 5;
    box-sizing: border-box;
}

/* Homepage Carousel Specific Styles */
.home-proj-card {
    position: relative;
    flex: 0 0 calc((100% - 3*var(--proj-gap)) / 4);
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}
.home-proj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,.15);
    z-index: 2;
}
.home-proj-img {
    width: 102%;
    margin-left: -0.5%;
    height: clamp(360px, 36vh, 500px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}
.home-proj-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    background: rgba(15, 38, 99, 0.80);
    color: #dbe9ff;
    text-align: center;
    font-weight: 700;
    padding: 12px 10px;
    font-size: 16px;
    z-index: 5;
    box-sizing: border-box;
}

.projects-carousel .carousel-control-prev,
.projects-carousel .carousel-control-next { width: 56px; height: 56px; top: 50%; transform: translateY(-50%); background: #4bb9ea; border-radius: 50%; position: absolute; }
.projects-carousel .carousel-control-prev { left: clamp(-70px, -4vw, -80px); }
.projects-carousel .carousel-control-next { right: clamp(-70px, -4vw, -80px); }

.projects-grid { width: 98%; max-width: 850px; margin: 24px auto 0; display: grid; grid-template-columns: repeat(2, minmax(320px, 1fr)); gap: 56px; align-items: stretch; }
.projects-grid .proj-card { flex: none; }
.projects-grid .proj-img { height: 380px; }

.coverage { padding: 120px 0; }
.coverage-panel { width: 98%; max-width: 1400px; margin: 0 auto; position: relative; --map-width: 600px; }
.coverage-title { text-align: right; font-size: 34px; font-weight: 800; color: #193762; max-width: 70%; margin: 0 40px 8px -250px; line-height: 1.05; }
.coverage-title .accent { color: #09c3ff; display: block; font-size: 1.6em; margin-left: 0; }
.coverage-body { position: relative; margin-top: 8px; }
.coverage-stats { width: 95%; margin: 40px auto 0; background: #f2f2f2; border-radius: 40px; padding: 15px 56px; display: flex; justify-content: flex-end; align-items: center; gap: 32px; position: relative; z-index: 4; box-shadow: 0 12px 24px rgb(0 0 0 / 21%); padding-right: calc(var(--map-width) + 0px); }
.stat-item { font-size: 24px; color: #193762; font-weight: 700; white-space: nowrap; display: flex; align-items: baseline; }
.stat-item .stat-icon { display: none; }
.stat-item .stat-label { font-size: inherit; font-weight: inherit; color: inherit; text-transform: none; letter-spacing: normal; }
.stat-number { color: #09c3ff; font-size: 34px; font-weight: 800; margin-right: 8px; }
.coverage-map { position: absolute; right: 10px; bottom: -64px; z-index: 6; display: flex; align-items: flex-end; justify-content: flex-end; }
.coverage-map .map-img { width: var(--map-width); max-width: 50vw; height: auto; object-fit: contain; display: block; }
.coverage-mobile { display: none; }

.allies { padding: 0 0 80px; }
.allies-panel { width: min(92%, 1200px); margin: 0 auto; }
.allies-title { text-align: center; font-size: 36px; font-weight: 800; color: #09c3ff; }
.allies-title .accent { color: #193762; font-size: 60px;}
.allies-carousel { position: relative; margin-top: 22px; overflow: visible; }
.allies-track { display: flex; --ally-gap: clamp(15px, 2vw, 20px); gap: var(--ally-gap); overflow: hidden; padding: 0; will-change: transform; }

.ally-card {
    flex: 0 0 calc((100% - 5*var(--ally-gap)) / 6);
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    min-height: clamp(120px, 20vh, 140px);
    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid rgba(15, 38, 99, 0.22);

    /* SOMBRA INDIVIDUAL */
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.ally-img { width: 92%; height: clamp(80px, 12vh, 120px); object-fit: contain; display: block; }
.allies-carousel .carousel-control-prev,
.allies-carousel .carousel-control-next { width: 48px; height: 48px; top: 50%; transform: translateY(-50%); background: #4bb9ea; border-radius: 50%; position: absolute; }
.allies-carousel .carousel-control-prev { left: clamp(-60px, -4vw, -60px); }
.allies-carousel .carousel-control-next { right: clamp(-60px, -4vw, -60px); }

.contact { padding: 80px 0 400px; position: relative; }
.contact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 320px; background: #164375; }
.contact-panel { width: 98%; max-width: 1400px; margin: 0 auto; position: relative}
.contact-wrap { background: #ffffff; border-radius: 32px; box-shadow: 0 18px 36px rgba(0,0,0,.15); width: 100%; margin: -50px auto 0; padding: 64px; display: grid; grid-template-columns: 1fr; gap: 0; align-items: center; position: relative; min-height: 560px; }
.contact-left { position: absolute; z-index: 12; left: 80px; top: 50%; transform: translateY(-50%); max-width: 560px; padding: 10px 20px; }
.contact-title { font-size: 46px; font-weight: 700; color: #193762; line-height: 1.06; }
.contact-accent { color: #59a9d6; }
.contact-sub { margin-top: 25px; color: #1d4677; opacity: .8; font-size: 16px; }
.contact-form { background: #d4e3f3; border-radius: 36px; padding: 100px 90px 60px; box-shadow: 0 14px 32px rgba(0,0,0,.14); display: flex; flex-direction: column; gap: 45px; position: absolute; z-index: 11; width: 780px; left: 65%; top: 87%; transform: translate(-50%, -50%); }
.contact-input { background: #ffffff; border: none; border-radius: 24px; height: 54px; padding: 14px 18px; font-size: 16px; color: #0e2a4a; box-shadow: 0 6px 14px rgba(0,0,0,.12); outline: none; }
.contact-input::placeholder { color: #9fb6d0; }

.date-wrapper { position: relative; width: 100%; }
.contact-input.date-input { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; width: 100%; color: #9fb6d0; }
.contact-input.date-input:focus,
.contact-input.date-input:valid { color: #0e2a4a; }
.contact-input.date-input::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; right: 0; top: 0; width: 100%; height: 100%; cursor: pointer; }
.calendar-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #9fb6d0; display: flex; align-items: center; justify-content: center; }
.calendar-icon svg { width: 22px; height: 22px; }

.contact-submit { align-self: center; background: #1c3f71; color: #ffffff; font-weight: 800; letter-spacing: .6px; padding: 12px 80px; border: none; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.location-map { width: 100%; padding: 0; margin: 0; }
.map-embed { width: 100%; height: 560px; display: block; border: 0; }

.proj-card, .home-proj-card { cursor: pointer; }
@keyframes cardClickablePulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(0,0,0,.10), 0 0 0 0 rgba(9,195,255,0); }
  50% { box-shadow: 0 14px 32px rgba(0,0,0,.16), 0 0 0 3px rgba(0, 0, 0, 0.28); }
}
.proj-card .proj-content,
.home-proj-card {
  border: 2px solid rgba(0, 0, 0, 0.22);
  animation: cardClickablePulse 3.2s ease-in-out infinite;
}

/* Desactivar borde/halo en index.php */
.page-index .home-proj-card {
  border: none;
  box-shadow: none;
  animation: none;
}
.page-index .home-proj-card:hover {
  transform: none;
  box-shadow: none;
}

.feature-item { color: #0e2a4a; }
.feature-icon img { width: 140px; height: auto; display: block; margin: 0 auto 14px; }
.feature-text { font-size: 20px; line-height: 1.4; color: #0e2a4a; }
.feature-strong { font-weight: 600; color: #0e2a4a; }

/*---------------------
----RESPONSIVIDAD*-----
-----------------------*/

@media (max-width: 991.98px){
  .offcanvas.theme-menu { 
    width: 86vw; 
    max-width: 420px; 
    border-radius: 0 18px 18px 0; 
    box-shadow: 0 18px 38px rgba(0,0,0,.35); 
    z-index: 13000; 
  }
  .offcanvas.theme-menu .offcanvas-header { 
    padding: 18px 20px; 
  }
  .offcanvas.theme-menu .offcanvas-title { 
    font-weight: 800; 
    letter-spacing: .3px; 
  }
  .offcanvas.theme-menu .offcanvas-body { 
    display: flex; 
    flex-direction: column; 
    align-items: stretch; 
    justify-content: flex-start; 
    gap: 18px; 
    padding: 20px; 
    height: 100%; 
    overflow-y: auto;
  }
  .offcanvas.theme-menu .nav-links { 
    width: 100%; 
    gap: 14px; 
    padding-top: 6px;
  }
  .offcanvas.theme-menu .nav-links a { 
    display: block; 
    width: 100%; 
    text-align: center; 
    padding: 14px 18px; 
    font-size: 18px; 
    font-weight: 700; 
    background: rgba(255,255,255,0.06); 
    border: 2px solid rgba(255,255,255,0.18); 
    border-radius: 14px; 
    transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  }
  .offcanvas.theme-menu .nav-links a:hover { 
    background: rgba(255,255,255,0.12); 
    border-color: #09c3ff; 
    color: #aee9ff; 
    box-shadow: 0 0 0 2px rgba(9,195,255,.28) inset, 0 6px 18px rgba(9,195,255,.14);
    transform: translateY(-1px);
  }
  .offcanvas.theme-menu .nav-links a.active { 
    background: rgba(255,255,255,0.12); 
    border-color: #09c3ff; 
    color: #aee9ff; 
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 0 0 2px rgba(9,195,255,.28) inset, 0 6px 18px rgba(9,195,255,.14);
    transform: translateY(-1px);
  }
  .offcanvas.theme-menu .nav-links a:active, 
  .offcanvas.theme-menu .nav-links a:focus-visible {
    background: rgba(9,195,255,0.18); 
    border-color: #09c3ff; 
    color: #aee9ff; 
    box-shadow: 0 0 0 2px rgba(9,195,255,.35) inset, 0 6px 18px rgba(9,195,255,.22);
    transform: scale(0.99);
  }

  /* Navbar & Header - Keep Hamburger for Tablet (768px - 991px) */
  .navbar { grid-template-columns: 1fr; padding: 0 20px; }
  .navbar-inner { justify-content: flex-start; }
  /* Note: .nav-links general style might conflict with offcanvas specific style if not careful, but they seem distinct enough */
  .nav-links { flex-direction: column; gap: 16px; padding: 12px 0; }
  .header-main-wrapper { position: -webkit-sticky !important; position: sticky !important; top: 0 !important; width: 100% !important; }
  .header-logo { display: none !important; }
  .social-center { display: none !important; }
  .whatsapp-btn { display: none !important; }
}

/* =========================================
   TABLET LANDSCAPE / SMALL LAPTOP (768px - 991.98px)
   ========================================= */

@media (min-width: 768px) and (max-width: 991.98px) {

    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Footer */
    .footer-brand { display: none; }
    .footer-social-center { display: none !important; }
    .footer-links { display: none !important; }
    .footer-top { grid-template-columns: 1fr; gap: 7px; padding: 24px 20px 30px; }
    .footer-mid { height: auto; padding: 10px 0; }
    .footer-bottom { grid-template-columns: 1fr; gap: 12px; padding: 0 16px 16px; place-items: center; }
    .footer-info-row { width: 100%; display: grid; grid-template-columns: 1fr; gap: 30px; padding-top: 16px; }
    .footer-separator { width: 100%; height: 1px; background: rgba(207,230,255,0.12); margin: 30px 0; }
    .footer-address-extra { color: #cfe6ff; font-size: 14px; text-align: center; padding: 10px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(207,230,255,0.12); border-radius: 14px; width: 100%; max-width: 520px; margin: 0 auto; }
    .fb-item { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 12px 14px; width: 100%; max-width: 520px; color: #cfe6ff; text-decoration: none; text-align: left; background: rgba(255,255,255,0.06); border: 1px solid rgba(207,230,255,0.15); border-radius: 16px; box-shadow: none; }
    .fb-item .fb-icon { width: 28px; height: 28px; object-fit: contain; flex: 0 0 28px; }
    .fb-item span { line-height: 1.5; overflow-wrap: anywhere; flex: 1 1 auto; }
    .fb-item a { color: #aee9ff; text-decoration: none; }
    .fb-item a:hover { text-decoration: underline; }
    .wa-chip-contact { justify-content: center; width: 100%; max-width: 340px; margin: 12px auto 0; font-size: 14px; padding: 10px 14px; border-radius: 20px; }
    .wa-chip-contact .wa-chip-icon img { width: 32px; height: 32px; }
    .wa-chip-footer { display: none; }
    .wa-icon img { width: 42px; height: 42px; }
    .whatsapp-btn .wa-label { padding-left: 0; }

    .contact { padding: 80px 0 40px 0; position: relative; }

    .allies-track { display: flex; --ally-gap: clamp(15px, 2vw, 20px); gap: var(--ally-gap); overflow: hidden; padding: 0; will-change: transform; }
    .ally-card {
        flex: 0 0 calc((100% - (3 * var(--ally-gap))) / 4);
        background: #ffffff;
        border-radius: 18px;
        padding: 20px;
        min-height: clamp(120px, 20vh, 140px);
        display: flex;
        align-items: center;
        justify-content: center;
        scroll-snap-align: start;
        border: 2px solid rgba(15, 38, 99, 0.22);
        /* SOMBRA INDIVIDUAL */
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    }

    /* Feature Items */
    .banner-features { position: static; left: auto; bottom: auto; transform: none; width: 100%; max-width: none; margin: 0; padding: 24px 20px; display: flex; flex-direction: column; gap: 20px; overflow-x: visible; scroll-snap-type: none; -ms-overflow-style: auto; scrollbar-width: auto; }
    .banner-area { padding-bottom: 0px !important;}
    .banner-features::-webkit-scrollbar { display: block; }
    .feature-item { width: 100%; flex: 0 0 auto; scroll-snap-align: none; background: #ffffff; padding: 24px; border-radius: 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin-bottom: 24px; height: auto; min-height: auto; color: #0e2a4a; }
    .feature-icon img { width: 80px; height: auto; display: block; margin: 0 auto 12px; object-fit: contain; }
    .feature-text { font-size: 14px; line-height: 1.4; color: #193762; }
    .feature-strong { font-size: 14px; color: #09c3ff; font-weight: 700; }

    .cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%;}

    /* Panel Adjustments */
    .why-panel { padding: 30px 20px; }
    .coverage-panel { max-width: 100%; }
    .stat-number {margin-right: 0px;}

    .coverage-map { position: absolute; right: -62px; bottom: -51px; z-index: 6; display: flex; align-items: flex-end; justify-content: flex-end; }
    .coverage-title {
        text-align: right;
        font-size: 34px;
        font-weight: 800;
        color: #193762;
        max-width: 82%;
        margin: 0 40px 8px -250px;
        line-height: 1.05;
    }
    .coverage-stats {
        width: 100%;
        margin: 0 auto;
        background: #f2f2f2;
        border-radius: 40px;
        padding: 15px 56px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 16px;
        position: relative;
        z-index: 4;
        box-shadow: 0 12px 24px rgb(0 0 0 / 21%);
        padding-right: calc(var(--map-width) + -300px);
        overflow: hidden;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        right: auto !important;
        left: calc(100vw - 76px) !important;
        bottom: 20px !important;
        width: 56px;
        height: 56px;
        max-width: 56px;
    }
    .whatsapp-float img { width: 32px; height: 32px; }
    .footer-brand { display: none; } 

    /* Contact Form - Adaptive Layout (Stacked) to avoid overflow */
    .contact-wrap { display: flex; flex-direction: column; height: auto; min-height: auto; padding-bottom: 40px; margin-top: 0; }
    .contact-left {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        padding: 0 20px;
        max-width: 100%;
    }
    .contact-form {
        position: static;
        width: 94%;
        max-width: 800px;
        margin: 20px auto;
        transform: none;
        left: auto; top: auto;
        padding: 40px;
    }
    .contact-title { font-size: 34px; text-align: center; }

    /* Banner Info - Centered */
    .banner-info-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        width: min(48%, 560px) !important;
        margin-left: 52% !important;
        margin-top: 0% !important;
        padding-right: clamp(16px, 6vw, 120px) !important;
        color: #dbe9ff !important;
    }

    .banner-title-1 {
        font-size: 28px !important;
        font-weight: 800 !important;
        color: #fab81b !important;
        line-height: 1.05 !important;
    }

    .banner-title-2 {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #dbe9ff !important;
    }

    .banner-title-3 {
        font-size: 18px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        letter-spacing: .5px !important;
    }

    .banner-desc {
        font-size: 14px !important;;
    }

    /* Projects - 2 Columns (Tablet Standard) */
    .proj-card, .home-proj-card {
        flex: 0 0 calc((100% - 1*var(--proj-gap)) / 2);
        scroll-snap-align: start;
    }

    /* Hide Navigation Buttons */
    .projects-prev, .projects-next,
    .allies-prev, .allies-next {
        display: none !important;
    }

    /* Enable Touch Scroll */
    .projects-track,
    .allies-track {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        cursor: grab;
    }
    .projects-track::-webkit-scrollbar,
    .allies-track::-webkit-scrollbar {
        display: none;
    }
}

/* =========================================
   LAPTOP / DESKTOP (992px - 1299.98px)
   ========================================= */
@media (min-width: 992px) and (max-width: 1299.98px) {

    /* Banner Features */
    .banner-features { position: static; left: auto; bottom: auto; transform: none; width: 100%; max-width: none; margin: 0; padding: 24px 20px; display: flex; flex-direction: column; gap: 20px; overflow-x: visible; scroll-snap-type: none; -ms-overflow-style: auto; scrollbar-width: auto; }
    .banner-area { padding-bottom: 0px !important;}
    .banner-features::-webkit-scrollbar { display: block; }
    .feature-item { width: 100%; flex: 0 0 auto; scroll-snap-align: none; background: #ffffff; padding: 24px; border-radius: 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin-bottom: 24px; height: auto; min-height: auto; color: #0e2a4a; }
    .feature-icon img { width: 80px; height: auto; display: block; margin: 0 auto 12px; object-fit: contain; }
    .feature-text { font-size: 14px; line-height: 1.4; color: #193762; }
    .feature-strong { font-size: 14px; color: #09c3ff; font-weight: 700; }
    
    .whatsapp-float { border-width: 1px; z-index: 50000; width: 64px; height: 64px; right: 22px; }
    .whatsapp-float img { width: 36px; height: 36px; }

    .cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%;}
    .coverage-map { position: absolute; right: 35px; bottom: -48px; z-index: 6; display: flex; align-items: flex-end; justify-content: flex-end; }

    /* Footer Adjustments */
    .footer-top { 
        padding: 45px 20px 60px; 
        column-gap: 20px; 
        grid-template-columns: 1fr 1.5fr 1fr; 
    }
    .footer-brand { width: 200px; }
    .footer-brand img { width: 100% !important; }
    .footer-logo-badge { padding: 18px; }
    .footer-logo-badge img { width: 200px; }
    
    /* Banner Info */
    .banner-info-content { 
        margin-left: 45%; 
        width: 50%;
        padding-right: 20px; 
    }
    .banner-title-1 { font-size: 32px; }
    .banner-title-2 { font-size: 28px; }

    /* Projects - 3 Columns (Desktop Standard) */
    .proj-card, .home-proj-card {
        flex: 0 0 calc((100% - 2*var(--proj-gap)) / 3); 
        scroll-snap-align: start;
    }

    .allies-track { display: flex; --ally-gap: clamp(15px, 2vw, 20px); gap: var(--ally-gap); overflow: hidden; padding: 0; will-change: transform; }
    .ally-card {
        flex: 0 0 calc((100% - (3 * var(--ally-gap))) / 4);
        background: #ffffff;
        border-radius: 18px;
        padding: 20px;
        min-height: clamp(120px, 20vh, 140px);
        display: flex;
        align-items: center;
        justify-content: center;
        scroll-snap-align: start;
        border: 2px solid rgba(15, 38, 99, 0.22);
        /* SOMBRA INDIVIDUAL */
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    }

    .contact { padding: 40px 0; scroll-margin-top: 100px; }
    .contact::before { height: 80px; }
    .contact-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; margin: 0 auto; min-height: auto; overflow: hidden; box-sizing: border-box; }
    .contact-left { position: static; transform: none; text-align: center; padding: 10px 20px; max-width: none; width: 100%; display: flex; flex-direction: column; align-items: center; }
    .contact-title { margin-left: 0; font-size: clamp(22px, 4.6vw, 28px); text-align: center; line-height: 1.15; }
    .contact-sub { margin-left: 0; margin-top: 12px; color: #1d4677; opacity: .8; font-size: 14px; }
    .contact-form { position: static; width: 100%; max-width: 700px; transform: none; margin: 12px auto 0; padding: 14px; gap: 10px; box-sizing: border-box; border-radius: 28px; box-shadow: 0 8px 18px rgba(0,0,0,.10); }
    .contact-input { height: 44px; box-sizing: border-box; width: 100%; font-size: 14px; border-radius: 18px; padding: 12px 14px; box-shadow: 0 4px 10px rgba(0,0,0,.10); }
    .contact-input.date-input { padding-right: 40px; }
    textarea.contact-input { min-height: 84px; }
    .contact-submit { padding: 10px 48px; font-size: 14px; border-radius: 8px; }

    /* Coverage */
    .coverage-panel { max-width: 98%; }
    .coverage-stats { padding-right: 375px; gap: 20px; }
    .coverage-map .map-img { width: 450px; }
    .stat-number { font-size: 28px; }
    .stat-item { font-size: 20px; }

    .coverage-title { text-align: right; font-size: 34px; font-weight: 800; color: #193762; max-width: 80%; margin: 0 40px 8px -250px; line-height: 1.05; }
    title .accent { color: #09c3ff; display: block; font-size: 1.6em; margin-left: 0; }

    /* Why Us Panel */
    .why-panel { padding: 40px 20px; gap: 20px; }
    .why-list { gap: 10px; }
    .why-title { font-size: clamp(32px, 4vw, 54px); flex: 1 1 200px; }
}

/*PC*/
@media (min-width: 1600px) {
    .footer-top { padding: 45px 200px 60px; column-gap: 48px; }
    .footer-brand { top: 50px !important; left: 0; width: 560px; }
    .footer-logo-badge { width: 100%; display: flex; justify-content: flex-end; align-items: center; padding: 26px 30px 24px; }
    .footer-brand img { width: 400px !important; }
    .footer-logo-badge img { width: 400px; }
    .footer-links { justify-self: start; width: 100px !important}
    .cert-panel { width: 98%; max-width: 1600px; }
    
    .banner-title-1 { font-size: 48px; font-weight: 800; color: #fab81b; line-height: 1.05; }
    .banner-title-2 { font-size: 40px; font-weight: 700; color: #dbe9ff; }
    .banner-title-3 { font-size: 30px; font-weight: 800; color: #ffffff; letter-spacing: .5px; }
    .banner-desc { margin-top: 12px; font-size: 18px; line-height: 1.6; color: #cfe6ff; max-width: 640px; }
}

/* Mobile Only (< 768px) - Content Adjustments */
@media (max-width: 767.98px){
  /* Layout & Spacing */
  .contact { padding: 40px 0; scroll-margin-top: 100px; }
  .contact::before { height: 80px; }
  .contact-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; margin: 0 auto; min-height: auto; overflow: hidden; box-sizing: border-box; }
  .contact-left { position: static; transform: none; text-align: center; padding: 10px 20px; max-width: none; width: 100%; display: flex; flex-direction: column; align-items: center; }
  .contact-title { margin-left: 0; font-size: clamp(22px, 4.6vw, 28px); text-align: center; line-height: 1.15; }
  .contact-sub { margin-left: 0; margin-top: 12px; color: #1d4677; opacity: .8; font-size: 14px; }
  .contact-form { position: static; width: 100%; max-width: 480px; transform: none; margin: 12px auto 0; padding: 14px; gap: 10px; box-sizing: border-box; border-radius: 28px; box-shadow: 0 8px 18px rgba(0,0,0,.10); }
  .contact-input { height: 44px; box-sizing: border-box; width: 100%; font-size: 14px; border-radius: 18px; padding: 12px 14px; box-shadow: 0 4px 10px rgba(0,0,0,.10); }
    .contact-input.date-input { padding-right: 40px; }
    textarea.contact-input { min-height: 84px; }
  .contact-submit { padding: 10px 48px; font-size: 14px; border-radius: 8px; }
  .map-embed { height: 380px; }
  
  .banner-area { padding-bottom: 0px; }
  .why-us { padding: 30px 0; }
  .why-panel { display: contents; width: 94% !important; max-width: 100% !important; margin: 0 auto; padding-left: 0; padding-right: 0; }
  .why-list { grid-column: auto; display: flex; flex-direction: column; gap: 12px; width: 100%; flex: 0 0 auto; }
  .why-title { font-size: 30px; text-align: center; margin-left: 0; width: 100%; margin-bottom: 12px; line-height: 1.2; flex: 0 0 auto; }
  .why-shape { display: none; }
  .why-item { width: 92%; margin: 0 auto; text-align: left; background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%); padding: 14px 18px; border-radius: 16px; box-shadow: 0 6px 14px rgba(0,0,0,0.06); border: 1px solid rgba(9,195,255,0.18); display: flex; align-items: center; gap: 16px; transition: transform 0.2s ease; box-sizing: border-box; flex: 0 0 auto; }
  .why-item:active { transform: scale(0.98); }
  .why-item > div:first-child { flex: 0 0 54px; display: flex; align-items: center; justify-content: center; background: rgba(9,195,255,0.08); border: 1px solid rgba(9,195,255,0.18); border-radius: 12px; height: 54px; }
  .why-item img { width: 54px; height: auto; margin-bottom: 0; object-fit: contain; }
  .why-text { font-size: 16px; line-height: 1.25; font-weight: 700; color: #193762; text-align: left; margin: 0; padding-top: 4px; }
  .why-text br { display: none; }
  
  .projects-title { font-size: 30px; }
  .projects-panel { width: 94% !important; max-width: 100% !important; margin: 0 auto; padding-left: 0; padding-right: 0; }
  .projects-track { padding: 0; }
  .proj-card { flex: 0 0 100%; }
  .proj-img { height: 380px; }
  .projects-grid { grid-template-columns: 1fr; gap: 32px; width: 94%; }
  
  .allies-title { font-size: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; line-height: 1.1; gap: 5px; }
  .allies-title .accent { font-size: 1.2em; display: block; }
  .allies-panel { width: 94% !important; max-width: 100% !important; margin: 0 auto; padding-left: 0; padding-right: 0; }
  .allies-carousel { overflow: visible; padding-bottom: 40px; position: relative; }
  .allies-track { display: flex; flex-wrap: nowrap; gap: 12px !important; padding: 10px 0; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .allies-track::-webkit-scrollbar { display: none; }
  .ally-card { flex: 0 0 calc(50% - 12px) !important; width: 100%; max-width: 180px; height: 120px; padding: 12px; scroll-snap-align: start; box-sizing: border-box; background: #fff; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
  .ally-img { width: 100%; height: 100%; object-fit: contain; transition: all 0.3s ease; }
  .allies-carousel .carousel-control-prev, .allies-carousel .carousel-control-next { display: none; }
  .allies-indicators { display: flex; justify-content: center; padding: 0; margin: 0; gap: 8px; position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; }
  .allies-indicators button { width: 8px; height: 8px; border-radius: 50%; background-color: rgba(25, 55, 98, 0.3); border: none; padding: 0; transition: all 0.3s ease; }
  .allies-indicators button.active { background-color: #09c3ff; width: 24px; border-radius: 4px; }
  

  
  /* Footer */
  .footer-brand { display: none; }
  .footer-social-center { display: none !important; }
  .footer-links { display: none !important; }
  .footer-top { grid-template-columns: 1fr; gap: 7px; padding: 24px 20px 30px; }
  .footer-mid { height: auto; padding: 10px 0; }
  .footer-bottom { grid-template-columns: 1fr; gap: 12px; padding: 0 16px 16px; place-items: center; }
  .footer-info-row { width: 100%; display: grid; grid-template-columns: 1fr; gap: 30px; padding-top: 16px; }
  .footer-separator { width: 100%; height: 1px; background: rgba(207,230,255,0.12); margin: 30px 0; }
  .footer-address-extra { color: #cfe6ff; font-size: 14px; text-align: center; padding: 10px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(207,230,255,0.12); border-radius: 14px; width: 100%; max-width: 520px; margin: 0 auto; }
  .fb-item { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 12px 14px; width: 100%; max-width: 520px; color: #cfe6ff; text-decoration: none; text-align: left; background: rgba(255,255,255,0.06); border: 1px solid rgba(207,230,255,0.15); border-radius: 16px; box-shadow: none; }
  .fb-item .fb-icon { width: 28px; height: 28px; object-fit: contain; flex: 0 0 28px; }
  .fb-item span { line-height: 1.5; overflow-wrap: anywhere; flex: 1 1 auto; }
  .fb-item a { color: #aee9ff; text-decoration: none; }
  .fb-item a:hover { text-decoration: underline; }
  .wa-chip-contact { justify-content: center; width: 100%; max-width: 340px; margin: 12px auto 0; font-size: 14px; padding: 10px 14px; border-radius: 20px; }
  .wa-chip-contact .wa-chip-icon img { width: 32px; height: 32px; }
  .wa-chip-footer { display: none; }
  .wa-icon img { width: 42px; height: 42px; }
  .whatsapp-btn .wa-label { padding-left: 0; }
  
  /* Hero Carousel */
  .hero-carousel { padding-bottom: 30px; margin-bottom: 20px; }
  .hero-carousel .carousel-item { height: clamp(240px, 40vh, 400px) !important; min-height: 240px !important; }
  .hero-carousel .carousel-item img { object-fit: cover !important; width: 100%; height: 100%; object-position: 90% center !important; }
  .page-proyectos .hero-carousel .carousel-item img { object-position: 40% center !important; }
  .hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { display: none !important; }
  .hero-carousel .carousel-indicators { bottom: -5px; margin-bottom: 0; gap: 8px; }
  .hero-carousel .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; background-color: rgba(25, 55, 98, 0.3); border: none; opacity: 1; transition: all 0.3s ease; margin: 0; }
  .hero-carousel .carousel-indicators .active { background-color: #09c3ff; width: 24px; border-radius: 4px; }
  
  /* Certified Companies */
  .cert-panel { width: 94% !important; max-width: 100% !important; margin: 0 auto; padding-left: 0; padding-right: 0; }
  .cert-title { font-size: 26px; margin-bottom: 30px; display: flex; flex-direction: column; gap: 0; line-height: 1.1; }
  .cert-title span { display: block; margin-top: 4px; }
  .cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%;}
  .cert-card { min-height: 140px; padding: 16px; height: auto; aspect-ratio: auto; background: #ffffff; border-radius: 20px; border: 1px solid rgba(25, 55, 98, 0.08); box-shadow: 0 14px 30px -8px rgba(25, 55, 98, 0.12); position: relative; overflow: hidden; transition: transform 0.3s ease; }
  .cert-card::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 4px; background: #09c3ff; border-radius: 0 4px 4px 0; opacity: 0.8; }
  .cert-card .cert-logo { height: auto; max-height: 85px; max-width: 100%; object-fit: contain; opacity: 0.8; transition: all 0.3s ease; }
  
  /* Coverage */
  .coverage { padding: 0 0 60px; overflow: visible; }
  .coverage-panel { display: flex; flex-direction: column; align-items: center; width: 94% !important; max-width: 100% !important; margin: 0 auto; }
  .coverage-title { text-align: center; margin: 0 0 24px 10px; max-width: 100%; font-size: 32px; width: 100%; line-height: 1.1; }
  .coverage-title .accent { display: block; font-size: 1.2em; margin-left: 0; }
  .coverage-body { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(145deg, #f0f4f8 0%, #ffffff 100%); border-radius: 24px; padding: 16px; width: 100%; max-width: 100%; margin: 0 auto; box-sizing: border-box; overflow: hidden; box-shadow: 0 8px 24px -6px rgba(25, 55, 98, 0.12); border: 1px solid rgba(255, 255, 255, 0.9); position: relative; margin-top: 0; }
  .coverage-stats { display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; width: 60% !important; gap: 12px !important; position: relative !important; z-index: 2; }
  .stat-item { display: flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; line-height: 1.1; text-align: left; width: 100%; margin-bottom: 0; }
  .stat-item .stat-icon { display: flex; font-size: 14px; color: #09c3ff; background: rgba(9, 195, 255, 0.1); width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }
  .stat-number { font-size: 22px; font-weight: 800; color: #193762; display: inline-block; margin-right: 2px; margin-bottom: 0; min-width: 30px; text-align: center; line-height: 1; }
  .stat-item .stat-label { font-size: 10px; color: #556b8d; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
  .coverage-map { display: flex !important; position: relative !important; width: 40% !important; right: 70px !important; top: 5px !important; transform: none !important; margin: 0 !important; z-index: 1; align-items: center; justify-content: center; }
  .coverage-map .map-img { width: 100%; max-width: none !important; height: auto; display: block; object-fit: contain; margin: 0; transform: scale(1.4) translateX(35%); transform-origin: center center; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.08)); }
  .coverage-locations-mobile { display: none !important; }
  .coverage-mobile { display: flex; flex-direction: column; gap: 16px; background: transparent; margin-top: 10px; }
  .cov-card { background: #ffffff; border: 1px solid rgba(9,195,255,0.20); border-radius: 16px; box-shadow: 0 10px 24px rgba(15,38,99,0.10); padding: 14px; }
  .cov-card-head { display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 800; color: #193762; margin-bottom: 10px; }
  .cov-card-head i { font-size: 18px; color: #09c3ff; margin-right: 8px; }
  .cov-count { background: #09c3ff; color: #ffffff; font-weight: 800; padding: 6px 10px; border-radius: 10px; min-width: 34px; text-align: center; }
  .cov-pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
  .cov-pill { background: #f7fbff; color: #193762; border: 1px solid rgba(9,195,255,0.25); padding: 8px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 10px rgba(15,38,99,0.08); }
  .cov-upcoming .cov-pill { border-color: rgba(255,168,0,0.35); }
  .cov-note { text-align: center; font-size: 13px; color: #193762; opacity: .8; }
  
  /* Banner Info */
  .banner-info { position: relative; display: grid; place-items: center; }
  .banner-info > * { grid-area: 1 / 1; }
  .banner-info img { width: 100%; height: 320px; object-fit: cover; object-position: left center; display: block; filter: brightness(-0.4); margin-top: 0; }
  .banner-info-content { display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; margin: 0; padding: 40px 30px; color: #dbe9ff; background: transparent; text-align: left; z-index: 2; }
  .banner-title-1 { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -0.3px; margin: 6px 0 6px; text-align: left; }
  .banner-title-2 { font-size: 24px; line-height: 1.2; font-weight: 700; margin: 2px 0 6px; text-align: left; }
  .banner-title-3 { font-size: 20px; line-height: 1.2; font-weight: 700; margin: 2px 0 10px; text-align: left; }
  .banner-desc { margin: 12px 0 0; font-size: 14px; line-height: 1.7; max-width: 100%; opacity: 0.95; text-align: justify; text-align-last: left; hyphens: auto; word-break: break-word; }
  
  /* Banner Features */
  .banner-features { position: static; left: auto; bottom: auto; transform: none; width: 100%; max-width: none; margin: 0; padding: 24px 20px; display: flex; flex-direction: column; gap: 0px; overflow-x: visible; scroll-snap-type: none; -ms-overflow-style: auto; scrollbar-width: auto; }
  .banner-features::-webkit-scrollbar { display: block; }
  .feature-item { width: 100%; flex: 0 0 auto; scroll-snap-align: none; background: #ffffff; padding: 24px; border-radius: 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin-bottom: 24px; height: auto; min-height: auto; color: #0e2a4a; }
  .feature-icon img { width: 80px; height: auto; display: block; margin: 0 auto 12px; object-fit: contain; }
  .feature-text { font-size: 14px; line-height: 1.4; color: #193762; }
  .feature-strong { font-size: 14px; color: #09c3ff; font-weight: 700; }
  
  /* Lightbox */
  .lightbox-overlay { top: var(--header-safe-top); height: calc(100vh - var(--header-safe-top)); --lb-pad-mobile: 16px; padding: var(--lb-pad-mobile); align-items: center; justify-content: center; touch-action: none; width: 100vw; overflow: hidden; }
  .lightbox-img { max-height: calc(100vh - var(--header-safe-top) - (var(--lb-pad-mobile) * 2)); max-width: calc(100vw - (var(--lb-pad-mobile) * 2)); width: 100%; height: auto; object-fit: contain; border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.25); touch-action: none; transition: transform 0.3s ease, opacity .18s ease; }
  .lightbox-close { top: var(--lb-pad-mobile); right: var(--lb-pad-mobile); font-size: 32px; line-height: 1; padding: 6px 10px; border-radius: 10px; background: rgba(0,0,0,0.35); color: #ffffff; border: 1px solid rgba(255,255,255,0.35); }
  .lightbox-prev, .lightbox-next { font-size: 26px; padding: 6px 10px; border-radius: 10px; background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.35); }
  .lightbox-prev { left: var(--lb-pad-mobile); }
  .lightbox-next { right: var(--lb-pad-mobile); }
  
  /* Floating & Whatsapp */
  .whatsapp-float { border-width: 1px; z-index: 50000; width: 64px; height: 64px; right: 22px; }
  .whatsapp-float img { width: 36px; height: 36px; }
  
  .floating-panel { display: none; position: static; width: 100%; max-width: none; height: auto; max-height: none; background: #f8f9fa; border-radius: 0 0 22px 22px; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding: 16px; margin: 0; z-index: 10; }
  .proj-card.mobile-expanded .floating-panel { display: block; animation: slideDown 0.3s ease-out; }
  .proj-card.mobile-expanded .proj-content { border-radius: 22px 22px 0 0; box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: none !important; }
  .fp-grid { grid-template-columns: 1fr; height: auto; min-height: auto; gap: 12px; }
  .fp-main { height: 200px; }
  .fp-side { flex-direction: row; height: 120px; gap: 10px; }
  .fp-side img { width: 50%; height: 100%; }
  
  @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  .proj-card:hover .proj-content { transform: none; }
  .proj-card::after { display: none; }
  
  .contact-panel { width: 94% !important; max-width: 100% !important; margin: 0 auto; padding-left: 0; padding-right: 0; }
  body { overflow-x: hidden; }

  /* Reset/Clear container styles */
  .projects-panel, .projects-carousel, .projects-track, .projects-carousel .carousel-item { background: transparent; }
  .projects-carousel { overflow: visible; }
  
  /* Track for modern horizontal scrolling (Carousel) */
  .projects-track { 
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 10px 0 40px; /* Vertical padding for shadow/overflow */
    justify-content: flex-start; 
    
    /* Scroll Snap Logic */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .projects-track::-webkit-scrollbar { display: none; }

  /* Card - Single Column Focus */
  .home-proj-card { 
    flex: 0 0 100%; /* Full width */
    width: 100%;
    max-width: 100%;
    scroll-snap-align: center;
    
    /* Premium Design */
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 16px 32px -8px rgba(15, 38, 99, 0.80);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
  }

  /* Image - Immersive */
  .home-proj-img { 
    width: 102%;
    height: 420px; /* Taller for mobile impact */
    object-fit: cover; 
    display: block;
  }

  /* Label - Clean Overlay (Restored Blue Style) */
  .home-proj-label { 
    position: absolute;
    width: 102% !important;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px !important;
    background: rgba(15, 38, 99, 0.80);
    color: #fff;
    font-size: clamp(14px, 2.5vw, 13px);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    pointer-events: none;
    border-radius: 0 0 24px 24px;
    backdrop-filter: blur(2px);
  }

  /* Hide default buttons (Swipe is intuitive) */
  .projects-carousel .carousel-control-prev,
  .projects-carousel .carousel-control-next { 
    display: none; 
  }
  
  /* Active State */
  .home-proj-card:active { 
    transform: scale(0.98); 
    transition: transform 0.2s ease;
  }

  /* Indicators for Mobile */
  .projects-indicators {
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 0; /* Adjust if needed */
    margin-bottom: 20px;
    gap: 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }
  .projects-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(25, 55, 98, 0.3);
    border: none;
    padding: 0;
    transition: all 0.3s ease;
  }
  .projects-indicators button.active {
    background-color: #09c3ff;
    width: 24px;
    border-radius: 4px;
  }
}

/*NO TOCAR*/
@media (min-width: 450px) and (max-width: 599.98px) {
  .coverage-map .map-img {
    transform: scale(1.4) translateX(15%);
  }
  .coverage-body {
    padding: 14px 12px;
  }

  .coverage-map {
    width: 45%;
  }
  .coverage-stats {
    margin-left: 40px !important;
  }
}

@media (min-width: 600px) and (max-width: 767.98px) {
  .coverage-map .map-img {
    transform: scale(1.4) translateX(7%);
  }
   .proj-card, .home-proj-card {
        flex: 0 0 calc((100% - 1*var(--proj-gap)) / 2);
        scroll-snap-align: start;
    }
  .coverage-body {
    padding: 18px 20px;
  }

  .coverage-map {
    width: 42%;
  }
  .coverage-stats {
    margin-left: 80px !important;
  }
}

/* Extra Tweaks for Very Small Screens (e.g. old iPhones, Galaxy Fold folded) */
@media (max-width: 380px) {
    .hero-carousel .carousel-item { height: 220px !important; }
    .lightbox-overlay { --lb-pad-mobile: 12px; }
    .lightbox-close { font-size: 28px; padding: 6px 8px; }
    .lightbox-prev, .lightbox-next { font-size: 22px; padding: 6px 8px; }
}

/* Toast Notification */
.custom-toast {
    position: fixed;
    top: 90px; /* Below header */
    right: 20px;
    background: #fff;
    color: #333;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 99999; /* Max Z-Index possible */
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid #0e2a4a;
    font-weight: 500;
    font-size: 14px;
    max-width: 320px;
}
.custom-toast.show {
    transform: translateX(0);
}
.custom-toast.success {
    border-left-color: #28a745;
}
.custom-toast.error {
    border-left-color: #dc3545;
}
.custom-toast-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}
.custom-toast.success .custom-toast-icon {
    color: #28a745;
}
.custom-toast.error .custom-toast-icon {
    color: #dc3545;
}
