@import url('https://fonts.googleapis.com/css2?family=Salaryman:wght@400;700&display=swap');

/* ── Salaryman en absolutamente todo — anula Bootstrap y herencia ── */
*, *::before, *::after,
html, body, button, input, select, textarea, label,
h1, h2, h3, h4, h5, h6, p, a, span, li, td, th {
    font-family: 'Salaryman', 'Josefin Sans', system-ui, sans-serif !important;
}

:root {
    --cream: #F5F1EB;
    --cream-dark: #EDE8DF;
    --ink: #1A1814;
    --ink-soft: #3D3A35;
    --gold: #C9A84C;
    --gold-light: #DFC070;
    --gold-hero: #C9A84C;
    --white: #FDFBF8;
    --mid: #8A8680;
    --font-display: 'Salaryman';
    --font-body: 'Salaryman';
    --nav-h: 72px;
    --max-w: 1320px;
    --gap: clamp(1.5rem, 4vw, 3rem);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding-top: var(--nav-h); 
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.cx-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    background: var(--ink); 
    color: rgba(253,251,248,0.6);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}


    .cx-nav.scrolled {
        background: rgba(18, 16, 13, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(201,168,76,0.15);
    }

.cx-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    transition: color 0.35s;
}

.cx-nav__icon {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.cx-nav.scrolled .cx-nav__icon {
    opacity: 0.9;
}

.cx-nav.scrolled .cx-nav__brand {
    color: var(--white);
}

.cx-nav.scrolled .cx-nav__links a {
    color: rgba(253,251,248,0.85);
}

.cx-nav__links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin-left: auto;
}

    .cx-nav__links a {
        font-family: var(--font-body);
        font-size: 0.78rem;
        font-weight: 400;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(253,251,248,0.85);
        transition: color 0.2s;
    }

        .cx-nav__links a:hover {
            color: var(--gold);
        }

.cx-nav__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: 2.5rem;
}

.cx-nav__btn-outline {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(253,251,248,0.6);
    color: var(--white);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.cx-nav.scrolled .cx-nav__btn-outline {
    border-color: rgba(253,251,248,0.5);
    color: var(--white);
}

.cx-nav__btn-outline:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.cx-hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.cx-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('/img/home.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 15%;
    z-index: 0;
}

    .cx-hero__bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(10,9,8,0.72) 0%, rgba(10,9,8,0.45) 50%, rgba(10,9,8,0.10) 100%), linear-gradient(to top, rgba(10,9,8,0.55) 0%, transparent 60%);
    }

.cx-hero__content {
    position: relative;
    z-index: 2;
}

.cx-hero__eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeUp 0.7s 0.2s both;
}

    .cx-hero__eyebrow::before {
        content: '';
        display: inline-block;
        width: 32px;
        height: 1px;
        background: var(--gold-light);
    }

.cx-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.7s 0.4s both;
}

.cx-hero__title--slogan {
    color: #C9A84C;
    font-weight: 400;          /* trazo fino, igual que el logo */
    letter-spacing: 0.05em;    /* espaciado aireado del logo */
}

/* Wordmark vectorizado del logo como h1 (idéntico a la marca) */
.cx-hero__title--logo { margin-bottom: 1.5rem; animation: fadeUp 0.7s 0.4s both; }
.cx-hero__wordmark {
    display: block;
    width: min(88vw, 1300px);
    max-width: 100%;
    height: auto;
}

.cx-hero__title em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
}

.cx-hero__sub {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: rgba(253,251,248,0.85);
    max-width: 520px;
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
    line-height: 1.5;
    animation: fadeUp 0.7s 0.6s both;
}

.cx-hero__sub--tagline {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(253,251,248,0.95);
    margin-bottom: 0.3rem;
}

.cx-hero__sub--desc {
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: rgba(253,251,248,0.65);
    margin-bottom: 2rem;
}

.cx-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.2s, gap 0.2s;
}

    .cx-btn-primary:hover {
        background: var(--gold-light);
        gap: 1.25rem;
    }

.cx-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(253,251,248,0.5);
    cursor: pointer;
    transition: all 0.2s;
}

    .cx-btn-ghost:hover {
        border-color: var(--white);
        background: rgba(253,251,248,0.08);
    }

.cx-hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.8s both;
}

.cx-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    right: clamp(1.5rem, 5vw, 4rem);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(253,251,248,0.5);
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.cx-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(253,251,248,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.15);
    }
}

.cx-values {
    background: var(--cream-dark);
    border-top: 1px solid rgba(26,24,20,.08);
    border-bottom: 1px solid rgba(26,24,20,.08);
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.cx-values__grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem 2rem;
}

.cx-value-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cx-value-item__num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}

.cx-value-item__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
}

.cx-value-item__desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.75;
}

.cx-collections {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
    background: var(--white);
}

.cx-section-header {
    max-width: var(--max-w);
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.cx-section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.cx-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--ink);
}

    .cx-section-title em {
        font-style: italic;
        color: var(--ink-soft);
    }

.cx-section-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: gap 0.2s, color 0.2s;
}

    .cx-section-link:hover {
        color: var(--gold);
        gap: 0.85rem;
    }

.cx-collections__grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.cx-col-card {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

    .cx-col-card:nth-child(1) {
        grid-column: 1 / 7;
        grid-row: 1 / 3;
    }

    .cx-col-card:nth-child(2) {
        grid-column: 7 / 10;
    }

    .cx-col-card:nth-child(3) {
        grid-column: 10 / 13;
    }

    .cx-col-card:nth-child(4) {
        grid-column: 7 / 10;
    }

    .cx-col-card:nth-child(5) {
        grid-column: 10 / 13;
    }

    /* Si la 4ª card queda sola en la fila inferior, que ocupe todo el ancho */
    .cx-col-card:nth-child(4):last-child {
        grid-column: 7 / 13;
    }

.cx-col-card__img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cx-col-card:hover .cx-col-card__img {
    transform: scale(1.04);
}

.cx-col-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cx-col-card:nth-child(1) .cx-col-card__placeholder,
.cx-col-card:nth-child(1) .cx-col-card__img {
    min-height: 520px;
}

/* La card grande muestra el producto completo (sin recorte), como en el detalle,
   sobre un fondo oscuro de marca para que el letterbox se vea intencional. */
.cx-col-card:nth-child(1) .cx-col-card__img {
    object-fit: contain;
    background: linear-gradient(145deg, #2C2720 0%, #4A3E30 60%, #1A1814 100%);
}

.cx-col-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,24,20,0.75) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: background 0.4s;
}

.cx-col-card:hover .cx-col-card__overlay {
    background: linear-gradient(to top, rgba(26,24,20,0.85) 0%, transparent 60%);
}

.cx-col-card__tag {
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.35rem;
}

.cx-col-card__name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
}

.cx-col-card:nth-child(1) .cx-col-card__name {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.cx-exam {
    background: var(--ink);
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

    .cx-exam::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(184,150,110,0.12) 0%, transparent 70%);
    }

.cx-exam__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
}

.cx-exam__eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .cx-exam__eyebrow::before {
        content: '';
        display: inline-block;
        width: 24px;
        height: 1px;
        background: var(--gold);
    }

.cx-exam__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1rem;
}

    .cx-exam__title em {
        font-style: italic;
        color: var(--gold-light);
    }

.cx-exam__desc {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(253,251,248,0.65);
    max-width: 480px;
    line-height: 1.85;
}

.cx-brands {
    background: var(--cream-dark);
    padding: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
    overflow: hidden;
}

.cx-brands__track {
    display: flex;
    gap: 4rem;
    animation: marquee 60s linear infinite;
    width: max-content;
}

    .cx-brands__track:hover {
        animation-play-state: paused;
    }

.cx-brand-item {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
    white-space: nowrap;
    transition: color 0.2s;
}

    .cx-brand-item:hover {
        color: var(--ink);
    }

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.cx-testimonials {
    background: var(--white);
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.cx-testimonials__grid {
    max-width: var(--max-w);
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cx-testimonial {
    padding: 2rem;
    border: 1px solid rgba(26,24,20,0.08);
    position: relative;
}

    .cx-testimonial::before {
        content: '\201C';
        font-family: var(--font-display);
        font-size: 4rem;
        line-height: 1;
        color: var(--gold);
        position: absolute;
        top: 1rem;
        left: 2rem;
        opacity: 0.4;
    }

.cx-testimonial__text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    margin-top: 1.25rem;
}

.cx-testimonial__author {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
}

.cx-testimonial__stars {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.cx-footer {
    background: var(--ink);
    color: rgba(253,251,248,0.6);
    border-top: 1px solid rgba(201,168,76,0.25);
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem) 1.5rem;
}

.cx-footer__grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.cx-footer__brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}

.cx-footer__tagline {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 260px;
}

.cx-footer__col-title {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.cx-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

    .cx-footer__links a {
        font-size: 0.82rem;
        font-weight: 300;
        color: rgba(253,251,248,0.55);
        transition: color 0.2s;
    }

        .cx-footer__links a:hover {
            color: var(--gold-light);
        }

.cx-footer__contact-desc {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(253,251,248,0.4);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 220px;
}

.cx-footer__contact-links {
    gap: 0.75rem;
}

.cx-footer__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}

.cx-footer__contact-item svg {
    flex-shrink: 0;
    color: var(--gold);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.cx-footer__contact-item:hover svg {
    opacity: 1;
}

.cx-footer__bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(253,251,248,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 300;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cx-nav__links {
        display: none;
    }

    .cx-nav__actions {
        margin-left: auto;
    }

    .cx-collections__grid {
        grid-template-columns: 1fr 1fr;
    }

    .cx-col-card:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .cx-col-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .cx-exam__inner {
        grid-template-columns: 1fr;
    }

    .cx-footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .cx-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .cx-collections__grid {
        grid-template-columns: 1fr;
    }
}

.container {
    max-width: var(--max-w);
}

body > .container {
    display: none;
}

/* AUTH PAGES */
.cx-auth-page + * {
    display: none;
}

.cx-auth-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.cx-auth-panel {
    background: linear-gradient(145deg, #1A1814 0%, #2C2720 50%, #1A1814 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .cx-auth-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(184,150,110,0.05) 79px, rgba(184,150,110,0.05) 80px), repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(184,150,110,0.05) 79px, rgba(184,150,110,0.05) 80px);
    }

.cx-auth-panel__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem;
}

.cx-auth-panel__brand {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 2rem;
}

.cx-auth-panel__quote {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.2;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.cx-auth-panel__sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(253,251,248,0.4);
}

.cx-auth-form {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 3rem) 2rem 4rem;
}

.cx-auth-form__inner {
    width: 100%;
    max-width: 400px;
}

.cx-auth-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 2.5rem;
}

.cx-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.cx-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cx-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.cx-input {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid transparent;
    border-bottom-color: rgba(26,24,20,0.15);
    padding: 0.75rem 0.9rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
}

    .cx-input::placeholder {
        color: var(--mid);
    }

    .cx-input:focus {
        background: var(--white);
        border-color: var(--gold);
    }

.cx-field-error {
    font-size: 0.72rem;
    color: #C0392B;
}

.cx-form-errors {
    background: #FEF2F2;
    border-left: 3px solid #C0392B;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: #C0392B;
    margin-bottom: 1.5rem;
    display: none;
}

    .cx-form-errors:not(:empty) {
        display: block;
    }

.cx-field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    margin-top: 0.5rem;
}

.cx-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--ink-soft);
    cursor: pointer;
}

    .cx-check input[type="checkbox"] {
        width: 14px;
        height: 14px;
        accent-color: var(--gold);
    }

.cx-link-subtle {
    font-size: 0.78rem;
    color: var(--mid);
    transition: color 0.2s;
}

    .cx-link-subtle:hover {
        color: var(--gold);
    }

.cx-link-gold {
    color: var(--gold);
    font-weight: 400;
    transition: color 0.2s;
}

    .cx-link-gold:hover {
        color: var(--ink);
    }

.cx-btn-full {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    margin-top: 0.5rem;
}

.cx-auth-switch {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--mid);
    margin-top: 1.75rem;
}

@media (max-width: 768px) {
    .cx-auth-page {
        grid-template-columns: 1fr;
    }

    .cx-auth-panel {
        display: none;
    }

    .cx-auth-form {
        padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem;
    }

    .cx-fields-row {
        grid-template-columns: 1fr;
    }
}

.text-center img {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

.text-muted.small {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.cx-illustration-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 🔥 ahora 6 columnas */
    gap: 1rem; /* espacio entre recuadros */
    justify-items: center; /* centra cada card en su celda */
}

.cx-illustration-card {
    aspect-ratio: 1 / 1;
    width: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important; /* fuerza quitar borde */
    background: transparent !important; /* fuerza quitar fondo */
    box-shadow: none !important; /* elimina sombra por defecto */
}

    .cx-illustration-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

.cx-illustration-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border: none !important; /* elimina borde de la img */
    background: transparent !important;
}

#lightboxModal .modal-dialog {
    max-width: 75vw; /* ancho máximo */
    margin: auto;
}

#lightboxModal .modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important; /* sin fondo */
    border: none !important; /* sin borde */
    box-shadow: none !important; /* sin sombra */
    padding: 0 !important;
}

#lightboxModal .modal-backdrop {
    background-color: rgba(0,0,0,0.8) !important; /* fondo oscuro detrás */
}

#lightboxImg {
    max-width: 100%;
    max-height: 75vh; /* ocupa solo 75% de la altura */
    object-fit: contain;
    display: block;
    margin: auto;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cx-col-card__overlay p {
    margin: 0.25rem 0;
}

.cx-col-card__overlay .fw-bold {
    font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════
   CATÁLOGO / COLECCIONES — Sección completa
   ══════════════════════════════════════════════════════════ */

/* Hero de sección */
.cx-catalog-hero {
    background: var(--ink);
    padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 5vw, 4rem) 4rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.cx-catalog-hero__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.cx-catalog-hero__title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1rem;
}

.cx-catalog-hero__title em {
    font-style: italic;
    color: var(--gold-light);
    font-weight: 300;
}

.cx-catalog-hero__sub {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: rgba(253,251,248,0.55);
    margin-top: 0.5rem;
}

/* ── Toolbar: filtros + búsqueda ── */
.cx-catalog-toolbar {
    background: var(--cream-dark);
    border-bottom: 1px solid rgba(26,24,20,0.1);
    position: sticky;
    top: var(--nav-h);
    z-index: 50;
}

.cx-catalog-toolbar__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0.85rem clamp(1.5rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cx-filter-chips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cx-filter-chip {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border: 1px solid rgba(26,24,20,0.2);
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.cx-filter-chip:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
    text-decoration: none;
}

.cx-filter-chip--active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.cx-filter-chip--active:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.cx-catalog-toolbar__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cx-search-form {
    display: flex;
    align-items: center;
    border: 1px solid rgba(26,24,20,0.25);
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
}

.cx-search-input {
    border: none;
    outline: none;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: var(--ink);
    background: transparent;
    width: 220px;
}

.cx-search-input::placeholder {
    color: var(--mid);
}

.cx-search-btn {
    border: none;
    background: transparent;
    padding: 0.45rem 0.75rem;
    color: var(--mid);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

/* Selects de filtros avanzados (material / forma) */
.cx-filter-selects {
    display: flex;
    gap: 0.5rem;
}
.cx-filter-select {
    padding: 0.45rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    background: transparent;
    border: 1px solid rgba(26,24,20,0.2);
    border-radius: 100px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, color 0.2s;
}
.cx-filter-select:hover { border-color: var(--gold); color: var(--ink); }

.cx-search-btn:hover {
    color: var(--gold);
}

.cx-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--white);
    border: 1px solid var(--ink);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.cx-btn-add:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    text-decoration: none;
}

/* ── Grid de productos ── */
.cx-catalog {
    background: var(--cream);
    padding: 3rem 0 5rem;
}

.cx-catalog__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.cx-catalog__count {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--mid);
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cx-clear-filters {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201,168,76,0.4);
    transition: border-color 0.2s;
}

.cx-clear-filters:hover {
    border-color: var(--gold);
    text-decoration: none;
}

/* Empty state */
.cx-catalog-empty {
    text-align: center;
    padding: 6rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.cx-catalog-empty__title {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: 0.04em;
}

.cx-catalog-empty__sub {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--mid);
    max-width: 320px;
    line-height: 1.6;
}

/* Product card grid */
.cx-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cx-product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(26,24,20,0.07);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
}

.cx-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26,24,20,0.12);
    text-decoration: none;
}

.cx-product-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cream-dark);
}

.cx-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cx-product-card:hover .cx-product-card__img {
    transform: scale(1.05);
}

.cx-product-card__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2C2720 0%, #4A3E30 100%);
}

.cx-product-card__hover-cta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(201,168,76,0.92);
    color: var(--white);
    text-align: center;
    padding: 0.6rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.cx-product-card:hover .cx-product-card__hover-cta {
    transform: translateY(0);
}

.cx-product-card__info {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.cx-product-card__tag {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.cx-product-card__name {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.35;
}

.cx-product-card__price {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Pill de edición (solo admin) — discreto, esquina superior, aparece al hover */
.cx-admin-edit {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.65rem;
    background: rgba(26,24,20,0.82);
    color: #fff;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
}
.cx-product-card:hover .cx-admin-edit { opacity: 1; }
.cx-admin-edit:hover { background: var(--gold); }

/* ══ SECCIÓN ILUSTRACIONES ══ */
.cx-ilust-section {
    background: var(--ink);
    padding: 4rem 0 5rem;
}

.cx-ilust-header {
    max-width: var(--max-w);
    margin: 0 auto 3rem;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.cx-ilust-header .cx-section-title {
    color: var(--white);
}

.cx-ilust-header .cx-section-eyebrow {
    color: var(--gold);
}

.cx-ilust-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.cx-ilust-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    background: var(--ink-soft);
}

.cx-ilust-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cx-ilust-card:hover .cx-ilust-img {
    transform: scale(1.08);
}

.cx-ilust-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,24,20,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cx-ilust-card:hover .cx-ilust-card__overlay {
    opacity: 1;
}

/* ══ LIGHTBOX ══ */
.cx-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10,9,8,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.cx-lightbox--open {
    opacity: 1;
    pointer-events: all;
}

.cx-lightbox__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 80vw;
    max-height: 85vh;
}

.cx-lightbox__stage img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.cx-lightbox__counter {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}

.cx-lightbox__close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 9001;
}

.cx-lightbox__close:hover {
    background: rgba(255,255,255,0.18);
}

.cx-lightbox__nav {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.cx-lightbox__nav:hover {
    background: rgba(201,168,76,0.25);
    border-color: rgba(201,168,76,0.4);
}

/* ══ RESPONSIVO ══ */
@media (max-width: 1024px) {
    .cx-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cx-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cx-catalog-toolbar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cx-filter-chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    .cx-filter-chips::-webkit-scrollbar { display: none; }

    .cx-catalog-toolbar__right {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .cx-search-form {
        flex: 1;
        min-width: 0;
    }

    .cx-search-input {
        width: 100%;
        min-width: 0;
    }

    .cx-catalog-toolbar__right {
        flex-wrap: wrap;
        width: 100%;
    }

    .cx-search-form { width: 100%; }

    .cx-catalog-toolbar__right .cx-btn-add,
    .cx-catalog-toolbar__right .cx-btn-outline-sm {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .cx-ilust-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .cx-lightbox__stage {
        max-width: 92vw;
    }
}

@media (max-width: 480px) {
    .cx-product-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════
   PANEL ADMIN — Tabla, secciones, acciones
   ══════════════════════════════════════════════════════════ */

.cx-admin-page {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: calc(var(--nav-h) + 2.5rem) clamp(1.5rem, 5vw, 4rem) 5rem;
}

.cx-admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cx-admin-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.1;
    margin-top: 0.4rem;
}

.cx-admin-section {
    margin-bottom: 4rem;
}

.cx-admin-section-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-bottom: 1px solid rgba(26,24,20,0.12);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.cx-alert-ok {
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.35);
    color: var(--ink);
    padding: 0.75rem 1.25rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    border-radius: 2px;
    margin-bottom: 2rem;
}

.cx-admin-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(26,24,20,0.1);
    border-radius: 2px;
}

.cx-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.cx-admin-table thead tr {
    background: var(--ink);
    color: var(--white);
}

.cx-admin-table th {
    padding: 0.75rem 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.68rem;
    text-align: left;
    white-space: nowrap;
}

.cx-admin-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(26,24,20,0.07);
    vertical-align: middle;
}

.cx-admin-table tbody tr:last-child td {
    border-bottom: none;
}

.cx-admin-table tbody tr:hover td {
    background: rgba(201,168,76,0.05);
}

.cx-row-inactive td {
    opacity: 0.45;
}

/* ── Editor de Colecciones del Home ── */
.cx-col-editor {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cx-col-editor__head {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0 0.2rem 0.3rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.cx-col-row {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.55rem 0.6rem;
    border: 1px solid var(--cream-dark, #e7e0d4);
    border-radius: 4px;
    background: var(--white);
}

.cx-col-row--off {
    opacity: 0.55;
}

.cx-col-row--new {
    border-style: dashed;
    background: rgba(201,168,76,0.04);
}

.cx-col-inp {
    min-width: 0;
    padding: 0.4rem 0.55rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    border: 1px solid var(--cream-dark, #e7e0d4);
    border-radius: 3px;
    background: #fff;
    color: var(--ink);
}

.cx-col-inp:focus {
    outline: none;
    border-color: var(--gold);
}

/* ── Buscador y paginador del panel admin ── */
.cx-admin-search {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 1.25rem;
}

.cx-admin-search .cx-col-inp {
    flex: 1 1 320px;
    max-width: 480px;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
}

.cx-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.cx-pager__btn {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--ink);
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--cream-dark, #e7e0d4);
    border-radius: 3px;
    transition: border-color 0.2s, color 0.2s;
}

.cx-pager__btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cx-pager__btn--off {
    opacity: 0.4;
    pointer-events: none;
}

.cx-pager__info {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.cx-admin-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.cx-admin-thumb--empty {
    background: var(--cream-dark);
}

.cx-td-name {
    font-weight: 500;
    max-width: 200px;
}

.cx-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--cream-dark);
    color: var(--ink-soft);
    border-radius: 100px;
}

.cx-status {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    font-weight: 500;
}

.cx-status--ok      { background: rgba(76,170,76,0.12);  color: #2d7a2d; }
.cx-status--off     { background: rgba(26,24,20,0.08);   color: var(--mid); }
.cx-status--pending { background: rgba(201,168,76,0.15); color: #8a6e1a; }

.cx-row-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cx-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(26,24,20,0.05);
    border-radius: 4px;
    color: var(--mid);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.82rem;
    transition: background 0.2s, color 0.2s;
}

.cx-action-link:hover        { background: var(--cream-dark); color: var(--ink); }
.cx-action-link--edit:hover  { background: rgba(201,168,76,0.15); color: var(--gold); }
.cx-action-link--del:hover   { background: rgba(200,50,50,0.1); color: #c83232; }

.cx-btn-outline-sm {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.1rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    border: 1px solid rgba(26,24,20,0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.cx-btn-outline-sm:hover {
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
}

/* Ilustraciones en admin */
.cx-upload-form {
    margin-bottom: 1.5rem;
}

.cx-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px dashed rgba(26,24,20,0.3);
    border-radius: 4px;
    cursor: pointer;
    color: var(--ink-soft);
    transition: border-color 0.2s, color 0.2s;
}

.cx-upload-label:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cx-ilust-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
}

.cx-ilust-admin-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.cx-ilust-admin-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cx-ilust-admin-card:hover .cx-ilust-admin-img {
    transform: scale(1.06);
}

.cx-ilust-del-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(200,50,50,0.85);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.cx-ilust-admin-card:hover .cx-ilust-del-btn {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════
   FORMULARIOS — Crear / Editar
   ══════════════════════════════════════════════════════════ */

.cx-form-page {
    min-height: 100vh;
    background: var(--cream);
    padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 5vw, 4rem) 5rem;
    display: flex;
    justify-content: center;
}

.cx-form-card {
    background: var(--white);
    border: 1px solid rgba(26,24,20,0.1);
    border-radius: 2px;
    padding: 2.5rem 3rem;
    width: 100%;
    max-width: 680px;
    align-self: flex-start;
}

.cx-form-card__header {
    margin-bottom: 2rem;
}

.cx-form-card__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--ink);
    margin-top: 0.5rem;
}

.cx-back-link {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    text-decoration: none;
    transition: color 0.2s;
}

.cx-back-link:hover {
    color: var(--gold);
    text-decoration: none;
}

.cx-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cx-form-errors {
    background: rgba(200,50,50,0.06);
    border: 1px solid rgba(200,50,50,0.25);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: #c83232;
    border-radius: 2px;
}

.cx-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cx-field-error {
    font-size: 0.72rem;
    color: #c83232;
}

.cx-file-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px dashed rgba(26,24,20,0.3);
    border-radius: 4px;
    cursor: pointer;
    color: var(--ink-soft);
    transition: border-color 0.2s, color 0.2s;
    width: fit-content;
}

.cx-file-upload:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cx-file-upload input[type="file"] {
    display: none;
}

.cx-img-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cx-img-preview img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(26,24,20,0.1);
}

.cx-img-preview span {
    font-size: 0.75rem;
    color: var(--mid);
}

.cx-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
}

.cx-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(26,24,20,0.1);
}

.cx-btn-ghost-sm {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.1rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid);
    border: 1px solid rgba(26,24,20,0.2);
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
    background: transparent;
    cursor: pointer;
}

.cx-btn-ghost-sm:hover {
    color: var(--ink);
    border-color: var(--ink);
    text-decoration: none;
}

.cx-btn-ghost-sm--danger {
    color: #c83232;
    border-color: rgba(200,50,50,0.3);
}

.cx-btn-ghost-sm--danger:hover {
    background: rgba(200,50,50,0.06);
    border-color: #c83232;
    color: #c83232;
}

/* ══════════════════════════════════════════════════════════
   DETALLE DE PRODUCTO
   ══════════════════════════════════════════════════════════ */

.cx-detalle-page {
    min-height: 100vh;
    background: var(--cream);
    padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 5vw, 4rem) 5rem;
}

.cx-detalle-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.cx-detalle-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

/* Miniaturas de galería en el detalle */
.cx-detalle-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}
.cx-detalle-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 1px solid rgba(26,24,20,0.15);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    background: var(--cream-dark);
    transition: border-color 0.2s;
}
.cx-detalle-thumb:hover { border-color: var(--gold); }
.cx-detalle-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Galería en el panel admin (editar) */
.cx-gallery-admin { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(26,24,20,0.1); }
.cx-gallery-admin__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.cx-gallery-admin__item { position: relative; aspect-ratio: 1; border-radius: 2px; overflow: hidden; border: 1px solid rgba(26,24,20,0.1); }
.cx-gallery-admin__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-gallery-admin__del {
    position: absolute;
    top: 4px; right: 4px;
    width: 24px; height: 24px;
    border: none; border-radius: 50%;
    background: rgba(26,24,20,0.75); color: #fff;
    font-size: 1rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.cx-gallery-admin__del:hover { background: #b03636; }

.cx-detalle-img--placeholder {
    background: linear-gradient(145deg, #2C2720 0%, #4A3E30 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cx-detalle-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.cx-detalle-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.cx-detalle-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cx-detalle-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .cx-detalle-inner {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════
   RESERVA — Formulario y cards
   ══════════════════════════════════════════════════════════ */

.cx-reserva-producto-preview {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--cream);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.cx-reserva-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.cx-reserva-prod-name {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--ink);
}

.cx-reserva-aviso {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.6;
    padding: 0.75rem 1rem;
    border-left: 2px solid var(--gold);
    background: rgba(201,168,76,0.06);
}

.cx-reserva-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 1.25rem;
    background: var(--white);
    border: 1px solid rgba(26,24,20,0.1);
    border-radius: 2px;
}

.cx-reserva-card__img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.cx-reserva-card__body {
    flex: 1;
}

/* ══════════════════════════════════════════════════════════
   NOSOTROS
   ══════════════════════════════════════════════════════════ */

.cx-nosotros-hero {
    background: var(--ink);
    padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 5vw, 4rem) 4rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.cx-nosotros-hero__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.cx-nosotros-hero__title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-top: 0.75rem;
}

.cx-nosotros-hero__title em {
    font-style: italic;
    color: var(--gold-light);
}

/* Main: imagen + texto */
.cx-nosotros-main {
    background: var(--cream);
    padding: 5rem 0;
}

.cx-nosotros-main__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.cx-nosotros-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.cx-nosotros-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 1.75rem;
}

.cx-nosotros-title em {
    font-style: italic;
    color: var(--gold);
}

.cx-nosotros-p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.cx-nosotros-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26,24,20,0.1);
}

.cx-nosotros-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cx-nosotros-stat__num {
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}

.cx-nosotros-stat__label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
}

/* Valores */
.cx-nosotros-valores {
    background: #24201A;
    padding: 5rem 0;
}

.cx-nosotros-valores__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.cx-nosotros-valor__num {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.cx-nosotros-valor__title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cx-nosotros-valor__desc {
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(253,251,248,0.5);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .cx-nosotros-main__inner {
        grid-template-columns: 1fr;
    }
    .cx-nosotros-img {
        aspect-ratio: 16 / 9;
    }
    .cx-nosotros-valores__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cx-nosotros-valores__inner {
        grid-template-columns: 1fr;
    }
    .cx-nosotros-stats {
        gap: 1.5rem;
    }
}

.cx-form-divider {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid);
    border-top: 1px solid rgba(26,24,20,0.1);
    padding-top: 1rem;
    margin-top: 0.25rem;
}

.cx-form-divider span {
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: none;
}

/* ══════════════════════════════════════════
   MODAL RESERVAR TURNO
   ══════════════════════════════════════════ */
.cx-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.cx-modal--open {
    display: flex;
}
.cx-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,9,8,.72);
    backdrop-filter: blur(4px);
}
.cx-modal__panel {
    position: relative;
    z-index: 1;
    background: var(--ink);
    border: 1px solid rgba(184,150,110,.18);
    width: min(540px, 94vw);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.8rem 2.4rem 2.4rem;
    border-radius: 2px;
    box-shadow: 0 32px 80px rgba(0,0,0,.55);
}
.cx-modal__close {
    position: absolute;
    top: 1rem; right: 1.2rem;
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color .2s;
}
.cx-modal__close:hover { color: var(--gold); }

.cx-modal__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--cream);
    line-height: 1.2;
    margin: .5rem 0 1.6rem;
}
.cx-modal__title em {
    color: var(--gold);
    font-style: italic;
}

/* Steps */
.cx-modal__step { display: none; }
.cx-modal__step--active { display: block; }
.cx-modal__step--success {
    display: none;
    text-align: center;
    padding: 1rem 0;
}
.cx-modal__step--success.cx-modal__step--active { display: flex; flex-direction: column; align-items: center; }

/* Type cards */
.cx-turno-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: .5rem;
}
.cx-turno-type-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(184,150,110,.2);
    border-radius: 2px;
    padding: 1.4rem 1.2rem;
    cursor: pointer;
    text-align: left;
    color: var(--cream);
    transition: border-color .2s, background .2s;
}
.cx-turno-type-card:hover {
    border-color: var(--gold);
    background: rgba(184,150,110,.06);
}
.cx-turno-type-card svg { color: var(--gold); flex-shrink: 0; }
.cx-turno-type-card strong { font-size: .95rem; letter-spacing: .04em; }
.cx-turno-type-card span { font-size: .75rem; opacity: .55; line-height: 1.4; }

/* Nav */
.cx-modal__nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.6rem;
    gap: .8rem;
}

/* Slots grid */
.cx-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: .5rem;
    margin-top: .6rem;
}
.cx-slots-hint {
    grid-column: 1/-1;
    font-size: .8rem;
    opacity: .45;
}
.cx-slot {
    padding: .5rem .4rem;
    font-size: .78rem;
    letter-spacing: .04em;
    text-align: center;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(184,150,110,.25);
    color: var(--cream);
    border-radius: 2px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.cx-slot:hover:not(:disabled) {
    border-color: var(--gold);
    background: rgba(184,150,110,.1);
}
.cx-slot--ocupado {
    opacity: .28;
    cursor: not-allowed;
    text-decoration: line-through;
}
.cx-slot--selected {
    border-color: var(--gold) !important;
    background: var(--gold) !important;
    color: var(--ink) !important;
}

/* Error */
.cx-turno-error {
    background: rgba(200,60,60,.12);
    border: 1px solid rgba(200,60,60,.3);
    color: #e88;
    font-size: .8rem;
    padding: .7rem 1rem;
    border-radius: 2px;
    margin-top: .9rem;
}

@media (max-width: 480px) {
    .cx-modal__panel { padding: 2rem 1.2rem 1.6rem; }
    .cx-turno-type-grid { grid-template-columns: 1fr; }
}

/* Labels y subtítulos dentro del modal (fondo oscuro) */
.cx-modal__panel .cx-label,
.cx-modal__panel .cx-section-eyebrow {
    color: rgba(255,255,255,.55);
}
.cx-modal__panel .cx-slots-hint {
    color: rgba(255,255,255,.4);
}

/* ══════════════════════════════════════════
   SECCIÓN MARCAS
   ══════════════════════════════════════════ */
.cx-marcas-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}
.cx-marcas-intro {
    max-width: 520px;
    margin-bottom: 1.5rem;
}
.cx-marcas-search {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.cx-marcas-search .cx-search-form { max-width: 340px; width: 100%; }
.cx-marcas-search .cx-search-input { width: 100%; }
.cx-marcas-intro p {
    font-size: .9rem;
    color: var(--mid);
    line-height: 1.7;
}
.cx-marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}
.cx-marca-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(26,24,20,.1);
    text-decoration: none;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
}
.cx-marca-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 24px rgba(184,150,110,.12);
}
.cx-marca-card__logo {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--cream);
}
.cx-marca-card__logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}
.cx-marca-card__name-fallback {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: .06em;
    color: var(--ink);
    text-align: center;
}
.cx-marca-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.1rem;
    border-top: 1px solid rgba(26,24,20,.07);
}
.cx-marca-card__title {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cx-marca-card__footer svg {
    color: var(--gold);
    flex-shrink: 0;
}
.cx-marcas-empty {
    opacity: .45;
    font-size: .9rem;
    margin-top: 2rem;
}

/* Detalle de marca — hero */
.cx-marca-hero {
    background: var(--ink);
    padding: 5rem 2rem 4rem;
}
.cx-marca-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.cx-marca-hero__back {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color .2s;
}
.cx-marca-hero__back:hover { color: var(--gold); }
.cx-marca-hero__logo {
    max-height: 100px;
    max-width: 300px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1.5rem;
    background: var(--white);
    padding: .8rem 1.6rem;
    border-radius: 2px;
}
.cx-marca-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    color: var(--cream);
    margin: 0 0 1rem;
}
.cx-marca-hero__desc {
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .cx-marcas-grid { grid-template-columns: 1fr 1fr; }
}

.cx-wa-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    transition: transform .2s, box-shadow .2s;
}
.cx-wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0,0,0,.3);
}

.cx-admin-quick-links {
    border-top: 1px solid rgba(26,24,20,.1);
    padding-top: 1.2rem;
    margin-top: 1.2rem;
    margin-bottom: .4rem;
}

/* ══════════════════════════════════════════════════════════
   ÓPTICA CLÍNICA
   ══════════════════════════════════════════════════════════ */

/* Hero */
.cx-oc-hero {
    position: relative;
    height: 80vh;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.cx-oc-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
}
.cx-oc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,9,8,.78) 0%, rgba(10,9,8,.4) 60%, rgba(10,9,8,.15) 100%),
                linear-gradient(to top, rgba(10,9,8,.6) 0%, transparent 55%);
}
.cx-oc-hero__content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(1.5rem,5vw,4rem) 4rem;
    max-width: 680px;
}
.cx-oc-hero__title {
    font-size: clamp(3rem,7vw,5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin: 1rem 0;
}
.cx-oc-hero__title em { font-style: italic; color: var(--gold-light); }
.cx-oc-hero__sub {
    font-size: .95rem;
    font-weight: 300;
    color: rgba(253,251,248,.75);
    max-width: 480px;
    line-height: 1.7;
}

/* Por qué elegirnos */
.cx-oc-why {
    background: var(--cream);
    padding: clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,4rem);
}
.cx-oc-why__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem,6vw,6rem);
    align-items: center;
}
.cx-oc-why__desc {
    font-size: .9rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.8;
    margin: 1.25rem 0 2rem;
}
.cx-oc-pillars {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}
.cx-oc-pillar {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-size: .85rem;
    font-weight: 400;
    color: var(--ink-soft);
}
.cx-oc-pillar svg { color: var(--gold); flex-shrink: 0; }
.cx-oc-why__img-wrap { border-radius: 2px; overflow: hidden; }
.cx-oc-why__img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

/* Servicios */
.cx-oc-services {
    background: var(--white);
    padding: clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,4rem);
}
.cx-oc-services__inner { max-width: var(--max-w); margin: 0 auto; }
.cx-oc-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.cx-oc-service-card {
    background: var(--cream);
    border: 1px solid rgba(26,24,20,.08);
    border-radius: 2px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: box-shadow .25s;
}
.cx-oc-service-card:hover { box-shadow: 0 8px 32px rgba(26,24,20,.1); }
.cx-oc-service-card__icon { color: var(--gold); }
.cx-oc-service-card__title { font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.cx-oc-service-card__desc { font-size: .85rem; font-weight: 300; color: var(--ink-soft); line-height: 1.75; flex: 1; }
.cx-oc-service-card__duration {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    letter-spacing: .06em;
    color: var(--mid);
    text-transform: uppercase;
}
.cx-oc-service-card__duration svg { color: var(--gold); flex-shrink: 0; }
.cx-oc-service-card__cta { margin-top: .5rem; font-size: .75rem; padding: .7rem 1.4rem; align-self: flex-start; }
.cx-oc-service-card__soon {
    display: inline-block;
    margin-top: .5rem;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mid);
    border: 1px solid rgba(26,24,20,.15);
    padding: .3rem .8rem;
    border-radius: 100px;
    align-self: flex-start;
}

/* Galería */
.cx-oc-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: clamp(300px, 40vw, 520px);
    gap: 4px;
}
.cx-oc-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Sucursal */
.cx-oc-sucursal {
    background: var(--cream);
    padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
    text-align: center;
}
.cx-oc-sucursal__inner {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cx-oc-sucursal__icon { color: var(--gold); margin-bottom: 1.25rem; }
.cx-oc-sucursal__title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 300;
    color: var(--ink);
    margin: .6rem 0 .75rem;
}
.cx-oc-sucursal__sub {
    font-size: .92rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 420px;
}
.cx-oc-sucursal__map {
    width: 100%;
    max-width: 760px;
    margin-top: 2.25rem;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(26,24,20,.12);
}
.cx-oc-sucursal__map iframe { display: block; filter: grayscale(.2) contrast(1.05); }

/* Anclas: compensar navbar fijo */
#servicios, #sucursales { scroll-margin-top: 90px; }

/* CTA final */
.cx-oc-cta {
    background: var(--ink);
    padding: clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cx-oc-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(184,150,110,.1) 0%, transparent 70%);
}
.cx-oc-cta__inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cx-oc-cta__title {
    font-size: clamp(2rem,5vw,3.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin: .75rem 0;
}
.cx-oc-cta__title em { font-style: italic; color: var(--gold-light); }
.cx-oc-cta__sub { font-size: .85rem; color: rgba(253,251,248,.5); letter-spacing: .06em; }

/* Responsive */
@media (max-width: 900px) {
    .cx-oc-why__inner { grid-template-columns: 1fr; }
    .cx-oc-why__img { aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
    .cx-oc-services__grid { grid-template-columns: 1fr; }
    .cx-oc-gallery { grid-template-columns: 1fr; height: auto; }
    .cx-oc-gallery img { height: 220px; }
}

/* ══════════════════════════════════════════════════════════
   PÁGINAS LEGALES (Privacidad, etc.)
   ══════════════════════════════════════════════════════════ */

.cx-legal-hero {
    background: var(--ink);
    padding: clamp(4rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}
.cx-legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 70% at 80% 20%, rgba(184,150,110,.12) 0%, transparent 70%);
}
.cx-legal-hero__inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; }
.cx-legal-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin: 1rem 0 .75rem;
}
.cx-legal-hero__title em { font-style: italic; color: var(--gold-light); }
.cx-legal-hero__sub { font-size: .8rem; letter-spacing: .08em; color: rgba(253,251,248,.55); text-transform: uppercase; }

.cx-legal {
    background: var(--white);
    padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
}
.cx-legal__inner { max-width: 820px; margin: 0 auto; }
.cx-legal__intro {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--ink-soft);
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(26,24,20,.1);
}
.cx-legal__section { margin-bottom: 2.75rem; }
.cx-legal__h {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 1rem;
}
.cx-legal__h span {
    font-size: .9rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: .05em;
}
.cx-legal p {
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--ink-soft);
    margin-bottom: 1rem;
}
.cx-legal a { color: var(--gold-dark, #9a7b4f); text-decoration: underline; text-underline-offset: 2px; }
.cx-legal a:hover { color: var(--gold); }
.cx-legal strong { color: var(--ink); font-weight: 500; }
.cx-legal__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.cx-legal__list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: .65rem;
}
.cx-legal__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .65em;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.cx-legal__note {
    background: var(--cream);
    border-left: 3px solid var(--gold);
    padding: 1.25rem 1.5rem;
    border-radius: 2px;
    font-size: .85rem !important;
}
.cx-legal__contact {
    background: var(--cream);
    border: 1px solid rgba(26,24,20,.08);
    border-radius: 2px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3.5rem;
}
.cx-legal__contact .cx-legal__h { justify-content: center; }

/* ══════════════════════════════════════════════════════════
   BLOG / GUÍA DE ESTILO
   ══════════════════════════════════════════════════════════ */

.cx-blog-hero {
    background: var(--ink);
    padding: clamp(4rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}
.cx-blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 70% at 20% 20%, rgba(184,150,110,.12) 0%, transparent 70%);
}
.cx-blog-hero__inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; }
.cx-blog-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin: 1rem 0 .75rem;
}
.cx-blog-hero__title em { font-style: italic; color: var(--gold-light); }
.cx-blog-hero__sub { font-size: .95rem; font-weight: 300; color: rgba(253,251,248,.7); max-width: 520px; line-height: 1.7; }

.cx-blog-list { background: var(--white); padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
.cx-blog-list__inner { max-width: var(--max-w); margin: 0 auto; }
.cx-blog-empty { text-align: center; color: var(--ink-soft); font-weight: 300; padding: 3rem 0; }

.cx-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.cx-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border: 1px solid rgba(26,24,20,.08);
    border-radius: 2px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow .25s, transform .25s;
}
.cx-blog-card:hover { box-shadow: 0 12px 36px rgba(26,24,20,.12); transform: translateY(-3px); }
.cx-blog-card__img { aspect-ratio: 3/2; overflow: hidden; background: var(--ink); }
.cx-blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-blog-card__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); letter-spacing: .3em; font-size: .85rem; font-weight: 300;
    background: linear-gradient(135deg, #1a1816, #2a2620);
}
.cx-blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.cx-blog-card__date { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); }
.cx-blog-card__title { font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.cx-blog-card__excerpt { font-size: .85rem; font-weight: 300; color: var(--ink-soft); line-height: 1.65; flex: 1; }
.cx-blog-card__more { font-size: .78rem; color: var(--gold-dark, #9a7b4f); letter-spacing: .04em; margin-top: .4rem; }

/* Artículo */
.cx-article { background: var(--white); padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem,4vw,3rem); }
.cx-article__head, .cx-article__body, .cx-article__cover, .cx-article__cta { max-width: 760px; margin-left: auto; margin-right: auto; }
.cx-article__date { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); margin: 1rem 0 .5rem; }
.cx-article__title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 300; color: var(--ink); line-height: 1.15; }
.cx-article__lead { font-size: 1.05rem; font-weight: 300; color: var(--ink-soft); line-height: 1.7; margin-top: 1rem; }
.cx-article__cover { margin: 2.5rem auto; border-radius: 2px; overflow: hidden; }
.cx-article__cover img { width: 100%; display: block; }
.cx-article__body p { font-size: .98rem; font-weight: 300; color: var(--ink-soft); line-height: 1.9; margin-bottom: 1.4rem; }
.cx-article__cta {
    text-align: center;
    background: var(--cream);
    border: 1px solid rgba(26,24,20,.08);
    border-radius: 2px;
    padding: 2.5rem;
    margin-top: 3rem;
}
.cx-article__cta h3 { font-size: 1.3rem; font-weight: 500; color: var(--ink); margin-bottom: .5rem; }
.cx-article__cta p { font-size: .9rem; font-weight: 300; color: var(--ink-soft); }

@media (max-width: 900px) { .cx-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cx-blog-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════
   HAMBURGER & MOBILE NAV
   ══════════════════════════════════════════════════════════ */

.cx-nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
}
.cx-nav__burger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
}
.cx-nav__burger--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.cx-nav__burger--open span:nth-child(2) { opacity: 0; }
.cx-nav__burger--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay */
.cx-mobile-nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 149;
    background: rgba(10,9,8,.5);
    backdrop-filter: blur(2px);
}
.cx-mobile-nav__overlay--open { display: block; }

/* Drawer */
.cx-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    z-index: 150;
    background: var(--ink);
    border-left: 1px solid rgba(201,168,76,.15);
    padding: calc(var(--nav-h) + 1.5rem) 1.8rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
}
.cx-mobile-nav--open { transform: translateX(0); }

.cx-mobile-nav__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cx-mobile-nav__links li {
    border-bottom: 1px solid rgba(253,251,248,.06);
}
.cx-mobile-nav__links a {
    display: block;
    padding: .9rem 0;
    font-size: .82rem;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(253,251,248,.8);
    transition: color .2s;
}
.cx-mobile-nav__links a:hover { color: var(--gold); }

.cx-mobile-nav__actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: auto;
}
.cx-mobile-nav__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: .75rem 1rem;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
}
.cx-mobile-nav__btn:hover { background: var(--gold-light); text-decoration: none; color: var(--white); }
.cx-mobile-nav__btn--ghost {
    background: transparent;
    border: 1px solid rgba(253,251,248,.3);
}
.cx-mobile-nav__btn--ghost:hover { background: rgba(253,251,248,.08); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — GLOBAL
   ══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Navbar */
    .cx-nav__burger { display: flex; }
    .cx-nav__actions { display: none; }

    /* Hero content padding */
    .cx-hero__content {
        padding: 0 clamp(1.2rem, 5vw, 2rem) 3rem;
        max-width: 100%;
        width: 100%;
    }
    .cx-hero__sub { max-width: 100%; }
    .cx-hero__scroll { display: none; }

    /* Section header stack */
    .cx-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Footer */
    .cx-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Form card */
    .cx-form-card {
        padding: 2rem 1.5rem;
    }

    /* Admin page padding */
    .cx-admin-page {
        padding: calc(var(--nav-h) + 1.5rem) 1.2rem 4rem;
    }

    /* Detalle producto */
    .cx-detalle-page {
        padding: calc(var(--nav-h) + 2rem) 1.2rem 4rem;
    }

    /* Marcas hero */
    .cx-marca-hero {
        padding: calc(var(--nav-h) + 2rem) 1.2rem 3rem;
    }

    /* Exam section */
    .cx-exam__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Catalog hero */
    .cx-catalog-hero {
        padding: calc(var(--nav-h) + 2rem) 1.2rem 3rem;
    }

    /* Nosotros hero */
    .cx-nosotros-hero {
        padding: calc(var(--nav-h) + 2rem) 1.2rem 3rem;
    }
}

@media (max-width: 480px) {
    /* Footer 1 columna en móvil chico */
    .cx-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Form card */
    .cx-form-card {
        padding: 1.5rem 1.2rem;
    }

    /* Marcas grid */
    .cx-marcas-grid { grid-template-columns: 1fr 1fr; }

    /* Values grid */
    .cx-values__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Hero title */
    .cx-hero__title { font-size: clamp(2.4rem, 10vw, 3.5rem); }

    /* Testimonials */
    .cx-testimonials__grid { grid-template-columns: 1fr; }

    /* Nosotros stats */
    .cx-nosotros-stats { flex-wrap: wrap; gap: 1.25rem; }
}
