/* ==========================================================================
   Enviar paquete a Polonia · hoja de estilo propia
   Paleta «Pizarra y mandarina» · Newsreader (títulos, menú, cifras)
   y Public Sans (texto) · maqueta de tarjetas suaves
   Los ajustes @media van todos al final del fichero.
   ========================================================================== */

:root {
  /* Paleta */
  --fondo: #1E242B;
  --fondo-hondo: #171C22;
  --superficie: #28303A;
  --superficie-alta: #303946;
  --texto: #F2F2F0;
  --texto-suave: #C9CED4;
  --texto-tenue: #A9B1BB;
  --primario: #FF8A3D;
  --primario-vivo: #FFA263;
  /* La mandarina es el único acento: cifras, capitales y enlaces van en crema con detalle mandarina */
  --acento: #F7EBDF;
  --acento-vivo: #FFFFFF;

  /* Papel claro (franjas de contraste) */
  --papel: #F2F2F0;
  --papel-tarjeta: #FFFFFF;
  --papel-tinte: #FFF1E6;
  --tinta: #1E242B;
  --tinta-suave: #4A5260;
  --primario-tinta: #A3420B;
  --acento-tinta: #8E3907;
  --pizarra-tinte: #E6E9ED;

  /* Filetes, radios y sombras */
  --filete: rgba(242, 242, 240, .12);
  --filete-fuerte: rgba(242, 242, 240, .2);
  --filete-papel: rgba(30, 36, 43, .1);
  --radio: 16px;
  --radio-grande: 26px;
  --sombra: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 18px 40px -24px rgba(0, 0, 0, .6);
  --sombra-alta: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 44px 90px -36px rgba(0, 0, 0, .75), 0 14px 28px -16px rgba(0, 0, 0, .45);
  --sombra-papel: 0 1px 2px rgba(30, 36, 43, .06), 0 22px 44px -28px rgba(30, 36, 43, .35);

  /* Medidas */
  --margen: clamp(1rem, 4vw, 2.5rem);
  --ancho: 72rem;
  --lectura: 44rem;

  /* Tipografías */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Iconos de flecha (dibujados aquí, sin ficheros externos) */
  --flecha-mandarina: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%23FF8A3D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --flecha-pizarra: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%231E242B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  min-width: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: balance;
}

h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.2; }

p { margin: 0 0 1em; overflow-wrap: break-word; }
strong { font-weight: 600; color: inherit; }

a {
  color: var(--acento);
  text-decoration-line: underline;
  text-decoration-color: var(--primario);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color .18s ease, text-decoration-color .18s ease;
}
a:hover { color: var(--primario-vivo); }

:focus-visible {
  outline: 2px solid var(--primario);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--primario); color: var(--tinta); }

.visualmente-oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.salto {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: var(--primario);
  color: var(--tinta);
  font-weight: 600;
  text-decoration: none;
}
.salto:focus { top: 1rem; color: var(--tinta); }

.contenedor {
  width: min(var(--ancho), 100% - 2 * var(--margen));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.boton,
.w-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3rem;
  padding: .75rem 1.35rem .75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--primario);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 26px -14px rgba(255, 138, 61, .75);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.boton::after,
.w-cta::after {
  content: "";
  flex: none;
  width: 1rem; height: 1rem;
  background: var(--flecha-pizarra) center / contain no-repeat;
  transition: transform .2s ease;
}
.boton:hover,
.w-cta:hover {
  background: var(--primario-vivo);
  color: var(--tinta);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(255, 138, 61, .85);
}
.boton:hover::after,
.w-cta:hover::after { transform: translateX(3px); }

/* Botón secundario fantasma: borde claro, fondo transparente (no compite con el mandarina) */
.boton--claro {
  background: transparent;
  border-color: rgba(242, 242, 240, .38);
  color: var(--texto);
  box-shadow: none;
}
.boton--claro:hover {
  background: rgba(242, 242, 240, .07);
  border-color: var(--texto);
  color: var(--texto);
  box-shadow: none;
}

.boton--tel::after { display: none; }
.boton--tel::before {
  content: "";
  flex: none;
  width: 1.05rem; height: 1.05rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 3.5h2.6l1.5 4-2 1.3a11 11 0 0 0 6.5 6.5l1.3-2 4 1.5v2.6a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z' fill='none' stroke='%23FF8A3D' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.w-cta-linea { margin: 2rem 0; }

/* Acción del héroe (hueco COTIZADOR + teléfono fijo). Con botón: los dos juntos bajo la entradilla, del mismo
   tamaño que en la portada. Con cotizador: el teléfono centrado encima y la tarjeta elevada asomando bajo el héroe */
.accion {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  min-width: 0;
  margin: 1.75rem 0 0;
}
.accion > .w-cta-linea { display: contents; }
.accion .w-cta { min-height: 3rem; font-size: 1rem; }
.accion__tel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .85rem;
  margin: 0;
  color: var(--texto-suave);
  font-size: .9375rem;
  line-height: 1.3;
}
.accion:has(> .w-cotizador) { flex-direction: column; align-items: stretch; }
.accion:has(> .w-cotizador) .accion__tel { order: -1; justify-content: center; }
.accion > .w-cotizador { width: 100%; max-width: 760px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Cabecera y menú
   -------------------------------------------------------------------------- */

.cab {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 36, 43, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--filete);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.cab--scroll {
  background: rgba(30, 36, 43, .97);
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, .8);
}

.cab__in {
  width: min(var(--ancho), 100% - 2 * var(--margen));
  margin-inline: auto;
  min-height: 4.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .5rem 0;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.marca:hover { color: var(--texto); }
.marca svg {
  flex: none;
  width: 2.125rem;
  height: 2.125rem;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.marca:hover svg { transform: rotate(-8deg) scale(1.04); }
.marca em { font-style: italic; font-weight: 500; color: var(--primario); }

.cab__boton {
  display: none;
  position: relative;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--filete-fuerte);
  border-radius: 12px;
  background: var(--superficie);
  color: var(--texto);
  cursor: pointer;
}
.cab__raya,
.cab__raya::before,
.cab__raya::after {
  position: absolute;
  left: 50%;
  width: 1.15rem;
  height: 2px;
  margin-left: -.575rem;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.cab__raya { top: 50%; margin-top: -1px; }
.cab__raya::before,
.cab__raya::after { content: ""; left: 0; margin-left: 0; }
.cab__raya::before { transform: translateY(-6px); }
.cab__raya::after { transform: translateY(6px); }
.cab--abierta .cab__raya { background: transparent; }
.cab--abierta .cab__raya::before { transform: rotate(45deg); background: var(--primario); }
.cab--abierta .cab__raya::after { transform: rotate(-45deg); background: var(--primario); }

.menu { margin-left: auto; }
.menu__lista {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__lista a:not(.boton) {
  position: relative;
  display: block;
  padding: .5rem .8rem;
  border-radius: 999px;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.menu__lista a:not(.boton):hover { background: var(--superficie); color: var(--texto); }
.menu__lista a[aria-current]:not(.boton) { color: var(--primario); }
.menu__lista a[aria-current]:not(.boton)::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primario);
}
.menu__cta { margin-left: .5rem; }
.boton--menu {
  min-height: 2.6rem;
  padding: .55rem 1.05rem .55rem 1.2rem;
  font-family: var(--serif);
  font-size: 1.0625rem;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Héroe (portada e interiores)
   -------------------------------------------------------------------------- */

.heroe {
  position: relative;
  isolation: isolate;
  /* Solo se recorta en horizontal (mapa a sangre); en vertical el cotizador asoma bajo el héroe */
  overflow-x: clip;
  padding: clamp(1.75rem, 4.5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.75rem);
  border-bottom: 1px solid var(--filete);
}
.heroe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(242, 242, 240, .085) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.heroe::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 70% at 88% 0%, rgba(255, 138, 61, .17), transparent 70%),
    radial-gradient(40% 55% at 0% 100%, rgba(242, 242, 240, .04), transparent 70%);
}

.heroe__in {
  width: min(var(--ancho), 100% - 2 * var(--margen));
  margin-inline: auto;
}

.heroe__rejilla {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.heroe__texto { min-width: 0; }
.heroe__datos { min-width: 0; }
.heroe__datos:empty,
.heroe__datos:not(:has(*)) { display: none; }

.heroe h1 {
  max-width: 15em;
  margin: .3em 0 .45em;
  font-size: clamp(2.25rem, 1.35rem + 3.7vw, 4.25rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.028em;
}

.heroe__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.75rem 0 0;
}

/* Interiores: una sola columna en móvil (texto, acción con botón, ficha y foto, cotizador); en escritorio,
   la rejilla de dos columnas de cada tipo de página va al final, en su @media */
.pagina .heroe__rejilla { gap: 0; }
.pagina .heroe__texto { order: 1; }
.pagina .accion { order: 2; }
.pagina .heroe__lateral {
  order: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  margin-top: 2rem;
}
.pagina .accion:has(> .w-cotizador) { order: 4; margin-top: 2.25rem; }
.heroe:has(.accion > .w-cotizador) { border-bottom: 0; }

/* Foto de la página (hueco FOTO) dentro del héroe: en servicio, contacto y voivodato, tarjeta bajo la ficha */
.heroe__foto { position: relative; min-width: 0; margin: 0; }
.heroe__foto:not(:has(img)) { display: none; }
.heroe__foto .w-foto { position: relative; height: 100%; }
.heroe__foto .w-foto img {
  width: 100%;
  max-height: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--sombra-alta);
}
/* Sin pies de banco bajo la foto de la página */
.heroe__foto figcaption { display: none; }

/* Región: sin foto en el héroe; el mapa grande de sus voivodatos manda sobre la pizarra limpia
   (una foto de banco velada detrás no se entendía y competía con el mapa) */
.pag-region .heroe__foto { display: none; }

/* Ciudad: la foto a sangre detrás de todo el héroe, con velo pizarra para que el texto se lea */
.pag-ciudad .heroe__foto {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.pag-ciudad .heroe__foto .w-foto img {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}
.pag-ciudad .heroe__foto::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* Ciudad (móvil): la foto como portada sobre el titular, fundida con la pizarra donde empieza el texto */
.pag-ciudad .heroe { padding-top: clamp(11rem, 48vw, 15rem); }
.pag-ciudad .heroe__foto { bottom: auto; height: clamp(15rem, 66vw, 21rem); }
.pag-ciudad .heroe__foto::after {
  background: linear-gradient(180deg, rgba(30, 36, 43, .15) 0%, rgba(30, 36, 43, .55) 50%, rgba(30, 36, 43, .94) 76%, var(--fondo) 100%);
}

/* Mapa de situación: Polonia con sus 16 voivodatos, solo en ubicaciones (web.js marca la zona) */
.heroe__mapa { display: none; min-width: 0; }
.pag-geo .heroe__mapa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: clamp(.75rem, 2.4vw, 1.25rem);
  background: rgba(23, 28, 34, .92);
  border: 1px solid var(--filete);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra);
}
/* overflow visible: las cápsulas de los rótulos pueden asomar al relleno de la tarjeta, nunca fuera de ella */
.heroe__mapa svg { width: 100%; max-width: 22rem; height: auto; margin-inline: auto; overflow: visible; }
/* Región (móvil): el mapa encabeza la columna, antes de la ficha */
.pag-region .heroe__mapa { order: -1; }

/* Voivodato: el mapa posado en la esquina de la foto, como sello de situación (sin rótulos: el voivodato
   va relleno de mandarina); si la página no trae foto, el mapa ocupa su sitio entero con rótulos */
.pag-division .heroe__foto,
.pag-division .heroe__mapa { grid-row: 2; grid-column: 1; }
.pag-division .heroe__lateral:has(.heroe__foto img) .heroe__mapa {
  z-index: 1;
  align-self: end;
  justify-self: end;
  width: clamp(7.5rem, 30%, 10.5rem);
  margin: .75rem;
  padding: .55rem;
  border-color: var(--filete-fuerte);
  border-radius: var(--radio);
  box-shadow: var(--sombra-alta);
}
.pag-division .heroe__lateral:has(.heroe__foto img) .mapa__rotulos { display: none; }

/* Ciudad: ficha y mapa forman UNA tarjeta (la foto va a sangre detrás del héroe): el mapa de situación cierra
   la ficha bajo un filete, sin tarjeta suelta que se monte sobre los botones */
.pag-ciudad .pagina .heroe__lateral:has(.heroe__foto) {
  grid-template-rows: auto;
  gap: 0;
  align-self: start;
  padding: 0;
  overflow: hidden;
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-top: 2px solid var(--primario);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra-alta);
}
.pag-ciudad .heroe .w-datos {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.pag-ciudad .heroe__mapa {
  padding: 1rem 1.25rem 1.15rem;
  background: rgba(23, 28, 34, .55);
  border: 0;
  border-top: 1px solid var(--filete);
  border-radius: 0;
  box-shadow: none;
}
.pag-ciudad .heroe__mapa svg { max-width: 15rem; }

/* Voivodatos en pizarra; el de la página (o todos los de su macrorregión) en mandarina.
   --zona y --silueta permiten reutilizar estos trazados con <use> en las tarjetas de destinos de la portada */
.mapa__voivodatos path {
  fill: var(--zona, var(--superficie-alta));
  stroke: var(--zona-borde, rgba(242, 242, 240, .2));
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill .3s ease;
}
.mapa__voivodatos .es-aqui,
.mapa__voivodatos .es-dentro { fill: var(--primario); stroke: rgba(30, 36, 43, .55); }
.mapa__voivodatos .es-padre { fill: rgba(255, 138, 61, .78); stroke: rgba(30, 36, 43, .55); }
.mapa__silueta {
  fill: var(--silueta-fondo, none);
  stroke: var(--silueta, rgba(242, 242, 240, .55));
  stroke-width: 1.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.mapa__capitales circle { fill: rgba(242, 242, 240, .55); r: 4px; transition: fill .3s ease; }
.mapa__ciudades circle { fill: transparent; }
/* Marcado: las capitales ajenas quedan como puntos discretos; el marcador del lugar, crema con anillo pizarra
   para que se lea sobre la mandarina (radio visible 9: el rótulo, a 16 o 22 de su punto, queda fuera) */
.heroe__mapa--marcado .mapa__capitales circle:not([class]) { fill: rgba(242, 242, 240, .3); r: 3px; }
.mapa__capitales .es-aqui,
.mapa__capitales .es-dentro,
.mapa__ciudades .es-aqui { fill: var(--texto); stroke: var(--fondo); stroke-width: 4; paint-order: stroke; r: 6px; }
.mapa__capitales .es-padre { fill: var(--fondo); r: 4px; }
.mapa__ciudades .es-dentro,
.mapa__capitales .es-oculto { display: none; }

/* Rótulos de las capitales (color igual que fill, sin trazo); con el mapa marcado, solo los de la zona.
   web.js los deja a 13,5 px reales en Public Sans y les pone detrás una cápsula pizarra con borde mandarina */
.mapa__rotulos text {
  fill: #F2F2F0;
  color: #F2F2F0;
  stroke: none;
  dominant-baseline: central;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
}
.mapa__capsula {
  fill: #1E242B;
  stroke: #FF8A3D;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}
.heroe__mapa--marcado .mapa__rotulos text:not([class]),
.mapa__rotulos .es-oculto { display: none; }

/* Ficha de voivodato y ciudad: el primer dato (capital o lugar) en cifra grande crema, con filete mandarina */
.pag-division .heroe .w-datos__fila:first-child,
.pag-ciudad .heroe .w-datos__fila:first-child { padding: 1.25rem 0 1.1rem; }
.pag-division .heroe .w-datos__fila:first-child dd,
.pag-ciudad .heroe .w-datos__fila:first-child dd {
  color: var(--texto);
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.pag-division .heroe .w-datos__fila:first-child dd::after,
.pag-ciudad .heroe .w-datos__fila:first-child dd::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: .7rem;
  border-radius: 2px;
  background: var(--primario);
}

/* Región: la ficha baja bajo la entradilla en rejilla de dos celdas por fila (el mapa se queda la derecha);
   si el número de datos es impar, el último ocupa la fila entera: ninguna celda vacía */
.pag-region .heroe .w-datos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
}
.pag-region .heroe .w-datos__fila:nth-child(2) { border-top: 0; }
.pag-region .heroe .w-datos__fila:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pag-region .heroe .w-datos dd { font-size: 1.0625rem; }

/* Servicio: la ficha como tabla de factores numerada (número, concepto y valor en la misma fila) */
.pag-servicio .heroe .w-datos { counter-reset: factor; padding: .35rem 1.5rem .5rem; }
.pag-servicio .heroe .w-datos::before {
  content: "Ficha del servicio";
  padding: 1rem 0 .8rem;
  border-bottom: 1px solid var(--filete-fuerte);
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.2;
}
.pag-servicio .heroe .w-datos__fila {
  counter-increment: factor;
  grid-template-columns: 1.9rem minmax(0, 8rem) minmax(0, 1fr);
  gap: .9rem;
}
.pag-servicio .heroe .w-datos__fila:first-of-type { border-top: 0; }
.pag-servicio .heroe .w-datos__fila::before {
  content: counter(factor, decimal-leading-zero);
  color: var(--primario);
  font-family: var(--serif);
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pag-servicio .heroe .w-datos dd { font-size: 1.0625rem; }

/* Precios: la ficha abre con un bloque visual de lo que mueve el precio (peso, medidas, origen, destino
   y plazo suman un precio cerrado), dibujado aquí con su etiqueta bajo cada icono; sustituye al rótulo
   genérico de la ficha de servicio */
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos::before {
  content: "";
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 336 / 86;
  margin: 1.25rem 0 .35rem;
  padding: .8rem 1rem .7rem;
  border: 0;
  border-radius: var(--radio);
  background: rgba(255, 138, 61, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 336 64' fill='none' stroke='%23FF8A3D' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg fill='%23F2F2F0' stroke='none' font-family='Public Sans,Arial,sans-serif' font-size='11.5' font-weight='600' text-anchor='middle'%3E%3Ctext x='20' y='60'%3EPeso%3C/text%3E%3Ctext x='76' y='60'%3EMedidas%3C/text%3E%3Ctext x='132' y='60'%3EOrigen%3C/text%3E%3Ctext x='188' y='60'%3EDestino%3C/text%3E%3Ctext x='244' y='60'%3EPlazo%3C/text%3E%3Ctext x='308' y='60' fill='%23FFA263'%3EPrecio%3C/text%3E%3C/g%3E%3Cg fill='%23FF8A3D' fill-opacity='.14' stroke='none'%3E%3Crect x='0' y='2' width='40' height='40' rx='11'/%3E%3Crect x='56' y='2' width='40' height='40' rx='11'/%3E%3Crect x='112' y='2' width='40' height='40' rx='11'/%3E%3Crect x='168' y='2' width='40' height='40' rx='11'/%3E%3Crect x='224' y='2' width='40' height='40' rx='11'/%3E%3C/g%3E%3Crect x='288' y='2' width='40' height='40' rx='11' fill='%23FF8A3D' stroke='none'/%3E%3Cpath d='M46 22h4M48 20v4M102 22h4M104 20v4M158 22h4M160 20v4M214 22h4M216 20v4M272 19h8M272 25h8' stroke='%23C9CED4'/%3E%3Cpath d='M13 31h14l-2.5-11h-9zM17 20a3 3 0 0 1 6 0'/%3E%3Cpath d='M76 12.5l8.5 4.8v9.4L76 31.5l-8.5-4.8v-9.4zM67.5 17.3 76 22l8.5-4.7M76 22v9.5'/%3E%3Cpath d='M132 31.5s-6.5-5.4-6.5-10.8a6.5 6.5 0 0 1 13 0c0 5.4-6.5 10.8-6.5 10.8z'/%3E%3Ccircle cx='132' cy='20.7' r='2.2'/%3E%3Cpath d='M182.5 32V12.5M182.5 13.5h11l-2.5 4 2.5 4h-11'/%3E%3Ccircle cx='244' cy='22' r='8.5'/%3E%3Cpath d='M244 17v5.2l3.6 2.2'/%3E%3Cpath d='M302 21h12v10h-12zM305 21v-3a3 3 0 0 1 6 0v3' stroke='%231E242B'/%3E%3C/svg%3E") center / contain no-repeat content-box padding-box;
}
/* Precios: sin foto; bajo el desglose, el resultado (precio cerrado) y lo que lo mueve a todo el ancho y el resto
   de datos en tres celdas; etiquetas en caja normal, sin numerar: no es la ficha de las demás páginas */
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe__foto { display: none; }
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe__lateral:has(.heroe__foto) { grid-template-rows: auto; align-self: start; }
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.25rem;
  padding: .35rem 1.5rem .75rem;
}
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos__fila {
  grid-template-columns: minmax(0, 1fr);
  gap: .25rem;
  padding: .85rem 0;
  border-top: 1px solid var(--filete);
}
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos__fila:nth-of-type(-n+2) { grid-column: 1 / -1; }
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos__fila::before { display: none; }
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos dt {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
}
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos__fila:first-of-type dd {
  color: var(--primario);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1.1;
}
html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos__fila:nth-of-type(n+3) dd { font-size: 1rem; }

/* Contacto: canales y horario en bloques grandes (sin foto ni ficha de filas): el teléfono a todo el ancho y
   en grande, y debajo horario, pago y quién presta el servicio, cada uno en su bloque con su icono de línea */
.pag-contacto .heroe__foto { display: none; }
.pag-contacto .pagina .heroe__lateral:has(.heroe__foto) { grid-template-rows: auto; align-self: start; }
.pag-contacto .heroe .w-datos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.pag-contacto .heroe .w-datos__fila {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: .35rem;
  padding: 1.1rem 1.15rem 1.2rem;
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.pag-contacto .heroe .w-datos__fila::before {
  content: "";
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: .45rem;
  border-radius: 12px;
  background: var(--icono-contacto) center / 1.3rem no-repeat, rgba(255, 138, 61, .14);
}
.pag-contacto .heroe .w-datos__fila:nth-child(1) { --icono-contacto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 3.5h2.6l1.5 4-2 1.3a11 11 0 0 0 6.5 6.5l1.3-2 4 1.5v2.6a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z' fill='none' stroke='%23FF8A3D' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pag-contacto .heroe .w-datos__fila:nth-child(2) { --icono-contacto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A3D' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.pag-contacto .heroe .w-datos__fila:nth-child(3) { --icono-contacto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A3D' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18M7 14.5h4'/%3E%3C/svg%3E"); }
.pag-contacto .heroe .w-datos__fila:nth-child(n+4) { --icono-contacto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A3D' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20.5h16M6 20.5V8l6-4 6 4v12.5M10 20.5v-5h4v5M9.5 10.5h5'/%3E%3C/svg%3E"); }
.pag-contacto .heroe .w-datos__fila:first-child {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  border-top: 2px solid var(--primario);
}
.pag-contacto .heroe .w-datos__fila:first-child::before { grid-row: 1 / span 2; width: 3.25rem; height: 3.25rem; margin: 0; background-size: 1.6rem, auto; }
.pag-contacto .heroe .w-datos__fila:first-child dd {
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
/* Impar: el último bloque ocupa la fila entera, sin celda vacía */
.pag-contacto .heroe .w-datos__fila:last-child:nth-child(even) { grid-column: 1 / -1; }
.pag-contacto .heroe .w-datos dt {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
}
.pag-contacto .heroe .w-datos dd { font-size: 1.1875rem; }

/* Contacto: el número grande solo en su bloque; ni rótulo «¿Prefieres hablarlo?» ni botón de teléfono repetidos,
   y el cuerpo sube para que «Teléfono y horario» no quede lejos del héroe */
.pag-contacto .accion__tel,
.pag-contacto .remate__acciones .boton--tel { display: none; }
.pag-contacto .cuerpo { margin-top: clamp(2.25rem, 5vw, 3.5rem); }

/* --------------------------------------------------------------------------
   Migas, antetítulo y entradilla
   -------------------------------------------------------------------------- */

.w-migas { margin: 0 0 1.5rem; }
.w-migas ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--texto-tenue);
}
.w-migas li { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.w-migas li + li::before {
  content: "";
  flex: none;
  width: .4rem;
  height: .4rem;
  border-top: 1.5px solid var(--texto-tenue);
  border-right: 1.5px solid var(--texto-tenue);
  transform: rotate(45deg);
  opacity: .8;
}
.w-migas a {
  color: var(--texto-suave);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.w-migas a:hover { color: var(--texto); border-bottom-color: var(--primario); }
.w-migas [aria-current] { color: var(--texto); font-weight: 500; }

.w-antetitulo {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .5rem;
  color: var(--primario);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .14em;
  text-transform: uppercase;
  /* Antetítulos largos: líneas equilibradas, nunca una palabra huérfana */
  text-wrap: balance;
}
.w-antetitulo::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primario);
}

.w-entradilla {
  --entradilla-tam: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  max-width: 58ch;
}
.w-entradilla p {
  margin: 0 0 .75em;
  color: #DADEE3;
  font-size: var(--entradilla-tam);
  line-height: 1.55;
  text-wrap: pretty;
}
.w-entradilla p:last-child { margin-bottom: 0; }

/* Entradilla siempre entera, sin recortes: el primer párrafo es la entradilla (frase cerrada);
   los siguientes bajan a cuerpo de texto con un filete, como arranque de la lectura */
.w-entradilla p + p {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--filete);
  color: var(--texto-suave);
  font-size: 1rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Ficha de datos
   -------------------------------------------------------------------------- */

.w-datos {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: .5rem 1.5rem;
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra);
}
/* Etiqueta encima y valor a todo el ancho de la ficha: el valor no se parte en columnas estrechas */
.w-datos__fila {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .3rem;
  align-items: baseline;
  padding: .85rem 0;
  border-top: 1px solid var(--filete);
}
.w-datos__fila:first-child { border-top: 0; }
.w-datos dt {
  color: var(--texto-tenue);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.w-datos dd {
  margin: 0;
  min-width: 0;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Ficha de cifras de la portada: tres datos con el mismo formato (palabras, mismo cuerpo) en una fila fija de 3 columnas */
.w-datos--cifras {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  overflow: hidden;
  background: var(--filete);
}
.w-datos--cifras .w-datos__fila {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: .5rem;
  padding: 1.35rem 1.4rem 1.3rem;
  border: 0;
  background: var(--superficie);
}
.w-datos--cifras dd {
  color: var(--acento);
  font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  font-variant-numeric: lining-nums;
}
.w-datos--cifras dd small {
  margin-left: .15em;
  font-size: .5em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--primario);
}
/* Detalle mandarina bajo cada cifra crema */
.w-datos--cifras dd::after {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  margin-top: .55rem;
  border-radius: 2px;
  background: var(--primario);
}
.w-datos__nota {
  margin: .9rem .25rem 0;
  color: var(--texto-tenue);
  font-size: .875rem;
  line-height: 1.5;
}

/* Portada: foto de camión y ficha de cifras forman UNA tarjeta (foto arriba, cifras debajo a todo su ancho,
   el filete mandarina como junta): sin solape ni esquinas que asomen */
.heroe--portada .heroe__datos {
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra-alta);
}
.heroe__foto-portada { margin: 0; }
.heroe__foto-portada img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radio-grande) var(--radio-grande) 0 0;
}
.heroe__foto-portada + .w-datos--cifras {
  width: 100%;
  margin: 0;
  border-radius: 0 0 var(--radio-grande) var(--radio-grande);
  box-shadow: none;
}

/* Nota de la portada, en la columna del texto bajo los botones */
.heroe__nota {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  max-width: 34rem;
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--filete);
  color: var(--texto-suave);
  font-size: .9375rem;
  line-height: 1.5;
}
.heroe__nota::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23FF8A3D' stroke-width='1.6'/%3E%3Cpath d='m8.2 12.3 2.6 2.5 5-5.4' fill='none' stroke='%23FF8A3D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Cotizador (contenedor; nunca se toca el formulario)
   -------------------------------------------------------------------------- */

/* Sin marco exterior: la caja blanca del formulario es la tarjeta elevada; detrás, solo un halo mandarina difuso
   que no ocupa ancho (el contenedor mide lo que el widget, 760 px como mucho) */
.w-cotizador {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: min(760px, 100% - 2 * var(--margen));
  margin: 2.5rem auto 0;
  padding: 0;
}
.w-cotizador::before {
  content: "";
  position: absolute;
  inset: 8% 4% -3%;
  z-index: -1;
  border-radius: 48px;
  background: radial-gradient(60% 60% at 50% 45%, rgba(255, 138, 61, .2), transparent 72%);
  filter: blur(26px);
  pointer-events: none;
}
.heroe + .w-cotizador { margin-top: 1.5rem; }

/* Portada: cotizador y sellos en una misma rejilla alineada con la marca y el H1 */
.cotizar-rejilla {
  position: relative;
  z-index: 2;
  width: min(var(--ancho), 100% - 2 * var(--margen));
  margin: 1.5rem auto 0;
}
.cotizar-rejilla > .w-cotizador { width: 100%; max-width: 760px; margin: 0 auto; }
.cotizar-rejilla > .sellos { width: 100%; margin-top: 1.5rem; }
.w-cotizador__titulo {
  margin: .35rem 0 1.1rem;
  text-align: center;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
}

/* Sellos bajo el cotizador (portada) */
.sellos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  width: min(var(--ancho), 100% - 2 * var(--margen));
  margin: 2.5rem auto 0;
  padding: 0;
  list-style: none;
}
.sellos li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  min-width: 0;
  padding: 1.35rem 1.25rem 1.4rem;
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  color: var(--texto-suave);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .2s ease, transform .2s ease;
}
.sellos li:hover { border-color: rgba(255, 138, 61, .45); transform: translateY(-2px); }
.sellos svg {
  flex: none;
  width: 3rem;
  height: 3rem;
  padding: .7rem;
  border-radius: 14px;
  background: rgba(255, 138, 61, .14);
  color: var(--primario);
}
.sellos strong {
  display: block;
  margin-bottom: .2rem;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Franjas y cabeceras de sección (portada)
   -------------------------------------------------------------------------- */

.franja { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
/* Un solo papel claro neutro, en tarjeta suave posada sobre la pizarra (no franja a sangre que corte de golpe) */
.franja--papel {
  margin-inline: clamp(.5rem, 2vw, 1.5rem);
  border-radius: clamp(20px, 3vw, 36px);
  background: var(--papel);
  color: var(--tinta);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .7);
}
/* Variante crema del papel (mismo carácter, otro plano) para alternar fondos claros sin repetir el mismo gris */
.franja--tinte { background: var(--papel-tinte); }
.franja--papel + .franja--papel { margin-top: clamp(.75rem, 2vw, 1.25rem); }
.franja--superficie { background: var(--superficie); }
.franja:not(.franja--papel):not(.franja--superficie) + .franja:not(.franja--papel):not(.franja--superficie) { padding-top: 0; }
.franja--tras-sellos { margin-top: clamp(3.5rem, 8vw, 6rem); }

.franja--papel a { color: var(--acento-tinta); }
.franja--papel a:hover { color: var(--tinta); }

/* Titular de sección a escala mayor (cambio de ritmo tipográfico) */
.titulo-grande { font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4rem); line-height: 1.02; letter-spacing: -.03em; }

/* Bloques de texto, oferta y tarjetas sobre papel o crema */
.franja--papel .bloque-dos__texto > p { color: var(--tinta-suave); }
.franja--papel .bloque-dos__texto > p strong { color: var(--tinta); }
.franja--papel .oferta { background: var(--filete-papel); border-color: var(--filete-papel); }
.franja--papel .oferta div { background: var(--papel-tarjeta); }
.franja--papel .oferta dt { color: var(--tinta-suave); }
.franja--papel .oferta dd { color: var(--tinta); }
.franja--papel .foto-suave img { box-shadow: var(--sombra-papel); }

.cabecera-seccion { max-width: var(--lectura); margin-bottom: clamp(2rem, 4vw, 3rem); }
.cabecera-seccion p,
.texto-suave {
  color: var(--texto-suave);
  font-size: 1.125rem;
  line-height: 1.6;
}
.franja--papel .cabecera-seccion p { color: var(--tinta-suave); }

.rotulo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  color: var(--primario);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
}
.rotulo b {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.rotulo::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.franja--papel .rotulo { color: var(--primario-tinta); }

/* Pasos */
.pasos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.paso {
  position: relative;
  padding: 1.75rem 1.6rem 1.9rem;
  background: var(--papel-tarjeta);
  border: 1px solid var(--filete-papel);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra-papel);
  transition: transform .25s ease, box-shadow .25s ease;
}
.paso:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(30, 36, 43, .06), 0 28px 50px -28px rgba(30, 36, 43, .45); }
.paso__cabeza {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.paso__num {
  color: var(--primario-tinta);
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums;
}
.paso__icono {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--papel-tinte);
  color: var(--primario-tinta);
}
.paso__icono svg { width: 1.5rem; height: 1.5rem; }
.paso h3 { margin-bottom: .45em; color: var(--tinta); font-size: 1.375rem; }
.paso p { margin: 0; color: var(--tinta-suave); }
.pasos__pie {
  max-width: var(--lectura);
  margin: 2.25rem 0 0;
  color: var(--tinta-suave);
}

/* Bloque de dos columnas */
.bloque-dos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.bloque-dos__texto { min-width: 0; }
.bloque-dos__texto > p { color: var(--texto-suave); }
.bloque-dos__texto > p strong { color: var(--texto); }

/* Tarjeta suave genérica */
.tarjeta-suave {
  position: relative;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra);
}
.franja--superficie .tarjeta-suave { background: var(--superficie-alta); }
.tarjeta-suave h3 { font-size: 1.375rem; }
.tarjeta-suave p { color: var(--texto-suave); }
.tarjeta-suave > :last-child { margin-bottom: 0; }

/* Listas con marca dibujada */
.marcas {
  display: grid;
  gap: .7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.marcas li {
  position: relative;
  padding-left: 2rem;
  color: var(--texto-suave);
  line-height: 1.5;
}
.marcas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
}
.marcas--si li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.4 2.3 4.6-5' fill='none' stroke='%23F2F2F0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .95rem no-repeat,
    rgba(242, 242, 240, .1);
}
.marcas--no li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5.2 5.2 5.6 5.6m0-5.6-5.6 5.6' fill='none' stroke='%23FF8A3D' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / .95rem no-repeat,
    rgba(255, 138, 61, .13);
}
.marcas--tareas li::before {
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.4 2.3 4.6-5' fill='none' stroke='%23FF8A3D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .95rem no-repeat,
    rgba(255, 138, 61, .13);
}

.tarjeta-suave__cabeza {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .25rem;
}
.tarjeta-suave__cabeza h3 { margin: 0; }

/* Tarjetas plegables de la portada: abiertas en escritorio, cerradas en móvil (web.js) */
.plegable > summary { list-style: none; cursor: pointer; }
.plegable > summary::-webkit-details-marker { display: none; }
.plegable > summary::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: .55rem;
  height: .55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--primario);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.franja--papel .plegable > summary::after { color: var(--primario-tinta); }
.plegable[open] > summary::after { transform: rotate(-135deg); }
.icono-redondo {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: var(--fondo);
  color: var(--primario);
}
.icono-redondo svg { width: 1.4rem; height: 1.4rem; }
.icono-redondo--acento { color: var(--acento); }

.rejilla-mercancia {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.seguro {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: center;
}
.seguro p { margin: 0; }

/* Tarjetas sobre papel claro (sección de mercancía de la portada) */
.franja--papel .tarjeta-suave {
  background: var(--papel-tarjeta);
  border-color: var(--filete-papel);
  box-shadow: var(--sombra-papel);
}
.franja--papel .tarjeta-suave h3 { color: var(--tinta); }
.franja--papel .tarjeta-suave p,
.franja--papel .marcas li { color: var(--tinta-suave); }
.franja--papel .tarjeta-suave strong { color: var(--tinta); }
.franja--papel .icono-redondo { background: var(--papel-tinte); color: var(--primario-tinta); }
.franja--papel .icono-redondo--acento { background: var(--pizarra-tinte); color: var(--tinta); }
.franja--papel .marcas--si li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.4 2.3 4.6-5' fill='none' stroke='%231E242B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .95rem no-repeat,
    var(--pizarra-tinte);
}
.franja--papel .marcas--no li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5.2 5.2 5.6 5.6m0-5.6-5.6 5.6' fill='none' stroke='%23A3420B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / .95rem no-repeat,
    var(--papel-tinte);
}
.franja--papel .marcas--tareas li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.4 2.3 4.6-5' fill='none' stroke='%23A3420B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .95rem no-repeat,
    var(--papel-tinte);
}

/* Tabla sobre papel (sección de pesos de la portada): tarjeta blanca, cabecera pizarra tenue */
.franja--papel .w-tabla { background: var(--papel-tarjeta); border-color: var(--filete-papel); box-shadow: var(--sombra-papel); }
.franja--papel .w-tabla th { background: var(--pizarra-tinte); color: var(--tinta); }
.franja--papel .w-tabla td { border-top-color: var(--filete-papel); color: var(--tinta-suave); }
.franja--papel .w-tabla td:first-child { color: var(--tinta); }
.franja--papel .w-tabla tbody tr:hover { background: rgba(30, 36, 43, .03); }

/* Sección protagonista: tarjeta de foto dentro de la retícula, titular sobre un velo pizarra y la ruta trazada */
.protagonista {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  width: min(var(--ancho) + 4rem, 100% - 2 * clamp(.5rem, 2vw, 1.5rem));
  min-height: clamp(30rem, 72vh, 42rem);
  margin-inline: auto;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 36px);
  background: var(--fondo-hondo);
  box-shadow: var(--sombra-alta);
}
.protagonista__foto {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.protagonista::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(23, 28, 34, .97) 0%, rgba(23, 28, 34, .88) 40%, rgba(23, 28, 34, .25) 78%, rgba(23, 28, 34, 0) 100%),
    linear-gradient(90deg, rgba(23, 28, 34, .75) 0%, rgba(23, 28, 34, 0) 70%);
}
.protagonista__in {
  width: min(var(--ancho), 100% - 2 * clamp(1.25rem, 4vw, 3rem));
  margin-inline: auto;
  padding: clamp(6rem, 14vw, 10rem) 0 clamp(2.75rem, 6vw, 4.5rem);
}
.protagonista__titulo {
  max-width: 13em;
  margin-bottom: .35em;
  color: var(--texto);
  font-size: clamp(2.5rem, 1.3rem + 4.8vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}
.protagonista__titulo em { color: var(--primario); }
.protagonista__texto {
  max-width: 36rem;
  margin: 0;
  color: #DADEE3;
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  line-height: 1.55;
}
/* Ruta: cuatro etapas unidas por un trazo discontinuo, con el destino en mandarina */
.ruta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 48rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.ruta::before {
  content: "";
  position: absolute;
  top: .4rem;
  left: .4rem;
  right: calc(25% - .6rem);
  border-top: 2px dashed rgba(242, 242, 240, .45);
}
.ruta li { position: relative; min-width: 0; padding-top: 1.6rem; }
.ruta li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background: var(--fondo-hondo);
  border: 2px solid var(--acento);
}
.ruta li:last-child::before { background: var(--primario); border-color: var(--primario); box-shadow: 0 0 0 5px rgba(255, 138, 61, .25); }
.ruta b {
  display: block;
  color: var(--texto);
  font-family: var(--serif);
  font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.15;
}
.ruta li:last-child b { color: var(--primario); }
.ruta span {
  display: block;
  margin-top: .3rem;
  color: var(--texto-suave);
  font-size: .9375rem;
  line-height: 1.4;
}

/* Foto de bloque */
.foto-suave { margin: 0; min-width: 0; }
.foto-suave img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra);
}

.foto-suave--alta img { aspect-ratio: 4 / 5; }

/* Servicios de la portada: tarjetas apiladas junto a una foto */
.servicios-lista {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  counter-reset: hija;
}

/* Oferta: qué enseña cada resultado del cotizador */
.oferta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1.75rem 0;
  overflow: hidden;
  background: var(--filete);
  border: 1px solid var(--filete);
  border-radius: var(--radio);
}
.oferta div { padding: 1rem 1.15rem; background: var(--superficie); }
.oferta dt {
  color: var(--texto-tenue);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.oferta dd {
  margin: .25rem 0 0;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Índice de destinos (portada)
   -------------------------------------------------------------------------- */

/* Banda clara: el mapa grande (cada voivodato es su enlace) en tarjeta pizarra y, a su lado, una tarjeta por
   macrorregión con su mini-mapa, en rejilla de dos columnas también en móvil; si el número es impar,
   la última tarjeta ocupa la fila entera */
.destinos-indice {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.destinos-tarjetas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: destino;
}
.destino-tarjeta {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  min-width: 0;
  padding: 1rem 1rem 1.1rem;
  background: var(--papel-tarjeta);
  border: 1px solid var(--filete-papel);
  border-radius: var(--radio);
  box-shadow: var(--sombra-papel);
  counter-increment: destino;
  transition: border-color .2s ease, transform .2s ease;
}
.destino-tarjeta:hover { border-color: rgba(163, 66, 11, .45); transform: translateY(-2px); }
.destino-tarjeta:last-child:nth-child(odd) { grid-column: 1 / -1; }
.destino-tarjeta__cabeza {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--filete-papel);
}
/* Mini-mapa: la silueta de Polonia en gris pizarra y los voivodatos de la macrorregión en mandarina (con <use>) */
.destino-tarjeta__mapa {
  --silueta: rgba(30, 36, 43, .35);
  --silueta-fondo: var(--pizarra-tinte);
  --zona: var(--primario);
  --zona-borde: rgba(30, 36, 43, .35);
  flex: none;
  width: 3.4rem;
  height: auto;
  aspect-ratio: 410 / 392;
}
.destino-tarjeta__mapa use { fill: var(--zona); stroke: var(--zona-borde); stroke-width: 6; }
.destino-tarjeta__mapa .silueta { fill: var(--silueta-fondo); stroke: var(--silueta); stroke-width: 10; }
.destino-tarjeta__titulo {
  margin: 0;
  font-size: clamp(1.5rem, 1.3rem + .7vw, 1.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.destino-tarjeta__titulo::before {
  content: counter(destino, decimal-leading-zero);
  display: block;
  margin-bottom: .2rem;
  color: var(--primario-tinta);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.franja--papel .destino-tarjeta__titulo a { color: var(--tinta); text-decoration: none; }
.franja--papel .destino-tarjeta__titulo a:hover { color: var(--primario-tinta); text-decoration: underline; text-decoration-color: var(--primario); }
.destino-tarjeta__lista {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Un voivodato por fila, separados por filete: enlace con flecha y sus ciudades en una segunda línea */
.destino-tarjeta__lista li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
  padding: .65rem 0 .7rem;
  border-top: 1px solid var(--filete-papel);
}
.destino-tarjeta__lista li:first-child { border-top: 0; padding-top: .15rem; }
.destino-tarjeta__lista li:last-child { padding-bottom: 0; }

/* Mapa grande de Polonia (portada): los 16 voivodatos enlazados, con rótulo */
.mapa-polonia {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  background: var(--fondo-hondo);
  border: 1px solid var(--filete);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra);
}
.mapa-polonia svg { width: 100%; height: auto; overflow: visible; }
/* Cada voivodato es su enlace: se rellena de mandarina al pasar; puntos y rótulos encima, sin capturar el ratón */
.mapa-polonia a { cursor: pointer; }
.mapa-polonia a:focus-visible { outline: none; }
.mapa-polonia a:hover path,
.mapa-polonia a:focus-visible path { fill: var(--primario); stroke: rgba(30, 36, 43, .55); }
.mapa-polonia .mapa__marcas { pointer-events: none; }
.mapa-polonia circle {
  fill: var(--texto);
  stroke: var(--fondo-hondo);
  stroke-width: 3;
  paint-order: stroke;
}
.mapa-polonia text {
  fill: #F2F2F0;
  color: #F2F2F0;
  stroke: var(--fondo-hondo);
  stroke-width: 4px;
  stroke-linejoin: round;
  paint-order: stroke;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}

.mapa-polonia__pie {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: .85rem 0 0;
  color: var(--texto-suave);
  font-size: .9375rem;
  line-height: 1.4;
}
.mapa-polonia__pie::before {
  content: "";
  flex: none;
  width: .85rem;
  height: .85rem;
  border-radius: 4px;
  background: var(--primario);
}

/* Voivodato de cada tarjeta: enlace de 16 px con flecha; sus ciudades debajo, a 15 px */
.destino__voivodato {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  -webkit-hyphens: none;
  hyphens: none;
}
.destino__voivodato::after {
  content: "";
  flex: none;
  width: .95rem;
  height: .95rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%23A3420B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.destino__voivodato:hover::after { transform: translateX(3px); }
.franja--papel .destino__voivodato { color: var(--tinta); text-decoration: none; }
.franja--papel .destino__voivodato:hover { color: var(--primario-tinta); text-decoration: underline; text-decoration-color: var(--primario); }
.destino__ciudades {
  display: block;
  color: var(--tinta-suave);
  font-size: .9375rem;
  line-height: 1.6;
}
.franja--papel .destino__ciudades a { color: var(--acento-tinta); text-decoration: none; }
.franja--papel .destino__ciudades a:hover { text-decoration: underline; }

/* Lista de cada macrorregión en un details: abierto en tableta y escritorio (sin su resumen), plegado en móvil */
.destino-tarjeta__plegable > summary {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 2.75rem;
  color: var(--tinta-suave);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.destino-tarjeta__plegable[open] > summary { margin-bottom: .5rem; }
.franja--papel .destino-tarjeta__plegable > summary::after { color: var(--primario-tinta); }

/* Tarjeta resumen que cierra la rejilla: pizarra sobre el papel, cifra grande y botón al cotizador */
.destino-tarjeta--resumen {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.3rem;
  background: var(--fondo);
  border-color: var(--fondo);
  color: var(--texto);
}
.destino-tarjeta--resumen:hover { border-color: var(--primario); }
.destino-resumen__cifra {
  margin: 0;
  color: var(--texto);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums;
}
.destino-resumen__cifra span {
  display: block;
  margin-top: .45rem;
  padding-top: .5rem;
  border-top: 2px solid var(--primario);
  width: max-content;
  color: var(--primario);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.destino-resumen__texto { margin: 0; color: var(--texto-suave); font-size: .9375rem; line-height: 1.55; }
.franja--papel .destino-tarjeta--resumen .destino-resumen__boton { align-self: flex-start; color: var(--tinta); }

/* Sí viaja / No viaja: dos tarjetas compactas de listas cortas */
.tarjeta-mercancia .marcas { gap: .55rem; margin-top: 1rem; }


/* --------------------------------------------------------------------------
   Páginas interiores: foto, cuerpo y secciones
   -------------------------------------------------------------------------- */

.w-foto { margin: 0; }
.w-foto img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra);
}
.w-foto figcaption {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .85rem;
  color: var(--texto-tenue);
  font-size: .875rem;
  line-height: 1.45;
}
.w-foto figcaption::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1px;
  background: var(--primario);
}

.cuerpo {
  width: min(var(--lectura), 100% - 2 * var(--margen));
  margin: clamp(3rem, 7vw, 5rem) auto;
  counter-reset: seccion;
}
.cuerpo:empty,
.cuerpo:not(:has(*)) { display: none; }

.w-seccion { position: relative; margin: 0; }
.w-seccion > p,
.w-seccion > ul,
.w-seccion > ol { color: var(--texto-suave); }
.w-seccion strong { color: var(--texto); }
.w-seccion h2 { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem); }
.w-seccion h3 { margin-top: 1.75em; }
.w-seccion ul,
.w-seccion ol { margin: 0 0 1.25em; padding-left: 1.35rem; }
.w-seccion li { margin-bottom: .45em; padding-left: .25rem; }
.w-seccion ul li::marker { color: var(--primario); }
.w-seccion ol li::marker { color: var(--primario); font-family: var(--serif); font-weight: 600; }
.w-seccion > :last-child { margin-bottom: 0; }

.cuerpo > .w-seccion {
  counter-increment: seccion;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--filete);
}
.cuerpo > .w-seccion:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cuerpo > .w-seccion::before {
  content: counter(seccion, decimal-leading-zero);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  color: var(--primario);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

/* Servicio: ritmo de tarjetas en el cuerpo. Una sección de cada dos va en tarjeta suave, el primer
   párrafo de cada sección hace de entradilla y los conceptos en negrita llevan marcador mandarina */
.pag-servicio .cuerpo > .w-seccion:nth-child(even) {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra);
}
.pag-servicio .cuerpo > .w-seccion:nth-child(even) + .w-seccion { border-top: 0; }
.pag-servicio .cuerpo > .w-seccion > h2 + p {
  color: var(--texto);
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.1875rem);
  line-height: 1.55;
}
.pag-servicio .w-seccion strong {
  padding: 0 .12em;
  background: linear-gradient(transparent 60%, rgba(255, 138, 61, .3) 0);
}
/* Servicio: los párrafos que siguen a la entradilla de cada sección se leen como apartados (filete mandarina
   a la izquierda) y el que remite a otra página, como destacado con su flecha: nada de bloques seguidos */
.pag-servicio .cuerpo > .w-seccion > p + p {
  padding-left: 1.1rem;
  border-left: 2px solid rgba(255, 138, 61, .55);
}
.pag-servicio .cuerpo > .w-seccion > p + p:has(a):last-child {
  position: relative;
  padding: 1rem 1.15rem 1.05rem 3.1rem;
  border: 0;
  border-radius: var(--radio);
  background: rgba(255, 138, 61, .1);
  color: var(--texto);
}
.pag-servicio .cuerpo > .w-seccion > p + p:has(a):last-child::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--flecha-mandarina) center / contain no-repeat;
}
.pag-servicio .cuerpo > .w-seccion:nth-child(even) > p + p:has(a):last-child { background: rgba(255, 138, 61, .12); }

/* --------------------------------------------------------------------------
   Tabla de valores
   -------------------------------------------------------------------------- */

.w-tabla {
  max-width: 100%;
  margin: 1.75rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.w-tabla table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9688rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.w-tabla th {
  padding: .9rem 1.15rem;
  background: var(--superficie-alta);
  color: var(--texto);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: bottom;
}
.w-tabla td {
  padding: .9rem 1.15rem;
  border-top: 1px solid var(--filete);
  color: var(--texto-suave);
  vertical-align: top;
}
.w-tabla td:first-child { color: var(--texto); font-weight: 600; }
.w-tabla tbody tr { transition: background-color .15s ease; }
.w-tabla tbody tr:hover { background: rgba(242, 242, 240, .03); }

/* --------------------------------------------------------------------------
   Preguntas frecuentes
   -------------------------------------------------------------------------- */

.w-faq { margin: 0; }
.cuerpo > .w-faq { margin-top: 3.5rem; }
.w-faq > h2 { margin-bottom: .9em; }
.w-faq__item {
  margin-top: .75rem;
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: var(--radio);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.w-faq__item:hover { border-color: var(--filete-fuerte); }
.w-faq__item[open] { border-color: rgba(255, 138, 61, .5); box-shadow: var(--sombra); }
.w-faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  list-style: none;
  cursor: pointer;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}
.w-faq__item > summary::-webkit-details-marker { display: none; }
.w-faq__item > summary::after {
  content: "";
  flex: none;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--primario), var(--primario)) center / .75rem 2px no-repeat,
    linear-gradient(var(--primario), var(--primario)) center / 2px .75rem no-repeat,
    var(--superficie-alta);
  transition: transform .25s ease;
}
.w-faq__item[open] > summary::after { transform: rotate(45deg); }
.w-faq__resp { padding: 0 1.25rem 1.2rem; color: var(--texto-suave); }
.w-faq__resp p:last-child { margin-bottom: 0; }

/* FAQ de interiores: banda de papel claro a todo el ancho (border-image: no ensancha la caja) */
.cuerpo > .w-faq {
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  color: var(--tinta);
  border-image: linear-gradient(var(--papel) 0 0) fill 0 / / 0 100vmax;
}
.cuerpo > .w-faq a { color: var(--acento-tinta); }
.cuerpo > .w-faq a:hover { color: var(--tinta); }

/* FAQ sobre papel (portada e interiores) */
.franja--papel .w-faq__item,
.cuerpo > .w-faq .w-faq__item {
  background: var(--papel-tarjeta);
  border-color: var(--filete-papel);
  box-shadow: 0 1px 2px rgba(30, 36, 43, .05);
}
.franja--papel .w-faq__item[open],
.cuerpo > .w-faq .w-faq__item[open] { border-color: rgba(163, 66, 11, .4); box-shadow: var(--sombra-papel); }
.franja--papel .w-faq__item > summary,
.cuerpo > .w-faq .w-faq__item > summary { color: var(--tinta); }
.franja--papel .w-faq__item > summary::after,
.cuerpo > .w-faq .w-faq__item > summary::after {
  background:
    linear-gradient(var(--primario-tinta), var(--primario-tinta)) center / .75rem 2px no-repeat,
    linear-gradient(var(--primario-tinta), var(--primario-tinta)) center / 2px .75rem no-repeat,
    var(--papel-tinte);
}
.franja--papel .w-faq__resp,
.cuerpo > .w-faq .w-faq__resp { color: var(--tinta-suave); }

/* --------------------------------------------------------------------------
   Hijas (tarjetas) y hermanas (índice en columnas)
   -------------------------------------------------------------------------- */

/* Hijas en banda de papel claro a todo el ancho: corta el azul pizarra y marca el paso de nivel */
.w-hijas {
  width: min(var(--ancho), 100% - 2 * var(--margen));
  margin: clamp(3rem, 7vw, 5rem) auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  color: var(--tinta);
  border-image: linear-gradient(var(--papel) 0 0) fill 0 / / 0 100vmax;
}
.w-hijas .w-tarjeta,
.franja--papel .w-tarjeta {
  background: var(--papel-tarjeta);
  border-color: var(--filete-papel);
  box-shadow: var(--sombra-papel);
  color: var(--tinta);
}
.w-hijas .w-tarjeta::after,
.franja--papel .w-tarjeta::after { background-color: var(--papel-tinte); }
.w-hijas .w-tarjeta:hover,
.franja--papel .w-tarjeta:hover { background: var(--papel-tarjeta); border-color: rgba(163, 66, 11, .45); color: var(--tinta); }
.w-hijas .w-tarjeta:hover::after,
.franja--papel .w-tarjeta:hover::after { background-color: var(--primario); }
.w-hijas .w-tarjeta__nombre,
.franja--papel .w-tarjeta__nombre { color: var(--tinta); }
.w-hijas .w-tarjeta__nombre::before,
.franja--papel .w-tarjeta__nombre::before { color: var(--primario-tinta); }
.w-hijas .w-tarjeta__texto,
.franja--papel .w-tarjeta__texto { color: var(--tinta-suave); }
.w-hijas__titulo { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem); margin-bottom: 1em; }
.w-hijas__rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  counter-reset: hija;
}
.w-tarjeta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
  padding: 1.35rem 3.6rem 1.4rem 1.4rem;
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  color: var(--texto);
  text-decoration: none;
  counter-increment: hija;
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
}
.w-tarjeta::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  right: 1.1rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--flecha-mandarina) center / .95rem no-repeat, var(--superficie-alta);
  transition: background-color .22s ease, transform .22s ease;
}
.w-tarjeta:hover {
  color: var(--texto);
  transform: translateY(-2px);
  border-color: rgba(255, 138, 61, .5);
  background: var(--superficie-alta);
}
.w-tarjeta:hover::after {
  background: var(--flecha-pizarra) center / .95rem no-repeat, var(--primario);
  transform: translateX(2px);
}
.w-tarjeta__nombre {
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: balance;
}
.w-tarjeta__nombre::before {
  content: counter(hija, decimal-leading-zero);
  display: block;
  margin-bottom: .55rem;
  color: var(--primario);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.w-tarjeta__texto { color: var(--texto-tenue); font-size: .9375rem; line-height: 1.5; }

/* Muchas hijas: filas compactas */
.w-hijas__rejilla:has(> :nth-child(9)) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: .6rem;
}
.w-hijas__rejilla:has(> :nth-child(9)) .w-tarjeta { padding: .85rem 3rem .9rem 1rem; gap: .2rem; }
.w-hijas__rejilla:has(> :nth-child(9)) .w-tarjeta::after { top: .8rem; right: .8rem; width: 1.6rem; height: 1.6rem; }
.w-hijas__rejilla:has(> :nth-child(9)) .w-tarjeta__nombre { font-size: 1.0625rem; }
.w-hijas__rejilla:has(> :nth-child(9)) .w-tarjeta__nombre::before { display: none; }
.w-hijas__rejilla:has(> :nth-child(9)) .w-tarjeta__texto { font-size: .875rem; }

.bloque-hermanas {
  width: min(var(--ancho), 100% - 2 * var(--margen));
  margin: clamp(2.5rem, 6vw, 4rem) auto;
}
.bloque-hermanas:empty,
.bloque-hermanas:not(:has(*)) { display: none; }

.w-hermanas {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--fondo-hondo);
  border: 1px solid var(--filete);
  border-radius: var(--radio-grande);
}
.w-hermanas__titulo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
}
.w-hermanas__titulo::after {
  content: "";
  flex: 1 1 2rem;
  height: 1px;
  background: var(--filete);
}
/* Hermanas en tarjetas compactas de columnas iguales (nunca una lista de filas sin jerarquía) */
.w-hermanas__enlaces {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
  gap: .6rem;
}
.w-hermanas__enlaces a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: .75rem .95rem .75rem 1.05rem;
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: 14px;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.w-hermanas__enlaces a:hover { background: var(--superficie-alta); border-color: rgba(255, 138, 61, .5); transform: translateY(-1px); }
.w-hermanas__enlaces a::after {
  content: "";
  flex: none;
  width: .42rem;
  height: .42rem;
  border-top: 1.5px solid var(--primario);
  border-right: 1.5px solid var(--primario);
  transform: rotate(45deg);
  opacity: .55;
  transition: transform .2s ease, opacity .2s ease;
}
.w-hermanas__enlaces a:hover { color: var(--texto); }
.w-hermanas__enlaces a:hover::after { opacity: 1; transform: translateX(3px) rotate(45deg); }

/* Servicio y contacto: solo las hermanas de su nivel (los otros servicios y contacto). Los destinos ya tienen
   su índice en la portada, el menú y el pie: repetirlos aquí convertía el bloque en un muro de enlaces */
.pag-n .w-hermanas__enlaces > a:is([href^="/macrorregion-"], [href^="/voivodato-"]) { display: none; }


/* --------------------------------------------------------------------------
   Cierre
   -------------------------------------------------------------------------- */

.remate {
  width: min(var(--ancho), 100% - 2 * var(--margen));
  margin: clamp(3rem, 7vw, 5.5rem) auto;
}
.remate__in {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  background: var(--superficie);
  border: 1px solid var(--filete);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra);
}
.remate__in::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 90% at 100% 100%, rgba(255, 138, 61, .2), transparent 70%),
    radial-gradient(30% 60% at 0% 0%, rgba(242, 242, 240, .05), transparent 70%);
}
.remate__texto { min-width: 0; }
.remate__rotulo {
  margin: 0 0 .75rem;
  color: var(--primario);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
}
.remate__titulo {
  max-width: 16em;
  margin: 0 0 .45em;
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.625rem);
}
.remate__apoyo {
  max-width: 40rem;
  margin: 0;
  color: var(--texto-suave);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.55;
}
/* El cierre de cada página sigue al titular fijo como texto de apoyo, separado por un filete corto */
.remate__apoyo ~ .w-cierre {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--filete);
}
.remate__apoyo ~ .w-cierre p {
  max-width: 40rem;
  color: var(--texto);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.remate__acciones { display: flex; flex-wrap: wrap; gap: .75rem; }

.w-cierre h2 { font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.625rem); }
.w-cierre p {
  max-width: 40rem;
  margin: 0;
  color: var(--texto);
  font-family: var(--serif);
  font-size: clamp(1.3125rem, 1.1rem + .9vw, 1.75rem);
  font-weight: 400;
  line-height: 1.32;
  text-wrap: pretty;
}
.w-cierre p + p {
  margin-top: .85rem;
  color: var(--texto-suave);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Recorrido del cotizador (_plantilla.html)
   -------------------------------------------------------------------------- */

.recorrido {
  position: relative;
  isolation: isolate;
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.recorrido::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 26rem;
  z-index: -1;
  background: radial-gradient(50% 80% at 50% 0%, rgba(255, 138, 61, .12), transparent 70%);
}
/* Cabeza centrada sobre el formulario (820 px centrados): migas, antetítulo y H1 comparten su eje,
   sin un margen izquierdo propio que salte respecto al resto de páginas */
.recorrido__cabeza {
  width: min(820px, 100% - 2 * var(--margen));
  margin: 0 auto clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}
.recorrido__cabeza .w-migas ol { justify-content: center; }
.recorrido__cabeza .w-antetitulo { justify-content: center; }
.recorrido__cabeza .w-antetitulo::after {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primario);
}
.recorrido__cabeza h1 {
  max-width: 18em;
  margin: .3em auto 0;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.recorrido__in {
  width: min(820px, 100% - 2 * var(--margen));
  margin-inline: auto;
}
/* Como en la portada: sin marco alrededor del formulario, que ya trae su caja */
.recorrido__caja { max-width: 760px; margin-inline: auto; padding: 0; }
.recorrido__ayuda {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--texto-tenue);
  font-size: .9375rem;
}
.recorrido__ayuda a { color: var(--acento); }

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */

.pie {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  background: var(--fondo-hondo);
  border-top: 1px solid var(--filete);
  color: var(--texto-tenue);
  font-size: .9375rem;
  line-height: 1.55;
}
.pie__in {
  width: min(var(--ancho), 100% - 2 * var(--margen));
  margin-inline: auto;
}
.pie__rejilla {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
}
.pie__marca p { max-width: 22rem; margin: 1rem 0 0; }
.pie__tel {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -.01em;
  text-decoration: none;
  font-variant-numeric: lining-nums;
}
.pie__tel:hover { color: var(--primario); }
.pie__horario { display: block; color: var(--texto-tenue); font-size: .875rem; }
.pie__titulo {
  margin: 0 0 .9rem;
  color: var(--texto);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}
/* Grupos del pie: acordeones en móvil (web.js los cierra), abiertos y fijos en escritorio */
.pie__grupo > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
}
.pie__grupo > summary::-webkit-details-marker { display: none; }
.pie__grupo > summary::after {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  border-right: 1.5px solid var(--primario);
  border-bottom: 1.5px solid var(--primario);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.pie__grupo[open] > summary::after { transform: rotate(-135deg); }
.pie ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.pie a:not(.pie__tel):not(.marca) {
  color: var(--texto-suave);
  text-decoration: none;
}
.pie a:not(.pie__tel):not(.marca):hover { color: var(--texto); text-decoration: underline; }
.pie__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--filete);
  font-size: .8438rem;
}
.pie__base p { margin: 0; }
.pie__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }

/* Filete superior continuo en tarjetas y contenedores (sigue el radio), no una pestaña suelta */
.w-datos,
.remate__in { border-top: 2px solid var(--primario); }
.franja--papel .w-datos { border-top-color: var(--primario-tinta); }

/* --------------------------------------------------------------------------
   Movimiento reducido
   -------------------------------------------------------------------------- */

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

/* ==========================================================================
   AJUSTES RESPONSIVE (siempre al final)
   ========================================================================== */

/* Móvil y tableta pequeña */
@media (max-width: 47.99em) {
  body { font-size: 1rem; }

  .marca { font-size: 1.0625rem; gap: .55rem; }
  .marca svg { width: 1.9rem; height: 1.9rem; }

  .w-datos { padding: .25rem 1.1rem; }
  .w-datos__fila { grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: .25rem .9rem; padding: .75rem 0; }
  .w-datos dd { font-size: 1.0625rem; }
  /* Cifras de la portada: tres filas iguales (dato a la izquierda, explicación a la derecha), todas alineadas
     igual; en 390 px tres columnas partían el texto en tres líneas */
  .w-datos--cifras { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .w-datos--cifras .w-datos__fila {
    display: grid;
    grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: .85rem 1.1rem;
  }
  .w-datos--cifras dd { grid-column: 1; grid-row: 1; font-size: 1.3125rem; white-space: nowrap; }
  .w-datos--cifras dd::after { display: none; }
  .w-datos--cifras dt { grid-column: 2; grid-row: 1; padding-left: 1rem; border-left: 2px solid var(--primario); font-size: .75rem; letter-spacing: .06em; }

  .w-antetitulo { font-size: .75rem; letter-spacing: .07em; gap: .55rem; }
  .w-antetitulo::before,
  .recorrido__cabeza .w-antetitulo::after { width: 1.25rem; }

  /* Acción: el botón de la página a todo el ancho y debajo el teléfono, como en la portada */
  .accion { margin-top: 1.5rem; }
  .accion .w-cta { flex: 1 1 100%; white-space: normal; text-align: center; }
  .accion__tel { flex: 1 1 100%; }
  .accion__tel .boton { flex: 1 1 auto; }

  .foto-suave--alta img { aspect-ratio: 3 / 2; }

  /* Cotizador: sin relleno propio, el formulario usa todo el ancho menos el margen de la página */
  .w-cotizador { width: calc(100% - 1.5rem); padding: 0; }
  .accion > .w-cotizador { width: 100%; }

  /* Héroe interior: ficha compacta; en región, una celda por fila en lugar de etiqueta y valor */
  .pag-region .heroe .w-datos__fila { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .pag-region .heroe .w-datos { column-gap: 1rem; }
  .pag-geo .heroe__mapa { padding: .75rem; }


  .sellos { gap: .75rem; }
  .sellos li { gap: .6rem; padding: 1rem .95rem 1.05rem; font-size: .9375rem; }
  .sellos svg { width: 2.6rem; height: 2.6rem; padding: .6rem; }
  .sellos strong { font-size: 1.0625rem; }

  /* Portada: la foto sube justo bajo el titular, en panorámica; luego entradilla, botones, cifras y nota */
  .heroe--portada .heroe__rejilla { display: flex; flex-direction: column; gap: 0; }
  .heroe--portada .heroe__texto,
  .heroe--portada .heroe__datos { display: contents; }
  .heroe--portada .w-antetitulo { order: 1; }
  .heroe--portada h1 { order: 2; }
  .heroe--portada .heroe__foto-portada { order: 3; margin: .25rem 0 1.25rem; }
  .heroe--portada .heroe__foto-portada img { aspect-ratio: 2 / 1; border-radius: var(--radio-grande); box-shadow: var(--sombra); }
  .heroe--portada .w-entradilla { order: 4; }
  .heroe--portada .heroe__acciones { order: 5; margin-top: 1.25rem; }
  .heroe--portada .heroe__foto-portada + .w-datos--cifras { order: 6; margin-top: 1.5rem; border-radius: var(--radio-grande); box-shadow: var(--sombra); }
  .heroe--portada .heroe__nota { order: 7; }

  .w-tabla th, .w-tabla td { padding: .75rem .8rem; }
  .w-tabla table { font-size: .9063rem; }

  .protagonista { min-height: 0; }
  .protagonista__in { padding: 12rem 0 2rem; }
  .ruta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; margin-top: 1.75rem; }
  .ruta::before { display: none; }
  .ruta li { padding-top: 1.3rem; }
  .ruta span { font-size: .875rem; }

  /* Portada más corta: pasos compactos y el mapa de destinos más pequeño */
  .paso { padding: 1.25rem 1.2rem 1.35rem; }
  .paso__cabeza { margin-bottom: .9rem; }
  .paso__num { font-size: 2.125rem; }
  .pasos { gap: .85rem; }
  .pasos__pie { margin-top: 1.5rem; }
  .rejilla-mercancia { gap: .75rem; }
  .rejilla-mercancia .tarjeta-suave,
  .seguro { padding: 1.1rem 1.15rem; }
  .seguro { margin-top: .75rem; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; }
  /* Destinos en 390 px: el mapa grande sobra (cada tarjeta lleva su mini-mapa con la macrorregión marcada,
     y los mismos enlaces); las tarjetas, una por fila con el mini-mapa junto al nombre */
  .mapa-polonia { display: none; }
  .destinos-indice { gap: 0; }

  .oferta { grid-template-columns: minmax(0, 1fr); }

  .destinos-tarjetas { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .destino-tarjeta { gap: .5rem; padding: .95rem 1rem 1rem; }
  .destino-tarjeta__cabeza { gap: .8rem; padding-bottom: .6rem; }
  .destino-tarjeta__mapa { width: 2.75rem; }
  .destino-tarjeta__titulo { font-size: 1.4375rem; }
  .destino-tarjeta__titulo::before { margin-bottom: .1rem; }
  .destino-tarjeta__lista li { padding: .5rem 0 .55rem; }

  /* Mercancía: «Sí viaja» y «No viaja» en dos tarjetas compactas lado a lado */
  .rejilla-mercancia { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .rejilla-mercancia .tarjeta-mercancia { padding: .95rem .8rem 1rem; border-radius: var(--radio); }
  .tarjeta-mercancia .tarjeta-suave__cabeza { gap: .55rem; }
  .tarjeta-mercancia .icono-redondo { width: 2.1rem; height: 2.1rem; border-radius: 10px; }
  .tarjeta-mercancia .icono-redondo svg { width: 1.15rem; height: 1.15rem; }
  .tarjeta-mercancia h3 { font-size: 1.125rem; }
  .tarjeta-mercancia .marcas { gap: .45rem; margin-top: .8rem; }
  .tarjeta-mercancia .marcas li { padding-left: 1.45rem; font-size: .875rem; line-height: 1.4; }
  .tarjeta-mercancia .marcas li::before { width: 1.05rem; height: 1.05rem; background-size: .75rem, auto; }

  /* Destinos: cada macrorregión muestra nombre y recuento; su lista se despliega al tocar */
  .destino-tarjeta:has(.destino-tarjeta__plegable:not([open])) { gap: .2rem; padding-bottom: .35rem; }
  .destino-tarjeta--resumen { gap: .85rem; }

  .w-faq__item > summary { padding: 1rem 1.05rem; font-size: 1.0625rem; }
  .w-faq__resp { padding: 0 1.05rem 1.05rem; }

  .w-tarjeta { padding: 1.1rem 3.25rem 1.15rem 1.15rem; }
  .w-hijas__rejilla:has(> :nth-child(9)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-hijas__rejilla:has(> :nth-child(9)) .w-tarjeta { padding: .75rem 2.4rem .8rem .85rem; }
  .w-hijas__rejilla:has(> :nth-child(9)) .w-tarjeta::after { width: 1.4rem; height: 1.4rem; right: .6rem; top: .7rem; background-size: .8rem, auto; }
  .w-hijas__rejilla:has(> :nth-child(9)) .w-tarjeta__nombre { font-size: 1rem; }

  /* Hermanas: lista de una columna, una fila por enlace con su flecha, separadas por filetes */
  .w-hermanas { padding: 1.1rem 1.1rem .5rem; }
  .w-hermanas__enlaces { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .w-hermanas__enlaces a {
    min-height: 3rem;
    padding: .7rem .15rem;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--filete);
    border-radius: 0;
    font-size: 1.0625rem;
  }
  .w-hermanas__enlaces a:first-child { border-top: 0; }
  .w-hermanas__enlaces a:hover { background: transparent; color: var(--primario); transform: none; }
  .w-hermanas__enlaces a::after {
    width: 1rem;
    height: 1rem;
    border: 0;
    background: var(--flecha-mandarina) center / contain no-repeat;
    transform: none;
    opacity: 1;
  }
  .w-hermanas__enlaces a:hover::after { transform: translateX(3px); }

  .remate__acciones .boton { flex: 1 1 100%; }
  .heroe__acciones .boton { flex: 1 1 auto; }

  /* Portada condensada: menos aire entre franjas y sin fotos de apoyo junto al texto */
  .franja { padding: 2.75rem 0; }
  .franja--tras-sellos { margin-top: 2.5rem; }
  .bloque-dos > .foto-suave { display: none; }
  .cabecera-seccion { margin-bottom: 1.5rem; }
  .bloque-dos { gap: 1.75rem; }

  /* Servicio: número, concepto y valor también en móvil */
  .pag-servicio .heroe .w-datos { padding: .25rem 1.1rem .4rem; }
  .pag-servicio .heroe .w-datos__fila { grid-template-columns: 1.6rem minmax(0, 6.5rem) minmax(0, 1fr); gap: .25rem .7rem; }

  /* Precios: bajo el desglose, una fila por dato */
  html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos { grid-template-columns: minmax(0, 1fr); padding: .25rem 1.1rem .5rem; }
  html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos::before { margin-top: 1rem; padding: .5rem .6rem; }
  html:has(link[rel="canonical"][href$="-barato/"]) .pag-servicio .heroe .w-datos__fila { padding: .7rem 0; }

  /* Contacto: el teléfono cabe en una línea dentro de su bloque */
  .pag-contacto .heroe .w-datos { gap: .6rem; }
  .pag-contacto .heroe .w-datos__fila { padding: .95rem .95rem 1rem; }
  .pag-contacto .heroe .w-datos__fila:first-child { padding: 1.1rem 1rem; column-gap: .8rem; }
  .pag-contacto .heroe .w-datos__fila:first-child::before { width: 2.75rem; height: 2.75rem; background-size: 1.4rem, auto; }
  .pag-contacto .heroe .w-datos__fila:first-child dd { font-size: clamp(1.375rem, 6.2vw, 1.75rem); }
  .pag-contacto .heroe .w-datos dd { font-size: 1.0625rem; }

  /* Portada: foto y cifras siguen siendo una sola tarjeta, con sombra más corta */
  .heroe--portada .heroe__datos { box-shadow: var(--sombra); }

  /* Bandas claras de interiores con menos relleno */
  .cuerpo > .w-faq { padding: 2.25rem 0; }
  .w-hijas { padding: 2.25rem 0; }

  /* Pie en acordeones */
  .pie__rejilla { gap: 0; }
  .pie__marca { margin-bottom: 1.5rem; }
  .pie__grupo { border-top: 1px solid var(--filete); }
  .pie__grupo:last-child { border-bottom: 1px solid var(--filete); }
  .pie__grupo > .pie__titulo { min-height: 2.75rem; margin: 0; padding: .8rem 0; }
  .pie__grupo ul { padding-bottom: 1.1rem; }
  .pie__base { margin-top: 1.75rem; }

  .pie__tel { font-size: 1.375rem; }
}

/* Muy estrecho */
@media (max-width: 22.5em) {
  .marca { font-size: .98rem; }
  .w-datos__fila,
  .pag-region .heroe .w-datos__fila,
  .pag-region .heroe .w-datos { grid-template-columns: minmax(0, 1fr); }
  .pag-region .heroe .w-datos__fila:nth-child(2) { border-top: 1px solid var(--filete); }
  .w-hijas__rejilla:has(> :nth-child(9)) { grid-template-columns: minmax(0, 1fr); }
}

/* Menú plegable (con JS) por debajo de 60em */
@media (max-width: 59.99em) {
  .js .cab__boton { display: inline-flex; }
  .js .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: .75rem var(--margen) 1.25rem;
    background: var(--fondo);
    border-bottom: 1px solid var(--filete);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8);
  }
  .js .cab--abierta .menu { display: block; }
  .js .menu__lista { flex-direction: column; align-items: stretch; gap: 0; }
  .js .menu__lista li { border-bottom: 1px solid var(--filete); }
  .js .menu__lista li.menu__cta { border-bottom: 0; }
  .js .menu__lista a:not(.boton) {
    padding: .85rem .25rem;
    border-radius: 0;
    font-size: 1.25rem;
  }
  .js .menu__lista a:not(.boton):hover { background: transparent; color: var(--primario); }
  .js .menu__lista a[aria-current]:not(.boton)::after { left: auto; right: .25rem; top: 50%; bottom: auto; width: .5rem; height: .5rem; margin-top: -.25rem; border-radius: 50%; }
  .js .menu__cta { margin: 1rem 0 0; }
  .js .boton--menu { width: 100%; min-height: 3rem; }

  /* Sin JS: el menú baja a su propia fila y se ajusta al ancho */
  html:not(.js) .menu { width: 100%; margin-left: 0; padding-bottom: .6rem; }
  html:not(.js) .menu__lista a:not(.boton) { padding: .35rem .6rem; font-size: 1rem; }
}

/* Tableta en adelante */
@media (min-width: 48em) {
  .heroe + .w-cotizador,
  .heroe + .cotizar-rejilla { margin-top: -5.5rem; }
  .heroe:has(+ .w-cotizador),
  .heroe:has(+ .cotizar-rejilla) { padding-bottom: 8.5rem; border-bottom: 0; }

  .pie__grupo > summary { cursor: default; pointer-events: none; }
  .pie__grupo > summary::after { display: none; }

  /* Interiores con cotizador (servicio y región): la tarjeta asoma 6rem bajo el héroe y lo que sigue
     deja ese hueco más su aire habitual */
  .heroe:has(.accion > .w-cotizador) { padding-bottom: 0; }
  .accion:has(> .w-cotizador) { margin-bottom: -6rem; }
  .heroe:has(.accion > .w-cotizador) + *,
  .heroe:has(.accion > .w-cotizador) + .cuerpo:not(:has(*)) + * { margin-top: calc(6rem + clamp(2.5rem, 6vw, 4rem)); }

  .pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .paso:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3.15rem;
    right: -1.25rem;
    width: 1.25rem;
    border-top: 2px dashed rgba(163, 66, 11, .45);
  }

  .rejilla-mercancia { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seguro { grid-template-columns: auto minmax(0, 1fr); }

  .plegable > summary { cursor: default; pointer-events: none; }
  .plegable > summary::after { display: none; }
  .destino-tarjeta__plegable > summary { display: none; }

  .pie__rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Escritorio */
@media (min-width: 60em) {
  .heroe__rejilla {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 4rem;
  }
  .heroe__rejilla:has(> .heroe__datos:empty),
  .heroe__rejilla:not(:has(> .heroe__datos *)) { grid-template-columns: minmax(0, 1fr); }

  /* Interiores: texto a la izquierda (fila 1) con su acción debajo (fila 2); la columna lateral ocupa las dos
     filas y se estira hasta el final del texto, así que nunca queda un hueco muerto bajo la ficha.
     El cotizador, si lo hay, va en la fila 3 a todo el ancho */
  .pagina .heroe__rejilla {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }
  .pagina .heroe__texto { grid-column: 1; grid-row: 1; }
  .pagina .accion { grid-column: 1; grid-row: 2; }
  .pagina .accion:has(> .w-cotizador) { grid-column: 1 / -1; grid-row: 3; margin-top: 3rem; }
  .pagina .heroe__lateral { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; margin-top: 0; padding-top: .5rem; }
  .pag-n .heroe__rejilla:not(:has(.heroe__lateral :is(.w-datos, img))) { grid-template-columns: minmax(0, 1fr); }

  /* Servicio, contacto y voivodato: la foto rellena lo que quede bajo la ficha (mínimo 10rem), sin que su
     altura propia empuje la columna */
  .pagina .heroe__lateral:has(.heroe__foto img) { grid-template-rows: auto minmax(10rem, 1fr); }
  .pag-n .heroe__foto .w-foto img,
  .pag-division .heroe__foto .w-foto img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .pag-division .heroe__lateral:has(.heroe__foto img) { grid-template-rows: auto minmax(15rem, 1fr); }

  /* Región: el mapa grande de sus voivodatos, sin tarjeta, a la derecha del titular (nunca pasa del borde
     del contenedor); la ficha, en una franja de celdas a todo el ancho justo debajo, para que se vea entera
     en la primera pantalla aunque la entradilla sea larga */
  .pag-region .pagina .heroe__rejilla { grid-template-rows: auto; }
  .pag-region .heroe__lateral { display: contents; }
  .pag-region .heroe__texto { align-self: center; }
  .pag-region .heroe__datos { grid-column: 1 / -1; grid-row: 2; margin-top: 1.75rem; }
  .pag-region .accion:not(:has(> .w-cotizador)) { grid-column: 1; grid-row: 3; }
  .pag-region .heroe__mapa {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .pag-region .heroe__mapa svg { max-width: 25rem; margin: 0 0 0 auto; }
  .pag-region .heroe .w-datos {
    grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
    column-gap: 0;
    padding: 0;
    border-top: 2px solid var(--primario);
  }
  .pag-region .heroe .w-datos__fila,
  .pag-region .heroe .w-datos__fila:nth-child(2) {
    grid-template-columns: minmax(0, 1fr);
    gap: .3rem;
    padding: 1rem 1.25rem 1.05rem;
    border-top: 0;
    border-left: 1px solid var(--filete);
  }
  .pag-region .heroe .w-datos__fila:first-child { border-left: 0; }
  .pag-region .heroe .w-datos__fila:last-child:nth-child(odd) { grid-column: auto; }
  .pag-region .heroe .w-datos dd { font-size: 1.0625rem; }

  /* Ciudad: la foto a sangre detrás de todo el héroe (velo fuerte a la izquierda, donde va el texto) y,
     a la derecha, la tarjeta de ficha con el mapa de situación dentro, a su pie */
  .pag-ciudad .heroe { padding-top: clamp(3rem, 6vw, 5.5rem); }
  .pag-ciudad .heroe__foto { bottom: 0; height: auto; }
  .pag-ciudad .heroe__foto::after {
    background:
      linear-gradient(0deg, var(--fondo) 0%, rgba(30, 36, 43, 0) 26%),
      linear-gradient(90deg, rgba(30, 36, 43, .96) 0%, rgba(30, 36, 43, .9) 48%, rgba(30, 36, 43, .35) 100%);
  }
  .pag-ciudad .heroe__lateral { align-self: start; }

  /* Contacto: los cuatro bloques en rejilla de 2 × 2 iguales, sin bloques a todo el ancho con aire vacío; el
     teléfono se ajusta al ancho de su celda (cqi) para caber en una línea */
  .pag-contacto .heroe .w-datos__fila,
  .pag-contacto .heroe .w-datos__fila:first-child,
  .pag-contacto .heroe .w-datos__fila:last-child:nth-child(even) {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding: 1.15rem 1.2rem 1.25rem;
    container-type: inline-size;
  }
  .pag-contacto .heroe .w-datos__fila:first-child::before { grid-row: auto; width: 2.5rem; height: 2.5rem; margin: 0 0 .45rem; background-size: 1.3rem, auto; }
  .pag-contacto .heroe .w-datos__fila:first-child dd { font-size: clamp(1.125rem, 11cqi, 1.75rem); }
  /* El botón al cotizador, en su propia tarjeta bajo el texto: el paso siguiente queda a la vista */
  .pag-contacto .accion {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.15rem 1.25rem;
    background: var(--superficie);
    border: 1px solid var(--filete);
    border-radius: var(--radio-grande);
    box-shadow: var(--sombra);
  }
  .pag-contacto .accion::before {
    content: "";
    flex: none;
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A3D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2.5'/%3E%3Cpath d='M8 7h8M8.5 11h1M11.5 11h1M14.5 11h1M8.5 14h1M11.5 14h1M14.5 14h1M8.5 17h1M11.5 17h4'/%3E%3C/svg%3E") center / 1.5rem no-repeat, rgba(255, 138, 61, .14);
  }
  .pag-contacto .accion .w-cta { flex: 1 1 auto; }

  .sellos { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Cotizador centrado en la retícula (portada e interiores); los sellos van en fila debajo */
  .accion > .w-cotizador,
  .cotizar-rejilla > .w-cotizador { margin-left: auto; margin-right: auto; }

  /* Portada: foto y cifras arrancan a la altura del antetítulo y el H1, sin hueco arriba a la derecha */
  .heroe--portada .heroe__rejilla { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 3.5rem; }
  .heroe--portada .heroe__datos { padding-top: .35rem; }

  /* Destinos: el mapa manda (fijo al desplazar) y las tarjetas de macrorregión en dos columnas a su lado */
  .destinos-indice { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem; }
  .destinos-indice > .mapa-polonia { position: sticky; top: 6rem; }
  .destinos-tarjetas { gap: 1rem; }
  .destino-tarjeta { padding: 1.15rem 1.2rem 1.25rem; }

  .bloque-dos { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4.5rem; }
  .bloque-dos--centrado { align-items: center; }
  .bloque-dos--invertido { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .bloque-dos--invertido > :first-child { order: 2; }
  .bloque-dos--foto-izq { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .bloque-dos--faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .bloque-dos--faq .cabecera-seccion { position: sticky; top: 6.5rem; margin-bottom: 0; }

  .cuerpo { width: min(var(--lectura) + 6rem, 100% - 2 * var(--margen)); }
  .cuerpo > * { margin-left: 6rem; }
  .cuerpo > .w-seccion::before {
    position: absolute;
    left: -6rem;
    top: 3.35rem;
    display: block;
    width: 3.5rem;
    margin: 0;
    padding-bottom: .55rem;
    border-bottom: 1px solid rgba(255, 138, 61, .45);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1;
  }
  .cuerpo > .w-seccion:first-child::before { top: .3rem; }
  .pag-servicio .cuerpo > .w-seccion:nth-child(even)::before { top: 2.85rem; left: -6rem; }

  .remate__in { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
  .remate__acciones { flex-direction: column; align-items: stretch; }

  .pie__rejilla { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 3rem; }
}

@media (min-width: 75em) {
  .w-hijas__rejilla:has(> :nth-child(9)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
