/* ============================================================
   ESTILOS · Cargadores EV · Raúl Vallejo
   Base: diseño WordPress original + añadidos para formulario
   ============================================================ */

/* ============================================================
   RESET Y VARIABLES (PALETA PREMIUM)
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --festo-blue: #005691;
    --festo-dark: #003b6f;
    --festo-light: #eef5fb;
    --gold: #C9A96E;
    --gold-light: #F4EFE6;
    --text-dark: #1a2634;
    --text-muted: #64748b;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --gray-border: #e8edf2;
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 24px 60px rgba(0, 59, 111, 0.08);
    --radius-card: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 96px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none !important;
    color: inherit;
    outline: none !important;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================================
   HEADER STICKY — Replica el navbar global de WordPress
   ============================================================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 14px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transition: top 0.35s ease,
                background 0.35s ease,
                padding 0.35s ease,
                box-shadow 0.35s ease;
}

.navbar.scrolled {
    top: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-top-color: rgba(226, 232, 240, 0.8);
    border-bottom-color: rgba(226, 232, 240, 0.8);
}

.navbar .container.nav-wrap {
    max-width: 1400px;
    padding: 0 40px;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-dark);
    letter-spacing: 4px;
    transition: var(--transition);
}

.navbar .logo img {
    height: 38px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--festo-blue);
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 22px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0088cc;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--festo-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--festo-dark);
    color: var(--white) !important;
    padding: 10px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.7rem;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--festo-blue);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 145, 0.2);
}

.nav-cta::after {
    display: none;
}

/* --- Enlace PDF Electrolineras en navbar --- */
.nav-menu a.nav-pdf {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a.nav-pdf i {
    font-size: 0.9em;
    transition: var(--transition);
}

.nav-menu a.nav-pdf:hover i {
    transform: scale(1.15);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

/* ============================================================
   HERO (FULL WIDTH CON IMAGEN DE FONDO)
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    background: var(--festo-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 59, 111, 0.88) 0%, rgba(0, 86, 145, 0.75) 100%),
        url('https://raulvallejo.co/cargadores/assets/img/hero.webp') center center / cover no-repeat;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-text h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -1.5px;
    color: var(--white);
}

.hero-text h1 .accent {
    color: var(--gold);
    font-weight: 300;
}

.hero-text .subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 56px;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 44px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--white);
    color: var(--festo-dark);
    border-color: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
}

.hero-badges {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    font-weight: 300;
    justify-content: center;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-badges i {
    color: var(--gold);
    font-size: 0.9rem;
}

.boom-sticker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 169, 110, 0.3);
    color: var(--white);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 16px 36px;
    border-radius: 60px;
    margin-bottom: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.boom-sticker i {
    font-size: 1.2rem;
    color: var(--gold);
}

.boom-sticker .fa-star {
    color: var(--gold);
    font-size: 0.9rem;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.bg-light {
    background: var(--light-bg);
}

.bg-white {
    background: var(--white);
}

/* ============================================================
   NO IMPROVISAR (sección diferenciadora)
   ============================================================ */
.no-improvisar {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.no-improvisar .container {
    max-width: 1100px;
}

.no-improvisar-warn {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, var(--gold-light) 0%, #fdf8f0 100%);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-card);
    padding: 28px 36px;
    margin-bottom: 56px;
    box-shadow: 0 6px 24px rgba(201, 169, 110, 0.10);
}

.no-improvisar-warn .warn-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.20);
}

.no-improvisar-warn .warn-text {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 400;
}

.no-improvisar-warn .warn-text strong {
    display: block;
    color: var(--festo-dark);
    font-weight: 700;
    margin-top: 4px;
}

.no-improvisar-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 80px;
}

.no-improvisar-visual {
    order: -1;
}

.no-improvisar-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.no-improvisar-parrafos p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    font-weight: 400;
    margin-bottom: 20px;
}

.no-improvisar-parrafos p:last-child {
    margin-bottom: 0;
}

.protocolo-header {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 56px;
}

.protocolo-header .section-title {
    margin-bottom: 20px;
}

.protocolo-header .section-subtitle {
    margin: 0;
}

.protocolo {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.protocolo-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-border);
}

.protocolo-item:last-child {
    border-bottom: none;
}

.protocolo-item .num {
    flex-shrink: 0;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -2px;
    min-width: 60px;
    padding-top: 4px;
}

.protocolo-body {
    flex: 1;
}

.protocolo-body h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.protocolo-body p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 400;
    margin: 0;
}

.no-improvisar-cierre {
    max-width: 900px;
    margin: 64px auto 0;
    padding: 32px 40px;
    text-align: center;
    background: var(--festo-light);
    border-radius: var(--radius-card);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--festo-dark);
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/* ============================================================
   BENEFICIOS (2 columnas)
   ============================================================ */
.beneficios {
    background: var(--light-bg);
    border-top: 1px solid var(--gray-border);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.beneficio-card {
    background: var(--white);
    padding: 48px 40px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.beneficio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gold);
    transition: height 0.5s ease;
}

.beneficio-card:hover::before {
    height: 100%;
}

.beneficio-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.beneficio-card .icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    background: var(--festo-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--festo-blue);
    font-size: 1.5rem;
    transition: var(--transition);
}

.beneficio-card:hover .icon {
    background: var(--festo-dark);
    color: var(--white);
}

.beneficio-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.beneficio-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    font-weight: 400;
}

/* ============================================================
   PROCESO (2 columnas)
   ============================================================ */
.proceso {
    background: var(--light-bg);
    border-top: 1px solid var(--gray-border);
}

.paso-card {
    background: var(--white);
    padding: 48px 40px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.paso-card:hover {
    border-color: var(--festo-blue);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.paso-card .num {
    font-size: 2.6rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.paso-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.paso-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    font-weight: 400;
    flex-grow: 1;
}

.paso-card .retie-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--gold-light);
    color: var(--festo-dark);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    margin-top: 18px;
    letter-spacing: 1px;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.paso-card .retie-badge i {
    color: var(--gold);
    margin-right: 6px;
}

/* ============================================================
   CREDIBILIDAD
   ============================================================ */
.credibilidad {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.credibilidad-text {
    font-size: 1.15rem;
    max-width: 760px;
    margin-bottom: 48px;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    flex: 1 1 0;
    min-width: 160px;
    background: var(--light-bg);
    padding: 32px 24px;
    border-radius: var(--radius-card);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.stat-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.stat-card .num {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 700;
    color: var(--festo-blue);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.certificaciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-badge {
    background: var(--light-bg);
    padding: 28px 20px 24px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cert-badge:hover {
    border-color: var(--festo-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.cert-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cert-badge:hover .cert-icon {
    transform: scale(1.05);
    border-color: var(--festo-blue);
}

.cert-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    filter: none;
}

.cert-badge .cert-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cert-badge .cert-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-weight: 400;
    max-width: 180px;
    margin: 0 auto;
}

/* ============================================================
   CTA INTERMEDIO (WhatsApp)
   ============================================================ */
.cta-intermedio {
    background: var(--light-bg);
    padding: 60px 0;
    border-top: 1px solid var(--gray-border);
}

.cta-intermedio-card {
    background: var(--white);
    border-left: 4px solid var(--festo-blue);
    border-radius: var(--radius-card);
    padding: 36px 40px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 32px;
    transition: var(--transition);
}

.cta-intermedio-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.cta-intermedio-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.cta-intermedio-text {
    flex: 1;
}

.cta-intermedio-text h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.cta-intermedio-text p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

.cta-intermedio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: #25D366;
    color: var(--white) !important;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-intermedio-btn:hover {
    background: #1ea952;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

/* ============================================================
   FAQ - ACORDEÓN + IMAGEN STICKY
   ============================================================ */
.faq {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: start;
    margin-top: 48px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--gray-border);
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--festo-blue);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
}

.faq-answer p {
    padding-top: 12px;
    margin: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-visual {
    position: sticky;
    top: 120px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.faq-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-visual.zoomed img {
    transform: scale(1.05);
}

/* ============================================================
   CTA FINAL (con overlay de imagen)
   ============================================================ */
.cta-final {
    background: var(--festo-dark);
    text-align: center;
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 59, 111, 0.55) 0%, rgba(0, 86, 145, 0.45) 100%),
        url('https://raulvallejo.co/cargadores/assets/img/cta.webp') center center / cover no-repeat;
    opacity: 0.10;
    z-index: 1;
    pointer-events: none;
}

.cta-final .container {
    position: relative;
    z-index: 2;
}

.cta-final h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.5px;
}

.cta-final h2 span {
    color: var(--gold);
    font-weight: 300;
}

.cta-final .subtitle {
    font-size: 1.15rem;
    opacity: 0.8;
    margin-bottom: 48px;
    font-weight: 300;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-giant {
    padding: 20px 52px;
    font-size: 0.85rem;
    background: var(--white);
    color: var(--festo-dark);
    border: 1.5px solid var(--white);
    border-radius: 60px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: var(--transition);
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.btn-giant:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.cta-final .small-text {
    margin-top: 32px;
    font-size: 0.9rem;
    opacity: 0.6;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cta-final .small-text i {
    color: var(--gold);
    margin-right: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 70px 0 30px;
    border-top: 3px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer .logo img {
    height: 35px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 8px 0 16px 0;
    font-weight: 400;
    line-height: 1.5;
}

.footer-location {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 280px;
    font-weight: 300;
}

.footer-column h3 {
    font-size: 0.7rem;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info div {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.footer-contact-info i {
    color: var(--gold);
    font-size: 0.9rem;
}

.footer-copy {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    text-align: center;
    font-weight: 300;
}

/* ============================================================
   ANIMACIONES SCROLL
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   FORMULARIO DE LEADS
   ============================================================ */
.form-seccion {
    background: var(--light-bg);
    border-top: 1px solid var(--gray-border);
    padding: 80px 0;
}

.form-card {
    max-width: 620px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px 44px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.form-card:hover {
    box-shadow: var(--shadow-hover);
}

.form-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.form-card .form-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 300;
}

.campo {
    margin-bottom: 20px;
}

.campo label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.campo input[type="text"],
.campo input[type="tel"],
.campo select,
.campo textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1.5px solid var(--gray-border);
    border-radius: 10px;
    background: var(--white);
    color: var(--text-dark);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.campo textarea {
    resize: vertical;
    min-height: 80px;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
    outline: none;
    border-color: var(--festo-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 145, 0.08);
}

.campo input.error,
.campo select.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.campo .mensaje-error {
    display: none;
    color: #dc2626;
    font-size: 0.78rem;
    margin-top: 6px;
    font-weight: 400;
}
.campo.error .mensaje-error { display: block; }

.checkbox-linea {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    align-items: flex-start;
    cursor: pointer;
    margin-top: 8px;
}

.checkbox-linea input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--festo-blue);
}

.checkbox-linea .texto-check {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
}

.checkbox-linea .texto-check strong { color: var(--text-dark); }
.checkbox-linea .texto-check a {
    color: var(--festo-blue);
    text-decoration: underline;
}

.btn-form-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: #25D366;
    color: var(--white) !important;
    border: none;
    border-radius: 60px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
    margin-top: 8px;
}

.btn-form-wa:hover:not(:disabled) {
    background: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}

.btn-form-wa:disabled {
    opacity: 0.6;
    cursor: wait;
}

.btn-form-wa i { font-size: 1.1rem; }

.form-acciones {
    margin-top: 12px;
}

.form-nota {
    margin: 16px 0 0 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.6;
    font-weight: 300;
}

.form-estado {
    display: none;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.55;
    text-align: center;
    font-weight: 500;
}

.form-estado.ok {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-estado.err {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .container { padding: 0 32px; }
    .navbar .container.nav-wrap { padding: 0 32px; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { gap: 48px; }
}

@media (max-width: 992px) {
    .certificaciones-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-visual {
        position: relative;
        top: 0;
        max-width: 600px;
        margin: 0 auto;
    }
    .cta-intermedio-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px 28px;
    }
    .cta-intermedio-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    section { padding: 70px 0; }
    .container { padding: 0 24px; }

    .navbar {
        top: 12px;
        padding: 12px 0;
    }

    .navbar.scrolled {
        top: 8px;
        padding: 10px 0;
    }

    .navbar .container.nav-wrap { padding: 0 24px; }
    .navbar .logo img { height: 30px; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--gray-border);
    }
    .nav-menu.open { right: 0; }
    .nav-menu a { color: var(--text-muted); font-size: 1.1rem; }
    .nav-menu a.nav-pdf { justify-content: center; }
    .menu-toggle { display: block; z-index: 1001; }

    .hero { padding: 130px 0 70px; min-height: auto; }
    .hero-text { text-align: center; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-text .subtitle { max-width: 100%; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .btn-giant { width: 100%; padding: 18px 28px; justify-content: center; }

    .grid-2 { grid-template-columns: 1fr; gap: 24px; }
    .certificaciones-grid { grid-template-columns: 1fr; }
    .stats-grid { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }

    .boom-sticker {
        font-size: 0.75rem;
        padding: 10px 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .beneficio-card,
    .paso-card { padding: 32px 28px; }

    .no-improvisar-warn {
        flex-direction: column;
        text-align: center;
        padding: 24px 24px;
        gap: 16px;
    }
    .no-improvisar-warn .warn-text {
        font-size: 1rem;
    }
    .no-improvisar-text {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 56px;
    }
    .no-improvisar-visual {
        order: 0;
    }
    .no-improvisar-parrafos p {
        font-size: 1rem;
        line-height: 1.8;
    }
    .protocolo-item {
        gap: 20px;
        padding: 24px 0;
    }
    .protocolo-item .num {
        font-size: 1.8rem;
        min-width: 45px;
    }
    .protocolo-body h4 {
        font-size: 1.05rem;
    }
    .protocolo-body p {
        font-size: 0.94rem;
    }
    .no-improvisar-cierre {
        padding: 24px 24px;
        font-size: 1rem;
        margin-top: 48px;
    }

    .form-card { padding: 32px 24px; }
    .form-card h3 { font-size: 1.3rem; }
    .form-seccion { padding: 60px 0; }

    .cta-intermedio { padding: 40px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .navbar .container.nav-wrap { padding: 0 18px; }
    .hero-text h1 { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .hero-badges { gap: 16px; font-size: 0.75rem; }
    .btn { font-size: 0.7rem; padding: 14px 24px; }

    .protocolo-item {
        gap: 16px;
    }
    .protocolo-item .num {
        font-size: 1.5rem;
        min-width: 38px;
    }
}

/* ============================================================
   CARGADORES DISPONIBLES (CMALL)
   ============================================================ */
.cargadores {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.cargadores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.cargador-card {
    background: var(--light-bg);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cargador-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.cargador-carrusel {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    background: var(--white);
    overflow: hidden;
}

.carrusel-track {
    position: absolute;
    inset: 0;
}

.carrusel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 12px;
    background: var(--white);
    pointer-events: none;
}

.carrusel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carrusel-prev,
.carrusel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--festo-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    z-index: 2;
}

.carrusel-prev { left: 10px; }
.carrusel-next { right: 10px; }

.carrusel-prev:hover,
.carrusel-next:hover {
    background: var(--festo-blue);
    color: var(--white);
}

.carrusel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.carrusel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.carrusel-dot.active {
    background: var(--gold);
    width: 22px;
    border-radius: 4px;
    border-color: var(--gold);
}

.cargador-info {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cargador-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.cargador-tipo {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
}

.cargador-precio {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--festo-blue);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-border);
}

.cargador-toggle {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--festo-blue);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
    transition: var(--transition);
}

.cargador-toggle:hover {
    color: var(--festo-dark);
}

.cargador-toggle i {
    transition: transform 0.35s ease;
    font-size: 0.75rem;
}

.cargador-card.open .cargador-toggle i {
    transform: rotate(180deg);
}

.cargador-detalle {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin-bottom 0.3s ease;
    margin-bottom: 0;
}

.cargador-card.open .cargador-detalle {
    max-height: 800px;
    margin-bottom: 20px;
}

.cargador-detalle ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.cargador-detalle li {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    padding: 5px 0 5px 18px;
    position: relative;
    font-weight: 400;
    border-bottom: 1px dashed rgba(226, 232, 240, 0.6);
}

.cargador-detalle li:last-child {
    border-bottom: none;
}

.cargador-detalle li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.75rem;
}

.cargador-detalle li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.cargador-compatibilidad {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
    background: var(--white);
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 3px solid var(--festo-blue);
    margin: 0;
}

.cargador-compatibilidad strong {
    color: var(--festo-dark);
}

.cargador-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: var(--white) !important;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.22);
    margin-top: auto;
}

.cargador-btn-wa:hover {
    background: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}

.cargador-btn-wa i {
    font-size: 1.05rem;
}

@media (max-width: 1200px) {
    .cargadores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .cargadores-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .cargador-info {
        padding: 20px 20px 22px;
    }
    .cargador-precio {
        font-size: 1.4rem;
    }
}

/* ============================================================
   LIGHTBOX DE IMÁGENES DE CARGADORES
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 18, 28, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-stage {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    background: var(--white);
    padding: 12px;
    transition: opacity 0.25s ease;
}

.lightbox-img.loading {
    opacity: 0.4;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    color: var(--festo-dark);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    z-index: 3;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.08);
}

.lightbox-close {
    top: 24px;
    right: 24px;
    font-size: 1.2rem;
}

.lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-contador {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 18px;
    border-radius: 30px;
    z-index: 3;
}

.lightbox.single .lightbox-prev,
.lightbox.single .lightbox-next,
.lightbox.single .lightbox-contador {
    display: none;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .lightbox {
        padding: 20px;
    }
    .lightbox-img {
        max-width: 96vw;
        max-height: 80vh;
        padding: 8px;
    }
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }
    .lightbox-prev {
        left: 8px;
        width: 42px;
        height: 42px;
    }
    .lightbox-next {
        right: 8px;
        width: 42px;
        height: 42px;
    }
    .lightbox-contador {
        bottom: 12px;
        font-size: 0.78rem;
    }
}