/* CSS de Ultra-Precisión para Productos Acser */
:root {
    --acser-orange: #f9751c;
    --acser-grey: #6d6e71;
    --acser-dark-grey: #414042;
    --bg-white: #fdfdfd;
    --text-dark: #333333;
    --page-max-width: 1400px;
}

body.productos-page {
    background-color: #f5f5f5;
    /* Un gris muy tenue para resaltar las "pizarras" blancas */
    margin: 0;
    padding: 0;
}

.product-section-page {
    background: white;
    width: 100%;
    max-width: none !important;
    margin: 0 auto !important;
    /* Eliminamos márgenes laterales y verticales para que usen todo el espacio */
    padding: 80px 5%;
    /* Usamos un porcentaje para el padding lateral para que sea fluido */
    position: relative;
    box-shadow: none;
    /* Quitamos sombra para que las secciones se integren mejor una tras otra */
    min-height: 800px;
    display: flex;
    flex-direction: column;
}

/* Estilos del Hero Full Screen */
.page-hero {
    position: relative;
    background: #000 !important;
    color: white !important;
    border: none !important;
    height: 1080px !important;
    width: 100% !important;
    left: 0;
    transform: none;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: -100px 0 0 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .page-hero {
        height: 1080px !important;
    }

    .hero-video-bg video {
        object-fit: fill !important;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.4);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    /* Pegado a los bordes del sitio */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    /* Volvemos a estirar a altura completa */
    width: 100%;
    height: 100%;
}

.hero-grid p {
    margin: 0;
}

.hero-title-quote {
    font-family: 'Neo Sans', 'Arial', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    padding: 150px 80px 80px 80px;
    /* Más padding para que el contenido no tape el borde interno */
    line-height: 1.3;
    justify-self: start;
    max-width: 450px;
    display: flex;
    align-items: flex-start;
    height: 100%;
    background: rgba(26, 26, 26, 0.85);
    color: #f7f6f2;
    position: relative;
    border: none;
    /* Sin borde estructural */
}

/* El "L-Shape" decorativo INTERNO (Vertical) */
.hero-title-quote::before {
    content: none;
}

/* El "L-Shape" decorativo INTERNO (Horizontal) */
.hero-title-quote::after {
    content: none;
}



.hero-description-card {
    font-family: 'Work Sans', 'Arial', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(247, 246, 242, 0.95);
    background: rgba(26, 26, 26, 0.85);
    padding: 150px 60px 60px 60px;
    /* Alineación superior */
    /* backdrop-filter: blur(25px); Removed to match title */
    justify-self: end;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    /* Volvemos a altura completa */
    border: none;
    /* Sin bordes en la derecha */
}

/* Header Transparente para Productos - Ajuste de Colores */
.header-productos {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), transparent);
    position: fixed;
    width: 100%;
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.header-productos.hidden {
    transform: translateY(-100%);
}

.main-content-wrapper {
    padding-top: 100px;
}

/* Bordes Naranja (L-Shapes) */
.product-section-page::before,
.product-section-page::after {
    content: '';
    position: absolute;
    background: transparent;
    /* ELIMINADO: línea naranja */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.product-section-page:hover::before,
.product-section-page:hover::after {
    opacity: 1;
}

/* Borrado de overrides manuales que interfieren con el escalado proporcional */
/* El escalador se encargará de que las dimensiones de 1920px se vean iguales en pantallas menores */

/* Layout y Botones */
.cat-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Layout Invertido (Botones izquierda, Imagen derecha) */
.cat-layout.reverse {
    grid-template-columns: 1fr 1.5fr;
}

/* Botones en una sola columna */
.one-column {
    grid-template-columns: 1fr !important;
}

.grid-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grey-button {
    background: rgba(26, 26, 26, 0.85);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.grey-button:hover,
.grey-button.active {
    color: var(--acser-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(249, 117, 28, 0.3);
}

/* Imagen e Indicador inferior */
.img-box.full-width img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.1);
}

.box-productos-linea.small {
    height: 100px;
    background: rgba(26, 26, 26, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 12px;
    margin-top: 20px;
}

.video-box-doblado {
    position: relative;
    border-radius: 20px;
    color: white;
    min-height: 500px;
    margin-bottom: 120px;
    /* Reducido ya que el texto ahora es hijo */
}

.video-container-bg,
.video-overlay-dark {
    border-radius: 20px;
}

.video-container-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.3);
    z-index: 2;
}

.text-floating-glass {
    position: absolute;
    bottom: -80px;
    /* Flota un poco por fuera del video */
    left: 30px;
    right: 30px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(26, 26, 26, 0.4);
    z-index: 10;
    line-height: 1.6;
    color: white;
    font-size: 0.95rem;
}

.buttons-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Estructura para el flujo en Zigzag */
.zigzag-flow {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
    position: relative;
}

.footer-productos-page {
    background: #111;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.footer-nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-nav-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav-links a:hover {
    color: var(--acser-orange);
}

.footer-copy {
    color: #555;
    font-size: 0.8rem;
}

.row-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.row-item.right {
    justify-content: flex-end;
}

.img-box {
    position: relative;
    width: 27%;
    /* Ancho aún más reducido para secciones zigzag */
}

.img-box.full-width {
    width: 100%;
    /* Ancho para secciones catálogo */
}

.img-box.full-width img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.1);
}

.img-box img {
    width: 100%;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(26, 26, 26, 0.1);
}

/* Fix for Perfiles Estructurales size consistency */
#perfiles-estructurales .img-box img {
    height: 300px;
    object-fit: cover;
}

.img-box.small-img {
    width: 35%;
}

.text-box.wide-text {
    width: 60%;
}

.shifted-down {
    margin-top: 50px;
}

.right-aligned {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.start-aligned {
    align-self: flex-start;
}

/* Especial Clavos (p9) */
.clavos-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.clavo-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.clavo-label {
    min-width: 150px;
    background: rgba(26, 26, 26, 0.85);
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.85rem;
}

/* Botón Catálogo Especial */
.btn-catalogo-float {
    align-self: flex-end;
    background: rgba(26, 26, 26, 0.85);
    color: white;
    padding: 15px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: background 0.3s, transform 0.3s;
    z-index: 1000;
    /* Increased z-index */
    position: relative;
    /* Ensure z-index works */
    pointer-events: auto;
    /* Ensure clickable */
    text-transform: uppercase;
}

.btn-bottom-right {
    position: absolute;
    bottom: 40px;
    right: 40px;
}

.btn-bottom-left {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.btn-catalogo-float:hover {
    background: rgba(26, 26, 26, 0.85);
    color: var(--acser-orange);
}

.label-box {
    position: absolute;
    top: -15px;
    left: -20px;
    background: rgba(26, 26, 26, 0.85);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 5;
}

.text-box {
    width: 65%;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* Header Productos */
.header-container-productos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px 0 0;
}

.logo-link-productos {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white;
    margin-left: -60px;
}

.logo-img-productos {
    height: 40px;
}

.logo-text-productos {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 10px;
}

.nav-link-productos {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.nav-link-productos:hover {
    color: var(--acser-orange);
}

/* Clases de Utilidad para Secciones */
.shifted-down {
    margin-top: 50px;
}

.right-aligned {
    text-align: right;
}

/* Footer (Adicionales) */
.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: grayscale(1) brightness(2);
}

.footer-container {
    max-width: 1400px;
    margin: 0;
    padding: 0 40px;
    text-align: left;
}

/* Clavos Section Specific Styles */
.clavos-layout {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-start;
    padding: 20px 0;
}

.clavos-list {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.clavo-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.clavo-label {
    background-color: rgba(26, 26, 26, 0.85);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    min-width: 160px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    height: fit-content;
}

.clavo-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
}

.clavos-images {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
    position: relative;
}

.clavos-images img {
    width: 60%;
    /* Significantly smaller as requested */
    max-width: 250px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(26, 26, 26, 0.1);
}

.clavos-images .btn-catalogo-float {
    margin-top: 50px;
}

/* Modal Styles for Catalogo */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(26, 26, 26, 0.8);
}

.modal-content {
    background-color: #ffffff;
    margin: 8% auto;
    padding: 35px;
    border: none;
    width: 90%;
    max-width: 750px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(26, 26, 26, 0.3);
    position: relative;
}

.modal-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid transparent;
    /* ELIMINADO: línea naranja */
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .modal-content h2 {
        color: #f5f5f5 !important;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #333;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    transition: 0.3s;
}

.close:hover {
    background: var(--acser-orange);
    color: white;
}

#pdf-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

#pdf-list .pdf-button {
    background: #f9f9f9;
    color: #333;
    padding: 18px 20px;
    border-radius: 12px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    text-transform: uppercase;
    /* Convertimos el texto a mayúsculas */
}

#pdf-list .pdf-button::before {
    content: '\f1c1';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.4rem;
    color: #e74c3c;
    transition: 0.3s;
}

#pdf-list .pdf-button:hover {
    background: #ffffff;
    border-color: transparent;
    /* ELIMINADO: borde naranja */
    color: #333;
    /* CAMBIADO: de naranja a gris oscuro */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 26, 26, 0.08);
}

#pdf-list .pdf-button:hover::before {
    transform: scale(1.1);
}

/* Ajuste para móviles */
@media (max-width: 600px) {
    #pdf-list {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 25px;
        margin: 15% auto;
        background-color: #1a1a1a !important;
        /* Fondo oscuro para que resalte el blanco humo */
    }
}

/* Responsivo */
@media (max-width: 1024px) {

    /* Header Productos - Tablet */
    .header-productos {
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        height: 70px;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 10px 0;
    }

    .header-container-productos {
        padding: 0 var(--site-padding);
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
    }

    .logo-link-productos {
        margin-left: 0;
    }

    .logo-img-productos {
        height: 50px;
        width: auto;
    }

    .logo-text-productos {
        font-size: 1.4rem;
        margin-left: 8px;
    }

    .desktop-nav,
    .nav-right {
        display: none !important;
    }

    .main-content-wrapper {
        padding-top: 70px;
    }

    .product-section-page {
        padding: 40px 20px;
    }

    .cat-layout,
    .row-item,
    .clavos-layout {
        grid-template-columns: 1fr !important;
        flex-direction: column;
    }

    .img-box,
    .text-box {
        width: 100%;
    }

    .row-item.right {
        align-items: flex-start;
    }
}

/* Tablet Only Adjustments (Hero Positioning) */
/* Tablet Only Adjustments (Hero Positioning) */
@media (min-width: 768px) and (max-width: 1024px) {
    .page-hero {
        height: 100vh !important;
        min-height: auto !important;
        display: block !important;
        /* Let container handle alignment */
        padding: 0 !important;
        margin-top: 0 !important;
    }

    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        /* Center vertically */
        height: 100% !important;
        padding-bottom: 0 !important;
        width: 100% !important;
    }

    .hero-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
        width: 94% !important;
        max-width: none !important;
        margin: 0 auto !important;
        height: auto !important;
        flex: 0 0 auto !important;
        /* Don't stretch */
    }

    .hero-title-quote,
    .hero-description-card {
        padding: 30px !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        background: rgba(26, 26, 26, 0.85) !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        justify-self: stretch !important;
        margin: 0 !important;
    }

    /* Keep decorations hidden for cleaner tablet view */
    .hero-title-quote::before,
    .hero-title-quote::after {
        display: none !important;
    }

    /* Fix for Aceros Planos/Largos Ordering on Tablet */
    .cat-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .cat-layout .img-box {
        order: -1 !important;
        /* Forces image block to top */
        width: 100% !important;
    }

    .cat-layout .grid-buttons {
        order: 2 !important;
        /* Buttons below */
        width: 100% !important;
    }

    /* Corte y Doblado Tablet Specific */
    .video-box-doblado {
        margin-bottom: 250px !important;
        height: auto !important;
        min-height: auto !important;
    }

    .video-container-bg {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
        /* Ensure widescreen format */
        object-fit: contain !important;
        /* Show full video content */
    }

    .text-floating-glass {
        bottom: -230px !important;
        /* Push text even lower into the gap */
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
        padding: 25px !important;
    }

    .buttons-vertical-stack {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        /* 3 Columns for better organization */
        gap: 15px !important;
        width: 100% !important;
    }

    .buttons-vertical-stack .grey-button {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Clavos Images Larger on Tablet (3 in a row, uniform size) */
    .clavos-images img {
        width: 30% !important;
        max-width: none !important;
        height: 200px !important;
        /* Force equal height */
        object-fit: cover !important;
        /* Cut to fill for uniformity */
        border-radius: 8px !important;
    }
}

/* Mobile */
/* Mobile - Optimización Completa */
@media (max-width: 767px) {
    .header-productos {
        height: 60px;
        padding: 8px 0;
        background: #1a1a1a !important;
    }

    .header-container-productos {
        height: 60px;
        padding: 0 20px;
    }

    .logo-img-productos {
        height: 35px;
    }

    .logo-text-productos {
        font-size: 1.2rem;
        margin-left: 8px;
    }

    .main-content-wrapper {
        padding-top: 60px;
    }

    /* Hero Ajustado */
    .page-hero {
        height: auto !important;
        min-height: 85vh !important;
        margin-top: 0 !important;
        align-items: flex-end;
        padding-bottom: 60px !important;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .hero-title-quote {
        padding: 40px 20px 20px;
        font-size: 1.4rem;
        background: rgba(26, 26, 26, 0.9);
        width: 100%;
        max-width: 100%;
    }

    .hero-description-card {
        padding: 20px 20px 40px;
        font-size: 0.9rem;
        background: rgba(26, 26, 26, 0.9);
        width: 100%;
        max-width: 100%;
    }

    /* Decoration Removal */
    .hero-title-quote::before,
    .hero-title-quote::after {
        display: none;
    }

    /* Product Layouts */
    .product-section-page {
        padding: 40px 20px;
        min-height: auto;
    }

    .cat-layout,
    .cat-layout.reverse,
    .zigzag-flow,
    .row-item,
    .row-item.right {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    /* Asegurar que la imagen siempre esté PRIMERO en móvil */
    .cat-layout .img-box,
    .cat-layout.reverse .img-box,
    .row-item .img-box {
        order: -1 !important;
    }

    .cat-layout .grid-buttons,
    .cat-layout.reverse .grid-buttons {
        order: 2 !important;
    }

    /* Grid Buttons 2 Columnas - Forzado con ALTA ESPECIFICIDAD */
    .grid-buttons,
    div.grid-buttons.one-column,
    .one-column {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        display: grid !important;
    }

    .grey-button {
        padding: 10px 5px !important;
        font-size: 0.8rem !important;
        /* Texto un poco más chico */
        width: 100% !important;
        height: 100% !important;
        /* Para igualar alturas */
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
    }

    /* Imágenes Controladas */
    .img-box,
    .img-box.full-width,
    .img-box.small-img,
    .text-box,
    .text-box.wide-text {
        width: 100%;
    }

    .row-item.right .text-box.right-aligned {
        text-align: left;
    }

    .img-box.full-width img {
        height: 220px;
    }

    .box-productos-linea.small {
        height: 60px;
        font-size: 0.8rem;
        margin-top: 10px;
    }

    /* Video Section - Corte y Doblado Rediseñado */
    .video-box-doblado {
        height: auto !important;
        margin-bottom: 30px !important;
        background: transparent !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .video-container-bg {
        position: relative !important;
        height: 400px !important;
        /* Increased height to show full video */
        border-radius: 12px 12px 0 0 !important;
        /* Redondeado solo arriba */
    }

    .video-overlay-dark {
        display: none !important;
        /* No oscurecer video en mobile */
    }

    .text-floating-glass {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 0 !important;
        padding: 25px !important;
        background: #1a1a1a !important;
        /* Fondo sólido oscuro */
        border-radius: 0 0 12px 12px !important;
        /* Redondeado abajo -> une con video */
        width: 100% !important;
        border: none !important;
        transform: none !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    }

    .buttons-vertical-stack {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }

    .buttons-vertical-stack .grey-button {
        width: 100% !important;
        text-align: center !important;
        padding: 15px 10px !important;
        font-size: 0.8rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Zigzag ordering: Image always first */
    .row-item .img-box {
        order: -1;
    }

    .shifted-down {
        margin-top: 0;
    }

    /* Clavos */
    .clavos-layout {
        flex-direction: column;
        gap: 30px;
    }

    .clavos-list,
    .clavos-images {
        width: 100%;
    }

    .clavo-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        background: #fff;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #eee;
    }

    .clavo-label {
        min-width: auto;
        width: 100%;
        text-align: left;
        padding: 5px 10px;
        margin-bottom: 5px;
    }

    .clavo-item p {
        padding-left: 10px;
    }

    .clavos-images {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .clavos-images img {
        width: 45%;
        max-width: none;
    }

    /* Modales y Botones Flotantes */
    .btn-catalogo-float {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        display: block;
        background: rgba(26, 26, 26, 0.85) !important;
        /* Gris oscuro forzado */
        color: white !important;
        /* Texto blanco */
        border: none !important;
        border-radius: 12px !important;
        transition: color 0.2s, transform 0.1s !important;
    }

    .btn-catalogo-float:active,
    .btn-catalogo-float:hover {
        color: #f9751c !important;
        /* Texto naranja al tocar */
        background: rgba(26, 26, 26, 0.95) !important;
        transform: scale(0.98);
    }
}

/* SERVICIOS PAGE LAYOUT FIX */
.servicios-page .standard-container {
    display: flex !important;
    flex-direction: column !important;
}

.servicios-page .section-title-container {
    order: 1 !important;
    width: 100% !important;
    background: #ffffff !important;
    padding: 40px 20px !important;
    margin-bottom: 50px !important;
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
}

.servicios-page .section-title {
    color: #1a1a1a !important;
    font-size: 2.5rem !important;
    display: block !important;
    visibility: visible !important;
}

.servicios-page .cat-layout {
    order: 2 !important;
    width: 100% !important;
}

.servicios-page .btn-wrapper {
    order: 3 !important;
    width: 100% !important;
}