/* ============================================================
   Fuentes self-hosted (woff2 variable). El subset latin cubre
   todos los acentos del espanol; latin-ext casi nunca se descarga.
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   TOKENS
   Una sola fuente de verdad. El terracota de marca (--brand) se
   usa como acento puntual, no como color de fondo generalizado.
   ============================================================ */

:root {
  /* --- Color --- */
  --brand:        #C33817;
  --brand-dark:   #A42B0B;
  --brand-wash:   #F6E4DD;

  --ink:          #1C1714;   /* negro calido, texto principal */
  --ink-soft:     #453B34;
  --muted:        #6B5F55;   /* AA sobre --bone (7:1) */

  --bone:         #F6F1EA;   /* fondo base */
  --bone-deep:    #EDE5DA;
  --clay:         #E4D8CA;
  --white:        #FFFFFF;

  --line:         rgba(28, 23, 20, .14);
  --line-strong:  rgba(28, 23, 20, .28);

  /* --- Tipografia --- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Escala fluida: sin breakpoints, interpola sola */
  --text-xs:   clamp(0.75rem,  0.73rem + 0.10vw, 0.8125rem);
  --text-sm:   clamp(0.875rem, 0.85rem + 0.13vw, 0.9375rem);
  --text-base: clamp(1rem,     0.96rem + 0.20vw, 1.125rem);
  --text-md:   clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-lg:   clamp(1.375rem, 1.24rem + 0.65vw, 1.75rem);
  --text-xl:   clamp(1.75rem,  1.50rem + 1.20vw, 2.5rem);
  --text-2xl:  clamp(2.25rem,  1.85rem + 1.95vw, 3.5rem);
  --text-3xl:  clamp(2.75rem,  2.05rem + 3.40vw, 5rem);

  /* --- Espaciado --- */
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-7:  3rem;
  --sp-8:  4rem;
  --section-y: clamp(4rem, 9vw, 8.5rem);

  /* --- Layout --- */
  --wrap:        76rem;
  --wrap-narrow: 44rem;
  --gutter:      clamp(1.25rem, 5vw, 4rem);

  /* --- Otros --- */
  --radius:      2px;
  --radius-pill: 999px;
  --shadow:      0 1px 2px rgba(28,23,20,.05), 0 12px 32px -12px rgba(28,23,20,.18);
  --shadow-lg:   0 2px 4px rgba(28,23,20,.06), 0 32px 64px -24px rgba(28,23,20,.28);
  --ease:        cubic-bezier(.22, .61, .36, 1);
  --dur:         .4s;
}

/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

a { color: inherit; }

/* Foco visible y consistente en todo el sitio.
   El CSS viejo hacia outline:0 en acordeon, inputs y botones de pago. */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--radius);
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--brand); color: var(--white); }

/* ============================================================
   TIPOGRAFIA BASE
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); line-height: 1.2; }
h4 { font-size: var(--text-md); line-height: 1.3; }

p { text-wrap: pretty; }

strong, b { font-weight: 600; }

/* Etiqueta editorial: versalita con tracking, en color de marca */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34ch;
}

.prose p + p { margin-top: var(--sp-4); }
.prose { color: var(--ink-soft); max-width: 68ch; }

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--bone  { background: var(--bone-deep); }
.section--ink   { background: var(--ink); color: var(--bone); }

.rule { height: 1px; background: var(--line); border: 0; }

/* Salto al contenido para teclado y lectores de pantalla */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100%;
  z-index: 999;
  background: var(--ink);
  color: var(--bone);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-pill);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============================================================
   BOTONES
   Un unico componente con modificadores. El sitio viejo tenia
   cinco implementaciones distintas del mismo boton terracota.
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 0.9em 1.9em;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(164,43,11,.2), 0 10px 24px -10px rgba(164,43,11,.5);
}
.btn--primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 2px 4px rgba(164,43,11,.24), 0 18px 32px -12px rgba(164,43,11,.55);
}

.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); }

.btn--on-ink { border: 1px solid rgba(246,241,234,.35); color: var(--bone); }
.btn--on-ink:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* Link con flecha: la flecha avanza en hover */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--brand);
  text-decoration: none;
  padding-block: var(--sp-2);
}
.btn-link::after {
  content: "\2192";
  font-size: 1.15em;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.btn-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.btn-link:hover::after { transform: translateX(4px); }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }

/* ============================================================
   HEADER + NAVEGACION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(246,241,234,.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: clamp(4.25rem, 7vw, 5.5rem);
}

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--ink); }
.brand img { width: 2.5rem; height: 2.5rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; }
.brand__sub { font-size: var(--text-xs); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }

.nav__link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: var(--sp-2);
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav__cta { margin-left: var(--sp-2); }

/* Hamburguesa que se convierte en X */
.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(246,241,234,.6);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.15rem; height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 60em) {
  .nav-toggle { display: inline-flex; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--bone);
    display: grid;
    place-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                visibility var(--dur);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: center; gap: var(--sp-5); text-align: center; }
  .nav__link { font-size: var(--text-lg); font-family: var(--font-display); }
  .nav__cta { margin: var(--sp-3) 0 0; }
}

/* ============================================================
   HERO
   Imagen full-bleed a la derecha, texto alineado a la grilla.
   El <img> lleva fetchpriority="high": es el elemento LCP.
   ============================================================ */

.hero { position: relative; overflow: hidden; }

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 5rem) var(--section-y);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
  padding-inline: var(--gutter);
  max-width: var(--wrap);
  margin-inline: auto;
  width: 100%;
}
.hero__title { max-width: 12ch; }
.hero__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
  color: var(--brand);
}

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 60em) {
  /* El hero comparte retícula con el resto del sitio: mismo ancho maximo y
     mismos margenes que .wrap. Antes la foto salia a sangre hasta el borde
     derecho; en pantallas anchas se estiraba hasta ocupar media pantalla y
     desequilibraba la composicion. Contenida, su borde derecho cae justo
     donde termina el boton del header. */
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .hero__content {
    padding-inline: 0;
    margin: 0;
    max-width: none;
  }
  .hero__media img { aspect-ratio: 5 / 6; border-radius: var(--radius); }
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5) var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  width: 100%;
}
.hero__fact { display: flex; flex-direction: column; gap: 2px; }
.hero__fact dt { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__fact dd { font-family: var(--font-display); font-size: var(--text-md); margin: 0; }

/* Hero corto para paginas interiores */
.hero--inner .hero__grid { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 5rem); }
.hero--inner .hero__title { max-width: 16ch; font-size: var(--text-2xl); }

/* ============================================================
   BLOQUES EDITORIALES (imagen + texto alternados)
   ============================================================ */

.editorial { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 55em) {
  .editorial { grid-template-columns: 1fr 1fr; }
  .editorial--flip .editorial__media { order: 2; }
}
.editorial__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.editorial__body { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 46ch;
}
.section-head--center { margin-inline: auto; text-align: center; align-items: center; }
.section-head--center .eyebrow::before { display: none; }

/* ============================================================
   TARJETAS DE SERVICIO
   ============================================================ */

.services { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 48em) { .services { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  flex: 1;
}
.service-card__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--brand);
}
.service-card__price small { font-size: .6em; color: var(--muted); font-family: var(--font-body); }
.service-card .btn-link { margin-top: auto; }

/* Beneficios: rejilla numerada, sin iconos decorativos repetidos */
.benefits { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: b; }
@media (min-width: 40em) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .benefits { grid-template-columns: repeat(4, 1fr); } }

.benefit { display: flex; flex-direction: column; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--line); counter-increment: b; }
.benefit::before {
  content: "0" counter(b);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--brand);
  letter-spacing: .05em;
}
.benefit h3 { font-size: var(--text-md); }
.benefit p { color: var(--muted); font-size: var(--text-sm); }

/* ============================================================
   FAQ — <details>/<summary> nativo
   Sin JS, accesible por defecto, indexable por Google y con
   foco visible (el acordeon de Bootstrap lo anulaba).
   ============================================================ */

.faq { display: flex; flex-direction: column; }

.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--text-md);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand); }

/* Signo + que rota a x al abrir */
.faq__q::after {
  content: "";
  flex: none;
  width: 1rem; height: 1rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] > .faq__q::after { transform: rotate(135deg); }
.faq__item[open] > .faq__q { color: var(--brand); }

.faq__a { padding-bottom: var(--sp-5); color: var(--ink-soft); max-width: 62ch; }
.faq__a p + p { margin-top: var(--sp-3); }

/* ============================================================
   TESTIMONIOS — scroll-snap nativo
   Reemplaza a Owl Carousel + jQuery (45 KB) con CSS.
   ============================================================ */

.testimonials {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min(85%, 22rem), 1fr);
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  padding-bottom: var(--sp-5);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--clay) transparent;
}
.testimonials::-webkit-scrollbar { height: 6px; }
.testimonials::-webkit-scrollbar-thumb { background: var(--clay); border-radius: var(--radius-pill); }

@media (min-width: 64em) {
  .testimonials {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    padding-inline: 0;
    margin-inline: 0;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}

.testimonial {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.testimonial__quote { font-family: var(--font-display); font-size: var(--text-md); line-height: 1.45; color: var(--ink); }
.testimonial__quote::before { content: "\201C"; color: var(--brand); margin-right: .1em; }
.testimonial__quote::after  { content: "\201D"; color: var(--brand); }

.testimonial__person { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.testimonial__person img {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-pill);
  object-fit: cover;
  flex: none;
}
.testimonial__name { font-weight: 600; font-size: var(--text-sm); }
.testimonial__meta { font-size: var(--text-xs); color: var(--muted); }

/* ============================================================
   PRECIO / QUE INCLUYE
   ============================================================ */

.pricing {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (min-width: 52em) { .pricing { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); } }

.pricing__amount { display: flex; align-items: baseline; gap: .15em; font-family: var(--font-display); }
.pricing__currency { font-size: var(--text-lg); color: var(--muted); }
.pricing__value { font-size: var(--text-3xl); line-height: 1; letter-spacing: -.03em; }
.pricing__note { color: var(--muted); font-size: var(--text-sm); margin-top: var(--sp-3); }
.pricing__side { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }

.checklist { display: grid; gap: var(--sp-3); }
.checklist li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  width: 1.35rem; height: 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--brand-wash);
  box-shadow: inset 0 0 0 1px rgba(195,56,23,.18);
  position: relative;
  top: .18em;
}
.checklist li::after {
  content: "";
  position: absolute;
  width: .42rem; height: .22rem;
  margin: .58rem 0 0 .46rem;
  border-left: 1.5px solid var(--brand);
  border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}
.checklist li { position: relative; }

/* ============================================================
   FORMULARIO
   ============================================================ */

.form { display: grid; gap: var(--sp-5); max-width: 34rem; }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field__hint { font-size: var(--text-xs); color: var(--muted); }

.field input,
.field textarea {
  width: 100%;
  padding: .85em 1em;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-wash);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--brand); }

.field__error { font-size: var(--text-sm); color: var(--brand-dark); font-weight: 500; min-height: 1lh; }

.form__status {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
}
.form__status[data-state="ok"]  { background: var(--brand-wash); color: var(--brand-dark); }
.form__status[data-state="err"] { background: var(--clay); color: var(--ink); }
.form__status:empty { display: none; }

.btn[disabled] { opacity: .55; pointer-events: none; }

/* Datos de contacto */
.contact-list { display: grid; gap: var(--sp-5); }
.contact-item { display: flex; flex-direction: column; gap: 2px; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.contact-item dt { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item dd { margin: 0; }
.contact-item a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.contact-item a:hover { color: var(--brand); border-color: var(--brand); }

/* ============================================================
   CTA FINAL + FOOTER
   ============================================================ */

.cta-band { background: var(--ink); color: var(--bone); }
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.cta-band h2 { font-size: var(--text-xl); max-width: 20ch; }

.site-footer { background: var(--ink); color: var(--bone); padding-block: clamp(3rem, 6vw, 5rem) var(--sp-6); }
.site-footer a { color: var(--bone); text-decoration: none; }

.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246,241,234,.55);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: grid; gap: var(--sp-3); }
.footer-col li a {
  font-size: var(--text-sm);
  color: rgba(246,241,234,.82);
  transition: color var(--dur) var(--ease);
}
.footer-col li a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: .3em; }
.footer-col p { font-size: var(--text-sm); color: rgba(246,241,234,.72); max-width: 34ch; }

.social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(246,241,234,.25);
  border-radius: var(--radius-pill);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social a:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.social svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(246,241,234,.16);
  font-size: var(--text-xs);
  color: rgba(246,241,234,.6);
}
.footer-bottom a { border-bottom: 1px solid rgba(246,241,234,.3); }
.footer-bottom a:hover { color: var(--bone); }

/* ============================================================
   PROSA LEGAL (privacidad)
   ============================================================ */

.legal { max-width: var(--wrap-narrow); }
.legal h2 {
  font-size: var(--text-lg);
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: var(--sp-6); }
.legal h3 { font-size: var(--text-md); margin-top: var(--sp-5); margin-bottom: var(--sp-3); }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: var(--sp-4); }
.legal ul { display: grid; gap: var(--sp-2); margin: var(--sp-4) 0; padding-left: var(--sp-5); list-style: disc; }
.legal a { color: var(--brand); }

/* ============================================================
   MOVIMIENTO
   Revelado al scroll via IntersectionObserver (~15 lineas de JS).
   Si el usuario pide menos movimiento, no se anima nada.
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Sin JS el contenido se ve igual: nunca queda invisible */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   UTILIDADES
   ============================================================ */

.stack   { display: flex; flex-direction: column; }
.stack-4 { gap: var(--sp-4); }
.stack-5 { gap: var(--sp-5); }
.stack-6 { gap: var(--sp-6); }
.text-center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }

@media print {
  .site-header, .nav, .cta-band, .social, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}

.service-card__title a {
  text-decoration: none;
  background-image: linear-gradient(var(--brand), var(--brand));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service-card:hover .service-card__title a { background-size: 100% 1px; color: var(--brand); }

/* ============================================================
   AJUSTES TRAS REVISION EN NAVEGADOR
   ============================================================ */

/* .footer-col ul (0,1,1) ganaba sobre .social (0,1,0) y los apilaba */
.footer-col .social { display: flex; flex-direction: row; gap: var(--sp-3); }

/* .88 dejaba pasar la foto del hero por debajo del header */
.site-header.is-scrolled { background: rgba(246,241,234,.95); }
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-scrolled { background: rgba(246,241,234,.86); }
}

/* El hero pasaba del alto de la pantalla y dejaba un hueco enorme al costado */
@media (min-width: 60em) {
  .hero__media img {
    aspect-ratio: auto;
    height: min(74vh, 38rem);
    object-fit: cover;
  }
  .hero__grid { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem); }
}

/* CTA y footer comparten fondo: se leian como un bloque con un vacio en medio */
.cta-band + .site-footer { padding-top: clamp(2rem, 4vw, 3rem); }
.cta-band__inner { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid rgba(246,241,234,.16); }

/* La marca queda visible por encima del overlay del menu movil */
@media (max-width: 60em) {
  .brand { position: relative; z-index: 2; }
}

/* ============================================================
   CHECKOUT
   Tarjetas de radio en vez del <select> anterior: el usuario ve
   las dos opciones a la vez y el area de click es todo el bloque.
   ============================================================ */

.choices { border: 0; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.choices legend { margin-bottom: var(--sp-4); }

.choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.choice:hover { border-color: var(--muted); }
.choice:has(input:checked) {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}
.choice:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }

.choice input {
  appearance: none;
  width: 1.25rem; height: 1.25rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  display: grid;
  place-content: center;
  transition: border-color var(--dur) var(--ease);
}
.choice input::before {
  content: "";
  width: .65rem; height: .65rem;
  border-radius: var(--radius-pill);
  background: var(--brand);
  transform: scale(0);
  transition: transform var(--dur) var(--ease);
}
.choice input:checked { border-color: var(--brand); }
.choice input:checked::before { transform: scale(1); }

.choice__body { display: flex; flex-direction: column; gap: 2px; }
.choice__name { font-weight: 600; }
.choice__desc { font-size: var(--text-sm); color: var(--muted); }
.choice__price { font-family: var(--font-display); font-size: var(--text-lg); white-space: nowrap; }

@media (max-width: 34em) {
  .choice { grid-template-columns: auto 1fr; }
  .choice__price { grid-column: 2; }
}

.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.checkout-total strong { font-family: var(--font-display); font-size: var(--text-md); font-weight: 500; }

.checkout-pay { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); }
#paypal-buttons { min-height: 3rem; max-width: 26rem; }
.mx-auto { margin-inline: auto; }
.justify-center { justify-content: center; }
.mt-4 { margin-top: var(--sp-4); }

/* El logo de Vinted es un wordmark, no un glifo: va en pastilla, no en circulo.
   Se usa sin deformar, a la misma altura que el resto de los iconos. */
.social a.social--wordmark {
  width: auto;
  padding-inline: 0.8rem;
  border-radius: var(--radius-pill);
}
.social--wordmark svg { width: auto; height: 0.95rem; }

/* ============================================================
   CONTRASTE DEL TERRACOTA EN TEXTO
   #C33817 da 4.31:1 sobre --bone-deep: no llega al 4.5:1 de AA.
   Como relleno (botones, puntos) sigue siendo el color de marca;
   como TEXTO se usa la variante oscura, que cumple sobre los tres
   fondos del sitio (6.38 / 5.74 / 7.17).
   ============================================================ */

.eyebrow,
.btn-link,
.service-card__price,
.benefit::before,
.legal a,
.faq__q:hover,
.faq__item[open] > .faq__q,
.service-card:hover .service-card__title a {
  color: var(--brand-dark);
}

/* El subrayado animado del titulo de tarjeta acompana al texto */
.service-card__title a { background-image: linear-gradient(var(--brand-dark), var(--brand-dark)); }
