/* =========================================================
   GoChess · estilo "Tablero nocturno" — oscuro, elegante, moderno
   ========================================================= */
:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --surface: #17171b;
  --line: rgba(236, 231, 220, .09);
  --line-2: rgba(236, 231, 220, .16);
  --ink: #ece7dc;
  --muted: #a19d94;
  --gold: #c9a96e;
  --gold-2: #e2c893;
  --gold-soft: rgba(201, 169, 110, .12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --glyph: "Noto Sans Symbols 2", "Segoe UI Symbol", "DejaVu Sans", serif;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold-2); }
/* Títulos: la parte destacada va en blanco (sin dorado), manteniendo la cursiva */
.section__title em, .shop-hero__title em { color: var(--ink); }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--bg); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem); letter-spacing: .26em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 48px; height: 2px; flex: none;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { display: none; background: linear-gradient(90deg, var(--gold), transparent); }
/* En títulos centrados, línea a ambos lados */
.section__head:not(.section__head--left) .eyebrow::after { display: block; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .eyebrow {
    background-image: linear-gradient(100deg, #b8945a 0%, #f0dcae 45%, #c9a96e 70%, #e8cf98 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .eyebrow::before, .eyebrow::after { -webkit-text-fill-color: initial; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; border: 1px solid transparent; cursor: pointer;
  font-family: inherit;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #141210; }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 12px 30px -10px rgba(201, 169, 110, .55); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Cabecera ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 13, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 98px; }
.nav__logo.brand { --w: 210px; } /* logo de la cabecera más grande */
@media (min-width: 921px) and (max-width: 1100px) { .nav__logo.brand { --w: 175px; } .nav__links { gap: 18px; font-size: .86rem; } .nav__inner { gap: 22px; } }
.nav__logo img { width: 150px; height: auto; }

/* Logo con corona (corona en línea sobre "Go", mismo marfil del logo) */
.brand { --w: 150px; position: relative; display: inline-block; padding-top: calc(var(--w) * .265); line-height: 0; }
.brand img { width: var(--w); height: auto; }
.brand__crown {
  position: absolute; top: 0; left: calc(var(--w) * (.5 - .3 / 2)); /* centrada sobre toda la palabra */
  width: calc(var(--w) * .3); height: auto; overflow: visible;
}
.brand__crown path { fill: none; stroke: #f5f1e8; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.footer__logo.brand { --w: 170px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: .92rem; color: var(--muted); }
.nav__links a { position: relative; padding: 4px 0; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; }
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 45%, rgba(201, 169, 110, .10), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(201, 169, 110, .05), transparent 70%),
    var(--bg);
}
.hero::before { /* retícula de tablero muy sutil */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem); line-height: 1.06; letter-spacing: -.01em;
}
.hero__cite {
  margin-top: 18px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px;
}
.hero__cite::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero__lead { margin-top: 26px; max-width: 34rem; color: var(--muted); font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts {
  list-style: none; padding: 0; margin: 46px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px;
  color: var(--muted); font-size: .9rem;
}
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts span { font-family: var(--glyph); color: var(--gold); font-size: 1.15rem; }

.hero__board-wrap, .hero__visual { position: relative; perspective: 1200px; }
.hero__photo {
  position: relative; margin: 0 0 0 auto; width: min(100%, 500px); aspect-ratio: 1;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85), 0 0 0 8px rgba(201, 169, 110, .06);
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -6deg));
  transition: transform .8s var(--ease);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { /* brillo suave para integrar la foto con el fondo oscuro */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.08), transparent 40%, rgba(11,11,13,.25));
}
.board {
  position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-left: auto;
  border-radius: 10px; padding: 14px;
  background: linear-gradient(145deg, #222128, #121215);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -10deg));
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.board__squares {
  position: absolute; inset: 14px; border-radius: 4px;
  background:
    repeating-conic-gradient(#2a2830 0 25%, #1a191e 0 50%) 0 0 / 25% 25%;
}
.board__squares::after {
  content: ""; position: absolute; inset: 0; border-radius: 4px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), transparent 45%);
}
.pc {
  position: absolute;
  left: calc(14px + (100% - 28px) / 8 * (var(--c) - 1));
  top: calc(14px + (100% - 28px) / 8 * (var(--r) - 1));
  width: calc((100% - 28px) / 8); height: calc((100% - 28px) / 8);
  display: grid; place-items: center;
  font-family: var(--glyph); font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 1;
  transform: translateZ(18px);
  transition: transform .5s var(--ease);
}
.pc--w { color: var(--ink); text-shadow: 0 6px 14px rgba(0, 0, 0, .6); }
.pc--b { color: var(--gold); text-shadow: 0 6px 14px rgba(0, 0, 0, .6); }
.board:hover .pc { transform: translateZ(30px); }
.board__glow {
  position: absolute; inset: 15% 5% -10% 15%; z-index: -1;
  background: radial-gradient(closest-side, rgba(201, 169, 110, .22), transparent);
  filter: blur(30px);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--gold); animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
/* Primera sección de la página principal (debajo de la cabecera fija) */
.section--first {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding-top: calc(98px + clamp(40px, 6vw, 80px));
  background: radial-gradient(60% 50% at 50% 0%, rgba(201, 169, 110, .09), transparent 70%), var(--bg);
}
.section--first > .wrap { width: min(var(--wrap), 100% - 32px); }
/* Título de portada en una sola línea en pantallas medianas y grandes */
@media (min-width: 900px) {
  .section--first .section__head { max-width: none; }
  .section--first .section__title { white-space: nowrap; }
}
.section__head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section__head--left { text-align: left; margin: 0; }
.section__head--sub { margin-top: 110px; margin-bottom: 40px; }
.section__title {
  font-family: var(--serif); font-weight: 500; line-height: 1.08;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.005em;
}
.section__title--sm { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section__lead { margin-top: 20px; color: var(--muted); font-size: 1.05rem; }
.section__head--left .btn { margin-top: 34px; }
.center { text-align: center; margin-top: 56px; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service {
  position: relative; background: var(--bg); padding: 40px 30px 36px;
  display: flex; flex-direction: column; gap: 14px; min-height: 340px;
  transition: background .5s var(--ease);
}
.service:hover { background: var(--surface); }
.service__num { font-size: .78rem; color: var(--muted); letter-spacing: .15em; }
.service__icon {
  font-family: var(--glyph); font-size: 2.6rem; color: var(--gold); line-height: 1; margin: 8px 0 6px;
  transition: transform .5s var(--ease);
}
.service:hover .service__icon { transform: translateY(-6px) rotate(-6deg); }
/* Piezas dibujadas en línea (estilo Staunton), mismo dorado y tamaño que los iconos anteriores */
.service__icon .piece { display: block; height: 2.6rem; width: auto; overflow: visible; }
.piece * { fill: rgba(201, 169, 110, .14); stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.piece .fill { fill: currentColor; stroke: none; }
.service h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
/* Títulos de servicios con la letra y colores del logo: primera palabra blanca, resto gris */
.service .service__title {
  font-family: "Orbitron", var(--sans); font-weight: 800; font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  line-height: 1.25; letter-spacing: .01em; color: #f5f1e8;
}
.service__title span { color: #9e9e9e; }
.service p { color: var(--muted); font-size: .95rem; }
.service__more { margin-top: auto; color: var(--gold); font-size: .9rem; font-weight: 600; }

/* Split */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.split--contact { align-items: start; }

/* Placeholders de imagen */
.ph {
  position: relative; border-radius: 10px; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(201, 169, 110, .10), transparent 70%),
    repeating-conic-gradient(rgba(255,255,255,.025) 0 25%, transparent 0 50%) 0 0 / 40px 40px,
    var(--surface);
  border: 1px solid var(--line);
}
.ph--square { aspect-ratio: 1; }
.ph--wide { aspect-ratio: 4 / 3; }
.ph > span { font-family: var(--glyph); font-size: 3.4rem; color: var(--gold); opacity: .8; transition: transform .6s var(--ease); }
.ph__clock { /* icono de reloj de ajedrez dibujado con CSS */
  width: 64px; height: 40px; border: 2px solid var(--gold); border-radius: 8px; position: relative; opacity: .85;
}
.ph__clock::before, .ph__clock::after {
  content: ""; position: absolute; top: 9px; width: 18px; height: 18px; border: 2px solid var(--gold); border-radius: 50%;
}
.ph__clock::before { left: 7px; } .ph__clock::after { right: 7px; }

.shop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shop__item h3 { font-family: var(--serif); font-size: 1.45rem; margin-top: 16px; }
.shop__item p { color: var(--muted); font-size: .9rem; }
.shop__item:hover .ph > span { transform: scale(1.12) rotate(-5deg); }
.shop__item { display: block; }
.shop__img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.shop__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.shop__item:hover .shop__img img { transform: scale(1.05); }
.shop__item:hover h3 { color: var(--gold-2); }
.shop__item h3 { transition: color .3s; }

/* Eventos a medida */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.audience {
  padding: 36px 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg));
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.audience:hover { border-color: rgba(201, 169, 110, .45); transform: translateY(-4px); }
.audience h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 12px; }
.audience p { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line-2); }
.step__n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-weight: 600; margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Eventos propios */
.events { display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 32px; align-items: center;
  padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.event:hover { border-color: rgba(201, 169, 110, .45); background: var(--surface); }
.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1; border-radius: 12px; background: var(--gold-soft); border: 1px solid rgba(201,169,110,.3);
}
.event__day { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--gold-2); font-weight: 600; }
.event__month { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.event__tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.event h3 { font-family: var(--serif); font-size: 1.65rem; }
.event__meta { color: var(--ink); opacity: .75; font-size: .88rem; margin: 2px 0 8px; }
.event__body > p:last-child { color: var(--muted); font-size: .95rem; max-width: 42rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery__item { margin: 0; }
.gallery__item figcaption { display: flex; flex-direction: column; margin-top: 14px; }
.gallery__item strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.gallery__item figcaption span { color: var(--muted); font-size: .9rem; }
.gallery__item:hover .ph > span { transform: scale(1.12); }

/* Clases */
.levels { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -24px 0 56px; }
.levels span { padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .85rem; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 42px 34px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan--featured { border-color: rgba(201, 169, 110, .6); background: linear-gradient(180deg, rgba(201,169,110,.10), var(--surface) 55%); }
.plan__badge {
  position: absolute; top: -13px; left: 34px; background: var(--gold); color: #141210;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-family: var(--serif); font-size: 1.9rem; }
.plan__price { display: flex; align-items: flex-start; margin-top: 6px; color: var(--muted); font-family: var(--sans); }
.plan__price sup { font-size: 1.1rem; line-height: 1; margin-top: 4px; color: var(--ink); top: 0; }
.plan__price strong { font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: .9; font-weight: 400; letter-spacing: -.02em; color: var(--ink); margin: 0 12px 0 2px; }
.plan__price span { align-self: center; font-size: 1rem; }
.plan--featured .plan__price strong, .plan--featured .plan__price sup { color: var(--gold-2); }
.plan > p:nth-last-child(2) { margin-bottom: 28px; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 28px; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "♙\FE0E"; font-family: var(--glyph); color: var(--gold); }
.plan .btn { margin-top: auto; }

/* Cita */
.quote { padding: clamp(80px, 10vw, 130px) 0; text-align: center; background: radial-gradient(50% 80% at 50% 50%, rgba(201,169,110,.08), transparent 70%); }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.15; font-weight: 500; }
.quote cite { display: block; margin-top: 20px; font-style: normal; letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; color: var(--gold); }

/* Contacto: tres canales */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.channel {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 40px 28px 34px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg));
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.channel__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px;
  color: var(--gold); border: 1px solid rgba(201, 169, 110, .4); background: var(--gold-soft);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.channel__name { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1.1; }
.channel__detail { color: var(--muted); font-size: .92rem; word-break: break-word; }
.channel__cta { margin-top: 14px; color: var(--gold); font-weight: 600; font-size: .9rem; }
a.channel:hover { transform: translateY(-5px); border-color: rgba(201, 169, 110, .55); }
a.channel:hover .channel__icon { background: var(--gold); color: #141210; }
.channel--wa:hover .channel__icon { background: #25d366; border-color: #25d366; color: #fff; }
.channel--soon { opacity: .55; cursor: default; }
.channel--ig:hover .channel__icon { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); border-color: transparent; color: #fff; }
@media (max-width: 760px) { .channels { grid-template-columns: 1fr; } .channel { padding: 30px 22px 26px; } }

/* Contacto (antiguo formulario) */
.contact-data { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-data li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-data span { color: var(--muted); font-size: .9rem; }
.contact-data strong { font-weight: 600; text-align: right; word-break: break-word; }
.form { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: grid; gap: 18px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.form label small { opacity: .7; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px; font: inherit; font-size: .98rem;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color .3s, box-shadow .3s;
}
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form select option { background: var(--surface); color: var(--ink); }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.form .is-invalid { border-color: #c96e6e; }
.form__status { min-height: 1.4em; font-size: .92rem; color: var(--gold-2); text-align: center; }

/* ---------- Página de tienda ---------- */
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.shop-hero {
  padding: 170px 0 40px; text-align: center; position: relative;
  background: radial-gradient(50% 70% at 50% 0%, rgba(201, 169, 110, .10), transparent 70%);
}
.shop-hero .section__lead { max-width: 640px; margin-inline: auto; }
.shop-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 5.5vw, 4.4rem); line-height: 1.05; }
.section--tight { padding-top: 40px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.filter {
  font: inherit; font-size: .88rem; color: var(--muted); background: transparent; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line-2);
  transition: color .3s, border-color .3s, background .3s;
}
.filter:hover { color: var(--ink); border-color: var(--gold); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: #141210; font-weight: 600; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product {
  display: flex; flex-direction: column; padding: 14px 14px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.product[hidden] { display: none; }
.product:hover { border-color: rgba(201, 169, 110, .45); transform: translateY(-4px); }
.product:hover .ph > span { transform: scale(1.12) rotate(-5deg); }
.product__body { padding: 18px 6px 18px; }
.product__cat { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.product__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
.product__price { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.product__cta { margin: auto 6px 0; }
.product__img {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff;
}
.product__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.product:hover .product__img img { transform: scale(1.04); }
.product__desc { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.product__specs { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.product__specs summary {
  cursor: pointer; list-style: none; font-size: .86rem; font-weight: 600; color: var(--gold);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.product__specs summary::-webkit-details-marker { display: none; }
.product__specs summary::after { content: "+"; font-size: 1.2rem; line-height: 1; transition: transform .3s var(--ease); }
.product__specs[open] summary::after { transform: rotate(45deg); }
.product__specs ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .86rem; }
.product__specs li { position: relative; padding-left: 16px; }
.product__specs li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.product__price { color: var(--gold-2); font-weight: 600; }
.product__price--set { font-size: 1.5rem; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.product__price--set span { font-size: .8rem; color: var(--muted); letter-spacing: .08em; margin-left: 4px; }
.product__actions { margin: auto 6px 0; display: grid; gap: 10px; text-align: center; }
.product__ask { font-size: .84rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.product__ask:hover { color: var(--gold-2); }
.product__ask--note { text-decoration: none; }

/* Selector de cantidad (lo añade main.js) */
.qty-wrap { margin: auto 6px 14px; }
.qty-wrap + .product__actions, .qty-wrap + .product__cta { margin-top: 0; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty__label { font-size: .84rem; color: var(--muted); margin-right: auto; }
.qty__btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; color: var(--ink); font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer;
  transition: border-color .3s, color .3s;
}
.qty__btn:hover { border-color: var(--gold); color: var(--gold-2); }
.qty__input {
  width: 52px; height: 36px; text-align: center; font: inherit; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; border-color: var(--gold); }
.qty__total { margin-top: 10px; min-height: 1.4em; font-size: .9rem; color: var(--muted); text-align: right; }
.qty__total strong { color: var(--gold-2); font-size: 1.05rem; }
.product__ask--note:hover { color: var(--muted); }

/* Producto con opciones (estuche / bolsa): radios ocultos + CSS, sin depender de JS */
.variant-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.product--variants { position: relative; }
.product--variants .product__img { display: grid; }
.product--variants .product__img img { grid-area: 1 / 1; }
.variants { display: flex; gap: 8px; margin-top: 16px; }
.variant {
  flex: 1; text-align: center; cursor: pointer; user-select: none;
  padding: 9px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  border: 1px solid var(--line-2); color: var(--muted);
  transition: color .3s, border-color .3s, background .3s;
}
.variant:hover { color: var(--ink); border-color: var(--gold); }
#jp-estuche:checked ~ .product__body .variant[data-v="estuche"],
#jp-bolsa:checked ~ .product__body .variant[data-v="bolsa"] { background: var(--gold); border-color: var(--gold); color: #141210; }
.variant-radio:focus-visible ~ .product__body .variants { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 999px; }
#jp-estuche:checked ~ .v--bolsa, #jp-estuche:checked ~ * .v--bolsa,
#jp-bolsa:checked ~ .v--estuche, #jp-bolsa:checked ~ * .v--estuche { display: none; }
.shop-note {
  margin-top: 64px; padding: 36px 40px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--gold-soft), transparent 60%);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.shop-note p { color: var(--muted); max-width: 640px; }
.shop-note strong { color: var(--ink); font-weight: 600; }
@media (max-width: 1080px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .products { grid-template-columns: repeat(2, 1fr); gap: 14px; } .product__name { font-size: 1.2rem; } }
@media (max-width: 420px) { .products { grid-template-columns: 1fr; } .shop-note { padding: 28px 22px; } }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6), 0 0 0 0 rgba(37, 211, 102, .5);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: waPulse 2.6s ease-out 2s 3;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 36px -8px rgba(0, 0, 0, .7), 0 0 0 6px rgba(37, 211, 102, .18); }
@keyframes waPulse {
  0% { box-shadow: 0 14px 30px -8px rgba(0,0,0,.6), 0 0 0 0 rgba(37,211,102,.5); }
  100% { box-shadow: 0 14px 30px -8px rgba(0,0,0,.6), 0 0 0 18px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
@media (max-width: 640px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } }

/* Pie */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 26px; justify-items: center; text-align: center; }
.footer__logo { width: 170px; opacity: .9; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-size: .9rem; }
.footer__links a:hover { color: var(--gold-2); }
.footer__copy { color: var(--muted); font-size: .82rem; opacity: .8; }

/* ---------- Apariciones al hacer scroll (solo con JS activo) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* red de seguridad sin JS: si main.js no llega a cargar, todo aparece a los 5 s */
.js .reveal { animation: revealFallback .6s 5s forwards; }
@keyframes revealFallback { to { opacity: 1; transform: none; } }

/* Movimiento reducido: solo se apaga lo intrusivo (el punto animado del scroll) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .nav__links { gap: 22px; }
}
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: grid; place-content: center; gap: 7px; margin-left: auto;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  }
  .nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__mobile {
    display: grid; gap: 4px; padding: 8px 16px 24px;
    background: rgba(11, 11, 13, .97); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; padding-block: 0; transition: max-height .5s var(--ease), padding .5s var(--ease);
  }
  .nav__mobile a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.5rem; }
  .nav.is-open { background: rgba(11, 11, 13, .97); }
  .nav.is-open .nav__mobile { max-height: 560px; padding-block: 8px 24px; }

  .hero { padding-top: 110px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .board, .hero__photo { margin: 0 auto; width: min(100%, 420px); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .audiences, .plans, .gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .shop { gap: 14px; }
  .event { grid-template-columns: 72px 1fr; gap: 18px; padding: 22px 20px; }
  .event__day { font-size: 1.8rem; }
  .event__cta { grid-column: 1 / -1; }
  .form { padding: 24px 20px; }
  .form__row--2 { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .nav__logo.brand { --w: 165px; }
}
