/* ============================================================
   ESTILOS — CLIMA CENTRAL MOVA
   ============================================================
   ÍNDICE
   1.  Reset & Base
   2.  Animaciones
   3.  Navbar
   4.  Navbar Mobile
   5.  Hero
   6.  Hero Badges
   7.  Servicios
   8.  Equipos
   9.  Nosotros / Por qué elegirnos
   10. Cobertura
   11. CTA Band
   12. Footer
   13. WhatsApp flotante
   14. Animaciones de scroll
   15. Responsive
   ============================================================ */


/* ============================================================
   1. RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6fa;
    color: #1a1a2e;
    font-size: 19px;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #00c2ff;
    margin-bottom: 12px;
    display: block;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 15px auto 50px auto;
    text-align: center;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}


/* ============================================================
   2. ANIMACIONES
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   3. NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    min-height: 130px;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,.07);
    z-index: 1000;
}

.nav-logo img {
    height: 120px;
    width: auto;
    display: block;
    background: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color .2s;
}

.nav-link:hover,
.nav-link.active {
    color: #00c2ff;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,.3);
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: .2s;
}

.nav-btn:hover {
    border-color: #00c2ff;
    color: #00c2ff;
}

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

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

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

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

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

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 15px;
    background: #0b1118;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    min-width: 180px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .25s;
    display: flex;
    flex-direction: column;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 10px 12px;
    border-radius: 6px;
    transition: .2s;
}

.nav-dropdown-menu a:hover {
    background: rgba(0,194,255,.1);
    color: #00c2ff;
}


/* ============================================================
   4. NAVBAR MOBILE
   ============================================================ */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #0b1118;
    border-bottom: 1px solid rgba(255,255,255,.1);
    flex-direction: column;
    padding: 20px 30px;
    gap: 18px;
    z-index: 999;
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-link {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color .2s;
}

.nav-mobile-link:hover {
    color: #00c2ff;
}

.nav-mobile-btn {
    margin-top: 8px;
    background: #00c2ff;
    color: black !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
}

.nav-mobile-sublink {
    font-size: 0.8rem !important;
    padding-left: 15px;
    opacity: 0.7;
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 130px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5,11,18,.92) 0%,
        rgba(5,11,18,.80) 45%,
        rgba(5,11,18,.45) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0;
    padding: 80px 60px 40px 60px;
    width: 100%;
}

.hero-content {
    max-width: 580px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #00c2ff;
    margin-bottom: 18px;
    display: block;
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 22px;
    animation: fadeUp 0.8s ease-out both;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,.75);
    margin-bottom: 36px;
    animation: fadeUp 0.8s ease-out 0.15s both;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00c2ff;
    color: black;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: .2s;
}

.btn-whatsapp svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-whatsapp:hover {
    background: #00aadd;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.5);
    font-weight: bold;
    font-size: 0.85rem;
    transition: .2s;
}

.btn-outline:hover {
    border-color: white;
    transform: translateY(-2px);
}


/* ============================================================
   6. HERO BADGES
   ============================================================ */
.hero-badges {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0;
    padding: 30px 60px 60px 60px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-badge strong {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,.6);
}

.hero-badge span {
    font-size: 0.9rem;
    color: white;
    font-weight: bold;
}

.hero-badge:hover strong,
.hero-badge:hover span {
    color: #00c2ff;
    transition: color .3s;
}


/* ============================================================
   7. SERVICIOS
   ============================================================ */
.servicios {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.servicios h2 {
    font-size: 2.2rem;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    text-align: left;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: .3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
}

.card-img {
    position: relative;
    height: 260px;
    background: #dde3ec;
    overflow: visible;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

/* Placeholder si no hay imagen */
.card-img:not(:has(img[src])),
.card-img img[src="img/instalacion.jpg"],
.card-img img[src="img/reparacion.png"],
.card-img img[src="img/mantenimiento.jpg"] {
    background: linear-gradient(135deg, #1a2a3a, #0c1824);
}

.card-icon {
    position: absolute;
    bottom: -20px;
    left: 25px;
    width: 44px;
    height: 44px;
    background: #00c2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,194,255,.4);
}

.card h3 {
    color: #1a1a2e;
    font-size: 1.1rem;
    margin: 35px 25px 10px 25px;
}

.card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 0 25px 25px 25px;
}

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

/* ============================================================
   8. EQUIPOS
   ============================================================ */
.equipos {
    padding: 100px 40px;
    background: #0b1118;
    text-align: center;
}

.equipos .section-eyebrow {
    display: block;
    margin-bottom: 12px;
}

.equipos h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 60px;
}

.equipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.equipo-card {
    text-align: center;
    padding: 20px;
}

.equipo-icon {
    margin: 0 auto 20px auto;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,194,255,.3);
    border-radius: 16px;
    background: rgba(0,194,255,.05);
}

.equipo-card h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 12px;
}

.equipo-card p {
    color: rgba(255,255,255,.55);
    font-size: 0.9rem;
    line-height: 1.6;
}


/* ============================================================
   9. NOSOTROS
   ============================================================ */
.nosotros {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    align-items: start;
}

.nosotros h2 {
    font-size: 2.2rem;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 20px;
}

.nosotros-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.nosotros-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nosotros-list li {
    color: #444;
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
}

.nosotros-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00c2ff;
    font-weight: bold;
}

.nosotros-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(0,194,255,.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card strong {
    display: block;
    font-size: 1.6rem;
    color: #1a1a2e;
    line-height: 1;
}

.stat-card span {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
}


/* ============================================================
   10. COBERTURA
   ============================================================ */
.cobertura {
    background: #0b1118;
    padding: 100px 40px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cobertura-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding-bottom: 60px;
}

.cobertura-left {
    max-width: 500px;
    margin-left: auto;
    padding-left: 40px;
}

.cobertura-left h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cobertura-left p {
    color: rgba(255,255,255,.65);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-outline-dark {
    display: inline-block;
    color: white;
    border: 1px solid rgba(255,255,255,.4);
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: .2s;
}

.btn-outline-dark:hover {
    border-color: #00c2ff;
    color: #00c2ff;
}

.cobertura-right {
    display: flex;
    justify-content: center;
    padding-right: 40px;
    width: 100%;
}

.mapa-img {
    width: 100%;
    width: 700px;
    height: 400px;
    border-radius: 16px;
}

.barrios-seo {
    background: #0b1118;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    padding: 0 0 80px 0;
}

.barrios-titulo {
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #00c2ff;
    margin-bottom: 16px;
    text-align: center;
}

.barrios-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.barrios-chips span {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.6);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: .2s;
    cursor: default;
}

.barrios-chips span:hover {
    border-color: #00c2ff;
    color: #00c2ff;
}

/* ============================================================
   11. CTA BAND
   ============================================================ */
.cta-band {
    background: linear-gradient(135deg, #0099cc, #00c2ff);
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-band-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cta-band-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-band h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cta-band p {
    color: rgba(255,255,255,.8);
    font-size: 0.9rem;
}

.btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #0099cc;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: .2s;
    flex-shrink: 0;
}

.btn-cta-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}


/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
    background: #0b1118;
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 70px 60px 30px 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 18px;
    display: block;
    background: transparent;
}

.footer-brand p {
    color: rgba(255,255,255,.5);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: bold;
    transition: .2s;
}

.footer-social a:hover {
    border-color: #00c2ff;
    color: #00c2ff;
}

.footer-col h4 {
    color: white;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.footer-col a,
.footer-col span {
    display: block;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color .2s;
}

.footer-col a:hover {
    color: #00c2ff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,.3);
    font-size: 0.8rem;
}


/* ============================================================
   13. WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37,211,102,.5);
    z-index: 9999;
    transition: .3s;
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
}@keyframes pulse-wa {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}



/* ============================================================
   14. ANIMACIONES DE SCROLL
   ============================================================ */
   .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nosotros {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cobertura {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cobertura-left {
        margin: 0 auto;
        padding: 0;
        text-align: left;
    }

    .cobertura-right {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        min-height: 70px;
    }

    .nav-logo img {
    height: 60px;
}

    .nav-links,
    .nav-btn {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-container {
        padding: 50px 25px 30px 25px;
    }

    .hero-badges {
        padding: 20px 25px 40px 25px;
        gap: 20px;
        flex-direction: column;
    }

    .servicios,
    .equipos,
    .nosotros {
        padding: 70px 25px;
    }

    .servicios h2,
    .equipos h2,
    .nosotros h2,
    .cobertura-left h2 {
        font-size: 1.8rem;
    }

    .nosotros-right {
        grid-template-columns: 1fr 1fr;
    }

    .cta-band {
        padding: 35px 25px;
        flex-direction: column;
        text-align: center;
    }

    .cta-band-content {
        flex-direction: column;
        text-align: center;
    }

    .footer {
        padding: 50px 25px 25px 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-mobile-menu {
        top: 70px;
    }
}

/* ============================================================
   FIX RESPONSIVE: elimina desbordamiento horizontal
   ============================================================ */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.navbar,
.hero-container,
.hero-badges,
.cobertura-inner,
.cobertura-right,
.barrios-seo {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .navbar {
        width: 100%;
        padding: 0 20px;
    }

    .hero-container,
    .hero-badges {
        width: 100%;
        max-width: 100%;
    }

    .hero-btns {
        flex-wrap: wrap;
    }

    .hero-btns a {
        max-width: 100%;
        box-sizing: border-box;
    }

    .cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .equipos-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nosotros-right {
        grid-template-columns: 1fr;
    }

    .cobertura {
        padding-left: 25px;
        padding-right: 25px;
    }

    .cobertura-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
        width: 100%;
        max-width: 100%;
    }

    .cobertura-left {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .cobertura-right {
        width: 100%;
        max-width: 100%;
        padding: 0;
        min-width: 0;
    }

    .mapa-img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .barrios-seo {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
    }

    .cta-band,
    .footer,
    .servicios,
    .equipos,
    .nosotros {
        max-width: 100%;
        box-sizing: border-box;
    }
}
