/*
 * main.css — Nexora Luxury 3D Design System v2.0
 * Aparatología Estética Premium · nexoraimport.com
 */

/* ═══════════════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════════════ */
:root {
    --bg:          #000000;
    --bg-2:        #000000;
    --bg-3:        #000000;
    --bg-card:     #000000;
    --gold:        #C9A96E;
    --gold-light:  #E8C98A;
    --gold-dark:   #A07840;
    --gold-glow:   rgba(201,169,110,0.35);
    --text:        #F5F0E8;
    --text-muted:  #8B8070;
    --text-subtle: #3A3530;
    --border:      rgba(201,169,110,0.12);
    --border-h:    rgba(201,169,110,0.38);

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --nav-h:      80px;
    --max-w:      1280px;
    --r:          10px;
    --r-sm:       6px;
    --r-lg:       20px;

    --shadow:      0 20px 60px rgba(0,0,0,0.8), 0 0 0 1px var(--border);
    --shadow-h:    0 30px 90px rgba(0,0,0,0.9), 0 0 40px var(--gold-glow), 0 0 0 1px var(--border-h);

    --perspective: 1200px;
}

/* ═══════════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--gold); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold-light); }
button { font-family: var(--font-sans); }

/* ═══════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════ */
@keyframes goldShimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes pulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(201,169,110,0.4); }
    70%  { box-shadow: 0 0 0 16px rgba(201,169,110,0); }
    100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); }
}
@keyframes lineIn {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

/* Gold shimmer text */
.gold-text {
    background: linear-gradient(90deg,
        var(--gold-dark) 0%, var(--gold-light) 30%,
        var(--gold) 50%, var(--gold-light) 70%, var(--gold-dark) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 5s linear infinite;
}

/* Section label */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
}
.section-label::before,
.section-label::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--gold);
    opacity: .4;
}

/* Gold separator ornament */
.gold-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.gold-sep-line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    opacity: .5;
}
.gold-sep-line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.gold-sep-diamond {
    width: 5px; height: 5px;
    background: var(--gold);
    transform: rotate(45deg);
}
.gold-sep-diamond-sm { width: 3px; height: 3px; opacity: .5; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: var(--r-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .3s, box-shadow .3s, transform .2s;
    white-space: nowrap;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gold);
    transform: translateX(-101%);
    transition: transform .35s ease;
}
.btn:hover {
    color: var(--bg);
    box-shadow: 0 8px 32px rgba(201,169,110,.4);
    transform: translateY(-2px);
}
.btn:hover::before { transform: translateX(0); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--bg);
    border-color: transparent;
    font-weight: 600;
}
.btn-primary::before { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.btn-primary:hover { color: var(--bg); }

/* Loading spinner */
.loading-spinner {
    width: 40px; height: 40px;
    border: 2px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spinSlow 1s linear infinite;
    margin: 60px auto;
}

/* ═══════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background .4s, box-shadow .4s, border-color .4s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: rgba(201,169,110,0.25);
    box-shadow: 0 4px 48px rgba(0,0,0,.85), 0 1px 0 rgba(201,169,110,0.08);
}

.nav-wrap {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo { line-height: 1; display: flex; align-items: center; transition: filter 0.3s ease; pointer-events: none; cursor: default; }
.nav-logo:hover { filter: drop-shadow(0 0 14px rgba(201,169,110,0.5)); }
.nav-logo-img {
    height: 90px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    object-fit: contain;
    mix-blend-mode: lighten;
}
.footer-logo-img {
    height: 120px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    object-fit: contain;
    margin-bottom: 14px;
    mix-blend-mode: lighten;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}
.nav-menu li a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text);
    padding: 10px 16px;
    border-radius: var(--r-sm);
    display: block;
    position: relative;
    transition: color .3s;
}
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    border-radius: 1px;
}
.nav-menu li a:hover { color: var(--gold-light); }
.nav-menu li a:hover::after { transform: scaleX(1); }
.nav-menu li a.active,
.nav-menu li.current-menu-item > a {
    color: var(--gold);
}
.nav-menu li a.active::after,
.nav-menu li.current-menu-item > a::after { transform: scaleX(1); }

/* ─── Dropdown categorías ─── */
.nav-has-dropdown {
    position: relative;
}
.nav-dropdown-trigger {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text);
    padding: 8px 14px;
    border-radius: var(--r-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color .3s, background .3s;
    font-family: var(--font-sans);
    white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-has-dropdown.open .nav-dropdown-trigger {
    color: var(--gold-light);
    background: rgba(201,169,110,.07);
}
.nav-dropdown-arrow {
    font-size: 8px;
    transition: transform .3s;
    display: inline-block;
    color: var(--gold);
}
.nav-has-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 200px;
    background: rgba(10,10,10,.97);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    list-style: none;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 200;
    box-shadow: 0 16px 48px rgba(0,0,0,.7);
}
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 9px; height: 9px;
    background: var(--border);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    background: rgba(10,10,10,.97);
}
.nav-has-dropdown.open .nav-dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 10px 16px;
    border-radius: var(--r-sm);
    transition: color .25s, background .25s, padding-left .25s;
}
.nav-dropdown li a:hover {
    color: var(--gold);
    background: rgba(201,169,110,.08);
    padding-left: 22px;
}
.nav-dropdown li + li {
    border-top: 1px solid rgba(201,169,110,.06);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ─── Search button ─── */
.nav-search-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color .3s, color .3s, background .3s;
}
.nav-search-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,.07); }
.nav-search-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,.1); }

/* ─── Search panel ─── */
.nav-search-panel {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(4,3,2,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-h);
    padding: 20px 32px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s ease;
    z-index: 998;
    box-shadow: 0 12px 40px rgba(0,0,0,.7);
}
.nav-search-panel.open {
    transform: translateY(0);
    opacity: 1;
}
.nav-search-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-search-form {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-h);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    transition: border-color .3s;
}
.nav-search-form:focus-within { border-color: var(--gold); }
.nav-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 20px;
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-sans);
}
.nav-search-input::placeholder { color: var(--text-subtle); letter-spacing: 1px; }
.nav-search-go {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 0 22px;
    height: 44px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-sans);
    transition: background .25s;
    flex-shrink: 0;
}
.nav-search-go:hover { background: var(--gold-light); }
.nav-search-close {
    width: 38px; height: 38px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .3s, color .3s;
    flex-shrink: 0;
}
.nav-search-close:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Carrito rediseñado ─── */
.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    height: 38px;
    border: 1px solid var(--border-h);
    border-radius: 50px;
    color: var(--gold);
    background: rgba(201,169,110,0.06);
    transition: border-color .3s, background .3s, box-shadow .3s, color .3s;
}
.nav-cart:hover {
    border-color: var(--gold);
    background: rgba(201,169,110,0.13);
    box-shadow: 0 0 22px rgba(201,169,110,0.18);
    color: var(--gold-light);
}
.nav-cart-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: inherit;
    font-family: var(--font-sans);
}

.nav-cart-count {
    position: absolute; top: -6px; right: -6px;
    width: 17px; height: 17px;
    background: var(--gold);
    color: var(--bg);
    font-size: 9px; font-weight: 700;
    display: none; align-items: center; justify-content: center;
    border-radius: 50%;
}
.nav-cart-count.visible { display: flex; }

.hamburger {
    display: none;
    flex-direction: column; gap: 5px;
    width: 38px; height: 38px;
    align-items: center; justify-content: center;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: transparent;
}
.hamburger span { width: 18px; height: 1.5px; background: var(--gold); transition: all .3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ═══════════════════════════════════════════════════
   HERO 3D
═══════════════════════════════════════════════════ */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    perspective: var(--perspective);
}

/* 3D gold grid floor */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,169,110,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,169,110,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(700px) rotateX(25deg) scaleY(1.4);
    transform-origin: 50% 100%;
    z-index: 0;
}
/* Radial gold glow */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 600px;
    background: radial-gradient(ellipse at 50% 30%, rgba(201,169,110,.09) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-bg-particles canvas { position: absolute; inset: 0; }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 940px;
    padding: calc(var(--nav-h) + 20px) 32px 80px;
    animation: fadeInUp 1.2s ease-out both;
}

.hero-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.hero-label::before { content: ''; display: block; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-label::after  { content: ''; display: block; width: 44px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(52px, 8.5vw, 116px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--text);
    margin-bottom: 28px;
    text-shadow: 0 0 100px rgba(201,169,110,.12);
}
.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-subtitle {
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: .3px;
    max-width: 540px;
    margin: 0 auto 48px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-scroll-hint span {
    display: block;
    width: 1px; height: 60px;
    background: linear-gradient(180deg, var(--gold), transparent);
    margin: 0 auto;
    animation: float 2s ease-in-out infinite;
}

/* ── Hero split layout ── */
.hero-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 100px;
}

.hero-text { text-align: left; animation: fadeInUp 1.2s ease-out both; }
.hero-text .hero-label { justify-content: flex-start; }
.hero-text .hero-subtitle { margin: 0 0 40px; max-width: 480px; }
.hero-text .hero-actions { justify-content: flex-start; }
.hero-text .hero-title { font-size: clamp(40px, 5.5vw, 78px); }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-top: 28px;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: .6px;
    color: var(--text-muted);
}
.hero-trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ── Hero 3D card (right column) ── */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1.4s ease-out both;
}

.hero-card-3d {
    position: relative;
    width: 100%;
    max-width: 360px;
    transform-style: preserve-3d;
    animation: heroCardFloat 7s ease-in-out infinite;
}

@keyframes heroCardFloat {
    0%, 100% { transform: translateY(0)   rotateY(-10deg) rotateX(5deg); }
    50%       { transform: translateY(-18px) rotateY(-7deg)  rotateX(2deg); }
}

.hero-card-inner {
    background: rgba(8,6,4,0.75);
    border: 1px solid rgba(201,169,110,0.22);
    border-radius: 18px;
    padding: 36px 32px 32px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 40px 100px rgba(0,0,0,0.85),
        0 0 0 1px rgba(201,169,110,0.07),
        inset 0 1px 0 rgba(201,169,110,0.18);
}

.hero-card-eyebrow {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
    opacity: .8;
}

.hero-card-cats { display: flex; flex-direction: column; gap: 13px; }

.hero-cat-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-cat-dot {
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: .7;
}
.hero-cat-name {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    letter-spacing: .3px;
}
.hero-cat-tag {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201,169,110,0.08);
    border: 1px solid rgba(201,169,110,0.18);
    border-radius: 4px;
    padding: 3px 8px;
}

.hero-card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.35), transparent);
    margin: 24px 0;
}

.hero-card-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.hero-card-stat-num {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-card-stat-num small { font-size: .55em; }
.hero-card-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: .4px;
    line-height: 1.4;
    max-width: 120px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-orb-1 {
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(201,169,110,0.09) 0%, transparent 70%);
    top: -70px; right: -70px;
    animation: heroOrbPulse 5s ease-in-out infinite;
}
.hero-orb-2 {
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(201,169,110,0.07) 0%, transparent 70%);
    bottom: -50px; left: -50px;
    animation: heroOrbPulse 5s ease-in-out infinite 2.5s;
}
@keyframes heroOrbPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.6; }
}

/* ── Hero 3D device scene ── */
.hv-scene {
    position: relative;
    width: 340px;
    height: auto;
    min-height: 420px;
    margin: 0 auto;
    perspective: 900px;
}

.hv-ghost {
    position: absolute;
    border-radius: 20px;
    background: rgba(8,6,4,0.45);
    border: 1px solid rgba(201,169,110,0.1);
}
.hv-ghost-1 {
    inset: 0;
    transform: rotate(5deg) translateY(10px) translateX(6px);
    opacity: 0.45;
}
.hv-ghost-2 {
    inset: 0;
    transform: rotate(10deg) translateY(18px) translateX(12px);
    opacity: 0.2;
}

.hv-main-card {
    position: absolute;
    inset: 0;
    background: rgba(8,5,2,0.82);
    border: 1px solid rgba(201,169,110,0.24);
    border-radius: 20px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow:
        0 48px 110px rgba(0,0,0,0.88),
        0 0 0 1px rgba(201,169,110,0.06),
        inset 0 1px 0 rgba(201,169,110,0.2);
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    animation: hvFloat 7s ease-in-out infinite;
}
@keyframes hvFloat {
    0%, 100% { transform: translateY(0)    rotateY(-11deg) rotateX(5deg); }
    50%       { transform: translateY(-18px) rotateY(-7deg)  rotateX(2deg); }
}

.hv-glow {
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: heroOrbPulse 5s ease-in-out infinite;
}

.hv-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    opacity: 0.85;
}
.hv-eyebrow-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    animation: hvDotPulse 2s ease-in-out infinite;
}
@keyframes hvDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.35; transform: scale(0.65); }
}

.hv-device-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
}
.hv-device-svg {
    width: 115px;
    height: auto;
    filter: drop-shadow(0 0 28px rgba(201,169,110,0.18));
}
.hv-device-photo {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 12px 40px rgba(201,169,110,0.22));
}

/* Carrusel hero */
.hv-carousel {
    position: relative;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}
.hv-slide {
    display: none;
    animation: hvSlideIn 0.55s ease both;
}
.hv-slide.active { display: block; }
@keyframes hvSlideIn {
    from { opacity: 0; transform: scale(0.93); }
    to   { opacity: 1; transform: scale(1); }
}
.hv-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.hv-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(201,169,110,0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}
.hv-dot.active {
    background: var(--gold);
    transform: scale(1.35);
}

.hv-specs { display: flex; flex-direction: column; gap: 9px; }
.hv-spec-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hv-spec-label {
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    width: 50px;
    flex-shrink: 0;
}
.hv-spec-bar {
    flex: 1;
    height: 3px;
    background: rgba(201,169,110,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.hv-spec-fill {
    height: 100%;
    width: var(--w);
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 2px;
    animation: hvBarIn 1.8s ease-out both;
}
@keyframes hvBarIn {
    from { width: 0; }
    to   { width: var(--w); }
}
.hv-spec-val {
    font-size: 10px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}

/* Floating badges */
.hv-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: rgba(8,5,2,0.9);
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: 50px;
    backdrop-filter: blur(16px);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.65);
    z-index: 4;
}
.hv-badge svg { color: var(--gold); flex-shrink: 0; }
.hv-badge-num {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}
.hv-badge--tl {
    top: -16px; left: -24px;
    animation: hvBadgeFloat 5s ease-in-out infinite;
}
.hv-badge--tr {
    top: 54px; right: -32px;
    animation: hvBadgeFloat 5s ease-in-out infinite 1.8s;
}
.hv-badge--br {
    bottom: 44px; right: -28px;
    animation: hvBadgeFloat 5s ease-in-out infinite 3.4s;
}
@keyframes hvBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-9px); }
}

/* ═══════════════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════════════ */
.section-stats {
    padding: 48px 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 24px;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
}
.stat-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════ */
.section { padding: 120px 0; }
.section-dark    { background: var(--bg-2); }
.section-darker  { background: var(--bg-3); }

.section-angled-top {
    clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%);
    margin-top: -44px;
    padding-top: 164px;
}
.section-angled-bottom {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
    padding-bottom: 164px;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 300;
    letter-spacing: -1px;
    color: var(--text);
    margin-top: 12px;
}
.section-title em { font-style: italic; color: var(--gold); -webkit-text-fill-color: var(--gold); }

/* ═══════════════════════════════════════════════════
   PRODUCT CARDS — 3D TILT
═══════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: box-shadow .4s, border-color .4s;
    transform-style: preserve-3d;
    will-change: transform;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow-h);
    border-color: rgba(201,169,110,.32);
}

/* Shine sweep */
.product-card::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,.05), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
    pointer-events: none;
}
.product-card:hover::after { left: 120%; }

.product-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #050505;
    position: relative;
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s ease, filter .4s;
    filter: brightness(.88) saturate(.85);
}
.product-card:hover .product-card-img img {
    transform: scale(1.07);
    filter: brightness(1) saturate(1);
}
.product-card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 55%;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
}

.product-card-badges {
    position: absolute; top: 10px; left: 10px;
    display: flex; flex-wrap: wrap; gap: 5px;
    z-index: 2;
}
.badge {
    font-size: 9px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 3px 9px; border-radius: 3px;
}
.badge-nuevo     { background: rgba(26,58,42,.9); color: #4ADE80; border: 1px solid rgba(74,222,128,.3); }
.badge-oferta    { background: rgba(58,26,26,.9); color: #F87171; border: 1px solid rgba(248,113,113,.3); }
.badge-premium   { background: rgba(42,32,16,.9); color: var(--gold); border: 1px solid var(--border); }
.badge-destacado { background: rgba(26,42,58,.9); color: #60A5FA; border: 1px solid rgba(96,165,250,.3); }
.badge-bestseller{ background: rgba(50,30,10,.9); color: #FB923C; border: 1px solid rgba(251,146,60,.3); }

.product-card-body {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card-name {
    font-family: var(--font-serif);
    font-size: 20px; font-weight: 400;
    color: var(--text); margin-bottom: 6px; line-height: 1.3;
}
.product-card-desc {
    font-size: 12px; color: var(--text-muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.7; margin-bottom: 16px;
    flex: 1;
}
.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.product-card-price del {
    font-family: var(--font-serif);
    font-size: 13px; font-weight: 300;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.5;
}
.product-card-price ins {
    font-family: var(--font-serif);
    font-size: 22px; font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    line-height: 1;
}
/* Precio sin oferta */
.product-card-price .woocommerce-Price-amount {
    font-family: var(--font-serif);
    font-size: 22px; font-weight: 600;
    color: var(--gold);
    line-height: 1;
}
.product-card-price small {
    font-size: 11px; font-weight: 400;
    color: var(--text-muted); font-family: var(--font-sans); letter-spacing: 1px;
}
.product-card-cta {
    display: flex; gap: 8px;
    margin-top: auto;
}
.product-card-cta .btn { flex: 1; padding: 10px 16px; font-size: 10px; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border-h);
    color: var(--text-muted);
}
.btn-outline:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(201,169,110,.2);
}

/* ═══════════════════════════════════════════════════
   CATEGORIES GRID
═══════════════════════════════════════════════════ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color .35s, box-shadow .35s, transform .35s;
    color: var(--text);
    text-decoration: none;
}
.category-card:hover {
    border-color: var(--border-h);
    box-shadow: 0 20px 56px rgba(0,0,0,.7), 0 0 28px var(--gold-glow);
    transform: translateY(-6px);
}
/* imagen */
.category-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #0a0a0a;
}
.category-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease, opacity .4s;
    opacity: .85;
}
.category-card:hover .category-card-img img {
    transform: scale(1.06);
    opacity: 1;
}
/* overlay con CTA */
.category-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 16px;
    opacity: 0;
    transition: opacity .35s;
}
.category-card:hover .category-card-overlay { opacity: 1; }
.category-card-cta {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold-light); font-weight: 600;
}
/* placeholder cuando no hay imagen */
.category-card-img img[src=""],
.category-card-img img:not([src]) {
    visibility: hidden;
}
/* texto */
.category-card-body {
    padding: 20px 20px 22px;
    display: flex; flex-direction: column; gap: 6px;
}
.category-card-name {
    font-family: var(--font-serif);
    font-size: 18px; font-weight: 400;
}
.category-card-sub {
    font-size: 11px; color: var(--text-muted);
    letter-spacing: .5px; line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   WHY NEXORA
═══════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   PILLARS SECTION
═══════════════════════════════════════════════════ */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 56px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.pillar-card {
    padding: 44px 32px 40px;
    background: var(--bg);
    border-right: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background .35s;
}
.pillar-card:last-child { border-right: none; }
.pillar-card:hover { background: rgba(201,169,110,.04); }
.pillar-card--featured { background: rgba(201,169,110,.05); }
.pillar-card--featured:hover { background: rgba(201,169,110,.09); }

.pillar-num {
    font-family: var(--font-serif);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    opacity: .6;
}
.pillar-icon {
    width: 44px; height: 44px;
    color: var(--gold);
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}
.pillar-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    flex: 1;
}
.pillar-line {
    width: 28px; height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-top: 8px;
    transition: width .35s;
}
.pillar-card:hover .pillar-line { width: 56px; }

/* ═══════════════════════════════════════════════════
   COMPROMISO / MÉTRICAS
═══════════════════════════════════════════════════ */
.compromiso-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}
.compromiso-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.compromiso-title {
    font-family: var(--font-serif);
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text);
}
.compromiso-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.compromiso-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.9;
    font-weight: 300;
    max-width: 420px;
}

.compromiso-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.compromiso-metric {
    padding: 36px 32px;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    transition: background .35s;
}
.compromiso-metric:hover { background: rgba(201,169,110,.04); }
.compromiso-metric:nth-child(1),
.compromiso-metric:nth-child(2) { border-bottom: 1px solid var(--border); }
.compromiso-metric:nth-child(odd) { border-right: 1px solid var(--border); }

.compromiso-num {
    font-family: var(--font-serif);
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 300;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.compromiso-metric-label {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    letter-spacing: .3px;
}
.compromiso-metric-line {
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-top: 4px;
    transition: width .4s;
}
.compromiso-metric:hover .compromiso-metric-line { width: 48px; }

/* ═══════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════ */
.cta-section { padding: 100px 0; }
.cta-wrap { text-align: center; }
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 300;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.cta-title em { font-style: italic; color: var(--gold); -webkit-text-fill-color: var(--gold); }
.cta-sub { font-size: 15px; color: var(--text-muted); max-width: 480px; margin: 0 auto; line-height: 1.8; }
.cta-actions {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px;
}
.cta-final { position: relative; overflow: hidden; }
.cta-final::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(201,169,110,.08) 0%, transparent 70%);
}

/* ═══════════════════════════════════════════════════
   PROCESO / CÓMO COMPRAR
═══════════════════════════════════════════════════ */
.proceso-section { padding: 100px 0 80px; border-top: 1px solid var(--border); }
.proceso-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}
.proceso-connector {
    display: flex; align-items: center; justify-content: center;
    padding-top: 46px; width: 56px;
}
.proceso-connector svg { width: 44px; }
.proceso-step { text-align: center; padding: 0 16px; }
.proceso-step-top { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 20px; }
.proceso-num {
    font-family: var(--font-serif); font-size: 10px; letter-spacing: 5px;
    color: var(--gold); font-weight: 300; opacity: .6;
}
.proceso-icon {
    width: 68px; height: 68px;
    border: 1px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    transition: border-color .3s, background .3s, box-shadow .3s;
}
.proceso-step:hover .proceso-icon {
    border-color: rgba(201,169,110,.5);
    background: rgba(201,169,110,.05);
    box-shadow: 0 0 28px rgba(201,169,110,.14);
}
.proceso-icon svg { width: 28px; height: 28px; }
.proceso-step-title {
    font-family: var(--font-serif); font-size: 20px; font-weight: 400;
    color: var(--text); margin-bottom: 10px; letter-spacing: -.3px;
}
.proceso-step-desc { font-size: 13.5px; line-height: 1.75; color: var(--text-muted); max-width: 220px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.ft-sep {
    background: var(--bg);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 48px 0 0;
}
.ft-sep-line {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    opacity: .4;
}
.ft-sep-diamond     { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); opacity: .7; }
.ft-sep-diamond-sm  { width: 3px; height: 3px; opacity: .4; }

.site-footer {
    background: #000000;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo-name {
    font-family: var(--font-serif);
    font-size: 26px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    display: block; margin-bottom: 4px;
}
.footer-logo-sub {
    font-size: 8px; letter-spacing: 4px; text-transform: uppercase;
    color: #fff; display: block; margin-bottom: 16px;
}
.footer-desc { font-size: 13px; color: #fff; line-height: 1.85; max-width: 280px; }

.footer-col-title {
    font-size: 9px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a {
    font-size: 13px; color: #fff;
    transition: color .3s, padding-left .3s; display: block;
}
.footer-links li a:hover { color: var(--gold); padding-left: 5px; }
.footer-links li a.footer-ver-todos {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(201,169,110,0.35);
    padding-bottom: 3px;
    transition: gap .3s, border-color .3s;
}
.footer-links li a.footer-ver-todos:hover {
    gap: 10px;
    border-color: var(--gold);
    padding-left: 0;
}

.footer-contact-item {
    font-size: 13px; color: #fff;
    margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: #fff; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-transfer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: var(--bg-2);
    border: 1px solid var(--border-h);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 32px;
}
.footer-transfer-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}
.footer-transfer-left svg {
    color: var(--gold);
    flex-shrink: 0;
}
.footer-transfer-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.footer-transfer-sub {
    font-size: 13px;
    color: #fff;
    line-height: 1.5;
}
.footer-transfer-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 11px; color: #fff; letter-spacing: .8px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11px; color: #fff; }
.footer-legal a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   INNER PAGE
═══════════════════════════════════════════════════ */
.inner-hero {
    padding: calc(var(--nav-h) + 48px) 0 48px;
    text-align: center;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
}
.inner-hero-label { margin-bottom: 12px; }
.inner-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 300; letter-spacing: -1px;
    color: var(--text); margin-bottom: 12px;
}
.inner-hero-title em { font-style: italic; color: var(--gold); -webkit-text-fill-color: var(--gold); }
.inner-hero-sub {
    font-size: 14px; color: var(--text-muted);
    max-width: 480px; margin: 0 auto; line-height: 1.8;
}

/* ═══════════════════════════════════════════════════
   WORDPRESS ADMIN BAR OFFSET
═══════════════════════════════════════════════════ */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
/* ── 1024px ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 40px; }
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .why-visual { order: -1; }
    .why-card-3d { max-width: 400px; margin: 0 auto; }
    .proceso-grid { max-width: 700px; }

    /* Hero badges: ocultar las extremas para que no desborden */
    .hv-badge--tl { left: -12px; }
    .hv-badge--tr { right: -16px; }
    .hv-badge--br { right: -14px; }
}

/* ── 768px ─────────────────────────────────────── */
@media (max-width: 768px) {
    :root { --nav-h: 60px; }
    .container { padding: 0 20px; }
    .section { padding: 72px 0; }
    .section-angled-top  { clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%); margin-top: -24px; padding-top: 96px; }
    .section-angled-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%); padding-bottom: 96px; }

    /* NAV */
    .site-header {
        background: rgba(0,0,0,0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom-color: rgba(201,169,110,0.25);
    }
    .nav-wrap { padding: 0 16px; }
    .nav-logo-img { height: 48px; }
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .nav-cart-label { display: none; }
    .nav-search-panel { padding: 16px 20px; }

    .nav-menu.mobile-open {
        display: flex; flex-direction: column;
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        background: rgba(0,0,0,.98);
        backdrop-filter: blur(24px);
        padding: 12px 16px 20px; border-bottom: 1px solid var(--border);
        z-index: 999;
        max-height: calc(100svh - var(--nav-h));
        overflow-y: auto;
    }
    .nav-menu.mobile-open li a {
        padding: 14px 16px; font-size: 13px;
        border-radius: 0; border-bottom: 1px solid rgba(201,169,110,.06);
        letter-spacing: 1.5px;
    }
    .nav-menu.mobile-open .nav-dropdown-trigger {
        width: 100%; padding: 14px 16px; font-size: 13px;
        border-radius: 0; border-bottom: 1px solid rgba(201,169,110,.06);
        letter-spacing: 1.5px; justify-content: space-between;
    }
    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: all;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(201,169,110,.04);
        padding: 0;
        display: none;
    }
    .nav-dropdown::before { display: none; }
    .nav-has-dropdown.open .nav-dropdown { display: block; transform: none; }
    .nav-dropdown li a {
        padding-left: 32px; font-size: 12px;
        border-bottom: 1px solid rgba(201,169,110,.04);
    }
    .nav-dropdown li a:hover { padding-left: 40px; }

    /* STATS */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
    .stat-item:nth-child(4) { border-right: none; }

    /* GRIDS */
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .compromiso-wrap { grid-template-columns: 1fr; gap: 56px; }
    .compromiso-body { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

    /* FOOTER TRANSFER */
    .footer-transfer { flex-direction: column; align-items: flex-start; padding: 20px; gap: 16px; }
    .footer-transfer-btn { width: 100%; text-align: center; }

    /* FOOTER LOGO */
    .footer-logo-img { height: 80px; }

    /* HERO */
    .hero-title { letter-spacing: -1px; }
    .hero-split { grid-template-columns: 1fr; gap: 40px; padding-bottom: 72px; padding-top: calc(var(--nav-h) + 40px); }
    .hero-text { text-align: center; }
    .hero-text .hero-label { justify-content: center; }
    .hero-text .hero-subtitle { margin: 0 auto 36px; }
    .hero-text .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
    .hero-actions .btn { width: 100%; }

    /* HERO VISUAL / 3D SCENE */
    .hero-visual { padding: 40px 0 0; }
    .hv-scene { width: 280px; min-height: 340px; }
    .hv-badge { display: none; }  /* ocultar badges flotantes en móvil */

    /* PILLARS */
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .pillar-card { padding: 28px 20px 24px; }

    /* PROCESO */
    .proceso-section { padding: 72px 0 56px; }
    .proceso-grid { grid-template-columns: 1fr; gap: 0; max-width: 400px; }
    .proceso-connector { width: auto; padding: 4px 0; transform: rotate(90deg); }

    /* CTA */
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 320px; }

    /* INNER HERO */
    .inner-hero { padding: calc(var(--nav-h) + 36px) 0 36px; }
}

/* ── 480px ─────────────────────────────────────── */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }

    .categories-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar-card { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 20px; }
    .pillar-card:last-child { border-bottom: none; }

    .products-grid { grid-template-columns: 1fr; }

    .stat-number { font-size: 36px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }

    .hv-scene { width: 240px; min-height: 300px; }

    .section-title { font-size: clamp(28px, 8vw, 40px); }

    .proceso-section { padding: 56px 0 40px; }

    .footer-transfer { padding: 16px; }
}

/* ── 390px (teléfonos pequeños) ─────────────────── */
@media (max-width: 390px) {
    .container { padding: 0 14px; }
    .nav-logo-img { height: 56px; }
    .hero-split { gap: 32px; }
    .hv-scene { width: 210px; min-height: 270px; }
    .categories-grid { grid-template-columns: 1fr; }
    .stat-item { padding: 0 12px; }
}

/* ═══════════════════════════════════════════════════
   WOOCOMMERCE — ESTILOS BASE NEXORA
═══════════════════════════════════════════════════ */
.wc-nexora { max-width: 1240px; }

/* ═══════════════════════════════════════════════════
   CART DRAWER
═══════════════════════════════════════════════════ */
.cart-drawer {
    position: fixed; inset: 0;
    z-index: 9998;
    pointer-events: none;
}
.cart-drawer.open { pointer-events: all; }
.cart-drawer-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .35s ease;
}
.cart-drawer.open .cart-drawer-overlay { opacity: 1; }
.cart-drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 380px; max-width: 92vw;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -16px 0 60px rgba(0,0,0,.7);
}
.cart-drawer.open .cart-drawer-panel { transform: translateX(0); }

.cart-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-drawer-title {
    font-family: var(--font-serif); font-size: 22px; font-weight: 300; color: var(--text);
}
.cart-drawer-close {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: var(--r-sm);
    background: transparent; color: var(--text-muted); cursor: pointer;
    transition: border-color .3s, color .3s;
}
.cart-drawer-close:hover { border-color: var(--gold); color: var(--gold); }

.cart-drawer-body {
    flex: 1; overflow-y: auto; padding: 16px 24px;
    display: flex; flex-direction: column; gap: 16px;
}
.cart-drawer-empty {
    text-align: center; color: var(--text-muted);
    font-size: 13px; padding: 48px 0; line-height: 1.6;
}
.cart-drawer-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.cart-drawer-item:last-child { border-bottom: none; }
.cart-drawer-item-img {
    width: 72px; height: 72px; flex-shrink: 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r-sm); overflow: hidden;
}
.cart-drawer-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-drawer-item-name { font-size: 13px; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.cart-drawer-item-price { font-family: var(--font-serif); font-size: 16px; color: var(--gold); font-weight: 600; }
.cart-drawer-item-qty { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.cart-drawer-item-qty-row {
    display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.cart-drawer-qty-btn {
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--border);
    border-radius: 50%; color: var(--text); cursor: pointer;
    font-size: 14px; line-height: 1; transition: border-color .2s, color .2s;
}
.cart-drawer-qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-drawer-item-qty-row .cart-drawer-item-qty {
    font-size: 13px; color: var(--text); margin-top: 0; min-width: 16px; text-align: center;
}
.cart-drawer-remove-btn {
    margin-left: auto;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none;
    color: var(--text-muted); cursor: pointer;
    transition: color .2s;
}
.cart-drawer-remove-btn:hover { color: #e05252; }

.cart-drawer-foot {
    padding: 16px 24px 28px; border-top: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 10px; flex-shrink: 0;
}
.cart-drawer-total {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 12px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 4px;
}
.cart-drawer-total-price {
    font-family: var(--font-serif); font-size: 24px; color: var(--gold); font-weight: 600;
}
.cart-drawer-btn { width: 100%; text-align: center; justify-content: center; }
body.cart-drawer-open { overflow: hidden; }

/* Ocultar logo de WooCommerce en página de carrito */
.woocommerce-cart .wp-block-woocommerce-cart-heading-block,
.woocommerce-cart .wc-block-cart__main > header,
.wc-block-cart__main .wc-block-components-sidebar-layout > header { display: none !important; }

/* Ocultar header del bloque de carrito WooCommerce */
.wc-block-cart__header,
.wp-block-woocommerce-cart > div > header,
.wc-block-components-sidebar-layout > header,
.wp-block-woocommerce-cart header { display: none !important; }

/* ═══════════════════════════════════════════════════
   WOOCOMMERCE BLOCKS — Carrito / Checkout (resumen de pedido)
═══════════════════════════════════════════════════ */
/* index.php (plantilla fallback) limita <main> a 860px; ampliarlo solo en páginas WC */
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main {
    max-width: 1320px !important;
}
.wc-block-components-sidebar-layout,
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: 1fr minmax(380px, 440px);
    gap: 56px;
    align-items: start;
}
.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 100% !important; max-width: 100% !important; flex: none !important;
    font-size: 15px;
}
.wc-block-components-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px !important;
}
.wc-block-components-order-summary { color: var(--text); }
.wc-block-components-checkout-order-summary__title-text {
    font-family: var(--font-serif); font-size: 22px; font-weight: 500;
    color: var(--gold) !important;
}
.wc-block-components-order-summary .wc-block-components-panel__button,
.wc-block-components-order-summary-item { padding-top: 14px; padding-bottom: 14px; }
.wc-block-components-order-summary-item {
    display: flex; align-items: flex-start; gap: 14px;
    border-bottom: 1px solid var(--border);
}
.wc-block-components-order-summary-item__image {
    position: relative; flex-shrink: 0; width: 56px; height: 56px;
    border: 1px solid var(--border); border-radius: var(--r-sm); overflow: visible;
    background: #000;
}
.wc-block-components-order-summary-item__image img { width: 100%; height: 100%; object-fit: contain; }
.wc-block-components-quantity-badge,
.wc-block-components-order-summary-item__quantity {
    position: absolute; top: -8px; right: -8px;
    background: var(--gold); color: #000 !important;
    font-size: 11px; font-weight: 700; line-height: 1;
    min-width: 18px; height: 18px; padding: 2px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.wc-block-components-order-summary-item__description { flex: 1; min-width: 0; }
.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-product-name {
    font-size: 13px; line-height: 1.4; color: var(--text);
    display: block; word-break: normal; overflow-wrap: break-word;
}
.wc-block-components-order-summary-item__total-price,
.wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount,
.wc-block-formatted-money-amount,
.wc-block-components-totals-item__value {
    white-space: nowrap; color: var(--gold); font-weight: 600;
}
.wc-block-components-totals-item {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 12px 0; border-bottom: 1px solid var(--border);
    color: var(--text); font-size: 13px;
}
.wc-block-components-totals-item__label { flex-shrink: 0; margin-right: 12px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
    font-size: 20px; font-weight: 600;
}
.wc-block-components-panel .wc-block-components-panel__button {
    color: var(--gold) !important; font-size: 12px; letter-spacing: .5px;
}
.wc-block-components-radio-control__option,
.wc-block-checkout__form,
.wc-block-components-text-input input,
.wc-block-components-address-form input,
.wc-block-components-address-form select {
    background: var(--bg-card) !important; color: var(--text) !important;
    border-color: var(--border) !important;
}

/* Títulos de sección (Información de contacto, Dirección, Opciones de pago…) */
.wc-block-components-checkout-step__title {
    font-family: var(--font-serif); font-size: 22px; font-weight: 500;
    color: var(--gold) !important; letter-spacing: .3px;
}
.wc-block-components-checkout-step__description { color: var(--text-muted); font-size: 13px; }

/* Etiquetas flotantes de los campos */
.wc-block-components-text-input label,
.wc-block-components-address-form label,
.wc-block-checkout__form .wc-block-components-text-input > label {
    color: var(--text-muted) !important; letter-spacing: .3px;
}

/* Foco dorado en inputs/selects */
.wc-block-components-text-input input:focus,
.wc-block-components-address-form input:focus,
.wc-block-components-address-form select:focus,
.wc-block-checkout__form input:focus,
.wc-block-checkout__form select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 1px var(--gold) !important;
    outline: none !important;
}

/* Radios y checkboxes con acento dorado */
.wc-block-components-radio-control__input,
.wc-block-components-checkbox__input {
    accent-color: var(--gold);
}
.wc-block-components-radio-control__option-checked {
    border-color: var(--gold) !important;
    background: rgba(201,169,110,0.06) !important;
}
.wc-block-components-checkbox__mark { color: var(--gold); }
.wc-block-components-checkbox__input:checked ~ .wc-block-components-checkbox__mark,
.wc-block-components-checkbox__input:focus ~ .wc-block-components-checkbox__mark {
    color: var(--gold);
}

/* Método de pago seleccionado: contenido descriptivo */
.wc-block-components-radio-control-accordion-content {
    color: var(--text-muted); font-size: 13px; line-height: 1.6;
    border-color: var(--border) !important;
}

/* Textarea (nota del pedido, etc.) — legible sobre fondo oscuro */
.wc-block-components-textarea,
.wc-block-checkout__add-note textarea,
textarea.wc-block-components-textarea {
    background: var(--bg-card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--r-sm) !important;
}
.wc-block-components-textarea::placeholder {
    color: var(--text-muted) !important;
}
.wc-block-components-textarea:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 1px var(--gold) !important;
    outline: none !important;
}

/* Links dentro del checkout (volver al carrito, editar dirección, etc.) */
.wc-block-checkout__main a:not(.wc-block-components-button) {
    color: var(--gold);
}
.wc-block-checkout__main a:not(.wc-block-components-button):hover { color: var(--gold-light); }

@media (max-width: 900px) {
    .wc-block-components-sidebar-layout,
    .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
    .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr; gap: 32px;
    }
}

/* Marco dorado alrededor del formulario de datos del cliente (checkout) */
.wc-block-checkout__main {
    border: 1px solid var(--border-h);
    border-radius: var(--r);
    padding: 36px !important;
    background: rgba(201,169,110,0.03);
}
.wc-block-checkout__main .wc-block-components-checkout-step {
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px; margin-bottom: 24px;
}
.wc-block-checkout__main .wc-block-components-checkout-step:last-child {
    border-bottom: none; margin-bottom: 0; padding-bottom: 0;
}

/* Tabla del carrito */
.woocommerce table.shop_table {
    width: 100%; border-collapse: collapse;
    color: var(--text); font-size: 14px;
}
.woocommerce table.shop_table th {
    font-size: 10px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold);
    border-bottom: 1px solid var(--border); padding: 12px 8px;
}
.woocommerce table.shop_table td {
    padding: 16px 8px; border-bottom: 1px solid var(--border);
    color: var(--text); vertical-align: middle;
}
.woocommerce table.shop_table .product-name a { color: var(--text); }
.woocommerce table.shop_table .product-name a:hover { color: var(--gold); }
.woocommerce table.shop_table .product-subtotal,
.woocommerce table.shop_table .product-price { color: var(--gold); font-weight: 600; }

/* Totales */
.woocommerce .cart-collaterals,
.woocommerce-cart .cart-collaterals { margin-top: 40px; }
.woocommerce .cart_totals h2 {
    font-family: var(--font-serif); font-size: 22px;
    font-weight: 300; color: var(--text); margin-bottom: 16px;
}
.woocommerce .cart_totals table { color: var(--text); }
.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td { padding: 12px 0; border-bottom: 1px solid var(--border); }
.woocommerce .cart_totals .order-total td { color: var(--gold); font-size: 20px; font-weight: 600; }

/* Botones WooCommerce */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 30px; border: 1px solid var(--gold);
    background: transparent; color: var(--gold) !important;
    font-family: var(--font-sans); font-size: 11px; font-weight: 500;
    letter-spacing: 2.5px; text-transform: uppercase;
    border-radius: var(--r-sm); cursor: pointer;
    transition: background .3s, color .3s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background: var(--gold) !important; color: #000 !important;
}

/* Mensajes */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    padding: 14px 20px; border-radius: var(--r-sm);
    margin-bottom: 20px; font-size: 13px;
    border-left: 3px solid var(--gold);
    background: rgba(201,169,110,.08); color: var(--text);
    list-style: none;
}

/* Formularios checkout */
.woocommerce .woocommerce-checkout .form-row label { color: var(--text-muted); font-size: 12px; letter-spacing: 1px; }
.woocommerce .woocommerce-checkout input,
.woocommerce .woocommerce-checkout select,
.woocommerce .woocommerce-checkout textarea {
    background: var(--bg-card) !important; color: var(--text) !important;
    border: 1px solid var(--border) !important; border-radius: var(--r-sm) !important;
    padding: 10px 14px !important;
}
.woocommerce .woocommerce-checkout input:focus,
.woocommerce .woocommerce-checkout select:focus {
    border-color: var(--gold) !important; outline: none !important;
}

/* Sección "Nuevo en la tienda" del carrito vacío — ocultar */
.woocommerce .cart-empty + .return-to-shop + p,
.woocommerce-cart .woocommerce-info ~ .woocommerce-products-header { display: none; }
