@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Oculta la barra superior cuando la clase active se levanta en JS para las Categorías */
body.category-active .top-mini-bar {
    display: none !important;
}

:root {
    --gold: #C6A46C;
    --dark: #111111;
    --dark-bg: #222222;
    --light-gray: #f5f5f5;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
    overflow-y: scroll;
    max-width: 100%;
    overflow-x: clip;
}

body {
    max-width: 100%;
    overflow-x: clip;
}

section[id],
.section-divider {
    scroll-margin-top: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* ===== MINI BARRA SUPERIOR ===== */
.top-mini-bar {
    background: #191919;
    height: 10px;
    width: 100%;
}

.btn-cotizar {
    justify-self: end;
    background-color: transparent;
    color: white;
    padding: 8px 20px;
    margin-left: 0;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: background-color 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}

.btn-cotizar:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #111111;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: none;
}

/* ===== NAV PRINCIPAL ===== */
.main-nav {
    background: #2a2a2a;
    color: white;
    padding: 20px 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        backdrop-filter 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        -webkit-backdrop-filter 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-nav.scrolled {
    background-color: rgba(26, 26, 26, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-links {
    display: contents;
}

.logo {
    justify-self: start;
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    margin-bottom: 0;
    user-select: none;
    cursor: pointer;
    text-decoration: none;
}

.brand-logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
}

.brand-onyxa {
    font-family: 'Cinzel', 'Montserrat', Arial, serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.brand-stone {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    justify-self: center;
    gap: 16px;
}

.menu a {
    text-decoration: none;
    color: #ccc;
    font-size: 16px;
    transition: color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding: 8px 12px;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 12px;
    background: linear-gradient(90deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.4) 100%);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.4s ease;
    opacity: 0;
}

.menu a:hover {
    color: #ffffff;
}

.menu a:hover::after {
    width: calc(100% - 24px);
    opacity: 1;
}

@media (max-width: 900px) {
    .hamburger-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 14px 24px;
        gap: 14px;
        box-sizing: border-box;
        transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    }

    .main-nav.menu-open,
    .main-nav:has(.hamburger-btn.open) {
        background-color: #000000 !important;
        background: #000000 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .logo {
        flex: initial;
        justify-content: flex-start;
        text-align: left;
        margin-left: 0;
    }

    .brand-onyxa {
        font-size: 22px;
        letter-spacing: 2.5px;
    }

    .brand-stone {
        font-size: 14px;
        letter-spacing: 1.8px;
    }

    .btn-cotizar {
        margin-left: auto;
    }
}

@media (max-width: 600px) {
    .nav-links {
        gap: 10px;
    }

    .menu {
        gap: 5px;
    }

    .menu a {
        font-size: 13px;
        padding: 5px 8px;
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: #111111;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.hero-bg-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-quick-links {
    position: absolute;
    bottom: 25vh;
    /* Manteniendo la altura segura y protagonista */
    left: 30px;
    /* Movido agresivamente hacia el borde izquierdo */
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Quitamos gap para apilar compacto al estilo editorial */
    z-index: 10;
    align-items: flex-start;
}

.hero-quick-links a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    /* Tipografía importada delgada y arquitectónica */
    font-size: 64px;
    font-weight: 300;
    /* Light para mayor solidez perdiendo fragilidad */
    line-height: 1.05;
    /* Line height ajustado para empaquetado editorial elegante */
    letter-spacing: 4px;
    /* Expandido compacto y mejor proporcionado horizontalmente */
    text-transform: uppercase;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left center;
    opacity: 0.85;
    position: relative;
    padding-bottom: 2px;
    margin-bottom: 2px;
    /* Margen muy tenue visual y controlado */
    -webkit-font-smoothing: antialiased;
    /* Adelgaza visualmente el renderizado en OS webkit */
    -moz-osx-font-smoothing: grayscale;
    /* Adelgaza visualmente el renderizado en MacOS */
}

.hero-quick-links a:last-child {
    margin-bottom: 0;
}

.hero-quick-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.4) 100%);
    transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.5s ease;
    opacity: 0;
}

.hero-quick-links a:hover {
    opacity: 1;
    color: #ffffff;
    transform: translateX(6px);
}

.hero-quick-links a:hover::after {
    width: 100%;
    opacity: 1;
}

@media (max-width: 1024px) {
    .hero-quick-links {
        gap: 0;
        bottom: 25vh;
        left: 25px;
        /* Reflejar ajuste a la izquierda para Desktop pequeño */
    }

    .hero-quick-links a {
        font-size: 48px;
        letter-spacing: 3px;
        /* Espaciado compacto en tablet */
    }
}

@media (max-width: 768px) {
    .hero-quick-links {
        bottom: 22vh;
        left: 15px;
        /* Pegado al borde en pantallas móviles sin excederlo */
        gap: 0;
    }

    .hero-quick-links a {
        font-size: 36px;
        letter-spacing: 2px;
        /* Espaciado compacto en celular */
        margin-bottom: 0;
        /* Mayor compresión en móvil */
    }
}

/* ===== SERVICIOS / PRODUCTOS ===== */
.productos,
.espacios-section,
.materiales {
    padding: 60px 0;
    text-align: left;
    background-color: #f5f5f7;
}

/* ===== DIVISOR DE SECCIÓN ===== */
.section-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0 60px;
}

.section-title {
    padding-left: 20px;
    text-align: left;
    font-size: 40px;
    margin-bottom: 10px;
}

.section-subtitle {
    padding-left: 20px;
    text-align: left;
    color: #666;
    font-size: 24px;
    margin-bottom: 40px;
}

/* ===== MATERIALES 3 COLUMNAS ===== */
.materiales-container {
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.material-column {
    flex: 1;
    text-align: center;
    padding: 30px 15px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    /* Línea negra muy fina y transparente */
    transition: all 0.3s ease;
}

.material-column:last-child {
    border-right: none;
}

.material-column h3 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
    margin-top: 25px;
    cursor: pointer;
}

.material-column:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.material-img {
    width: 100%;
    max-width: 240px;
    height: auto;
    margin-top: 0;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
    cursor: pointer;
}

.material-column:hover .material-img {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .materiales-container {
        flex-direction: column;
        padding: 20px;
    }

    .material-column {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 30px 0;
    }

    .material-column:last-child {
        border-bottom: none;
    }
}

/* ===== SECCIÓN ESPACIOS (BARRA RECTANGULAR HORIZONTAL EDITORIAL) ===== */
.espacios-bars-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 78%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0 60px 0;
}

.espacio-bar-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 16px 20px 16px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.4s ease;
    text-decoration: none;
}

.espacio-bar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.16);
}

.espacio-bar-info {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    min-width: 0;
}

.espacio-bar-num {
    font-size: 14px;
    font-weight: 300;
    color: #999999;
    letter-spacing: 2px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    min-width: 24px;
}

.espacio-bar-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.espacio-bar-text h3 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111111;
    transition: color 0.3s ease;
}

.espacio-bar-card:hover .espacio-bar-text h3 {
    color: #000000;
}

.espacio-bar-text p {
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

.espacio-bar-img-box {
    width: 58%;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.espacio-bar-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.espacio-bar-card:hover .espacio-bar-img {
    transform: scale(1.06);
}

.espacio-bar-arrow {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease;
}

.espacio-bar-card:hover .espacio-bar-arrow {
    transform: translateX(4px);
    background: #ffffff;
}

@media (max-width: 900px) {
    .espacios-bars-container {
        width: 90%;
        gap: 20px;
    }

    .espacio-bar-card {
        padding: 16px 16px 16px 20px;
        gap: 20px;
    }

    .espacio-bar-img-box {
        width: 52%;
        height: 140px;
    }

    .espacio-bar-text h3 {
        font-size: 18px;
    }

    .espacio-bar-text p {
        font-size: 13px;
    }
}

@media (max-width: 650px) {
    .espacio-bar-card {
        flex-direction: column-reverse;
        align-items: stretch;
        padding: 16px;
        gap: 16px;
    }

    .espacio-bar-img-box {
        width: 100%;
        height: 180px;
    }

    .espacio-bar-info {
        gap: 16px;
    }
}

/* ===== CONTENIDO DINÁMICO DE CATEGORÍAS (SPA) ===== */
#category-view {
    background-color: var(--dark-bg);
    min-height: 100vh;
}

.category-details-container {
    width: 100%;
}

.category-detail {
    display: none;
    background: var(--dark-bg);
    min-height: calc(100vh - 80px);
    /* Altura pantalla menos navbar */
    padding: 100px 60px;
    text-align: center;
}

.category-detail.active {
    display: block;
    animation: fadeInCategory 0.5s ease forwards;
}

@keyframes fadeInCategory {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-detail-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 60px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.category-detail-content {
    min-height: 400px;
    max-width: 1200px;
    margin: 0 auto;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Categoría de ancho completo (Proyectos Comerciales) */
.category-full-width {
    padding-top: 40px !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.category-full-width .category-detail-title {
    padding-left: 60px;
    padding-right: 60px;
    margin-bottom: 40px;
    text-align: left;
}

.category-full-width .category-detail-content {
    max-width: 100%;
}

.img-categoria-banner {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

.img-proyectos-comerciales {
    width: 100%;
    height: 65vh;
    min-height: 440px;
    max-height: 650px;
    object-fit: cover;
    object-position: center 50%;
    display: block;
}

.img-fachadas {
    width: 100%;
    height: 65vh;
    min-height: 440px;
    max-height: 650px;
    object-fit: cover;
    object-position: center 0%;
    display: block;
}

.img-cocinas {
    width: 100%;
    height: 65vh;
    min-height: 440px;
    max-height: 650px;
    object-fit: cover;
    object-position: center 50%;
    display: block;
}

.img-banos {
    width: 100%;
    height: 65vh;
    min-height: 440px;
    max-height: 650px;
    object-fit: cover;
    object-position: center 50%;
    display: block;
}

.img-salones {
    width: 100%;
    height: 65vh;
    min-height: 440px;
    max-height: 650px;
    object-fit: cover;
    object-position: center 50%;
    display: block;
}

.img-mobiliario {
    width: 100%;
    height: 65vh;
    min-height: 440px;
    max-height: 650px;
    object-fit: cover;
    object-position: center 50%;
    display: block;
}

@media (max-width: 768px) {
    .category-detail {
        padding: 60px 20px;
    }

    .category-detail-title {
        font-size: 32px;
    }

    .category-full-width .category-detail-title {
        padding-left: 20px;
        padding-right: 20px;
    }

    .img-categoria-banner {
        height: 400px;
    }
}

/* ===== CLASES REUTILIZABLES ===== */
.card-bg {
    background-size: cover;
    background-position: center;
    color: white;
}

.card-bg h3,
.card-bg p {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* ===== TARJETA COCINAS ===== */
.card-cocinas {
    background-image: url('assets/img/espacios/espacio-cocinas/cocinas-card.png');
}

/* ===== TARJETA BAÑOS ===== */
.card-banos {
    background-image: url('assets/img/espacios/espacio-baños/baños-card.png');
    background-position: center bottom;
    background-size: cover;
}

/* ===== TARJETA SALONES ===== */
.card-salones {
    background-image: url('assets/img/espacios/espacio-salones/salones-card.png');
    background-position: center bottom;
    background-size: cover;
}

/* ===== TARJETA FACHADAS ===== */
.card-fachadas {
    background-image: url('assets/img/espacios/espacio-fachadas/fachadas-card.png');
    background-position: center bottom;
    background-size: cover;
}

/* ===== TARJETA MOBILIARIO ===== */
.card-mobiliario {
    background-image: url('assets/img/espacios/espacio-mobiliario/mobiliario-card.png');
    background-position: center bottom;
    background-size: cover;
}

/* ===== TARJETA PROYECTOS COMERCIALES ===== */
.card-proyectos-comerciales {
    background-image: url('assets/img/espacios/espacio-proyectos-comerciales/proyectos-comerciales-card.png');
}

/* ===== ESTILO DESCRIPCIÓN REFINADO ===== */
.material-arrow {
    margin-top: 15px;
    cursor: pointer;
    color: #666;
    transition: transform 0.4s ease, color 0.3s ease;
    display: inline-block;
}

.material-arrow:hover {
    color: #000000;
}

.material-column.active .material-arrow {
    transform: rotate(180deg);
}

.material-description {
    color: rgba(0, 0, 0, 0.5);
    /* Gris transparente */
    font-size: 21px;
    /* Letra más grande como se solicitó */
    line-height: 1.5;
    text-align: left;
    margin-top: 0;
    font-weight: 600;
    /* Negrita para resaltar */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease, margin-top 0.6s ease;
}

.material-column.active .material-description {
    max-height: 1500px;
    /* Altura suficiente para el contenido */
    opacity: 1;
    margin-top: 25px;
}

.material-description p {
    margin-bottom: 20px;
}

.material-list {
    list-style-type: disc;
    padding-left: 20px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 21px;
    font-weight: 600;
}

.material-list li {
    margin-bottom: 8px;
}

.bold-desc {
    font-weight: 800;
    color: rgba(0, 0, 0, 0.7);
    margin-top: 15px;
    display: block;
}

/* ===== SECCIÓN COLORES ===== */
.colores {
    padding: 60px 0;
    text-align: left;
    background-color: var(--light-gray);
    /* Fondo de lujo minimalista */
}

.colores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 60px;
}

.color-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    transform: translateZ(0);
}

.color-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.color-card.selected,
.color-card.active {
    outline: 2px solid #E85D04;
    outline-offset: -2px;
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.25);
}

.color-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.color-card:hover .color-image {
    transform: scale(1.06);
}

.color-info {
    padding: 24px 20px;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.color-info h4 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    transition: color 0.4s ease;
    position: relative;
    padding-bottom: 10px;
}

.color-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #000000;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.color-card:hover .color-info h4 {
    color: #000000;
}

.color-card:hover .color-info h4::after {
    width: 40px;
}

@media (max-width: 768px) {
    .colores-grid {
        padding: 20px;
        gap: 20px;
    }
}

/* ===== SECCIÓN NOSOTROS ===== */
.nosotros-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.nosotros-imagen-amplia {
    width: 100%;
    height: 65vh;
    /* Ocupa 65% de la altura de la pantalla */
    overflow: hidden;
    margin-bottom: 50px;
}

.nosotros-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.nosotros-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nosotros-card {
    flex: 1;
    background: #fdfdfd;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
}

.nosotros-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.nosotros-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.4s ease;
}

.nosotros-card:hover .nosotros-icon {
    transform: translateY(-4px);
    opacity: 0.8;
}

.nosotros-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    transition: color 0.4s ease;
}

.nosotros-card:hover h3 {
    color: #111;
}

.nosotros-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .nosotros-container {
        flex-direction: column;
        padding: 20px 40px 0;
    }

    .nosotros-img {
        object-position: 50% 40%;
    }
}

/* ===== FOOTER DERECHOS RESERVADOS ===== */
.footer-copyright {
    background-color: #0e0e0e;
    color: rgba(255, 255, 255, 0.45);
    padding: 42px 60px;
    font-size: 11.5px;
    letter-spacing: 1.8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright p,
.footer-copyright .copyright-text {
    margin: 0;
    text-transform: none;
    font-family: 'Montserrat', 'Plus Jakarta Sans', Arial, sans-serif;
    font-weight: 300;
    line-height: 1.4;
}

.footer-copyright strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-nav-link a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    text-transform: none;
    font-size: 7px;
    letter-spacing: 1px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-nav-link a:hover {
    color: #E85D04;
}

/* ===== SECCIÓN PROCESO ===== */
.proceso-section {
    padding: 100px 60px;
    background-color: #ffffff;
    text-align: center;
}

.proceso-title {
    font-size: 48px;
    font-weight: 300;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.proceso-subtitle {
    font-size: 20px;
    color: #888;
    font-weight: 400;
    margin-bottom: 80px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.proceso-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
    text-align: left;
}

.proceso-card {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.proceso-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.proceso-card.visible:hover {
    transform: translateX(8px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.proceso-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.proceso-numero {
    font-size: 80px;
    font-weight: 200;
    color: #f0f0f0;
    line-height: 0.8;
    min-width: 100px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.proceso-card.visible:hover .proceso-numero {
    color: rgba(0, 0, 0, 0.25);
}

.proceso-contenido h3 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    transition: color 0.4s ease;
}

.proceso-card.visible:hover .proceso-contenido h3 {
    color: #111;
}

.proceso-contenido p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .proceso-section {
        padding: 60px 20px;
    }

    .proceso-title {
        font-size: 32px;
    }

    .proceso-card {
        flex-direction: column;
        gap: 20px;
    }

    .proceso-numero {
        font-size: 60px;
        min-width: auto;
    }
}

/* ===== SECCIÓN CTA FINAL ===== */
.cta-final-section {
    padding: 120px 60px;
    background-color: #fafafa;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-final-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-final-title {
    font-size: 44px;
    font-weight: 300;
    color: #111;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.cta-final-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-final-text {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out 0.2s, transform 0.7s ease-out 0.2s;
    /* Retraso de 0.2s */
}

.cta-final-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-cta-final {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #ffffff;
    padding: 0 40px;
    height: 60px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out 0.4s, transform 0.7s ease-out 0.4s, background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Retraso de 0.4s para revelado, más transiciones de hover */
}

.btn-cta-final.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-cta-final.visible:hover {
    background-color: #222222;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

@media (max-width: 768px) {
    .cta-final-section {
        padding: 80px 20px;
    }

    .cta-final-title {
        font-size: 32px;
    }

    .cta-final-text {
        font-size: 16px;
    }

    .btn-cta-final {
        width: 100%;
        max-width: 320px;
    }
}

/* ===== SECCIÓN SERVICIOS (SPA) ===== */
.spa-services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    text-align: left;
    background-color: transparent;
}

.spa-services-intro {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.spa-services-intro-title {
    font-size: 40px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 600px;
}

.spa-services-intro-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
}

.spa-services-intro-text p {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.8;
    font-weight: 400;
}

.spa-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.spa-services-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spa-services-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    /* Placeholder con gradiente elegante premium */
    background-image: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    display: block;
}

.spa-services-card-img.img-platos-ducha {
    object-position: bottom;
}

/* Círculo minimalista elegante en el centro para simular carga */
.spa-services-card-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.spa-services-card-content h5 {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.spa-services-card-content p {
    font-size: 15px;
    color: #888888;
    line-height: 1.6;
}

/* ===== ANIMACIONES ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .spa-services-section {
        padding: 60px 20px;
    }

    .spa-services-intro-title {
        font-size: 32px;
    }

    .spa-services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== CORRECCIÓN DE OVERFLOW MÓVIL (BASE) ===== */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: clip;
        max-width: 100%;
    }

    .top-mini-bar {
        display: none;
    }

    .main-nav {
        padding: 10px 16px;
    }

    .materiales-container {
        padding: 20px 16px;
    }

    .colores-grid {
        padding: 20px 16px;
        gap: 16px;
    }

    .section-divider {
        margin: 0 16px;
    }
}

/* ===== BOTÓN HAMBURGUESA ===== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 2000;
}

.hamburger-btn span {
    display: block;
    width: 26px;
    height: 1.5px;
    background-color: #ffffff;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== PANEL MÓVIL DESPLEGABLE POR DEBAJO DEL NAVBAR ===== */
.mobile-menu-overlay {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 50px);
    height: calc(100svh - 50px);
    background-color: #000000;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        visibility 0.4s step-end;
    overflow-y: auto;
    will-change: opacity, transform;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        visibility 0s step-start;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 45px 30px 40px 30px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    flex: 1;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-bottom: 30px;
}

.mobile-menu-links li {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    will-change: opacity, transform;
}

.mobile-menu-overlay.open .mobile-menu-links li:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.mobile-menu-overlay.open .mobile-menu-links li:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.15s;
}

.mobile-menu-overlay.open .mobile-menu-links li:nth-child(3) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.mobile-menu-overlay.open .mobile-menu-links li:nth-child(4) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.25s;
}

.mobile-menu-overlay.open .mobile-menu-links li:nth-child(5) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.mobile-menu-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: color 0.3s ease, letter-spacing 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu-links a::after {
    content: '›';
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    margin-left: auto;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-menu-links a:hover {
    color: #ffffff;
    padding-left: 6px;
    letter-spacing: 4px;
}

.mobile-menu-links a:hover::after {
    color: #ffffff;
    transform: translateX(4px);
}

.mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    padding: 14px 48px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.35s ease 0.32s, transform 0.35s ease 0.32s,
        background-color 0.3s ease, color 0.3s ease;
    will-change: opacity, transform;
}

.mobile-menu-overlay.open .mobile-menu-cta {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-cta:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* ===== NAV MÓVIL 3 COLUMNAS ===== */
.nav-right-placeholder {
    display: none;
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    .nav-right-placeholder {
        display: none !important;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 14px 20px;
        gap: 12px;
        box-sizing: border-box;
    }


    .logo {
        margin-bottom: 0;
        text-align: left;
        flex: initial;
        justify-content: flex-start;
        align-items: baseline;
    }

    .btn-cotizar {
        margin-left: auto;
    }

    .logo .brand-onyxa {
        font-size: 18px;
        letter-spacing: 2px;
        font-weight: 700;
    }

    .logo .brand-stone {
        font-size: 12px;
        letter-spacing: 1.2px;
        font-weight: 300;
    }

    .logo .world-icon {
        width: 12px;
        height: 12px;
    }

    .nav-links {
        display: none !important;
    }

    .btn-regresar {
        left: 16px;
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ===== BOTÓN REGRESAR DESACTIVADO ===== */
.btn-regresar {
    display: none !important;
}

/* ===== FASE 3 — HERO MÓVIL ===== */
@media (max-width: 768px) {
    .hero {
        height: 100svh;
        /* svh respeta la barra del navegador en móvil */
        background-position: center center;
    }

    .hero-quick-links {
        bottom: 12vh;
        left: 20px;
        right: 20px;
        gap: 0;
    }

    .hero-quick-links a {
        font-size: clamp(32px, 10vw, 52px);
        /* Escala fluida según ancho de pantalla */
        letter-spacing: 2px;
        line-height: 1.08;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

@media (max-width: 390px) {

    /* iPhones pequeños: SE, 13 mini */
    .hero-quick-links a {
        font-size: clamp(28px, 9vw, 40px);
        letter-spacing: 1.5px;
    }
}

/* ===== FASE 4 — MATERIALES MÓVIL ===== */
@media (max-width: 768px) {
    .materiales {
        padding: 40px 0;
        margin-bottom: 76px;
    }

    .materiales-container {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px 20px 16px;
        gap: 0;
        /* Ocultar scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .materiales-container::-webkit-scrollbar {
        display: none;
    }

    .material-column {
        flex: 0 0 82vw;
        max-width: 82vw;
        scroll-snap-align: center;
        border-right: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: none;
        padding: 24px 20px;
        text-align: center;
    }

    .material-column:last-child {
        border-right: none;
    }

    .material-img {
        max-width: 100%;
        width: 205px;
        margin: 0 auto;
        display: block;
    }

    .material-column h3 {
        font-size: 18px;
        letter-spacing: 2px;
        margin-top: 16px;
    }

    .material-description {
        font-size: 15px;
        line-height: 1.6;
        text-align: left;
    }

    .material-list {
        font-size: 14px;
        line-height: 1.6;
    }

    .bold-desc {
        font-size: 14px;
    }

    .material-arrow {
        margin-top: 10px;
        width: 24px;
        height: 24px;
    }

    .materiales-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .materiales-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.15);
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .materiales-dots .dot.active {
        background-color: #000;
        transform: scale(1.3);
    }
}

/* Ocultar dots en escritorio */
@media (min-width: 769px) {
    .materiales-dots {
        display: none;
    }
}

/* ===== FASE 5 — ESPACIOS RESPONSIVE ===== */
@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 40px 40px 40px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .productos {
        padding: 24px 0 16px 0;
        margin-bottom: 60px;
    }

    .productos .section-title {
        margin-bottom: 4px;
    }

    .productos .section-subtitle {
        margin-bottom: 16px;
    }

    .cards-container {
        display: grid;
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    .card {
        width: 100%;
        max-width: 100%;
        height: 345px;
        padding: 20px 18px;
        border-radius: 14px;
    }

    .card h3 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .card p {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* ===== FASE 6 — COLORES MÓVIL ===== */
@media (max-width: 768px) {
    .colores {
        padding: 24px 0 16px 0;
    }

    .colores .section-title {
        margin-bottom: 4px;
    }

    .colores .section-subtitle {
        margin-bottom: 16px;
    }

    .colores-grid {
        display: grid;
        grid-template-columns: none;
        grid-template-rows: repeat(2, 1fr);
        grid-auto-flow: column;
        grid-auto-columns: 42vw;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 16px 16px 24px 16px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .colores-grid::-webkit-scrollbar {
        display: none;
    }

    .color-card {
        border-radius: 10px;
        scroll-snap-align: start;
    }

    .color-image {
        height: 140px;
    }

    .color-info {
        padding: 14px 12px;
    }

    .color-info h4 {
        font-size: 13px;
        letter-spacing: 0.3px;
    }
}

/* ===== FASE 7 — NOSOTROS MÓVIL ===== */
@media (max-width: 768px) {
    .nosotros-section {
        padding: 40px 0;
    }

    .nosotros-imagen-amplia {
        height: 45vh;
        background-position: center 60%;
        margin-bottom: 30px;
    }

    .nosotros-container {
        flex-direction: column;
        padding: 0 16px;
        gap: 16px;
    }

    .nosotros-card {
        padding: 24px 20px;
        border-radius: 10px;
    }

    .nosotros-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }

    .nosotros-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .nosotros-card p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ===== FASE 8 — PROCESO MÓVIL ===== */
@media (max-width: 768px) {
    .proceso-section {
        padding: 50px 16px;
    }

    .proceso-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .proceso-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
        letter-spacing: 0.5px;
    }

    .proceso-container {
        gap: 0;
    }

    .proceso-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        padding: 24px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .proceso-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .proceso-numero {
        font-size: 48px;
        min-width: 52px;
        line-height: 1;
    }

    .proceso-contenido h3 {
        font-size: 17px;
        margin-bottom: 8px;
        letter-spacing: 0.3px;
    }

    .proceso-contenido p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ===== FASE 9 — CTA FINAL Y FOOTER MÓVIL ===== */
@media (max-width: 768px) {
    .cta-final-section {
        padding: 60px 24px;
    }

    .cta-final-title {
        font-size: 26px;
        margin-bottom: 16px;
        letter-spacing: -0.3px;
        line-height: 1.3;
    }

    .cta-final-text {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 36px;
    }

    .btn-cta-final {
        width: 100%;
        max-width: 100%;
        height: 54px;
        font-size: 14px;
        letter-spacing: 1px;
        border-radius: 6px;
    }

    .footer-copyright {
        padding: 32px 16px;
        font-size: 10px;
        letter-spacing: 0.6px;
    }

    .footer-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-copyright p,
    .footer-copyright .copyright-text {
        line-height: 1.4;
        white-space: nowrap;
    }
}

/* ===== FASE 10 — CATEGORÍAS SPA MÓVIL ===== */
@media (max-width: 900px) {
    .category-detail,
    .category-full-width {
        padding-top: 85px !important;
        padding-bottom: 50px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .category-detail-title {
        font-size: 22px;
        letter-spacing: 2px;
        margin-bottom: 24px;
    }

    .category-full-width .category-detail-title {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Imágenes banner — altura reducida para mostrar que hay contenido abajo */
    .img-cocinas,
    .img-banos,
    .img-salones,
    .img-fachadas,
    .img-mobiliario,
    .img-proyectos-comerciales {
        height: 55vh;
        object-position: center 50%;
    }

    .img-categoria-banner {
        height: 280px;
    }

    /* Grid de servicios — 1 columna limpia */
    .spa-services-section {
        padding: 40px 16px;
    }

    .spa-services-intro {
        gap: 16px;
        margin-bottom: 40px;
        padding-top: 30px;
    }

    .spa-services-intro-title {
        font-size: 22px;
        line-height: 1.3;
        max-width: 100%;
    }

    .spa-services-intro-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .spa-services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .spa-services-card-img {
        aspect-ratio: 16 / 9;
        border-radius: 8px;
    }

    .spa-services-card-content h5 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .spa-services-card-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ===== FASE 3 — ANIMACIÓN ENTRADA MATERIALES ===== */
.material-column {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
        background-color 0.3s ease;
}

.material-column.visible {
    opacity: 1;
    transform: translateY(0);
}

.material-column:nth-child(1) {
    transition-delay: 0s;
}

.material-column:nth-child(2) {
    transition-delay: 0.15s;
}

.material-column:nth-child(3) {
    transition-delay: 0.3s;
}

@media (max-width: 768px) {
    .material-column {
        opacity: 1;
        transform: none;
        transition: background-color 0.3s ease;
    }
}

/* ===== FASE 3 — ANIMACIÓN ENTRADA NOSOTROS ===== */
.nosotros-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.5s ease;
}

.nosotros-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECCIÓN NUESTROS CLIENTES ===== */
.clientes-block {
    margin-top: 90px;
    padding: 0 60px;
    text-align: center;
}

.clientes-title {
    font-size: 36px;
    font-weight: 300;
    color: #111111;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.clientes-subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 50px;
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.cliente-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cliente-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 185px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.4s ease;
}

.cliente-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
}

.cliente-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777777;
    background: rgba(0, 0, 0, 0.04);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.cliente-logo-placeholder,
.cliente-logo-box {
    height: 65px !important;
    max-height: 65px !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px 0 8px 0;
    padding: 4px 12px;
    overflow: hidden;
}

.cliente-logo-placeholder {
    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
    color: #777777;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 13px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cliente-card .cliente-logo-img {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cliente-card .cliente-logo-clase-azul {
    height: 60px !important;
    max-height: 60px !important;
    max-width: 175px !important;
    width: auto !important;
    transform: scale(1.65) !important;
    transform-origin: center center !important;
}

.cliente-card:hover .cliente-logo-img {
    transform: scale(1.05);
}

.cliente-card:hover .cliente-logo-clase-azul {
    transform: scale(1.75) !important;
}

.cliente-name {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    text-align: center;
    letter-spacing: 0.5px;
}

.cliente-fullname {
    font-size: 12px;
    color: #777777;
    text-align: center;
    margin-top: 2px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.evidencias-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.evidencia-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.evidencia-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.evidencia-card:hover .evidencia-img {
    transform: scale(1.05);
}

.evidencia-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.cliente-ubicacion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #555555;
    margin-top: -6px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: center;
}

.cliente-ubicacion .ubicacion-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #e53935;
}

.evidencia-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #888888;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-weight: 500;
    padding: 12px;
    text-align: center;
}

/* ===== SECCIÓN NUESTRA UBICACIÓN ===== */
.ubicacion-section {
    padding: 100px 60px;
    background-color: #fafafa;
    text-align: center;
}

.ubicacion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.ubicacion-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    margin-bottom: 8px;
}

.ubicacion-title {
    font-size: 44px;
    font-weight: 300;
    color: #111111;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.ubicacion-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888;
    font-weight: 500;
}

.ubicacion-info-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 32px 40px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.ubicacion-nombre {
    font-size: 20px;
    font-weight: 600;
    color: #111111;
    letter-spacing: 0.5px;
}

.ubicacion-direccion,
.ubicacion-ciudad {
    font-size: 15px;
    color: #555555;
    line-height: 1.5;
}

.ubicacion-horario {
    font-size: 14px;
    color: #777777;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mapa-placeholder-wrapper {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px dashed rgba(0, 0, 0, 0.18);
    background: #f2f2f2;
}

.mapa-placeholder {
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #777777;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #f7f7f7 0%, #ececec 100%);
}

.btn-ubicacion {
    display: inline-block;
    background-color: transparent;
    color: #111111;
    padding: 14px 38px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid #111111;
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.btn-ubicacion:hover {
    background-color: #111111;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ===== AJUSTES RESPONSIVOS PROFESIONALES COMPLEMENTARIOS ===== */

/* 1. PANTALLAS LAPTOP Y PANTALLAS INTERMEDIAS (901px - 1200px) */
@media (max-width: 1200px) and (min-width: 901px) {
    .main-nav {
        padding: 18px 60px;
    }

    .menu {
        gap: 12px;
    }

    .menu a {
        font-size: 15px;
        padding: 6px 10px;
    }

    .logo .brand-onyxa {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .logo .brand-stone {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: 36px;
        padding-left: 40px;
    }

    .section-subtitle {
        font-size: 20px;
        padding-left: 40px;
    }

    .espacios-bars-container {
        width: 86%;
    }
}

/* 2. TABLETS (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .section-title {
        font-size: 32px;
        padding-left: 30px;
    }

    .section-subtitle {
        font-size: 18px;
        padding-left: 30px;
        margin-bottom: 30px;
    }

    .materiales-container {
        padding: 30px 24px;
    }

    .material-column {
        padding: 24px 12px;
    }

    .material-column h3 {
        font-size: 20px;
    }

    .material-description,
    .material-list {
        font-size: 17px;
    }

    .espacios-bars-container {
        width: 88%;
        gap: 20px;
        padding: 20px 0 40px 0;
    }

    .espacio-bar-card {
        padding: 16px 24px;
        gap: 24px;
    }

    .espacio-bar-img-box {
        width: 50%;
        height: 150px;
    }

    .espacio-bar-text h3 {
        font-size: 20px;
    }

    .espacio-bar-text p {
        font-size: 13.5px;
    }

    .colores-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 24px;
        padding: 30px 40px;
    }

    .color-image {
        height: 190px;
    }

    .nosotros-section {
        padding: 60px 0;
    }

    .nosotros-imagen-amplia {
        height: 50vh;
        margin-bottom: 40px;
    }

    .nosotros-container {
        gap: 24px;
        padding: 0 30px;
    }

    .nosotros-card {
        padding: 32px 24px;
    }

    .clientes-block {
        padding: 0 40px;
        margin-top: 70px;
    }

    .clientes-title {
        font-size: 32px;
    }

    .clientes-grid {
        gap: 30px;
    }

    .ubicacion-section {
        padding: 80px 40px;
    }

    .ubicacion-title {
        font-size: 36px;
    }
}

/* 3. DISPOSITIVOS MÓVILES Y TELÉFONOS MEDIANOS (<= 768px) */
@media (max-width: 768px) {

    section[id],
    .section-divider {
        scroll-margin-top: 54px;
    }

    .section-title {
        font-size: 26px;
        padding-left: 16px;
        margin-bottom: 6px;
    }

    .section-subtitle {
        font-size: 15px;
        padding-left: 16px;
        margin-bottom: 24px;
    }

    .clientes-block {
        padding: 0 16px;
        margin-top: 50px;
    }

    .clientes-title {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .clientes-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .clientes-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cliente-card {
        min-height: 160px;
        padding: 20px 16px;
    }

    .ubicacion-section {
        padding: 50px 16px;
    }

    .ubicacion-title {
        font-size: 26px;
    }

    .ubicacion-subtitle {
        font-size: 13px;
    }

    .ubicacion-info-card {
        padding: 24px 18px;
    }

    .mapa-placeholder {
        height: 220px;
        font-size: 13px;
    }

    .btn-ubicacion {
        padding: 12px 30px;
        font-size: 12px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* 4. PANTALLAS PEQUEÑAS DE TELÉFONOS (<= 480px) */
@media (max-width: 480px) {
    .main-nav {
        padding: 12px 14px;
    }

    .logo .brand-onyxa {
        font-size: 20px;
        letter-spacing: 2.2px;
        font-weight: 700;
    }

    .logo .brand-stone {
        font-size: 12px;
        letter-spacing: 1.5px;
        font-weight: 300;
    }

    .mobile-menu-links a {
        font-size: 15px;
        letter-spacing: 2.8px;
        padding: 13px 0;
    }

    .espacios-bars-container {
        width: 92%;
        gap: 16px;
        padding: 16px 0 40px 0;
    }

    .espacio-bar-card {
        flex-direction: column-reverse;
        align-items: stretch;
        padding: 16px;
        gap: 14px;
    }

    .espacio-bar-img-box {
        width: 100%;
        height: 165px;
    }

    .espacio-bar-info {
        gap: 14px;
    }

    .espacio-bar-text h3 {
        font-size: 17px;
    }

    .espacio-bar-text p {
        font-size: 13px;
    }

    .cliente-card .cliente-logo-clase-azul {
        transform: scale(1.35) !important;
    }

    .cliente-badge {
        font-size: 9px;
        padding: 2px 8px;
        top: 10px;
        right: 10px;
    }

    .evidencias-container {
        grid-template-columns: 1fr;
    }
}

/* ===== ESTILOS PÁGINA AVISO DE PRIVACIDAD ===== */
.privacy-page-section {
    background-color: #ffffff;
    color: #333333;
    min-height: calc(100vh - 120px);
    padding: 60px 24px 100px 24px;
    font-family: Arial, Helvetica, 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.privacy-container {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

.privacy-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666666;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.privacy-back-btn:hover {
    color: #E85D04;
    transform: translateX(-4px);
}

.privacy-title {
    text-align: center;
    font-family: Arial, Helvetica, 'Plus Jakarta Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 45px;
    letter-spacing: -0.5px;
}

.privacy-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.privacy-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    font-weight: 400;
    margin: 0;
    word-wrap: break-word;
}

.privacy-body p strong {
    font-weight: 700;
    color: #222222;
}

/* RESPONSIVE MÓVIL Y TABLET */
@media (max-width: 768px) {
    .privacy-page-section {
        padding: 80px 20px 60px 20px;
    }

    .privacy-back-btn {
        margin-bottom: 24px;
        font-size: 11.5px;
    }

    .privacy-title {
        font-size: 28px;
        margin-bottom: 30px;
        line-height: 1.25;
    }

    .privacy-body {
        gap: 18px;
    }

    .privacy-body p {
        font-size: 14.5px;
        line-height: 1.68;
        color: #444444;
    }
}

@media (max-width: 480px) {
    .privacy-page-section {
        padding: 75px 16px 50px 16px;
    }

    .privacy-title {
        font-size: 23px;
        margin-bottom: 24px;
    }

    .privacy-body p {
        font-size: 14px;
        line-height: 1.65;
    }
}

/* ===== BOTÓN FLOTANTE DE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 990;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.whatsapp-float:active {
    transform: translateY(-1px) scale(0.98);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    fill: currentColor;
    display: block;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}