/* =========================================================
   BAIRES MODA — sistema de diseño
   Tinta y papel: la interfaz es estrictamente blanco y negro,
   y las fotografías de la tienda aportan todo el color.
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,300..800&family=Instrument+Sans:ital,wght@0,400..700;1,400..600&display=swap');

:root{
  --paper:    #0C0C0C;
  --paper-2:  #1A1A1A;
  --ink:      #FFFFFF;
  --ink-2:    #9A9A9A;
  --rule:     #2C2C2C;
  --flash:    #FF2A3D;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;

  --shell: 1320px;
  --gutter: 20px;
  --header-h: 62px;

  --ease: cubic-bezier(.2,.7,.3,1);
}

@media(min-width:900px){
  :root{ --gutter: 44px; --header-h: 74px; }
}

*{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  font-synthesis-weight:none;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
p{ margin:0; }
button{ font:inherit; color:inherit; }

h1,h2,h3{
  font-family:var(--font-display);
  font-weight:800;
  letter-spacing:-0.032em;
  line-height:0.98;
  margin:0;
  text-wrap:balance;
}

:focus-visible{
  outline:2px solid var(--ink);
  outline-offset:3px;
}

::selection{ background:var(--ink); color:var(--paper); }

/* ---------- Escala tipográfica ---------- */
.t-display{ font-size:clamp(2.9rem, 7.4vw, 6.2rem); }
.t-xl{ font-size:clamp(2.1rem, 4.6vw, 3.9rem); }
.t-l{ font-size:clamp(1.65rem, 3vw, 2.6rem); }
.t-lead{
  font-family:var(--font-body);
  font-size:clamp(1.02rem, 1.35vw, 1.2rem);
  line-height:1.55;
  letter-spacing:-0.005em;
  max-width:46ch;
  color:var(--ink-2);
}
.t-note{ font-size:0.875rem; color:var(--ink-2); }

/* ---------- Estructura ---------- */
.shell{
  max-width:var(--shell);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.band{ padding-block:clamp(64px, 9vw, 128px); }
.band-head{ max-width:34ch; margin-bottom:clamp(32px, 4vw, 56px); }
.band-head .t-lead{ margin-top:16px; }

/* Apertura de las páginas interiores */
.page-open{ padding-block:clamp(52px,7vw,112px) clamp(30px,4vw,52px); }
.page-open h1{ max-width:15ch; }
.page-open .t-lead{ margin-top:20px; }
.page-open .mark-wrap{ margin-bottom:22px; }
.page-open .logo-mark{ height:clamp(38px,5vw,50px); width:auto; }

/* =========================================================
   CABECERA
========================================================= */
.site-header{
  position:sticky; top:0; z-index:60;
  background:color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter:blur(14px) saturate(150%);
  border-bottom:1px solid var(--rule);
}
.site-header .row{
  display:flex; align-items:center; gap:24px;
  height:var(--header-h);
  max-width:var(--shell); margin-inline:auto;
  padding-inline:var(--gutter);
}

.logo-wrap{ display:inline-flex; align-items:center; gap:10px; margin-right:auto; }
.logo-img{ height:26px; width:auto; filter:invert(1); }
.logo{
  font-family:var(--font-display);
  font-weight:800; font-size:1.02rem; letter-spacing:-0.03em;
}
.logo em{ font-style:normal; }

.nav-desktop{ display:none; }
@media(min-width:900px){
  .nav-desktop{ display:flex; align-items:center; gap:30px; }
  .nav-desktop a{
    font-size:0.925rem; font-weight:500; letter-spacing:-0.01em;
    padding-block:6px; position:relative;
  }
  .nav-desktop a::after{
    content:''; position:absolute; left:0; right:0; bottom:0;
    height:1.5px; background:var(--ink);
    transform:scaleX(0); transform-origin:left;
    transition:transform .28s var(--ease);
  }
  .nav-desktop a:hover::after,
  .nav-desktop a.active::after{ transform:scaleX(1); }
}

.header-utilities{ display:flex; align-items:center; gap:4px; }
.lang-select{
  display:inline-flex; align-items:center; justify-content:center;
  height:34px; border:none; background:none; cursor:pointer;
  color:var(--ink); border-radius:999px;
  transition:background .2s var(--ease);
  padding:0 8px; font-family:var(--font-body);
  font-size:0.78rem; font-weight:600; letter-spacing:0.02em;
  appearance:none; -webkit-appearance:none;
}
.lang-select:hover{ background:var(--paper-2); }

.nav-toggle{
  display:inline-flex; flex-direction:column; justify-content:center; gap:5px;
  width:34px; height:34px; padding:0;
  background:none; border:none; cursor:pointer;
}
@media(min-width:900px){ .nav-toggle{ display:none; } }
.nav-toggle span{
  display:block; height:1.5px; width:19px; background:var(--ink);
  transition:transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* La apertura se hace con display, no con una transición de altura: si la
   animación no llega a ejecutarse, el menú se abre igual. Es navegación,
   no puede depender de que el motor de animaciones responda. */
.nav-mobile{ display:none; background:var(--paper); }
.nav-mobile.open{ display:block; border-bottom:1px solid var(--rule); }
.nav-mobile.open .nav-mobile-inner{ animation:drawer .3s var(--ease); }
@keyframes drawer{
  from{ opacity:0; transform:translateY(-10px); }
  to{ opacity:1; transform:none; }
}
.nav-mobile a{
  display:block; padding:14px var(--gutter);
  font-family:var(--font-display); font-weight:700;
  font-size:1.45rem; letter-spacing:-0.03em;
}
.nav-mobile .header-utilities{ padding:12px var(--gutter) 20px; }
@media(min-width:900px){ .nav-mobile{ display:none; } }

/* =========================================================
   BOTONES Y ENLACES
========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--font-body); font-weight:600;
  font-size:0.94rem; letter-spacing:-0.01em;
  padding:14px 26px; border:1.5px solid var(--ink);
  border-radius:999px; cursor:pointer;
  background:none; color:var(--ink);
  transition:background .22s var(--ease), color .22s var(--ease), transform .12s var(--ease);
}
.btn:active{ transform:scale(0.98); }
.btn-solid{ background:var(--ink); color:var(--paper); }
.btn-solid:hover{ background:var(--ink-2); border-color:var(--ink-2); }
.btn-line:hover{ background:var(--ink); color:var(--paper); }
.btn svg{ width:17px; height:17px; flex:none; }

.link-underline{
  font-weight:600; font-size:0.94rem;
  border-bottom:1.5px solid var(--ink); padding-bottom:2px;
  transition:opacity .2s var(--ease);
}
.link-underline:hover{ opacity:0.55; }

.header-cta{ display:none; }
@media(min-width:900px){
  .header-cta{
    display:inline-flex; padding:10px 20px; font-size:0.875rem;
  }
}
.nav-mobile .header-cta{ display:inline-flex; margin:4px var(--gutter) 8px; }

/* =========================================================
   ESCENA — un único fondo oscuro con estrellas para toda la
   web: fijo detrás de todo, sin cortes entre secciones.
========================================================= */
.site-scene{
  position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none;
  background:radial-gradient(140% 120% at 18% 8%, #211f1c 0%, #0a0a09 55%, #000 100%);
}
.scene-glints{ position:absolute; inset:0; }
.glint{
  position:absolute; left:var(--x); top:var(--y);
  width:var(--s); height:var(--s); border-radius:50%;
  background:#fff; box-shadow:0 0 6px 1px rgba(255,255,255,.8);
  opacity:0; animation:glint-twinkle var(--dur) ease-in-out infinite;
  animation-delay:var(--delay);
}
.glint-soft{
  background:radial-gradient(circle, rgba(255,255,255,.45), rgba(255,255,255,0) 70%);
  box-shadow:none; filter:blur(1px);
  animation-name:glint-drift;
}
@keyframes glint-twinkle{
  0%, 100%{ opacity:0; transform:scale(.5); }
  50%{ opacity:.95; transform:scale(1); }
}
@keyframes glint-drift{
  0%, 100%{ opacity:.1; transform:scale(.88) translateY(0); }
  50%{ opacity:.3; transform:scale(1.06) translateY(-8px); }
}

/* El isotipo desprendiendo destellos, como chispas cayendo de tinta */
.mark-wrap{ position:relative; z-index:1; display:inline-block; }
.logo-mark{ display:block; filter:invert(1); }
.mark-spark{ position:absolute; inset:0; pointer-events:none; }
.mark-spark i{
  position:absolute; top:50%; left:50%; width:3px; height:3px; border-radius:50%;
  background:#fff; box-shadow:0 0 6px 1px rgba(255,255,255,.9);
  opacity:0; animation:spark-out var(--dur) ease-out infinite;
  animation-delay:var(--delay);
}
@keyframes spark-out{
  0%{ opacity:0; transform:translate(-50%,-50%) rotate(var(--a)) translateX(6px) scale(.6); }
  18%{ opacity:1; }
  100%{ opacity:0; transform:translate(-50%,-50%) rotate(var(--a)) translateX(var(--dist)) scale(.2); }
}

/* =========================================================
   HOME — hero
========================================================= */
.hero{ display:grid; gap:0; }
@media(min-width:960px){
  .hero{
    grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);
    align-items:stretch;
    min-height:min(78svh, 680px);
  }
}
.hero-copy{
  position:relative; z-index:1;
  padding:clamp(48px,7vw,92px) var(--gutter) clamp(52px,7vw,92px);
  max-width:calc(var(--shell) / 2 + var(--gutter));
  margin-left:auto; width:100%;
  display:flex; flex-direction:column; justify-content:center;
  align-items:flex-start;
}
.hero .mark-wrap{ margin-bottom:26px; }
.hero .logo-mark{ height:clamp(46px,6vw,64px); width:auto; }
.hero h1{ text-wrap:pretty; }
.hero-name{ line-height:0.86; }
.hero .t-lead{ margin-top:24px; font-size:clamp(0.97rem, 1.1vw, 1.05rem); max-width:42ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }

.hero-photo{
  position:relative; overflow:hidden;
  min-height:46svh; background:var(--paper-2);
}
@media(min-width:960px){ .hero-photo{ min-height:0; } }
.hero-photo img{ width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.hero-photo::after{
  content:""; position:absolute; inset:0;
  box-shadow:inset 0 -80px 90px -60px rgba(0,0,0,.65);
  pointer-events:none;
}
@media(min-width:960px){
  .hero-photo::after{ box-shadow:inset -40px 0 90px -60px rgba(0,0,0,.5); }
}

.pasarela{ position:relative; }
.hero-stage{
  position:relative; z-index:1; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  min-height:400px; perspective:1400px;
}
@media(min-width:960px){ .hero-stage{ min-height:min(58svh, 560px); } }
.hero-stage::before{
  content:""; position:absolute;
  width:min(66%, 420px); aspect-ratio:1;
  background:radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 68%);
  animation:glow-pulse 5.5s ease-in-out infinite;
}
@keyframes glow-pulse{
  0%, 100%{ opacity:.55; transform:scale(.94); }
  50%{ opacity:1; transform:scale(1.05); }
}

/* Carrusel de prendas — un anillo en 3D con las fotos reales de la
   pasarela, girando siempre. Cada tarjeta es un producto real del
   catálogo: tocarla lleva directo a esa prenda. */
.carousel{
  position:relative; display:block; width:100%; height:100%;
  min-height:340px; perspective:1500px;
}
@media(min-width:960px){ .carousel{ min-height:0; } }
.carousel-ring{
  position:absolute; top:50%; left:50%;
  width:1px; height:1px;
  transform:translate(-50%,-50%) rotateY(0deg);
  transform-style:preserve-3d;
  animation:ring-spin 34s linear infinite;
}
@keyframes ring-spin{ to{ transform:translate(-50%,-50%) rotateY(360deg); } }
.carousel-card-pos{
  position:absolute; top:50%; left:50%;
  width:clamp(190px,24vw,300px); aspect-ratio:3/4;
  margin:calc(clamp(190px,24vw,300px) * -4 / 3 / 2) 0 0 calc(clamp(190px,24vw,300px) / -2);
  transform-style:preserve-3d;
  transform:rotateY(calc(360deg / var(--n, 1) * var(--i, 0))) translateZ(clamp(260px,32vw,420px));
}
.carousel-card-counter{
  width:100%; height:100%;
  transform-style:preserve-3d;
  animation:card-counter-spin 34s linear infinite;
}
@keyframes card-counter-spin{
  from{ transform:rotateY(calc(-360deg / var(--n, 1) * var(--i, 0))); }
  to{ transform:rotateY(calc(-360deg / var(--n, 1) * var(--i, 0) - 360deg)); }
}
.carousel-card{
  position:relative; display:block; width:100%; height:100%;
  overflow:hidden; box-shadow:0 24px 40px -18px rgba(0,0,0,.8);
  background:var(--paper-2);
  color:inherit; text-decoration:none; cursor:pointer;
  transition:box-shadow .25s var(--ease);
}
.carousel-card:hover{ box-shadow:0 24px 44px -14px rgba(0,0,0,.9); }
.carousel-card img{ width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
.carousel-card-tags{
  position:absolute; top:10px; left:10px; z-index:2;
  display:flex; flex-direction:column; align-items:flex-start; gap:6px;
}
.carousel-card-info{
  position:absolute; inset:auto 0 0 0;
  padding:32px 16px 16px;
  background:linear-gradient(to top, rgba(0,0,0,.85) 12%, rgba(0,0,0,.4) 55%, transparent);
  display:flex; flex-direction:column; gap:2px;
  pointer-events:none;
}
.carousel-card-info strong{
  font-family:var(--font-display); font-weight:600; color:#fff;
  font-size:0.95rem; line-height:1.25; text-wrap:pretty;
}
.carousel-card-price{ display:flex; gap:8px; align-items:baseline; font-size:0.84rem; font-weight:600; color:#fff; }
.carousel-card-price .price-old{ color:rgba(255,255,255,.6); font-size:0.76rem; }
.carousel-card-price .price-new{ color:var(--flash); }
.carousel-card-size{ font-size:0.74rem; color:rgba(255,255,255,.68); }
.carousel-shadow{
  position:absolute; bottom:6%; left:50%; translate:-50% 0;
  width:50%; max-width:240px; aspect-ratio:6/1; border-radius:50%;
  background:radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,0) 75%);
  filter:blur(2px);
}

/* =========================================================
   COLLAGE DE CATÁLOGO
   Fotos de ropa y de la tienda en columnas de distinto alto,
   como un collage. Sin texto ni precio encima: se va bajando
   con el scroll, no entra todo de un vistazo.
========================================================= */
.showcase{
  border-bottom:1px solid var(--rule);
  padding-block:clamp(20px,3vw,32px) 18px;
}
.collage{
  column-count:1;
  column-gap:clamp(10px,1.8vw,20px);
  padding-inline:var(--gutter);
}
@media(min-width:640px){ .collage{ column-count:2; } }
@media(min-width:1080px){ .collage{ column-count:3; } }

.collage-item{
  break-inside:avoid; -webkit-column-break-inside:avoid;
  margin-bottom:clamp(8px,1.6vw,16px);
  overflow:hidden; background:var(--paper-2);
}
.collage-item img{
  width:100%; height:auto; display:block;
  user-select:none; -webkit-user-drag:none;
  transition:transform .5s var(--ease);
}
@media(hover:hover) and (pointer:fine){
  .collage-item:hover img{ transform:scale(1.035); }
}

.showcase-jump{
  display:flex; align-items:baseline; gap:10px;
  padding:26px var(--gutter) 0;
  max-width:var(--shell); margin-inline:auto;
  font-size:0.94rem; font-weight:600;
}
.showcase-jump .count{ font-variant-numeric:tabular-nums; }
.showcase-jump span.hint{ color:var(--ink-2); font-weight:400; }

.showcase-empty{
  display:grid; place-items:center; text-align:center;
  height:44svh; margin-inline:var(--gutter);
  background:var(--paper-2); padding:32px;
  color:var(--ink-2); font-size:0.94rem;
}

/* =========================================================
   TIRA DE FOTOS (home)
========================================================= */
.rail{
  display:flex; gap:12px; overflow-x:auto;
  scroll-snap-type:x mandatory; scrollbar-width:none;
  padding-inline:var(--gutter);
}
.rail::-webkit-scrollbar{ display:none; }
.rail-item{
  position:relative; flex:0 0 min(74vw, 420px);
  aspect-ratio:4/5; scroll-snap-align:start;
  overflow:hidden; background:var(--paper-2);
}
.rail-item img{ width:100%; height:100%; object-fit:cover; }
.rail-item figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:44px 18px 16px;
  background:linear-gradient(to top, rgba(0,0,0,.6), transparent);
  color:#fff; font-size:0.9rem; font-weight:600;
}
.rail-empty{
  flex:0 0 100%; display:grid; place-items:center;
  aspect-ratio:16/7; background:var(--paper-2);
  color:var(--ink-2); font-size:0.94rem; text-align:center; padding:24px;
}

/* =========================================================
   PRODUCTOS — sin tarjeta: la foto hace el trabajo
========================================================= */
.product-grid{
  display:grid; gap:clamp(28px,3.4vw,52px) clamp(14px,2vw,26px);
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media(min-width:760px){ .product-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(min-width:1120px){ .product-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }

.product{ position:relative; }
.product-photo{
  position:relative; aspect-ratio:3/4; overflow:hidden;
  background:var(--paper-2); margin-bottom:14px;
}
.product-photo img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .7s var(--ease);
}
.product:hover .product-photo img{ transform:scale(1.035); }
.product.is-highlighted .product-photo{ animation:product-ping 1.4s ease-out 1; }
@keyframes product-ping{
  0%{ box-shadow:0 0 0 0 rgba(255,255,255,.85); }
  100%{ box-shadow:0 0 0 16px rgba(255,255,255,0); }
}
.product-photo .no-photo{
  position:absolute; inset:0; display:grid; place-items:center;
  padding:16px; text-align:center;
  font-size:0.78rem; color:var(--ink-2);
}
.product-tags{
  position:absolute; top:10px; left:10px; z-index:2;
  display:flex; flex-direction:column; align-items:flex-start; gap:6px;
}
.tag-flash{
  background:var(--flash); color:#fff;
  font-family:var(--font-display); font-weight:700; text-transform:uppercase;
  font-size:0.68rem; letter-spacing:0.03em;
  padding:5px 10px; border-radius:3px;
  box-shadow:0 3px 14px -3px rgba(255,42,61,.85);
}
.product-name{
  font-family:var(--font-display); font-weight:700;
  font-size:1.06rem; letter-spacing:-0.028em; line-height:1.15;
}
.product-price{ margin-top:6px; font-weight:600; font-size:0.98rem; display:flex; gap:8px; align-items:baseline; }
.product-price.on-request{ font-weight:500; color:var(--ink-2); }
.price-old{ text-decoration:line-through; color:var(--ink-2); font-weight:500; font-size:0.88rem; }
.price-new{ color:var(--flash); font-weight:700; }
.product-size{ margin-top:2px; font-size:0.84rem; color:var(--ink-2); }
.product-desc{
  margin-top:8px; font-size:0.87rem; line-height:1.5;
  color:var(--ink-2); max-width:38ch;
}
.product-ask{
  display:inline-block; margin-top:12px;
  font-size:0.86rem; font-weight:600;
  border-bottom:1.5px solid var(--ink); padding-bottom:1px;
  transition:opacity .2s var(--ease);
}
.product-ask:hover{ opacity:0.55; }
.product-buy{
  display:inline-flex; margin-top:12px; margin-left:14px;
  font-size:0.86rem; font-weight:600;
  background:var(--ink); color:var(--paper);
  border:none; border-radius:999px; padding:9px 18px; cursor:pointer;
}

.empty-note{
  grid-column:1/-1; max-width:44ch;
  font-size:1rem; color:var(--ink-2);
}
.empty-note a{ color:var(--ink); border-bottom:1.5px solid var(--ink); font-weight:600; }

/* =========================================================
   BLOQUE PARTIDO (sobre / visítanos)
========================================================= */
.split{ display:grid; gap:clamp(28px,4vw,64px); align-items:center; }
@media(min-width:900px){
  .split{ grid-template-columns:minmax(0,0.92fr) minmax(0,1fr); }
  .split.reverse > *:first-child{ order:2; }
}
.split-photo{ aspect-ratio:4/5; overflow:hidden; background:var(--paper-2); }
.split-photo img{ width:100%; height:100%; object-fit:cover; }
.split-copy p + p{ margin-top:16px; }
.split-copy .t-lead{ max-width:52ch; }
.split-copy h2 + p{ margin-top:22px; }
.split-copy .link-underline{ display:inline-block; margin-top:24px; }

/* =========================================================
   RESEÑAS
========================================================= */
.testi-grid{
  display:grid; gap:clamp(24px,3vw,40px);
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.testi blockquote{
  margin:0; font-family:var(--font-display);
  font-weight:600; font-size:clamp(1.12rem,1.7vw,1.4rem);
  letter-spacing:-0.026em; line-height:1.25; text-wrap:pretty;
}
.testi-stars{ font-size:0.82rem; letter-spacing:0.14em; margin-bottom:14px; }
.testi-name{ margin-top:14px; font-size:0.85rem; color:var(--ink-2); }

/* =========================================================
   INSTAGRAM
========================================================= */
.ig-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  flex-wrap:wrap; gap:18px; margin-bottom:clamp(24px,3vw,40px);
}
.ig-followers{ font-family:var(--font-body); font-size:0.86rem; font-weight:500; color:var(--ink-2); letter-spacing:0; }
.ig-photo{
  display:block; aspect-ratio:2/1; overflow:hidden; background:var(--paper-2);
  transition:opacity .2s var(--ease);
}
.ig-photo:hover{ opacity:0.9; }
.ig-photo img{ width:100%; height:100%; object-fit:cover; }
@media(max-width:700px){ .ig-photo{ aspect-ratio:4/3; } }

/* =========================================================
   VISÍTANOS
========================================================= */
.info-list{ margin-top:8px; }
.info-list li{
  display:grid; grid-template-columns:96px 1fr; gap:16px;
  padding:15px 0; border-top:1px solid var(--rule);
  font-size:0.95rem;
}
.info-list li:last-child{ border-bottom:1px solid var(--rule); }
.info-list .k{ font-weight:600; }
.info-list .v{ color:var(--ink-2); }
.info-list .v a{ color:var(--ink); border-bottom:1.5px solid var(--ink); font-weight:600; }

.visit-map{
  position:relative; display:block; aspect-ratio:4/3;
  overflow:hidden; background:var(--paper-2);
  transition:opacity .2s var(--ease);
}
.visit-map:hover{ opacity:0.9; }
.visit-map iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
  pointer-events:none; /* el clic lo gestiona el enlace que envuelve el mapa */
  filter:grayscale(1) invert(0.92) contrast(0.95);
}

/* =========================================================
   FORMULARIO
========================================================= */
.form{ display:grid; gap:20px; max-width:520px; }
.field label{
  display:block; font-size:0.85rem; font-weight:600; margin-bottom:7px;
}
.field input, .field textarea{
  width:100%; font-family:var(--font-body); font-size:1rem;
  padding:13px 15px; color:var(--ink);
  background:var(--paper); border:1.5px solid var(--rule); border-radius:4px;
  transition:border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus{ border-color:var(--ink); outline:none; }
.field textarea{ min-height:130px; resize:vertical; }
.field-msg{ font-size:0.8rem; color:var(--ink); margin-top:6px; min-height:1em; font-weight:600; }
.field.field-error input, .field.field-error textarea{ border-color:var(--ink); border-width:2px; }
.field.field-error .field-msg::before{ content:'· '; }
.form-note{ font-size:0.85rem; color:var(--ink-2); max-width:44ch; }

/* =========================================================
   CIERRE + PIE
========================================================= */
.closing{ text-align:center; }
.closing .t-lead{ margin:18px auto 0; }
.closing .hero-actions{ justify-content:center; }
.closing .mark-wrap{ margin:0 auto 26px; }
.closing .logo-mark{ height:44px; width:auto; }

.site-footer{ border-top:1px solid var(--rule); padding-block:clamp(44px,5vw,72px) 32px; }
.footer-grid{
  display:grid; gap:36px;
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.footer-grid h4{
  font-family:var(--font-body); font-size:0.8rem; font-weight:600;
  margin:0 0 14px; color:var(--ink-2);
}
.footer-grid li{ padding:4px 0; font-size:0.94rem; }
.footer-grid li a{ transition:opacity .2s var(--ease); }
.footer-grid li a:hover{ opacity:0.55; }
.footer-about{ font-size:0.94rem; color:var(--ink-2); max-width:32ch; margin-top:14px; }
.social-row{ display:flex; gap:8px; margin-top:12px; }
.social-icon{
  width:38px; height:38px; border:1.5px solid var(--rule); border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.social-icon:hover{ background:var(--ink); border-color:var(--ink); color:var(--paper); }
.social-icon svg{ width:17px; height:17px; }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  margin-top:44px; padding-top:22px; border-top:1px solid var(--rule);
  font-size:0.8rem; color:var(--ink-2);
}
.footer-bottom a:hover{ color:var(--ink); }
.footer-legal{ display:flex; flex-wrap:wrap; gap:6px 16px; }

/* =========================================================
   PÁGINAS LEGALES (aviso legal, privacidad, cookies, condiciones)
========================================================= */
.legal{ max-width:74ch; }
.legal h2{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(1.25rem, 2vw, 1.55rem);
  margin:clamp(34px,4vw,50px) 0 14px;
}
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ font-size:0.96rem; line-height:1.65; color:var(--ink-2); }
.legal p{ margin:0 0 14px; }
.legal ul{ margin:0 0 14px; padding-left:1.2em; }
.legal li{ margin-bottom:6px; }
.legal strong{ color:var(--ink); }
.legal a{ color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.legal .legal-updated{ font-size:0.82rem; color:var(--ink-2); margin-bottom:8px; }

/* =========================================================
   FLOTANTES
========================================================= */
.wa-float{
  position:fixed; right:16px; bottom:16px; z-index:70;
  display:inline-flex; align-items:center; gap:9px;
  height:52px; padding:0 20px; border-radius:999px;
  background:var(--ink); color:var(--paper);
  font-size:0.9rem; font-weight:600;
  box-shadow:0 6px 26px rgba(0,0,0,.22);
  transition:transform .2s var(--ease);
}
.wa-float:hover{ transform:translateY(-2px); }
.wa-float svg{ width:20px; height:20px; flex:none; }
.wa-float .label{ display:none; }
@media(min-width:900px){
  .wa-float{ right:24px; bottom:24px; }
  .wa-float .label{ display:inline; }
}

.back-to-top{
  position:fixed; left:16px; bottom:16px; z-index:69;
  width:42px; height:42px; border-radius:999px;
  border:1.5px solid var(--rule); background:var(--paper); color:var(--ink);
  display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.back-to-top.visible{ opacity:1; visibility:visible; transform:none; }
.back-to-top:hover{ border-color:var(--ink); }
@media(min-width:900px){ .back-to-top{ left:24px; bottom:24px; } }

/* ---------- Avisos ---------- */
.toast-container{
  position:fixed; left:50%; bottom:20px; transform:translateX(-50%);
  z-index:80; display:flex; flex-direction:column; gap:10px;
  width:min(92vw, 430px); pointer-events:none;
}
.toast{
  pointer-events:auto; background:var(--ink); color:var(--paper);
  padding:14px 18px; border-radius:6px; border:1px solid var(--rule);
  font-size:0.88rem; font-weight:500; line-height:1.45;
  box-shadow:0 10px 30px rgba(0,0,0,.24);
  opacity:0; transform:translateY(8px);
  transition:opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show{ opacity:1; transform:none; }

.pay-banner{
  margin-bottom:28px; padding:16px 20px;
  border:1.5px solid var(--ink); font-size:0.95rem; font-weight:500;
}

/* ---------- Esqueletos de carga ---------- */
@keyframes skel-pulse{ 0%,100%{ opacity:.5 } 50%{ opacity:.9 } }
.skel{ background:var(--paper-2); animation:skel-pulse 1.5s ease-in-out infinite; }
.skel-photo{ aspect-ratio:3/4; }
.skel-line{ height:11px; margin-top:11px; background:var(--rule); animation:skel-pulse 1.5s ease-in-out infinite; }
.skel-line.w60{ width:60%; }
.skel-line.w35{ width:35%; }
.skel-showcase{ height:clamp(320px, 60vw, 520px); margin-inline:var(--gutter); }
.skel-rail{ flex:0 0 min(74vw,420px); aspect-ratio:4/5; }

/* =========================================================
   MOVIMIENTO
   Un único momento orquestado: la entrada del hero al cargar.
   El resto del movimiento responde a una acción de la persona.
========================================================= */
@keyframes rise{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:none; }
}
[data-enter]{ opacity:0; animation:rise .72s var(--ease) forwards; }
[data-enter].shown{ opacity:1; transform:none; }
[data-enter="1"]{ animation-delay:.04s; }
[data-enter="2"]{ animation-delay:.13s; }
[data-enter="3"]{ animation-delay:.22s; }
[data-enter="4"]{ animation-delay:.31s; }

/* Revelado discreto al llegar a una sección nueva (solo bloques grandes). */
[data-reveal]{ opacity:0; transform:translateY(12px); }
[data-reveal].is-visible{
  opacity:1; transform:none;
  transition:opacity .6s var(--ease), transform .6s var(--ease);
}

body{ animation:page-in .3s var(--ease); }
@keyframes page-in{ from{ opacity:0 } to{ opacity:1 } }
body.is-leaving{ opacity:0; transition:opacity .16s ease; }

/* =========================================================
   SPLASH DEL LOGO — el logo aparece grande apenas carga la
   página y se desvanece solo. Puramente decorativo: no bloquea
   clics (pointer-events:none) y con "menos movimiento" activado
   se reduce a casi nada gracias a la regla de abajo.
========================================================= */
.logo-splash{
  position:fixed; inset:0; z-index:9999;
  display:grid; place-items:center;
  background:var(--paper);
  pointer-events:none;
  animation:logo-splash-bg 1.1s var(--ease) forwards;
}
.logo-splash img{
  width:clamp(96px,22vw,220px); height:auto;
  filter:invert(1);
  animation:logo-splash-pop .6s var(--ease) both;
}
@keyframes logo-splash-pop{
  0%{ transform:scale(.55); opacity:0; }
  55%{ transform:scale(1.08); opacity:1; }
  100%{ transform:scale(1); opacity:1; }
}
@keyframes logo-splash-bg{
  0%, 45%{ opacity:1; }
  100%{ opacity:0; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
  [data-enter], [data-reveal]{ opacity:1 !important; transform:none !important; }
}

