/* ============================================================
   JUATA · GRABACIONES NÓMADA
   Sistema visual completo
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Colores */
  --ink: #1B1F1A;
  --ink-soft: #2A302A;
  --paper: #EDE8D0;
  --paper-warm: #F5F0DC;
  --paper-cool: #E5E0C8;
  --moss: #3A5A40;
  --moss-deep: #243829;
  --moss-light: #506b53;
  --clay: #7E634E;
  --clay-light: #9a7a62;
  --sky: #5379A4;
  --lichen: #A8B89A;
  --amber: #C9925A;
  --amber-warm: #D9A36B;
  --whatsapp: #25D366;
  --whatsapp-deep: #128C7E;

  /* Tipografía */
  --serif: 'Cormorant Garamond', 'Cormorant', 'EB Garamond', Georgia, serif;
  --sans: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;

  /* Escala tipográfica fluida */
  --fs-eyebrow: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.75rem);
  --fs-h1: clamp(2.75rem, 2rem + 4vw, 6rem);
  --fs-hero: clamp(3rem, 2rem + 6vw, 7.5rem);

  /* Espaciado */
  --space-section: clamp(4rem, 3rem + 5vw, 9rem);
  --space-block: clamp(1.5rem, 1rem + 2vw, 3rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, 1rem + 2vw, 2.5rem);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 600ms;

  /* Radio */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Sombras cálidas */
  --shadow-card: 0 1px 2px rgba(36, 56, 41, 0.04),
                 0 8px 24px rgba(36, 56, 41, 0.08),
                 0 32px 64px -16px rgba(36, 56, 41, 0.12);
  --shadow-deep: 0 40px 80px -20px rgba(36, 56, 41, 0.25);
  --shadow-glow: 0 0 0 1px rgba(58, 90, 64, 0.08),
                 0 4px 24px rgba(126, 99, 78, 0.12);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; margin: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- BASE ---------- */
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain overlay sutil global */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.106 0 0 0 0 0.122 0 0 0 0 0.102 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.65;
  mix-blend-mode: multiply;
}

main, header, footer, section { position: relative; z-index: 2; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

.serif-italic { font-style: italic; font-weight: 500; }
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--moss);
}

p { max-width: 64ch; }

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

.section { padding-block: var(--space-section); }

/* ---------- HEADER ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem var(--gutter);
}
/* Variante "is-dark" se usa en VSL: header fluye en el documento (no absolute)
   para que el logo grande no solape el eyebrow del hero. */
.site-header.is-dark {
  background: var(--moss-deep);
  position: relative;
}
.site-header.is-floating { position: fixed; backdrop-filter: blur(10px); background: rgba(36, 56, 41, 0.85); transition: transform var(--dur-base); }

.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center; /* logo centrado */
  gap: 2rem;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- HERO PÁG 1 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--moss-deep);
  color: var(--paper);
  overflow: hidden;
  padding: 6rem var(--gutter) 3rem;
  display: flex;
  align-items: center;
}
@media (max-width: 820px) {
  .hero {
    padding: 5.25rem var(--gutter) 1rem !important;
    min-height: auto !important;
    display: block !important;
  }
  .hero__inner { gap: 1rem !important; }
  .hero__copy { text-align: left; }
  .hero__eyebrow {
    font-size: 0.62rem !important;
    margin-bottom: 0.5rem !important;
  }
  .hero__h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem) !important;
    line-height: 1.02 !important;
    margin-bottom: 0.85rem !important;
    letter-spacing: -0.02em;
  }
  /* En mobile, las 5 líneas del H1 fluyen como párrafo (no líneas separadas) */
  .hero__h1 .line {
    display: inline !important;
    overflow: visible !important;
    margin: 0 !important;
  }
  .hero__h1 .line span { display: inline !important; transform: none !important; }
  .hero__h1 .line:not(:last-child)::after { content: ' '; }
  .hero__sub {
    display: none !important; /* prioridad absoluta al form ATF */
  }
  .hero__bullets { display: none !important; }
  .form-card { padding: 1.1rem 1.15rem !important; }
  .form-card__frog { width: 44px; height: 44px; top: -20px; right: -8px; }
  .form-card__frog svg { width: 22px; height: 22px; }
  .form-card__title { font-size: 1.15rem !important; margin-bottom: 0.25rem; line-height: 1.2; }
  .form-card__sub { font-size: 0.82rem !important; margin-bottom: 0.85rem !important; line-height: 1.4; }
  .field { margin-bottom: 0.75rem !important; }
  .field label { font-size: 0.68rem !important; margin-bottom: 0.3rem !important; line-height: 1.35; }
  .field input { padding: 0.7rem 0.85rem !important; font-size: 0.92rem !important; }
  .field select { padding: 0.7rem 2.25rem 0.7rem 0.85rem !important; font-size: 0.85rem !important; }
  .select-wrap::after { right: 0.85rem; width: 8px; height: 8px; }
  .field--checkbox { font-size: 0.74rem !important; margin-bottom: 0.95rem !important; line-height: 1.4; gap: 0.55rem; }
  .field--checkbox input { width: 14px; height: 14px; }
  .btn-primary { padding: 0.85rem 1.15rem !important; font-size: 0.92rem !important; }
  .form-card__micro { font-size: 0.68rem !important; margin-top: 0.5rem !important; }
}

/* Pantallas mobile muy bajas (iPhone SE, etc.): aún más compacto */
@media (max-width: 820px) and (max-height: 740px) {
  .hero { padding-top: 4.5rem !important; }
  .hero__h1 { font-size: clamp(1.5rem, 6vw, 2rem) !important; margin-bottom: 0.6rem !important; }
  .hero__eyebrow { display: none; }
  .form-card__sub { font-size: 0.78rem !important; }
  .field--checkbox { font-size: 0.7rem !important; }
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, rgba(201, 146, 90, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(83, 121, 164, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(168, 184, 154, 0.15) 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 5rem;
  }
}

.hero__copy { color: var(--paper); }
.hero__eyebrow {
  color: var(--lichen);
  margin-bottom: 1.5rem;
  display: inline-block;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--lichen);
  vertical-align: middle;
  margin-right: 0.75rem;
}

.hero__h1 {
  color: var(--paper);
  font-size: clamp(2.5rem, 1.6rem + 5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero__h1 .line {
  display: block;
  overflow: hidden;
  margin-bottom: -0.08em; /* tightens visually without clipping descenders */
}
.hero__h1 .line:last-child { margin-bottom: 0; }
.hero__h1 .line span { display: inline-block; will-change: transform; }
.hero__h1 em {
  font-style: italic;
  color: var(--lichen);
  font-weight: 400;
}

.hero__sub {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  line-height: 1.55;
  color: rgba(237, 232, 208, 0.85);
  max-width: 52ch;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(237, 232, 208, 0.75);
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero__bullets .dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--amber);
}

/* ---------- FORM CARD ---------- */
.form-card {
  background: var(--paper-warm);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  box-shadow: var(--shadow-deep);
  position: relative;
  color: var(--ink);
  border: 1px solid rgba(168, 184, 154, 0.3);
}

.form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.494 0 0 0 0 0.388 0 0 0 0 0.306 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
  border-radius: inherit;
}

.form-card__frog {
  position: absolute;
  top: -28px;
  right: -16px;
  width: 64px;
  height: 64px;
  background: var(--moss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  box-shadow: 0 8px 20px rgba(36, 56, 41, 0.3);
  z-index: 2;
}
.form-card__frog svg { width: 32px; height: 32px; }

.form-card__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.3rem + 0.5vw, 1.85rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.form-card__sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.form-card form { position: relative; z-index: 1; }

.field {
  margin-bottom: 1.25rem;
  position: relative;
}
.field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--moss);
  margin-bottom: 0.5rem;
}
.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--paper);
  border: 1px solid rgba(58, 90, 64, 0.15);
  border-radius: var(--r-md);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  font-family: var(--sans);
}
.field input:focus {
  outline: none;
  border-color: var(--moss);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(58, 90, 64, 0.1);
}

.select-wrap { position: relative; }
.field select {
  width: 100%;
  padding: 0.875rem 2.5rem 0.875rem 1rem;
  background: var(--paper);
  border: 1px solid rgba(58, 90, 64, 0.15);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
  font-family: var(--sans);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.field select:invalid { color: var(--ink-soft); }
.field select:focus {
  outline: none;
  border-color: var(--moss);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(58, 90, 64, 0.1);
}
.select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--moss);
  border-bottom: 2px solid var(--moss);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.field--checkbox input {
  margin-top: 3px;
  accent-color: var(--moss);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.field--checkbox a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.field--checkbox a:hover { color: var(--clay); }

/* Botón principal */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.05rem 1.5rem;
  background: var(--ink);
  color: var(--paper-warm);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: var(--r-md);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out-expo),
              box-shadow var(--dur-base) var(--ease-out-expo);
  box-shadow: 0 4px 16px rgba(27, 31, 26, 0.25);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--clay), var(--amber));
  opacity: 0;
  transition: opacity var(--dur-base);
  z-index: 0;
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary svg { position: relative; z-index: 1; transition: transform var(--dur-base) var(--ease-out-expo); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(126, 99, 78, 0.35);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-card__micro {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  opacity: 0.75;
}

.form-card__error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(220, 80, 50, 0.1);
  border: 1px solid rgba(220, 80, 50, 0.3);
  border-radius: var(--r-md);
  color: #8b3322;
  font-size: 0.875rem;
  display: none;
}
.form-card__error.is-visible { display: block; }

/* ---------- MARQUEE PRUEBA SOCIAL ---------- */
.marquee {
  background: var(--paper);
  border-block: 1px solid rgba(58, 90, 64, 0.12);
  padding: 1.75rem 0;
  overflow: hidden;
}
.marquee__inner {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  color: var(--moss);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.marquee__item::after {
  content: '✺';
  margin-left: 4rem;
  color: var(--clay);
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SECTION: "Lo que no soy" ---------- */
.editorial {
  background: var(--paper);
  position: relative;
}

.editorial__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 960px) {
  .editorial__grid { grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start; }
}

.editorial__label {
  position: sticky;
  top: 6rem;
}
.editorial__label .eyebrow { display: block; margin-bottom: 1rem; }
.editorial__label .ornament {
  width: 60px;
  height: 1px;
  background: var(--clay);
  margin-top: 1rem;
}

.editorial__body h2 { margin-bottom: 2rem; }
.editorial__body h2 em { color: var(--clay); }
.editorial__body p {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.editorial__body p strong { color: var(--ink); font-weight: 600; }
.editorial__body .pull {
  border-left: 3px solid var(--moss);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.3;
  color: var(--moss-deep);
}

/* ---------- SECTION: "Lo que te llevas" cards ---------- */
.value-grid {
  background: var(--paper-warm);
}
.value-grid__intro {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 720px;
  margin-inline: auto;
}
.value-grid__intro h2 { margin-bottom: 1rem; }
.value-grid__intro h2 em { color: var(--clay); font-style: italic; }
.value-grid__intro p { color: var(--ink-soft); margin-inline: auto; }

.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid rgba(58, 90, 64, 0.1);
  transition: transform var(--dur-base) var(--ease-out-expo),
              box-shadow var(--dur-base) var(--ease-out-expo);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--moss);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- CITA TESTIMONIO HERO ---------- */
.quote-hero {
  background: var(--moss-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.quote-hero::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-family: var(--serif);
  font-size: 24rem;
  line-height: 1;
  color: rgba(168, 184, 154, 0.08);
  pointer-events: none;
}
.quote-hero__inner {
  max-width: 880px;
  text-align: center;
  position: relative;
}
.quote-hero blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  line-height: 1.3;
  color: var(--paper);
  margin-bottom: 2rem;
}
.quote-hero cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lichen);
}

/* ---------- CTA REPETIDO ---------- */
.cta-strip {
  background: var(--paper-warm);
  text-align: center;
}
.cta-strip h2 { margin-bottom: 1rem; }
.cta-strip h2 em { color: var(--clay); }
.cta-strip p { margin: 0 auto 2rem; color: var(--ink-soft); }
.cta-strip .btn-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--ink);
  color: var(--paper-warm);
  border-radius: var(--r-pill);
  font-weight: 600;
  transition: transform var(--dur-base), background var(--dur-base);
}
.cta-strip .btn-anchor:hover { background: var(--clay); transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--moss-deep);
  color: var(--lichen);
  padding: 3rem var(--gutter) 2rem;
}
.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--paper);
  font-size: 1.1rem;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}
.site-footer__legal a {
  color: var(--lichen);
  transition: color var(--dur-fast);
}
.site-footer__legal a:hover { color: var(--paper); }
.site-footer__copy {
  border-top: 1px solid rgba(168, 184, 154, 0.15);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(168, 184, 154, 0.6);
  text-align: center;
}

/* ---------- PÁGINA VSL ---------- */
.vsl-hero {
  background: var(--moss-deep);
  color: var(--paper);
  padding: 3rem var(--gutter) 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) {
  .vsl-hero { padding: 2rem var(--gutter) 3rem; }
  .vsl-hero h1 { font-size: clamp(1.65rem, 7vw, 2.25rem) !important; }
  .vsl-hero .lead { font-size: 0.95rem; margin-bottom: 2rem; }
}
.vsl-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 146, 90, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(83, 121, 164, 0.15), transparent 50%);
  pointer-events: none;
}
.vsl-hero__inner { position: relative; z-index: 2; max-width: 1100px; margin-inline: auto; }
.vsl-hero h1 {
  color: var(--paper);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  margin-bottom: 0.75rem;
}
.vsl-hero h1 em { font-style: italic; color: var(--lichen); }
.vsl-hero .lead {
  color: rgba(237, 232, 208, 0.8);
  font-size: var(--fs-lead);
  margin: 0 auto 3rem;
  max-width: 60ch;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  background: #000;
  margin-bottom: 3rem;
}
.video-wrap iframe,
.video-wrap video,
.video-wrap .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-wrap .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f2d23 0%, #243829 50%, #2f4632 100%);
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  text-align: center;
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
}
.video-wrap .placeholder svg { width: 64px; height: 64px; opacity: 0.7; }

/* Borde luminoso animado */
.video-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    var(--amber),
    var(--lichen),
    var(--sky),
    var(--clay),
    var(--amber)
  );
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotate-border 8s linear infinite;
  opacity: 0.5;
}
@keyframes rotate-border {
  to { transform: rotate(360deg); }
}

/* CTA WhatsApp principal */
.wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.25rem;
  background: var(--whatsapp);
  color: white;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--r-pill);
  position: relative;
  transition: transform var(--dur-base) var(--ease-out-expo),
              box-shadow var(--dur-base);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}
.wa-cta::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 2px solid var(--whatsapp);
  animation: wa-pulse 2.5s var(--ease-out-quart) infinite;
  pointer-events: none;
  opacity: 0;
}
@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0; }
}
.wa-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 48px rgba(37, 211, 102, 0.55);
  background: var(--whatsapp-deep);
}
.wa-cta svg { width: 26px; height: 26px; }
.wa-cta__sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.wa-cta-wrap { text-align: center; }
.wa-cta-wrap > small {
  display: block;
  margin-top: 1rem;
  color: var(--ink-soft);
  opacity: 0.7;
  font-size: 0.85rem;
}
.vsl-hero .wa-cta-wrap > small { color: var(--lichen); opacity: 0.8; }

/* Sección quien soy */
.who {
  background: var(--paper);
  padding-block: var(--space-section);
}
.who__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .who__inner { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
}
.who__photo {
  /* Aspect 9:16 = ratio natural de la foto. Sin crop, Juata completo. */
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--clay);
  box-shadow: var(--shadow-card);
  position: relative;
}
.who__photo img { width: 100%; height: 100%; object-fit: cover; }
.who__photo .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #7E634E 0%, #5a4636 100%);
  color: var(--paper-warm);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}
.who__body h2 { margin-bottom: 1.5rem; }
.who__body h2 em { color: var(--clay); }
.who__body p {
  font-size: var(--fs-lead);
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
}

/* Bloque villano grande */
.villain {
  background: var(--ink);
  color: var(--paper-warm);
  text-align: center;
}
.villain__inner { max-width: 880px; margin-inline: auto; }
.villain .eyebrow { color: var(--amber); margin-bottom: 2rem; display: inline-block; }
.villain h2 {
  color: var(--paper-warm);
  font-size: clamp(1.85rem, 1.3rem + 2.5vw, 3.5rem);
  margin-bottom: 2rem;
  line-height: 1.15;
}
.villain h2 em { color: var(--amber); font-style: italic; }
.villain p {
  color: rgba(237, 232, 208, 0.75);
  font-size: var(--fs-lead);
  margin: 0 auto 1.25rem;
}

/* Galería bento estudio */
.bento {
  background: var(--paper-warm);
}
.bento__intro { text-align: center; margin-bottom: 4rem; }
.bento__intro h2 em { color: var(--clay); }
.bento__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(160px, 18vw, 240px);
}
.bento__cell {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--clay);
  position: relative;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.bento__cell:hover { transform: scale(1.015); z-index: 2; }
.bento__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.bento__cell .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--paper-warm);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}
/* Layout 4 col x 3 rows: feature 2x2 + 4 cards + ancho final */
.bento__cell:nth-child(1) { grid-column: span 2; grid-row: span 2; } /* hero foto Juata */
.bento__cell:nth-child(2) { grid-column: span 2; grid-row: span 1; } /* wide top right */
.bento__cell:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.bento__cell:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.bento__cell:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.bento__cell:nth-child(6) { grid-column: span 2; grid-row: span 1; }

@media (max-width: 720px) {
  .bento__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(140px, 36vw, 200px);
    gap: 0.6rem;
  }
  .bento__cell:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .bento__cell:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* Proceso */
.process {
  background: var(--paper);
}
.process__intro { text-align: center; margin-bottom: 4rem; }
.process__intro h2 em { color: var(--clay); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.process__step {
  position: relative;
  padding-top: 1rem;
}
.process__step .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: var(--clay);
  opacity: 0.4;
  margin-bottom: 1rem;
  display: block;
}
.process__step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.process__step p { font-size: 0.95rem; color: var(--ink-soft); }

/* Testimonios video */
.testimonials {
  background: var(--paper-warm);
}
.testimonials__intro { text-align: center; margin-bottom: 4rem; }
.testimonials__intro h2 em { color: var(--clay); }
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out-expo);
  box-shadow: var(--shadow-card);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card__media {
  aspect-ratio: 4 / 5;
  background: var(--moss);
  position: relative;
  overflow: hidden;
}
.testimonial-card__media video {
  width: 100%; height: 100%; object-fit: cover;
}
.testimonial-card__media .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 56, 41, 0.3);
  color: white;
  transition: background var(--dur-base);
}
.testimonial-card__media .play-btn svg {
  width: 56px; height: 56px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.testimonial-card:hover .play-btn { background: rgba(36, 56, 41, 0.5); }
.testimonial-card__media .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; color: var(--paper-warm);
  text-align: center; padding: 1rem;
}
.testimonial-card__caption {
  padding: 1.25rem 1.5rem;
}
.testimonial-card__caption strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.testimonial-card__caption span {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
}

/* Portadas carrusel */
.covers {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.covers__intro {
  text-align: center;
  color: var(--paper);
  margin-bottom: 3rem;
}
.covers__intro h2 { color: var(--paper); }
.covers__intro h2 em { color: var(--amber); font-style: italic; }
.covers__intro p { color: rgba(237, 232, 208, 0.7); margin-inline: auto; }
.covers__track {
  display: flex;
  gap: 1.25rem;
  padding-block: 1rem;
}
.cover {
  flex: 0 0 220px;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--clay);
  position: relative;
  transition: transform var(--dur-base) var(--ease-out-expo);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.cover:hover { transform: translateY(-6px) scale(1.04); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  color: var(--paper-warm); padding: 1rem; text-align: center;
  font-size: 0.85rem;
}
.cover__title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 0.8rem;
  color: var(--paper);
  font-family: var(--sans);
}
.cover__title strong { display: block; font-weight: 600; }
.cover__title span { opacity: 0.7; font-size: 0.72rem; }

/* Posicionamiento */
.positioning {
  background: var(--paper);
  text-align: center;
}
.positioning__inner { max-width: 760px; margin-inline: auto; }
.positioning .eyebrow { display: inline-block; margin-bottom: 1.5rem; }
.positioning h2 { margin-bottom: 2rem; }
.positioning h2 em { color: var(--clay); }
.positioning p {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  margin: 0 auto 1.25rem;
}

/* CTA final */
.cta-final {
  background: linear-gradient(180deg, var(--moss-deep) 0%, #1c2d22 100%);
  color: var(--paper);
  text-align: center;
  padding-block: clamp(5rem, 4rem + 6vw, 9rem);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 146, 90, 0.2), transparent 50%);
}
.cta-final__inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.cta-final h2 {
  color: var(--paper);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.cta-final h2 em { color: var(--lichen); font-style: italic; }
.cta-final p { color: rgba(237, 232, 208, 0.8); margin: 0 auto 2.5rem; }

/* ---------- ANIMATION HELPERS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- LOGO IMG ---------- */
.site-header__logo-img {
  height: 116px;
  width: auto;
  display: block;
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.site-header__brand:hover .site-header__logo-img { transform: scale(1.03); }

@media (max-width: 720px) {
  .site-header { padding: 0.85rem var(--gutter); }
  .site-header__logo-img { height: 84px; }
}

.site-footer .site-footer__logo-img {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.site-footer__brand { justify-content: center; }
@media (max-width: 720px) {
  .site-footer__inner { text-align: center; }
  .site-footer__legal { justify-content: center; }
}

/* ---------- STICKY CTA MOBILE ---------- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  padding: 1rem 1.5rem;
  background: var(--ink);
  color: var(--paper-warm);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--r-pill);
  text-align: center;
  box-shadow: 0 10px 30px rgba(27, 31, 26, 0.45),
              0 0 0 1px rgba(168,184,154,0.18);
  letter-spacing: 0.02em;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  transform: translateY(120%);
  transition: transform 0.5s var(--ease-out-expo);
}
.sticky-mobile-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clay), var(--amber));
  opacity: 0;
  transition: opacity var(--dur-base);
  z-index: 0;
}
.sticky-mobile-cta span,
.sticky-mobile-cta svg { position: relative; z-index: 1; }
.sticky-mobile-cta.is-visible { transform: translateY(0); }
.sticky-mobile-cta:active::before { opacity: 1; }

@media (max-width: 820px) {
  .sticky-mobile-cta { display: inline-flex; }
  body.has-sticky-cta { padding-bottom: 4.5rem; }
}

/* ---------- HOME: QUIÉN SOY / AUTORIDAD ---------- */
.authority {
  background: var(--paper);
  position: relative;
}
.authority__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .authority__grid { grid-template-columns: 0.85fr 1fr; gap: 4rem; }
}
.authority__photo {
  /* Aspect 9:16 = ratio natural de la foto vertical. Sin crop, Juata completo. */
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--clay);
  box-shadow: var(--shadow-card);
  position: relative;
}
.authority__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.authority__body .eyebrow { display: inline-block; margin-bottom: 1rem; }
.authority__body h2 { margin-bottom: 1.5rem; line-height: 1.05; }
.authority__body h2 em { color: var(--clay); }
.authority__body p {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.authority__body p strong { color: var(--ink); font-weight: 600; }

.authority__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(58,90,64,0.15);
  padding-top: 2rem;
}
.authority__stats div strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  color: var(--moss-deep);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.authority__stats div span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
}

/* Variante con un solo stat destacado */
.authority__stats--single {
  grid-template-columns: 1fr;
  max-width: 320px;
}
.authority__stats--single div strong {
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
}
.authority__stats--single div span {
  font-size: 0.85rem;
}

/* CTA alternativa (Calendly) bajo el botón WhatsApp principal */
.cta-alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
}
.cta-alt__sep {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  opacity: 0.75;
}
.cta-alt__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--moss-deep);
  background: transparent;
  transition: transform var(--dur-base) var(--ease-out-expo),
              background var(--dur-base), color var(--dur-base);
}
.cta-alt__link:hover {
  transform: translateY(-1px);
  background: var(--moss-deep);
  color: var(--paper);
}
.vsl-hero .cta-alt__sep { color: var(--lichen); opacity: 0.85; }
.vsl-hero .cta-alt__link { color: var(--paper); border-color: rgba(237, 232, 208, 0.55); }
.vsl-hero .cta-alt__link:hover { background: var(--paper); color: var(--moss-deep); border-color: var(--paper); }
.cta-final .cta-alt__sep { color: var(--lichen); opacity: 0.85; }
.cta-final .cta-alt__link { color: var(--paper); border-color: rgba(237, 232, 208, 0.55); }
.cta-final .cta-alt__link:hover { background: var(--paper); color: var(--moss-deep); border-color: var(--paper); }

/* ---------- HOME: TRABAJOS (portadas compactas) ---------- */
.works {
  background: var(--ink);
  color: var(--paper);
}
.works__intro {
  text-align: center;
  margin-bottom: 3rem;
}
.works__intro h2 { color: var(--paper); }
.works__intro h2 em { color: var(--amber); font-style: italic; }
.works__intro .eyebrow { color: var(--lichen); }
.works__intro p { color: rgba(237,232,208,0.7); margin-inline: auto; }

.works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 880px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); }
}
.works__cover {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--clay);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.works__cover:hover { transform: translateY(-4px) scale(1.02); }
.works__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.works__cover .meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 0.85rem;
  color: var(--paper);
}
.works__cover .meta strong { display: block; font-weight: 600; }
.works__cover .meta span { opacity: 0.65; font-size: 0.72rem; }

/* ---------- HOME: MINI TESTIMONIOS VIDEO ---------- */
.mini-testimonials {
  background: var(--paper-warm);
}
.mini-testimonials__intro { text-align: center; margin-bottom: 3rem; }
.mini-testimonials__intro h2 em { color: var(--clay); font-style: italic; }
.mini-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) {
  .mini-testimonials__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.mini-test-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out-expo);
  box-shadow: var(--shadow-card);
}
.mini-test-card:hover { transform: translateY(-4px); }
.mini-test-card__media {
  aspect-ratio: 9 / 16;
  background: var(--moss);
  position: relative;
  overflow: hidden;
}
.mini-test-card__media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mini-test-card__media .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,56,41,0.25);
  color: white;
  transition: background var(--dur-base);
  pointer-events: none;
}
.mini-test-card__media .play-btn svg {
  width: 56px; height: 56px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.mini-test-card.is-playing .play-btn { opacity: 0; }
.mini-test-card__caption {
  padding: 1rem 1.25rem;
}
.mini-test-card__caption strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}
.mini-test-card__caption span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
}

/* ---------- INLINE CTA (botón ancla intercalado) ---------- */
.inline-cta {
  margin-top: 2.5rem;
  text-align: center;
}
.inline-cta .btn-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.85rem;
  background: var(--ink);
  color: var(--paper-warm);
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--dur-base) var(--ease-out-expo),
              box-shadow var(--dur-base);
  box-shadow: 0 6px 22px rgba(27,31,26,0.25);
  position: relative;
  overflow: hidden;
}
.inline-cta .btn-anchor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--clay), var(--amber));
  opacity: 0;
  transition: opacity var(--dur-base);
}
.inline-cta .btn-anchor span,
.inline-cta .btn-anchor svg { position: relative; z-index: 1; }
.inline-cta .btn-anchor svg { transition: transform var(--dur-base) var(--ease-out-expo); }
.inline-cta .btn-anchor:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(126,99,78,0.35);
}
.inline-cta .btn-anchor:hover::before { opacity: 1; }
.inline-cta .btn-anchor:hover svg { transform: translateX(3px); }

.inline-cta--on-dark .btn-anchor {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 6px 22px rgba(201,146,90,0.35);
}
.inline-cta--on-dark .btn-anchor::before {
  background: linear-gradient(90deg, var(--amber), var(--paper-warm));
}
.inline-cta--on-dark .btn-anchor:hover { box-shadow: 0 14px 36px rgba(201,146,90,0.5); }

.inline-cta small {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  opacity: 0.65;
}
.inline-cta--on-dark small { color: var(--lichen); opacity: 0.8; }

/* ---------- HOME: CINTA DE FOTOS (concierto + estudio) ---------- */
.photo-strip {
  background: var(--paper);
  padding: 0;
  overflow: hidden;
}
.photo-strip__track {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  animation: photo-marquee 50s linear infinite;
  width: max-content;
}
.photo-strip__item {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--clay);
}
.photo-strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes photo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- PICTURE wrappers fillean su contenedor ----------
   El <picture> es inline por defecto, así que un <img> con width:100% height:100%
   dentro no se estira al contenedor padre. Forzamos picture a block + fill
   solo en los contenedores con tamaño fijo donde la imagen debe cubrir todo.
*/
.photo-strip__item picture,
.bento__cell picture,
.cover picture,
.works__cover picture,
.authority__photo picture,
.who__photo picture,
.testimonial-card__media picture,
.mini-test-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- LIGHTBOX (imágenes + Spotify) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 22, 17, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out-expo);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(237, 232, 208, 0.12);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-base) var(--ease-out-expo);
}
.lightbox__close:hover {
  background: rgba(237, 232, 208, 0.22);
  transform: scale(1.08) rotate(90deg);
}

.lightbox__stage {
  max-width: min(1100px, 95vw);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out-expo);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }

.lightbox__image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: block;
  object-fit: contain;
}

.lightbox__spotify {
  width: min(560px, 95vw);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.lightbox__spotify iframe { display: block; border: 0; }

.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--lichen);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  max-width: 80%;
  background: rgba(0,0,0,0.35);
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
}

/* Cursor zoom-in lo aplica el JS dinámicamente */

/* ---------- BOTÓN PLAY SOBRE PORTADA (home: works) ---------- */
.works__cover.has-play {
  cursor: pointer;
}
.works__cover.has-play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45) 100%);
  opacity: 0;
  transition: opacity var(--dur-base);
  z-index: 1;
  pointer-events: none;
}
.works__cover.has-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(237, 232, 208, 0.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23243829'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center;
  background-size: 26px 26px;
  background-position: 56% 50%; /* compensar el triángulo asimétrico */
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out-expo);
  pointer-events: none;
}
.works__cover.has-play:hover::before,
.works__cover.has-play:hover::after { opacity: 1; }
.works__cover.has-play:hover::after { transform: scale(1); }

/* En mobile: play siempre visible (no hay hover) */
@media (hover: none) {
  .works__cover.has-play::before,
  .works__cover.has-play::after { opacity: 1; transform: scale(1); }
  .works__cover.has-play::before { background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55) 100%); }
}

/* Si no hay audio (data-spotify="PLACEHOLDER") se mantiene cursor por defecto */
.works__cover[data-no-audio="true"] { cursor: default; }
.works__cover[data-no-audio="true"]::before,
.works__cover[data-no-audio="true"]::after { display: none; }

/* ---------- BENTO clic-zoom (cursor handled by JS) ---------- */
.bento__cell { cursor: zoom-in; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero__canvas { display: none; }
}

/* ============ LEGAL PAGES ============ */
.legal-page { padding: 8rem 1.5rem 5rem; background: var(--paper); min-height: 70vh; }
.legal-page__inner { max-width: 760px; margin: 0 auto; }
.legal-page__eyebrow { font-family: 'Manrope', sans-serif; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); margin-bottom: 0.5rem; }
.legal-page h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); margin: 0 0 0.5rem; line-height: 1.05; }
.legal-page__updated { font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: var(--clay); margin-bottom: 3rem; }
.legal-page h2 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.5rem; color: var(--moss-deep); margin: 2.5rem 0 0.75rem; }
.legal-page h3 { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink); margin: 1.5rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.legal-page p, .legal-page li { font-family: 'Manrope', sans-serif; font-size: 1rem; line-height: 1.7; color: var(--ink); }
.legal-page ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.legal-page li { margin-bottom: 0.35rem; }
.legal-page a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--moss); }
.legal-page strong { color: var(--moss-deep); }
.legal-page table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-family: 'Manrope', sans-serif; font-size: 0.92rem; }
.legal-page th, .legal-page td { padding: 0.7rem 0.8rem; border-bottom: 1px solid rgba(27, 31, 26, 0.12); text-align: left; vertical-align: top; }
.legal-page th { background: rgba(58, 90, 64, 0.06); font-weight: 600; color: var(--moss-deep); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 140%);
  width: min(100% - 2rem, 620px);
  background: var(--paper-warm);
  border: 1px solid rgba(58, 90, 64, 0.18);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-deep);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  z-index: 500;
  opacity: 0;
  transition: transform 0.55s var(--ease-out-expo), opacity 0.4s ease;
  pointer-events: none;
}
.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner__icon {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}
.cookie-banner__icon svg { display: block; width: 100%; height: 100%; }
.cookie-bite { transform-origin: 50% 55%; animation: cookieSway 3.2s ease-in-out infinite; }
.chip { animation: chipGlow 2.4s ease-in-out infinite; transform-origin: center; }
.chip--2 { animation-delay: 0.3s; }
.chip--3 { animation-delay: 0.6s; }
.chip--4 { animation-delay: 0.9s; }
.chip--5 { animation-delay: 1.2s; }
.chip--6 { animation-delay: 1.5s; }
.crumb {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--clay);
  border-radius: 50%;
  opacity: 0;
  animation: crumbFloat 2.8s ease-in infinite;
}
.crumb--1 { top: 58%; left: 18%; animation-delay: 0.2s; }
.crumb--2 { top: 64%; left: 46%; animation-delay: 1s; }
.crumb--3 { top: 54%; left: 68%; animation-delay: 1.8s; }

@keyframes cookieSway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
@keyframes chipGlow {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; filter: drop-shadow(0 0 2px rgba(201, 146, 90, 0.6)); }
}
@keyframes crumbFloat {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  30% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(14px) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-bite, .chip, .crumb { animation: none !important; }
}

.cookie-banner__body { flex: 1; min-width: 0; }
.cookie-banner__body p {
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.cookie-banner__body a { color: var(--moss); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__body a:hover { color: var(--clay); }
.cookie-banner__btn {
  flex-shrink: 0;
  background: var(--amber);
  color: var(--paper);
  border: none;
  padding: 0.7rem 1.35rem;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
  white-space: nowrap;
}
.cookie-banner__btn:hover { background: var(--clay); transform: translateY(-1px); }

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 0.75rem;
    padding: 1.05rem;
    gap: 0.85rem;
  }
  .cookie-banner__icon { width: 40px; height: 40px; }
  .cookie-banner__btn { width: 100%; text-align: center; }
}
