:root {
    --navy: #0A2E5C;
    --blue: #0F509C;
    --blue-mid: #17378A;
    --cyan: #11B9CF;
    --cyan-light: #3DD5E8;
    --yellow: #FDCE4E;
    --gold: #F2B34A;
    --white: #FFFFFF;
    --off-white: #EEF2F7;
    --gray: #CFD5DB;
    --dark: #07193A;
    --surface: #0D3B70;
    --surface2: #0B3264;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--navy);
    color: var(--white);
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
}

/* =========================================
   LIGHTBOX
========================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 26, 0.93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 1100px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: calc(90vh - 60px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.16s ease, transform 0.16s ease;
    display: block;
}

.lightbox-caption {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.06em;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 2;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.lightbox-nav:hover {
    background: rgba(17,185,207,0.25);
    border-color: var(--cyan);
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* =========================================
   NAVBAR
========================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 25, 58, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(17, 185, 207, 0.15);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}

.logo-icon { font-size: 22px; }

.logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--white);
    line-height: 1.2;
}

.logo-text strong { color: var(--cyan); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.07);
}

.nav-cta {
    background: var(--cyan) !important;
    color: var(--dark) !important;
    font-weight: 700 !important;
    padding: 8px 22px !important;
    border-radius: 4px !important;
}

.nav-cta:hover { background: var(--cyan-light) !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 25, 58, 0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 14px 0; }

.mobile-link {
    font-family: 'Rajdhani', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

.mobile-link:hover { color: var(--cyan); }

/* =========================================
   HERO BANNER IMAGE — ancho completo debajo del menú
========================================= */
.hero-banner-img {
    position: relative;
    width: 100%;
    /* Altura fluida: clamp(180px, 35vw, 520px) se adapta a cualquier pantalla */
    height: clamp(180px, 35vw, 520px);
    overflow: hidden;
    background: var(--dark);
    border-bottom: 3px solid var(--cyan);
    /* Evita que la imagen cause layout shift */
    contain: layout paint;
}

.hero-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    /* Garantiza que ocupe todo el contenedor sin desbordarse */
    max-width: 100%;
}

/* Overlay oscuro semitransparente */
.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7, 25, 58, 0.25) 0%,
        rgba(7, 25, 58, 0.10) 50%,
        rgba(7, 25, 58, 0.45) 100%
    );
    pointer-events: none;
}

/* =========================================
   BANNER (sección de texto/CTA)
========================================= */
.banner {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(135deg, rgba(7,25,58,0.94) 0%, rgba(15,80,156,0.88) 55%, rgba(17,185,207,0.15) 100%),
        radial-gradient(ellipse at 78% 50%, rgba(17,185,207,0.22) 0%, transparent 60%);
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(17,185,207,0.025) 60px, rgba(17,185,207,0.025) 61px),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(17,185,207,0.025) 60px, rgba(17,185,207,0.025) 61px);
    pointer-events: none;
}

.banner-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px 32px 40px;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.banner-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(17,185,207,0.1);
    border: 1px solid rgba(17,185,207,0.3);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.banner h1 {
    font-size: clamp(42px, 6.5vw, 86px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 20px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}

.highlight { color: var(--cyan); }
.accent-word { color: var(--yellow); }

.banner-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.62);
    margin-bottom: 38px;
    max-width: 480px;
}

.banner-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--cyan);
    color: var(--dark);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 13px 32px;
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--cyan-light);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 13px 32px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.28);
    transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
    border-color: var(--cyan);
    background: rgba(17,185,207,0.08);
}

/* Stats bar */
.banner-stats-bar {
    position: relative;
    background: rgba(5, 20, 48, 0.7);
    border-top: 1px solid rgba(17,185,207,0.18);
    backdrop-filter: blur(10px);
    padding: 0 32px;
}

.banner-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.stat {
    padding: 22px 40px 22px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: 40px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat:last-child {
    border-right: none;
    margin-right: 0;
}

.stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
    white-space: nowrap;
}

.stat-num small {
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    margin-left: 2px;
}

.stat-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.3;
}

/* =========================================
   SECTIONS BASE
========================================= */
.section { padding: 90px 32px; }

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.alt-bg { background: var(--dark); }

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--cyan);
}

.section-inner h2 {
    font-size: clamp(26px, 3.5vw, 46px);
    color: var(--yellow);
    margin-bottom: 32px;
}

/* =========================================
   TWO COLUMNS
========================================= */
.two-columns .section-inner {
    display: flex;
    gap: 64px;
    align-items: center;
}

.two-columns .text-block,
.two-columns .image-block { flex: 1; }

.two-columns p {
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    margin-bottom: 24px;
}

/* =========================================
   IMAGE WRAPPER (section images — not cards)
========================================= */
.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.image-wrapper:hover img { transform: scale(1.03); }

.img-zoom-hint {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(7,25,58,0.75);
    border: 1.5px solid rgba(17,185,207,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
    z-index: 2;
}

.image-wrapper:hover .img-zoom-hint {
    opacity: 1;
    transform: scale(1);
}

.image-accent {
    position: absolute;
    bottom: -12px;
    left: -12px;
    right: 30px;
    top: 30px;
    border: 2px solid var(--cyan);
    border-radius: 12px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
}

.image-accent.right {
    left: 30px;
    right: -12px;
}

/* =========================================
   MISSION / VISION
========================================= */
.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mv-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 18px 20px;
    transition: border-color 0.2s;
}

.mv-card:hover { border-color: rgba(17,185,207,0.25); }

.mv-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }

.mv-card strong {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    letter-spacing: 0.06em;
    color: var(--cyan);
    margin-bottom: 5px;
}

.mv-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.62);
    margin: 0;
}

/* =========================================
   PRODUCT CARDS
========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.product-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(17,185,207,0.4);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.dark-card {
    background: rgba(255,255,255,0.03);
    border-color: rgba(253,206,78,0.1);
}

.dark-card:hover {
    border-color: rgba(253,206,78,0.35);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.product-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--surface);
    flex-shrink: 0;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 25, 58, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.28s ease;
    cursor: zoom-in;
}

.product-card:hover .img-overlay {
    opacity: 1;
}

.zoom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(17,185,207,0.2);
    border: 2px solid rgba(17,185,207,0.7);
    color: var(--cyan);
    transform: scale(0.85);
    transition: transform 0.22s ease, background 0.22s;
}

.product-card:hover .zoom-icon {
    transform: scale(1);
    background: rgba(17,185,207,0.35);
}

.product-info {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(17,185,207,0.12);
    border: 1px solid rgba(17,185,207,0.25);
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.product-tag.solar {
    color: var(--yellow);
    background: rgba(253,206,78,0.1);
    border-color: rgba(253,206,78,0.25);
}

.product-info h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.product-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.48);
    line-height: 1.4;
}

/* =========================================
   FEATURE LIST (UPS)
========================================= */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    transition: border-color 0.2s;
}

.feature-list li:hover { border-color: rgba(17,185,207,0.3); }
.feature-icon { font-size: 18px; flex-shrink: 0; }

/* =========================================
   SERVICES
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 48px;
}

.service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.service-card:hover {
    border-color: rgba(17,185,207,0.3);
    background: rgba(17,185,207,0.05);
    transform: translateY(-3px);
}

.service-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(17,185,207,0.15);
    border: 1.5px solid rgba(17,185,207,0.4);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.service-check::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: 2px solid var(--cyan);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.service-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
}

/* =========================================
   OTHER SERVICES
========================================= */
.other-services { margin-top: 16px; }

.other-services h3 {
    font-size: 20px;
    color: var(--yellow);
    margin-bottom: 18px;
    letter-spacing: 0.06em;
}

.other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.other-card {
    background: rgba(253,206,78,0.04);
    border: 1px solid rgba(253,206,78,0.14);
    border-radius: 10px;
    padding: 20px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: border-color 0.2s, transform 0.2s;
}

.other-card:hover {
    border-color: rgba(253,206,78,0.3);
    transform: translateY(-3px);
}

.other-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(253,206,78,0.12);
    border: 1.5px solid rgba(253,206,78,0.4);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.other-check::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: 2px solid var(--yellow);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.other-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.68);
    line-height: 1.55;
}

/* =========================================
   LOGOS
========================================= */
.grid-logos {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.logo-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex: 0 1 160px;
    min-width: 120px;
    max-width: 180px;
}

.logo-card:hover { background: rgba(255,255,255,0.1); }

.logo-card img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s, filter 0.2s;
}

.logo-card:hover img {
    opacity: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}

/* =========================================
   CONTACTO
========================================= */
.contacto {
    background: linear-gradient(135deg, rgba(7,25,58,1), rgba(11,50,100,1));
}

.contacto .section-inner { text-align: center; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 56px;
    text-align: left;
}

.contact-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 26px 24px;
}

.contact-block h3 {
    font-size: 17px;
    color: var(--cyan);
    margin-bottom: 14px;
    font-weight: 600;
}

.contact-block ul { list-style: none; }
.contact-block li { margin-bottom: 8px; }

.contact-block a {
    color: rgba(255,255,255,0.68);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.contact-block a:hover { color: var(--cyan); }

.contact-block p {
    color: rgba(255,255,255,0.68);
    font-size: 14px;
}

.qr-block {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 48px;
}

.qr-block h3 {
    font-size: 22px;
    color: var(--yellow);
    margin-bottom: 26px;
}

.qr-wrapper {
    display: inline-block;
    background: var(--white);
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.qr { display: block; width: 160px; }

/* =========================================
   FAQ
========================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 860px;
}

.faq-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 22px 26px;
    transition: border-color 0.2s;
}

.faq-item:hover { border-color: rgba(17,185,207,0.3); }

.faq-item h3 {
    font-size: 17px;
    color: var(--yellow);
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.faq-item p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin: 0;
}

.faq-item a { color: var(--cyan); text-decoration: none; }
.faq-item a:hover { text-decoration: underline; }

/* =========================================
   SERVICES PHOTO
========================================= */
.services-photo-wrap {
    position: relative;
    margin-top: 48px;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    border: 1px solid rgba(17,185,207,0.18);
    box-shadow: 0 16px 56px rgba(0,0,0,0.35);
    max-height: 560px;
}

.services-photo-wrap img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.services-photo-wrap:hover img { transform: scale(1.02); }

.services-photo-wrap .img-zoom-hint {
    position: absolute;
    bottom: 18px;
    right: 18px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s, transform 0.25s;
}

.services-photo-wrap:hover .img-zoom-hint {
    opacity: 1;
    transform: scale(1);
}

/* =========================================
   WHATSAPP FLOAT BUTTON
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px 12px 16px;
    border-radius: 50px;
    box-shadow: 0 6px 28px rgba(37,211,102,0.45);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
    max-width: 220px;
}

.whatsapp-float:hover {
    background: #1ebe59;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 36px rgba(37,211,102,0.55);
}

.whatsapp-float svg { flex-shrink: 0; }

.whatsapp-float-label {
    white-space: nowrap;
    overflow: hidden;
    max-width: 140px;
    transition: max-width 0.35s ease, opacity 0.3s ease;
    opacity: 1;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        padding: 13px;
        border-radius: 50%;
        max-width: none;
        width: 56px;
        height: 56px;
        justify-content: center;
    }
    .whatsapp-float-label { display: none; }
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.07);
    text-align: center;
    padding: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.32);
    letter-spacing: 0.04em;
}

/* =========================================
   RESPONSIVE — 1024px
========================================= */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-img-wrap { height: 200px; }
    .other-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid .contact-block:last-child { grid-column: 1 / -1; }
    /* hero-banner-img usa clamp() — sin override necesario */
}

/* =========================================
   RESPONSIVE — 768px
========================================= */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }

    .section { padding: 60px 20px; }

    .banner-main { padding: 70px 20px 32px; }
    .banner-stats-bar { padding: 0 20px; }

    /* hero-banner-img usa clamp() — sin override necesario */

    .banner-stats-inner {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat {
        flex: 1 1 30%;
        padding: 18px 16px;
        margin-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 4px;
    }

    .stat:last-child { border-bottom: none; }

    .two-columns .section-inner {
        flex-direction: column;
        gap: 40px;
    }

    .two-columns:not(.alt-bg) .section-inner { flex-direction: column; }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-img-wrap { height: 180px; }

    .banner-ctas { flex-direction: column; }
    .btn-primary, .btn-secondary { text-align: center; }

    .services-grid { grid-template-columns: 1fr 1fr; }
    .other-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-grid .contact-block:last-child { grid-column: auto; }

    .grid-logos { justify-content: center; }
    .image-accent { display: none; }

    .lightbox-nav { width: 40px; height: 40px; font-size: 18px; }
    .lightbox-nav.prev { left: 8px; }
    .lightbox-nav.next { right: 8px; }
    .lightbox-close { top: 12px; right: 12px; }
}

/* =========================================
   RESPONSIVE — 480px
========================================= */
@media (max-width: 480px) {
    /* hero-banner-img usa clamp() — sin override necesario */

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-img-wrap { height: 150px; }

    .product-info { padding: 12px 14px 16px; }
    .product-info h3 { font-size: 13px; }
    .product-info p { font-size: 12px; }

    .services-grid { grid-template-columns: 1fr; }

    .stat {
        flex: 1 1 100%;
        flex-direction: row;
        gap: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        padding: 14px 16px;
    }

    .lightbox-content {
        max-width: 96vw;
    }
}



/* =========================================
   MEDIA GALLERY — Masonry (servicios)
========================================= */
.media-gallery {
    columns: 5 160px;
    gap: 8px;
    margin-top: 0;
}

.mg-item {
    break-inside: avoid;
    margin-bottom: 8px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--surface);
    border: 1px solid rgba(17,185,207,0.08);
    transition: border-color 0.25s;
}

.mg-item:hover { border-color: rgba(17,185,207,0.35); }

.mg-item img,
.mg-item video {
    width: 100%;
    display: block;
    transition: transform 0.35s ease;
    border-radius: 10px;
}

.mg-item:hover img,
.mg-item:hover video { transform: scale(1.04); }

.mg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7,25,58,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
    border-radius: 10px;
}

.mg-item:hover .mg-overlay { background: rgba(7,25,58,0.45); }

.mg-zoom-icon {
    opacity: 0;
    transition: opacity 0.22s, transform 0.22s;
    transform: scale(0.8);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(17,185,207,0.2);
    border: 2px solid rgba(17,185,207,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.mg-item:hover .mg-zoom-icon {
    opacity: 1;
    transform: scale(1);
}

.mg-video-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(7,25,58,0.85);
    border: 1px solid rgba(17,185,207,0.4);
    color: var(--cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 2;
}

/* Video: no cursor zoom-in, sino pointer normal */
.mg-item.mg-video-item { cursor: default; }

@media (max-width: 1024px) {
    .media-gallery { columns: 4 140px; }
}

@media (max-width: 768px) {
    .media-gallery { columns: 2 140px; gap: 6px; }
    .mg-item { margin-bottom: 6px; }
}

@media (max-width: 480px) {
    .media-gallery { columns: 2 120px; gap: 5px; }
}
