*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #14111f;
  --ink-2: #1f1a33;
  --cream: #fdf4e7;
  --sand: #f3e6d3;
  --coral: #ff5b3a;
  --amber: #ffb03b;
  --violet: #7c5cff;
  --text: #14111f;
  --muted: #6b6478;
  --light: #fdf4e7;
  --light-muted: rgba(253, 244, 231, .66);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  background: var(--ink);
  color: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.02;
  letter-spacing: -.02em;
  font-variation-settings: 'opsz' 144;
}
h2 { font-size: clamp(2.4rem, 5.4vw, 5rem); }
em { font-style: italic; color: var(--coral); }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin: 0 0 1.4rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--light-muted);
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 14px var(--coral);
}
.eyebrow--dark { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 1em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 91, 58, .7); }
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(255, 91, 58, .9); }
.btn--ghost { border: 1px solid rgba(253, 244, 231, .3); color: var(--light); }
.btn--ghost:hover { background: rgba(253, 244, 231, .08); }

/* ---------- Barra de progreso y nav ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--violet), var(--coral), var(--amber));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
}
.nav__logo {
  display: flex; align-items: center; gap: .55em;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -.01em;
}
.nav__logo svg { width: 22px; height: 22px; fill: currentColor; animation: spin 18s linear infinite; }
.nav__links { display: flex; gap: 2rem; align-items: center; font-size: .92rem; font-weight: 500; }
.nav__links a { text-decoration: none; position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { border: 1px solid currentColor; padding: .55em 1.2em; border-radius: 999px; }

/* ---------- Nova (estrella) ---------- */
.nova {
  position: absolute;
  width: 44vmin; height: 44vmin;
  translate: -50% -50%;
  pointer-events: none;
  will-change: transform;
}
.nova__core {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle closest-side,
    #fffaf2 0%, var(--cream) 44%, #ffd59c 56%, #ff8a4c 68%,
    rgba(255, 91, 58, .35) 82%, rgba(255, 91, 58, 0) 100%);
  animation: breathe 6s ease-in-out infinite;
}
.nova__rays {
  position: absolute; inset: -70%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 200, 140, .22) 0deg 1.5deg, transparent 1.5deg 11deg);
  -webkit-mask: radial-gradient(circle closest-side, #000 22%, transparent 100%);
          mask: radial-gradient(circle closest-side, #000 22%, transparent 100%);
  animation: spin 80s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); } }

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) 14vh;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 110%, #2c2052 0%, var(--ink) 62%);
}
.hero__sky { position: absolute; inset: 0; }
.hero__sky span {
  position: absolute;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background: #fff;
  opacity: .5;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle { 50% { opacity: .1; } }

.nova--hero { left: 68%; top: 38%; }
.hero__content { position: relative; z-index: 2; max-width: 820px; }
.hero__title {
  font-size: clamp(3.2rem, 9vw, 8.6rem);
  line-height: .95;
  margin-bottom: 2rem;
  text-shadow: 0 2px 40px rgba(20, 17, 31, .5);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 33rem; font-size: 1.1rem; color: var(--light-muted); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.scroll-hint {
  position: absolute; right: var(--gutter); bottom: 6vh;
  display: flex; align-items: center; gap: 12px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--light-muted);
  writing-mode: vertical-rl;
}
.scroll-hint i {
  width: 1px; height: 64px;
  background: linear-gradient(var(--light-muted), transparent);
  animation: drip 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 2 · Manifiesto ---------- */
.manifesto {
  background: var(--cream);
  color: var(--text);
  min-height: 100vh; min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 14vh var(--gutter);
}
.manifesto__inner { max-width: 1180px; }
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variation-settings: 'opsz' 144;
  margin: 0;
}
.has-gsap .manifesto .w { opacity: .13; }

/* ---------- 3 · Historia ---------- */
.story { background: var(--ink); position: relative; }
.story__stage {
  height: 100vh; height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5vw;
  align-items: center;
  padding: 90px var(--gutter) 50px;
  overflow: hidden;
}
.story__visual { position: relative; width: min(100%, 72vh); justify-self: center; aspect-ratio: 1; }
.viz { width: 100%; height: 100%; overflow: visible; }
.viz-grid line { stroke: rgba(253, 244, 231, .07); stroke-width: 1; }
.viz-ring { fill: none; stroke: rgba(253, 244, 231, .22); stroke-width: 1.2; stroke-dasharray: 3 7; }
.viz-pulse {
  fill: none; stroke: var(--coral); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  animation: pulse 2.6s ease-out infinite;
}
.viz-pulse--2 { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.viz-line { fill: none; stroke-width: 4; stroke-linecap: round; }
.viz-chip rect { fill: var(--ink-2); stroke: rgba(253, 244, 231, .25); }
.viz-chip text { fill: var(--light); font: 600 14px var(--sans); text-anchor: middle; }

.story__metric {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column;
}
.story__metric-num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; color: var(--amber); }
.story__metric-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--light-muted); }

.story__title { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 2.4rem; }
.story__steps { position: relative; }
.step { margin-bottom: 2rem; max-width: 30rem; }
.has-gsap .story__steps { min-height: 230px; }
.has-gsap .step { position: absolute; inset: 0 0 auto 0; margin: 0; }
.step__num {
  display: inline-block;
  font-family: var(--serif); font-style: italic;
  font-size: 1rem;
  color: var(--coral);
  border: 1px solid rgba(255, 91, 58, .4);
  border-radius: 999px;
  padding: .15em .8em;
  margin-bottom: 1rem;
}
.step h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); margin-bottom: .8rem; }
.step p { color: var(--light-muted); font-size: 1.05rem; }

.story__dots { display: none; list-style: none; padding: 0; margin: 2rem 0 0; gap: 8px; }
.has-gsap .story__dots { display: flex; }
.story__dots li {
  height: 4px; width: 22px; border-radius: 4px;
  background: rgba(253, 244, 231, .18);
  transition: width .5s var(--ease), background .5s;
}
.story__dots li.is-active { width: 54px; background: var(--coral); }

/* ---------- 4 · Servicios ---------- */
.services { background: var(--sand); color: var(--text); overflow-x: auto; }
.has-gsap .services { overflow: hidden; }
.services__track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  height: 100vh; height: 100svh;
  padding: 100px var(--gutter) 60px;
  will-change: transform;
}
.services__intro { flex: none; width: min(560px, 84vw); padding-right: 4vw; }
.services__intro h2 { margin-bottom: 1.6rem; }
.services__intro p { color: var(--muted); font-size: 1.1rem; max-width: 28rem; }
.services__hint { display: inline-flex; gap: .6em; font-weight: 600; font-size: .9rem; margin-top: 1rem; }
.services__hint i { font-style: normal; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.card {
  --card-bg: #fff; --card-fg: var(--text); --card-muted: var(--muted); --card-line: rgba(20, 17, 31, .15);
  position: relative;
  flex: none;
  display: flex; flex-direction: column;
  width: min(370px, 80vw);
  height: min(500px, 66vh);
  padding: 32px;
  border-radius: 28px;
  background: var(--card-bg);
  color: var(--card-fg);
  overflow: hidden;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-8px) rotate(-.6deg); }
.card::after {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%);
  pointer-events: none;
}
.card--ink    { --card-bg: var(--ink); --card-fg: var(--light); --card-muted: var(--light-muted); --card-line: rgba(253, 244, 231, .2); }
.card--coral  { --card-bg: var(--coral); --card-fg: #fff; --card-muted: rgba(255, 255, 255, .85); --card-line: rgba(255, 255, 255, .4); }
.card--violet { --card-bg: var(--violet); --card-fg: #fff; --card-muted: rgba(255, 255, 255, .82); --card-line: rgba(255, 255, 255, .4); }
.card--amber  { --card-bg: var(--amber); }
.card--cream  { --card-bg: var(--cream); }
.card__num { font-family: var(--serif); font-style: italic; font-size: 1rem; opacity: .7; }
.card__icon { width: 52px; height: 52px; margin: auto 0 1.6rem; }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card__icon .fill { fill: currentColor; }
.card h3 { font-size: 1.9rem; margin-bottom: .8rem; }
.card p { color: var(--card-muted); font-size: .98rem; margin-bottom: 1.4rem; }
.card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.card__tags li { border: 1px solid var(--card-line); border-radius: 999px; padding: .25em .8em; font-size: .78rem; font-weight: 600; }

/* ---------- 5 · Cifras ---------- */
.stats { background: var(--coral); color: var(--ink); padding: 18vh var(--gutter); }
.stats__inner { max-width: 1280px; margin: 0 auto; }
.stats__title { max-width: 16ch; margin-bottom: 4rem; }
.stats__title em { color: var(--cream); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(20, 17, 31, .25); }
.stat { padding: 2rem 1.5rem 0 0; display: flex; flex-direction: column; gap: .4rem; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid rgba(20, 17, 31, .25); }
.stat__num { font-family: var(--serif); font-size: clamp(3rem, 6.5vw, 6rem); line-height: 1; letter-spacing: -.03em; }
.stat__label { font-weight: 600; font-size: .95rem; }

/* ---------- 6 · Sobre Laura ---------- */
.about { background: var(--cream); color: var(--text); padding: 20vh var(--gutter); }
.about__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; align-items: center;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 32px 32px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 176, 59, .9), transparent 45%),
    radial-gradient(circle at 25% 80%, rgba(124, 92, 255, .9), transparent 50%),
    var(--coral);
  display: grid; place-items: center;
  overflow: hidden;
}
.portrait__mono { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 12vw, 9rem); color: var(--cream); position: relative; }
.portrait__orbit {
  position: absolute; width: 80%; aspect-ratio: 1;
  border: 1px dashed rgba(253, 244, 231, .55); border-radius: 50%;
  animation: spin 40s linear infinite;
}
.portrait__orbit::after {
  content: ''; position: absolute; top: -6px; left: 50%;
  width: 12px; height: 12px; border-radius: 50%; background: var(--cream);
}
.portrait__orbit--2 { width: 55%; animation-duration: 24s; animation-direction: reverse; }
.about__copy h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); margin-bottom: 2rem; }
.about__copy > p { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.about__values { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 0; }
.about__values li { padding: 1rem 0; border-top: 1px solid rgba(20, 17, 31, .14); color: var(--muted); display: flex; gap: 1rem; }
.about__values strong { color: var(--text); min-width: 7.5rem; font-weight: 700; }

/* ---------- 7 · Voces ---------- */
.voices { background: var(--ink); padding: 14vh 0 18vh; overflow: hidden; }
.marquee { border-block: 1px solid rgba(253, 244, 231, .14); padding: 1.6rem 0; overflow: hidden; }
.marquee__row {
  display: flex; align-items: center; gap: 2.4rem;
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  white-space: nowrap;
  animation: marquee 34s linear infinite;
}
.marquee__row i { font-style: normal; color: var(--coral); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.quote { max-width: 980px; margin: 14vh auto 0; padding: 0 var(--gutter); text-align: center; }
.quote blockquote {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.quote figcaption { color: var(--light-muted); }
.quote strong { color: var(--light); }

/* ---------- 8 · CTA ---------- */
.cta {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 16vh var(--gutter);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 100%, #2c2052 0%, var(--ink) 65%);
  text-align: center;
}
.nova--cta { left: 50%; top: 50%; width: 70vmin; height: 70vmin; opacity: .32; }
.cta__title em { text-shadow: 0 0 30px rgba(20, 17, 31, .8); }
.cta__content { position: relative; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .98; margin-bottom: 2rem; text-shadow: 0 2px 50px rgba(20, 17, 31, .6); }
.cta__lead { max-width: 36rem; color: var(--light); opacity: .85; font-size: 1.1rem; margin-bottom: 2.2rem; }
.cta__mail {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  text-decoration: none;
  background: linear-gradient(var(--coral), var(--coral)) 0 100% / 100% 2px no-repeat;
  padding-bottom: .15em;
  margin-bottom: 2.4rem;
  transition: background-size .5s var(--ease);
  word-break: break-all;
}
.cta__mail:hover { background-size: 100% 100%; }
.cta__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 36px var(--gutter);
  border-top: 1px solid rgba(253, 244, 231, .12);
  font-size: .9rem;
  color: var(--light-muted);
}
.footer__brand { display: flex; align-items: center; gap: .6em; font-family: var(--serif); font-size: 1.2rem; color: var(--light); }
.footer__brand svg { width: 20px; fill: var(--coral); }
.footer__links { display: flex; gap: 1.6rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--light); }
.footer__legal { margin: 0; width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .nova--hero { left: 72%; top: 26%; width: 56vmin; height: 56vmin; }
  .hero { padding-bottom: 10vh; }
  .scroll-hint { display: none; }

  .story__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 12px;
    padding-top: 76px;
    align-items: start;
  }
  .story__visual { width: min(100%, 36vh); aspect-ratio: auto; }
  .story__metric { position: static; flex-direction: row; align-items: baseline; justify-content: center; gap: 10px; margin-top: 4px; }
  .story__metric-num { font-size: 1.8rem; }
  .story__title { font-size: 2.2rem; margin-bottom: 1.2rem; }
  .story__copy .eyebrow { margin-bottom: .8rem; }
  .step h3 { font-size: 1.6rem; }
  .step p { font-size: .98rem; }
  .story__dots { margin-top: 1rem; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 2rem; }

  .about__inner { grid-template-columns: 1fr; }
  .about__portrait { max-width: 340px; }
}

@media (max-width: 900px) and (max-height: 720px) {
  .story__visual { width: min(100%, 30vh); }
  .story__title { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
