/*
Theme Name: WheelObsession Lite
Theme URI: https://wheelobsession.pro/
Author: Tu Nombre
Description: Tema a medida ultraligero y fiel al diseño original.
Version: 3.5
Text Domain: wheelobsession
*/

:root {
    --primary-color: #3182CE;
    --primary-blue: #55a6fc; 
    --text-dark: #1a202c;
    --text-light: #4a5568;
}

body { font-family: 'Lato', sans-serif; margin: 0; padding: 0; color: var(--text-dark); overflow-x: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========================================
   0. ELEMENTOS GLOBALES Y BOTONES
======================================== */
.subtitle { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--primary-color); margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.section-title { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 3.5rem; color: #fff; line-height: 1.1; margin-top: 0; margin-bottom: 25px; }
.section-description { font-size: 1.1rem; color: #cbd2d9; line-height: 1.8; margin-bottom: 30px; }
.btn-primary { display: inline-block; background-color: var(--primary-color); color: #fff; font-weight: 700; font-size: 1.1rem; padding: 18px 40px; border-radius: 4px; text-decoration: none; transition: 0.3s ease; text-transform: uppercase; letter-spacing: 1px; }
.btn-primary:hover { opacity: 0.9; }

@media (max-width: 768px) {
   .section-title { font-size: 2.5rem; }
}

/* ========================================
   CABECERA FLOTANTE TIPO APP
======================================== */
.site-header {
    position: fixed; /* Siempre flotando */
    top: 20px; /* Separado del techo */
    left: 50%;
    transform: translateX(-50%); /* Centrado perfecto */
    width: 95%;
    max-width: 1100px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(37, 44, 57, 0.85); /* Gris oscuro semi-transparente */
    backdrop-filter: blur(12px); /* Efecto cristal / Glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 30px;
    border-radius: 50px; /* La forma de píldora */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative; /* Clave para que el menú móvil se ancle a esta barra */
}

/* LOGO */
.site-logo a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}
.site-logo img { max-height: 40px; width: auto; }

/* MENÚ ORDENADOR (DESKTOP) */
.main-navigation ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 25px; }
.main-navigation li { position: relative; }
.main-navigation li a { text-decoration: none; color: #e2e8f0; font-weight: 500; font-size: 1rem; padding: 10px 5px; display: block; transition: color 0.3s ease; }
.main-navigation li a:hover, .main-navigation li.current-menu-item > a { color: #ffffff; }

/* Flechita para elementos con submenú */
.main-navigation li.menu-item-has-children > a::after {
    content: ' ▾'; font-size: 0.8em; vertical-align: middle; opacity: 0.7; margin-left: 5px; display: inline-block; transition: transform 0.3s ease;
}

@media (min-width: 993px) {
    .mobile-menu-toggle { display: none; } /* Ocultamos la hamburguesa en PC */
    
    /* Submenú Flotante PC */
    .main-navigation .sub-menu {
        position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px);
        background-color: #252c39; border: 1px solid rgba(255,255,255,0.05); border-radius: 12px;
        min-width: 220px; padding: 15px 0; box-shadow: 0 15px 35px rgba(0,0,0,0.4);
        opacity: 0; visibility: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; gap: 0;
    }
    /* Triangulito superior */
    .main-navigation .sub-menu::before {
        content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
        width: 12px; height: 12px; background-color: #252c39; border-left: 1px solid rgba(255,255,255,0.05); border-top: 1px solid rgba(255,255,255,0.05);
    }
    .main-navigation li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(5px); }
    .main-navigation .sub-menu li a { padding: 10px 25px; color: #cbd2d9; font-size: 0.95rem; white-space: nowrap; }
    .main-navigation .sub-menu li a:hover { background-color: rgba(255,255,255,0.05); color: var(--primary-blue); }
}

/* ========================================
   MENÚ MÓVIL RESPONSIVE (ESTILO CAPTURA)
======================================== */
@media (max-width: 992px) {
    .site-header { top: 10px; }
    .header-inner { padding: 12px 25px; }
    
    /* Animación del botón Hamburguesa -> X */
    .mobile-menu-toggle {
        display: block; background: none; border: none; cursor: pointer;
        width: 30px; height: 20px; position: relative; z-index: 1000; padding: 0;
    }
    .hamburger-icon, .hamburger-icon::before, .hamburger-icon::after {
        content: ''; display: block; width: 100%; height: 2px; background-color: #fff; position: absolute; transition: all 0.3s ease;
    }
    .hamburger-icon { top: 9px; }
    .hamburger-icon::before { top: -8px; }
    .hamburger-icon::after { top: 8px; }
    
    .mobile-menu-toggle.is-active .hamburger-icon { background-color: transparent; }
    .mobile-menu-toggle.is-active .hamburger-icon::before { top: 0; transform: rotate(45deg); }
    .mobile-menu-toggle.is-active .hamburger-icon::after { top: 0; transform: rotate(-45deg); }

    /* Caja Desplegable Blanca */
    .main-navigation {
        position: absolute;
        top: calc(100% + 15px); /* Justo debajo de la píldora oscura */
        left: 0;
        width: 100%;
        background-color: #ffffff; /* Fondo blanco */
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        overflow: hidden;
        max-height: 0; /* Cerrado por defecto */
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
    }
    
    /* Al abrir se desliza hacia abajo */
    .main-navigation.is-open {
        max-height: 700px;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
    }

    .main-navigation li {
        border-bottom: 1px solid #f0f0f0; /* Rayita gris entre enlaces */
    }
    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation li a {
        color: #1a202c; /* Letra oscura */
        padding: 15px 25px;
        display: flex;
        justify-content: space-between; /* Flecha a la derecha */
        align-items: center;
        font-weight: 600;
    }
    .main-navigation li a:hover {
        color: var(--primary-color);
        background-color: #fcfcfc;
    }

    /* Submenús en Móvil (Acordeón) */
    .main-navigation .sub-menu {
        display: block;
        background-color: #f8f9fa; /* Fondo levemente más gris para diferenciar submenú */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border: none;
    }
    .main-navigation li.is-expanded > .sub-menu {
        max-height: 400px; /* Abre el acordeón */
    }
    .main-navigation li.is-expanded > a::after {
        transform: rotate(180deg); /* Gira la flechita */
    }
    .main-navigation .sub-menu li {
        border-bottom: 1px solid #eaeaea;
    }
    .main-navigation .sub-menu li a {
        padding: 12px 25px 12px 40px; /* Sangría a la derecha */
        font-size: 0.95rem;
        color: #4a5568;
        font-weight: 500;
    }
}

/* FOOTER */
#colophon { background: #f7fafc; color: var(--text-dark); padding-top: 60px; }
.site-middle-footer-inner-wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-bottom-footer-inner-wrap { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid #e2e8f0; }
.footer-widget-area .widget-title { font-family: 'Josefin Sans', sans-serif; font-size: 1.5rem; margin-top: 0; margin-bottom: 20px; color: var(--text-dark); }
.footer-widget-area ul { list-style: none; padding: 0; margin: 0; }
.footer-widget-area ul li { margin-bottom: 10px; }
.footer-widget-area a, .footer-widget-area p { color: var(--text-light); text-decoration: none; transition: 0.3s ease; margin-top: 0; }
.footer-widget-area a:hover { color: var(--primary-color); }
.footer-social-inner-wrap a { color: var(--text-dark); display: inline-block; }
.footer-social-inner-wrap a:hover { color: var(--primary-color); }

@media (max-width: 1024px) {
    .site-middle-footer-inner-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .site-middle-footer-inner-wrap { grid-template-columns: 1fr; text-align: center; }
    .site-bottom-footer-inner-wrap { flex-direction: column; gap: 20px; text-align: center;}
}

/* ========================================
   2. PÁGINAS ESTÁNDAR (LEGAL, PRIVACIDAD)
======================================== */
#inner-wrap { background-color: #2d3748; }
.page-hero-section { background-image: url('https://wheelobsession.tapetaldev.com/wp-content/uploads/2026/04/tony-pham-K2xGNNcQn_w-unsplash.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 120px 0; text-align: center; position: relative; margin-bottom: 0; }
.page-hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 1; }
.page-hero-section .container { position: relative; z-index: 2; }
.page-hero-section .main-title { margin-bottom: 0; color: #fff; }
.content-area { background-color: #242c39; padding: 80px 0; }
.content-area .container { background-color: #1a202c; padding: 50px 60px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.standard-page-content { max-width: 800px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; color: #cbd2d9; }
.standard-page-content h1, .standard-page-content h2, .standard-page-content h3, .standard-page-content h4 { font-family: 'Josefin Sans', sans-serif; color: #ffffff; margin-top: 50px; margin-bottom: 20px; line-height: 1.3; }
.standard-page-content h2:first-child { margin-top: 0; }
.standard-page-content p { margin-bottom: 20px; }
.standard-page-content strong, .standard-page-content b { color: #ffffff; }
.standard-page-content a { color: var(--primary-blue); text-decoration: none; font-weight: bold; }
.standard-page-content a:hover { text-decoration: underline; color: #fff; }
.standard-page-content ul, .standard-page-content ol { margin-bottom: 20px; padding-left: 20px; }
.standard-page-content li { margin-bottom: 10px; }

@media (max-width: 768px) {
    .content-area .container { padding: 30px 20px; }
    .page-hero-section { padding: 80px 0; } 
}

/* ========================================
   3. SECCIONES DE LA PORTADA (HOME)
======================================== */
/* Hero Portada */
.hero-section { background-image: url('hand-gespaakte-wielen.webp'); background-size: cover; background-position: center; background-attachment: fixed; background-repeat: no-repeat; position: relative; z-index: 1; padding: 100px 0 150px 0; }
.hero-left-box { max-width: 650px; margin-top: 0 !important; margin-bottom: 0 !important; margin-left: auto !important; margin-right: 0 !important; text-align: left; }
.main-title { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 4.5rem; color: #fff; line-height: 1.1; margin-top: 0; margin-bottom: 40px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.features-box-black { background-color: rgba(0, 0, 0, 0.75); padding: 40px 50px; border-radius: 8px; margin-bottom: 40px; }
.features-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.features-grid li { font-size: 1.2rem; color: #fff; padding-left: 35px; position: relative; text-align: left; }
.features-grid li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }

@media (max-width: 768px) {
    .hero-section { padding: 60px 0; }
    .hero-left-box { margin: 0 auto !important; text-align: center; }
    .main-title { font-size: 3rem; }
    .features-grid { grid-template-columns: 1fr; }
}

/* Qué hacemos */
.what-we-do-section { background-color: #252c39; padding: 100px 0; color: #fff; position: relative; z-index: 10; }
.what-we-do-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; position: relative; z-index: 10; margin-left: 0; }
.what-we-do-left-column { text-align: left; position: relative; }
.floating-wheel-image { display: block; width: 120%; max-width: 455px; margin-top: -260px; margin-bottom: 50px; margin-left: -25%; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)); pointer-events: none; position: relative; z-index: 999; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.clean-check-list { list-style: none; padding: 0; margin: 0; }
.clean-check-list li { font-size: 1.2rem; color: #fff; margin-bottom: 15px; padding-left: 35px; position: relative; font-weight: bold; }
.clean-check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; font-size: 1.2rem; }
.what-we-do-bike img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

@media (max-width: 1024px) {
    .what-we-do-grid { grid-template-columns: 1fr; } 
    .what-we-do-left-column { text-align: center; }
    .floating-wheel-image { width: 400px; margin: -180px auto 40px auto; }
    .clean-check-list li { text-align: left; display: inline-block; width: 100%; }
}
@media (max-width: 768px) {
    .floating-wheel-image { width: 280px; margin: -120px auto 40px auto; }
}

/* 6 Reasons */
.reasons-section { background-color: #1a202c; padding: 100px 0; color: #fff; }
.reasons-title { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 3rem; color: #fff; margin-top: 0; margin-bottom: 60px; text-align: left; }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 60px; list-style: none; padding: 0; margin: 0; }
.reasons-grid li { font-size: 1.1rem; color: #cbd2d9; line-height: 1.6; padding-left: 30px; position: relative; }
.reasons-grid li::before { content: '✓'; position: absolute; left: 0; color: #fff; font-weight: 300; }
.reasons-grid li b, .reasons-grid li strong { color: #fff; font-weight: 700; }

@media (max-width: 1024px) { .reasons-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .reasons-title { font-size: 2.2rem; text-align: center; } .reasons-grid { grid-template-columns: 1fr; } }

/* My Work */
.my-work-section { position: relative; padding: 120px 0; background-color: #f8f9fa; color: #1a202c; text-align: center; }
.my-work-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.16; background-size: cover; background-position: 58% 35%; background-attachment: scroll; background-repeat: no-repeat; mix-blend-mode: normal; z-index: 0; }
.kt-row-layout-overlay { top: 0; left: 0; position: absolute; opacity: 0.6; height: 100%; width: 100%; z-index: 0; filter: opacity(100%); background-color: #ffffff; }
.kt-row-column-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; grid-auto-rows: minmax(min-content, max-content); z-index: 1; position: relative; }
.my-work-content { max-width: 800px; margin: 0 auto; }
.my-work-content .section-title { color: #1a202c; line-height: 44px; margin-bottom: 30px; }
.my-work-content .section-description { color: #1a202c; font-weight: 400; }

@media (max-width: 768px) { .my-work-section { padding: 80px 0; } .my-work-content .section-title { line-height: 1.2; } }

/* Road Bike Wheels */
.road-bike-section { background-color: #252c39; padding: 120px 0; color: #fff; }
.road-bike-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rb-image-composition { position: relative; width: 100%; min-height: 600px; }
.rb-img-small { width: 60%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); position: absolute; top: 0; left: 0; z-index: 1; }
.rb-quote-box { background-color: var(--primary-blue); padding: 50px 40px; width: 70%; position: absolute; top: 220px; left: 5%; z-index: 2; text-align: center; display: flex; align-items: center; justify-content: center; }
.rb-quote-box p { color: #1a202c; font-family: 'Josefin Sans', sans-serif; font-size: 1.8rem; font-weight: 700; line-height: 1.4; margin: 0; }
.rb-img-tall { width: 45%; height: auto; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,0.5); position: absolute; top: 0; right: 0; z-index: 3; }
.rb-right { text-align: left; }
.rb-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.rb-feature-item { display: flex; align-items: center; gap: 20px; }
.rb-icon-box { background-color: var(--primary-blue); width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #1a202c; }
.rb-icon-box svg { width: 32px !important; height: 32px !important; }
.rb-feature-text h3 { font-family: 'Josefin Sans', sans-serif; font-size: 1.3rem; color: #fff; margin: 0 0 5px 0; }
.rb-feature-text p { font-size: 1rem; color: #cbd2d9; margin: 0; line-height: 1.5; }

@media (max-width: 1024px) {
    .road-bike-layout { grid-template-columns: 1fr; gap: 60px; }
    .rb-image-composition { min-height: 500px; max-width: 600px; margin: 0 auto; }
    .rb-features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .rb-image-composition { min-height: auto; display: flex; flex-direction: column; gap: 20px; }
    .rb-img-small, .rb-img-tall, .rb-quote-box { position: static; width: 100%; }
    .rb-quote-box { padding: 20px; }
}

/* Testimonials (Cube) */
.testimonials-section { position: relative; padding: 0; color: #fff; overflow: hidden; }
.testi-bg-top { position: absolute; top: 0; left: 0; width: 100%; height: 75%; background-size: cover; background-position: center; z-index: 1; }
.testi-bg-top::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 49, 116, 0.9); }
.testi-bg-bottom { position: absolute; bottom: 0; left: 0; width: 100%; height: 25%; background-color: #252c39; z-index: 1; }
.testi-container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 100px; padding-bottom: 80px; }
.testi-left-col { display: flex; flex-direction: column; justify-content: space-between; }
.testi-content-top { max-width: 90%; }
.testi-stats-bottom { display: flex; gap: 40px; margin-top: 120px; }
.stat-item { border-right: 1px solid rgba(255, 255, 255, 0.2); padding-right: 40px; }
.stat-item:last-child { border-right: none; padding-right: 0; }
.stat-num { font-family: 'Josefin Sans', sans-serif; font-size: 2.5rem; color: var(--primary-blue); font-weight: 700; margin-bottom: 5px; }
.stat-label { font-size: 0.9rem; color: #cbd2d9; }
.review-card-wrapper { perspective: 1200px; position: relative; min-height: 450px; margin-top: 120px; }
.review-card { background-color: #1a202c; padding: 60px 50px; border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.4); position: absolute; top: 0; left: 0; width: 100%; transform-style: preserve-3d; transform-origin: center center -200px; transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; }
.review-card.cube-out { transform: rotateY(-90deg); opacity: 0; }
.review-card.cube-in { transform: rotateY(90deg); opacity: 0; }
.review-card.cube-active { transform: rotateY(0deg); opacity: 1; }
.review-stars { color: var(--primary-blue); font-size: 1.8rem; margin-bottom: 25px; letter-spacing: 5px; }
.review-title { font-family: 'Josefin Sans', sans-serif; font-size: 1.4rem; font-weight: 700; margin-top: 0; margin-bottom: 20px; line-height: 1.4; color: #fff; }
.review-text { font-style: italic; color: #cbd2d9; line-height: 1.8; margin-bottom: 40px; }
.review-author { display: flex; align-items: center; gap: 15px; }
.review-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.review-author-info h5 { color: var(--primary-blue); margin: 0 0 5px 0; font-size: 1.1rem; }
.review-author-info p { margin: 0; color: #cbd2d9; font-size: 0.9rem; }

@media (max-width: 1024px) {
    .testi-container { grid-template-columns: 1fr; }
    .review-card-wrapper { margin-top: 40px; }
    .testi-bg-top { height: 100%; }
    .testi-bg-bottom { display: none; }
    .testi-stats-bottom { margin-top: 60px; flex-wrap: wrap; }
    .stat-item { border-right: none; width: 100%; margin-bottom: 20px; }
}

/* Garantías Footer */
.bottom-features-section { background-color: #003174; padding: 80px 0; color: #fff; position: relative; }
.bf-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.15; background-size: cover; background-position: center center; background-attachment: scroll; background-repeat: no-repeat; mix-blend-mode: multiply; z-index: 1; }
.bottom-features-section .container { position: relative; z-index: 2; }
.bottom-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.bf-item { display: flex; align-items: flex-start; gap: 20px; }
.bf-icon { background-color: var(--primary-blue); width: 56px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #1a202c; border-radius: 2px; }
.bf-icon svg { width: 28px !important; height: 28px !important; }
.bf-text-wrap h4 { font-family: 'Josefin Sans', sans-serif; font-size: 1.3rem; margin: 0 0 10px 0; }
.bf-text-wrap p { color: #cbd2d9; font-size: 1rem; line-height: 1.6; margin: 0; }

@media (max-width: 1024px) { .bottom-features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .bottom-features-grid { grid-template-columns: 1fr; } }

/* ========================================
   4. PÁGINA ABOUT (NOSOTROS)
======================================== */
.our-story-section { position: relative; background-color: #1a202c; overflow: hidden; }
.our-story-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.15; background-image: url('https://wheelobsession.tapetaldev.com/wp-content/uploads/2026/04/punt-11.webp'); background-size: cover; background-position: center center; background-attachment: scroll; background-repeat: no-repeat; mix-blend-mode: normal; z-index: 1; }
.our-story-wrap { position: relative; z-index: 2; max-width: 500px; margin-left: auto; margin-right: auto; padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1fr); padding-left: 20px; padding-right: 20px; }
.our-story-title { font-family: 'Josefin Sans', sans-serif; font-size: 2.5rem; color: #ffffff; padding-bottom: 10px; text-align: center; margin-top: 0; }
.our-story-text { font-size: 1.2rem; color: #cbd2d9; line-height: 1.6; text-align: center; margin: 0; }

/* Detalles e Historia */
.about-details-section { background-color: #252c39; padding: 100px 0; }
.about-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-details-img img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); display: block; }
.about-details-content { display: flex; flex-direction: column; align-items: flex-start; }
.about-details-content .section-title, .about-tab-title { background-color: #3296ff !important; color: #1a202c !important; font-family: 'Josefin Sans', sans-serif; font-size: 1.6rem; font-weight: 700; padding: 15px 40px; margin: 0; display: inline-block; }
.about-text-wrap { background-color: #1a202c; border-top: 4px solid #3296ff; padding: 25px 40px; box-shadow: 0 15px 30px rgba(0,0,0,0.3); margin-top: 0; width: 100%; }
.about-text-wrap p { color: #cbd2d9; font-size: 1.15rem; line-height: 1.8; margin-top: 0; margin-bottom: 20px; }
.about-text-wrap p:last-child { margin-bottom: 0; }
.about-text-wrap strong, .about-text-wrap b { color: #ffffff; }

@media (max-width: 992px) {
    .about-details-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-details-content .section-title, .about-tab-title { text-align: center; }
}
@media (max-width: 768px) {
    .about-text-wrap { padding: 30px 20px; }
    .about-tab-title { font-size: 1.3rem; padding: 12px 20px; }
}

/* Estadísticas Animadas */
.about-stats-section { position: relative; background-color: #003174; padding: 100px 0; overflow: hidden; }
.about-stats-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.10; background-size: cover; background-position: 48% 63%; background-attachment: scroll; background-repeat: no-repeat; mix-blend-mode: normal; z-index: 1; }
.about-stats-section .container { position: relative; z-index: 2; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.about-stat-item { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.stat-number-wrap { font-family: 'Josefin Sans', sans-serif; font-size: 4rem; font-weight: 700; color: #ffffff; line-height: 1.1; margin-bottom: 10px; }
.stat-suffix { margin-left: 2px; }
.about-stat-item .stat-label { font-size: 1.2rem; font-weight: 400; color: #cbd2d9; text-transform: capitalize; }

@media (max-width: 1024px) { .about-stats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .about-stats-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-stats-section { padding: 80px 0; }
    .stat-number-wrap { font-size: 3.5rem; }
}

/* Our Mission */
.about-mission-section { background-color: #1a202c; padding: 100px 0; color: #f7fafc; }
.mission-header { margin-bottom: 40px; text-align: left; }
.mission-header .subtitle { color: var(--primary-blue); }
.mission-header .section-title { margin-bottom: 0; max-width: 800px; }
.mission-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.mission-text-col p { color: #cbd2d9; font-size: 1.15rem; line-height: 1.8; margin-top: 0; margin-bottom: 20px; }
.mission-text-col p:last-child { margin-bottom: 0; }
.mission-text-col strong, .mission-text-col b { color: #ffffff; }
.mission-image img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.3); display: block; }

@media (max-width: 992px) { .mission-text-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 768px) { .about-mission-section { padding: 80px 0; } .mission-header { text-align: center; } }

/* Newsletter */
.about-newsletter-section { position: relative; background-color: #1a202c; padding: 120px 0; overflow: hidden; }
.about-newsletter-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.13; background-size: cover; background-position: center; background-attachment: scroll; background-repeat: no-repeat; z-index: 1; }
.about-newsletter-wrap { position: relative; z-index: 2; max-width: 750px; margin: 0 auto; padding: 0 20px; text-align: center; }
.about-newsletter-wrap .mc_custom_border_hdr, .about-newsletter-wrap h2 { font-family: 'Josefin Sans', sans-serif; font-size: 3rem; color: #ffffff; margin-top: 0; margin-bottom: 40px; line-height: 1.2; border: none; }
.about-newsletter-wrap .mc_var_label { display: none; }
.about-newsletter-wrap .mc_form_inside { display: flex; gap: 15px; justify-content: center; align-items: stretch; width: 100%; }
.about-newsletter-wrap .wp-block-mailchimp-mailchimp-form-field { flex-grow: 1; }
.about-newsletter-wrap .mc_merge_var { height: 100%; }
.about-newsletter-wrap .mc_input { width: 100%; height: 100%; padding: 18px 25px; background-color: rgba(255, 255, 255, 0.08); border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 4px; color: #ffffff; font-family: 'Lato', sans-serif; font-size: 1.1rem; transition: 0.3s ease; box-sizing: border-box; }
.about-newsletter-wrap .mc_input:focus { outline: none; border-color: var(--primary-blue); background-color: rgba(255, 255, 255, 0.15); }
.about-newsletter-wrap .mc_input::placeholder { color: #cbd2d9; opacity: 0.8; }
.about-newsletter-wrap .mc_signup_submit_button { display: flex; align-items: center; justify-content: center; background-color: var(--primary-blue); color: #1a202c; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; padding: 18px 40px; border: none; border-radius: 4px; cursor: pointer; transition: 0.3s ease; height: 100%; }
.about-newsletter-wrap .mc_signup_submit_button:hover { background-color: #ffffff; color: #1a202c; }

@media (max-width: 768px) {
    .about-newsletter-section { padding: 80px 0; }
    .about-newsletter-wrap .mc_custom_border_hdr, .about-newsletter-wrap h2 { font-size: 2.2rem; }
    .about-newsletter-wrap .mc_form_inside { flex-direction: column; gap: 20px; }
    .about-newsletter-wrap .mc_input, .about-newsletter-wrap .mc_signup_submit_button { width: 100%; padding: 20px; }
}

/* ========================================
   5. PÁGINA CONTACTO
======================================== */
.contact-hero-section { position: relative; background-color: #1a202c; padding: 120px 0 100px 0; overflow: hidden; text-align: center; }
.contact-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.11; background-size: cover; background-position: 46% 66%; background-attachment: scroll; background-repeat: no-repeat; z-index: 1; }
.contact-hero-wrap { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.contact-hero-wrap .subtitle { margin-bottom: 10px; }
.contact-hero-wrap .main-title { font-size: 4rem; }
.contact-hero-text { font-size: 1.2rem; color: #cbd2d9; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
    .contact-hero-section { padding: 80px 0; }
    .contact-hero-wrap .main-title { font-size: 3rem; }
}

/* FAQ y Formulario */
.contact-faq-section { background-color: #252c39; padding: 100px 0; color: #fff; }
.contact-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.faq-accordion { margin-top: 40px; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.faq-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.faq-question { width: 100%; background: none; border: none; color: #fff; font-family: 'Josefin Sans', sans-serif; font-size: 1.3rem; font-weight: 700; text-align: left; padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease; }
.faq-question:hover { color: var(--primary-blue); }
.faq-icon { font-size: 1.5rem; font-weight: 400; color: var(--primary-blue); transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.faq-answer p { color: #cbd2d9; font-size: 1.1rem; line-height: 1.6; margin: 0 0 20px 0; padding-right: 20px; }
.faq-item.active .faq-answer { max-height: 500px; }

/* CF7 Integración */
.custom-contact-form label { color: #cbd2d9; font-size: 1rem; display: block; margin-bottom: 15px; }
.custom-contact-form .wpcf7-form-control.wpcf7-text, .custom-contact-form .wpcf7-form-control.wpcf7-textarea { width: 100%; background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; color: #ffffff; font-family: 'Lato', sans-serif; font-size: 1.1rem; padding: 15px 20px; margin-top: 8px; transition: all 0.3s ease; box-sizing: border-box; }
.custom-contact-form .wpcf7-form-control:focus { outline: none; border-color: var(--primary-blue); background-color: rgba(255, 255, 255, 0.08); }
.custom-contact-form .wpcf7-submit { background-color: var(--primary-blue); color: #1a202c; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; padding: 18px 40px; border: none; border-radius: 4px; cursor: pointer; transition: 0.3s ease; margin-top: 10px; }
.custom-contact-form .wpcf7-submit:hover { background-color: #ffffff; color: #1a202c; }
.custom-contact-form .wpcf7-response-output { margin-top: 20px !important; border-radius: 4px; }

@media (max-width: 992px) { .contact-faq-grid { grid-template-columns: 1fr; gap: 60px; } }
@media (max-width: 768px) { .contact-faq-section { padding: 80px 0; } }

/* Tarjetas de Información */
.contact-info-section { background-color: #252c39; padding: 0 0 100px 0; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ci-box { background-color: #1a202c; border-radius: 8px; padding: 40px 30px; display: flex; flex-direction: column; align-items: flex-start; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: transform 0.3s ease; }
.ci-box:hover { transform: translateY(-5px); }
.ci-icon { width: 48px; height: 48px; color: var(--primary-blue); margin-bottom: 25px; }
.ci-icon svg { width: 100%; height: 100%; }
.ci-content h5 { font-family: 'Josefin Sans', sans-serif; font-size: 1.5rem; color: #ffffff; margin-top: 0; margin-bottom: 10px; }
.ci-content p { margin: 0; color: #cbd2d9; font-size: 1.1rem; }
.ci-content a { color: #cbd2d9; text-decoration: none; transition: 0.3s ease; }
.ci-content a:hover { color: var(--primary-blue); text-decoration: underline; }

@media (max-width: 992px) {
    .contact-info-grid { grid-template-columns: 1fr; gap: 20px; }
    .ci-box { align-items: center; text-align: center; padding: 40px 20px; }
}

/* Mapa de Contacto */
.contact-map-section { width: 100%; height: 500px; display: block; background-color: #1a202c; line-height: 0; }
.contact-map-section .map-container { width: 100%; height: 100%; }
.contact-map-section iframe { width: 100% !important; height: 100% !important; border: 0; filter: grayscale(20%) contrast(110%) opacity(0.9); transition: filter 0.4s ease; }
.contact-map-section iframe:hover { filter: grayscale(0%) contrast(100%) opacity(1); }

@media (max-width: 768px) { .contact-map-section { height: 350px; } }

/* ========================================
   6. PÁGINA HOW TO ORDER
======================================== */
/* Hero How to Order */
.hto-hero-section { background-color: #1a202c; padding: 100px 0; color: #fff; }
.hto-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hto-hero-content .subtitle { color: #edf2f7; margin-bottom: 15px; }
.hto-hero-content .main-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; }
.hto-hero-content .hto-hero-text { font-size: 1.15rem; color: #f7fafc; line-height: 1.6; margin-bottom: 40px; }
.hto-hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; background-color: transparent; color: #fff; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1.1rem; padding: 16px 38px; border: 2px solid var(--primary-blue); border-radius: 4px; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s ease; }
.btn-outline:hover { background-color: var(--primary-blue); color: #1a202c; }
.hto-hero-img img { width: 125%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.9); display: block; }

@media (max-width: 992px) {
    .hto-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hto-hero-buttons { justify-content: center; }
    .hto-hero-img img { width: 100%; }
}
@media (max-width: 768px) {
    .hto-hero-section { padding: 60px 0; }
    .hto-hero-content .main-title { font-size: 2.8rem; }
}

/* Steps (Pasos) */
.hto-steps-section { background-color: #2d3748; padding: 80px 0; color: #ffffff; }
.hto-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.hto-step-item { display: flex; flex-direction: column; align-items: flex-start; }
.hto-step-item .step-num { font-family: 'Josefin Sans', sans-serif; font-size: 2.2rem; color: #ffffff; font-weight: 700; margin-bottom: 10px; }
.hto-step-item .step-title { font-size: 1.8rem; color: #ffffff; margin-top: 0; margin-bottom: 15px; text-transform: capitalize; }
.hto-step-item .step-desc { font-size: 1.1rem; color: #cbd2d9; line-height: 1.6; margin: 0; }

@media (max-width: 992px) {
    .hto-steps-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .hto-step-item { align-items: center; }
}

/* Intake Form (Plugin Personalizado) */
.hto-form-section { background-color: #1a202c; padding: 100px 0; color: #ffffff; }
.hto-form-header { text-align: center; margin-bottom: 50px; }
.hto-form-wrap { max-width: 800px; margin: 0 auto; background-color: #252c39; padding: 50px; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.hto-form-wrap .custom-contact-form p { margin-bottom: 25px; }
.hto-form-wrap .custom-contact-form label { font-weight: 600; letter-spacing: 0.5px; }

/* Desplegables de PURE Forms */
.custom-contact-form .wpcf7-form-control.wpcf7-select { width: 100%; background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; color: #ffffff; font-family: inherit; font-size: 1.1rem; padding: 15px 20px; margin-top: 8px; transition: all 0.3s ease; box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'); background-repeat: no-repeat; background-position: right 15px center; cursor: pointer; }
.custom-contact-form .wpcf7-form-control.wpcf7-select:focus { outline: none; border-color: #3182CE; background-color: rgba(255, 255, 255, 0.08); }
.custom-contact-form .wpcf7-form-control.wpcf7-select option { background-color: #1a202c; color: #ffffff; padding: 10px; }

@media (max-width: 768px) {
    .hto-form-section { padding: 80px 0; }
    .hto-form-wrap { padding: 30px 20px; }
}

/* Marcas (Brands) */
.hto-brands-section { background-color: #1a202c; padding: 60px 0; color: #ffffff; }
.brands-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }
.brand-item { flex: 0 0 calc(16.666% - 25px); display: flex; flex-direction: column; border-radius: 2px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: transform 0.2s ease; }
.brand-item:hover { transform: translateY(-4px); }
.brand-img-wrap { background-color: #000000; padding: 20px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; }
.brand-img-wrap img { max-width: 100%; max-height: 100%; height: auto; object-fit: contain; }
.brand-name-wrap { background-color: #2d3748; padding: 12px 10px; text-align: center; }
.brand-item .brand-name { font-size: 0.95rem; color: #e2e8f0; margin: 0; font-weight: 500; letter-spacing: 0.5px; }

@media (max-width: 992px) { .brand-item { flex: 0 0 calc(25% - 25px); } }
@media (max-width: 576px) { .brand-item { flex: 0 0 calc(50% - 25px); } }

/* Service & Warranty (Tabs) */
.warranty-tabs-section { background-color: #1a202c; padding: 80px 0; color: #ffffff; }
.warranty-header { text-align: center; max-width: 700px; margin: 0 auto 50px auto; }
.warranty-header .section-description { color: #cbd2d9; font-size: 1.1rem; }
.warranty-tabs-container { max-width: 1000px; margin: 0 auto; }
.warranty-tabs-nav { display: flex; justify-content: center; border-bottom: 2px solid rgba(255, 255, 255, 0.1); margin-bottom: 30px; }
.warranty-tab-btn { background: transparent; border: none; color: #cbd2d9; font-family: 'Josefin Sans', sans-serif; font-size: 1.2rem; font-weight: 600; padding: 15px 30px; cursor: pointer; position: relative; transition: color 0.3s ease; }
.warranty-tab-btn:hover { color: #ffffff; }
.warranty-tab-btn.active { color: #3182CE; }
.warranty-tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background-color: #3182CE; }
.warranty-tab-content { display: none; background-color: #252c39; border-radius: 6px; padding: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.warranty-tab-content.active { display: flex; align-items: stretch; animation: fadeInTab 0.4s ease forwards; }
@keyframes fadeInTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tab-img-col { flex: 1; min-height: 350px; }
.tab-img-col img { width: 100%; height: 100%; object-fit: cover; }
.tab-text-col { flex: 1; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.tab-text-col .tab-title { font-size: 2rem; margin-top: 0; margin-bottom: 25px; color: #ffffff; }
.tab-text-col .tab-desc { color: #cbd2d9; font-size: 1.1rem; line-height: 1.6; }
.tab-text-col .clean-check-list li { font-size: 1.1rem; margin-bottom: 15px; color: #cbd2d9; }

@media (max-width: 768px) {
    .warranty-tabs-nav { flex-direction: column; border-bottom: none; }
    .warranty-tab-btn { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .warranty-tab-btn.active::after { display: none; }
    .warranty-tab-content.active { flex-direction: column; }
    .tab-img-col { min-height: 250px; }
    .tab-text-col { padding: 30px; }
}