/* =========================================
   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 */
.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Ú
   ========================================= */
.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); 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; }
.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-orange); 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; transition: transform var(--transition-smooth); }
.btn-phone:hover { transform: translateX(-0.1875rem); background-color: var(--brand-orange);}

.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; display: inline-block;}
.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
   ========================================= */
.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%); } }

/* =========================================
   WHY CHOOSE US FOR DOOR WINDOW (4 COLUMNS)
   ========================================= */
.door-why-section { padding: 5rem 5vw; background-color: #050505; }
.door-why-container { max-width: 81.25rem; margin: 0 auto; }
.door-why-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.75rem; }
.title-wrapper { position: relative; max-width: 60%; }
.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.05); z-index: -1; white-space: nowrap; }
.main-why-title { font-family: var(--font-heading); font-size: clamp(2rem, 3vw, 2.5rem); text-transform: uppercase; line-height: 1.2; }

/* Botón Outline Rojo en el Header */
.btn-outline-red { background-color: transparent; color: var(--brand-orange); border: 2px solid var(--brand-orange); padding: 0.9375rem 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-outline-red:hover { background-color: var(--brand-red); color: white; box-shadow: 0 0 1.25rem rgba(234, 26, 34, 0.3); }

/* Grid de 4 Columnas y Tarjetas con esquinas cortadas */
.door-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.door-card {
    padding: 2.1875rem 1.5625rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    /* Efecto de esquina cortada inferior derecha */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%);
}

.door-card:hover { transform: translateY(-0.5rem); }

/* Variantes de Tarjeta */
.card-solid-red { background-color: var(--brand-orange); color: white; border: none; }
.card-solid-red:hover { box-shadow: 0 0.9375rem 2.1875rem rgba(234, 26, 34, 0.4); }
.card-solid-red .door-icon svg { stroke: #ffffff; }

.card-dark-outline { background-color: #111111; color: white; border: 1px solid var(--brand-orange); }
.card-dark-outline:hover { box-shadow: 0 0.9375rem 2.1875rem rgba(234, 26, 34, 0.2); background-color: #1a1a1a; }
.card-dark-outline .door-icon svg { stroke: var(--brand-orange); } /* Ícono rojo en tarjetas oscuras */

.door-icon { margin-bottom: 1.25rem; }
.door-icon svg { width: 2.8125rem; height: 2.8125rem; transition: transform var(--transition-smooth); }
.door-card:hover .door-icon svg { transform: scale(1.15) rotate(3deg); }

.door-card h3 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.03125rem; }
.door-card p { font-size: 0.95rem; line-height: 1.6; opacity: 0.9; flex-grow: 1; }

/* =========================================
   WHEN TO REPLACE SECTION (Grid Background)
   ========================================= */
.when-replace-section {
    padding: 5rem 5vw;
    background-color: #050505;
    /* Fondo con patrón de cuadrícula roja sutil */
    background-image: linear-gradient(rgba(234, 26, 34, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(234, 26, 34, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.when-replace-container {
    max-width: 81.25rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

/* Columna Izquierda: Imagen */
.when-image-wrapper {
    position: relative;
    border-radius: 0.625rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.5);
    height: 100%;
    min-height: 25rem;
    overflow: hidden;
}

.when-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.when-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Columna Derecha: Tarjetas */
.when-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.when-card {
    background-color: #111111;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--brand-orange);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.3);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.when-card:hover {
    transform: translateX(-0.3125rem);
    border-color: rgba(234, 26, 34, 0.5);
    box-shadow: 0 0.625rem 1.25rem rgba(234, 26, 34, 0.15);
}

.when-card-content {
    padding: 1.5rem;
}

.when-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.red-accent {
    display: inline-block;
    width: 0.3125rem;
    height: 1.1rem;
    background-color: var(--brand-orange);
    margin-right: 0.625rem;
}

.when-card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 0.9375rem; /* Alineado con el texto, no con el acento */
}

/* =========================================
   PROCESS SECTION (Línea de Tiempo)
   ========================================= */
.process-section { padding: 5rem 5vw; background-color: #0d0d0d; }
.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; 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-orange); transition: transform var(--transition-smooth); }
.step-card:hover .step-icon svg { transform: scale(1.1); }

.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: #050505; border-top: 1px solid rgba(255, 255, 255, 0.05);}
.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; }
/* Grid de 3 columnas para las 6 imágenes */
.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); 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-orange); 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; }

/* =========================================
   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-orange); 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
   ========================================= */
.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-orange); 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; }

/* =========================================
   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; }

/* =========================================
   RESPONSIVE FINAL
   DOOR WINDOW REPLACEMENT PAGE
   ========================================= */

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  overflow: hidden;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {
  .navbar {
    padding: 14px 28px;
  }

  .mobile-menu-btn {
    display: block !important;
    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;
  }

  .subpage-hero-container,
  .when-replace-container,
  .contact-container,
  .faq-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .subpage-hero {
    padding-top: 120px;
  }

  .subpage-hero-content,
  .door-why-header,
  .when-content,
  .contact-info,
  .faq-info {
    text-align: center;
  }

  .subpage-hero-content .btn,
  .door-why-header .btn,
  .faq-info .btn {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .breadcrumbs {
    text-align: center;
  }

  .door-why-header {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .title-wrapper {
    max-width: 100%;
  }

  .door-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .door-card {
    min-height: 260px;
  }

  .when-image-wrapper {
    min-height: 420px;
  }

  .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);
  }

  .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,
  .door-why-section,
  .when-replace-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.45rem;
  }

  .brands-title::before {
    display: none;
  }

  .main-why-title {
    font-size: 2rem;
    line-height: 1.12;
  }

  .door-why-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .door-why-header {
    align-items: stretch;
    text-align: left;
    margin-bottom: 32px;
  }

  .door-why-header .btn-outline-red {
    width: fit-content;
    align-self: flex-start;
  }

  .door-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .door-card {
    width: 100%;
    min-height: auto;
    padding: 28px 24px;
    border-radius: 18px;
    text-align: left;
    align-items: flex-start;
    clip-path: none;
  }

  .door-card h3 {
    font-size: 1.05rem;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .door-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .door-icon svg {
    width: 42px;
    height: 42px;
  }

  .when-replace-container {
    gap: 34px;
  }

  .when-image-wrapper {
    min-height: 340px;
  }

  .when-content {
    text-align: center;
  }

  .when-card {
    border-left: 4px solid var(--brand-orange);
  }

  .when-card:hover {
    transform: translateY(-4px);
  }

  .when-card-content {
    padding: 24px;
  }

  .when-card-content h3 {
    justify-content: center;
    font-size: 1rem;
    line-height: 1.3;
  }

  .when-card-content p {
    padding-left: 0;
    text-align: center;
  }

  .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;
  }

  .ticker-content span {
    font-size: 0.95rem;
    margin-right: 34px;
  }

  .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-red);
    color: #fff;
  }

  .left-btn {
    left: calc(50% - 48px);
  }

  .right-btn {
    right: calc(50% - 48px);
  }

  .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-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,
  .main-why-title {
    font-size: 2rem;
  }

  .btn,
  .btn-primary,
  .btn-primary-red,
  .btn-outline-red,
  .btn-phone {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .door-card {
    padding: 26px 20px;
  }

  .when-card-content {
    padding: 22px 18px;
  }

  .review-card {
    min-width: 92%;
    max-width: 92%;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }
}

/* =========================================
   FIX MENÚ MÓVIL / TABLET
   DOOR WINDOW PAGE
   ========================================= */

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .navbar {
    padding: 12px 22px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10002;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .header-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 10001;
    padding: 90px 24px 40px;
  }

  .header-right.active {
    transform: translateX(0);
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav-links > a,
  .nav-links .dropbtn,
  .dropdown {
    margin-left: 0 !important;
    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: 14px;
    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: 8px;
  }
}

@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;
    }
}

.scrolling-ticker {
    background-color: var(--brand-orange); 
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}