/* ============================================================
   Eventos Santiago — Rediseño
   Dirección: "The name as a monument" (design-taste)
   Panchang (display) + Switzer (texto) · papel cálido + tinta + un acento rojo
   ============================================================ */

/* ===== Tokens ===== */
:root {
  /* Paleta nueva */
  --bg:         #f1efe9;   /* piedra cálida */
  --surface:    #fbfaf6;   /* panel claro (un paso) */
  --surface-2:  #e7e4dc;   /* paso de tono más marcado */
  --ink:        #171511;   /* casi negro cálido */
  --muted:      #524d45;   /* texto secundario (contraste AA) */
  --accent:     #e63329;   /* rojo de marca */
  --accent-dark:#c21a12;
  --accent-ink: #ffffff;
  --accent-text:var(--accent-dark);  /* rojo para texto/enlaces (se aclara en oscuro) */

  /* Sección oscura (inverso) */
  --bg-dark:    #141210;
  --surface-dark:#211e18;
  --ink-dark:   #f3efe7;
  --muted-dark: #a39c90;

  --line:       #e2dccf;
  --maxw:       1200px;
  --gutter:     28px;
  --r:          3px;

  --shadow-float: 0 26px 60px -24px rgba(20, 18, 14, .5);
  --shadow-sm:    0 1px 2px rgba(20, 18, 14, .05);
  --shadow:       0 20px 44px -22px rgba(20, 18, 14, .4);

  /* Escala tipográfica (de la hoja de dirección) */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.9rem);
  --step-body:  clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead:  clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --step-head:  clamp(1.55rem, 1rem + 2.4vw, 2.9rem);
  --step-mono:  clamp(1.9rem, 1rem + 4.2vw, 3rem);

  /* Alias de compatibilidad (los usa admin.css) */
  --rojo: var(--accent);
  --rojo-dark: var(--accent-dark);
  --celeste: #1f8fc4;
  --celeste-dark: #15658c;
  --bg-alt: var(--surface-2);
}

/* ===== Tema oscuro premium (solo la landing; el admin conserva :root claro) ===== */
body.landing {
  --bg:         #16130f;   /* carbón cálido (secciones / hero) */
  --surface:    #211c17;   /* tarjetas / panel elevado */
  --surface-2:  #0d0b09;   /* secciones alternas / bandas profundas */
  --ink:        #f3eee6;   /* texto claro cálido */
  --muted:      #b3a99c;   /* texto secundario (AA sobre oscuro) */
  --line:       #332d26;
  --accent-text:#ff6f63;   /* rojo claro legible sobre oscuro */
  --celeste:    #2aa7df;   /* celeste vibrante sobre oscuro */

  --bg-dark:    #0d0b09;   /* contacto / footer (lo más profundo) */
  --surface-dark:#211c17;
  --ink-dark:   #f3eee6;
  --muted-dark: #b3a99c;

  --shadow-float: 0 26px 60px -24px rgba(0, 0, 0, .7);
  --shadow:       0 22px 48px -22px rgba(0, 0, 0, .6);

  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Switzer", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: var(--step-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: "Panchang", "Switzer", system-ui, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* Display / monumento */
.hero-title,
.footer-word { font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.92; }

/* Encabezados de sección */
.section-head h2 {
  font-weight: 700; letter-spacing: -0.015em;
  font-size: var(--step-head); line-height: 1.06;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: var(--r);
  font-family: "Switzer", sans-serif; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 1.5px solid transparent; letter-spacing: 0.005em;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--accent-dark); color: var(--accent-ink); }
.btn-primary:hover { background: #a1150e; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 40px; width: auto; }
.brand-name { font-family: "Switzer", sans-serif; font-weight: 600; font-size: 1.18rem; color: var(--ink); letter-spacing: -0.01em; }
.brand-name strong { color: var(--accent); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav-cta {
  font-weight: 600; color: var(--ink); padding: 8px 2px;
  border-bottom: 2px solid var(--accent); transition: color .15s ease;
}
.nav-cta:hover { color: var(--accent-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* Tabs (segmented, plano) */
.tabs { display: inline-flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: var(--r); }
.tab-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0;
  border-radius: calc(var(--r) - 1px); background: transparent; cursor: pointer;
  font-family: "Switzer", sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--muted);
  transition: background .18s ease, color .18s ease; white-space: nowrap;
}
.tab-btn:hover:not(.active) { color: var(--ink); }
.tab-btn.active { background: var(--ink); color: var(--bg); }

/* Barra de pestañas fija (solo móvil) */
.mobile-tabs { display: none; }

/* ===== Sections ===== */
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 680px; margin: 0 auto clamp(24px, 4vw, 44px); text-align: center; }
.section-head.section-head-left { margin-left: 0; margin-right: 0; text-align: left; max-width: 760px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: var(--step-lead); line-height: 1.4; max-width: 60ch; }
.section-head.section-head-left p { margin-left: 0; }

.grid { display: grid; gap: 24px; }

/* ===== Hero ===== */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6.5vw, 80px); }
.hero-title { font-size: clamp(1.3rem, 5vw, 4.4rem); margin-bottom: clamp(32px, 5vw, 52px); }
.hero-grid { display: grid; grid-template-columns: 1fr clamp(360px, 38%, 480px); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-sub { color: var(--muted); font-size: var(--step-lead); max-width: 44ch; line-height: 1.4; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-family {
  margin-top: 28px; color: var(--muted); font-size: 1rem; max-width: 44ch;
}
.hero-family strong { color: var(--ink); font-weight: 600; }
.hero-stats { display: flex; gap: clamp(26px, 4vw, 48px); margin-top: 40px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: "Panchang", sans-serif; font-weight: 700; font-size: 1.9rem; color: var(--ink); line-height: 1; }
.hero-stats span { font-size: var(--step-small); color: var(--muted); margin-top: 7px; display: block; }

/* Carrusel "Eventos realizados" */
.hero-visual { display: flex; justify-content: center; }
.events-carousel { width: 100%; max-width: 480px; }
.ec-head { margin-bottom: 14px; }
.ec-badge {
  display: inline-block; background: var(--surface-2); color: var(--ink);
  font-family: "Switzer", sans-serif; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.02em; padding: 7px 15px; border-radius: var(--r);
}
.ec-frame { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.ec-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.ec-slide { min-width: 100%; height: 100%; overflow: hidden; }
.ec-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ec-slide img:hover { transform: scale(1.05); }
.ec-empty { display: grid; place-items: center; color: var(--muted); font-size: 0.95rem; text-align: center; background: var(--surface-2); }

.ec-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: var(--r); border: 0; cursor: pointer;
  background: rgba(13,11,9,.5); color: var(--celeste); font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center; transition: background .15s ease, color .15s ease;
}
.ec-nav:hover { background: var(--celeste); color: #06222e; }
.ec-nav.prev { left: 12px; }
.ec-nav.next { right: 12px; }

.ec-dots { display: flex; gap: 8px; margin-top: 16px; }
.ec-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer; padding: 0; background: #c9c2b4; transition: .2s; }
.ec-dots button.active { background: var(--accent); width: 26px; border-radius: 999px; }

/* ===== Cards (carpas) — grilla flexible y simétrica (solo la landing) ===== */
body.landing .cards, body.landing .boxes-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
}
body.landing .cards > .card, body.landing .boxes-grid > .card { flex: 1 1 300px; max-width: 360px; }

/* ===== Carpa 3D animada — cabecera de la sección Carpas ===== */
body.landing .carpas-top {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 56px);
  max-width: 1120px; margin: 0 auto clamp(28px, 4vw, 52px); /* separada de las cajas, sin superponer */
  position: relative; z-index: 2;
}
body.landing .carpas-top .section-head {
  margin: 0; text-align: left; flex: 1 1 360px; max-width: 500px;
}
body.landing .carpa-3d-stage {
  flex: 0 0 auto; width: clamp(320px, 48%, 540px);
  height: clamp(380px, 42vw, 580px);
  position: relative; /* más grande: protagonista en desktop */
}
/* Halo rojo suave detrás del modelo (rojo de marca #e63329) */
body.landing .carpa-3d-stage::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: 86%; height: 72%;
  background: radial-gradient(ellipse at center, rgba(230,51,41,.30), rgba(230,51,41,0) 70%); /* taste-skill-ignore: halo decorativo detrás del modelo 3D, no es gradiente de UI */
  filter: blur(26px);
}
body.landing .carpa-3d-stage model-viewer {
  position: relative; z-index: 1;
  width: 100%; height: 100%; --poster-color: transparent;
}

@media (max-width: 760px) {
  body.landing .carpas-top {
    flex-direction: column; text-align: center; gap: 10px; margin-bottom: clamp(20px, 5vw, 32px);
  }
  body.landing .carpas-top .section-head { text-align: center; max-width: 100%; order: 2; }
  body.landing .carpa-3d-stage { order: 1; width: min(360px, 84vw); height: 300px; }
}

.card {
  background: var(--surface); border-radius: var(--r);
  padding: 26px 24px; display: flex; flex-direction: column;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), background .2s ease;
}
.section-alt .card { background: var(--surface); }
.card:hover { transform: translateY(-5px); }
.card.featured { outline: 2px solid var(--accent); outline-offset: 0; }
.card-media { margin: -26px -24px 20px; border-radius: var(--r) var(--r) 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-3d { position: relative; background: #0f0c0a; aspect-ratio: 4 / 3; }
.card-media-3d model-viewer { touch-action: pan-y; }
.card-media-3d .badge-3d { background: var(--celeste); }
.card-media-3d model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.badge-3d {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: var(--celeste); color: #04222f; font-size: 0.82rem; font-weight: 700;
  padding: 5px 10px; border-radius: var(--r); pointer-events: none;
}

/* 3D que se carga al tocar (móvil) */
.model-lazy { cursor: pointer; }
.model-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.model-poster-empty { background: #0f0c0a; }
.model-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; pointer-events: none;
  background: rgba(15, 12, 10, .82); color: #fff; font-family: "Switzer", sans-serif; font-weight: 600; font-size: .92rem;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(42, 167, 223, .85);
}
.model-play-ico { display: inline-flex; color: var(--celeste); }
.model-play-ico svg { width: 13px; height: 13px; display: block; }
.model-lazy:active .model-play { transform: translate(-50%, -50%) scale(.96); }
.model-close3d {
  position: absolute; top: 10px; right: 10px; z-index: 4; width: 40px; height: 40px; border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .65); background: var(--accent); color: #fff; cursor: pointer;
  display: grid; place-items: center; font-size: 1.05rem; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); /* taste-skill-ignore: botón cerrar sobre el visor 3D (overlay) */
}
.model-close3d svg { width: 18px; height: 18px; }
.card-tag {
  align-self: flex-start; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 7px 12px; border-radius: var(--r); margin-bottom: 15px; color: #fff;
}
.card-tag.celeste { background: var(--celeste-dark); }
.card-tag.rojo { background: var(--accent-dark); }
.card h3 { font-family: "Switzer", sans-serif; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.card-size { color: var(--accent-text); font-weight: 600; font-size: 0.9rem; margin: 7px 0 16px; }
.card-feat { list-style: none; margin-bottom: 22px; flex: 1; }
.card-feat li { position: relative; padding-left: 24px; color: var(--muted); font-size: 1rem; margin-bottom: 9px; line-height: 1.5; }
.card-feat li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.card-link { font-weight: 600; color: var(--accent-text); font-size: 0.92rem; transition: color .15s ease; }
.card-link:hover { color: var(--accent); }

/* Botón galería / video */
.btn-gallery {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  margin-bottom: 14px; padding: 8px 14px; border-radius: var(--r); cursor: pointer;
  background: var(--surface-2); color: var(--ink); border: 0;
  font-family: "Switzer", sans-serif; font-weight: 600; font-size: 0.84rem; transition: background .15s ease, color .15s ease;
}
.btn-gallery:hover { background: var(--accent); color: #fff; }
.btn-gallery .gcount { background: rgba(23,20,14,.12); border-radius: 999px; padding: 0 8px; font-size: 0.82rem; }
.btn-gallery:hover .gcount { background: rgba(255,255,255,.22); }
.btn-video:hover { background: var(--accent); color: #fff; }

/* ===== Aviso: piso de madera ===== */
.piso-callout {
  display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin-top: 40px; background: var(--surface-2); color: var(--ink);
  border-radius: var(--r); padding: 28px 30px;
}
.piso-callout strong { display: block; font-family: "Panchang", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.2rem; margin-bottom: 8px; }
.piso-callout p { color: #cfc9bd; font-size: 0.98rem; margin: 0; max-width: 62ch; }
.piso-callout p b { color: #fff; font-weight: 600; }
.callout-link { flex-shrink: 0; font-weight: 600; color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 3px; white-space: nowrap; }
.callout-link:hover { color: var(--accent); }

.carpas-note { text-align: center; margin-top: 44px; color: var(--muted); font-size: 1rem; }
.carpas-note a { color: var(--accent-text); font-weight: 600; }

/* ===== Benefits (columnas de texto, sin íconos) ===== */
.benefits { grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }

/* ===== Mobiliario (vista Stands): 4 tarjetas en fila ===== */
body.landing .mobiliario-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: stretch;
}
.mob-card { cursor: pointer; }
/* Portada sin recortar: foto completa (verticales y horizontales) sobre marco oscuro, tarjetas uniformes */
.mob-card .card-media { aspect-ratio: 1 / 1; background: var(--bg-dark); }
.mob-card .card-media img { object-fit: contain; }
.mob-card h3 { margin: 0 0 10px; }
.mob-cta, .mob-cta-muted {
  align-self: flex-start; margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Switzer", sans-serif; font-weight: 600; font-size: 0.9rem;
}
.mob-cta { color: var(--accent-text); transition: color .15s ease; }
.mob-card:hover .mob-cta { color: var(--accent); }
.mob-cta .gcount {
  background: rgba(255,111,99,.16); color: var(--accent-text);
  border-radius: 999px; padding: 1px 9px; font-size: 0.8rem; font-weight: 700;
}
.mob-cta-muted { color: var(--muted); }

/* tarjeta sin fotos todavía: apagada / placeholder discreto */
.mob-card-empty { cursor: default; opacity: .72; }
.mob-card-empty:hover { transform: none; }
.card-media-empty { display: grid; place-items: center; background: var(--surface-2); }
.card-media-empty span { color: var(--muted); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; }

@media (max-width: 900px) {
  body.landing .mobiliario-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  body.landing .mobiliario-grid { grid-template-columns: 1fr; }
}
.benefit { padding-top: 20px; border-top: 2px solid var(--ink); }
.benefit h3 { font-family: "Switzer", sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.benefit p { color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* ===== Steps ===== */
.steps { grid-template-columns: repeat(3, 1fr); list-style: none; gap: 36px; }
.step { padding: 0; }
.step-num {
  display: block; font-family: "Panchang", sans-serif; font-weight: 700;
  font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 16px;
}
.step h3 { font-family: "Switzer", sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Pestañas (vistas) ===== */
.view { display: none; }
.view.view-active { display: block; }

/* ===== Loop de lugares ===== */
.stands-marquee {
  display: flex; overflow: hidden; white-space: nowrap;
  background: var(--surface); color: var(--ink); padding: 16px 0;
}
.marquee-track { display: inline-flex; align-items: center; flex-shrink: 0; min-width: 100%; justify-content: space-around; animation: marquee 30s linear infinite; }
.stands-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; font-family: "Switzer", sans-serif; font-weight: 600; font-size: 1rem; padding: 0 10px; }
.marquee-dot { display: inline-block; width: 5px; height: 5px; margin: 0 24px; border-radius: 50%; background: var(--accent); font-size: 0; vertical-align: middle; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ===== Descripción stands ===== */
.stands-intro {
  padding-top: clamp(56px, 8vw, 104px);
  background-image: linear-gradient(90deg, rgba(13,11,9,.94) 0%, rgba(13,11,9,.74) 52%, rgba(13,11,9,.56) 100%), url("assets/stands/IMG_4862.jpg"); /* taste-skill-ignore: scrim oscuro sobre foto para legibilidad */
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
}
.stands-intro .section-head strong { font-weight: 600; color: var(--ink); }
.stype h3 { color: var(--ink); }
.stands-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.stype {
  text-align: left; background: var(--surface); border: 0; border-radius: var(--r);
  padding: 28px 26px; font-family: inherit; cursor: pointer; width: 100%; display: block;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), background .2s ease;
}
.stype:hover { transform: translateY(-5px); background: var(--surface-2); }
.stype h3 { font-family: "Switzer", sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
.stype p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.stype-cta { display: inline-block; margin-top: 16px; font-family: "Switzer", sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--accent-text); }

/* ===== Cajas de stands ===== */
.servicio-card { padding: 0; overflow: hidden; }
.servicio-card .card-media { margin: 0 0 20px; border-radius: 0; aspect-ratio: 16 / 9; }
.servicio-card h3, .servicio-card .servicio-desc, .servicio-card .servicio-actions, .servicio-card .card-link { margin-left: 24px; margin-right: 24px; }
.servicio-card h3 { font-size: 1.2rem; }
.servicio-desc { color: var(--muted); font-size: 1rem; margin-top: 8px; margin-bottom: 18px; flex: 1; line-height: 1.55; }
.servicio-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.servicio-card .card-link { margin-bottom: 24px; color: var(--accent-dark); }
.box-card .card-link { color: var(--accent-dark); }

/* ===== Carrusel grande ===== */
.big-carousel { position: relative; max-width: 960px; margin: 0 auto; }
.bc-viewport { overflow: hidden; border-radius: var(--r); background: var(--surface-2); }
.bc-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.bc-slide { min-width: 100%; position: relative; aspect-ratio: 16 / 9; }
.bc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 52px 28px 22px; color: #fff; background: linear-gradient(transparent, rgba(20,18,14,.9)); font-size: 1rem; font-weight: 500; } /* taste-skill-ignore: scrim legible sobre foto (excepción permitida) */
.bc-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: var(--r); border: 0; cursor: pointer;
  background: rgba(13,11,9,.5); color: var(--celeste); font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; transition: background .15s ease, color .15s ease;
}
.bc-nav:hover { background: var(--celeste); color: #06222e; }
.bc-nav.prev { left: 14px; }
.bc-nav.next { right: 14px; }
.bc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.bc-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer; padding: 0; background: #c9c2b4; transition: .2s; }
.bc-dots button.active { background: var(--accent); width: 26px; border-radius: 999px; }

/* ===== Contacto (sección inversa) ===== */
.contact { background: var(--bg-dark); color: var(--ink-dark); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-copy h2 { font-family: "Panchang", sans-serif; font-weight: 700; letter-spacing: -0.015em; font-size: clamp(1.5rem, 1rem + 1.7vw, 2.4rem); line-height: 1.08; }
.contact-copy > p { color: var(--muted-dark); margin-top: 16px; max-width: 42ch; font-size: var(--step-lead); line-height: 1.4; }
.contact-email {
  display: inline-block; margin-top: 26px; font-family: "Switzer", sans-serif; font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); letter-spacing: -0.01em; color: var(--ink-dark);
  border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; word-break: break-word;
}
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-list { list-style: none; margin-top: 30px; }
.contact-list li { margin-bottom: 12px; }
.contact-list a { display: inline-flex; align-items: center; gap: 13px; color: #d7d0c4; font-size: 1rem; transition: color .15s ease; }
.contact-list a:hover { color: #fff; }
.contact-list .ci { width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--r); display: grid; place-items: center; background: var(--surface-dark); color: #d7d0c4; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list a:hover .ci { background: var(--accent); color: #fff; }

/* Destino del scroll "Cotizar": deja el formulario bajo el header */
#contactForm { scroll-margin-top: 96px; }

/* Vista previa del mapa */
.map-preview { position: relative; display: block; margin-top: 22px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; cursor: pointer; }
.map-preview iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.map-preview-cta { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; background: rgba(13,11,9,.9); color: var(--ink); font-family: "Switzer", sans-serif; font-weight: 600; font-size: .85rem; padding: 8px 14px; border-radius: var(--r); transition: transform .16s ease, background .16s ease, color .16s ease; }
.map-preview:hover .map-preview-cta { transform: translateY(-2px); background: var(--accent); color: #fff; }
.map-preview-cta svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Botones sociales */
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.social { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: var(--r); font-family: "Switzer", sans-serif; font-weight: 600; font-size: 0.9rem; color: #fff; transition: transform .16s ease, opacity .16s ease; }
.social svg { width: 20px; height: 20px; }
.social:hover { transform: translateY(-2px); }
.social.ig { background: #a81f62; }
.social.tt { background: #0b0b0b; }
.social.wa { background: #0e7d3e; }
.social.mail { background: var(--accent-dark); }

/* Formulario */
.contact-form { background: var(--surface); color: var(--ink); border-radius: var(--r); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r);
  font-family: inherit; font-size: 0.98rem; color: var(--ink); background: var(--bg); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230,51,41,.16); } /* taste-skill-ignore: anillo de foco en campo de formulario (estado, accesibilidad) */
.field textarea { resize: vertical; }
.form-note { margin-top: 14px; color: var(--accent-dark); font-weight: 600; text-align: center; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-dark); color: var(--muted-dark); padding: clamp(48px, 7vw, 88px) 0 40px; overflow: hidden; }
.footer-inner { display: flex; flex-direction: column; gap: 32px; }
.footer-word {
  display: block; font-size: clamp(2.2rem, 9.5vw, 6rem); color: var(--ink-dark);
  line-height: 0.95; letter-spacing: -0.02em;
}
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.footer-tag { font-size: 0.98rem; max-width: 44ch; color: var(--muted-dark); }
.footer-socials { margin: 0; }
.footer-socials .social { width: 44px; height: 44px; padding: 0; justify-content: center; }
.footer-socials .social svg { width: 20px; height: 20px; }
.footer-copy { font-size: 0.82rem; color: #938d81; margin-top: 8px; }

/* ===== Botón flotante WhatsApp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #1faa54; color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-float); /* taste-skill-ignore: botón flotante (overlay) */
  transition: transform .18s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* ===== Modal galería ===== */
.gallery-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.gallery-modal.open { display: block; }
.gallery-backdrop { position: absolute; inset: 0; background: rgba(12,10,8,.9); backdrop-filter: blur(4px); } /* taste-skill-ignore: fondo de modal (overlay) */
.gallery-dialog { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; height: 100%; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.gallery-top { display: flex; align-items: center; justify-content: space-between; color: #fff; margin-bottom: 12px; }
.gallery-title { font-family: "Switzer", sans-serif; font-size: 1rem; font-weight: 600; }
.gallery-close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 2px solid rgba(255,255,255,.65); cursor: pointer; background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.4); transition: background .15s ease, transform .15s ease; } /* taste-skill-ignore: botón cerrar del modal (overlay) */
.gallery-close:hover { background: var(--accent-dark); transform: scale(1.06); }
.gallery-close svg { width: 24px; height: 24px; stroke-width: 2.6; }
.gallery-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.gallery-main { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r); box-shadow: 0 20px 50px rgba(0,0,0,.45); background: #0b0a08; } /* taste-skill-ignore: imagen en diálogo (overlay) */
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: var(--r); border: 0; cursor: pointer; background: rgba(255,255,255,.16); color: #fff; font-size: 1.6rem; line-height: 1; transition: background .15s ease; }
.gallery-nav:hover { background: var(--accent); }
.gallery-nav.prev { left: 4px; }
.gallery-nav.next { right: 4px; }
.gallery-count { text-align: center; color: #cfc9bd; font-size: 0.85rem; margin: 10px 0; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.gallery-thumbs img { width: 76px; height: 56px; object-fit: cover; border-radius: var(--r); cursor: pointer; flex-shrink: 0; opacity: .5; border: 2px solid transparent; transition: .15s; }
.gallery-thumbs img:hover { opacity: .85; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--accent); }

/* ===== Modal de video ===== */
.video-dialog { max-width: 640px; }
.video-stage { flex: 1; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 0; overflow: auto; padding: 4px 0; }
.video-stage video { max-width: 100%; max-height: 100%; border-radius: var(--r); background: #000; box-shadow: 0 20px 50px rgba(0,0,0,.4); } /* taste-skill-ignore: video en diálogo (overlay) */

/* ===== Banner de vista previa ===== */
#previewBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; text-align: center;
  background: var(--ink); color: #fff; font-size: 0.9rem; font-weight: 600; padding: 10px 16px;
}
#previewBanner a { color: var(--accent); text-decoration: underline; margin-left: 8px; }

/* ===== Reveal (motion) ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }

/* Hero: revelado tipo monumento */
.hero-title, .hero-sub, .hero-actions, .hero-family, .hero-stats, .hero-visual { animation: rise .9s cubic-bezier(.2,.7,.3,1) both; }
.hero-sub { animation-delay: .1s; }
.hero-actions { animation-delay: .18s; }
.hero-family { animation-delay: .26s; }
.hero-stats { animation-delay: .32s; }
.hero-visual { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-sub { max-width: 46ch; }
  .steps, .steps.steps-4 { grid-template-columns: 1fr 1fr; }
  .stands-types { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }

  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); box-shadow: var(--shadow); padding: 12px 0; /* taste-skill-ignore: menú desplegable móvil (overlay) */
    transform: translateY(-120%); transition: transform .25s ease, visibility .25s ease; align-items: stretch;
    visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav-cta { margin: 10px 24px; text-align: center; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 12px; }
  .nav .tabs { display: none; } /* las pestañas van en la barra fija, no en el menú */
  .nav-toggle { display: flex; }

  /* Pestañas fijas visibles siempre en móvil */
  .mobile-tabs {
    display: flex; gap: 6px; padding: 6px var(--gutter) 10px;
    background: var(--bg);
    transition: padding .22s ease;
  }
  .mobile-tabs .tab-btn {
    flex: 1; justify-content: center; padding: 11px 10px; background: var(--surface-2);
    font-size: 0.95rem; transition: padding .22s ease, font-size .22s ease, background .18s ease, color .18s ease;
  }
  .mobile-tabs .tab-btn.active { background: var(--ink); color: var(--bg); }

  /* Al hacer scroll, se achica para no molestar */
  .site-header.shrink .mobile-tabs { padding-top: 4px; padding-bottom: 5px; }
  .site-header.shrink .mobile-tabs .tab-btn { padding: 7px 10px; font-size: 0.86rem; }
  .site-header.shrink .header-inner { height: 58px; }
  .site-header.shrink .brand-logo { height: 32px; transition: height .22s ease; }
  #contactForm { scroll-margin-top: 150px; } /* header + barra de pestañas fija (compensa el encogido) */
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .benefits { grid-template-columns: 1fr; }
  .steps, .steps.steps-4 { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 16px 22px; }
  .hero-stats > div { flex: 0 1 auto; min-width: 0; }
  .hero-stats strong { font-size: 1.5rem; }
  .piso-callout { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .gallery-nav { width: 38px; height: 38px; font-size: 1.3rem; }
  .gallery-thumbs img { width: 60px; height: 44px; }
  .gallery-close { width: 54px; height: 54px; }
  .gallery-close svg { width: 28px; height: 28px; }
  .gallery-top { margin-bottom: 14px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
