/* ═══════════════════════════════════════════════
   layout.css — VEKSU
   Nav, header, footer, container, grid, responsive
═══════════════════════════════════════════════ */

/* ── Container & Section ───────────────────── */
/* ═══════════════════════════════════════════════
       LAYOUT
    ═══════════════════════════════════════════════ */
    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 var(--gutter);
    }
    .section { padding: var(--sec-pad) 0; }

    /* ═══════════════════════════════════════════════
       PLACEHOLDERS (sustituir por WebP reales)
    ═══════════════════════════════════════════════ */
    .ph {
      width: 100%;
      position: relative;
      overflow: hidden;
      background: var(--gris-1);
    }
    .ph::after {
      content: attr(data-ph);
      position: absolute; top: 50%; left: 50%;
      transform: translate(-50%,-50%);
      font-size: 0.52rem; letter-spacing: 0.24em;
      text-transform: uppercase;
      color: rgba(184,115,51,0.18);
      pointer-events: none; white-space: nowrap;
      font-family: var(--font-sans);
    }

    /* ═══════════════════════════════════════════════
       CSS PRODUCT — LUKE (ilustración cilindro)
    ═══════════════════════════════════════════════ */
    .luke-3d {
      position: relative;
      width: clamp(60px, 7.5vw, 100px);
      height: clamp(150px, 20vw, 250px);
      filter: drop-shadow(0 40px 80px rgba(0,0,0,0.8));
    }
    .luke-3d.hero-size {
      width: clamp(80px, 10vw, 130px);
      height: clamp(200px, 26vw, 320px);
      animation: lukeFloat 7s ease-in-out infinite alternate;
    }
    @keyframes lukeFloat {
      from { transform: translateY(0) rotate(-0.5deg); }
      to   { transform: translateY(-10px) rotate(0.5deg); }
    }
    .luke-cap {
      position: absolute; left: 0; right: 0;
      height: clamp(13px, 2vw, 20px);
      border-radius: 50%;
    }
    .luke-cap-top {
      top: 0;
      background: radial-gradient(ellipse at 35% 28%, #eaae6e 0%, #c4893e 26%, #8a5e29 60%, #634418 100%);
      box-shadow: 0 3px 18px rgba(184,115,51,0.3), 0 6px 12px rgba(0,0,0,0.5);
    }
    .luke-cap-top::after {
      content: 'K';
      position: absolute; top: 50%; left: 50%;
      transform: translate(-50%,-50%);
      font-family: var(--font-logo); font-weight: 900;
      font-size: clamp(7px, 0.9vw, 10px);
      color: rgba(0,0,0,0.32); letter-spacing: 0;
    }
    .luke-cap-bottom {
      bottom: 0;
      background: radial-gradient(ellipse at 40% 38%, #9e6730 0%, #78501f 50%, #4e311a 100%);
      box-shadow: 0 6px 14px rgba(0,0,0,0.6);
    }
    .luke-body {
      position: absolute;
      top: clamp(11px, 1.6vw, 16px);
      bottom: clamp(11px, 1.6vw, 16px);
      left: 0; right: 0;
      background: linear-gradient(90deg,
        #0c0c0c 0%, #1c1c1c 8%, #161616 32%,
        #090909 54%, #181818 74%, #101010 100%);
      overflow: hidden;
    }
    .luke-body::before {
      content: ''; position: absolute; inset: 0;
      background:
        repeating-linear-gradient(0deg, transparent, transparent 3px,
          rgba(255,255,255,0.01) 3px, rgba(255,255,255,0.01) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 8px,
          rgba(255,255,255,0.004) 8px, rgba(255,255,255,0.004) 9px);
    }
    .luke-body::after {
      content: ''; position: absolute;
      top: 0; bottom: 0; left: 8%; width: 4%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    }
    .luke-glow {
      position: absolute; bottom: -28px; left: 50%;
      transform: translateX(-50%);
      width: 70%; height: 28px;
      background: radial-gradient(ellipse, rgba(184,115,51,0.12) 0%, transparent 70%);
      filter: blur(12px);
    }

/* ── Header / Nav ───────────────────────────── */
/* ═══════════════════════════════════════════════
       HEADER
    ═══════════════════════════════════════════════ */
    header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      height: clamp(64px, 8vw, 80px);
      padding: 0 var(--gutter);
      background: transparent;
      transition:
        background var(--dur-base) ease,
        border-color var(--dur-base) ease;
      border-bottom: 1px solid transparent;
      overflow: visible;
    }
    header.scrolled {
      background: rgba(8,8,8,0.92);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom-color: rgba(184,115,51,0.08);
    }
    nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 36px); }
    .nav-link {
      font-family: var(--font-sans);
      font-size: 0.64rem; font-weight: 500;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: rgba(240,235,225,0.44);
      transition: color var(--dur-micro) ease;
      cursor: pointer;
    }
    .nav-link:hover { color: var(--blanco); }
    .nav-cta {
      border: 1px solid rgba(184,115,51,0.45);
      padding: 9px 20px; color: var(--cobre);
      font-size: 0.64rem; font-weight: 500;
      letter-spacing: 0.2em; text-transform: uppercase;
      transition: background var(--dur-micro) ease, color var(--dur-micro) ease;
      cursor: pointer;
    }
    .nav-cta:hover { background: var(--cobre); color: var(--negro); }
    .lang-toggle { display: flex; align-items: center; gap: 5px; }
    .lang-btn {
      background: none; border: none; cursor: pointer;
      font-family: var(--font-sans); font-size: 0.6rem; font-weight: 500;
      letter-spacing: 0.14em; text-transform: uppercase;
      color: rgba(240,235,225,0.26); padding: 5px 2px;
      transition: color var(--dur-micro) ease;
    }
    .lang-btn.active { color: var(--blanco); }
    .lang-btn:hover  { color: var(--cobre); }
    .lang-sep { color: rgba(240,235,225,0.12); font-size: 0.56rem; }

/* ── Header overrides (producto) ────────────── */
/* ═══════════════════════════════════════════════
       HEADER
    ═══════════════════════════════════════════════ */
    header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      height: clamp(64px, 8vw, 80px);
      padding: 0 var(--gutter);
      background: rgba(5,5,5,0.94);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(184,115,51,0.08);
    }
    .logo-img { height: clamp(38px, 5vw, 52px); width: auto; display: block; }
    .logo-css {
      font-family: var(--font-logo); font-weight: 900;
      font-size: clamp(1.1rem, 2.5vw, 1.5rem); letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--blanco);
      display: none; align-items: baseline;
    }
    .logo-char { color: var(--blanco); }
    .logo-k { position: relative; display: inline-block; color: var(--blanco); }
    .logo-k::before {
      content: 'K'; position: absolute; top: 0; left: 0;
      font-family: var(--font-logo); font-weight: 900; letter-spacing: 0;
      background: linear-gradient(140deg, #E0A96A 0%, #C48A40 40%, #A06830 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
      clip-path: polygon(38% 0%, 100% 0%, 100% 56%, 59% 56%);
      pointer-events: none;
    }
    nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 36px); }
    .nav-link {
      font-family: var(--font-sans);
      font-size: 0.64rem; font-weight: 500;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: rgba(240,235,225,0.44);
      transition: color var(--dur-micro) ease;
    }
    .nav-link:hover { color: var(--blanco); }
    .nav-link.nav-active { color: var(--crema); }
    .nav-cta {
      border: 1px solid rgba(184,115,51,0.45);
      padding: 9px 20px; color: var(--cobre);
      font-size: 0.64rem; font-weight: 500;
      letter-spacing: 0.2em; text-transform: uppercase;
      transition: background var(--dur-micro) ease, color var(--dur-micro) ease;
    }
    .nav-cta:hover { background: var(--cobre); color: var(--negro); }
    .lang-toggle { display: flex; align-items: center; gap: 5px; }
    .lang-btn {
      background: none; border: none; cursor: pointer;
      font-family: var(--font-sans); font-size: 0.6rem; font-weight: 500;
      letter-spacing: 0.14em; text-transform: uppercase;
      color: rgba(240,235,225,0.26); padding: 5px 2px;
      transition: color var(--dur-micro) ease;
    }
    .lang-btn.active { color: var(--blanco); }
    .lang-btn:hover  { color: var(--cobre); }
    .lang-sep { color: rgba(240,235,225,0.12); font-size: 0.56rem; }
    @media (max-width: 640px) { .nav-hide { display: none; } }

/* ── Footer ─────────────────────────────────── */
/* ═══════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════ */
    footer {
      background: #040404;
      border-top: 1px solid var(--gris-3);
      padding: clamp(48px, 7vw, 72px) 0 clamp(32px, 4vw, 48px);
    }
    .footer-top {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 40px; flex-wrap: wrap; gap: 24px;
    }
    .footer-tagline {
      font-family: var(--font-serif); font-style: italic; font-weight: 300;
      font-size: clamp(0.9rem, 1.6vw, 1.1rem);
      color: rgba(240,235,225,0.2);
    }
    .footer-social { display: flex; gap: 24px; }
    .social-link {
      font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
      color: rgba(240,235,225,0.26); transition: color var(--dur-micro) ease;
    }
    .social-link:hover { color: var(--cobre); }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 14px; padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.03);
    }
    .footer-made  {
      font-size: 0.62rem; color: rgba(240,235,225,0.16); letter-spacing: 0.04em;
    }
    .footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
    .legal-link   {
      font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
      color: rgba(240,235,225,0.18); transition: color var(--dur-micro) ease; cursor: pointer;
    }
    .legal-link:hover { color: rgba(240,235,225,0.5); }
    .footer-copy  {
      font-size: 0.58rem; color: rgba(240,235,225,0.14); letter-spacing: 0.08em;
    }

/* ── Responsive — breakpoints base ─────────── */
/* ═══════════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════════ */
    @media (max-width: 1024px) {
      .hero-left       { padding: clamp(120px,15vw,180px) var(--gutter) clamp(80px,10vw,120px); }
      .products-grid   { grid-template-columns: 1fr; gap: 1px; }
      .product-card-img { aspect-ratio: 16/8; }
    }
    @media (max-width: 900px) {
      .reveal-panels   { grid-template-columns: 1fr; min-height: auto; }
      .reveal-panel    { min-height: 65vw; }
      .uso-grid        { grid-template-columns: 1fr; gap: 48px; }
      .objeto-imgs     { grid-template-columns: 1fr; }
      .objeto-cell .ph { aspect-ratio: 16/9; min-height: auto; }
      .specs-grid      { grid-template-columns: 1fr; }
      .spec-item:nth-child(odd)            { border-right: none; }
      .spec-item:nth-last-child(-n+2)      { border-bottom: 1px solid var(--gris-3); }
      .spec-item:last-child                { border-bottom: none; }
      .compra-inner    { grid-template-columns: 1fr; gap: 48px; }
    }
    @media (max-width: 640px) {
      .reveal-panel    { min-height: 80vw; }
      .nav-hide        { display: none; }
      .waitlist-form   { flex-direction: column; }
      .waitlist-input  { border-right: 1px solid var(--gris-3); }
      .waitlist-btn    { width: 100%; padding: 16px; }
      .footer-top      { flex-direction: column; align-items: flex-start; }
      .footer-bottom   { flex-direction: column; align-items: flex-start; }
    }

/* ── Responsive — producto (luke.html) ──────── */
/* ═══════════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════════ */
    @media (max-width: 900px) {
      .luke-hero        { grid-template-columns: 1fr; }
      .luke-hero-right  { min-height: 60vw; }
      .luke-hero-img-ph { min-height: 60vw; }
      .luke-hero-overlay { background: linear-gradient(to bottom, var(--negro-puro) 0%, transparent 30%); }
      .compra-inner     { grid-template-columns: 1fr; gap: 48px; }
      .features-grid    { grid-template-columns: 1fr; }
      .feature-item     { border-right: none; border-bottom: 1px solid var(--gris-3); }
      .feature-item:last-child { border-bottom: none; }
      .specs-grid       { grid-template-columns: 1fr; }
      .spec-item:nth-child(odd)       { border-right: none; }
      .spec-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--gris-3); }
      .spec-item:last-child           { border-bottom: none; }
    }
    @media (max-width: 640px) {
      .luke-reveal      { grid-template-columns: 1fr; }
      .inserts-grid     { grid-template-columns: 1fr 1fr; }
      .objeto-imgs      { grid-template-columns: 1fr; }
    }
    @media (max-width: 400px) {
      .inserts-grid     { grid-template-columns: 1fr; }
    }

    /* ═══════════════════════════════════════════════
       POR QUÉ LUKE
    ═══════════════════════════════════════════════ */
    .luke-why { background: var(--negro); }
    .why-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(48px, 8vw, 100px);
      align-items: start;
    }
    .why-text .t-eyebrow { margin-bottom: 18px; display: block; }
    .why-text .t-section { margin-bottom: 28px; }
    .why-text .t-body { margin-bottom: 16px; }
    .why-text .t-section em { font-style: italic; color: var(--cobre-claro); font-weight: 300; }
    .why-points {
      display: flex; flex-direction: column;
      gap: 32px; padding-top: 8px;
    }
    .why-point {
      display: flex; gap: 18px; align-items: flex-start;
    }
    .why-point-icon {
      color: var(--cobre); font-size: 1.2rem; font-weight: 300;
      flex-shrink: 0; padding-top: 2px; line-height: 1;
    }
    .why-point strong {
      display: block; font-size: 0.82rem; font-weight: 500;
      color: rgba(240,235,225,0.75); letter-spacing: 0.02em;
      margin-bottom: 8px;
    }
    .why-point p {
      font-size: 0.82rem; line-height: 1.75; font-weight: 300;
      color: rgba(240,235,225,0.38);
    }
    @media (max-width: 860px) {
      .why-grid { grid-template-columns: 1fr; }
    }

    /* ═══════════════════════════════════════════════
       PARA QUIÉN ES
    ═══════════════════════════════════════════════ */
    .luke-for { background: var(--gris-1); }
    .for-header {
      text-align: center; max-width: 600px; margin: 0 auto clamp(48px,7vw,80px);
    }
    .for-header .t-eyebrow { margin-bottom: 18px; display: block; }
    .for-header .t-section { margin-bottom: 20px; }
    .for-header .t-section em { font-style: italic; color: var(--cobre-claro); font-weight: 300; }
    .for-header .t-body { max-width: 480px; margin: 0 auto; }
    .for-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1px; background: var(--gris-3);
    }
    .for-card {
      background: var(--negro); padding: clamp(28px,4vw,44px);
      display: flex; flex-direction: column; gap: 12px;
    }
    .for-card-label {
      font-family: var(--font-sans); font-size: 0.58rem; font-weight: 500;
      letter-spacing: 0.24em; text-transform: uppercase;
      color: var(--cobre);
    }
    .for-card h3 {
      font-family: var(--font-serif); font-weight: 300; font-style: italic;
      font-size: clamp(1.2rem, 2.2vw, 1.6rem);
      color: rgba(240,235,225,0.84); line-height: 1.2;
    }
    .for-card p {
      font-size: 0.84rem; line-height: 1.8; font-weight: 300;
      color: rgba(240,235,225,0.42); flex: 1;
    }
    .for-card-link {
      font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--cobre); transition: color var(--dur-micro) ease;
      margin-top: 8px; font-weight: 500;
    }
    .for-card-link:hover { color: var(--cobre-claro); }
    @media (max-width: 860px) {
      .for-grid { grid-template-columns: 1fr; }
    }

    /* ═══ FAQ ═══ */
    .faq-list { display: flex; flex-direction: column; }
    .faq-item { border-bottom: 1px solid var(--gris-3); padding: 0; }
    .faq-item:first-child { border-top: 1px solid var(--gris-3); }
    .faq-q {
      list-style: none; cursor: pointer;
      padding: 20px 0; display: flex; align-items: center; justify-content: space-between;
      font-family: var(--font-sans); font-size: 0.92rem; font-weight: 400;
      color: rgba(240,235,225,0.75); gap: 16px;
    }
    .faq-q::-webkit-details-marker { display: none; }
    .faq-q::after { content: '+'; font-size: 1.2rem; font-weight: 300; color: var(--cobre); flex-shrink: 0; transition: transform 280ms cubic-bezier(0.22,1,0.36,1); }
    details[open] .faq-q::after { transform: rotate(45deg); }
    .faq-a { padding: 0 0 20px; font-size: 0.86rem; line-height: 1.85; color: rgba(240,235,225,0.44); font-weight: 300; }

    /* ═══ FAQ LINK BAR ═══ */
    .faq-link-bar {
      display: flex; justify-content: center;
      padding: 28px 0; background: var(--negro-puro);
      border-top: 1px solid rgba(255,255,255,0.04);
    }
    .faq-link-btn {
      display: inline-flex; align-items: center; gap: 10px;
      color: rgba(240,235,225,0.26); transition: color 180ms ease;
      font-family: var(--font-sans); font-size: 0.6rem;
      letter-spacing: 0.2em; text-transform: uppercase;
    }
    .faq-link-btn:hover { color: var(--cobre); }
    .faq-link-icon {
      width: 22px; height: 22px; border-radius: 50%;
      border: 1px solid rgba(240,235,225,0.14);
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 0.68rem; font-weight: 500; flex-shrink: 0;
      transition: border-color 180ms ease, color 180ms ease;
    }
    .faq-link-btn:hover .faq-link-icon { border-color: var(--cobre); }

/* ── Sticky buy bar (móvil) ─────────────────── */
/* ═══════════════════════════════════════════════
       STICKY BUY BAR — solo móvil (≤ 768px)
    ═══════════════════════════════════════════════ */
    .sticky-bar {
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
      display: flex; align-items: center; gap: 12px;
      background: rgba(5,5,5,0.97);
      border-top: 1px solid rgba(184,115,51,0.22);
      padding: 12px 20px;
      padding-bottom: max(14px, env(safe-area-inset-bottom));
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transform: translateY(100%);
      transition: transform 280ms cubic-bezier(0.22,1,0.36,1);
      pointer-events: none;
    }
    .sticky-bar.show {
      transform: translateY(0);
      pointer-events: auto;
    }
    .sticky-bar-info { flex: 1; min-width: 0; }
    .sticky-bar-name {
      font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase;
      color: rgba(240,235,225,0.35); margin-bottom: 3px;
      font-family: var(--font-sans);
    }
    .sticky-bar-price {
      font-family: var(--font-sans); font-size: 1.1rem;
      font-weight: 500; color: var(--crema);
    }
    .sticky-price-old {
      font-size: 0.78rem; color: rgba(240,235,225,0.22);
      text-decoration: line-through; margin-right: 6px;
    }
    .sticky-bar-btn {
      background: var(--cobre); color: var(--negro);
      border: none; cursor: pointer; flex-shrink: 0;
      padding: 13px 18px;
      font-family: var(--font-sans); font-size: 0.62rem;
      font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
      transition: background var(--dur-micro) ease; white-space: nowrap;
    }
    .sticky-bar-btn:active { background: var(--cobre-claro); }
    @media (min-width: 769px) { .sticky-bar { display: none !important; } }
