/* ============================================================
   STAIR & GLASS DESIGN — style.css v8.0
   Una sola versión (Español)
   ============================================================
   1.  VARIABLES & ROOT
   2.  TIPOGRAFÍA
   3.  RESET & BASE
   4.  ACCESIBILIDAD
   5.  COMPONENTES GLOBALES
   6.  HEADER & NAVEGACIÓN
   7.  HERO
   8.  PORTFOLIO / BIBLIOTECA
   9.  SERVICIOS
   10. ESTADÍSTICAS
   11. ÁREAS DE SERVICIO
   12. CONTACTO
   13. FOOTER
   14. BOTONES FLOTANTES
   15. MODALES
   16. TABLET  ≤ 1024px
   17. MÓVIL   ≤ 767px
   18. MÓVIL PEQUEÑO ≤ 480px
   ============================================================ */


/* ============================================================
   1. VARIABLES & ROOT
   ============================================================ */
:root {
    --oro: #a69177;
    --oro-oscuro: #8e7955;
    --fondo: #050505;
    --fondo-claro: #0a0a0a;
    --gris: #0d0d0d;
    --gris-claro: #141414;
    --blanco: #e0e0e0;
    --texto-gris: #8c8c8c;
    --borde: rgba(166, 145, 119, 0.15);
    --transition: all 1000ms cubic-bezier(0.25, 1, 0.5, 1);
    --fuente: -apple-system, 'SF Pro Text', 'SF Pro Display',
        'Helvetica Neue', Helvetica, Arial, sans-serif;
}


/* ============================================================
   2. TIPOGRAFÍA
   ============================================================ */
body,
p,
li,
span,
button,
input,
textarea,
select,
.hero-subtitle,
.review-text,
.footer-col ul li a,
.service-detailed-content p,
.process-item p {
    font-family: var(--fuente);
    font-weight: 400;
    line-height: 1.6;
    font-style: normal;
}

h1,
h2,
h3,
h4,
.hero-title,
.section-header h2,
.service-title,
.service-number,
.process-number {
    font-family: var(--fuente);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle,
.section-tag,
.btn-primary,
.btn-cotizacion-nav,
nav a,
.dropbtn,
.lang-btn,
.process-item h3 {
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-number {
    font-weight: 700;
    opacity: 0.3;
}

.stat-number {
    display: inline-block;
}

.stat-symbol {
    display: inline-block;
    font-size: 2rem;
    margin-left: 2.6rem;
    vertical-align: super;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--oro);
}


/* ============================================================
   3. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--fondo-claro);
    color: var(--blanco);
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

address {
    font-style: normal;
}


/* ============================================================
   4. ACCESIBILIDAD
   ============================================================ */
/* Oculto visualmente pero accesible para lectores de pantalla */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Foco visible */
:focus-visible {
    outline: 2px solid var(--oro);
    outline-offset: 3px;
}

/* Utilities */
@media (min-width: 768px) {
    .solo-movil {
        display: none;
    }
}

@media (max-width: 767px) {
    .solo-pc {
        display: none;
    }
}


/* ============================================================
   5. COMPONENTES GLOBALES
   ============================================================ */

/* ── Botones ── */
.btn-primary {
    display: inline-block;
    background: var(--oro);
    color: var(--fondo);
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 1px;
}

.btn-primary:hover {
    background: var(--oro-oscuro);
    transform: translateY(-3px);
}

.btn-cotizacion-nav {
    background: transparent;
    border: 1px solid var(--oro);
    color: var(--oro);
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 20px;
    display: inline-block;
    line-height: 1;
    border-radius: 1px;
}

.btn-cotizacion-nav:hover {
    background: var(--oro);
    color: #000;
}

/* Bordes cuadrados globales */
button,
.btn-primary,
.btn-cotizacion-nav,
.btn-submit,
.btn-submit-simple,
.btn-antes-despues,
.lang-btn,
.btn-next,
.btn-prev,
.submit-btn,
.swiper-button-next,
.swiper-button-prev {
    border-radius: 1px !important;
}

.whatsapp,
.btn-top {
    border-radius: 50% !important;
}

/* ── Section header ── */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: -50px;
}

.section-tag {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--oro);
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-header h2 .highlight {
    color: var(--oro);
}

.section-header p {
    color: var(--texto-gris);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Iconos ── */
.icon-unicode,
.icon-svg {
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    margin-right: 1rem;
    color: var(--oro);
}

.icon-svg svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: currentColor;
}

/* ── SEO blocks ── */
.seo-block-intro {
    text-align: center;
    max-width: 850px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.seo-block-intro p {
    font-size: 0.95rem;
    color: #7a7a7a;
    border-top: 1px solid rgba(166, 145, 119, 0.25);
    border-bottom: 1px solid rgba(166, 145, 119, 0.25);
    padding: 2rem 0;
    letter-spacing: 1.2px;
    line-height: 1.8;
    font-weight: 300;
}

.seo-block-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    border: 1px solid rgba(166, 145, 119, 0.2);
    border-radius: 4px;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.feature-item svg {
    display: block;
    margin: 0 auto 0.5rem;
}

.feature-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--texto-gris);
}

.seo-block-outro {
    max-width: 900px;
    margin: 3rem auto;
    text-align: center;
    padding: 2.5rem;
    border: 1px solid rgba(166, 145, 119, 0.2);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.seo-block-outro h3 {
    margin-bottom: 1rem;
}

.seo-block-outro p {
    line-height: 1.6;
    color: var(--texto-gris);
}

.seo-block-outro a {
    color: var(--oro);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--oro);
    transition: all 0.3s ease;
}

.seo-block-outro a:hover {
    opacity: 0.8;
}


/* ============================================================
   6. HEADER & NAVEGACIÓN
   ============================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--borde);
    transition: var(--transition);
}

.logo {
    color: var(--blanco);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
    cursor: default;
}

.logo-stair {
    color: var(--blanco);
}

.logo-glass {
    color: var(--oro);
    font-weight: 500;
}

/* Quitar cualquier decoración o borde del enlace del logo */
.logo a,
.logo-link {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Para todos los estados del enlace */
.logo a:link,
.logo a:visited,
.logo a:hover,
.logo a:active,
.logo a:focus,
.logo-link:link,
.logo-link:visited,
.logo-link:hover,
.logo-link:active,
.logo-link:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Mantener los colores originales del texto dentro del enlace */
.logo a .logo-stair,
.logo-link .logo-stair {
    color: var(--blanco);
}

.logo a .logo-glass,
.logo-link .logo-glass {
    color: var(--oro);
    font-weight: 500;
}

.footer-logo .logo span {
    color: var(--oro);
    /* #a69177 */
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--oro);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background-color: var(--oro);
    display: block;
    transition: var(--transition);
}

.btn-cotizacion-movil {
    display: none;
    background: var(--oro);
    border: none;
    color: #fff;
    padding: 0 1rem;
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    transition: all 0.3s ease;
}

/* ── Dropdown ── */
.dropdown {
    position: relative;
}

.dropbtn {
    background: transparent;
    border: none;
    color: var(--blanco);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    font-family: inherit;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropbtn i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--fondo-claro);
    min-width: 150px;
    border: 1px solid var(--borde);
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    flex-direction: column;
}

.dropdown-content.show {
    display: flex;
}

.main-item-container {
    position: relative;
}

.main-item {
    display: block;
    padding: 12px 10px;
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    cursor: pointer;
}

.main-item-container a.main-item {
    margin: 0;
}

.main-item.submenu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.main-item:hover {
    background-color: rgba(166, 145, 119, 0.1);
    color: var(--oro);
    border-left-color: var(--oro);
    padding-left: 24px;
}

.main-item::before {
    content: "•";
    color: var(--oro);
    display: inline-block;
    width: 1rem;
    opacity: 0.5;
    font-size: 0.8rem;
    margin-right: 8px;
}

.submenu-trigger::before {
    content: none !important;
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--fondo-claro);
    min-width: 140px;
    border: 1px solid var(--borde);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}

.main-item-container.has-submenu:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu a {
    display: block;
    padding: 8px 20px;
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    margin: 0;
}

.submenu a:hover {
    background-color: rgba(166, 145, 119, 0.1);
    color: var(--oro);
    padding-left: 28px;
    border-left-color: var(--oro);
}

/* ============    meno es/en    ================= */

/* =============================================== */

/* ============================================================
   SELECTOR DE IDIOMAS - RESPONSIVE (CON NOTAS PARA AJUSTAR)
   ============================================================ */

/* ESTOS SON LOS ESTILOS VISUALES DEL BOTÓN (color, tamaño, etc) */
.lang-nav {
    display: flex;
    align-items: center;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

.lang-link {
    color: #FFFFFF !important;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.lang-link.active,
.lang-link:hover {
    opacity: 1;
    font-weight: bold;
}

.lang-sep {
    color: #FFFFFF;
    margin: 0 6px;
    opacity: 0.4;
}

/* CONTROL DE VISIBILIDAD: qué versión se ve en cada pantalla */
.lang-nav-desktop {
    display: flex;  /* Se ve en escritorio */
}

.lang-nav-mobile {
    display: none;  /* Oculto por defecto */
}

/* ============================================================
   MÓVIL (pantallas de 768px o menos)
   ============================================================ */
@media (max-width: 768px) {
    
    /* Ocultamos el selector de escritorio */
    .lang-nav-desktop {
        display: none !important;
    }
    
    /* Mostramos el selector de móvil */
    .lang-nav-mobile {
        display: flex !important;
    }
    
    /* ========================================================
       AJUSTA ESTOS VALORES PARA MOVER EL SELECTOR EN MÓVIL
       ======================================================== */
    
    /* Opción A: Si quieres el selector a la DERECHA del todo (antes del botón Cotizar) */
    .lang-nav-mobile {
        margin-left: auto;     /* Empuja el selector hacia la derecha */
        margin-right: 2px;     /* Espacio antes del botón Cotizar principio (8)*/
        font-size: 12px;
    }
    
    /* Opción B: Si quieres el selector a la IZQUIERDA (junto al logo) */
    /* .lang-nav-mobile {
        margin-left: 0;
        margin-right: auto;
    } */
    
    /* Opción C: Si quieres el selector CENTRADO */
    /* .lang-nav-mobile {
        margin-left: auto;
        margin-right: auto;
    } */
    
    /* ========================================================
       ESTRUCTURA DEL HEADER EN MÓVIL
       ======================================================== */
    
    header {
        display: flex;
        flex-direction: row;      /* Fila horizontal */
        align-items: center;      /* Centrado vertical */
        justify-content: flex-start;  /* Comienza desde la izquierda */
        width: 100%;
        flex-wrap: wrap;          /* Permite que los elementos se envuelvan si no caben */
    }
    
    /* El logo se mantiene a la izquierda */
    .logo {
        margin-right: auto;       /* Empuja todo lo demás hacia la derecha */
    }
    
    /* Botón cotizar móvil */
    .btn-cotizacion-movil {
        margin-right: 8px;        /* Espacio antes del menú hamburguesa */
        font-size: 12px;
        padding: 6px 10px;
        order: 2;                 /* Orden en que aparece */
    }
    
    /* Selector de idioma móvil */
    .lang-nav-mobile {
        order: 1;                 /* Orden: 0=primero, 1=segundo, 2=tercero */
    }
    
    /* Menú hamburguesa */
    .menu-toggle {
        margin-right: 4px;
        order: 3;                 /* Último elemento */
    }
}

/* ============================================================
   ESCRITORIO (pantallas de 769px o más)
   ============================================================ */
@media (min-width: 769px) {
    /* Ocultamos elementos que solo deben verse en móvil */
    .btn-cotizacion-movil,
    .menu-toggle {
        display: none !important;
    }
    
    /* Mantener el nav con sus elementos juntos */
    #nav-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;  /* ← AJUSTA ESTE VALOR: 8px = juntos, 16px = más separados */
    }
    
    /* Selector de idioma sin márgenes extra */
    .lang-nav-desktop {
        margin: 0;
        padding: 0;
    }
    
    /* Botón cotización sin márgenes extra */
    .btn-cotizacion-nav {
        margin: 0;
    }
}


/* ============================================================
   7. HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
    background: #000;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-poster-layer,
.hero-video-layer,
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-layer {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* centra horizontalmente */
    text-align: center;
    padding-top: 40px;
    /* padding-top: 120px;  ← sube o baja el texto */
}

.hero-text-wrapper {
    width: 90%;
    max-width: 1000px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1;
    margin-top: 20px;
    /* ajusta si quieres espacio arriba */
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 5px;
    /* un poco menos de separación */
    margin-bottom: 2rem;
    /* espacio debajo del subtítulo */
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    margin-top: 7rem;
    /*   baja o sube el boton    */
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 769px) {
    .hero-poster-layer {
        width: 100%;
        left: 0;
    }
}


/* ============================================================
   8. PORTFOLIO / BIBLIOTECA
   ============================================================ */
.biblioteca {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--fondo-claro);
    border: 1px solid var(--borde);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: border-color 800ms cubic-bezier(0.2, 0, 0, 1),
        transform 800ms cubic-bezier(0.2, 0, 0, 1),
        box-shadow 800ms cubic-bezier(0.2, 0, 0, 1);
    will-change: transform, border-color;
}

.card:hover {
    border-color: rgba(166, 145, 119, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.card-image {
    overflow: hidden;
    position: relative;
}

.card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    color: var(--oro);
    margin-bottom: 0.5rem;
}

.card-body p {
    color: var(--texto-gris);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-antes-despues {
    background: transparent;
    border: 1px solid rgba(166, 145, 119, 0.3);
    color: var(--oro);
    padding: 10px 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.6s ease;
    margin-top: 15px;
}

.btn-antes-despues:hover {
    background: var(--oro);
    color: #000;
    border-color: var(--oro);
}

/* ============================================================
   8a. PREGUNTAS / SCHEMA
   ============================================================ */

/* FAQ Section */
.faq-section {
    padding: 80px 5%;
    background: var(--gris-claro);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.faq-category {
    background: var(--fondo);
    border: 1px solid var(--borde);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-category:hover {
    border-color: var(--oro);
    transform: translateY(-5px);
}

.faq-category h3 {
    color: var(--oro);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(166, 145, 119, 0.3);
    padding-bottom: 0.5rem;
}

.faq-category [itemprop="Question"] {
    margin-top: 1.5rem;
}

.faq-category h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--blanco);
    font-weight: 600;
}

.faq-category [itemprop="text"] {
    font-size: 0.9rem;
    color: var(--texto-gris);
    line-height: 1.5;
}

/* ============================================================
   9. SERVICIOS
   ============================================================ */
.servicios-sec {
    padding: 30px 5% 80px;
    background: var(--fondo-claro);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
}

.service-item {
    text-align: center;
    padding: 2rem;
    background: transparent;
    border: 1px solid rgba(166, 145, 119, 0.15);
    transition: border-color 1000ms cubic-bezier(0.25, 1, 0.5, 1),
        transform 1000ms cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 1000ms cubic-bezier(0.25, 1, 0.5, 1);
}

.service-item:hover {
    border-color: rgba(166, 145, 119, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--oro);
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.service-item h3::before {
    content: "★";
    display: block;
    font-size: 2.5rem;
    color: var(--oro);
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: normal;
}

.service-item p {
    color: var(--texto-gris);
    font-size: 0.9rem;
}

.servicios-grid li:nth-child(1) h3::before {
    content: "⌂";
}

.servicios-grid li:nth-child(2) h3::before {
    content: "⊞";
}

.servicios-grid li:nth-child(3) h3::before {
    content: "🍷︎";
}

.servicios-grid li:nth-child(4) h3::before {
    content: "☂";
}

.process-grid {
    list-style: none;
    /* elimina los números/marcadores por defecto */
    padding-left: 0;
    /* quita la sangría izquierda que deja la lista */
    margin: 0;
}

/* Carrusel */
.services-showcase-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.services-swiper {
    padding: 20px 40px;
    overflow: hidden;
}

.services-swiper .swiper-slide {
    height: auto;
}

.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
    color: #00aaff;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.services-swiper .swiper-button-next::after,
.services-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
}

.service-card {
    background: var(--gris);
    border: 1px solid var(--borde);
    border-radius: 1px;
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(166, 145, 119, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.service-image {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.1rem;
    color: var(--oro);
    margin-bottom: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 1000ms ease;
}

.service-stars i {
    color: var(--oro);
    font-size: 0.9rem;
    margin-right: 2px;
}

.service-review-count {
    color: var(--blanco);
    opacity: 0.7;
    font-size: 0.85rem;
    margin-left: 5px;
}

.service-review-text {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--blanco);
    line-height: 1.5;
    margin: 1rem 0;
}

.service-review-author {
    font-size: 0.8rem;
    color: var(--oro);
    margin-bottom: 1rem;
    display: block;
}

.service-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--blanco);
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--oro);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.service-link:hover {
    letter-spacing: 2px;
    color: var(--blanco);
}


/* ============================================================
   10. ESTADÍSTICAS
   ============================================================ */
.stats-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--gris) 0%, var(--fondo) 100%);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--oro);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--texto-gris);
}

.stat-symbol {
    position: absolute;
    top: 0;
}


/* ============================================================
   11. ÁREAS DE SERVICIO
   ============================================================ */
.service-areas {
    padding: 80px 5%;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    list-style: none;
}

.area-item {
    padding: 0.8rem 1.8rem;
    background: var(--gris);
    border: 1px solid var(--borde);
    font-size: 0.9rem;
    transition: var(--transition);
}

.area-item:hover {
    border-color: var(--oro);
    transform: translateY(-3px);
}


/* ============================================================
   12. CONTACTO
   ============================================================ */
.contacto-sec {
    padding: 100px 5%;
    background: var(--fondo-claro);
}

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--oro);
}

.info-item h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.info-item a,
.info-item p,
.info-item address {
    color: var(--texto-gris);
    text-decoration: none;
    transition: var(--transition);
    font-style: normal;
}

.info-item a:hover {
    color: var(--oro);
}

.contacto-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--gris);
    border: 1px solid var(--borde);
    color: var(--blanco);
    font-family: inherit;
    font-size: 0.9rem;
    box-sizing: border-box;
    border-radius: 0;
    transition: var(--transition);
}

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--oro);
}

.form-row-flex {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.form-field-flex {
    flex: 1;
    min-width: 200px;
}

.form-field-full {
    width: 100%;
}

.btn-submit {
    background: var(--oro);
    color: var(--fondo);
    padding: 0.5rem 2rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 1px;
    width: fit-content;
    display: inline-block;
    margin-left: auto;
}

.btn-submit:hover {
    background: var(--oro-oscuro);
}

/* Info de contacto (footer también) */
.contact-info {
    margin-top: 1.5rem;
}

.contact-info h4 {
    margin-bottom: 0.75rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.contact-list svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.contact-list a,
.contact-list span,
.contact-list address {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    font-style: normal;
}

.contact-list a:hover {
    color: var(--oro);
    text-decoration: underline;
}


/* ============================================================
   13. FOOTER
   ============================================================ */
footer {
    background: var(--fondo);
    border-top: 1px solid var(--borde);
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* tres columnas: izquierda, espacio flexible, derecha */
    gap: 2rem;
    /* espacio entre columnas */
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.footer-logo {
    grid-column: 1;
}

.footer-logo .logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--texto-gris);
    font-size: 0.9rem;
}

#qr-container {
    margin-top: 1rem;
}

.qr-label {
    font-size: 0.7rem;
    color: var(--texto-gris);
    margin-top: 0.3rem;
    text-align: center;
}

.footer-links {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: var(--oro);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--texto-gris);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--oro);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--texto-gris);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--oro);
    transform: translateY(-3px);
}

.footer-review-badge {
    grid-column: 1 / -1;
}

.footer-bottom {
    text-align: center;
    padding: 30px 5%;
    border-top: 1px solid var(--borde);
    color: var(--texto-gris);
    font-size: 0.75rem;
}


/* ============================================================
   14. BOTONES FLOTANTES
   ============================================================ */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: var(--blanco);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp:hover {
    transform: scale(1.1);
}

.btn-top {
    position: fixed;
    bottom: 20px;
    right: 90px;
    width: 45px;
    height: 45px;
    background: var(--gris);
    color: var(--oro);
    border: 1px solid var(--oro);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-top:hover {
    background: var(--oro);
    color: var(--fondo);
}


/* ============================================================
   15. MODALES
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.modal[aria-hidden="false"],
.modal:not([hidden]) {
    display: block;
}

.modal-content {
    background: var(--gris);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid var(--oro);
    width: 90%;
    max-width: 500px;
    border-radius: 1px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--texto-gris);
    background: none;
    border: none;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--oro);
}

.modal-subtitle {
    color: var(--texto-gris);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.form-hint {
    font-size: 0.75rem;
    color: #888;
    margin: 5px 0;
    font-style: italic;
}

.progress-container {
    position: relative;
    margin: 1.5rem 0;
}

.progress-bar {
    width: 33.33%;
    height: 4px;
    background: var(--oro);
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.step-indicator {
    width: 30px;
    height: 30px;
    background: var(--borde);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--texto-gris);
}

.step-indicator.active {
    background: var(--oro);
    color: var(--fondo);
}

.step {
    display: none;
}

.step.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step input,
.step select,
.step textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--fondo);
    border: 1px solid var(--borde);
    color: var(--blanco);
    border-radius: 8px;
    font-family: inherit;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-prev,
.btn-next,
.submit-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-prev {
    background: var(--borde);
    color: var(--texto-gris);
}

.btn-next,
.submit-btn {
    background: var(--oro);
    color: var(--fondo);
}

.btn-prev:hover,
.btn-next:hover,
.submit-btn:hover {
    transform: translateY(-2px);
}

/* Modal Antes/Después */
.modal-ba {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.modal-ba:not([hidden]) {
    display: flex;
}

.modal-ba-content {
    width: 90%;
    max-width: 850px;
    position: relative;
}

.ba-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
    transition: all 0.3s ease;
}

.ba-close:hover {
    color: var(--oro);
}

.ba-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--oro);
}

#ba-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#ba-after-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    z-index: 2;
}

#ba-after-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
    display: block;
}

#ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--oro);
    z-index: 3;
    pointer-events: none;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--oro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
    cursor: grab;
}

.ba-handle:active {
    cursor: grabbing;
}

#ba-range {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.ba-leyenda {
    text-align: center;
    margin-top: 20px;
    color: var(--oro);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* ============================================================
   16. TABLET  (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   17. MÓVIL  (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {

    /* Hero */
    .hero {
        height: 40vh !important;
        min-height: 280px !important;
    }

    .hero-content-layer {
        padding-top: 90px !important;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .hero-buttons {
        margin-top: 70px !important;
        margin-bottom: 40px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    .hero-buttons .btn-primary {
        padding: 5px 12px !important;
        font-size: 0.85rem !important;
        min-width: auto !important;
    }

    /* SEO block */
    .seo-block-intro {
        text-align: justify !important;
        max-width: 100% !important;
    }

    .seo-block-intro p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }

    /* Header */
    header {
        justify-content: space-between;
        padding: 0.8rem 4%;
        gap: 0;
    }

    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        font-size: 1rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .logo-stair {
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: 2px;
        line-height: 1.4;
    }

    .logo-glass {
        font-size: 0.75rem;
        font-weight: 400;
        letter-spacing: 1.5px;
        line-height: 1.4;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -6px);
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        overflow-y: auto;
        transition: right 0.4s ease;
        z-index: 1050;
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 1rem;
        text-align: center;
        padding: 0.5rem 0;
        width: 100%;
    }

    .btn-cotizacion-nav {
        display: none !important;
    }

    .btn-cotizacion-movil {
        display: inline-flex !important;
        align-items: center;
        padding: 0 0.8rem;
        height: 28px;
        font-size: 0.75rem;
        border-radius: 2px;
        margin-left: auto;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }

    /* Dropdown en móvil */
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        width: 100%;
    }

    .dropdown-content.show {
        display: flex;
        flex-direction: column;
    }

    .main-item-container {
        width: 100%;
    }

    /* Botón MENÚ oculto en móvil (se abre solo con hamburguesa) */
    .dropbtn {
        display: none;
    }

    nav.active .dropdown-content {
        display: flex !important;
        flex-direction: column;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: max-height 0.3s ease-out;
        background: rgba(20, 20, 20, 0.95);
        border: none;
        margin-left: 1.5rem;
        box-shadow: none;
    }

    .submenu.show-submenu {
        max-height: 500px;
        overflow-y: auto;
    }

    .main-item-container.has-submenu.open .submenu-arrow {
        transform: rotate(90deg);
    }

    .main-item {
        padding: 10px 16px;
    }

    .submenu a {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

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

    .contacto-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }

    /* Secciones */
    .biblioteca,
    .contacto-sec {
        padding: 60px 5%;
    }

    .servicios-sec {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    /* Cards */
    .card {
        margin: 0 auto;
        width: 100%;
        max-width: 350px;
        text-align: center;
    }

    .card-body h3 {
        font-size: 1.1rem;
    }

    .card-body p {
        font-size: 0.85rem;
    }

    .card img {
        height: 220px;
    }

    .btn-antes-despues {
        display: inline-block;
        margin: 0 auto;
        font-size: 0.7rem;
        padding: 8px 16px;
    }

    /* Features */
    .seo-block-features {
        flex-direction: column;
    }

    /* Footer */
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 40px 5%;
    }

    .footer-logo {
        max-width: 100%;
        text-align: center;
    }


    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
        width: 100%;
        text-align: left;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-col:last-child .social-icons {
        justify-content: center;
    }

    .footer-col:last-child .contact-list {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .social-icons {
        justify-content: center;
    }

    /* Carrusel */
    .services-swiper {
        padding: 20px 30px;
    }

    .services-swiper .swiper-button-next,
    .services-swiper .swiper-button-prev {
        display: none;
    }

    .swiper-pagination {
        position: absolute !important;
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        display: inline-flex !important;
        justify-content: center;
        gap: 0.3rem !important;
        background: rgba(20, 20, 20, 0.8);
        padding: 0.3rem 0.6rem !important;
        border-radius: 30px;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(166, 145, 119, 0.3);
    }

    /* Modal BA */
    .ba-container {
        aspect-ratio: 4/5;
    }

    .ba-handle {
        width: 40px;
        height: 40px;
    }

    /* Formulario contacto */
    .form-row-flex {
        flex-direction: column;
    }

    .form-field-flex {
        min-width: 100%;
    }

    /* Flotantes */
    .whatsapp {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }

    .btn-top {
        bottom: 75px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}


/* ============================================================
   18. MÓVIL PEQUEÑO  (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .card img {
        height: 250px;
    }
}