/* ============================================================
   CPPIGESA – Cimientos Profundos Pilotajes
   Paleta: Negro #111 | Amarillo #FFD000 | Naranja #FF6600
   ============================================================ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --negro:        #111111;
    --negro-soft:   #1C1C1C;
    --amarillo:     #FFD000;
    --naranja:      #FF6600;
    --naranja-dark: #D95500;
    --blanco:       #FFFFFF;
    --gris-claro:   #F5F5F5;
    --gris-medio:   #CCCCCC;
    --gris:         #888888;
    --texto:        #2E2E2E;
    --tr:           all 0.3s ease;
    --shadow:       0 6px 30px rgba(0,0,0,0.12);
    --radius:       8px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: var(--texto);
    background: var(--blanco);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: var(--tr); }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
p   { text-align: justify; }

h1, h2, h3, h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

/* ── CONTAINER ── */
.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

/* ── SECCIONES ── */
.section { padding: 100px 0; }

.section-dark    { background: var(--negro); }
.section-contact { background: var(--naranja); }

.section-header { text-align: center; margin-bottom: 65px; }

.section-tag {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--naranja);
    margin-bottom: 10px;
}
.tag-light { color: rgba(255,255,255,0.75); }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    color: var(--negro);
    margin-bottom: 16px;
}
.title-light { color: var(--blanco); }

.section-divider {
    width: 55px; height: 4px;
    background: var(--naranja);
    border-radius: 2px;
    margin: 0 auto 22px;
}
.divider-orange { background: var(--amarillo); }
.divider-yellow { background: var(--amarillo); }

.section-desc { max-width: 600px; margin: 0 auto; color: var(--gris); font-size: 1.05rem; }
.desc-light   { color: rgba(255,255,255,0.85); }

/* ── BOTONES ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: var(--tr);
}
.btn-primary  { background: var(--naranja);  color: var(--blanco); border-color: var(--naranja); }
.btn-primary:hover { background: var(--naranja-dark); border-color: var(--naranja-dark); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255,102,0,0.4); }
.btn-outline  { background: transparent; color: var(--blanco); border-color: var(--blanco); }
.btn-outline:hover { background: var(--blanco); color: var(--negro); transform: translateY(-3px); }
.btn-dark     { background: var(--negro); color: var(--blanco); border-color: var(--negro); }
.btn-dark:hover { background: var(--negro-soft); transform: translateY(-2px); }
.btn-block    { width: 100%; justify-content: center; font-size: 1.1rem; padding: 16px; }

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.15s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--negro);
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
    border-bottom-color: var(--naranja);
    box-shadow: 0 2px 25px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo-link {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 3px;
}
/* Logo imagen */
.logo-img {
    max-height: 60px;
    width: auto;
    mix-blend-mode: lighten;
    border-radius: 50%;
    background: transparent;
}

.logo-text-wrap {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
}
.logo-cpp   { color: var(--amarillo); }
.logo-igesa { color: var(--blanco); }

.logo-sub {
    font-size: 0.55rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    padding: 7px 13px;
    border-radius: 4px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 2px;
    background: var(--naranja);
    transition: var(--tr);
    border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--blanco); }
.nav-link:hover::after, .nav-link.active::after { left: 13%; right: 13%; }

.nav-cta {
    background: var(--naranja);
    color: var(--blanco) !important;
    padding: 7px 18px;
    border-radius: var(--radius);
    margin-left: 6px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--naranja-dark); }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--blanco);
    border-radius: 2px;
    transition: var(--tr);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

/* Imagen estática de fondo (maquinaria, no se mueve) */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../IMAGENES/hero.jpg');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    /* Sin parallax — máquinas estáticas */
}

/* Overlay gradiente */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.45) 55%,
        rgba(17,17,17,0.65) 100%
    );
    z-index: 2;
}

/* ── NUBES ANIMADAS — desactivadas ── */
.clouds-wrapper {
    display: none;
}

/* Forma de nube con CSS puro */
.cloud {
    position: absolute;
    background: rgba(255,255,255,0.11);
    border-radius: 60px;
}
.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}
.cloud::before { width: 58%; height: 175%; top: -50%; left: 14%; }
.cloud::after  { width: 40%; height: 140%; top: -28%; right: 16%; }

/* Nubes: tamaño, posición vertical, duración, delay */
.cloud-1 { width: 280px; height: 70px;  top: 10%; animation: driftCloud 48s linear infinite; }
.cloud-2 { width: 190px; height: 50px;  top: 28%; animation: driftCloud 68s linear infinite; animation-delay: -18s; opacity: 0.65; }
.cloud-3 { width: 340px; height: 85px;  top:  6%; animation: driftCloud 38s linear infinite; animation-delay: -10s; opacity: 0.45; }
.cloud-4 { width: 210px; height: 55px;  top: 44%; animation: driftCloud 58s linear infinite; animation-delay: -32s; opacity: 0.70; }
.cloud-5 { width: 150px; height: 40px;  top: 20%; animation: driftCloud 33s linear infinite; animation-delay:  -6s; opacity: 0.50; }
.cloud-6 { width: 260px; height: 65px;  top: 58%; animation: driftCloud 75s linear infinite; animation-delay: -44s; opacity: 0.35; }

/* Las nubes van de derecha a izquierda */
@keyframes driftCloud {
    from { transform: translateX(calc(100vw + 400px)); }
    to   { transform: translateX(-450px); }
}

/* Contenido hero */
.hero-content {
    position: relative;
    z-index: 3;
    color: var(--blanco);
    max-width: 780px;
}

.hero-badge {
    display: inline-block;
    background: var(--naranja);
    color: var(--blanco);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.02;
    margin-bottom: 22px;
    text-shadow: 0 3px 20px rgba(0,0,0,0.4);
}
.hero-accent { color: var(--amarillo); }

.hero-desc {
    font-size: 1.1rem;
    max-width: 540px;
    color: rgba(255,255,255,0.88);
    line-height: 1.85;
    margin-bottom: 36px;
}

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

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounceDown 2.2s ease-in-out infinite;
}
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(9px); }
}

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar {
    background: var(--negro);
    border-top: 3px solid var(--naranja);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 20px;
    border-right: 1px solid rgba(255,255,255,0.07);
    transition: background 0.3s;
    cursor: default;
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(255,102,0,0.08); }

.stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--amarillo);
    line-height: 1;
    margin-bottom: 7px;
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gris-medio);
    text-align: center;
}

/* ══════════════════════════════════════
   NOSOTROS
══════════════════════════════════════ */
.nosotros { background: var(--blanco); }

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 70px;
}

.historia-lead {
    font-size: 1.15rem;
    color: var(--negro);
    margin-bottom: 20px;
    font-weight: 500;
}
.historia-text p { color: var(--gris); margin-bottom: 16px; }

.historia-quote {
    border-left: 4px solid var(--naranja);
    padding: 16px 22px;
    margin-top: 28px;
    background: var(--gris-claro);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    font-size: 0.98rem;
    color: var(--negro);
    line-height: 1.7;
}
.historia-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--naranja);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Imagen */
.historia-img-wrap { position: relative; }
.historia-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: var(--radius);
    filter: brightness(0.88);
}
.historia-badge {
    position: absolute;
    bottom: -22px; left: -22px;
    background: var(--naranja);
    color: var(--blanco);
    padding: 18px 24px;
    border-radius: var(--radius);
    box-shadow: 0 8px 25px rgba(255,102,0,0.45);
    text-align: center;
    min-width: 130px;
}
.badge-year  { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.badge-label { display: block; font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; opacity: 0.9; }

/* Misión / Visión */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 30px;
}
.mv-card {
    padding: 42px 38px;
    border-radius: var(--radius);
}
.mv-mision { background: var(--negro); color: var(--blanco); }
.mv-vision { background: var(--gris-claro); border: 2px solid #E5E5E5; }

.mv-icon {
    width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    background: var(--naranja);
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--blanco);
    margin-bottom: 20px;
}
.mv-card h3 {
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.mv-mision h3 { color: var(--amarillo); }
.mv-vision  h3 { color: var(--naranja); }
.mv-mision p  { color: rgba(255,255,255,0.78); }
.mv-vision  p  { color: var(--gris); }

/* ══════════════════════════════════════
   SERVICIOS
══════════════════════════════════════ */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.servicio-card {
    background: var(--negro-soft);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}
.servicio-card:hover {
    transform: translateY(-10px);
    border-color: var(--naranja);
    box-shadow: 0 22px 45px rgba(0,0,0,0.5);
}

.serv-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.serv-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: transform 0.5s ease, filter 0.4s ease;
}
.servicio-card:hover .serv-img-wrap img { transform: scale(1.07); filter: brightness(0.4); }

.serv-icon-overlay {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem;
    color: var(--naranja);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.servicio-card:hover .serv-icon-overlay { opacity: 1; }

/* Línea naranja en la parte superior al hacer hover */
.serv-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--naranja);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
}
.servicio-card:hover .serv-img-wrap::after { transform: scaleX(1); }

.serv-body { padding: 26px 28px; }
.serv-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--amarillo);
    margin-bottom: 10px;
}
.serv-body p { font-size: 0.9rem; color: rgba(255,255,255,0.62); line-height: 1.75; }

/* ══════════════════════════════════════
   PROYECTOS
══════════════════════════════════════ */
.proyectos { background: var(--gris-claro); }

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.proyecto-card {
    background: var(--blanco);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.proyecto-card:hover { transform: translateY(-8px); box-shadow: 0 22px 45px rgba(0,0,0,0.16); }

.proy-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.proy-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.proyecto-card:hover .proy-img-wrap img { transform: scale(1.07); }

.proy-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 18px 20px;
}
.proy-tag {
    background: var(--naranja);
    color: var(--blanco);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
}

.proy-body { padding: 24px 26px; }
.proy-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.proy-body h3 { font-size: 1.45rem; text-transform: uppercase; color: var(--negro); }
.proy-tipo {
    font-size: 0.72rem;
    color: var(--naranja);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    padding-top: 4px;
    flex-shrink: 0;
}
.proy-body p { font-size: 0.92rem; color: var(--gris); line-height: 1.75; }
.proy-body strong { color: var(--negro); }

/* ══════════════════════════════════════
   CONTACTO
══════════════════════════════════════ */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: start;
}

/* Info */
.info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.info-icon {
    width: 46px; height: 46px;
    background: rgba(0,0,0,0.22);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 1.05rem;
    color: var(--amarillo);
    flex-shrink: 0;
}
.info-text { display: flex; flex-direction: column; gap: 4px; }
.info-text strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blanco);
}
.info-text span,
.info-text a { color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.info-text a:hover { color: var(--amarillo); }

.contacto-slogan {
    margin-top: 40px;
    padding: 24px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    line-height: 1.3;
    font-style: italic;
}
.contacto-slogan span { color: var(--amarillo); }

/* Formulario */
.contacto-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { width: 100%; }

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--radius);
    color: var(--blanco);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.93rem;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
    resize: vertical;
    appearance: none;
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder { color: rgba(255,255,255,0.48); }
.contacto-form select { color: rgba(255,255,255,0.65); cursor: pointer; }
.contacto-form select option { background: #333; color: var(--blanco); }

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
    border-color: var(--amarillo);
    background: rgba(0,0,0,0.28);
}

.form-feedback {
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: none;
    text-align: center;
}
.form-feedback.success { background: rgba(0,200,80,0.2); color: #00e872; display: block; border: 1px solid rgba(0,200,80,0.3); }
.form-feedback.error   { background: rgba(255,60,60,0.2); color: #ff8080;  display: block; border: 1px solid rgba(255,60,60,0.3); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--negro); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding: 72px 0 44px;
}

.footer-logo-link { display: block; margin-bottom: 18px; }
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.42); line-height: 1.75; }

.footer-col-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--amarillo);
    margin-bottom: 20px;
}

.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.48); }
.footer-links a:hover { color: var(--naranja); padding-left: 6px; }

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.48);
}
.footer-contact-list i { color: var(--naranja); width: 16px; text-align: center; }
.footer-contact-list a { color: rgba(255,255,255,0.48); }
.footer-contact-list a:hover { color: var(--naranja); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.28);
}

/* ══════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 999;
    width: 58px; height: 58px;
    background: #25D366;
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 22px rgba(37,211,102,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 30px rgba(37,211,102,0.6);
    animation: none;
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 22px rgba(37,211,102,0.5); }
    50%       { box-shadow: 0 6px 35px rgba(37,211,102,0.8); }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .servicios-grid  { grid-template-columns: repeat(2, 1fr); }
    .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contacto-grid   { gap: 40px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }

    /* Header mobile */
    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 72px; left: 0; right: 0; bottom: 0;
        background: rgba(17,17,17,0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 999;
    }
    .nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; gap: 12px; text-align: center; }
    .nav-link { font-size: 1.6rem; padding: 12px 24px; }
    .nav-cta  { padding: 12px 28px; }

    /* Hero */
    .hero-btns { flex-direction: column; align-items: flex-start; }
    .hero-title { font-size: clamp(2.4rem, 9vw, 3.4rem); }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }

    /* Nosotros */
    .historia-grid { grid-template-columns: 1fr; gap: 40px; }
    .historia-img  { height: 300px; }
    .historia-badge { left: 0; bottom: -18px; }
    .historia-visual { padding-bottom: 28px; }
    .mv-grid { grid-template-columns: 1fr; }

    /* Servicios */
    .servicios-grid { grid-template-columns: 1fr; }

    /* Proyectos */
    .proyectos-grid { grid-template-columns: 1fr; }
    .proy-meta { flex-direction: column; gap: 4px; }

    /* Contacto */
    .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; padding: 50px 0 30px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat       { padding: 26px 12px; }
    .stat-num   { font-size: 2.4rem; }
    .hero-title { font-size: 2.2rem; }
    .btn        { padding: 12px 22px; font-size: 0.95rem; }
}
