/* ==========================================================================
   CENTER MERC SERVICIOS & MORE
   Sistema de diseño: "Ticket de personalización"
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Work+Sans:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
    /* Color */
    --ink: #0d0d0d;
    --ink-soft: #171715;
    --paper: #faf9f6;
    --paper-dim: #f0efe9;
    --bulb: #f5c518;
    --amber: #c99206;
    --graphite: #2a2a28;
    --smoke: #6e6e68;
    --line: rgba(250, 249, 246, 0.14);
    --line-dark: rgba(13, 13, 13, 0.14);
    /* Type */
    --font-display: 'Caveat', cursive;
    --font-body: 'Work Sans', system-ui, sans-serif;
    --font-mono: 'Space Mono', monospace;
    /* Layout */
    --container-max: 1180px;
    --radius: 4px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container-cm {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--bulb);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Eyebrow / labels
   ========================================================================== */

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bulb);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

    .eyebrow::before {
        content: '';
        width: 24px;
        height: 1px;
        background: var(--bulb);
    }

.section-title {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.section-sub {
    color: var(--smoke);
    max-width: 560px;
    margin: 0 0 44px;
    font-size: 1.02rem;
}

.section-head {
    margin-bottom: 8px;
}

.on-dark .section-sub {
    color: rgba(250, 249, 246, 0.68);
}

.accent-script {
    font-family: var(--font-display);
    color: var(--bulb);
    font-weight: 700;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

    .site-header .container-cm {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 76px;
    }

.brand img {
    height: 44px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

    .main-nav a {
        font-family: var(--font-mono);
        font-size: 0.78rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--paper);
        padding: 10px 16px;
        position: relative;
    }

        .main-nav a::after {
            content: '';
            position: absolute;
            left: 16px;
            right: 16px;
            bottom: 6px;
            height: 2px;
            background: var(--bulb);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.25s ease;
        }

        .main-nav a:hover::after,
        .main-nav a.active::after {
            transform: scaleX(1);
        }

        .main-nav a.active {
            color: var(--bulb);
        }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--paper);
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--ink);
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

        .main-nav.open {
            max-height: 480px;
        }

        .main-nav a {
            padding: 14px 24px;
        }

            .main-nav a::after {
                display: none;
            }
}

/* ==========================================================================
   Botones
   ========================================================================== */

.btn-cm {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

    .btn-cm:hover {
        transform: translateY(-2px);
    }

.btn-cm--solid {
    background: var(--bulb);
    color: var(--ink);
}

    .btn-cm--solid:hover {
        background: var(--amber);
    }

.btn-cm--outline {
    border-color: var(--paper);
    color: var(--paper);
}

    .btn-cm--outline:hover {
        border-color: var(--bulb);
        color: var(--bulb);
    }

.btn-cm--outline-dark {
    border-color: var(--ink);
    color: var(--ink);
}

    .btn-cm--outline-dark:hover {
        border-color: var(--amber);
        color: var(--amber);
    }

/* ==========================================================================
   Secciones base
   ========================================================================== */

.section {
    padding: 96px 0;
}

    .section.on-dark {
        background: var(--ink);
        color: var(--paper);
    }

    .section.on-paper-dim {
        background: var(--paper-dim);
    }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
}

    .hero .container-cm {
        position: relative;
        z-index: 2;
        max-width: 760px;
    }

.hero-rays {
    position: absolute;
    top: -80px;
    right: -60px;
    width: 420px;
    height: 420px;
    opacity: 0.5;
    z-index: 1;
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

.hero p.lead {
    font-size: 1.12rem;
    color: rgba(250, 249, 246, 0.72);
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Ticket component (signature element)
   ========================================================================== */

.ticket {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 32px 26px 26px;
    height: 100%;
}

    .ticket::before,
    .ticket::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 18px;
        height: 18px;
        background: var(--paper-dim);
        border: 1px solid var(--line-dark);
        border-radius: 50%;
        transform: translateY(-50%);
    }

    .ticket::before {
        left: -10px;
    }

    .ticket::after {
        right: -10px;
    }

.on-dark .ticket {
    background: var(--ink-soft);
    border-color: var(--line);
    color: var(--paper);
}

    .on-dark .ticket::before,
    .on-dark .ticket::after {
        background: var(--ink);
        border-color: var(--line);
    }

.ticket-perforation {
    border-top: 1px dashed var(--line-dark);
    margin: 18px 0;
}

.on-dark .ticket-perforation {
    border-top-color: var(--line);
}

.ticket-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bulb);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.ticket h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.ticket p {
    color: var(--smoke);
    font-size: 0.94rem;
    margin: 0;
}

.on-dark .ticket p {
    color: rgba(250, 249, 246, 0.65);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 24px;
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PRODUCTOS - TARJETAS PROFESIONALES
   ========================================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
        border-color: var(--amber);
    }


/* IMAGEN */

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: #f5f4f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
        transition: transform 0.45s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.04);
}
/* INFORMACIÓN */

.product-info {
    padding: 22px 20px 20px;
}

    .product-info h3 {
        margin: 0 0 10px;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--ink);
    }

    .product-info p {
        margin: 0 0 18px;
        color: var(--smoke);
        font-size: 0.94rem;
        line-height: 1.6;
    }


/* BOTONES */

.product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .product-actions .btn-cm {
        flex: 1;
        min-width: 120px;
    }


/* VER TRABAJOS */

.gallery-product-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eeeeee;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

    .gallery-product-link:hover {
        color: var(--amber);
    }

    .gallery-product-link::after {
        content: "→";
        font-size: 1rem;
        transition: transform 0.2s ease;
    }

    .gallery-product-link:hover::after {
        transform: translateX(5px);
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 320px;
    }

    .product-info {
        padding: 20px;
    }
}
/* ==========================================================================
   Galería
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    border: 1px dashed var(--line);
    background: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(250, 249, 246, 0.4);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-align: center;
    padding: 10px;
    overflow: hidden;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */

.faq-list {
    max-width: 760px;
}

.faq-item {
    border-bottom: 1px dashed var(--line-dark);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.02rem;
    cursor: pointer;
    color: var(--ink);
}

    .faq-question .plus {
        font-family: var(--font-mono);
        font-size: 1.2rem;
        color: var(--amber);
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

/* RESPUESTA CERRADA */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* RESPUESTA ABIERTA */
.faq-item.open .faq-answer {
    max-height: 200px;
    opacity: 1;
}

/* TEXTO DE LA RESPUESTA */
.faq-answer p {
    margin: 0;
    padding: 0 30px 20px 4px;
    color: var(--smoke);
    line-height: 1.7;
}

/* ICONO */
.faq-item.open .plus {
    transform: rotate(45deg);
}

/* ==========================================================================
   Sobre nosotros
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.stat-row {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--bulb);
    line-height: 1;
    display: block;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(250, 249, 246, 0.6);
}

.about-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    background: var(--ink-soft);
}

    .about-card ul {
        padding-left: 20px;
        margin: 0;
        color: rgba(250, 249, 246, 0.75);
    }

    .about-card li {
        margin-bottom: 10px;
    }

/* ==========================================================================
   Contacto
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
}

    .contact-info-item .ticket-icon {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }

    .contact-info-item h4 {
        margin: 0 0 4px;
        font-size: 0.95rem;
    }

    .contact-info-item p {
        margin: 0;
        color: var(--smoke);
        font-size: 0.92rem;
    }

.form-control-cm {
    width: 100%;
    background: var(--paper);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 13px 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

    .form-control-cm:focus {
        outline: 2px solid var(--bulb);
        outline-offset: 1px;
    }

/* ==========================================================================
   Contacto — WhatsApp CTA
   ========================================================================== */

.whatsapp-cta {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius);
    padding: 56px 32px;
    background: var(--paper);
}

.whatsapp-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25D366;
    color: var(--paper);
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.whatsapp-cta h3 {
    font-size: 1.3rem;
    margin: 0 0 10px;
}

.whatsapp-cta p {
    color: var(--smoke);
    margin: 0 0 28px;
}

.btn-cm--lg {
    padding: 16px 34px;
    font-size: 0.88rem;
}

.whatsapp-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--smoke) !important;
    margin: 18px 0 0 !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--ink);
    color: rgba(250, 249, 246, 0.6);
    padding: 40px 0;
    border-top: 1px solid var(--line);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

    .footer-row img {
        height: 32px;
    }

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
}

    .footer-links a:hover {
        color: var(--bulb);
    }

.footer-fine {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    margin-top: 20px;
    text-align: center;
    color: rgba(250, 249, 246, 0.35);
}

/* ==========================================================================
   Interactividad y movimiento — revelado al scroll, hover, acentos vivos
   ========================================================================== */

/* --- Revelado al hacer scroll (degrada bien si JS está desactivado) --- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

    .reveal.in-view {
        opacity: 1;
        transform: none;
    }

/* --- Tickets: elevación + resplandor + icono vivo --- */
.ticket {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .ticket:hover {
        transform: translateY(-8px);
        border-color: var(--bulb);
        box-shadow: 0 18px 40px -18px rgba(245, 197, 24, 0.35);
    }

.on-dark .ticket:hover {
    box-shadow: 0 18px 40px -18px rgba(245, 197, 24, 0.22);
}

.ticket-icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.ticket:hover .ticket-icon {
    transform: rotate(-8deg) scale(1.12);
    background: var(--amber);
}

/* --- Imagen de producto: zoom sutil en hover --- */
.product-media {
    transition: border-color 0.3s ease;
}

    .product-media img {
        transition: transform 0.5s ease;
    }

.ticket:hover .product-media {
    border-color: var(--bulb);
}

    .ticket:hover .product-media img {
        transform: scale(1.06);
    }

/* --- Botones: barrido de luz --- */
.btn-cm {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

    .btn-cm::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
        transform: translateX(-120%);
        transition: transform 0.6s ease;
        z-index: 1;
        pointer-events: none;
    }

    .btn-cm:hover::before {
        transform: translateX(120%);
    }

    .btn-cm i {
        position: relative;
        z-index: 2;
    }

    .btn-cm span, .btn-cm {
        position: relative;
    }

/* --- Nav: transición más viva --- */
.main-nav a {
    transition: color 0.2s ease;
}

/* --- Hero: rayos con vida propia --- */
.hero-rays {
    animation: hero-rays-spin 26s linear infinite;
    transform-origin: center;
}

@keyframes hero-rays-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero h1 .accent-script {
    display: inline-block;
    animation: accent-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes accent-pop {
    0% {
        opacity: 0;
        transform: translateY(10px) rotate(-4deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(-2deg);
    }
}

/* --- Proceso: numeración que despierta al pasar el mouse --- */
.process-step {
    transition: transform 0.3s ease;
}

    .process-step:hover {
        transform: translateY(-4px);
    }

.process-num {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.process-step:hover .process-num {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(245, 197, 24, 0.18);
}

/* --- FAQ: respuesta y signo con más carácter --- */
.faq-question {
    transition: color 0.2s ease;
}

    .faq-question:hover {
        color: var(--amber);
    }

.faq-item.open .faq-question {
    color: var(--amber);
}

/* --- WhatsApp CTA: pulso que invita al clic --- */
.whatsapp-cta-icon {
    position: relative;
}

    .whatsapp-cta-icon::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: #25D366;
        animation: whatsapp-pulse 2.2s ease-out infinite;
        z-index: -1;
    }

@keyframes whatsapp-pulse {
    0% {
        opacity: 0.55;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.9);
    }
}

.whatsapp-cta {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .whatsapp-cta:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 50px -20px rgba(37, 211, 102, 0.35);
    }

/* --- Sobre nosotros: tarjeta con leve profundidad --- */
.about-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .about-card:hover {
        transform: translateY(-4px);
        border-color: var(--bulb);
    }

/* --- Galería: hover con marco vivo --- */
.gallery-item {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .gallery-item:hover {
        transform: translateY(-4px);
        border-color: var(--bulb);
        color: rgba(250,249,246,0.7);
    }

/* ==========================================================
   VISOR 3D - TAZA
========================================================== */

.product-3d-preview {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient( circle at center, #ffffff 0%, #f0efe9 70%, #e5e3db 100% );
}

.product-3d-label {
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink);
    background: var(--bulb);
    padding: 5px 10px;
    border-radius: var(--radius);
    z-index: 2;
}

.btn-3d {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--bulb);
    padding: 10px 18px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

    .btn-3d:hover {
        background: var(--bulb);
        color: var(--ink);
        transform: translateX(-50%) translateY(-2px);
    }


/* ==========================================================
   MODAL 3D
========================================================== */

.model-3d-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

    .model-3d-modal.open {
        display: flex;
    }

.model-3d-window {
    width: min(950px, 100%);
    background: var(--paper);
    border: 1px solid var(--line-dark);
    position: relative;
    padding: 30px;
}

.model-3d-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-dark);
    background: transparent;
    color: var(--ink);
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 10;
}

    .model-3d-close:hover {
        background: var(--ink);
        color: var(--paper);
    }

.model-3d-header {
    text-align: center;
    margin-bottom: 15px;
}

    .model-3d-header span {
        color: var(--amber);
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }

    .model-3d-header h2 {
        margin: 8px 0;
        font-size: 1.8rem;
    }

    .model-3d-header p {
        margin: 0;
        color: var(--smoke);
    }


/* ==========================================================
   CANVAS 3D
========================================================== */

.model-3d-container {
    width: 100%;
    height: 520px;
    background: radial-gradient( circle at center, #ffffff 0%, #f0efe9 65%, #dfddd5 100% );
    overflow: hidden;
    cursor: grab;
}

    .model-3d-container:active {
        cursor: grabbing;
    }

    .model-3d-container canvas {
        display: block;
        width: 100%;
        height: 100%;
    }


/* ==========================================================
   CONTROLES
========================================================== */

.model-3d-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    color: var(--smoke);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 600px) {

    .model-3d-window {
        padding: 18px;
    }

    .model-3d-container {
        height: 420px;
    }

    .model-3d-controls {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}
/* ==========================================================
   CATÁLOGO PROFESIONAL
   ========================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


/* TARJETA */

.product-card {
    position: relative;
    background: #faf9f6;
    border: 1px solid rgba(13, 13, 13, 0.12);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}


    /* EFECTO AL PASAR EL MOUSE */

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(13, 13, 13, 0.10);
        border-color: #f5c518;
    }


/* IMAGEN */

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f0efe9;
    overflow: hidden;
}


    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }


/* ZOOM SUAVE */

.product-card:hover .product-image img {
    transform: scale(1.05);
}


/* ETIQUETA */

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0d0d0d;
    color: #f5c518;
    padding: 6px 10px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    border-radius: 3px;
}


/* CONTENIDO */

.product-content {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}


.product-category {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #c99206;
    margin-bottom: 8px;
}


.product-content h3 {
    margin: 0 0 9px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}


.product-content p {
    margin: 0;
    color: #6e6e68;
    font-size: 0.88rem;
    line-height: 1.55;
    flex: 1;
}


/* BOTÓN */

.product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid #0d0d0d;
    background: transparent;
    color: #0d0d0d;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}


    .product-button:hover {
        background: #0d0d0d;
        color: #f5c518;
        border-color: #0d0d0d;
    }


    /* WHATSAPP */

    .product-button i {
        font-size: 0.9rem;
    }


/* TABLET */

@media (max-width: 1000px) {

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* CELULAR */

@media (max-width: 600px) {

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-content {
        padding: 20px;
    }
}
/* ==========================================================================
   GALERÍA PROFESIONAL - NUESTROS TRABAJOS
   ========================================================================== */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.gallery-filter {
    border: 1px solid rgba(250, 249, 246, 0.22);
    background: transparent;
    color: rgba(250, 249, 246, 0.75);
    padding: 10px 18px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .gallery-filter:hover {
        border-color: var(--bulb);
        color: var(--bulb);
    }

    .gallery-filter.active {
        background: var(--bulb);
        border-color: var(--bulb);
        color: var(--ink);
    }


/* GRID */

.gallery-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* TARJETA */

.gallery-work-item {
    background: var(--ink-soft);
    border: 1px solid rgba(250, 249, 246, 0.12);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-work-item:hover {
        transform: translateY(-5px);
        border-color: rgba(245, 197, 24, 0.5);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    }


/* IMAGEN */

.gallery-work-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-dim);
    cursor: pointer;
}

    .gallery-work-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.gallery-work-item:hover .gallery-work-image img {
    transform: scale(1.05);
}


/* OVERLAY */

.gallery-work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 13, 13, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-work-item:hover .gallery-work-overlay {
    opacity: 1;
}

.gallery-work-overlay span {
    border: 1px solid var(--bulb);
    color: var(--bulb);
    padding: 10px 18px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* INFORMACIÓN */

.gallery-work-info {
    padding: 18px 20px 20px;
}

    .gallery-work-info span {
        display: block;
        color: var(--bulb);
        font-family: var(--font-mono);
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 7px;
    }

    .gallery-work-info h3 {
        margin: 0;
        color: white;
        font-size: 1.05rem;
    }


/* OCULTAR */

.gallery-work-item.hidden {
    display: none;
}


/* LIGHTBOX */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 5000;
}

    .gallery-lightbox.open {
        opacity: 1;
        visibility: visible;
    }

    .gallery-lightbox img {
        max-width: min(1000px, 90vw);
        max-height: 85vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 6px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    }

.gallery-lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: white;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .gallery-lightbox-close:hover {
        background: var(--bulb);
        color: var(--ink);
        border-color: var(--bulb);
    }


/* RESPONSIVE */

@media (max-width: 900px) {

    .gallery-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .gallery-work-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        gap: 8px;
    }

    .gallery-filter {
        padding: 8px 14px;
    }
}
/* ==========================================================
   VISOR PROFESIONAL
   ========================================================== */

.gallery-lightbox-content {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    max-width: 1100px;

    max-height: 90vh;
}


.gallery-lightbox-info {
    width: 100%;

    margin-top: 18px;

    text-align: center;
}


.gallery-lightbox-info span {
    display: block;

    margin-bottom: 5px;

    color: #f5c518;

    font-family: var(--font-mono);

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}


.gallery-lightbox-info h3 {
    margin: 0;

    color: white;

    font-size: 1.05rem;

    font-weight: 600;
}


.gallery-lightbox-counter {
    margin-top: 8px;

    color: rgba(255, 255, 255, 0.55);

    font-family: var(--font-mono);

    font-size: 0.65rem;
}


/* ==========================
   BOTONES LATERALES
   ========================== */

.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    background: rgba(13, 13, 13, 0.75);

    color: white;

    font-size: 38px;

    line-height: 1;

    cursor: pointer;

    z-index: 2;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.gallery-lightbox-prev {
    left: 28px;
}


.gallery-lightbox-next {
    right: 28px;
}


.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: #f5c518;

    border-color: #f5c518;

    color: #0d0d0d;

    transform:
        translateY(-50%)
        scale(1.08);
}


/* ==========================
   CELULAR
   ========================== */

@media (max-width: 600px) {

    .gallery-lightbox-prev,
    .gallery-lightbox-next {

        width: 42px;

        height: 42px;

        font-size: 30px;

    }


    .gallery-lightbox-prev {
        left: 10px;
    }


    .gallery-lightbox-next {
        right: 10px;
    }


    .gallery-lightbox-content {
        max-width: 90vw;
    }


    .gallery-lightbox-info h3 {
        font-size: 0.95rem;
    }

}
/* ==========================================================
   FAQ - PREGUNTAS FRECUENTES
   ========================================================== */

#faq {
    background: #f5f3ee;
    color: #111111;
}

    #faq .section-head {
        margin-bottom: 45px;
    }

    #faq .section-title {
        color: #111111;
    }

    #faq .section-sub {
        color: #666666;
    }


    /* ==========================
   LISTA
   ========================== */

    #faq .faq-list {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
    }


    /* ==========================
   ITEM
   ========================== */

    #faq .faq-item {
        border-top: 1px solid #d8d5ce;
    }

        #faq .faq-item:last-child {
            border-bottom: 1px solid #d8d5ce;
        }


    /* ==========================
   PREGUNTA
   ========================== */

    #faq .faq-question {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px 4px;
        border: none;
        background: transparent;
        color: #111111;
        font-family: inherit;
        font-size: 1rem;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
        transition: color 0.25s ease;
    }

        #faq .faq-question:hover {
            color: #d5a900;
        }


    /* ==========================
   SIGNO +
   ========================== */

    #faq .plus {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 20px;
        border: 1px solid #cfcac0;
        border-radius: 50%;
        color: #111111;
        font-size: 22px;
        font-weight: 400;
        transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    }


    /* ==========================
   RESPUESTA
   ========================== */

    #faq .faq-answer {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
    }

        #faq .faq-answer p {
            margin: 0;
            padding: 0 50px 24px 4px;
            color: #666666;
            font-size: 0.95rem;
            line-height: 1.7;
        }


    /* ==========================
   FAQ ABIERTO
   ========================== */

    #faq .faq-item.active .faq-answer {
        max-height: 200px;
        opacity: 1;
    }

    #faq .faq-item.active .plus {
        transform: rotate(45deg);
        background: #f5c518;
        border-color: #f5c518;
        color: #111111;
    }


/* ==========================
   CELULAR
   ========================== */

@media (max-width: 600px) {

    #faq .faq-question {
        padding: 20px 0;
        font-size: 0.92rem;
    }

    #faq .faq-answer p {
        padding: 0 45px 20px 0;
        font-size: 0.88rem;
    }

    #faq .plus {
        width: 28px;
        height: 28px;
        font-size: 19px;
    }
}
/* ==========================================================
   PRODUCTOS - ENLACE A TRABAJOS
   ========================================================== */

.product-gallery-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(13, 13, 13, 0.12);
    color: #111111;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

    .product-gallery-link span {
        font-size: 1.1rem;
        transition: transform 0.25s ease;
    }

    .product-gallery-link:hover {
        color: #c99206;
        padding-left: 4px;
    }

        .product-gallery-link:hover span {
            transform: translateX(5px);
        }

/* ==========================================================
   CÓMO FUNCIONA — DISEÑO ORIGINAL
   ========================================================== */

.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 52px;
}


    /* LÍNEA QUE CONECTA LOS PASOS */

    .process-track::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--line-dark);
        z-index: 0;
    }


/* CADA PASO */

.process-step {
    position: relative;
    z-index: 1;
    min-width: 0;
    transition: transform 0.3s ease;
}

    .process-step:hover {
        transform: translateY(-4px);
    }


/* CÍRCULO DEL NÚMERO */

.process-num {
    width: 30px;
    height: 30px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bulb);
    color: #111111;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}


/* EFECTO AL PASAR EL MOUSE */

.process-step:hover .process-num {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(245, 197, 24, 0.18);
}


/* TÍTULO */

.process-step h3 {
    margin: 0 0 9px;
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.3;
}

/* DESCRIPCIÓN */

.process-step p {
    margin: 0;
    max-width: 230px;
    color: rgba(250, 249, 246, 0.68);
    font-size: 0.78rem;
    line-height: 1.55;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .process-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

        .process-track::before {
            display: none;
        }
}


/* ==========================================================
   CELULAR
   ========================================================== */

@media (max-width: 600px) {

    .process-track {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 38px;
    }

        .process-track::before {
            display: none;
        }

    .process-step p {
        max-width: 100%;
    }
}
/* ==========================================================
   PRODUCTOS — AJUSTE PARA MÓVIL
   ========================================================== */

@media (max-width: 600px) {

    .product-card .product-image {
        height: 260px;
        overflow: hidden;
    }

        .product-card .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
}
/* ==========================================================================
   BOTÓN WHATSAPP - GALERÍA
   ========================================================================== */

.gallery-whatsapp-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 4px;
    background: #25D366;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .gallery-whatsapp-btn i {
        font-size: 1rem;
    }

    .gallery-whatsapp-btn:hover {
        background: #1ebe5d;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    }

    .gallery-whatsapp-btn:active {
        transform: translateY(0);
    }
/* =========================================
   LOGIN ADMINISTRADOR
========================================= */

.admin-login {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #0f0f0f;
}

.admin-login-card {
    width: 100%;
    max-width: 440px;
    padding: 45px 40px;
    background: #f8f1e5;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Logo */

.admin-login-logo {
    margin-bottom: 25px;
}

    .admin-login-logo img {
        width: 95px;
        height: 95px;
        object-fit: contain;
    }

/* Título */

.admin-login-card h1 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 28px;
    font-weight: 700;
}

/* Descripción */

.admin-login-card p {
    margin: 0 0 30px;
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
}

/* Campos */

.admin-field {
    text-align: left;
    margin-bottom: 20px;
}

    .admin-field label {
        display: block;
        margin-bottom: 8px;
        color: #222222;
        font-size: 14px;
        font-weight: 600;
    }

    .admin-field input {
        width: 100%;
        padding: 13px 15px;
        border: 1px solid #d8d0c2;
        border-radius: 10px;
        background: #ffffff;
        color: #222222;
        font-size: 15px;
        outline: none;
        transition: all 0.25s ease;
        box-sizing: border-box;
    }

        .admin-field input:focus {
            border-color: #d4af37;
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
        }

/* Botón */

.admin-login-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: #d4af37;
    color: #111111;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .admin-login-btn:hover {
        background: #b99525;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
    }

    .admin-login-btn:active {
        transform: translateY(0);
    }

/* =========================================
   LOGIN ADMIN - RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .admin-login {
        min-height: calc(100vh - 60px);
        padding: 35px 15px;
    }

    .admin-login-card {
        padding: 35px 25px;
        border-radius: 15px;
    }

        .admin-login-card h1 {
            font-size: 24px;
        }

    .admin-login-logo img {
        width: 80px;
        height: 80px;
    }
}
/* =========================================
   PANEL DE ADMINISTRACIÓN
========================================= */

.admin-panel {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Encabezado */

.admin-panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2d8c8;
}

    .admin-panel-header .eyebrow {
        display: block;
        margin-bottom: 8px;
        color: #b99525;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .admin-panel-header h1 {
        margin: 0 0 8px;
        color: #111111;
        font-size: 38px;
        font-weight: 700;
    }

    .admin-panel-header p {
        margin: 0;
        color: #666666;
        font-size: 15px;
    }

/* Botones superiores */

.admin-panel-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .admin-panel-actions .btn-cm {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 11px 18px;
        border-radius: 9px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        transition: all 0.25s ease;
    }

        /* Agregar */

        .admin-panel-actions .btn-cm:not(.btn-outline) {
            background: #d4af37;
            color: #111111;
        }

            .admin-panel-actions .btn-cm:not(.btn-outline):hover {
                background: #b99525;
                transform: translateY(-2px);
                box-shadow: 0 7px 18px rgba(212, 175, 55, 0.25);
            }

    /* Cerrar sesión */

    .admin-panel-actions .btn-outline {
        border: 1px solid #d8d0c2;
        background: transparent;
        color: #333333;
    }

        .admin-panel-actions .btn-outline:hover {
            border-color: #111111;
            background: #111111;
            color: #ffffff;
        }

/* =========================================
   GALERÍA ADMIN
========================================= */

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Tarjeta */

.admin-gallery-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5ddd1;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .admin-gallery-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    }

/* Imagen */

.admin-gallery-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f2eee7;
}

    .admin-gallery-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

.admin-gallery-card:hover .admin-gallery-image img {
    transform: scale(1.04);
}

/* Información */

.admin-gallery-info {
    padding: 18px;
}

    .admin-gallery-info > span {
        display: inline-block;
        margin-bottom: 6px;
        color: #b99525;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
    }

    .admin-gallery-info h3 {
        margin: 0;
        color: #151515;
        font-size: 19px;
        font-weight: 700;
    }

/* Acciones */

.admin-gallery-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

    .admin-gallery-actions a,
    .admin-gallery-actions button {
        flex: 1;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        border-radius: 8px;
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.2s ease;
    }

/* Editar */

.admin-edit-btn {
    border: 1px solid #d4af37;
    background: #fffaf0;
    color: #8f7118;
}

    .admin-edit-btn:hover {
        background: #d4af37;
        color: #111111;
    }

/* Eliminar */

.admin-gallery-actions form {
    flex: 1;
    margin: 0;
}

    .admin-gallery-actions form button {
        width: 100%;
        border: 1px solid #d9bcbc;
        background: #fff7f7;
        color: #a33a3a;
    }

        .admin-gallery-actions form button:hover {
            border-color: #a33a3a;
            background: #a33a3a;
            color: #ffffff;
        }

/* =========================================
   ESTADO VACÍO
========================================= */

.admin-empty {
    grid-column: 1 / -1;
    padding: 70px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #d8d0c2;
    border-radius: 15px;
}

    .admin-empty h2 {
        margin: 0 0 10px;
        color: #222222;
        font-size: 24px;
    }

    .admin-empty p {
        margin: 0;
        color: #777777;
        font-size: 15px;
    }

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .admin-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {

    .admin-panel {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .admin-panel-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 35px;
    }

        .admin-panel-header h1 {
            font-size: 32px;
        }

    .admin-panel-actions {
        width: 100%;
    }

        .admin-panel-actions .btn-cm {
            flex: 1;
        }

    .admin-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {

    .admin-panel {
        padding-left: 15px;
        padding-right: 15px;
    }

    .admin-panel-header h1 {
        font-size: 28px;
    }

    .admin-panel-header p {
        font-size: 14px;
    }

    .admin-panel-actions {
        flex-direction: column;
    }

        .admin-panel-actions .btn-cm {
            width: 100%;
            flex: none;
        }

    .admin-gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .admin-gallery-image {
        height: 260px;
    }
}
/* =========================================
   FORMULARIO ADMINISTRADOR
========================================= */

.admin-form-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2d8c8;
}

    .admin-form-header .eyebrow {
        display: block;
        margin-bottom: 8px;
        color: #b99525;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .admin-form-header h1 {
        margin: 0 0 8px;
        color: #111111;
        font-size: 36px;
        font-weight: 700;
    }

    .admin-form-header p {
        margin: 0;
        color: #666666;
        font-size: 15px;
    }

    /* Botón volver */

    .admin-form-header .btn-outline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 18px;
        border: 1px solid #d8d0c2;
        border-radius: 9px;
        background: transparent;
        color: #333333;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        transition: all 0.25s ease;
    }

        .admin-form-header .btn-outline:hover {
            background: #111111;
            border-color: #111111;
            color: #ffffff;
        }

/* =========================================
   TARJETA DEL FORMULARIO
========================================= */

.admin-form-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e5ddd1;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

    /* Campos */

    .admin-form-card .admin-field {
        margin-bottom: 24px;
    }

        .admin-form-card .admin-field label {
            display: block;
            margin-bottom: 9px;
            color: #222222;
            font-size: 14px;
            font-weight: 700;
        }

    /* Select */

    .admin-form-card select {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        border: 1px solid #d8d0c2;
        border-radius: 9px;
        background: #ffffff;
        color: #222222;
        font-family: inherit;
        font-size: 15px;
        outline: none;
        cursor: pointer;
        transition: all 0.25s ease;
    }

        .admin-form-card select:focus {
            border-color: #d4af37;
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
        }

    /* Input de archivo */

    .admin-form-card input[type="file"] {
        width: 100%;
        padding: 12px;
        border: 1px dashed #cfc5b5;
        border-radius: 10px;
        background: #faf8f4;
        color: #555555;
        font-family: inherit;
        font-size: 14px;
        cursor: pointer;
        box-sizing: border-box;
    }

        .admin-form-card input[type="file"]:hover {
            border-color: #d4af37;
            background: #fffdf8;
        }

        .admin-form-card input[type="file"]::file-selector-button {
            margin-right: 12px;
            padding: 9px 14px;
            border: none;
            border-radius: 7px;
            background: #111111;
            color: #ffffff;
            font-family: inherit;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s ease;
        }

            .admin-form-card input[type="file"]::file-selector-button:hover {
                background: #d4af37;
                color: #111111;
            }

    /* Texto de formatos */

    .admin-form-card small {
        display: block;
        margin-top: 8px;
        color: #777777;
        font-size: 12px;
    }

/* =========================================
   VISTA PREVIA
========================================= */

.admin-image-preview {
    width: 100%;
    min-height: 300px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed #d8d0c2;
    border-radius: 12px;
    background: #f7f4ee;
    color: #999999;
    font-size: 14px;
    box-sizing: border-box;
}

    .admin-image-preview img {
        width: 100%;
        height: 100%;
        max-height: 450px;
        display: block;
        object-fit: contain;
    }

/* =========================================
   BOTÓN GUARDAR
========================================= */

.admin-form-card .admin-login-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    padding: 13px 20px;
    border: none;
    border-radius: 9px;
    background: #d4af37;
    color: #111111;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .admin-form-card .admin-login-btn:hover {
        background: #b99525;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
    }

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .admin-form-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

        .admin-form-header h1 {
            font-size: 30px;
        }

        .admin-form-header .btn-outline {
            width: 100%;
        }

    .admin-form-card {
        padding: 25px 20px;
    }

    .admin-image-preview {
        min-height: 230px;
    }
}

@media (max-width: 450px) {

    .admin-form-header h1 {
        font-size: 26px;
    }

    .admin-form-card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .admin-image-preview {
        min-height: 200px;
    }
}
/* ==========================================================
   HERO - CARRUSEL DE PRODUCTOS
   ========================================================== */

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #0b0b0b;
    display: flex;
    align-items: center;
}


/* ==========================================================
   FONDO DE PRODUCTOS
   ========================================================== */

.hero-product-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #0b0b0b;
}

.hero-product-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease, transform 5s ease;
    filter: brightness(0.78);
}

    .hero-product-image.active {
        opacity: 1;
        transform: scale(1.06);
    }


/* ==========================================================
   DEGRADADO
   ========================================================== */

.hero-product-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, #0b0b0b 0%, #0b0b0b 25%, rgba(11, 11, 11, 0.92) 42%, rgba(11, 11, 11, 0.55) 62%, rgba(11, 11, 11, 0.10) 100% );
}


/* ==========================================================
   CONTENIDO
   ========================================================== */

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 620px;
}


/* ==========================================================
   PRODUCTO ACTUAL
   ========================================================== */

.hero-product-name {
    display: block;
    min-height: 1.2em;
    transition: opacity 0.4s ease, transform 0.4s ease;
}


    /* ==========================================================
   ANIMACIÓN DEL TEXTO
   ========================================================== */

    .hero-product-name.change {
        opacity: 0;
        transform: translateY(8px);
    }


/* ==========================================================
   DECORACIÓN
   ========================================================== */

.hero-rays {
    position: absolute;
    right: -70px;
    top: 50%;
    width: 420px;
    height: 420px;
    z-index: 2;
    transform: translateY(-50%);
    pointer-events: none;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .hero {
        min-height: 650px;
    }

    .hero-product-image {
        width: 60%;
        height: 100%;
        right: 0;
        bottom: 0;
        object-fit: contain;
        object-position: center bottom;
        filter: brightness(0.68);
    }

        .hero-product-image.active {
            opacity: 0.9;
        }

    .hero-product-overlay {
        background: linear-gradient( 90deg, #0b0b0b 0%, rgba(11, 11, 11, 0.90) 40%, rgba(11, 11, 11, 0.35) 100% );
    }
}


/* ==========================================================
   CELULAR
   ========================================================== */

@media (max-width: 600px) {

    .hero {
        min-height: 720px;
        align-items: flex-start;
        padding-top: 75px;
        padding-bottom: 40px;
    }

    .hero-product-background {
        position: absolute;
        inset: 0;
    }

    .hero-product-image {
        width: 100%;
        height: 48%;
        right: 0;
        top: auto;
        bottom: 0;
        object-fit: contain;
        object-position: center bottom;
        transform: scale(1);
        filter: brightness(0.80);
        transition: opacity 1s ease, transform 5s ease;
    }

        .hero-product-image.active {
            opacity: 1;
            transform: scale(1.06);
        }

    .hero-product-overlay {
        background: linear-gradient( 180deg, #0b0b0b 0%, #0b0b0b 38%, rgba(11, 11, 11, 0.72) 58%, rgba(11, 11, 11, 0.20) 78%, #0b0b0b 100% );
    }

    .hero-content {
        position: relative;
        z-index: 3;
        width: 100%;
    }

    .hero-rays {
        width: 260px;
        height: 260px;
        right: -100px;
        top: auto;
        bottom: 20px;
        opacity: 0.35;
    }

    .hero-product-name {
        min-height: auto;
    }
}
