/* ==========================================================================
   InspoFit · inspofit.es — Mockup landing
   Paleta y estilo basados en la identidad de @inspofitgym (negro / amarillo)
   ========================================================================== */

:root {
  --bg: #0A0A0A;
  --bg-alt: #0E0E0E;
  --panel: #141414;
  --panel-2: #1B1B1B;
  --yellow: #F8C828;
  --yellow-2: #EFBF1F;
  --yellow-soft: rgba(248, 200, 40, .12);
  --white: #FFFFFF;
  --muted: #A9A9A9;
  --muted-2: #7E7E7E;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-logo: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-yellow: 0 12px 34px rgba(248, 200, 40, .22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--yellow); color: #000; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--yellow); color: #000; padding: .6rem 1rem; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Tipografía ---------- */
.kicker {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yellow);
  font-size: .95rem;
  margin: 0 0 .9rem;
}
.kicker .bolt { font-size: 1.05em; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: .005em;
  margin: 0 0 1rem;
}
.hl { color: var(--yellow); }

.lead { color: var(--muted); font-size: 1.05rem; max-width: 62ch; margin: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-cond);
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  border-radius: 999px; border: 1px solid transparent;
  padding: .8rem 1.5rem; font-size: 1rem; line-height: 1;
  cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .ico { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--yellow); color: #0A0A0A; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-yellow); background: #FFD84A; }
.btn-dark { background: #0A0A0A; color: var(--yellow); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.btn-ghost { border-color: var(--line-2); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.12rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: .9rem 0;
  transition: background .3s, box-shadow .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 8, 8, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: .55rem 0;
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark { width: 46px; height: auto; }
.brand-lockup { display: inline-block; }
.brand-logo { width: 132px; height: auto; }
.brand-word { display: inline-flex; flex-direction: column; line-height: .82; }
.brand-word strong {
  font-family: var(--font-logo); font-weight: 800; font-size: 1.5rem; letter-spacing: .005em;
}
.brand-word em {
  font-family: var(--font-logo); font-style: normal; font-weight: 800;
  color: var(--yellow); font-size: .78rem; letter-spacing: .46em; padding-left: .18em;
}

.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a {
  font-family: var(--font-cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: 1.02rem; color: #DDD;
  position: relative; padding: .35rem 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--yellow); transition: width .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .8rem; margin-left: .4rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-2); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 7.5rem 0 4.5rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 60% at 78% 30%, rgba(248, 200, 40, .16), transparent 70%),
    linear-gradient(100deg, rgba(8, 8, 8, .97) 0%, rgba(8, 8, 8, .88) 38%, rgba(8, 8, 8, .45) 68%, rgba(8, 8, 8, .72) 100%),
    url('../assets/img/centro-1.jpg') center / cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 2%, transparent 26%);
}
.hero-inner { position: relative; max-width: 850px; }
.hero-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.5rem, 7vw, 5.2rem); line-height: .98; letter-spacing: .004em;
  margin: 0 0 1.2rem; text-wrap: balance;
}
.hero-sub { color: #D5D5D5; font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 58ch; margin-bottom: 1.9rem; }
.hero-sub strong { color: var(--yellow); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; }
.hero-trust li { display: flex; flex-direction: column; line-height: 1.25; }
.hero-trust strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--yellow); }
.hero-trust span { color: var(--muted); font-size: .88rem; }

.hero-sticker {
  position: absolute; right: clamp(18px, 6vw, 90px); bottom: clamp(28px, 9vh, 110px);
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  background: var(--yellow); color: #0A0A0A;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(.85rem, 1.2vw, 1.05rem); letter-spacing: .04em;
  padding: .9rem 1.1rem; border-radius: 14px; rotate: -7deg;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.hero-sticker span:last-child { color: #0A0A0A; }
.hero-sticker::after {
  content: ''; position: absolute; inset: 5px; border: 2px dashed rgba(0, 0, 0, .35); border-radius: 10px;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--yellow); color: #0A0A0A; overflow: hidden;
  padding: .85rem 0; border-block: 4px solid #000;
}
.marquee-track {
  display: flex;
  gap: 0;                      /* sin gap: el bucle -50% es exacto */
  width: max-content;
  animation: marquee 48s linear infinite;
  will-change: transform;
}
.marquee-run { display: flex; align-items: center; }
.marquee-run em {
  display: inline-flex; align-items: center;
  font-style: normal;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.05rem, 2vw, 1.5rem); letter-spacing: .04em;
  white-space: nowrap;
}
.bolt-sm {
  width: .8em; height: .8em; flex: none;
  margin-inline: 1.5rem;       /* separador uniforme, también al final */
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }

/* ---------- Cards servicios ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.8rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(248, 200, 40, .4); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--yellow-soft); color: var(--yellow);
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 1.32rem; letter-spacing: .01em; margin-bottom: .6rem; line-height: 1.1;
}
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Método (pasos) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.8rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(248, 200, 40, .4); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.step:hover::before { transform: scaleX(1); }
.step-num {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: 2.6rem; line-height: 1; color: var(--yellow); opacity: .92; margin-bottom: .8rem;
}
.step h3 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 1.32rem; letter-spacing: .01em; margin-bottom: .6rem; line-height: 1.1;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Split (Sobre) ---------- */
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; }
.photo-frame {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); position: relative;
}
.photo-frame::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 45%);
  pointer-events: none;
}
.photo-frame img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.split-media::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--yellow); border-radius: var(--radius); z-index: -1; opacity: .8;
}
.photo-badge {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--yellow); color: #000;
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: .85rem; padding: .45rem .85rem; border-radius: 8px;
}
.split-body p { color: var(--muted); }
.split-body strong { color: var(--white); }

.quote {
  margin: 1.6rem 0;
  padding: 1.1rem 1.3rem 1.1rem 1.4rem;
  border-left: 4px solid var(--yellow);
  background: rgba(248, 200, 40, .06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-cond); font-size: 1.22rem; font-weight: 600; font-style: italic;
  line-height: 1.4;
}
.quote cite {
  display: block; margin-top: .5rem; font-style: normal; font-weight: 500;
  color: var(--yellow); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.6rem; }
.stats li { border-top: 2px solid var(--line-2); padding-top: .7rem; }
.stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--yellow); line-height: 1; }
.stats span { color: var(--muted); font-size: .84rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.chips li {
  font-family: var(--font-cond); font-weight: 600; font-size: .92rem; letter-spacing: .04em;
  background: rgba(248, 200, 40, .1); border: 1px solid rgba(248, 200, 40, .32); color: #FFDA55;
  padding: .35rem .85rem; border-radius: 999px;
}

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 96px);
  grid-template-areas:
    "a a a a a a a b b b b b"
    "a a a a a a a b b b b b"
    "a a a a a a a c c c c c"
    "a a a a a a a c c c c c"
    "a a a a a a a d d d d d"
    "a a a a a a a d d d d d";
  gap: 1rem;
}
.g-a { grid-area: a; }
.g-b { grid-area: b; }
.g-c { grid-area: c; }
.g-d { grid-area: d; }
.gallery-item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1), filter .4s; filter: saturate(.92); }
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery-item figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(8, 8, 8, .82); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2);
  font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  font-size: .82rem; padding: .35rem .75rem; border-radius: 8px;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }

.gallery-cta {
  grid-area: d;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  background: var(--yellow); color: #0A0A0A; border-color: var(--yellow);
  padding: 1.4rem;
}
.gallery-cta p {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.05; margin: 0;
}
.gallery-cta a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: 1rem;
}
.gallery-cta a svg { width: 1.2em; height: 1.2em; transition: transform .3s; }
.gallery-cta a:hover svg { transform: translateX(4px); }

/* ---------- Tarifas ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem 1.8rem;
  transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-5px); border-color: rgba(248, 200, 40, .4); }
.plan h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; }
.plan-tag { color: var(--yellow); font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .92rem; margin: .2rem 0 1.1rem; }
.plan-price { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; line-height: 1; margin-bottom: 1.2rem; }
.plan-price small { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--muted); text-transform: none; margin-top: .35rem; }
.plan ul { display: grid; gap: .65rem; margin-bottom: 1.6rem; }
.plan li { position: relative; padding-left: 1.6rem; color: #CFCFCF; font-size: .95rem; }
.plan li::before {
  content: ''; position: absolute; left: 0; top: .42em; width: .85rem; height: .5rem;
  border-left: 2.5px solid var(--yellow); border-bottom: 2.5px solid var(--yellow);
  transform: rotate(-45deg) translateY(-2px);
}
.plan .btn { margin-top: auto; }

.plan-featured {
  background: var(--yellow); color: #0A0A0A; border-color: var(--yellow);
  box-shadow: 0 24px 60px rgba(248, 200, 40, .18);
}
.plan-featured:hover { border-color: #fff; }
.plan-featured .plan-tag, .plan-featured .plan-price small { color: rgba(0, 0, 0, .66); }
.plan-featured li { color: #1A1A1A; }
.plan-featured li::before { border-color: #0A0A0A; }
.plan-badge {
  position: absolute; top: -13px; left: 1.6rem;
  background: #0A0A0A; color: var(--yellow);
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; padding: .35rem .8rem; border-radius: 999px;
}
.plans-note { color: var(--muted-2); font-size: .85rem; margin-top: 1.4rem; }

/* ---------- Opiniones ---------- */
.reviews-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 1.4rem; align-items: start; }
.rating-card {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; text-align: center; position: sticky; top: 110px;
}
.rating-score { font-family: var(--font-display); font-size: 4rem; line-height: 1; margin: 0; color: var(--yellow); }
.stars { display: flex; justify-content: center; gap: .25rem; color: var(--yellow); margin: .5rem 0 .3rem; }
.stars svg { width: 22px; height: 22px; }
.stars-sm { justify-content: flex-start; color: var(--yellow); font-size: 1rem; letter-spacing: .2em; margin: 0 0 .6rem; }
.rating-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.1rem; }

.quotes { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.quote-card {
  margin: 0; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  transition: border-color .3s, transform .3s;
}
.quote-card:hover { border-color: rgba(248, 200, 40, .4); transform: translateY(-3px); }
.quote-card blockquote { margin: 0 0 .7rem; font-size: 1.02rem; color: #E4E4E4; }
.quote-card figcaption { color: var(--muted); font-size: .85rem; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem .2rem;
  font-family: var(--font-cond); font-weight: 600; font-size: 1.25rem; letter-spacing: .02em;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--yellow); }
.faq summary::after {
  content: '+'; font-family: var(--font-display); font-size: 1.5rem; color: var(--yellow);
  transition: transform .3s; flex: none;
}
.faq details[open] summary { color: var(--yellow); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 .2rem 1.3rem; max-width: 70ch; margin: 0; }
.faq details p strong { color: var(--white); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.4rem; align-items: stretch; }
.contact-info { display: grid; gap: .8rem; align-content: start; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; transition: border-color .3s, transform .3s, background .3s;
}
a.contact-card:hover { border-color: rgba(248, 200, 40, .5); transform: translateX(4px); background: var(--panel-2); }
.contact-card.is-static { cursor: default; }
.contact-ico {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  background: var(--yellow-soft); color: var(--yellow); display: grid; place-items: center;
}
.contact-ico svg { width: 24px; height: 24px; }
.contact-card strong { display: block; font-size: 1.02rem; line-height: 1.3; }
.contact-card em { font-style: normal; color: var(--muted); font-size: .86rem; }
.contact-info .btn { margin-top: .4rem; }

.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 460px; position: relative; }
.contact-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.35) invert(.92) hue-rotate(180deg) contrast(.92); }

/* ---------- Lightbox (galería) ---------- */
.gallery-item.is-clickable { cursor: zoom-in; }
.gallery-item.is-clickable:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

body.lb-open { overflow: hidden; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: #080808;
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
/* CRÍTICO: sin esto, el CSS anula el atributo hidden y la capa invisible
   se traga todos los clics de la página */
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lb-stage {
  margin: 0; max-width: min(1200px, 100%); max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  transform: scale(.97); transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.lightbox.is-open .lb-stage { transform: none; }

.lb-img {
  max-width: 100%; max-height: 78svh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  background: #111;
}

.lb-cap {
  font-family: var(--font-cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: .95rem; color: var(--yellow); text-align: center;
}

.lb-count {
  position: absolute; top: clamp(1rem, 3vw, 1.6rem); left: 50%; transform: translateX(-50%);
  margin: 0; font-family: var(--font-cond); font-weight: 700; letter-spacing: .16em;
  font-size: .9rem; color: rgba(255, 255, 255, .75);
}

.lb-btn {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(20, 20, 20, .8); border: 1px solid var(--line-2); color: #fff;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.lb-btn svg { width: 24px; height: 24px; }
.lb-btn:hover { background: var(--yellow); color: #0A0A0A; border-color: var(--yellow); transform: scale(1.06); }
.lb-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.lb-close { top: clamp(1rem, 3vw, 1.6rem); right: clamp(1rem, 3vw, 1.6rem); }
.lb-prev { left: clamp(.6rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.6rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 640px) {
  .lb-btn { width: 46px; height: 46px; }
  .lb-img { max-height: 68svh; border-radius: 10px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #070707; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 2.4rem; }
.footer-brand { text-align: center; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 1rem; }
.footer-brand .brand-word strong { font-size: 1.7rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; justify-content: center; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: #DDD; transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.socials a:hover { background: var(--yellow); color: #000; border-color: var(--yellow); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4 {
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  font-size: .95rem; color: var(--yellow); margin-bottom: .4rem;
}
.footer-col a, .footer-col span { color: var(--muted); font-size: .92rem; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  border-top: 1px solid var(--line); margin-top: 2.6rem; padding-top: 1.4rem;
}
.footer-bottom p { color: var(--muted-2); font-size: .84rem; margin: 0; }
.legal { display: flex; gap: 1.2rem; }
.legal a:hover { color: var(--yellow); }

.footer-credit { margin-top: 1.1rem; text-align: center; }
.footer-credit p {
  color: var(--muted-2); font-size: .84rem; margin: 0;
  font-family: var(--font-cond); letter-spacing: .06em;
}
.footer-credit a {
  color: var(--yellow); font-weight: 600; border-bottom: 1px solid transparent;
  transition: border-color .25s, color .25s;
}
.footer-credit a:hover { border-bottom-color: var(--yellow); }
.footer-credit .signature {
  margin: .6rem 0 0;
  font-size: .78rem;
  line-height: 1;
  letter-spacing: .3em;
  text-indent: .3em;
  opacity: .3;
  filter: grayscale(.35);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--yellow); color: #0A0A0A;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  transition: transform .3s, box-shadow .3s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); box-shadow: var(--shadow-yellow); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--yellow); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed; inset: 0; z-index: 99;
    flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem;
    background: rgba(7, 7, 7, .97); backdrop-filter: blur(12px);
    opacity: 0; pointer-events: none; transition: opacity .3s;
    margin: 0;
  }
  .main-nav a { font-size: 1.7rem; }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; position: relative; z-index: 101; }
  .header-actions { margin-left: auto; }

  .split { grid-template-columns: 1fr; }
  .split-media::before { inset: 14px -10px -14px 10px; }
  .photo-frame img { aspect-ratio: 4 / 3.4; }
  .reviews-head { grid-template-columns: 1fr; }
  .rating-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 360px; }
  .contact-map iframe { min-height: 360px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 6.5rem; }
  .hero-sticker { display: none; }
  .plans { grid-template-columns: 1fr; }
  .plan-featured { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 320px 210px 210px 210px;
    grid-template-areas: "a" "b" "c" "d";
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .header-actions .btn-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .wa-float::before { animation: none; }
  * { transition-duration: .01ms !important; }
}
