/* =========================================
   VARIABLES DE COLOR Y TIPOGRAFÍA
   ========================================= */
:root {
    --bg-dark: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #d1d5db;
    --brand-orange: #ee7b1c;
    --brand-orange-strong: #ff5500;
    --brand-red: #ea1a22;
    --brand-yellow: #faea0a;
    --font-heading: 'Arial Black', Impact, sans-serif;
    --font-body: 'Arial', sans-serif;
    --transition-smooth: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-body); }

/* =========================================
   ANIMACIONES GLOBALES
   ========================================= */
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.float-anim { animation: float 4s ease-in-out infinite; }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-load { opacity: 0; animation: fadeSlideUp 1s ease-out forwards; animation-delay: 0.3s; }
.animate-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================
   BARRA DE NAVEGACIÓN Y MENÚ DESPLEGABLE
   ========================================= */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 0.9375rem 3.125rem; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: fixed; top: 0; width: 100%; z-index: 1000; transition: transform 0.3s ease-in-out, background 0.3s ease; }
.navbar-hidden { transform: translateY(-100%); }
.logo img { height: 60px; margin: .5rem;}
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; }
.header-right { display: flex; flex-direction: row; align-items: center; gap: 0.9375rem; }
.nav-links { display: flex; align-items: center; }
.nav-links > a, .dropbtn { color: var(--text-main); text-decoration: none; margin-left: 1.5625rem; font-family: inherit; font-size: 1rem; text-transform: uppercase; transition: color var(--transition-smooth); cursor: pointer; }
.nav-links > a:hover, .dropdown:hover .dropbtn { color: var(--brand-orange-strong); }
.dropdown { position: relative; display: inline-block; padding-bottom: 0.625rem; top: 0.3125rem;}
.arrow { font-size: 0.7rem; margin-left: 0.1875rem; transition: transform var(--transition-smooth); }
.dropdown:hover .arrow { transform: rotate(180deg); display: inline-block; }
.dropdown-content { opacity: 0; visibility: hidden; transform: translateY(0.9375rem); position: absolute; top: 100%; left: 0; background-color: #111111; min-width: 20rem; box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.8); border-top: 3px solid var(--brand-orange); transition: all var(--transition-smooth); z-index: 1; }
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-content a { color: var(--text-main); padding: 0.9375rem 1.25rem; text-decoration: none; display: block; font-size: 0.85rem; font-weight: bold; border-bottom: 1px solid rgba(255,255,255,0.05); transition: all var(--transition-smooth); margin-left: 0; }
.dropdown-content a:hover { background-color: rgba(234, 26, 34, 0.1); color: var(--brand-red); padding-left: 1.5625rem; }
.btn-phone { background-color: var(--brand-orange-strong); color: #ffffff; padding: 0.875rem 1.75rem; border-radius: 1.875rem; text-decoration: none; font-size: 1.1rem; font-weight: bold; box-shadow: 0.375rem 0 0.9375rem rgba(255, 85, 0, 0.4); transition: transform var(--transition-smooth), box-shadow var(--transition-smooth); }
.btn-phone:hover { transform: translateX(-0.1875rem); box-shadow: 0.5rem 0 1.25rem rgba(255, 85, 0, 0.6); background-color: var(--brand-orange);}

/* Botones */
.btn-primary-red { background-color: var(--brand-orange); color: white; border: 2px solid var(--brand-orange); padding: 1rem 2.5rem; font-size: 0.9rem; font-weight: bold; border-radius: 1.875rem; text-decoration: none; text-transform: uppercase; transition: all var(--transition-smooth); letter-spacing: 0.0625rem;}
.btn-primary-red:hover { background-color: transparent; color: var(--brand-red); box-shadow: 0 0 1.25rem rgba(234, 26, 34, 0.3); }

/* =========================================
   SUBPAGE HERO
   ========================================= */
.subpage-hero { padding: 8.75rem 5vw 3.75rem 5vw; background-color: var(--bg-dark); }
.subpage-hero-container { max-width: 81.25rem; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.75rem; align-items: center; }
.section-subtitle-small { font-family: var(--font-heading); font-size: 0.85rem; color: var(--text-main); letter-spacing: 0.125rem; text-transform: uppercase; display: block; margin-bottom: 1.25rem; }
.subpage-hero-content h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; margin-bottom: 1.5rem; text-transform: uppercase; }
.subpage-hero-content p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 2rem; }
.breadcrumbs { margin-top: 2rem; font-size: 0.85rem; font-weight: bold; letter-spacing: 0.0625rem; text-transform: uppercase; }
.breadcrumbs a { color: var(--brand-orange-strong); text-decoration: none; transition: color var(--transition-smooth); }
.breadcrumbs a:hover { color: var(--brand-red); }
.breadcrumbs .divider { margin: 0 0.625rem; color: var(--text-muted); }
.breadcrumbs .current { color: var(--text-muted); }
.subpage-hero-image img { width: 100%; height: auto; border-radius: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 0.9375rem 2.1875rem rgba(0,0,0,0.5); }

/* =========================================
   GUARANTEE TICKER (NUEVO)
   ========================================= */
.guarantee-ticker {
    background-color: var(--brand-red);
    padding: 1.25rem 0;
    overflow: hidden;
    position: relative;
    display: flex;
    white-space: nowrap;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
.ticker-content { display: flex; animation: marquee 25s linear infinite; }
.ticker-content span { font-family: var(--font-heading); font-size: 1.2rem; color: #ffffff; text-transform: uppercase; letter-spacing: 0.125rem; margin-right: 3.125rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   SUBPAGE WHY CHOOSE US (WINDSHIELD GRID)
   ========================================= */
.subpage-why-us { padding: 3.75rem 5vw; background-color: #111111; }
.subpage-why-container { max-width: 81.25rem; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.brands-title-container { position: relative; }
.brands-title { font-family: var(--font-heading); font-size: 2rem; color: var(--text-main); position: relative; z-index: 2; }
.brands-title::before { content: attr(data-text); position: absolute; top: -0.625rem; left: 0; font-size: 3.5rem; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1); z-index: -1; white-space: nowrap; }

/* Grid de Tarjetas 2x2 */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.why-card-orange { background: linear-gradient(145deg, var(--brand-orange), #c75e0c); padding: 1.875rem 1.5625rem; border-radius: 0.75rem; color: white; box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.4); border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.why-card-orange:hover { transform: translateY(-0.5rem); box-shadow: 0 0.9375rem 2.1875rem rgba(238, 123, 28, 0.4); }
.why-card-dark { background: #111111; padding: 1.875rem 1.5625rem; border-radius: 0.75rem; color: white; box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.4); border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.why-card-dark:hover { transform: translateY(-0.5rem); box-shadow: 0 0.9375rem 2.1875rem rgba(255, 255, 255, 0.1); }
.why-icon { margin-bottom: 1.25rem; }
.why-icon svg { width: 2.5rem; height: 2.5rem; stroke: var(--brand-yellow); transition: transform var(--transition-smooth); }
.why-card-orange:hover .why-icon svg, .why-card-dark:hover .why-icon svg { transform: scale(1.15) rotate(3deg); }
.why-card-orange h3, .why-card-dark h3 { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.03125rem; }
.why-card-orange p, .why-card-dark p { font-size: 0.9rem; line-height: 1.5; opacity: 0.9; }

/* Imagen Derecha e Insignias */
.why-image-wrapper { position: relative; height: 100%; min-height: 31.25rem; }
.why-img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.25rem; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
.hex-badge { position: absolute; background-color: var(--brand-red); color: white; padding: 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: -0.3125rem 0.3125rem 0.9375rem rgba(234, 26, 34, 0.4); clip-path: polygon(100% 0, 100% 100%, 15% 100%, 0 50%, 15% 0); width: 8.75rem; height: 6.25rem; z-index: 5; }
.badge-top { top: 3.125rem; left: -1.25rem; }
.badge-bottom { bottom: 3.125rem; left: -3.75rem; }
.badge-number { font-family: var(--font-heading); font-size: 2rem; line-height: 1; }
.badge-text { font-size: 0.8rem; font-weight: bold; text-transform: uppercase; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background-color: #050505; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 3.75rem; }
.footer-container { max-width: 81.25rem; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3.125rem; padding: 0 5vw 3.125rem 5vw; }
.footer-logo { height: 3.75rem; margin-bottom: 1.25rem; }
.brand-col p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.footer-col h3 { font-family: var(--font-heading); color: white; margin-bottom: 1.5625rem; font-size: 1.1rem; letter-spacing: 0.0625rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.9375rem; display: flex; align-items: center; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: bold; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--brand-orange); }
.asterisks { color: var(--brand-red); margin-right: 0.9375rem; letter-spacing: 0.125rem;}
.contact-list li { color: var(--text-muted); font-size: 0.95rem; }
.social-icons { display: flex; gap: 0.9375rem; margin-top: 1.25rem; }
.social-icons a { width: 2.1875rem; height: 2.1875rem; background-color: var(--brand-red); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: bold; transition: transform 0.3s, background 0.3s; }
.social-icons a:hover { transform: scale(1.1); background-color: var(--brand-orange); }
.footer-bottom { background-color: #000; text-align: center; padding: 1.25rem; color: #777; font-size: 0.85rem; }

/* =========================================
   SIGNS SECTION (Reutilizando Expertise Layout)
   ========================================= */
.expertise-section {
    padding: 3.75rem 5vw; /* ~60px */
    background-color: var(--bg-dark);
}

.expertise-container {
    max-width: 81.25rem; /* ~1300px */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.75rem;
    align-items: center;
}

.expertise-image img {
    width: 100%;
    height: auto;
    border-radius: 0.625rem;
    clip-path: polygon(0 0, 93% 0, 100% 100%, 0 100%); /* Recorte diagonal */
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.5);
}

.expertise-intro {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 2.1875rem;
}

.expertise-item {
    margin-bottom: 1.5625rem;
}

.expertise-item h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--brand-orange); 
}

.expertise-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   PROCESS SECTION (Línea de Tiempo)
   ========================================= */
.process-section {
    padding: 3.75rem 5vw;
    background-color: #050505; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.process-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 81.25rem;
    margin: 0 auto;
    gap: 0.9375rem;
}

.step-card {
    background-color: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.625rem;
    padding: 1.875rem;
    flex: 1;
    min-height: 18.125rem; /* ~290px */
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
}

.step-card:hover {
    border-color: var(--brand-orange);
    background-color: rgba(20, 20, 20, 0.9);
    box-shadow: 0 0.625rem 1.5625rem rgba(238, 123, 28, 0.15);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
    color: var(--text-main);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1.25rem;
}

.step-icon svg {
    width: 2.375rem;
    height: 2.375rem;
    stroke: var(--brand-red);
    transition: transform var(--transition-smooth);
}

.step-card:hover .step-icon svg {
    transform: scale(1.1);
}

/* Número gigante outline */
.step-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 0.75;
    color: transparent; 
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); 
    transition: all var(--transition-smooth);
}

.step-card:hover .step-number {
    -webkit-text-stroke: 1.5px var(--brand-orange); 
    color: rgba(238, 123, 28, 0.1); 
}

.step-arrow {
    color: var(--brand-red);
    font-size: 1.8rem;
    font-weight: bold;
}

/* =========================================
   PORTFOLIO SECTION
   ========================================= */
.portfolio-section { padding: 3.75rem 5vw; background-color: #0d0d0d; }
.portfolio-header { text-align: center; max-width: 50rem; margin: 0 auto 3.125rem auto; }
.portfolio-desc { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; margin-top: 1.25rem; }

/* Configuración de Grid para 6 imágenes (3 columnas) */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 81.25rem; margin: 0 auto; }
.portfolio-img { width: 100%; height: 15.625rem; object-fit: cover; border-radius: 0.5rem; border: 3px solid var(--brand-red); transition: transform var(--transition-smooth), box-shadow var(--transition-smooth); }
.portfolio-img:hover { transform: scale(1.03); box-shadow: 0 0.625rem 1.5625rem rgba(234, 26, 34, 0.4); z-index: 2; position: relative; }

/* =========================================
   CALL TO ACTION & TICKER SECTION
   ========================================= */
.cta-wrapper { position: relative; width: 100%; }
.cta-banner { min-height: 31.25rem; display: flex; align-items: center; justify-content: flex-end; padding: 3.125rem 5vw; position: relative; background-size: cover; background-position: center; }
.cta-banner::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.8) 100%); }
.cta-content-box { background: rgba(20, 20, 20, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 3px solid var(--brand-orange); padding: 3.125rem 2.5rem; max-width: 34.375rem; border-radius: 0.5rem; position: relative; z-index: 1; box-shadow: 0 0.9375rem 2.1875rem rgba(0,0,0,0.5); }
.cta-content-box h2 { font-family: var(--font-heading); font-size: 2rem; line-height: 1.2; margin-bottom: 1.25rem; text-transform: uppercase; color: var(--text-main); }
.cta-content-box p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.5625rem; }
.cta-phone { color: var(--brand-red); font-weight: bold; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================
   REVIEWS SECTION
   ========================================= */
.reviews-section { padding: 3.75rem 5vw; background-color: #050505; text-align: center; }
.carousel-wrapper { position: relative; max-width: 81.25rem; margin: 0 auto; display: flex; align-items: center; }
.reviews-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 1.25rem 0; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { min-width: 18.75rem; max-width: 21.875rem; background-color: #111; border-top: 4px solid var(--brand-orange); border-radius: 0.5rem; padding: 1.5625rem; text-align: left; scroll-snap-align: start; box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.5); flex-shrink: 0; }
.review-header { display: flex; align-items: center; gap: 0.9375rem; margin-bottom: 0.9375rem; }
.reviewer-avatar { width: 2.8125rem; height: 2.8125rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: bold; color: white; }
.reviewer-info h4 { font-size: 1rem; display: flex; align-items: center; gap: 0.3125rem; color: var(--text-main); }
.verified-icon { width: 1rem; color: #e74c3c; }
.reviewer-info span { font-size: 0.8rem; color: var(--text-muted); }
.stars { color: var(--brand-yellow); font-size: 1.2rem; margin-bottom: 0.9375rem; letter-spacing: 0.125rem; }
.review-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0.9375rem; }
.read-more { color: var(--brand-red); text-decoration: none; font-size: 0.9rem; font-weight: bold; }
.carousel-btn { background-color: rgba(255,255,255,0.1); color: white; border: none; width: 2.8125rem; height: 2.8125rem; border-radius: 50%; cursor: pointer; font-size: 1.2rem; position: absolute; z-index: 10; transition: background var(--transition-smooth); }
.carousel-btn:hover { background-color: var(--brand-red); }
.left-btn { left: -1.25rem; }
.right-btn { right: -1.25rem; }

.scrolling-ticker {
    background-color: var(--brand-orange); 
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content { 
    display: flex; 
    animation: marquee 25s linear infinite; 
}

.ticker-content span { 
    font-family: var(--font-heading); 
    font-size: 1.2rem; 
    color: #ffffff; 
    text-transform: uppercase; 
    letter-spacing: 0.125rem; 
    margin-right: 3.125rem; /* Esto crea la separación limpia entre frases */
}

@keyframes marquee { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* =========================================
   CONTACT & FORM SECTION
   ========================================= */
.contact-section { padding: 3.75rem 5vw; background-color: var(--bg-dark); }
.contact-container { max-width: 81.25rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.75rem; }

.info-block { margin-bottom: 1.5625rem; }
.info-block h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 0.3125rem; color: white;}
.info-block a, .info-block p { color: var(--text-muted); text-decoration: none; font-size: 1rem; }
.info-block a:hover { color: var(--brand-orange); }

.map-container { margin-top: 1.875rem; }

.contact-form-box { background-color: #0f0f0f; padding: 2.5rem; border-radius: 0.75rem; border-top: 4px solid var(--brand-red); box-shadow: 0 0.9375rem 2.1875rem rgba(0,0,0,0.5); }
.contact-form-box h3 { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1.875rem; color: var(--text-main); }
.contact-form-box input[type="text"], .contact-form-box input[type="email"], .contact-form-box input[type="tel"] { width: 100%; padding: 0.9375rem 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); color: white; font-size: 1rem; margin-bottom: 1.5625rem; font-family: var(--font-body); }
.contact-form-box input:focus { outline: none; border-bottom: 2px solid var(--brand-orange); }

.phone-input-group { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.2); margin-bottom: 1.5625rem; }
.phone-input-group span { margin-right: 0.625rem; font-size: 1.2rem; }
.phone-input-group input { border-bottom: none !important; margin-bottom: 0 !important; }

.checkbox-title { font-weight: bold; color: var(--brand-red); margin-bottom: 0.9375rem; }
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9375rem; margin-bottom: 1.875rem; }
.checkbox-group label, .consent-group label { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9rem; color: var(--text-muted); cursor: pointer; }

.consent-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.9375rem;}
.consent-group span { line-height: 1.4; font-size: 0.85rem; }
input[type="checkbox"] { accent-color: var(--brand-orange); transform: scale(1.2); margin-top: 0.1875rem;}

.form-links { text-align: center; font-size: 0.85rem; }
.form-links a { color: var(--text-muted); text-decoration: underline; margin: 0 0.3125rem; }
.form-links a:hover { color: var(--brand-orange); }

/* =========================================
   FAQ SECTION (Acordeón)
   ========================================= */
.faq-section { padding: 3.75rem 5vw; background-color: #050505; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.faq-container { max-width: 81.25rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: flex-start; }

.faq-accordion { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background-color: #111111; border-radius: 0.5rem; border: 1px solid rgba(255, 255, 255, 0.05); overflow: hidden; transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth); }
.faq-item.active { border-color: var(--brand-red); box-shadow: 0 0 1.25rem rgba(234, 26, 34, 0.15); }

.faq-question { width: 100%; background: transparent; border: none; padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); font-family: var(--font-heading); font-size: 1.05rem; text-align: left; cursor: pointer; transition: color var(--transition-smooth); }
.faq-question:hover { color: var(--brand-red); }
.faq-icon { stroke: var(--brand-red); transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p { padding: 0 1.5rem 1.5rem 1.5rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }


/* =========================================
   MEDIA QUERIES (TABLETS & PHONES)
   ========================================= */

@media (max-width: 64rem) { /* 1024px */
    .navbar { padding: 1rem 1.5rem; }
    
    .mobile-menu-btn { 
        display: block; 
        z-index: 10001; /* Por encima de la cortina */
        position: relative;
    }

    /* Menú Cortina Sólido (Igual al Index corregido) */
    .header-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; 
        height: 100vh;
        background-color: #0a0a0a; /* Sólido para evitar el "fantasma" */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1);
        z-index: 10000;
        display: flex;
    }

    .header-right.active { right: 0; }

    .nav-links { 
        flex-direction: column; 
        gap: 2rem; 
        width: 100%;
        align-items: center;
    }

    .nav-links > a, .dropbtn { 
        margin-left: 0; 
        font-size: 1.4rem; 
        font-weight: bold; 
    }

    /* Grillas a 1 columna */
    .subpage-hero-container, 
    .subpage-why-container, 
    .expertise-container, 
    .process-steps, 
    .portfolio-grid, 
    .contact-container, 
    .faq-container { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }

    /* Ajustes específicos de componentes */
    .why-grid { grid-template-columns: 1fr; }
    .step-arrow { transform: rotate(90deg); margin: 10px 0; }
    .expertise-image { order: -1; }
    .expertise-image img { clip-path: none; }
    .why-img { clip-path: none; }
}

@media (max-width: 48rem) { /* 768px */
    .subpage-hero { padding-top: 7.5rem; text-align: center; }
    .subpage-hero-content h1 { font-size: 2.2rem; }
    
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col ul li { justify-content: center; }
    .social-icons { justify-content: center; }

    .hex-badge { width: 7rem; height: 5rem; }
    .badge-bottom { left: 0; bottom: 10px; }
    
    .ticker-content span { font-size: 1rem; }
}

/* =========================================
   RESPONSIVE FIX GLOBAL
   WINDSHIELD REPLACEMENT PAGE
   ========================================= */

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  overflow: hidden;
}

/* Botón formulario como la referencia naranja */
form button[type="submit"],
.btn-submit-form,
.form-submit,
.btn-form {
  width: 100%;
  background: var(--brand-orange) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 18px 35px !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: none !important;
}

form button[type="submit"]:hover,
.btn-submit-form:hover,
.form-submit:hover,
.btn-form:hover {
  background: var(--brand-orange-strong) !important;
  color: #000 !important;
  transform: translateY(-2px);
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {
  .navbar {
    padding: 14px 28px;
  }

  .mobile-menu-btn {
    display: block;
    position: relative;
    z-index: 10001;
  }

  .header-right {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 10000;
    padding: 90px 24px 40px;
  }

  .header-right.active {
    transform: translateX(0);
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav-links > a,
  .nav-links .dropbtn,
  .dropdown {
    margin-left: 0;
    font-size: 1.15rem;
    text-align: center;
  }

  .dropdown {
    width: 100%;
    padding-bottom: 0;
    top: 0;
  }

  .dropdown-content {
    position: static;
    min-width: 100%;
    width: 100%;
    margin-top: 16px;
    background: transparent;
    border-top: 1px solid rgba(238, 123, 28, 0.35);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
  }

  .btn-phone {
    margin-top: 10px;
  }

  .subpage-hero-container,
  .subpage-why-container,
  .expertise-container,
  .faq-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .subpage-hero {
    padding-top: 120px;
  }

  .subpage-hero-content {
    text-align: center;
  }

  .subpage-hero-content .btn,
  .faq-info .btn {
    margin-left: auto !important;
    margin-right: auto;
  }

  .breadcrumbs {
    text-align: center;
  }

  .subpage-hero-image img,
  .expertise-image img,
  .why-img {
    max-height: 480px;
    object-fit: cover;
  }

  .why-img,
  .expertise-image img {
    clip-path: none;
  }

  .why-image-wrapper {
    min-height: auto;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .step-arrow {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-banner {
    justify-content: center;
    text-align: center;
  }

  .cta-banner::before {
    background: rgba(10, 10, 10, 0.72);
  }

  .cta-content-box {
    max-width: 620px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .navbar {
    padding: 12px 18px;
  }

  .logo img {
    height: 52px;
    margin: 0;
  }

  .subpage-hero,
  .subpage-why-us,
  .expertise-section,
  .process-section,
  .portfolio-section,
  .reviews-section,
  .contact-section,
  .faq-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .subpage-hero {
    padding-top: 105px;
    padding-bottom: 50px;
  }

  .subpage-hero-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .subpage-hero-content p {
    font-size: 1rem;
  }

  .brands-title {
    font-size: 1.55rem;
  }

  .brands-title::before {
    font-size: 2.5rem;
    left: 0;
    top: -8px;
  }

  .ticker-content span {
    font-size: 0.95rem;
    margin-right: 34px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card-orange,
  .why-card-dark {
    text-align: center;
    padding: 28px 22px;
  }

  .why-icon {
    display: flex;
    justify-content: center;
  }

  .hex-badge {
    position: static;
    margin: 16px auto 0;
    clip-path: none;
    border-radius: 14px;
    width: 140px;
    height: auto;
  }

  .expertise-content {
    text-align: center;
  }

  .expertise-item {
    background: #111;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(238, 123, 28, 0.18);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
    text-align: center;
  }

  .step-footer {
    justify-content: center;
    gap: 24px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-img {
    height: 230px;
  }

  .cta-banner {
    min-height: 460px;
    padding: 50px 22px;
  }

  .cta-content-box {
    padding: 34px 24px;
  }

  .cta-content-box h2 {
    font-size: 1.65rem;
  }

  .carousel-wrapper {
    padding: 0 4px;
  }

  .reviews-track {
    gap: 16px;
    padding: 20px 0 34px;
  }

  .review-card {
    min-width: 85%;
    max-width: 85%;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: -28px;
    background: var(--brand-orange);
    color: #000;
  }

  .carousel-btn:hover {
    background: var(--brand-orange-strong);
  }

  .left-btn {
    left: calc(50% - 48px);
  }

  .right-btn {
    right: calc(50% - 48px);
  }

  .contact-info {
    text-align: center;
  }

  .contact-form-box {
    padding: 30px 22px;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .checkbox-group label,
  .consent-group label {
    text-align: left;
  }

  .faq-container {
    gap: 32px;
  }

  .faq-info {
    text-align: center;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 20px;
    gap: 16px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col ul li,
  .contact-list li {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 480px) {
  .subpage-hero-content h1 {
    font-size: 2rem;
  }

  .btn,
  .btn-primary,
  .btn-primary-red,
  .btn-phone {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section-subtitle,
  .justify-center {
    justify-content: center;
    text-align: center;
  }

  .section-subtitle hr {
    width: 35px;
  }

  .brands-title::before {
    display: none;
  }

  .subpage-hero-image img,
  .expertise-image img,
  .why-img {
    border-radius: 16px;
  }

  .review-card {
    min-width: 92%;
    max-width: 92%;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
    .dropdown-content {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        min-width: 100%;
        box-shadow: none;
        border-top: none;
        background-color: transparent;
        transition: all 0.3s ease;
    }

    .dropdown.open .dropdown-content {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        margin-top: 15px;
    }

    .dropdown.open .arrow {
        transform: rotate(180deg);
        display: inline-block;
    }
}