/* ==========================================================================
   docuElite — hoja de estilos principal
   Vaditelpro SL · León
   Paleta y logotipo según la identidad elegida por el cliente:
   carbón (#111313), oro (#d4b376) y papel crema (#f6f3eb).
   --------------------------------------------------------------------------
   1. Tokens
   2. Base
   3. Utilidades de layout
   4. Cabecera y navegación
   5. Logotipo
   6. Botones
   7. Hero
   7b. Fotografía
   8. Selector de trámite
   9. Servicios
   10. Proceso
   11. Confianza / quién está detrás
   12. Honorarios
   13. Preguntas frecuentes
   14. Contacto y formulario
   15. Pie de página
   16. Barra móvil
   17. Páginas legales y gracias
   18. Responsive
   19. Páginas de servicio
   20. Hablamos tu idioma
   21. Escritura de derecha a izquierda
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --night: #111313;
  --ink: #171818;
  --ink-soft: #3c3b37;
  --muted: #66645f;

  --gold: #d4b376;
  --gold-bright: #e7c98d;
  --gold-dark: #81622d;
  --gold-wash: #efe4cd;

  --paper: #f6f3eb;
  --soft: #eee8dc;
  --white: #fffefa;
  --line: #ded8cb;
  --line-dark: #34352f;

  --ok: #0c6f56;

  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --text: "Inter Tight", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h3, h4 {
  font-family: var(--text);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.22;
  margin: 0;
}

h1 { font-size: clamp(46px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.8vw, 62px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

mark {
  background: none; color: inherit;
  box-shadow: inset 0 -2px 0 var(--gold);
  padding: 0 1px;
}

::selection { background: var(--gold); color: var(--night); }

:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 3px; }
.section--ink :focus-visible, .header :focus-visible { outline-color: var(--gold); }

.skip {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 300;
  background: var(--gold); color: var(--night);
  padding: 12px 18px; font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 14px; }

.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;
}

/* 3. Utilidades de layout -------------------------------------------------- */
.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding: clamp(64px, 9vw, 118px) 0; }

.section--ink { background: var(--night); color: var(--paper); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--gold { background: var(--gold); color: var(--night); }
.section--soft { background: var(--soft); }

.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 20px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }
.section--ink .eyebrow { color: var(--gold); }
.section--gold .eyebrow { color: #5d4519; }

.lede {
  font-size: clamp(16.5px, 1.45vw, 19px);
  color: var(--muted);
  max-width: 52ch;
}
.section--ink .lede { color: #b6b3aa; }
.section--gold .lede { color: #4d3a16; }

.head-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 62px);
}

/* 4. Cabecera -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--night);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }

.nav {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto;
  font-size: 14.5px; font-weight: 500;
}
.nav a { text-decoration: none; padding: 6px 0; position: relative; color: #ddd9cf; }
.nav a:hover { color: var(--gold); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.lang {
  display: flex; align-items: center;
  border: 1px solid #55524a;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  flex: none;
}
.lang a { padding: 7px 11px; text-decoration: none; line-height: 1; color: #cfcabd; }
.lang a:hover { color: var(--gold); }
.lang a[aria-current] { background: var(--gold); color: var(--night); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid #55524a;
  place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 1.5px; background: var(--paper); content: "";
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

/* 5. Logotipo -------------------------------------------------------------- */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark {
  width: 42px; height: 46px;
  border: 1px solid var(--gold);
  border-radius: 14px 14px 2px 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--display); font-weight: 400;
  font-size: 29px; line-height: 1; letter-spacing: -0.06em;
  flex: none;
  padding-right: 2px;
}
.brand__mark span { font-size: 23px; position: relative; top: 3px; }
.brand__name {
  font-family: var(--text);
  font-size: 19px; font-weight: 600; letter-spacing: 0.16em;
  line-height: 1; display: block;
}
.brand__tag {
  display: block; font-size: 9.5px; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #b3aea2; margin-top: 6px;
}
.footer .brand__mark { border-color: var(--gold-dark); color: var(--gold-dark); }
.footer .brand__tag { color: var(--muted); }

/* 6. Botones --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--text);
  font-size: 15.5px; font-weight: 600; line-height: 1;
  padding: 17px 26px;
  border: 1px solid var(--night);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  text-align: center;
}
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--primary {
  background: var(--gold); color: var(--night); border-color: var(--night);
  box-shadow: 4px 4px 0 var(--night);
}
.btn--primary:hover { background: var(--gold-bright); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--night); }
.btn--primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--night); }

.header .btn--primary { box-shadow: 3px 3px 0 var(--gold-dark); border-color: var(--gold); }
.header .btn--primary:hover { box-shadow: 5px 5px 0 var(--gold-dark); }

.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--night); color: var(--paper); border-color: var(--night); }
.section--ink .btn--ghost { border-color: #6b675c; }
.section--ink .btn--ghost:hover { background: var(--paper); color: var(--night); border-color: var(--paper); }

.btn--light {
  background: var(--paper); color: var(--night);
  border-color: var(--paper); box-shadow: 4px 4px 0 var(--gold-dark);
}
.btn--light:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--gold-dark); }

.btn--dark {
  background: var(--night); color: var(--paper); border-color: var(--night);
  box-shadow: 4px 4px 0 rgba(0,0,0,.18);
}
.btn--dark:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0,0,0,.18); }

.btn--sm { font-size: 13.5px; padding: 12px 18px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.textlink {
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--gold-dark);
  padding-bottom: 2px;
}
.textlink:hover { color: var(--gold-dark); }
.section--ink .textlink { border-color: var(--gold); }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: clamp(48px, 6.5vw, 88px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: italic; display: block; color: var(--gold-dark); }
.hero h1 mark {
  background: none; color: inherit;
  box-shadow: inset 0 -2px 0 var(--gold);
}
.hero__lede { font-size: clamp(16.5px, 1.5vw, 19.5px); color: var(--ink-soft); max-width: 46ch; margin-bottom: 30px; }
.hero__micro { font-size: 13.5px; color: var(--muted); margin-top: 18px; }

.trust {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 30px 0 0; padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.trust li {
  list-style: none;
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 11px;
}
.trust svg { width: 15px; height: 15px; color: var(--gold-dark); flex: none; }

/* Collage del hero */
.collage { position: relative; padding-bottom: 96px; }
.collage__doc {
  background: var(--white);
  border: 1px solid var(--night);
  padding: 24px 26px;
  position: relative;
}
.collage__doc--main { transform: rotate(-1.4deg); box-shadow: 12px 14px 0 var(--gold-wash); }
.collage__label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-dark);
  display: flex; justify-content: space-between; gap: 12px;
}
.collage__title {
  font-family: var(--display); font-weight: 400;
  font-size: 34px; letter-spacing: -0.02em; line-height: 1.06;
  margin: 18px 0 20px;
}
.collage__list { margin: 0; padding: 0; list-style: none; }
.collage__list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.collage__list li:last-child { border-bottom: 1px solid var(--line); }
.collage__list b { font-weight: 600; }
.collage__list span.ok,
.collage__list span.wait {
  flex: none; min-width: 88px; white-space: nowrap;
  font-weight: 700; font-size: 11px; letter-spacing: .08em; padding-top: 3px;
}
.collage__list span.ok { color: var(--ok); }
.collage__list span.wait { color: var(--gold-dark); }
.collage__foot {
  display: flex; align-items: center; gap: 9px;
  margin-top: 18px; font-size: 12.5px; font-weight: 600; color: var(--gold-dark);
}

.stamp { position: absolute; right: -14px; bottom: -26px; width: 132px; height: 132px; transform: rotate(-13deg); }
.stamp--sm { width: 116px; height: 116px; }
.stamp--team { right: -14px; bottom: -18px; }

.collage__note {
  position: absolute; left: -22px; bottom: 0;
  background: var(--gold); color: var(--night);
  border: 1px solid var(--night);
  padding: 13px 17px;
  font-size: 13.5px; font-weight: 600; line-height: 1.4;
  max-width: 215px;
  transform: rotate(2deg);
  box-shadow: 4px 4px 0 var(--night);
}


/* 7b. Fotografía ----------------------------------------------------------
   Cada hueco es un <figure class="photo photo--x"> con un <img> dentro.
   El figure fija la proporción; la imagen la rellena con object-fit: cover.
   Para cambiar una foto, sustituye el archivo en /assets/img/ conservando
   el nombre y la proporción.
   ------------------------------------------------------------------------ */
.photo {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  background: var(--gold-wash);
  border: 1px solid var(--night);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--hero   { aspect-ratio: 16 / 10; transform: rotate(-1.4deg); box-shadow: 12px 14px 0 var(--gold-wash); }
.photo--team   { aspect-ratio: 4 / 5; }
.photo--band   { aspect-ratio: 24 / 9; border-left: 0; border-right: 0; }

.band { padding: 0; }
.band .photo--band { width: 100vw; margin-inline: calc(50% - 50vw); }
.band__cap {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
  padding: 14px 0 0;
}

/* En el hero, la ficha del expediente monta sobre la foto */
.collage--photo .collage__doc--main { margin-top: -78px; margin-inline: 30px 0; }

@media (max-width: 860px) {
  .photo--hero { transform: none; box-shadow: 7px 7px 0 var(--gold-wash); }
  .collage--photo .collage__doc--main { margin-top: -44px; margin-inline: 14px 0; }
  .photo--band { aspect-ratio: 16 / 9; }
}

/* Aviso de independencia */
.disclaim { background: var(--night); color: #c8c3b7; font-size: 13px; padding: 15px 0; }
.disclaim .wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.disclaim b { color: var(--white); font-weight: 600; }
.disclaim svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* 8. Selector de trámite --------------------------------------------------- */
.picker__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pick {
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  text-align: left; text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  min-height: 172px;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.pick:hover { transform: translate(-3px, -3px); background: var(--night); color: var(--paper); border-color: var(--night); }
.pick:hover .pick__num, .pick:hover .pick__go { color: var(--gold); border-color: var(--gold); }
.pick__num {
  display: block;
  font-family: var(--display); font-size: 15px;
  letter-spacing: 0.04em; color: var(--gold-dark);
  margin-bottom: 12px;
}
.pick__name {
  display: block;
  font-family: var(--text); font-weight: 650;
  font-size: 17.5px; letter-spacing: -0.015em; line-height: 1.22;
}
.pick__desc { display: block; font-size: 13px; line-height: 1.55; opacity: .78; margin-top: 9px; }
.pick__go {
  display: inline-block; align-self: flex-start;
  border-bottom: 1px solid var(--gold-dark);
  color: var(--gold-dark);
  font-size: 13px; font-weight: 600; padding-bottom: 2px;
}
.pick--alt { background: var(--night); color: var(--paper); border-color: var(--night); }
.pick--alt .pick__num, .pick--alt .pick__go { color: var(--gold); border-color: var(--gold); }
.pick--alt:hover { background: var(--gold); color: var(--night); border-color: var(--night); }
.pick--alt:hover .pick__num, .pick--alt:hover .pick__go { color: var(--night); border-color: var(--night); }

/* 9. Servicios ------------------------------------------------------------- */
.svc { border-top: 1px solid var(--line-dark); }
.svc__item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(26px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
}
.svc__no { font-family: var(--display); font-size: 20px; color: var(--gold); padding-top: 2px; }
.svc__body p { color: #b6b3aa; font-size: 15px; margin: 10px 0 0; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.svc__tags span { font-size: 12.5px; color: #d6d2c7; border: 1px solid #45423a; padding: 5px 11px; }

/* 10. Proceso -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
.step { border-top: 1px solid var(--night); padding-top: 22px; }
.step__no {
  font-family: var(--display); font-style: italic;
  font-size: 46px; line-height: 1; color: var(--gold-dark); margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }

/* 11. Confianza ------------------------------------------------------------ */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
/* La columna derecha es solo la foto */
.trust-grid .photo--team { position: sticky; top: 108px; }

.facts { display: grid; gap: 16px; margin-top: 34px; }
.fact { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.fact__i { width: 36px; height: 36px; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-dark); }
.fact__i svg { width: 18px; height: 18px; }
.fact h3 { font-size: 17px; margin-bottom: 5px; }
.fact p { font-size: 14.5px; color: var(--muted); }

.card-id {
  background: var(--white);
  border: 1px solid var(--night);
  box-shadow: 12px 12px 0 var(--gold-wash);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
}
.card-id__head {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-dark);
  padding-bottom: 16px; border-bottom: 1px solid var(--night);
}
.card-id dl { margin: 0; }
.card-id dt {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 20px;
}
.card-id dd { margin: 5px 0 0; font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; line-height: 1.25; }
.card-id dd a { text-decoration: none; border-bottom: 1px solid var(--gold-dark); }
.card-id__note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }


/* 12. Honorarios ----------------------------------------------------------- */
.fees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--night); }
.fee { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--night); border-bottom: 1px solid var(--night); }
.fee:nth-child(2n) { border-right: 0; }
.fee:nth-last-child(-n+2) { border-bottom: 0; }
.fee h3 { margin-bottom: 10px; }
.fee p { font-size: 15px; color: #4d3a16; }

/* 13. FAQ ------------------------------------------------------------------ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--night); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0;
  font-family: var(--text); font-weight: 600;
  font-size: 17px; letter-spacing: -0.012em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--text); font-size: 24px; font-weight: 300; color: var(--gold-dark); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--gold-dark); }
.faq__a { padding: 0 44px 22px 0; color: var(--muted); font-size: 15px; }

/* 14. Contacto ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.channels { display: grid; gap: 12px; margin-top: 32px; }
.channel {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px; align-items: center;
  border: 1px solid #3c3a33;
  padding: 15px 18px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.channel--static { cursor: default; }
.channel:not(.channel--static):hover { background: var(--paper); color: var(--night); border-color: var(--paper); }
.channel:not(.channel--static):hover .channel__i { background: var(--gold); color: var(--night); }
.channel:not(.channel--static):hover .channel__k { color: var(--muted); }
.channel__i { width: 44px; height: 44px; display: grid; place-items: center; background: #23231f; color: var(--gold); }
.channel__i svg { width: 21px; height: 21px; }
.channel__k { display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #9c968b; }
.channel__v { display: block; margin-top: 4px; font-family: var(--display); font-size: 21px; letter-spacing: -0.01em; }
.channel__go { font-size: 21px; color: var(--gold); }

.form {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--night);
  box-shadow: 12px 12px 0 var(--gold);
  padding: clamp(24px, 3vw, 36px);
}
.form h3, .section--ink .form h3 {
  color: var(--ink);
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 8px;
}
.form__sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 7px;
}
.field label small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid #c6bfb0;
  padding: 13px 14px;
  font-size: 15px;
  border-radius: 0;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-dark); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%);
  opacity: 0; pointer-events: none;
}
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 6px 0 20px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold-dark); flex: none; }
.check a { color: var(--ink); }
.form__alt { text-align: center; font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.form__alt a { color: var(--ink); font-weight: 600; }
.form__note { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.6; }
.form__feedback { margin-top: 18px; padding: 16px 18px; background: var(--gold-wash); border-left: 3px solid var(--gold-dark); font-size: 14.5px; }
.form__feedback:empty { display: none; }
.form__feedback p { margin-bottom: .6em; }
.form__feedback .btn { margin-top: 6px; }
.form__feedback--error { background: #f6e3dd; border-left-color: #a8391c; }

/* 15. Pie ------------------------------------------------------------------ */
.footer { background: var(--soft); border-top: 1px solid var(--line); padding: clamp(46px, 5vw, 70px) 0 30px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
.footer__claim {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.02em; line-height: 1.08;
  margin: 24px 0 0; max-width: 15ch;
}
.footer__claim span { font-style: italic; color: var(--gold-dark); }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.footer h4 {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dark);
  margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-dark); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between;
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.footer__bottom p { margin: 0; }

/* 16. Barra móvil ---------------------------------------------------------- */
.mobar { display: none; }

/* 17. Páginas legales y gracias -------------------------------------------- */
.legal { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 90px); }
.legal__inner { max-width: 74ch; }
.legal h1 { font-size: clamp(38px, 5vw, 62px); margin-bottom: 18px; }
.legal h2 { font-size: clamp(22px, 2.1vw, 28px); margin: 42px 0 12px; padding-top: 20px; border-top: 1px solid var(--night); }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal__meta { font-size: 13.5px; color: var(--muted); margin-bottom: 30px; }
.legal__box { background: var(--white); border: 1px solid var(--night); padding: 22px 24px; margin: 26px 0; }
.legal__box p { margin-bottom: .6em; font-size: 15px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--ink); }

.thanks { text-align: center; padding: clamp(60px, 10vw, 130px) 0; }
.thanks__inner { max-width: 56ch; margin-inline: auto; }
.thanks .eyebrow { justify-content: center; }
.thanks h1 { margin-bottom: 20px; }
.thanks .btn-row { justify-content: center; margin-top: 34px; }

/* 18. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .picker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: 1fr; gap: 54px; }
  .collage { margin-right: 8px; }
  .head-row { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .trust-grid, .contact-grid, .faq-grid, .footer__top { grid-template-columns: 1fr; }
  .trust-grid .photo--team { position: static; }
  .svc__item { grid-template-columns: 52px minmax(0, 1fr); }
  .svc__tags { grid-column: 2; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 16px; }
  .header__inner { min-height: 68px; gap: 14px; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--night);
    border-bottom: 1px solid var(--line-dark);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px var(--gutter) 22px;
    display: none;
    font-size: 17px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .burger { display: grid; margin-left: auto; }
  .header .btn { display: none; }
  .brand__tag { display: none; }

  .steps { grid-template-columns: 1fr; }
  .fees { grid-template-columns: 1fr; }
  .fee { border-right: 0; }
  .fee:nth-last-child(2) { border-bottom: 1px solid var(--night); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .stamp { width: 100px; height: 100px; right: -6px; bottom: -20px; }
  .stamp--team { right: 10px; bottom: -14px; }
  .collage { padding-bottom: 0; }
  .collage__note { position: static; margin-top: 24px; transform: none; max-width: none; }

  .mobar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--night); border-top: 1px solid var(--line-dark);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  }
  .mobar .btn { padding: 14px 10px; font-size: 14px; box-shadow: none; }
  .mobar .btn--ghost { color: var(--paper); border-color: #6b675c; }
  .mobar .btn--ghost:hover { background: var(--paper); color: var(--night); }
  body { padding-bottom: 78px; }
}

@media (max-width: 560px) {
  .picker__grid { grid-template-columns: 1fr; }
  .pick { min-height: 0; gap: 18px; }
  .btn-row .btn { width: 100%; }
  .card-id { box-shadow: 7px 7px 0 var(--gold-wash); }
  .form { box-shadow: 7px 7px 0 var(--gold); }
  .footer__cols { grid-template-columns: 1fr; }
  .header__inner { gap: 10px; }
  .brand { gap: 9px; }
  .brand__mark { width: 36px; height: 40px; font-size: 25px; }
  .brand__mark span { font-size: 20px; }
  .brand__name { font-size: 16px; letter-spacing: 0.13em; }
  .langpick summary { padding: 7px 9px; gap: 6px; font-size: 12px; }
  .langpick summary::after { display: none; }
  .langpick summary span { max-width: 11ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .channel { grid-template-columns: 40px minmax(0, 1fr); }
  .channel__go { display: none; }
  .channel__v { font-size: 19px; }
}

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

/* ==========================================================================
   19. Páginas de servicio
   20. Hablamos tu idioma
   21. Escritura de derecha a izquierda
   ========================================================================== */
.svc-hero { background: var(--night); color: var(--paper); padding: clamp(28px, 4vw, 44px) 0 clamp(52px, 6vw, 82px); }
.svc-hero .crumbs { color: #a9a49a; margin-bottom: 30px; }
.svc-hero .crumbs a { color: #ddd9cf; text-decoration: underline; text-underline-offset: 4px; }
.svc-hero .eyebrow { color: var(--gold); }
.svc-hero h1 { color: var(--white); font-size: clamp(38px, 5.2vw, 68px); margin-bottom: 22px; }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.svc-hero__lede { font-size: clamp(16.5px, 1.5vw, 19px); color: #c3bfb5; line-height: 1.75; }
.svc-hero .btn-row { margin-top: 30px; }

.svc-card {
  border: 1px solid #4a463c; background: #1b1c19;
  padding: clamp(22px, 2.6vw, 30px);
}
.svc-card h2 { font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.svc-card ul { list-style: none; margin: 0; padding: 0; }
.svc-card li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; padding: 10px 0; border-top: 1px solid #3a372f; color: #d6d2c7; }
.svc-card li:first-child { border-top: 0; padding-top: 0; }
.svc-card li b { color: var(--white); font-weight: 600; }
.svc-card svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 3px; }

.svc-body { padding: clamp(56px, 7vw, 92px) 0; }
.svc-body__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(27px, 2.9vw, 36px); letter-spacing: -0.02em; line-height: 1.12; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 16px; color: var(--ink-soft); line-height: 1.75; }
.prose > p { margin-bottom: 1em; }

.ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ticks svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--gold-dark); }
.ticks li:last-child { border-bottom: 0; }

.aside-box { background: var(--soft); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 28px); position: sticky; top: 108px; }
.aside-box h2 { font-family: var(--text); font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.aside-box p { font-size: 14.5px; color: var(--ink-soft); }
.aside-box .btn { width: 100%; margin-top: 18px; }
.aside-box__rule { height: 1px; background: var(--line); margin: 22px 0; }

.warnbox { border-left: 3px solid var(--gold-dark); background: var(--white); padding: 20px 22px; margin: 30px 0; }
.warnbox p { font-size: 14.5px; margin: 0; color: var(--ink-soft); }
.warnbox b { color: var(--ink); }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.related a {
  display: block; text-decoration: none;
  border: 1px solid var(--line); background: var(--white);
  padding: 20px; transition: transform .18s ease, border-color .18s ease;
}
.related a:hover { transform: translate(-3px, -3px); border-color: var(--night); }
.related strong { display: block; font-size: 16px; font-weight: 650; letter-spacing: -0.015em; }
.related span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }

.svc-link { text-decoration: none; display: contents; }
.svc__item--link { cursor: pointer; transition: background .18s ease; }
.svc__item--link:hover { background: #1b1c19; }
.svc__more { font-size: 13.5px; font-weight: 600; color: var(--gold); margin-top: 12px; display: inline-block; }

@media (max-width: 1080px) {
  .svc-hero__grid, .svc-body__grid { grid-template-columns: 1fr; }
  .aside-box { position: static; }
  .related { grid-template-columns: 1fr; }
}

/* ==========================================================================
   20. Hablamos tu idioma
   21. Escritura de derecha a izquierda
   ========================================================================== */
.langs {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
}
.lang-chip {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  min-height: 68px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.lang-chip:hover, .lang-chip:focus-visible {
  transform: translate(-3px, -3px);
  background: var(--night); color: var(--paper); border-color: var(--night);
}
.lang-chip:hover .lang-chip__alt { color: var(--gold); }
.lang-chip__name {
  font-family: var(--text); font-weight: 650;
  font-size: 20px; line-height: 1.25; letter-spacing: -0.015em;
}
/* Escrituras que la fuente del sistema dibuja más pequeñas de la cuenta. */
.lang-chip__name[lang="ar"], .lang-chip__name[lang="ur"],
.lang-chip__name[lang="bn"], .lang-chip__name[lang="ka"] { font-size: 22px; }
.lang-chip__alt {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-dark);
}
.langs__note {
  margin-top: 26px; max-width: 70ch;
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.langs__note b { color: var(--ink); }

/* Selector de idioma de la cabecera */
.langpick { position: relative; flex: none; }
.langpick summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border: 1px solid #55524a; color: #cfcabd;
  font-size: 13px; font-weight: 600;
}
.langpick summary::-webkit-details-marker { display: none; }
.langpick summary::after { content: "⌄"; color: var(--gold); line-height: 1; }
.langpick summary svg { width: 16px; height: 16px; flex: none; }
.langpick summary:hover { color: var(--gold); border-color: var(--gold-dark); }
.langpick[open] summary { background: var(--gold); color: var(--night); border-color: var(--gold); }
.langpick[open] summary::after { color: var(--night); }
.langpick__list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(2, minmax(118px, 1fr)); gap: 2px;
  background: var(--white); border: 1px solid var(--night);
  padding: 8px; box-shadow: 8px 8px 0 rgba(0,0,0,.25);
}
.langpick__list a {
  display: flex; align-items: center; min-height: 38px;
  padding: 8px 12px; text-decoration: none; font-size: 15px; line-height: 1.25;
  color: var(--ink); white-space: nowrap; text-align: start;
}
/* Escrituras que la fuente del sistema dibuja más pequeñas de la cuenta. */
.langpick__list a[lang="bn"], .langpick__list a[lang="ka"],
.langpick__list a[lang="ar"], .langpick__list a[lang="ur"] { font-size: 16.5px; }
.langpick__list a:hover { background: var(--soft); }
.langpick__list a[aria-current] { background: var(--night); color: var(--paper); }

.lang-chip--on { background: var(--night); border-color: var(--night); }
.lang-chip--on .lang-chip__name { color: var(--paper); }

.form__note--lang {
  border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px;
  color: var(--gold-dark); font-weight: 500;
}

/* Insignia de idiomas en el hero */
.lang-teaser {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 9px 14px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 13px; text-decoration: none;
}
.lang-teaser b { font-weight: 650; }
.lang-teaser span { color: var(--muted); }
.lang-teaser:hover { border-color: var(--night); }
.lang-teaser svg { width: 16px; height: 16px; color: var(--gold-dark); flex: none; }

@media (max-width: 560px) {
  .langs { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .lang-chip { min-height: 72px; padding: 13px 14px; }
  .lang-chip__name { font-size: 18px; }
}

/* ==========================================================================
   21. Escritura de derecha a izquierda (árabe, urdu)
   ========================================================================== */
[dir="rtl"] { font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .collage__title, [dir="rtl"] .footer__claim,
[dir="rtl"] .form h3 {
  font-family: inherit; font-weight: 600; letter-spacing: 0; line-height: 1.45;
}
[dir="rtl"] h1 { font-size: clamp(34px, 5vw, 62px); }
[dir="rtl"] h2 { font-size: clamp(28px, 3.6vw, 44px); }
[dir="rtl"] .hero h1 em { font-style: normal; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 13px; }
[dir="rtl"] .eyebrow::before { display: none; }
[dir="rtl"] .brand__name, [dir="rtl"] .brand__mark { direction: ltr; }
[dir="rtl"] .brand__name { letter-spacing: 0.16em; }
[dir="rtl"] .brand__tag { letter-spacing: 0; text-transform: none; font-size: 11px; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .langpick__list { right: auto; left: 0; }
[dir="rtl"] .pick, [dir="rtl"] .svc-card li { text-align: right; }
[dir="rtl"] .pick__go, [dir="rtl"] .channel__go { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .form__feedback { border-left: 0; border-right: 3px solid var(--gold-dark); }
[dir="rtl"] .faq__a { padding: 0 0 22px 44px; }
[dir="rtl"] .collage__doc--main { transform: rotate(1.4deg); box-shadow: -12px 14px 0 var(--gold-wash); }
[dir="rtl"] .collage__note { left: auto; right: -22px; transform: rotate(-2deg); box-shadow: -4px 4px 0 var(--night); }
[dir="rtl"] .stamp { right: auto; left: -14px; }
[dir="rtl"] .stamp--team { right: auto; left: -14px; }
@media (max-width: 860px) {
  [dir="rtl"] .stamp { left: -6px; }
  [dir="rtl"] .stamp--team { left: 10px; }
}
[dir="rtl"] .lang-chip__name { text-align: right; }
[dir="rtl"] .check input, [dir="rtl"] .trust svg, [dir="rtl"] .ticks svg { margin-left: 0; }
[dir="rtl"] .field label small { direction: rtl; }
[dir="rtl"] .channel__v, [dir="rtl"] .price-value { direction: ltr; text-align: right; unicode-bidi: isolate; }

/* ==========================================================================
   22. Saludo en los idiomas con traducción propia
   ========================================================================== */
.hello {
  background: var(--gold-wash);
  border-bottom: 1px solid #ddcfae;
  padding: 14px 0;
}
.hello .wrap { display: flex; align-items: flex-start; gap: 14px; }
.hello svg { width: 22px; height: 22px; color: var(--gold-dark); flex: none; margin-top: 1px; }
.hello p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #4d3a16; max-width: 92ch; }
.hello b { color: var(--ink); font-weight: 650; }
