/* ==========================================================================
   TuWebGratis · Grupo Promedia — web360.grupopromedia.es
   Hoja de estilos única. Sin dependencias externas.
   ========================================================================== */

/* Inter solo se descarga en sistemas sin SF (Windows, Android, Linux) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F0F0F0;
  --white: #FFFFFF;
  --ink: #000000;
  --ink-soft: #4D4D4D;
  --line: rgba(0, 0, 0, .14);
  --line-dark: rgba(255, 255, 255, .18);
  --naranja: #F45410;          /* texto grande y detalles */
  --naranja-texto: #E8500F;    /* texto mediano sobre gris */
  --naranja-boton: #D2450C;    /* fondo de botón con texto blanco (AA) */
  --naranja-boton-hover: #B93C0A;
  --grafito: #5E6472;
  --cian: #7DC4DE;             /* color del logotipo */

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --maxw: 1440px;
  --header-h: 88px;
  --sec: clamp(5rem, 11vw, 10rem);
  --radius-btn: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 1rem; }

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

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

/* ---------- Tipografía ---------- */
.h2 {
  font-size: clamp(2.5rem, 6.4vw, 6.25rem);
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.045em;
  max-width: 14ch;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.125rem, 1.45vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
  text-wrap: pretty;
}
p { text-wrap: pretty; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--naranja-boton);
  --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.5rem; padding: .9rem 2rem;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --bg: var(--naranja-boton-hover); }
.btn--ghost { --bg: var(--grafito); }
.btn--ghost:hover { --bg: #4A505C; }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: var(--white); }
.btn--sm { min-height: 2.75rem; padding: .6rem 1.35rem; font-size: .975rem; }
.btn--whatsapp { --bg: var(--white); --fg: var(--ink); }
.btn--whatsapp:hover { --bg: var(--cian); }

/* ==========================================================================
   CABECERA
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: height .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(240, 240, 240, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled { --header-h: 68px; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header__inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}

.brand {
  position: relative; display: block; flex: none;
  width: clamp(124px, 10.5vw, 164px); aspect-ratio: 355 / 93.3;
  transition: width .4s var(--ease);
}
.site-header.is-scrolled .brand { width: clamp(112px, 8.5vw, 132px); }
.brand__anim, .brand__logo { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand__video { width: 100%; height: 100%; object-fit: fill; }
.brand__anim { display: none; transition: opacity .35s ease; }
.brand__logo { transition: opacity .35s ease; }
.js .brand__anim { display: block; }
.js .brand__logo { opacity: 0; }
.brand.is-done .brand__anim { opacity: 0; }
.brand.is-done .brand__logo, .no-anim .brand__logo { opacity: 1; }
.no-anim .brand__anim { display: none; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
.nav__list a {
  position: relative; text-decoration: none; font-size: .975rem; font-weight: 500; letter-spacing: -.01em;
  padding-block: .35rem;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--naranja); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    background: var(--ink); color: var(--white);
    display: flex; align-items: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s linear .6s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; gap: .4rem; }
  .nav__list a { font-size: clamp(2.25rem, 9vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
  .site-header__cta { margin-left: auto; }
  .burger {
    display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; flex: none;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .burger span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .menu-open .site-header { color: var(--white); }
  .menu-open .site-header::before { opacity: 0; }
  .menu-open .brand__logo { filter: brightness(0) invert(1); }
}
@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .site-header__cta { padding-inline: 1rem; font-size: .9rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  /* La chica ocupa todo el alto disponible; el titular se calcula con el
     ancho que queda a su izquierda para que ambos vayan a la par. */
  --hero-w: min(100vw, 1920px);
  --hero-gap: clamp(1.5rem, 3.5vw, 4.5rem);
  --media-h: calc(100svh - var(--header-h) * .6);
  --media-w: min(calc(var(--media-h) * .5745), 46vw);
  max-width: 1920px; margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--hero-gap);
  background: var(--paper);
}
.hero__text {
  --colw: calc(var(--hero-w) - 2 * var(--gutter) - var(--media-w) - var(--hero-gap));
  --size: clamp(4.5rem, min(29svh, calc(var(--colw) / 2.3)), 26rem);
  position: relative; z-index: 2;
  align-self: center; justify-self: end;
  padding: calc(var(--header-h) + clamp(1rem, 3vh, 3rem)) 0 clamp(2.5rem, 6vh, 5rem);
}
.hero__inner { display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%; }
/* El JS ajusta el espaciado para que ocupe exactamente el ancho de «TU» */
.hero__eyebrow {
  color: var(--naranja-texto);
  font-size: clamp(1.05rem, 1.4vw, 1.5rem);
  font-weight: 400; letter-spacing: .19em; text-transform: uppercase; line-height: 1;
}
.hero__title {
  display: inline-flex; flex-direction: column;
  font-size: var(--size);
  font-weight: 600; letter-spacing: -.05em; line-height: .8;
  text-transform: uppercase;
  margin-top: .035em;
}
.hero__line { display: block; }
/* Máscaras de SplitText: holgura lateral para no recortar el remate de B, S… */
.hero__line > div { padding-inline: .12em; margin-inline: -.12em; }
.hero__line--accent {
  align-self: flex-end;
  color: var(--naranja);
  font-size: .345em; letter-spacing: -.03em; line-height: .9;
  margin-top: .12em; margin-right: .06em;
}
.hero__sub {
  margin-top: clamp(1.25rem, 2.8vh, 2.25rem);
  font-size: max(.95rem, calc(var(--size) * .072));
  font-weight: 500; letter-spacing: -.005em; text-transform: uppercase; line-height: 1.3;
  white-space: nowrap;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-self: stretch; gap: .9rem; margin-top: clamp(1.5rem, 3.4vh, 2.75rem); }

.hero__media {
  position: relative; z-index: 1;
  background: var(--paper);
  align-self: end;
  height: var(--media-h);
  width: var(--media-w);
  display: flex; justify-content: center; align-items: flex-end;
}
.hero__video {
  height: 100%; width: 100%; max-width: none;
  object-fit: contain; object-position: center bottom;
  /* El fondo del vídeo es algo más claro que el gris de la página: con
     «darken» desaparece contra el fondo y solo queda la persona. */
  mix-blend-mode: darken;
  filter: brightness(1.035);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%);
  mask-composite: intersect;
}

/* Estado inicial solo si hay JS (evita parpadeo antes de animar) */
.js .hero__eyebrow, .js .hero__title, .js .hero__sub, .js .hero__actions, .js .hero__media { visibility: hidden; }
.no-anim .hero__eyebrow, .no-anim .hero__title, .no-anim .hero__sub, .no-anim .hero__actions, .no-anim .hero__media { visibility: visible !important; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-inline: 0; }
  .hero__text { justify-self: stretch; }
  .hero__text { --size: clamp(4.5rem, 36vw, 13rem); padding: calc(var(--header-h) + 1.75rem) var(--gutter) .5rem; }
  .hero__inner { display: flex; }
  .hero__sub { white-space: normal; font-size: clamp(.95rem, 3.9vw, 1.25rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__media { height: auto; width: auto; aspect-ratio: 900 / 1300; max-height: 80svh; overflow: hidden; }
  .hero__video { height: 100%; width: 100%; max-width: 600px; margin-inline: auto; object-fit: cover; object-position: center top; }
}

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.section { padding-block: var(--sec); position: relative; }

/* ---------- Bases ---------- */
.bases { background: var(--white); }
.bases__head {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end;
}
.bases__head .h2 { max-width: 12ch; }
.bases__list {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
}
.base { padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.base__title { font-size: clamp(1.375rem, 1.9vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .75rem; }
.base p { color: var(--ink-soft); }
@media (max-width: 1000px) {
  .bases__head { grid-template-columns: 1fr; }
  .bases__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .bases__list { grid-template-columns: 1fr; } }

/* ---------- Frase ---------- */
.statement { background: var(--white); padding-block: 0 var(--sec); }
.statement__text {
  font-size: clamp(2rem, 5.3vw, 5.25rem);
  line-height: 1.04; font-weight: 600; letter-spacing: -.045em;
  max-width: 19ch; text-wrap: balance;
}
.statement__text .word { display: inline-block; }

/* ---------- Comparativa ---------- */
.compare { background: var(--ink); color: var(--white); }
.compare .h2 { max-width: 13ch; }
.compare__scroll { margin-top: clamp(3rem, 6vw, 5.5rem); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__table { min-width: 680px; }
.compare__table th, .compare__table td {
  text-align: left; vertical-align: top;
  padding: 1.6rem 1.5rem 1.6rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.compare__table thead th {
  font-size: .975rem; font-weight: 500; color: rgba(255, 255, 255, .62);
  padding-top: 0; padding-bottom: 1.2rem;
}
.compare__table thead th:last-child { color: var(--naranja); }
.compare__table tbody th {
  width: 26%;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
}
.compare__table td { width: 37%; color: rgba(255, 255, 255, .62); }
.compare__table td:last-child {
  color: var(--white);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.3;
}

@media (max-width: 720px) {
  .compare__scroll { overflow: visible; }
  .compare__table { min-width: 0; }
  .compare__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare__table tr { display: grid; gap: .9rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line-dark); }
  .compare__table th, .compare__table td, .compare__table tbody th { display: block; width: auto; padding: 0; border: 0; }
  .compare__table td::before {
    content: attr(data-label); display: block; margin-bottom: .2rem;
    font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .55);
  }
  .compare__table td:last-child::before { color: var(--naranja); }
}

/* ---------- Qué incluye ---------- */
.includes { background: var(--paper); }
.includes__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3rem clamp(3rem, 7vw, 8rem); align-items: start; }
.includes__head { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.75rem; justify-items: start; }
.includes__list { border-top: 1px solid var(--line); }
.item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 2rem;
  padding: 2rem 0; border-bottom: 1px solid var(--line);
}
.item__title { font-size: clamp(1.5rem, 2.3vw, 2.125rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.item p { grid-column: 1; color: var(--ink-soft); max-width: 44ch; }
.tag {
  grid-column: 2; grid-row: 1 / span 2; align-self: start;
  font-size: .875rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  padding: .45rem .9rem; border-radius: 999px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .includes__grid { grid-template-columns: 1fr; }
  .includes__head { position: static; }
}
@media (max-width: 560px) {
  .item { grid-template-columns: 1fr; }
  .tag { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .5rem; }
}

/* ---------- Paso a paso ---------- */
.steps { background: var(--white); }
.steps__track { position: relative; margin-top: clamp(3.5rem, 7vw, 6rem); }
.steps__line {
  position: absolute; left: 0; right: 0; top: clamp(2.25rem, 3.2vw, 3rem);
  height: 2px; background: var(--line); overflow: hidden;
}
.steps__fill { position: absolute; inset: 0; background: var(--naranja); transform-origin: left; transform: scaleX(0); }
.no-anim .steps__fill, .no-js .steps__fill { transform: scaleX(1); }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.step__num {
  display: inline-grid; place-items: center;
  width: clamp(4.5rem, 6.4vw, 6rem); height: clamp(4.5rem, 6.4vw, 6rem);
  border-radius: 50%; background: var(--white); border: 2px solid var(--ink);
  font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 600; letter-spacing: -.04em;
  position: relative;
}
.step__title { margin-top: 1.75rem; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.step p { margin-top: .6rem; color: var(--ink-soft); max-width: 26ch; }
@media (max-width: 900px) {
  .steps__line { display: none; }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .steps__list { grid-template-columns: 1fr; } }

.deadline {
  margin-top: clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: center;
  padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 2px solid var(--ink);
}
.deadline__figure {
  font-size: clamp(5.5rem, 15vw, 14rem); font-weight: 600; letter-spacing: -.06em; line-height: .8;
  color: var(--naranja);
}
.deadline__title { font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.deadline__text p { margin-top: .9rem; color: var(--ink-soft); max-width: 52ch; }
@media (max-width: 700px) { .deadline { grid-template-columns: 1fr; } }

/* ---------- Proyectos ---------- */
.works { background: var(--paper); }
.works__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.works__grid {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense;
  gap: clamp(1.75rem, 3vw, 3rem) clamp(1rem, 1.6vw, 1.5rem);
}
.work--wide { grid-column: span 2; }
.work figure { display: grid; gap: .9rem; }
.work__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 1200 / 758; background: #dcdcdc; }
.work--wide .work__media { aspect-ratio: auto; height: 100%; }
.work__media img {
  width: 100%; height: 112%; object-fit: cover; position: absolute; left: 0; top: -6%;
  transition: scale 1.1s var(--ease);
  will-change: transform;
}
.work figure:hover .work__media img { scale: 1.045; }
.work figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.work__name { font-size: clamp(1.125rem, 1.4vw, 1.375rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; position: relative; }
.work__name::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--naranja);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.work figure:hover .work__name::after { transform: scaleX(1); }
.work__type { font-size: .9375rem; color: var(--ink-soft); }
/* el ancho del bloque doble se iguala en alto a la fila */
.work--wide figure { height: 100%; grid-template-rows: minmax(0, 1fr) auto; }
@media (max-width: 1000px) {
  .works__head { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work--wide { grid-column: span 2; }
  .work--wide .work__media { aspect-ratio: 1200 / 758; height: auto; }
}
@media (max-width: 600px) {
  .works__grid { grid-template-columns: 1fr; }
  .work--wide { grid-column: auto; }
}

/* ---------- Packs ---------- */
.packs { background: var(--white); }
.packs__head { display: grid; gap: 1.75rem; justify-items: start; }
.billing {
  display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper);
  margin-top: .5rem;
}
.billing__opt {
  border: 0; background: transparent; cursor: pointer;
  min-height: 2.9rem; padding: .55rem 1.3rem; border-radius: 999px;
  font-size: .975rem; font-weight: 600; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: .6rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.billing__opt[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.billing__opt { white-space: nowrap; }
.billing__gift { font-size: .8125rem; font-weight: 600; color: var(--naranja-boton); background: var(--white); padding: .2rem .55rem; border-radius: 999px; }

.packs__grid {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch;
}
.pack {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 2.4vw, 2.5rem);
  border-radius: 20px; background: var(--paper);
}
.pack--featured { background: var(--ink); color: var(--white); }
.pack__name { font-size: 1.375rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.pack__price { margin-top: 2rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; min-height: 4.6rem; }
.pack__amount { font-size: clamp(3.25rem, 4.6vw, 4.5rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.pack--featured .pack__amount { color: var(--naranja); }
.pack__amount--text { font-size: clamp(2.25rem, 3.2vw, 3rem); letter-spacing: -.045em; }
.pack__period { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.pack--featured .pack__period, .pack--featured .pack__note { color: rgba(255, 255, 255, .7); }
.pack__note { margin-top: .5rem; font-size: .9375rem; color: var(--ink-soft); min-height: 2.9em; }
.pack__features { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; flex: 1; align-content: start; }
.pack--featured .pack__features { border-color: var(--line-dark); }
.pack__features li { position: relative; padding-left: 1.6rem; font-size: .975rem; line-height: 1.45; }
.pack__features li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: .85rem; height: .45rem;
  border-left: 2px solid var(--naranja); border-bottom: 2px solid var(--naranja);
  transform: rotate(-45deg);
}
.pack__desc { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); flex: 1; color: var(--ink-soft); }
.pack__cta { margin-top: 2rem; width: 100%; white-space: normal; text-align: center; }
.pack--featured .btn--primary { --bg: var(--naranja-boton); }
@media (max-width: 520px) {
  .billing { display: flex; width: 100%; }
  .billing__opt { flex: 1; justify-content: center; padding-inline: .6rem; font-size: .9rem; gap: .4rem; }
  .billing__gift { font-size: .75rem; padding: .15rem .45rem; }
}
@media (max-width: 1200px) { .packs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .packs__grid { grid-template-columns: 1fr; } }

.extras {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem 4rem; align-items: start;
}
.extras__title { font-size: clamp(1.75rem, 2.8vw, 2.75rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; max-width: 14ch; }
.extras__table th, .extras__table td { padding: 1.1rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.extras__table tr:first-child th, .extras__table tr:first-child td { border-top: 1px solid var(--line); }
.extras__table th { font-weight: 500; padding-right: 1.5rem; }
.extras__table td { text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.extras__vat { grid-column: 2; font-size: .9375rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .extras { grid-template-columns: 1fr; }
  .extras__vat { grid-column: 1; }
}

/* ---------- Condiciones ---------- */
.terms { background: var(--paper); }
.terms__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.terms__list { margin-top: clamp(3rem, 6vw, 5rem); counter-reset: term; }
.term {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 5rem); align-items: baseline;
  padding-block: clamp(1.75rem, 3.2vw, 3rem);
  border-top: 2px solid var(--ink);
}
.term:last-child { border-bottom: 2px solid var(--ink); }
.term__title {
  font-size: clamp(2.25rem, 5.4vw, 5.5rem);
  font-weight: 600; letter-spacing: -.05em; line-height: .98;
  text-wrap: balance;
}
.term p { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--ink-soft); max-width: 40ch; }
@media (max-width: 900px) {
  .terms__head, .term { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 3rem clamp(3rem, 7vw, 8rem); align-items: start; }
.faq .h2 { position: sticky; top: calc(var(--header-h) + 2rem); max-width: 10ch; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.6rem 0;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 2px solid var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .45s var(--ease), background-color .3s var(--ease);
}
.qa[open] summary::after { transform: rotate(135deg); background-color: var(--naranja); }
.qa__q { font-size: clamp(1.25rem, 1.9vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 3.5rem 1.75rem 0; color: var(--ink-soft); max-width: 60ch; font-size: 1.0625rem; }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq .h2 { position: static; }
}

/* ---------- Contacto ---------- */
.contact { background: var(--ink); color: var(--white); }
.contact .lead { color: rgba(255, 255, 255, .72); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3.5rem clamp(3rem, 7vw, 8rem); align-items: start; }
.contact__intro { display: grid; gap: 1.75rem; justify-items: start; }
.contact__intro .h2 { font-size: clamp(3rem, 5.4vw, 6rem); max-width: none; white-space: nowrap; }
.contact__data { margin-top: 1rem; display: grid; gap: .5rem; color: rgba(255, 255, 255, .72); }
.contact__data strong { color: var(--white); font-weight: 600; }
.contact__data a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.contact__data a:hover { color: var(--white); border-color: var(--naranja); }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .9375rem; font-weight: 500; color: rgba(255, 255, 255, .8); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.4rem; padding: .85rem 1rem;
  background: rgba(255, 255, 255, .06); color: var(--white);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.75rem; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cian); background: rgba(255, 255, 255, .1); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #FF8A5B; }
.field__error { font-size: .875rem; color: #FF8A5B; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; color: rgba(255, 255, 255, .8); }
.check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--naranja-boton); flex: none; }
.check a { color: var(--white); }
.check.is-invalid { color: #FF8A5B; }
.form__submit { justify-self: start; margin-top: .5rem; }
.form__submit[disabled] { opacity: .6; cursor: wait; }
.form__status { min-height: 1.5em; font-size: 1rem; font-weight: 500; }
.form__status.is-ok { color: var(--cian); }
.form__status.is-error { color: #FF8A5B; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); border-top: 1px solid var(--line-dark); }
.site-footer__inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem 3rem; align-items: center;
  padding-block: 3rem 2.5rem;
}
.site-footer__brand img { width: 132px; height: auto; }
.site-footer__nav ul, .site-footer__legal ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.site-footer__nav { justify-self: center; }
.site-footer a { text-decoration: none; font-size: .9375rem; }
.site-footer a:hover { color: var(--white); }
.site-footer__copy { grid-column: 1 / -1; font-size: .875rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); }
@media (max-width: 1000px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__nav { justify-self: start; }
}

/* ---------- Animaciones: máscaras de SplitText ----------
   La máscara recorta por arriba y por abajo para el efecto de subida, pero
   necesita holgura lateral: con el interletraje negativo, el remate de letras
   como la «B» o la «h» sobresale de su caja y se cortaba en el extremo. */
[data-split] [class*="-mask"], [data-lines] [class*="-mask"] {
  padding: 0 .12em .12em; margin: 0 -.12em -.12em;
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto !important; }
  .js .hero__eyebrow, .js .hero__title, .js .hero__sub, .js .hero__actions, .js .hero__media { visibility: visible; }
  .steps__fill { transform: scaleX(1); }
  .work__media img { height: 100%; top: 0; }
}
