/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:         #0B0714;   /* near-black with deep violet undertone, never pure #000 */
  --bg-2:       #120B21;
  --bg-3:       #1C1330;   /* card surface */
  --bg-4:       #291A44;   /* elevated / hover */
  --cream:      #EDEAF6;   /* text on dark — never pure white */
  --cream-2:    #C9C2DE;
  --white:      #FFFFFF;   /* sparingly — emphasis only */
  --ink-mute:   rgba(237,234,246,.68);
  --ink-dim:    rgba(237,234,246,.44);

  --ice:        #8FE0FF;   /* icy blue — primary accent */
  --ice-2:      #4FC3E8;
  --ice-glow:   rgba(143,224,255,.38);

  --burgundy:   #7A1638;   /* dark burgundy/wine — secondary accent */
  --burgundy-2: #4A0E22;
  --burgundy-glow: rgba(122,22,56,.48);

  --violet:     #6B2FA0;   /* bridge tone for mesh + halos */
  --violet-glow: rgba(107,47,160,.35);

  --line:       rgba(237,234,246,.14);
  --line-soft:  rgba(237,234,246,.08);

  --display: "Cormorant Garamond", "Iowan Old Style", "Georgia", serif;
  --brand:   "Italiana", "Cormorant Garamond", serif;
  --sans:    "Inter", system-ui, -apple-system, sans-serif;

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

  --container: 1240px;
  --nav-h: 78px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream);
  -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; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-family: var(--display);
  font-weight: 500;
}
em { font-style: italic; color: var(--ice); }
::selection { background: var(--burgundy); color: var(--white); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.4rem; }
@media (min-width: 720px)  { .container { padding-inline: 2.2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.6rem; } }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ice); color: var(--bg);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--brand);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ice);
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 0 3px var(--ice-glow);
  animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: .9rem; }
.section-sub { margin-top: 1.1rem; color: var(--ink-mute); font-size: 1.08rem; max-width: 60ch; }
.section-head.is-center { text-align: center; margin-inline: auto; }
.section-head.is-center .section-title,
.section-head.is-center .section-sub { margin-inline: auto; }

.section-with-mesh { position: relative; overflow: hidden; isolation: isolate; }
.section-with-mesh::before {
  content: ""; position: absolute; inset: -15%; z-index: -1;
  background:
    radial-gradient(55% 45% at var(--mesh-x, 30%) var(--mesh-y, 40%), rgba(143,224,255,.22), transparent 62%),
    conic-gradient(from var(--mesh-angle, 0deg), rgba(122,22,56,.22), rgba(107,47,160,.12), rgba(143,224,255,.16), rgba(122,22,56,.22));
  filter: blur(90px) saturate(120%);
  opacity: .8;
  animation: meshShift 24s linear infinite;
  mix-blend-mode: screen;
}
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes meshShift {
  0%   { --mesh-angle: 0deg; }
  100% { --mesh-angle: 360deg; }
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--ice) 0%, var(--ice-2) 100%);
  color: #0B0714;
  box-shadow: 0 10px 30px -8px var(--ice-glow), 0 2px 8px rgba(0,0,0,.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -10px var(--ice-glow), 0 6px 16px rgba(0,0,0,.4); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ice); color: var(--ice); transform: translateY(-2px); }

.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.02rem; }
.btn-sm { padding: .68rem 1.25rem; font-size: .86rem; }

/* =============================================================
   5. Spotlight reveal (splash)
   ============================================================= */
.spotlight-reveal {
  position: fixed; inset: 0; z-index: 10000;
  background: radial-gradient(circle at 50% 46%, #171025 0%, #0B0714 62%);
  display: grid; place-items: center;
  clip-path: circle(150% at 50% 46%);
  transition: clip-path 1.15s var(--ease-soft), opacity .5s ease .05s;
  animation: spotlightSafety .01s 4.2s forwards;
}
.spotlight-reveal.is-out {
  clip-path: circle(0% at 50% 46%);
  opacity: 0;
  pointer-events: none;
}
@keyframes spotlightSafety {
  to { clip-path: circle(0% at 50% 46%); opacity: 0; pointer-events: none; }
}
.spotlight-mark {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  animation: spotlightPulse 1.8s ease-in-out infinite;
}
.spotlight-mark svg { width: 46px; height: 46px; }
.spotlight-word {
  font-family: var(--brand);
  font-size: 1.1rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--cream);
  padding-left: .32em; /* optical centering for tracked caps */
}
@keyframes spotlightPulse {
  0%, 100% { opacity: .55; transform: scale(.97); }
  50%      { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .spotlight-mark { animation: none; }
}

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11,7,20,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark { width: 20px; height: 20px; color: var(--ice); flex-shrink: 0; }
.brand-word {
  font-family: var(--brand);
  font-size: 1.02rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
}

.nav-links { display: none; align-items: center; gap: 2.1rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { position: relative; font-size: .92rem; color: var(--cream-2); padding-block: .3rem; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ice);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

.nav-burger {
  display: grid; place-items: center; gap: 5px;
  width: 42px; height: 42px;
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span { width: 22px; height: 1.5px; background: var(--cream); transition: transform .35s var(--ease-soft), opacity .35s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 190;
  background: var(--bg-2);
  display: grid; place-items: center; gap: 2.2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile-link { font-family: var(--display); font-size: 1.7rem; color: var(--cream); }
.nav-mobile-link:hover { color: var(--ice); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 3rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-mesh {
  position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(48% 42% at 22% 28%, rgba(143,224,255,.40), transparent 62%),
    radial-gradient(50% 46% at 82% 20%, rgba(107,47,160,.40), transparent 60%),
    radial-gradient(60% 55% at 55% 92%, rgba(122,22,56,.45), transparent 65%);
  filter: blur(70px) saturate(130%);
  mix-blend-mode: screen;
  animation: heroMeshDrift 26s ease-in-out infinite;
}
@keyframes heroMeshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.15) rotate(6deg); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: .15; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 5%;
  animation: ambientZoom 32s ease-in-out infinite;
}
@keyframes ambientZoom {
  0%, 100% { transform: scale(1.04) translate3d(0, 0, 0); }
  50%      { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}
.hero-bg-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,7,20,.35) 0%, rgba(11,7,20,.55) 55%, rgba(11,7,20,.92) 100%); }

.hero-inner { position: relative; width: 100%; }
.hero-title {
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  max-width: 21ch;
  margin-top: 1.1rem;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 1.5rem;
  max-width: 52ch;
  font-size: 1.14rem;
  color: var(--ink-mute);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.2rem;
  margin-top: 3.4rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 640px;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--ice);
  display: block;
}
.stat-label { font-size: .82rem; color: var(--ink-dim); margin-top: .3rem; }

/* =============================================================
   8. Placeholder images
   ============================================================= */
.ph {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(143,224,255,.16), transparent 55%),
    radial-gradient(120% 140% at 90% 100%, rgba(122,22,56,.26), transparent 55%),
    linear-gradient(150deg, #1C1330 0%, #241639 55%, #180F26 100%);
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(237,234,246,.05) 0 1px, transparent 1px 26px);
  opacity: .5;
}
.ph-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  width: 15%; min-width: 30px; max-width: 56px;
  color: var(--ink-dim);
  opacity: .55;
}
.ph-label {
  position: relative; z-index: 1;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--ink-dim);
  background: linear-gradient(0deg, rgba(11,7,20,.75), transparent);
  padding: 1.6rem .9rem .7rem;
  width: 100%;
}
.ph-label strong { color: var(--cream-2); font-weight: 600; }

.ph--hero { aspect-ratio: auto; }
.ph--poster { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 21 / 9; }
.ph--avatar { aspect-ratio: 1; border-radius: 50%; flex-shrink: 0; }
.ph--avatar .ph-label { display: none; }
.ph--avatar .ph-icon { width: 34%; }

/* =============================================================
   9. Showcase carousel — Espectáculos
   ============================================================= */
.showcase { position: relative; }

.showcase-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.showcase-controls { display: none; gap: .7rem; flex-shrink: 0; margin-bottom: .4rem; }
@media (min-width: 720px) { .showcase-controls { display: flex; } }
.showcase-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: border-color .3s, color .3s, transform .3s, opacity .3s;
}
.showcase-arrow svg { width: 18px; height: 18px; }
.showcase-arrow:hover { border-color: var(--ice); color: var(--ice); transform: translateY(-2px); }
.showcase-arrow:disabled { opacity: .3; pointer-events: none; }

.showcase-track-wrap {
  overflow-x: auto; overflow-y: visible; scrollbar-width: none; padding-block: 1rem 2.5rem;
  scroll-snap-type: x proximity;
}
.showcase-track-wrap::-webkit-scrollbar { display: none; }
.showcase-track {
  display: flex; flex-wrap: nowrap; gap: 1.4rem;
  width: max-content;
}
.show-card {
  width: min(320px, 78vw);
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .4s, box-shadow .4s, transform .1s;
}
.show-card .ph { border-radius: 0; }
.show-poster-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.show-card-body { padding: 1.5rem 1.5rem 1.7rem; position: relative; }
.show-genre {
  display: inline-block;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ice);
  background: rgba(143,224,255,.1);
  border: 1px solid rgba(143,224,255,.25);
  padding: .3rem .7rem;
  border-radius: 999px;
}
.show-card h3 { font-size: 1.7rem; margin-top: .9rem; }
.show-duration { font-size: .8rem; color: var(--ink-dim); margin-top: .2rem; display: block; }
.show-tagline { color: var(--cream-2); font-style: italic; margin-top: .7rem; font-family: var(--display); font-size: 1.05rem; }
.show-desc { color: var(--ink-mute); font-size: .92rem; margin-top: .6rem; }
.show-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem; font-size: .88rem; font-weight: 600; color: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-bottom: .15rem;
  transition: color .3s, border-color .3s, gap .3s;
}
.show-link:hover { color: var(--ice); border-color: var(--ice); gap: .6rem; }

/* Tilt + halo (used on show-card and testimonial-card) */
.has-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), border-color .4s, box-shadow .4s;
}
.has-tilt:hover {
  transition-duration: .15s, .4s, .4s;
  border-color: rgba(143,224,255,.4);
  box-shadow: 0 40px 80px -24px var(--violet-glow), 0 0 0 1px rgba(143,224,255,.12);
}
.has-halo { position: relative; isolation: isolate; }
.has-halo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(143,224,255,.16), transparent 62%);
  opacity: 0; transition: opacity .4s;
}
.has-halo:hover::before { opacity: 1; }

/* =============================================================
   10. Pillars — La experiencia Karzon
   ============================================================= */
.pillar-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-card {
  padding: 2.1rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
}
.pillar-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(143,224,255,.1);
  color: var(--ice);
  margin-bottom: 1.3rem;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-card h3 { font-size: 1.35rem; }
.pillar-card p { color: var(--ink-mute); margin-top: .7rem; font-size: .95rem; }

/* =============================================================
   11. Testimonials
   ============================================================= */
.testimonials-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.testimonials-bg img { width: 100%; height: 100%; object-fit: cover; }
.testimonials-bg-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,7,20,.55) 0%, rgba(11,7,20,.8) 55%, rgba(11,7,20,.94) 100%);
}
.testimonial-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(28,19,48,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@supports not (backdrop-filter: blur(10px)) {
  .testimonial-card { background: #1C1330; }
}
.testimonial-mark { font-family: var(--display); font-size: 2.6rem; color: var(--burgundy); line-height: 1; display: block; font-style: italic; }
.testimonial-quote { font-family: var(--display); font-size: 1.25rem; font-style: italic; color: var(--cream); margin-top: .6rem; }
.testimonial-footer { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.testimonial-footer .ph { width: 46px; height: 46px; flex-shrink: 0; }
.testimonial-footer strong { display: block; font-size: .92rem; }
.testimonial-footer span { display: block; font-size: .8rem; color: var(--ink-dim); margin-top: .1rem; }

/* =============================================================
   12. CTA band
   ============================================================= */
.cta-band { padding-block: clamp(3.4rem, 7vw, 6rem); }
.cta-band-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.8rem;
  padding: clamp(2.6rem, 6vw, 4.4rem) 1.5rem;
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(122,22,56,.4), rgba(107,47,160,.28) 55%, rgba(143,224,255,.14));
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 18ch; }

/* =============================================================
   13. Contact / Reservas
   ============================================================= */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }

.contact-details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-details li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .85rem; border-top: 1px solid var(--line); }
.contact-details li:first-child { border-top: none; }
.contact-details span { color: var(--ink-dim); font-size: .85rem; }
.contact-details a { font-weight: 600; }
.contact-details a:hover { color: var(--ice); }

.contact-social { display: flex; gap: .9rem; margin-top: 1.8rem; }
.contact-social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .3s, color .3s, transform .3s;
}
.contact-social a:hover { border-color: var(--ice); color: var(--ice); transform: translateY(-3px); }
.contact-social svg { width: 18px; height: 18px; }

.contact-visual { margin-top: 2.2rem; }
.contact-visual-img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.cta-form { display: grid; gap: 1.1rem; position: relative; }
.cta-form.is-sent { opacity: 0; transform: translateY(-14px); pointer-events: none; transition: opacity .5s, transform .5s; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 1.5rem 1rem .6rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--cream);
  font: inherit;
  transition: border-color .3s;
}
.field select { appearance: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ice); outline: none; }
.field label {
  position: absolute; left: 1rem; top: 1.1rem;
  pointer-events: none; color: var(--ink-dim);
  transition: all .25s var(--ease-out);
  font-size: .95rem;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field.has-value label {
  top: .5rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ice);
}
.field-select-label {
  position: absolute; left: 1rem; top: .5rem;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ice);
  pointer-events: none;
}
.field-chevron {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; pointer-events: none; color: var(--ink-dim);
}

.cta-submit { position: relative; margin-top: .4rem; justify-self: start; overflow: hidden; }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-submit.is-sending .cta-form-label { opacity: 0; }
.cta-submit.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 18px; height: 18px;
  border: 1.5px solid rgba(11,7,20,.25); border-top-color: #0B0714;
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-form-check path { stroke: currentColor; stroke-width: 2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s var(--ease-out); }

.cta-success {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .7s var(--ease-out) .2s, transform .7s var(--ease-soft) .2s;
}
.cta-success.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cta-success h3 { font-size: 1.7rem; }
.cta-success p { color: var(--ink-mute); margin-top: .6rem; max-width: 46ch; }
.cta-whatsapp { margin-top: 1.3rem; gap: .5rem; }
.cta-whatsapp:hover { border-color: #25D366; color: #25D366; }

.cta-form-error {
  font-size: .88rem;
  color: var(--cream-2);
  background: rgba(122,22,56,.18);
  border: 1px solid transparent;
  border-radius: 12px;
  padding-inline: 1rem;
  max-height: 0; margin-top: 0; padding-block: 0;
  overflow: hidden; opacity: 0;
  transition: max-height .4s var(--ease-soft), opacity .4s, padding-block .4s, margin-top .4s, border-color .4s;
}
.cta-form-error a { font-weight: 600; text-decoration: underline; }
.cta-form.has-error .cta-form-error {
  max-height: 120px; margin-top: .8rem; padding-block: .85rem;
  opacity: 1; border-color: rgba(122,22,56,.4);
}

.sparkle {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 8px; height: 8px;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  animation: sparkleFly 1s ease-out forwards;
}
@keyframes sparkleFly {
  to { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0); opacity: 0; }
}

/* =============================================================
   14. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 3rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.6rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-brand .brand-mark { width: 16px; height: 16px; }
.footer-brand .brand-word { font-size: .82rem; }
.footer-legal { color: var(--ink-dim); font-size: .82rem; }
.footer-legal a:hover { color: var(--ice); }

/* =============================================================
   15. Reveal-on-scroll (universal)
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; } /* defensive: split-text handles its own reveal */

.split-word, .split-char { display: inline-block; will-change: transform, opacity; }

/* =============================================================
   16. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .hero-actions { gap: 1.2rem; }
}
@media (min-width: 720px) {
  .section-title { max-width: 22ch; }
}
@media (min-width: 960px) {
  .hero-title { max-width: 19ch; }
}
@media (min-width: 1280px) {
  .container { padding-inline: 2.6rem; }
}

/* =============================================================
   17. Reduced motion — intrusive only
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh, .section-with-mesh::before { animation: none; }
  .kicker .dot { animation: none; }
  .sparkle { animation: none; opacity: 0; }
}
