/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  --bg:        #0A0A0A;
  --bg-2:      #111111;
  --bg-card:   #181818;
  --bg-card-2: #1E1E1E;
  --text:      #F4F4F4;
  --text-soft: #C0C0C0;
  --text-mute: #787878;
  --accent:    #E30613;
  --accent-2:  #B00000;
  --accent-glow: rgba(227, 6, 19, 0.35);
  --line:      rgba(255, 255, 255, 0.07);
  --line-red:  rgba(227, 6, 19, 0.3);

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 72px;
  --radius: 12px;
  --container: 1200px;
  --gutter: 1.5rem;

  --display: 'Bebas Neue', 'Impact', sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--text); color: var(--bg);
  z-index: 9999; border-radius: 6px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

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

.kicker {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: .02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-header h2 em {
  font-style: normal;
  color: var(--accent);
}

.section-header .section-body {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 55ch;
  margin-inline: auto;
}

/* =============================================================
   4. SPLASH LOADER
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  pointer-events: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}

@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; }
}

.splash.is-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.splash-logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: splashLogoIn .9s var(--ease-out) .2s both;
}

.splash-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
}

@keyframes splashLogoIn {
  from { opacity: 0; transform: translateY(20px) scale(.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.splash-name {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: .2em;
  color: var(--text);
  animation: splashLogoIn .9s var(--ease-out) .5s both;
}

.splash-bar {
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  animation: splashBar 2s var(--ease-soft) .8s both;
}

@keyframes splashBar {
  from { width: 0; opacity: 0; }
  50%  { width: 120px; opacity: 1; }
  to   { width: 60px; opacity: .4; }
}

/* =============================================================
   5. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--nav-h);
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.nav.is-solid {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: invert(1);
}

.nav-brand {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: .12em;
  color: var(--text);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .25s var(--ease-out);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}

.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(10,10,10,.98);
  border-top: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out);
}

.nav.is-open .nav-mobile {
  max-height: 400px;
}

.nav-mobile a {
  display: block;
  padding: 1rem var(--gutter);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  transition: color .2s, background .2s;
}

.nav-mobile a:hover { color: var(--text); background: var(--bg-2); }

.nav-mobile .btn {
  margin: 1.25rem var(--gutter);
  text-align: center;
  border-bottom: none;
}

/* =============================================================
   6. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .25s var(--ease-bounce), box-shadow .25s var(--ease-out), background .25s, color .25s;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-red {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(227, 6, 19, .4);
}
.btn-red:hover {
  background: #ff0a19;
  box-shadow: 0 8px 30px rgba(227, 6, 19, .6);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-red);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(227,6,19,.08);
  color: var(--accent);
}

.btn-lg  { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-xl  { padding: 1.1rem 2.5rem; font-size: 1.05rem; border-radius: 8px; }

.btn svg { flex-shrink: 0; }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.2) saturate(1.1);
}

.hero-bg-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.2) 40%, rgba(10,10,10,.85) 100%);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(227,6,19,.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 90%, rgba(180,0,0,.15) 0%, transparent 55%);
  pointer-events: none;
  animation: meshPulse 8s ease-in-out infinite alternate;
}

@keyframes meshPulse {
  from { opacity: .8; }
  to   { opacity: 1.2; }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px;
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.75); }
}

/* Decorative rule between kicker and title */
.hero-title-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 12px rgba(227,6,19,.7);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3.8rem, 18vw, 11rem);
  line-height: .92;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: .06em;
}

/* "HAZ QUE" — elegante outline trazo blanco */
.ht-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 244, 244, 0.65);
  letter-spacing: .1em;
  font-size: .78em;
  text-shadow: none;
}

/* "SE NOTE" — rojo sólido con glow cinematográfico */
.ht-fill {
  display: block;
  color: var(--accent);
  letter-spacing: .05em;
  text-shadow:
    0 0 20px rgba(227,6,19,.28),
    0 2px 0 rgba(140,0,0,.4);
  position: relative;
}

/* Fina línea decorativa bajo "SE NOTE" */
.ht-fill::after {
  content: '';
  position: absolute;
  bottom: -.05em;
  left: 0;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--text-soft);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.stat-row {
  display: flex;
  align-items: baseline;
  gap: .15rem;
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  letter-spacing: .02em;
  line-height: 1;
}

.stat-unit {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-mute);
  border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================================
   8. CONCEPTO
   ============================================================= */
.concepto {
  padding: 7rem 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.concepto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}

.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(227,6,19,.08), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}

.pillar:hover {
  border-color: var(--line-red);
  transform: translateY(-4px);
}

.pillar:hover::before { opacity: 1; }

.pillar-icon {
  width: 48px;
  height: 48px;
  background: rgba(227,6,19,.12);
  border: 1px solid var(--line-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.pillar h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: .05em;
  color: var(--text);
  margin-bottom: .6rem;
}

.pillar p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* =============================================================
   9. SERVICIOS
   ============================================================= */
.servicios {
  padding: 7rem 0;
  background: var(--bg);
}

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.servicio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .3s, transform .3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.servicio-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}

.servicio-card:hover {
  border-color: var(--line-red);
  transform: translateY(-5px);
}

.servicio-card:hover::after { transform: scaleX(1); }

.servicio-icon {
  width: 52px;
  height: 52px;
  background: rgba(227,6,19,.1);
  border: 1px solid var(--line-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicio-icon svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.servicio-card h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: .04em;
  color: var(--text);
}

.servicio-card p {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* =============================================================
   10. GALERÍA / SHOWCASE
   ============================================================= */
.galeria {
  padding: 7rem 0 0;
  background: var(--bg-2);
  overflow: hidden;
}

.galeria .section-header {
  margin-bottom: 3rem;
}

.showcase-outer {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding-bottom: 3rem;
}

.showcase-outer::-webkit-scrollbar { display: none; }
.showcase-outer.is-grabbing { cursor: grabbing; }

.showcase-track {
  display: flex;
  gap: 1rem;
  padding-inline: var(--gutter);
  width: max-content;
}

.showcase-card {
  flex-shrink: 0;
  width: clamp(220px, 28vw, 340px);
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), border-color .3s;
}

.showcase-card:hover {
  transform: scale(1.03) translateY(-6px);
  border-color: var(--line-red);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-soft);
}

.showcase-card:hover img { transform: scale(1.06); }

.showcase-hint {
  text-align: center;
  padding: 1.5rem 0 3rem;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.showcase-hint::before,
.showcase-hint::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--text-mute);
}

/* =============================================================
   11. PRECIOS
   ============================================================= */
.precios {
  padding: 7rem 0;
  background: var(--bg);
}

.precios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.precio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
  transform-style: preserve-3d;
}

.precio-card:hover {
  border-color: rgba(227,6,19,.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 30px rgba(227,6,19,.08);
}

.precio-card--featured {
  background: var(--bg-card-2);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(227,6,19,.25);
  transform: scale(1.02);
}

.precio-card--featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 70px rgba(227,6,19,.35);
}

.precio-popular {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: .3rem .7rem;
  border-radius: 20px;
}

/* Badge oferta verano */
.precio-oferta-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(227,6,19,.12);
  color: var(--accent);
  border: 1px solid rgba(227,6,19,.35);
  padding: .25rem .65rem;
  border-radius: 20px;
  margin-bottom: .25rem;
}

/* Precio original tachado */
.precio-original {
  font-size: .78rem;
  color: var(--text-mute);
  margin-top: -.5rem;
}

.precio-original s {
  color: var(--text-mute);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
}

.precio-badge {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: .1em;
  color: var(--text);
}

.precio-duration {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: -.75rem;
}

.precio-price {
  display: flex;
  align-items: baseline;
  gap: .2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.precio-currency {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--accent);
}

.precio-amount {
  font-family: var(--display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--text);
  letter-spacing: .01em;
}

.precio-period {
  font-size: .8rem;
  color: var(--text-mute);
  margin-left: .25rem;
  align-self: flex-end;
  padding-bottom: .35rem;
}

.precio-features {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}

.precio-features li {
  font-size: .88rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.precio-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: .8rem;
}

.precio-features li {
  text-indent: 0;
}

.precio-card .btn {
  width: 100%;
  margin-top: auto;
}

.precios-note {
  text-align: center;
  font-size: .82rem;
  color: var(--text-mute);
  letter-spacing: .06em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem 1.5rem;
}

.precios-note span {
  color: var(--accent);
}

/* =============================================================
   12. TRANSFORMA (CTA PARALLAX)
   ============================================================= */
.transforma {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
}

.transforma-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.transforma-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.18) saturate(1.2);
}

.transforma-bg-tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(227,6,19,.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.3) 50%, rgba(10,10,10,.7) 100%);
}

.transforma-content {
  position: relative;
  z-index: 2;
}

.transforma-content h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.transforma-content h2 em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.transforma-content p {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

/* =============================================================
   13. CONTACTO
   ============================================================= */
.contacto {
  padding: 7rem 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.contacto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contacto::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(227,6,19,.06) 0%, transparent 70%);
  pointer-events: none;
}

.contacto-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contacto-social {
  text-align: center;
  font-size: .88rem;
  color: var(--text-mute);
}

.contacto-social a {
  color: var(--accent);
  transition: color .2s;
}

.contacto-social a:hover { color: #ff0a19; }

/* =============================================================
   14. MARQUEE
   ============================================================= */
.marquee-section {
  padding: 1.5rem 0;
  background: var(--accent);
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeRun 18s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  padding-inline: 2.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-track span em {
  font-style: normal;
  color: rgba(255,255,255,.5);
}

@keyframes marqueeRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   15. FOOTER
   ============================================================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: invert(1);
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: .12em;
  color: var(--text);
}

.footer-tagline {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-links a {
  font-size: .88rem;
  color: var(--text-soft);
  transition: color .2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-contact a {
  font-size: .88rem;
  color: var(--text-soft);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-contact a:hover { color: var(--accent); }

.footer-contact a::before {
  content: '→';
  color: var(--accent);
  font-size: .75rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: .78rem;
  color: var(--text-mute);
  letter-spacing: .04em;
}

/* =============================================================
   16. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

/* Defensive: elements with data-split must not inherit reveal's opacity:0 */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* =============================================================
   17. REDUCED MOTION (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  @keyframes meshPulse { from {} to {} }
  @keyframes marqueeRun { from {} to {} }
  @keyframes scrollBounce { from {} to {} }
}

/* =============================================================
   18. RESPONSIVE — Mobile-first
   ============================================================= */

/* ---- BASE (< 540px — móvil pequeño) ---- */

/* Grids a 1 columna */
.pillars          { grid-template-columns: 1fr; }
.servicios-grid   { grid-template-columns: 1fr; }
.precios-grid     { grid-template-columns: 1fr; }

/* Quitar escala de "featured" en móvil para no romper el grid */
.precio-card--featured {
  transform: none;
  box-shadow: 0 0 0 2px var(--accent), 0 16px 40px rgba(227,6,19,.2);
}
.precio-card--featured:hover { transform: translateY(-6px); }

/* Secciones: padding reducido */
.concepto, .servicios, .galeria, .precios, .contacto { padding: 4.5rem 0; }
.transforma { padding: 5rem 0; }

/* Hero: botones en columna full-width en pantallas pequeñas */
.hero-actions {
  flex-direction: column;
  margin-bottom: 2.5rem;
}
.hero-actions .btn { width: 100%; justify-content: center; }

/* Hero stats: gap reducido */
.hero-stats { gap: 1.5rem; }

/* Hero sub: quitar <br> inline en móvil */
.hero-sub br { display: none; }

/* Hero inner: menos padding superior */
.hero-inner {
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 3rem;
}

/* Botones de contacto: en columna y full-width en móvil */
.contacto-actions {
  flex-direction: column;
  align-items: stretch;
}
.contacto-actions .btn { width: 100%; justify-content: center; }

/* Section header: menos margin inferior */
.section-header { margin-bottom: 2.5rem; }

/* ---- 540px — móvil grande ---- */
@media (min-width: 540px) {
  .pillars          { grid-template-columns: repeat(2, 1fr); }
  .servicios-grid   { grid-template-columns: repeat(2, 1fr); }
  .precios-grid     { grid-template-columns: repeat(2, 1fr); }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-actions .btn { width: auto; }

  .contacto-actions { flex-direction: row; align-items: center; justify-content: center; }
  .contacto-actions .btn { width: auto; }
}

/* ---- 720px — tablet ---- */
@media (min-width: 720px) {
  .concepto, .servicios, .galeria, .precios, .contacto { padding: 6rem 0; }
  .transforma { padding: 7rem 0; }

  .footer-inner { grid-template-columns: 1.5fr 1fr 1.5fr; }

  .section-header { margin-bottom: 3.5rem; }

  .hero-inner {
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 4rem;
  }

  /* Escala del featured vuelve en tablet */
  .precio-card--featured { transform: scale(1.02); }
}

/* ---- 960px — desktop ---- */
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none !important; }

  .pillars          { grid-template-columns: repeat(4, 1fr); }
  .servicios-grid   { grid-template-columns: repeat(4, 1fr); }
  .precios-grid     { grid-template-columns: repeat(4, 1fr); }

  .concepto, .servicios, .galeria, .precios, .contacto { padding: 7rem 0; }
  .transforma { padding: 8rem 0; }

  .section-header { margin-bottom: 4rem; }
}

/* ---- 1280px — desktop grande ---- */
@media (min-width: 1280px) {
  :root { --gutter: 2rem; }
  .precio-amount { font-size: 4rem; }
}

/* =============================================================
   19. CUSTOM SCROLLBAR (webkit)
   ============================================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--accent-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* =============================================================
   20. WHATSAPP FLOTANTE
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 450;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5), 0 2px 10px rgba(0,0,0,.3);
  transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-out);
  animation: waEntrance .7s var(--ease-bounce) 2.5s both;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.65), 0 4px 14px rgba(0,0,0,.3);
}

@keyframes waEntrance {
  from { opacity: 0; transform: scale(0) rotate(-90deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.45);
  animation: waPulse 2.8s ease-in-out 3.5s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.22); }
}

/* =============================================================
   21. FAQ
   ============================================================= */
.faq {
  padding: 6rem 0;
  background: var(--bg);
}

.faq-list {
  max-width: 740px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s var(--ease-out);
}

.faq-trigger:hover { color: var(--accent); }

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease-out), border-color .3s;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 300;
}

.faq-icon::before { content: '+'; }

.faq-item.is-open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease-out);
}

.faq-body p {
  padding-bottom: 1.5rem;
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 65ch;
}

/* =============================================================
   22. CALCULADORA DE CALORÍAS
   ============================================================= */
.calculadora {
  padding: 6rem 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.calculadora::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.calc-box {
  max-width: 580px;
  margin-inline: auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.5rem 2rem;
}

.calc-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.calc-field label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .5rem;
}

.calc-field input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .85rem .75rem;
  font-size: 1.05rem;
  font-family: var(--sans);
  color: var(--text);
  text-align: center;
  transition: border-color .2s var(--ease-out);
  -moz-appearance: textfield;
}

.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; }

.calc-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card-2);
}

.calc-field input::placeholder { color: var(--text-mute); opacity: .6; }

.calc-result {
  display: none;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  animation: fadeUp .5s var(--ease-out) both;
}

.calc-result.is-visible { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
}

.calc-result-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 1.1rem .75rem;
  text-align: center;
  border: 1px solid var(--line);
  transition: border-color .2s;
}

.calc-result-card.highlight {
  border-color: var(--accent);
  background: rgba(227,6,19,.07);
}

.calc-result-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .5rem;
}

.calc-result-kcal {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--text);
  letter-spacing: .02em;
  line-height: 1;
}

.calc-result-card.highlight .calc-result-kcal { color: var(--accent); }

.calc-result-unit {
  font-size: .7rem;
  color: var(--text-mute);
  margin-top: .2rem;
}

.calc-result-note {
  font-size: .75rem;
  color: var(--text-mute);
  text-align: center;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.calc-cta { text-align: center; }

.calc-cta-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.calc-cta-text em {
  font-style: normal;
  color: var(--accent);
}

/* =============================================================
   23. URGENCIA / COUNTDOWN
   ============================================================= */
.urgencia {
  padding: 3rem 0;
  background: var(--accent);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.urgencia::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,0,0,.18) 0%, transparent 70%),
    linear-gradient(135deg, rgba(0,0,0,.12) 0%, transparent 50%, rgba(0,0,0,.1) 100%);
  pointer-events: none;
}

.urgencia-inner { position: relative; z-index: 1; }

.urgencia-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: .75rem;
}

.urgencia-titulo {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: .04em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.75rem;
}

.urgencia-titulo em {
  font-style: normal;
  color: rgba(255,255,255,.75);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,.35);
}

.urgencia-precios {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.urgencia-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  background: rgba(0,0,0,.2);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  min-width: 130px;
}

.urgencia-plan-nombre {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.7);
}

.urgencia-plan-antes {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}

.urgencia-plan-antes s {
  text-decoration-color: rgba(255,255,255,.8);
  text-decoration-thickness: 1.5px;
}

.urgencia-plan-ahora {
  font-family: var(--display);
  font-size: 2rem;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1;
}

.urgencia-plan-ahora small {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
}

.urgencia-sep {
  font-size: 1.5rem;
  color: rgba(255,255,255,.3);
  align-self: center;
}

/* Ocultar elementos eliminados */
.plazas-num, .urgencia-sub {
  display: none;
}

.plazas-num {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: .95;
  color: #fff;
  letter-spacing: .04em;
  display: block;
  margin-bottom: .2rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.urgencia-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.urgencia-oferta {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
}

.countdown-wrap {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.countdown-unit {
  background: rgba(0,0,0,.22);
  border-radius: 10px;
  padding: .55rem .85rem;
  min-width: 60px;
  backdrop-filter: blur(4px);
}

.countdown-num {
  font-family: var(--display);
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
  display: block;
  letter-spacing: .04em;
}

.countdown-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: .3rem;
  display: block;
}

.urgencia-fecha {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.75rem;
  letter-spacing: .06em;
}

.btn-urgencia {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 2.5rem;
  background: #fff;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform .25s var(--ease-bounce), box-shadow .25s var(--ease-out), background .2s;
}

.btn-urgencia:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  background: #f5f5f5;
}

/* Mobile responsive para nuevas secciones */
@media (max-width: 539px) {
  .calc-fields        { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .calc-field input   { padding: .7rem .4rem; font-size: .9rem; }
  .calc-result-grid   { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .calc-result-kcal   { font-size: 1.4rem; }
  .countdown-unit     { min-width: 60px; padding: .6rem .75rem; }
  .countdown-num      { font-size: 2rem; }
  .faq-trigger        { font-size: .92rem; }
}
