/* GENERADO por herramientas/unir-css.php desde sitio/estilos/ (cliente: opcomp). No editar aquí. */
@layer base, componentes, paginas;

/* ===== base/fuentes.css ===== */
/* Tipografías Archivo e Instrument Sans (archivos en public_html/assets/fonts). */

@font-face {
  font-family: Archivo Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fuentes/archivo-vietnamese-wdth-normal.rJmnGBSt.woff2)format("woff2-variations");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Archivo Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fuentes/archivo-latin-ext-wdth-normal.7khWdh9v.woff2)format("woff2-variations");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Archivo Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fuentes/archivo-latin-wdth-normal.DY7AcnAa.woff2)format("woff2-variations");
  unicode-range: U+0-FF,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Instrument Sans Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/assets/fuentes/instrument-sans-latin-ext-wght-normal.B5bTHO_g.woff2)format("woff2-variations");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Instrument Sans Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/assets/fuentes/instrument-sans-latin-wght-normal.BbzFLZTg.woff2)format("woff2-variations");
  unicode-range: U+0-FF,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ===== base/tema.css ===== */
/* Colores y variables del sitio. Para otro cliente, se cambia este archivo primero. */

@layer base {

:root {
  --navy: #042c5e;
  --blue: #0168b3;
  --blue-deep: #054795;
  --blue-sombra: #043b7e;
  --blue-brillo: #0b7ac9;
  --acc: #fecc17;
  --logo-grad: radial-gradient(120% 100% at 50% 35%, #0168b3 0%, #05559f 50%, #054795 100%);
  --gold: #c9a24a;
  --ink: #06070b;
  --bg: #f4f7fc;
  --card: #fff;
  --alt: #e9eff8;
  --field: #fff;
  --text: #0b1b3a;
  --text2: #3d4b66;
  --text3: #5a6680;
  --line: #0b1b3a1f;
  --line-strong: #0b1b3a3d;
  --link: #0168b3;
  --link-hover: #054795;
  --accent-text: #0168b3;
  --gold-text: #8a6a1f;
  --shadow: 0 1px 2px #0b1b3a0f, 0 10px 28px -14px #0b1b3a38;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --display: "Archivo Variable", "Archivo", sans-serif;
  --body: "Instrument Sans Variable", "Instrument Sans", system-ui, sans-serif;
  color-scheme: light;
}

.oscuro {
  --card: #06070b6b;
  --alt: #0d1018;
  --field: #090b11;
  --text: #f4f1e8;
  --text2: #dce6fa;
  --text3: #a7aec2;
  --line: #ffffff1f;
  --line-strong: #ffffff47;
  --link: #fecc17;
  --link-hover: #ffe27a;
  --accent-text: #fecc17;
  --gold-text: #c9a24a;
  --shadow: none;
  color: var(--text);
}

}

/* ===== base/global.css ===== */
/* Estilos globales: tipografía, botones (.btn), secciones (.sec), bandas, .deco, .temas, etc. */

@layer base {

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

html {
  scroll-behavior: smooth;
  scrollbar-color: #b8c3d6 var(--bg);
  scroll-padding-top: 96px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--link);
  text-underline-offset: .2em;
}

a:hover {
  color: var(--link-hover);
}

::selection {
  background: var(--acc);
  color: var(--ink);
}

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

.oscuro :focus-visible {
  outline-color: var(--acc);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--bg);
  background: #b8c3d6;
  border-radius: 999px;
}

.sr-only {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.disp {
  font-family: var(--display);
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0;
  font-weight: 800;
  font-stretch: 118%;
  line-height: .98;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.lead {
  color: var(--text2);
  text-wrap: pretty;
  max-width: 560px;
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
}

.sec {
  padding: 128px 0;
}

.sec-h {
  font-size: clamp(36px,4.6vw,64px);
}

.etq {
  border: 1px solid var(--line);
  background: var(--card);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--link);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
}

.etq:before {
  content: "";
  background: var(--acc);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.oscuro .etq {
  color: #dce6fa;
  background: #ffffff14;
  border-color: #ffffff2e;
}

.lienzo {
  background: radial-gradient(#0b1b3a17 1px, transparent 1.5px) 0 0 / 22px 22px, var(--bg);
}

.lienzo .sec:not(.oscuro) {
  background: radial-gradient(34% 50% at 100%,#0168b31a,#0168b300 90%);
  position: relative;
}

.lienzo .sec:not(.oscuro):nth-of-type(2n) {
  background: radial-gradient(34% 50% at 0%,#0168b31a,#0168b300 90%);
}

.banda {
  background: radial-gradient(ellipse 75% 60% at 50% 66%, var(--blue) 0%, #05559f 48%, var(--blue-deep) 78%, var(--blue-sombra) 100%);
}

.deco {
  margin: 24px;
  position: relative;
}

.deco:before {
  content: "";
  background: var(--acc);
  border-radius: 28px;
  width: 72%;
  height: 74%;
  position: absolute;
  bottom: -24px;
}

.deco-izq:before {
  left: -24px;
}

.deco-der:before {
  right: -24px;
}

.deco-marco {
  border: 2px dashed #0168b373;
  border-radius: 22px;
  width: 120px;
  height: 120px;
  position: absolute;
  top: -24px;
}

.deco-izq .deco-marco {
  right: -24px;
}

.deco-der .deco-marco {
  left: -24px;
}

.oscuro .deco-marco {
  border-color: #fff6;
}

.deco>:where(:not(.deco-marco)) {
  position: relative;
  box-shadow: 0 24px 48px -20px #0b1b3a59;
}

@media (width<=860px) {
  .deco {
    margin: 12px;
  }
  .deco:before {
    bottom: -12px;
  }
  .deco-izq:before {
    left: -12px;
  }
  .deco-der:before {
    right: -12px;
  }
  .deco-marco {
    width: 80px;
    height: 80px;
    top: -12px;
  }
  .deco-izq .deco-marco {
    right: -12px;
  }
  .deco-der .deco-marco {
    left: -12px;
  }
}

.temas {
  gap: 12px;
  margin: 36px 0 40px;
  padding: 0;
  list-style: none;
  display: grid;
}

.temas a,
.temas .tema {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
  border-radius: 16px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  text-decoration: none;
  display: flex;
}

.temas a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px #0b1b3a4d;
}

.tm-ic {
  width: 44px;
  height: 44px;
  color: var(--text);
  background: #fecc1740;
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

.tm-tx {
  font-family: var(--display);
  flex: 1;
  font-size: 20px;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.25;
}

.tm-tx small {
  font-family: var(--body);
  color: var(--text2);
  margin-top: 4px;
  font-size: 15px;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.5;
  display: block;
}

.tm-n {
  font-family: var(--body);
  letter-spacing: .1em;
  color: var(--link);
  margin-bottom: 2px;
  font-size: 12px;
  font-stretch: 100%;
  display: block;
}

.tm-fl {
  color: var(--text2);
  transition: transform .3s var(--ease), color .3s;
}

.temas a:hover .tm-fl {
  color: var(--link);
  transform: translate(3px,-3px);
}

.oscuro .temas a,
.oscuro .temas .tema {
  background: #ffffff0f;
  border-color: #ffffff24;
}

.oscuro .temas a:hover {
  border-color: var(--acc);
}

.oscuro .tm-ic {
  background: var(--acc);
  color: var(--ink);
}

@media (width<=860px) {
  .tm-tx {
    font-size: 18px;
  }
}

.num {
  font-variant-numeric: tabular-nums;
}

.btn {
  min-height: 52px;
  font: inherit;
  isolation: isolate;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s;
  border: 0;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

.btn-y {
  background: var(--acc);
  color: var(--ink);
}

.btn-y:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px #fecc17b3;
}

.btn-y:after {
  content: "";
  opacity: .35;
  transition: transform .5s var(--ease-io);
  z-index: -1;
  background: #fff;
  position: absolute;
  inset: 0;
  transform: translate(-101%);
}

.btn-y:hover:after {
  transform: translate(0);
}

.btn-o {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: 0 0;
}

.btn-o:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.oscuro .btn-o:hover {
  color: var(--ink);
  background: #f4f1e8;
  border-color: #f4f1e8;
}

.btn svg {
  transition: transform .35s var(--ease);
}

.btn:hover svg {
  transform: translate(4px);
}

.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.oferta-fin .oferta-on,
html:not(.oferta-fin) .oferta-off {
  display: none !important;
}

.oferta-on,
.oferta-off {
  position: relative;
}

.precio-antes {
  opacity: .75;
  margin-right: 2px;
  font-weight: 500;
  text-decoration-thickness: 2px;
}

.oferta-tag {
  z-index: 2;
  background: var(--acc);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  position: absolute;
  top: 14px;
  right: 14px;
  box-shadow: 0 8px 18px -8px #02143899;
}

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

@media (width<=860px) {
  .wrap {
    padding: 0 16px;
  }
  .sec {
    padding: 88px 0;
  }
}

html:has(dialog.cot[open]) {
  overflow: hidden;
}

.pl-capa {
  z-index: 3;
  perspective: 1400px;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.pl-hoja {
  transform-origin: 50%;
  backface-visibility: hidden;
  will-change: transform;
  position: absolute;
  inset: 0;
}

.pl-arriba {
  clip-path: inset(-28px -28px 50%);
}

.pl-abajo {
  clip-path: inset(50% -28px -28px);
}

}

/* ===== componentes/isotipo.css ===== */
/* Componente Vistas/parciales/isotipo.php. */

@layer componentes {

.animado {
  animation: 7s ease-in-out 3.4s infinite iso-flota;
  overflow: visible;
}

.animado .escudo,
.animado .techo,
.animado .muro {
  stroke-dasharray: 1 2;
  animation: iso-trazo 1.5s var(--ease-io) .2s both;
}

.animado .techo {
  animation-duration: .8s;
  animation-delay: 1.2s;
}

.animado .muro {
  animation-duration: .8s;
  animation-delay: 1.6s;
}

.animado .cursor {
  animation: iso-entra .9s var(--ease) 2.1s both;
}

.animado .flecha {
  transform-box: fill-box;
  transform-origin: 0 0;
  animation: 5s ease-in-out 3.2s infinite iso-clic;
}

.animado .onda {
  transform-box: fill-box;
  transform-origin: 50%;
  opacity: 0;
  animation: iso-onda 5s var(--ease) 3.2s infinite;
}

@keyframes iso-trazo {
  0% { stroke-dashoffset: 1.01px; }
  to { stroke-dashoffset: 0; }
}

@keyframes iso-entra {
  0% { opacity: 0; transform: translate(36px,48px); }
  to { opacity: 1; transform: none; }
}

@keyframes iso-clic {
  0%,9%,to { transform: none; }
  4% { transform: scale(.86); }
}

@keyframes iso-onda {
  0% { opacity: 0; transform: scale(.3); }
  3% { opacity: .9; }
  30%,to { opacity: 0; transform: scale(2.8); }
}

@keyframes iso-flota {
  0%,to { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

}

/* ===== componentes/cotizador.css ===== */
/* Componente Vistas/parciales/cotizador.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer componentes {

.cot:where([data-c="cotizador"]) {
  color: #0b1b3a;
  background: #fff;
  border: 0;
  border-radius: 0;
  width: min(480px,100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  box-shadow: -20px 0 50px -20px #0b1b3a59;
}

.cot:where([data-c="cotizador"])[open] {
  animation: entra .45s var(--ease) both;
}

.cot.saliendo {
  animation: sale .26s var(--ease-io) both;
}

.cot:where([data-c="cotizador"])::backdrop {
  backdrop-filter: blur(3px);
  background: #0b1b3a73;
}

.cot:where([data-c="cotizador"])[open]::backdrop {
  animation: .45s both velo;
}

@keyframes entra {
  0% { transform: translate(100%); }
  to { transform: none; }
}

@keyframes sale {
  to { transform: translate(100%); }
}

@keyframes velo {
  0% { opacity: 0; }
}

.cot-form {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.cot-cab {
  background: #f1f5fb;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 24px;
  display: flex;
}

.cot-etq {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.cot-etq:before {
  content: "";
  background: var(--acc);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.cot-cab h2 {
  font-size: 30px;
  line-height: 1.05;
}

.cot-sub {
  color: #3d4b66;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.cerrar {
  color: #0b1b3a;
  cursor: pointer;
  width: 40px;
  height: 40px;
  transition: background .3s, color .3s, transform .35s var(--ease);
  background: #fff;
  border: 1px solid #0b1b3a33;
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

.cerrar:hover {
  background: var(--navy);
  color: #fff;
  transform: rotate(90deg);
}

.cot-cuerpo {
  overscroll-behavior: contain;
  flex-direction: column;
  flex: 1;
  gap: 18px;
  padding: 24px 28px 28px;
  display: flex;
  overflow-y: auto;
}

.campo {
  border: 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
}

.campo[hidden] {
  display: none;
}

.dos {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  display: grid;
}

label:where([data-c="cotizador"]),
legend:where([data-c="cotizador"]) {
  color: #0b1b3a;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

label:where([data-c="cotizador"]) span:where([data-c="cotizador"])[aria-hidden] {
  color: #b3261e;
}

.paso-t {
  font-family: var(--display);
  color: #0b1b3a;
  align-items: baseline;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  font-stretch: 105%;
  display: flex;
}

.paso-n {
  font-family: var(--body);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.paso-datos {
  margin-top: 6px;
}

.oblig {
  font-family: var(--body);
  color: #5a6680;
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 400;
}

input:where([data-c="cotizador"]):not([type=radio]),
select:where([data-c="cotizador"]),
textarea:where([data-c="cotizador"]) {
  color: #0b1b3a;
  width: 100%;
  min-height: 50px;
  font: inherit;
  caret-color: var(--blue);
  background: #fff;
  border: 1px solid #0b1b3a2e;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color .25s,box-shadow .25s;
}

textarea:where([data-c="cotizador"]) {
  resize: vertical;
  min-height: 116px;
  line-height: 1.5;
}

select:where([data-c="cotizador"]) {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230B1B3A' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  padding-right: 44px;
}

input:where([data-c="cotizador"])::placeholder,
textarea:where([data-c="cotizador"])::placeholder {
  color: #8a94a8;
}

input:where([data-c="cotizador"]):hover,
select:where([data-c="cotizador"]):hover,
textarea:where([data-c="cotizador"]):hover {
  border-color: #0b1b3a52;
}

input:where([data-c="cotizador"]):focus-visible,
select:where([data-c="cotizador"]):focus-visible,
textarea:where([data-c="cotizador"]):focus-visible {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px #0168b32e;
}

:where([data-c="cotizador"])[aria-invalid] {
  border-color: #d93025 !important;
}

.err {
  color: #b3261e;
  margin: 0;
  font-size: 13px;
  display: none;
}

.err.ver {
  display: block;
}

.resumen {
  background: var(--blue-deep);
  color: #fff;
  border-radius: 10px;
  padding: 16px 18px;
}

.res-precio {
  font-family: var(--display);
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  font-stretch: 105%;
}

.res-txt {
  color: #dce6fa;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.res-entrega {
  color: var(--acc);
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.res-entrega:empty {
  display: none;
}

.chips {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.chips label {
  cursor: pointer;
  position: relative;
}

.chips input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}

.chips span {
  border: 1px solid #0b1b3a2e;
  border-radius: 999px;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  font-weight: 600;
  transition: background .25s,color .25s,border-color .25s;
  display: inline-flex;
}

.chips input:checked+span {
  background: var(--acc);
  color: var(--ink);
  border-color: var(--acc);
}

.chips input:focus-visible+span {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.cot-pie {
  background: #f1f5fb;
  flex-direction: column;
  gap: 12px;
  padding: 20px 28px 24px;
  display: flex;
}

.cot-pie .btn {
  gap: 10px;
  width: 100%;
  min-height: 52px;
  font-size: 15.5px;
}

.cot-pie .btn-o {
  color: #0b1b3a;
  background: #fff;
  border-color: #0b1b3a2e;
}

.cot-pie .btn-o svg {
  color: var(--blue);
}

.cot-pie .btn-o:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.cot-pie .btn-o:hover svg {
  color: #fff;
}

.cot-pie .btn:hover svg {
  transform: none;
}

.cot-pie .btn-y:hover svg:last-child {
  transform: translate(4px);
}

.cot-ok {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 28px;
  display: flex;
}

.cot-ok[hidden],
.cot-cuerpo[hidden],
.cot-pie[hidden] {
  display: none;
}

.ok-ico {
  width: 72px;
  height: 72px;
  color: var(--ink);
  background: #25d366;
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.ok-t {
  font-size: 40px;
}

.ok-p {
  color: #3d4b66;
  max-width: 40ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.cot-ok .btn-o {
  color: #0b1b3a;
  border-color: #0b1b3a3d;
}

.cot-ok {
  justify-content: flex-start;
  overflow-y: auto;
}

.ok-ico {
  margin-top: auto;
}

.cot-ok>:last-child {
  margin-bottom: auto;
}

.ok-copia {
  background: #f1f5fb;
  border: 1px solid #0b1b3a1a;
  border-radius: 10px;
  width: 100%;
  padding: 16px;
}

.ok-copia[hidden] {
  display: none;
}

.okc-t {
  color: #3d4b66;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
}

.okc-t b {
  color: #0b1b3a;
  word-break: break-all;
}

.okc-msg {
  max-height: 160px;
  font: 13px/1.5 var(--body);
  white-space: pre-wrap;
  color: #0b1b3a;
  background: #fff;
  border: 1px solid #0b1b3a1f;
  border-radius: 8px;
  margin: 0;
  padding: 12px 14px;
  overflow: auto;
}

.okc-acc {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  display: flex;
}

.cot-ok .okc-btn {
  background: #fff;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.okc-btn svg {
  color: var(--blue);
}

@media (width<=560px) {
  .cot:where([data-c="cotizador"]) {
    width: 100vw;
  }
  .cot-cab,
  .cot-cuerpo,
  .cot-pie {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (width<=360px) {
  .dos {
    grid-template-columns: minmax(0,1fr);
  }
}

}

/* ===== layout/base.css ===== */
/* Menú, submenú de Servicios, pie y botón flotante de WhatsApp (Vistas/layouts/base.php).
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer componentes {

.saltar {
  z-index: 50;
  background: var(--acc);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  position: absolute;
  top: -60px;
  left: 16px;
}

.saltar:focus-visible {
  top: 12px;
}

main:where([data-c="base"]):focus {
  outline: none;
}

.nav {
  z-index: 20;
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  background: #ffffffdb;
  position: sticky;
  top: 0;
}

.nav-in {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  display: flex;
}

.marca:where([data-c="base"]) {
  color: var(--text);
  flex: none;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  display: flex;
}

.marca-ico {
  background: var(--logo-grad);
  border-radius: 12px;
  place-items: center;
  width: 44px;
  height: 44px;
  display: grid;
}

.marca-txt:where([data-c="base"]) {
  font-family: var(--display);
  letter-spacing: .02em;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  font-stretch: 125%;
}

.menu {
  align-items: center;
  gap: 28px;
  display: flex;
}

.menu-l {
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.menu-l>li>a,
.sub-btn {
  min-height: 44px;
  color: var(--text2);
  font: inherit;
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  position: relative;
}

.menu-l>li>a:after,
.sub-btn:after {
  content: "";
  background: var(--blue);
  transform-origin: 100%;
  height: 2px;
  transition: transform .4s var(--ease-io);
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  transform: scaleX(0);
}

.menu-l>li>a:hover,
.sub-btn:hover,
.menu-l .on {
  color: var(--text);
}

.menu-l>li>a:hover:after,
.sub-btn:hover:after,
.menu-l .on:after {
  transform-origin: 0;
  transform: scaleX(1);
}

.sub-btn svg {
  transition: transform .3s var(--ease);
}

.sub-btn[aria-expanded=true] svg {
  transform: rotate(180deg);
}

.nav-in {
  position: relative;
}

.sub {
  position: static;
}

.sub-l {
  background: var(--card);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  width: min(1000px,100% - 64px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  border-radius: 18px;
  margin: 0;
  padding: 18px;
  position: absolute;
  top: calc(100% - 4px);
  right: 32px;
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px #0b1b3a47;
}

.sub-btn[aria-expanded=true]+.sub-l {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s, transform .3s var(--ease);
  transform: none;
}

.sub-g {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px 16px;
  display: grid;
}

.sub-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sub-l a {
  min-height: 44px;
  color: var(--text2);
  border-radius: 10px;
  align-items: center;
  padding: 0 12px;
  font-size: 14.5px;
  text-decoration: none;
  display: flex;
}

.sub-l a:hover,
.sub-l a[aria-current] {
  background: var(--alt);
  color: var(--text);
}

.sub-l .sub-cat {
  min-height: 44px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  margin-bottom: 4px;
  font-size: 15.5px;
  font-weight: 700;
}

.sub-l .sub-todos {
  border-top: 1px solid var(--line);
  color: var(--link);
  border-radius: 0;
  margin-top: 12px;
  padding-top: 6px;
  font-weight: 600;
}

.menu-cta {
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

.i-cerrar,
.nav.abierto .i-abrir {
  display: none;
}

.nav.abierto .i-cerrar {
  display: contents;
}

body:has(.nav.abierto) .wa {
  display: none;
}

.hamb {
  border: 1px solid var(--line-strong);
  width: 48px;
  height: 48px;
  color: var(--text);
  cursor: pointer;
  background: 0 0;
  border-radius: 14px;
  place-items: center;
  display: none;
}

.foot {
  color: var(--text3);
  background: var(--alt);
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding: 72px 0 40px;
  font-size: 14.5px;
}

.foot-g {
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  display: grid;
}

.foot-marca p {
  max-width: 34ch;
  margin: 18px 0 0;
  line-height: 1.6;
}

.foot-t {
  color: var(--text);
  margin: 0 0 14px;
  font-weight: 700;
}

.foot ul {
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.foot ul a {
  min-height: 32px;
  color: var(--text2);
  overflow-wrap: anywhere;
  align-items: center;
  text-decoration: none;
  display: inline-flex;
}

.foot ul a:hover {
  color: var(--link);
}

.foot-b {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
}

/* Libro de Reclamaciones (05-12-2026): la norma pide que se vea en la web; va primero en la franja final. */
.foot-libro {
  color: inherit;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s, color .25s;
  display: inline-flex;
}

.foot-libro:hover {
  border-color: var(--acc);
  color: var(--link);
}

.wa {
  z-index: 30;
  color: #fff;
  width: 62px;
  height: 62px;
  transition: transform .35s var(--ease);
  background: #25d366;
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 14px 34px -10px #25d366b3;
}

.wa:hover {
  color: #fff;
  transform: scale(1.08)rotate(-6deg);
}

.wa {
  transition: transform .35s var(--ease), opacity .3s;
}

@media (width>=861px) {
  html.car-vista .wa {
    opacity: 0;
    pointer-events: none;
    transform: scale(.85);
  }
}

.wa:before {
  content: "";
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: 2.4s cubic-bezier(0,0,.2,1) infinite ping;
  position: absolute;
  inset: 0;
}

@keyframes ping {
  0% { opacity: .8; transform: scale(1); }
  80%,to { opacity: 0; transform: scale(1.6); }
}

@media (width<=1080px) {
  .hamb {
    display: grid;
  }
  .menu {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: calc(100dvh - 76px);
    padding: 16px 32px 28px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    overflow-y: auto;
  }
  .nav.abierto .menu {
    display: flex;
  }
  .menu-l {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .menu-l>li {
    border-bottom: 1px solid var(--line);
  }
  .menu-l>li>a,
  .sub-btn {
    width: 100%;
    min-height: 56px;
    color: var(--text);
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
  }
  .menu-l>li>a:after,
  .sub-btn:after {
    display: none;
  }
  .sub-l {
    width: auto;
    min-width: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    background: 0 0;
    border: 0;
    padding: 0 0 12px;
    display: none;
    position: static;
    transform: none;
  }
  .sub-g {
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
  }
  .sub-l a {
    min-height: 44px;
  }
  .sub-btn[aria-expanded=true]+.sub-l {
    display: block;
  }
  .menu-cta {
    min-height: 52px;
  }
  .foot-g {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width<=860px) {
  .menu {
    padding-left: 16px;
    padding-right: 16px;
  }
  .wa {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }
}

@media (width<=560px) {
  .foot-g {
    grid-template-columns: 1fr;
  }
}

.marca .marca-txt {
  display: inline-flex;
  align-items: center;
}

.nav {
  --text: #fff;
  --text2: #ffffffdb;
  --line: #ffffff29;
  --line-strong: #ffffff52;
  --link: #fecc17;
  background: var(--logo-grad);
  color: var(--text);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid #ffffff1a;
  box-shadow: 0 10px 28px -18px #054795cc;
}

.nav .marca-ico {
  background: none;
}

.menu-l>li>a:after,
.sub-btn:after {
  background: var(--acc);
}

@media (width>=1081px) {
  .sub-l {
    --card: #fff;
    --alt: #e9eff8;
    --text: #0b1b3a;
    --text2: #3d4b66;
    --line: #0b1b3a1f;
    --link: #0168b3;
  }
}

@media (width<=1080px) {
  .menu {
    background: var(--blue-deep);
  }
  .sub-l a:hover,
  .sub-l a[aria-current] {
    background: #ffffff1a;
  }
}

}

/* ===== componentes/carrusel.css ===== */
/* Componente Vistas/parciales/carrusel.php. */

@layer componentes {

.car {
  background: var(--ink);
  position: relative;
}

.car-pista {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  display: flex;
  overflow-x: auto;
}

.car-pista::-webkit-scrollbar {
  display: none;
}

.car-slide {
  scroll-snap-align: start;
  isolation: isolate;
  flex: 0 0 100%;
  align-items: center;
  min-height: clamp(560px,100dvh - 188px,760px);
  display: flex;
  position: relative;
  overflow: hidden;
}

.car-slide .car-img {
  object-fit: cover;
  z-index: -2;
  width: 100%;
  height: 100%;
  transition: transform 7s linear;
  position: absolute;
  inset: 0;
  transform: scale(1.06);
}

.car-slide:not([inert]) .car-img {
  transform: scale(1);
}

.car-slide:after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg,#06070bf0 0%,#06070bd1 38%,#06070b40 75%,#06070b1a 100%),linear-gradient(#06070b00 65%,#06070be6 100%);
  position: absolute;
  inset: 0;
}

.car-txt {
  width: 100%;
  padding-top: 72px;
  padding-bottom: 72px;
}

.car-h {
  max-width: 13ch;
  font-size: clamp(44px,6.4vw,92px);
}

.car-p {
  color: var(--text2);
  text-wrap: pretty;
  max-width: 54ch;
  margin: 26px 0 0;
  font-size: 19px;
  line-height: 1.6;
}

.car-acc {
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 36px;
  display: flex;
}

.car-envios {
  color: var(--text2);
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  font-size: 15px;
  display: flex;
}

.car-envios svg {
  color: var(--acc);
}

.car-slide .car-txt> {
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}

.car-slide[inert] .car-txt> {
  opacity: 0;
  transform: translateY(24px);
}

.car-slide:not([inert]) .car-txt>:nth-child(2) {
  transition-delay: 60ms;
}

.car-slide:not([inert]) .car-txt>:nth-child(3) {
  transition-delay: .12s;
}

.car-slide:not([inert]) .car-txt>:nth-child(4) {
  transition-delay: .18s;
}

.car-slide:not([inert]) .car-txt>:nth-child(5) {
  transition-delay: .24s;
}

.car-ctl {
  align-items: stretch;
  gap: 24px;
  min-height: 112px;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
}

.car-tabs {
  border-top: 1px solid var(--line);
  flex: 1;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  display: grid;
}

.car-tab {
  color: var(--text3);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px 16px 18px 0;
  font-size: 15px;
  font-weight: 600;
  transition: color .3s;
  display: flex;
  position: relative;
}

.car-tab:hover,
.car-tab[aria-selected=true] {
  color: var(--text);
}

.car-barra {
  background: 0 0;
  height: 2px;
  position: absolute;
  top: -1px;
  left: 0;
  right: 16px;
  overflow: hidden;
}

.car-barra i {
  background: var(--acc);
  transform-origin: 0;
  position: absolute;
  inset: 0;
  transform: scaleX(0);
}

.car-tab[aria-selected=true] .car-barra i {
  transform: scaleX(1);
}

.car.corre .car-tab[aria-selected=true] .car-barra i {
  animation: avance var(--dur,6.5s) linear both;
}

.car.pausa .car-tab[aria-selected=true] .car-barra i {
  animation: none;
  transform: scaleX(1);
}

@keyframes avance {
  0% { transform: scaleX(0); }
}

.car-flechas {
  align-items: center;
  gap: 10px;
  display: flex;
}

.car-f {
  width: 52px;
  height: 52px;
  color: var(--text);
  cursor: pointer;
  background: 0 0;
  border: 1px solid #ffffff3d;
  border-radius: 50%;
  place-items: center;
  transition: background .3s,color .3s,border-color .3s;
  display: grid;
}

.car-f:hover {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--ink);
}

.car-pausa[hidden] {
  display: none;
}

.car-pausa span {
  place-items: center;
  display: grid;
}

.car-pausa .i-play,
.car-pausa[aria-pressed=true] .i-pausa {
  display: none;
}

.car-pausa[aria-pressed=true] .i-play {
  display: grid;
}

@media (width<=860px) {
  .car-slide {
    align-items: flex-end;
    min-height: 600px;
  }
  .car-slide:after {
    background: linear-gradient(#06070b4d 0%,#06070bd9 55%,#06070bf7 100%);
  }
  .car-txt {
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .car-p {
    font-size: 17px;
  }
  .car-ctl {
    min-height: 0;
    padding-bottom: 8px;
  }
  .car-tabs {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .car-tab-t {
    clip: rect(0 0 0 0);
    white-space: nowrap;
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
  }
  .car-tab {
    min-height: 44px;
    padding: 0;
  }
  .car-barra {
    background: #ffffff29;
    border-radius: 2px;
    height: 4px;
    top: 20px;
    right: 6px;
  }
  .car-f {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .car-slide .car-img {
    transform: none;
  }
}

}

/* ===== componentes/carrusel-tarjetas.css ===== */
/* Componente Vistas/parciales/carrusel-tarjetas.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer componentes {

.tc {
  overflow: hidden;
}

.tc-oscuro {
  --logo-luz: var(--blue);
  --logo-azul: var(--blue-deep);
  --logo-sombra: var(--blue-sombra);
  --logo-amarillo: var(--acc);
  background: radial-gradient(ellipse 75% 60% at 50% 66%, var(--logo-luz) 0%, #05559f 48%, var(--logo-azul) 78%, var(--logo-sombra) 100%);
}

.tc-oscuro .lead {
  color: var(--text2);
}

.tc-oscuro .etq {
  color: #dce6fa;
  background: #ffffff14;
  border-color: #ffffff2e;
}

.tc-cab {
  grid-template-columns: minmax(0,1fr) minmax(0,400px);
  align-items: end;
  gap: 24px 48px;
  display: grid;
}

.tc-cab-d {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  display: flex;
}

.tc-todo {
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.tc-marco {
  margin-top: 56px;
}

.tc-pista {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  gap: 24px;
  margin: -10px 0 -6px;
  padding: 10px 0 6px;
  list-style: none;
  display: flex;
  overflow-x: auto;
}

.tc-pista::-webkit-scrollbar {
  display: none;
}

.tc-pista>li {
  scroll-snap-align: start;
  flex: 0 0 calc(33.3333% - 16px);
}

.tc-c {
  height: 100%;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  border-radius: 24px;
  flex-direction: column;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

a.tc-c:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -22px #0b1b3a66;
}

@media (hover:none) {
  .tc-actual a.tc-c {
    border-color: var(--blue);
  }
}

.tc-oscuro .tc-c {
  background: radial-gradient(130% 100% at 50% 75%, var(--logo-azul) 0%, var(--logo-sombra) 100%);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  isolation: isolate;
  border-color: #ffffff29;
  position: relative;
  box-shadow: 0 16px 36px -22px #021438cc;
}

.tc-oscuro a.tc-c:after {
  content: "";
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(90% 75% at 50% 72%, var(--logo-luz) 0%, #05559f 55%, var(--logo-azul) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  position: absolute;
  inset: 0;
}

.tc-oscuro a.tc-c:hover,
.tc-oscuro a.tc-c:focus-visible {
  border-color: var(--logo-amarillo);
  box-shadow: 0 0 0 1px var(--logo-amarillo), 0 22px 48px -18px #0168b3f2;
}

.tc-oscuro a.tc-c:hover:after,
.tc-oscuro a.tc-c:focus-visible:after {
  opacity: 1;
}

.tc-oscuro a.tc-c:hover p,
.tc-oscuro a.tc-c:focus-visible p,
.tc-oscuro a.tc-c:hover .tc-precio,
.tc-oscuro a.tc-c:focus-visible .tc-precio {
  color: #eef3fc;
}

.tc-oscuro a.tc-c:hover .tc-precio b,
.tc-oscuro a.tc-c:focus-visible .tc-precio b {
  color: #fff;
}

.tc-oscuro a.tc-c:hover .tc-ir {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--ink);
}

@media (hover:none) {
  .tc-oscuro .tc-actual a.tc-c {
    border-color: var(--logo-amarillo);
    box-shadow: 0 0 0 1px var(--logo-amarillo), 0 22px 48px -18px #0168b3f2;
  }
  .tc-oscuro .tc-actual a.tc-c:after {
    opacity: 1;
  }
  .tc-oscuro .tc-actual a.tc-c p,
  .tc-oscuro .tc-actual .tc-precio {
    color: #eef3fc;
  }
  .tc-oscuro .tc-actual .tc-precio b {
    color: #fff;
  }
}

.tc-img {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}

.tc-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 1.1s var(--ease);
}

a.tc-c:hover .tc-img img {
  transform: scale(1.06);
}

.tc-num {
  min-width: 36px;
  height: 30px;
  color: var(--blue);
  letter-spacing: .04em;
  background: #fffffff0;
  border-radius: 10px;
  place-items: center;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  position: absolute;
  top: 14px;
  left: 14px;
}

.tc-envio {
  color: var(--navy);
  background: #fffffff0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  position: absolute;
  bottom: 14px;
  left: 14px;
}

.tc-b {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 24px 26px 26px;
  display: flex;
}

.tc-b h3 {
  font-family: var(--display);
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.08;
}

.tc-b p {
  color: var(--text2);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.tc-pie {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  display: flex;
}

.tc-precio {
  color: var(--text2);
  font-size: 14.5px;
}

.tc-precio b {
  color: var(--accent-text);
  font-size: 17px;
}

.tc-ir {
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  place-items: center;
  width: 44px;
  height: 44px;
  transition: background .3s,color .3s,border-color .3s;
  display: grid;
}

a.tc-c:hover .tc-ir {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.tc-medida {
  background: radial-gradient(120% 90% at 100% 0%, var(--blue-brillo) 0%, var(--blue) 40%, var(--blue-deep) 75%, var(--blue-sombra) 100%);
  min-height: 100%;
  color: var(--text);
  box-shadow: none;
  isolation: isolate;
  border-color: #0000;
  justify-content: flex-end;
  position: relative;
}

.tc-medida:before {
  content: "";
  z-index: -1;
  border: 2px solid #fecc1780;
  border-radius: 28px;
  width: 180px;
  height: 180px;
  position: absolute;
  top: -40px;
  right: -40px;
  transform: rotate(45deg);
}

.tc-medida .tc-b {
  justify-content: flex-end;
  padding: 32px 28px 28px;
}

.tc-medida h3 {
  font-size: 30px;
}

.tc-medida p {
  color: var(--text2);
  font-size: 16px;
}

.tc-medida .btn {
  align-self: flex-start;
  margin-top: 10px;
}

.tc-ctl {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  display: flex;
}

.tc-puntos {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.tc-punto {
  cursor: pointer;
  background: 0 0;
  border: 0;
  width: 40px;
  height: 44px;
  padding: 0;
  position: relative;
}

.tc-punto i {
  background: var(--line-strong);
  border-radius: 2px;
  height: 4px;
  position: absolute;
  top: 20px;
  left: 4px;
  right: 4px;
  overflow: hidden;
}

.tc-punto i:after {
  content: "";
  background: var(--blue);
  transform-origin: 0;
  position: absolute;
  inset: 0;
  transform: scaleX(0);
}

.tc-punto[aria-current] i:after {
  transform: scaleX(1);
}

.corre:where([data-c="carrusel-tarjetas"]) .tc-punto:where([data-c="carrusel-tarjetas"])[aria-current] i:where([data-c="carrusel-tarjetas"]):after {
  animation: 3.5s linear both tc-avance;
}

@keyframes tc-avance {
  0% { transform: scaleX(0); }
}

.tc-flechas {
  align-items: center;
  gap: 10px;
  display: flex;
}

.tc-f {
  border: 1px solid var(--line-strong);
  width: 52px;
  height: 52px;
  color: var(--text);
  cursor: pointer;
  background: 0 0;
  border-radius: 50%;
  place-items: center;
  transition: background .3s,color .3s,border-color .3s;
  display: grid;
}

.tc-f:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.tc-f[hidden] {
  display: none;
}

.tc-pausa {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.tc-oscuro .tc-punto i:after {
  background: var(--logo-amarillo);
}

.tc-oscuro .tc-f:hover,
.tc-oscuro .tc-pausa {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--ink);
}

.tc-oscuro .tc-medida {
  border-color: #fecc1773;
}

.tc-pausa span {
  place-items: center;
  display: grid;
}

.tc-pausa .i-play,
.tc-pausa[aria-pressed=true] .i-pausa {
  display: none;
}

.tc-pausa[aria-pressed=true] .i-play {
  display: grid;
}

@media (width<=1080px) {
  .tc-pista>li {
    flex-basis: calc(50% - 12px);
  }
}

@media (width<=860px) {
  .tc-cab {
    grid-template-columns: minmax(0,1fr);
  }
  .tc-marco {
    margin-top: 40px;
  }
  .tc-pista {
    gap: 16px;
    margin-right: -16px;
    padding-right: 16px;
  }
  .tc-pista>li {
    flex-basis: 86%;
  }
  .tc-ctl {
    gap: 12px;
    margin-top: 24px;
  }
  .tc-puntos {
    flex-wrap: nowrap;
    gap: 2px;
    min-width: 0;
  }
  .tc-punto {
    width: 18px;
  }
  .tc-punto i {
    left: 2px;
    right: 2px;
  }
  .tc-f {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .tc-pista {
    scroll-behavior: auto;
  }
}

}

/* ===== componentes/ofertas.css ===== */
/* Componente Vistas/parciales/ofertas.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer componentes {

.of {
  isolation: isolate;
  background: radial-gradient(ellipse 80% 65% at 50% 70%, var(--blue) 0%, #05559f 45%, var(--blue-deep) 75%, var(--blue-sombra) 100%);
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}

.of[hidden] {
  display: none;
}

.of-fondo {
  z-index: -1;
  pointer-events: none;
  flex-direction: column;
  justify-content: space-around;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.of-fila {
  width: max-content;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #ffffff0d;
  white-space: nowrap;
  gap: 64px;
  font-size: clamp(56px,8vw,120px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  animation: 60s linear infinite of-desliza;
  display: flex;
}

.of-inv {
  margin-left: -30%;
  animation-direction: reverse;
}

@keyframes of-desliza {
  to { transform: translate(-25%); }
}

.of-cab {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 32px 48px;
  display: grid;
}

.of-chip {
  background: var(--acc);
  color: var(--ink);
  letter-spacing: .02em;
  border-radius: 999px;
  margin: 0 0 18px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
}

.of-h {
  max-width: 7.5ch;
  font-size: clamp(48px,6.4vw,88px);
}

.of-reloj-t {
  color: var(--text2);
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.of-cuenta {
  gap: 12px;
  display: flex;
}

.of-u {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  display: flex;
}

.of-digitos {
  perspective: 300px;
  gap: 4px;
  display: flex;
}

.of-dig {
  width: 46px;
  height: 62px;
  font-family: var(--display);
  color: #fff;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(#0a2f66 0 50%,#072650 50% 100%);
  border-radius: 10px;
  place-items: center;
  font-size: 38px;
  font-weight: 800;
  font-stretch: 110%;
  display: grid;
  position: relative;
  box-shadow: inset 0 1px #ffffff1f,0 10px 20px -12px #0009;
}

.of-dig>span {
  transform-origin: 50%;
  display: block;
}

.of-dig:after {
  content: "";
  z-index: 1;
  background: #00000059;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
}

.of-u-t {
  color: var(--acc);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.of-l {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.of-c {
  isolation: isolate;
  height: 100%;
  color: var(--text);
  background: radial-gradient(130% 100% at 50% 75%, var(--blue-deep) 0%, var(--blue-sombra) 100%);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  border: 1px solid #fecc1759;
  border-radius: 24px;
  flex-direction: column;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px #021438e6;
}

.of-c:after {
  content: "";
  z-index: -1;
  background: radial-gradient(90% 75% at 50% 72%, var(--blue) 0%, #05559f 55%, var(--blue-deep) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  position: absolute;
  inset: 0;
}

.of-c:hover,
.of-c:focus-visible {
  color: var(--text);
  border-color: var(--acc);
  box-shadow: 0 0 0 1px var(--acc), 0 26px 56px -18px #0168b3f2;
  transform: translateY(-8px);
}

.of-c:hover:after,
.of-c:focus-visible:after {
  opacity: 1;
}

.of-img {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.of-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 1.1s var(--ease);
}

.of-c:hover .of-img img {
  transform: scale(1.06);
}

.of-sello {
  background: var(--acc);
  color: var(--ink);
  font-family: var(--display);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 20px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1;
  animation: 2.4s ease-out infinite of-late;
  position: absolute;
  top: 14px;
  left: 14px;
  box-shadow: 0 0 #fecc17b3;
}

@keyframes of-late {
  0% { box-shadow: 0 0 #fecc17b3; }
  70%,to { box-shadow: 0 0 0 14px #fecc1700; }
}

.of-envio {
  color: var(--navy);
  background: #fffffff0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  position: absolute;
  top: 14px;
  right: 14px;
}

.of-b {
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 22px 26px 26px;
  display: flex;
}

.of-cat {
  color: var(--acc);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 12.5px;
  font-weight: 800;
}

.of-b h3 {
  font-family: var(--display);
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.08;
}

.of-b p {
  color: var(--text2);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.of-c:hover .of-b p,
.of-c:focus-visible .of-b p {
  color: #eef3fc;
}

.of-pie {
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  display: flex;
}

.of-precio {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.of-antes {
  color: var(--text2);
  font-size: 14px;
}

.of-antes s {
  text-decoration-color: #fecc17cc;
  text-decoration-thickness: 2px;
}

.of-ahora {
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
}

.of-ahora b {
  font-family: var(--display);
  color: var(--acc);
  white-space: nowrap;
  font-size: 40px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.05;
}

.of-ir {
  background: var(--acc);
  min-height: 48px;
  color: var(--ink);
  transition: box-shadow .35s var(--ease);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
}

.of-ir svg {
  transition: transform .35s var(--ease);
}

.of-c:hover .of-ir {
  box-shadow: 0 12px 28px -10px #fecc17b3;
}

.of-c:hover .of-ir svg {
  transform: translate(4px);
}

.of-ctl {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  display: none;
}

.of-puntos {
  gap: 4px;
  display: flex;
}

.of-punto {
  cursor: pointer;
  background: 0 0;
  border: 0;
  width: 36px;
  height: 44px;
  padding: 0;
  position: relative;
}

.of-punto i {
  background: var(--line-strong);
  border-radius: 2px;
  height: 4px;
  position: absolute;
  top: 20px;
  left: 3px;
  right: 3px;
  overflow: hidden;
}

.of-punto i:after {
  content: "";
  background: var(--acc);
  transform-origin: 0;
  position: absolute;
  inset: 0;
  transform: scaleX(0);
}

.of-punto[aria-current] i:after {
  transform: scaleX(1);
}

.corre:where([data-c="ofertas"]) .of-punto:where([data-c="ofertas"])[aria-current] i:where([data-c="ofertas"]):after {
  animation: 3.5s linear both of-avance;
}

@keyframes of-avance {
  0% { transform: scaleX(0); }
}

.of-flechas {
  align-items: center;
  gap: 10px;
  display: flex;
}

.of-f {
  border: 1px solid var(--line-strong);
  width: 44px;
  height: 44px;
  color: var(--text);
  cursor: pointer;
  background: 0 0;
  border-radius: 50%;
  place-items: center;
  transition: background .3s,color .3s,border-color .3s;
  display: grid;
}

.of-f:hover,
.of-f:active {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--ink);
}

.of-f[hidden] {
  display: none;
}

.of-pausa span {
  place-items: center;
  display: grid;
}

.of-pausa .i-play,
.of-pausa[aria-pressed=true] .i-pausa {
  display: none;
}

.of-pausa[aria-pressed=true] .i-play {
  display: grid;
}

.of-cond {
  max-width: 820px;
  color: var(--text3);
  margin: 28px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
}

@media (width<=1080px) {
  .of-b h3 {
    font-size: 23px;
  }
}

@media (width<=860px) {
  .of {
    padding: 72px 0 64px;
  }
  .of-cab {
    grid-template-columns: minmax(0,1fr);
    align-items: start;
    gap: 28px;
  }
  .of-l {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 16px;
    margin-top: 40px;
    margin-right: -16px;
    padding: 10px 16px 6px 0;
    display: flex;
    overflow-x: auto;
  }
  .of-l::-webkit-scrollbar {
    display: none;
  }
  .of-l>li {
    scroll-snap-align: start;
    flex: 0 0 86%;
  }
  .of-ctl {
    display: flex;
  }
  .of-actual .of-c {
    border-color: var(--acc);
    box-shadow: 0 0 0 1px var(--acc), 0 22px 48px -18px #0168b3f2;
  }
  .of-actual .of-c:after {
    opacity: 1;
  }
  .of-dig {
    width: 38px;
    height: 52px;
    font-size: 30px;
  }
  .of-cuenta {
    gap: 8px;
  }
}

@media (width<=380px) {
  .of-dig {
    width: 32px;
    height: 46px;
    font-size: 26px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .of-fila,
  .of-sello {
    animation: none;
  }
}

}

/* ===== paginas/inicio.css ===== */
/* Página Vistas/paginas/inicio.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer paginas {

.marq {
  border-block: 1px solid var(--line);
  background: var(--card);
  padding: 22px 0;
  overflow: hidden;
}

.marq-track {
  gap: 56px;
  width: max-content;
  animation: 40s linear infinite marq;
  display: flex;
}

.marq-track span {
  font-family: var(--display);
  white-space: nowrap;
  color: #9aa6bc;
  align-items: center;
  gap: 56px;
  font-size: 26px;
  font-weight: 700;
  font-stretch: 115%;
  display: flex;
}

.marq-track span:after {
  content: "";
  background: var(--gold);
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}

.marq:hover .marq-track {
  animation-play-state: paused;
}

@keyframes marq {
  to { transform: translate(-50%); }
}

.enlace {
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.demo-grid:where([data-c="pagina-inicio"]) {
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  align-items: center;
  gap: 56px;
  display: grid;
}

.demo-grid:where([data-c="pagina-inicio"]) .lead:where([data-c="pagina-inicio"]) {
  margin: 20px 0 32px;
}

.ws {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 72px;
  display: grid;
}

.ws-foto {
  margin-bottom: 40px;
}

.ws-photo {
  aspect-ratio: 5/4;
  border-radius: 24px;
  overflow: hidden;
}

.ws-photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.ws-flot {
  background: var(--card);
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 18px 12px 12px;
  display: flex;
  position: absolute;
  bottom: 28px;
  right: -28px;
  box-shadow: 0 16px 36px -12px #0b1b3a4d;
}

.ws-flot small {
  color: var(--text2);
  font-size: 13px;
  display: block;
}

.ws-flot strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
}

.ws-flot-ic {
  background: var(--text);
  width: 40px;
  height: 40px;
  color: var(--acc);
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

.ws-acc {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  display: flex;
}

@media (width<=1080px) {
  .demo-grid:where([data-c="pagina-inicio"]) {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (width<=860px) {
  .ws {
    grid-template-columns: minmax(0,1fr);
    gap: 48px;
  }
  .ws-foto {
    margin-bottom: 56px;
  }
  .ws-flot {
    bottom: -36px;
    left: 16px;
    right: auto;
  }
  .marq-track span {
    font-size: 20px;
  }
}

}

/* ===== componentes/precios.css ===== */
/* Componente Vistas/parciales/precios.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer componentes {

.cab {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  display: flex;
}

.cab .sec-h {
  max-width: 700px;
}

.cab .lead {
  max-width: 420px;
}

.prices {
  grid-template-columns: repeat(var(--cols,4), minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
  display: grid;
}

.price {
  border: 1px solid var(--line);
  grid-row: span var(--filas,7);
  grid-template-rows: subgrid;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), border-color .45s;
  border-radius: 22px;
  align-content: start;
  row-gap: 14px;
  padding: 28px 24px;
  display: grid;
  position: relative;
}

.monto {
  align-self: end;
}

.price:hover {
  border-color: #c9a24a99;
  transform: translateY(-6px);
}

.price h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.price .ideal {
  color: var(--text3);
  font-size: 13.5px;
}

.ideal b {
  color: var(--gold-text);
  font-weight: 600;
}

.from {
  color: var(--text3);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
}

.amt {
  font-family: var(--display);
  letter-spacing: -.02em;
  align-items: flex-start;
  gap: 4px;
  font-size: 44px;
  font-weight: 800;
  font-stretch: 105%;
  line-height: 1;
  display: flex;
}

.amt small {
  color: var(--gold-text);
  margin-top: 6px;
  font-size: 18px;
}

.amt-txt {
  font-size: 32px;
}

.price p {
  color: var(--text2);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
}

.lista {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  display: flex;
}

.lista li {
  color: var(--text);
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
}

.lista svg {
  color: var(--accent-text);
  flex: none;
  margin-top: 1px;
}

.price .dias {
  color: var(--text3);
  align-self: end;
  font-size: 13.5px;
}

.price .dias b {
  color: var(--text);
  font-weight: 600;
}

.go {
  align-self: end;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 20px;
  font-size: 15px;
}

.hot {
  background: var(--logo-grad);
  border-color: #0000;
  box-shadow: 0 18px 40px -18px #0168b3b3;
}

.hot p,
.hot .dias,
.hot .ideal {
  color: #dce6fa;
}

.hot .ideal b {
  color: var(--acc);
}

.hot .from {
  color: #c7d7f5;
}

.hot .amt small {
  color: var(--acc);
}

.hot .lista {
  border-top-color: #fff3;
}

.hot .lista li {
  color: #fff;
}

.badge {
  white-space: nowrap;
  background: var(--acc);
  color: var(--ink);
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 800;
  position: absolute;
  top: -12px;
  left: 50%;
  translate: -50%;
}

.incl {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  margin-top: 40px;
  padding: 28px;
}

.incl-t {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.incl dl {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px 32px;
  margin: 20px 0 0;
  display: grid;
}

.incl dt {
  color: var(--gold-text);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.incl dd {
  color: var(--text2);
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.4;
  display: flex;
}

.incl dd svg {
  color: var(--accent-text);
  flex: none;
  margin-top: 2px;
}

.pago-fila {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
  display: flex;
}

.pago {
  color: var(--text2);
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.mas {
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.aparte {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  padding: 24px 28px;
  display: flex;
}

.incl+.aparte {
  margin-top: 16px;
}

.aparte-i {
  width: 40px;
  height: 40px;
  color: var(--blue);
  background: #0168b31a;
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

.aparte-t {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.aparte-d {
  color: var(--text2);
  max-width: 820px;
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.prices.pl {
  touch-action: pan-y;
  grid-template-columns: minmax(0,1fr);
  max-width: 440px;
  margin-inline: auto;
  position: relative;
}

.pl:where([data-c="precios"])>.price:where([data-c="precios"]),
.pl-hoja>.price:where([data-c="precios"]) {
  flex-direction: column;
  grid-area: 1/1;
  gap: 14px;
  display: flex;
}

.pl:where([data-c="precios"])>.price:where([data-c="precios"]) {
  visibility: hidden;
}

.pl:where([data-c="precios"])>.price:where([data-c="precios"]).pl-on {
  visibility: visible;
}

.pl:where([data-c="precios"])>.price:where([data-c="precios"]):hover {
  transform: none;
}

.pl:where([data-c="precios"])>.price:where([data-c="precios"])>:where([data-c="precios"]),
.pl-hoja>.price:where([data-c="precios"])>:where([data-c="precios"]) {
  align-self: stretch;
}

.pl:where([data-c="precios"])>.price:where([data-c="precios"])>.go:where([data-c="precios"]),
.pl-hoja>.price:where([data-c="precios"])>.go:where([data-c="precios"]) {
  align-self: flex-start;
  margin-top: auto;
}

.pl-hoja>.price:where([data-c="precios"]) {
  margin: 0;
  position: absolute;
  inset: 0;
}

.pl-ctl {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 440px;
  margin: 24px auto 0;
  display: flex;
}

.pl-ctl[hidden] {
  display: none;
}

.pl-cont {
  color: var(--text3);
  font-size: 15px;
}

.pl-cont b {
  color: var(--text);
  font-size: 18px;
}

.pl-flechas {
  gap: 10px;
  display: flex;
}

.pl-f {
  border: 1px solid var(--line-strong);
  background: var(--card);
  width: 48px;
  height: 48px;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.pl-f:active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.pl-f[hidden] {
  display: none;
}

.pl-pausa span {
  place-items: center;
  display: grid;
}

.pl-pausa .i-play,
.pl-pausa[aria-pressed=true] .i-pausa {
  display: none;
}

.pl-pausa[aria-pressed=true] .i-play {
  display: grid;
}

@media (width<=1080px) {
  .prices,
  .incl dl {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (width<=560px) {
  .prices,
  .incl dl {
    grid-template-columns: minmax(0,1fr);
  }
  .incl,
  .aparte {
    padding: 22px;
  }
}

}

/* ===== componentes/cierre.css ===== */
/* Componente Vistas/parciales/cierre.php. */

@layer componentes {

.cierre {
  padding: 32px 0 96px;
}

.final {
  isolation: isolate;
  background: radial-gradient(circle 420px at 8% 0%, #fecc1729, transparent 70%), radial-gradient(circle 520px at 95% 100%, #0b7ac98c, transparent 70%), linear-gradient(#ffffff0d 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, #ffffff0d 1px, transparent 1px) 0 0 / 48px 48px, radial-gradient(120% 140% at 100% 0%, var(--blue) 0%, var(--blue-deep) 45%, var(--navy) 100%);
  border: 0;
  border-radius: 36px;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  align-items: center;
  gap: 48px;
  padding: 80px 64px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px #042c5e99;
}

.final .disp {
  font-size: clamp(40px,5vw,72px);
  position: relative;
}

.final-dest {
  color: var(--acc);
}

.final-etq {
  color: #dce6fa;
  background: #ffffff14;
  border-color: #ffffff2e;
}

.final .lead {
  color: #dce6fa;
  margin-top: 24px;
  position: relative;
}

.final .final-mark {
  opacity: .08;
  z-index: -1;
  animation: 9s ease-in-out infinite float;
  position: absolute;
  bottom: -70px;
  right: -40px;
}

@keyframes float {
  0%,to { transform: translateY(0)rotate(-4deg); }
  50% { transform: translateY(-18px)rotate(2deg); }
}

.final-acc {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  display: flex;
  position: relative;
}

.final-acc .btn {
  min-height: 60px;
  padding: 0 32px;
  font-size: 18px;
}

.tel {
  color: #fff;
  min-height: 60px;
  font-family: var(--display);
  letter-spacing: .02em;
  background: #ffffff0f;
  border: 1px solid #ffffff38;
  border-radius: 999px;
  align-items: center;
  gap: 12px;
  padding: 0 24px 0 10px;
  font-size: 20px;
  font-weight: 700;
  font-stretch: 110%;
  text-decoration: none;
  transition: background .3s,border-color .3s;
  display: inline-flex;
}

.tel:hover {
  color: #fff;
  background: #ffffff1f;
  border-color: #fff6;
}

.tel-ic {
  background: #ffffff1a;
  border-radius: 50%;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
}

.final-cats {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  position: relative;
}

.final-cats li:nth-child(2n) {
  transform: translateY(28px);
}

.final-cats a {
  color: #fff;
  backdrop-filter: blur(4px);
  height: 100%;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  background: #ffffff0f;
  border: 1px solid #ffffff24;
  border-radius: 20px;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  text-decoration: none;
  display: flex;
}

.final-cats a:hover {
  color: #fff;
  border-color: var(--acc);
  background: #ffffff1a;
  transform: translateY(-4px);
}

.fc-ic {
  background: var(--acc);
  width: 40px;
  height: 40px;
  color: var(--ink);
  border-radius: 50%;
  place-items: center;
  margin-bottom: 18px;
  display: grid;
}

.fc-n {
  letter-spacing: .1em;
  color: #a9bee3;
  font-size: 12px;
}

.fc-t {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  font-stretch: 108%;
}

.pagar-fr {
  isolation: isolate;
  background: var(--acc);
  color: #0b1b3a;
  min-height: 72px;
  transition: transform .35s var(--ease), box-shadow .35s;
  border-radius: 18px;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 12px 24px 12px 14px;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px -16px #785a0099;
}

.pagar-fr:after {
  content: "";
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg,#0000,#ffffffa6,#0000);
  width: 30%;
  position: absolute;
  inset: -20% auto -20% -40%;
  transform: skew(-20deg)translate(0);
}

.pagar-fr:hover {
  color: #0b1b3a;
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -16px #785a00b3;
}

.pagar-fr:hover:after {
  animation: brillo .9s var(--ease) both;
}

@keyframes brillo {
  to { transform: skew(-20deg)translate(560%); }
}

.pagar-fr:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.pf-ic {
  width: 44px;
  height: 44px;
  color: var(--acc);
  background: #0b1b3a;
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

.pf-tx {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
}

.pf-tx b {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 105%;
}

.pf-acc {
  font-family: var(--display);
  flex: none;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  font-stretch: 105%;
  display: inline-flex;
}

.pf-acc svg {
  transition: transform .35s var(--ease);
}

.pagar-fr:hover .pf-acc svg {
  transform: translate(5px);
}

@media (prefers-reduced-motion:reduce) {
  .pagar-fr,
  .pagar-fr:hover {
    transform: none;
  }
  .pagar-fr:hover:after {
    animation: none;
  }
}

@media (width<=1080px) {
  .final {
    grid-template-columns: minmax(0,1fr);
  }
  .final-cats li:nth-child(2n) {
    transform: none;
  }
}

@media (width<=860px) {
  .final {
    border-radius: 24px;
    padding: 56px 24px;
  }
}

@media (width<=560px) {
  .final .final-mark {
    display: none;
  }
  .final-cats {
    gap: 12px;
  }
  .final-cats a {
    padding: 16px;
  }
  .fc-ic {
    margin-bottom: 12px;
  }
  .fc-t {
    font-size: 16px;
  }
  .pagar-fr {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }
  .pf-tx {
    flex: calc(100% - 60px);
    font-size: 15px;
  }
  .pf-acc {
    margin-left: 56px;
  }
}

}

/* ===== componentes/servicios-grid.css ===== */
/* Componente Vistas/parciales/servicios-grid.php. */

@layer componentes {

.sg {
  overflow: hidden;
}

.sg-cab {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  display: flex;
}

.sg-cab .sec-h {
  max-width: 1000px;
}

.sg-cab .lead {
  color: #dce6fa;
  max-width: 360px;
}

.sg-marco {
  margin-top: 64px;
}

.sg-l {
  grid-template-columns: repeat(var(--cols,3), minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.sg-pista {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  margin: -10px 0 -6px;
  padding: 10px 0 6px;
  display: flex;
  overflow-x: auto;
}

.sg-pista::-webkit-scrollbar {
  display: none;
}

.sg-pista>li {
  scroll-snap-align: start;
  flex: 0 0 calc(33.3333% - 16px);
}

.sg-pista.destacar>li:first-child {
  flex-basis: calc(66.6667% - 8px);
}

.destacar>li:first-child {
  grid-column: span 2;
}

.destacar>li:first-child .sg-c {
  flex-direction: row;
}

.destacar>li:first-child .sg-img {
  aspect-ratio: auto;
  flex: 0 0 52%;
  position: relative;
}

.destacar>li:first-child .sg-img img {
  position: absolute;
  inset: 0;
}

.destacar>li:first-child .sg-b {
  justify-content: center;
  padding: 36px 36px 32px;
}

.destacar>li:first-child h3 {
  font-size: 38px;
}

.destacar>li:first-child p {
  font-size: 16.5px;
}

.destacar>li:first-child .sg-pie {
  margin-top: 12px;
}

.sg-planes {
  border-top: 1px solid #ffffff1f;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.sg-planes li {
  color: #dce6fa;
  border-bottom: 1px solid #ffffff1f;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  font-size: 15.5px;
  display: flex;
}

.sg-planes b {
  font-family: var(--display);
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  font-stretch: 105%;
}

.sg-c {
  height: 100%;
  color: var(--text);
  background: radial-gradient(130% 100% at 50% 75%, var(--blue-deep) 0%, var(--blue-sombra) 100%);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  border: 1px solid #ffffff29;
  border-radius: 24px;
  flex-direction: column;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.sg-c:hover {
  color: var(--text);
  border-color: var(--acc);
  box-shadow: 0 0 0 1px var(--acc), 0 22px 48px -18px #0168b3f2;
  transform: translateY(-6px);
}

.sg-img {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}

.sg-img img {
  object-fit: cover;
  filter: saturate(.85);
  width: 100%;
  height: 100%;
  transition: transform 1.1s var(--ease), filter .6s;
}

.sg-c:hover .sg-img img {
  filter: saturate();
  transform: scale(1.06);
}

.sg-b {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 24px 26px 26px;
  display: flex;
}

.sg-b h3 {
  font-family: var(--display);
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.05;
}

.sg-b p {
  color: var(--text2);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.sg-pie {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  display: flex;
}

.sg-precio {
  color: var(--text2);
  font-size: 14.5px;
}

.sg-precio b,
.sg-precio b {
  color: var(--acc);
  font-size: 17px;
}

.sg-ir {
  border: 1px solid #ffffff3d;
  border-radius: 50%;
  place-items: center;
  width: 44px;
  height: 44px;
  transition: background .3s,color .3s,border-color .3s;
  display: grid;
}

.sg-c:hover .sg-ir {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--ink);
}

.sg-ctl {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  display: flex;
}

.sg-puntos {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.sg-punto {
  cursor: pointer;
  background: 0 0;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
}

.sg-punto i {
  background: #ffffff38;
  border-radius: 2px;
  height: 4px;
  transition: background .3s;
  position: absolute;
  top: 20px;
  left: 4px;
  right: 4px;
  overflow: hidden;
}

.sg-punto:hover i {
  background: #fff6;
}

.sg-punto i:after {
  content: "";
  background: var(--acc);
  transform-origin: 0;
  position: absolute;
  inset: 0;
  transform: scaleX(0);
}

.sg-punto[aria-current] i:after {
  transform: scaleX(1);
}

.es-car.corre .sg-punto[aria-current] i:after {
  animation: 5s linear both sg-avance;
}

@keyframes sg-avance {
  0% { transform: scaleX(0); }
}

.sg-flechas {
  align-items: center;
  gap: 10px;
  display: flex;
}

.sg-f {
  width: 52px;
  height: 52px;
  color: var(--text);
  cursor: pointer;
  background: 0 0;
  border: 1px solid #ffffff47;
  border-radius: 50%;
  place-items: center;
  transition: background .3s,color .3s,border-color .3s;
  display: grid;
}

.sg-f:hover {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--ink);
}

.sg-f[hidden] {
  display: none;
}

.sg-pausa span {
  place-items: center;
  display: grid;
}

.sg-pausa .i-play,
.sg-pausa[aria-pressed=true] .i-pausa {
  display: none;
}

.sg-pausa[aria-pressed=true] .i-play {
  display: grid;
}

@media (width<=1080px) {
  .sg-l {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .sg-pista>li {
    flex-basis: calc(50% - 12px);
  }
  .sg-pista.destacar>li:first-child {
    flex-basis: 100%;
  }
}

@media (width<=860px) {
  .sg-pista {
    margin-right: -16px;
    padding-right: 16px;
    scroll-padding-left: 0;
  }
  .sg-pista>li,
  .sg-pista.destacar>li:first-child {
    flex-basis: 86%;
  }
  .sg-pista.destacar>li:first-child .sg-c {
    flex-direction: column;
  }
  .sg-pista.destacar>li:first-child .sg-img {
    aspect-ratio: 16/10;
    flex: none;
    position: static;
  }
  .sg-pista.destacar>li:first-child .sg-img img {
    position: static;
  }
  .sg-pista.destacar>li:first-child .sg-b {
    padding: 24px 26px 26px;
  }
  .sg-pista.destacar>li:first-child h3 {
    font-size: 26px;
  }
  .sg-ctl {
    gap: 12px;
    margin-top: 24px;
  }
  .sg-puntos {
    gap: 4px;
  }
  .sg-punto {
    width: 24px;
  }
  .sg-punto i {
    left: 2px;
    right: 2px;
  }
  .sg-pista .sg-planes {
    display: none;
  }
  .sg-f {
    width: 44px;
    height: 44px;
  }
}

@media (width<=640px) {
  .sg-l:not(.sg-pista) {
    grid-template-columns: minmax(0,1fr);
  }
  .sg-l:not(.sg-pista).destacar>li:first-child {
    grid-column: auto;
  }
  .sg-l:not(.sg-pista).destacar>li:first-child .sg-c {
    flex-direction: column;
  }
  .sg-l:not(.sg-pista).destacar>li:first-child .sg-img {
    aspect-ratio: 16/10;
    position: static;
  }
  .sg-l:not(.sg-pista).destacar>li:first-child .sg-img img {
    position: static;
  }
  .sg-l:not(.sg-pista).destacar>li:first-child .sg-b {
    padding: 24px 26px 26px;
  }
  .sg-l:not(.sg-pista).destacar>li:first-child h3 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .sg-pista {
    scroll-behavior: auto;
  }
}

}

/* ===== paginas/servicio.css ===== */
/* Página Vistas/paginas/servicio.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer paginas {

.cab-acc {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 36px;
  display: flex;
}

.cab-precio {
  color: var(--text2);
  align-items: baseline;
  gap: 10px;
  margin: 0;
  display: flex;
}

.cab-precio b {
  font-family: var(--display);
  color: var(--text);
  font-size: 40px;
  font-weight: 800;
  font-stretch: 110%;
}

.cab-precio {
  flex-wrap: wrap;
}

.cab-oferta {
  background: var(--acc);
  color: var(--ink);
  border-radius: 999px;
  align-self: center;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
}

.dos-col {
  grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
  align-items: start;
  gap: 72px;
  display: grid;
}

.incluye {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.incluye li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  font-size: 16.5px;
  line-height: 1.45;
  display: flex;
}

.ok {
  width: 30px;
  height: 30px;
  color: var(--text);
  background: #fecc174d;
  border-radius: 50%;
  flex: none;
  place-items: center;
  margin-top: -3px;
  display: grid;
}

.sub-h {
  font-size: clamp(28px,3vw,40px);
}

.para {
  background: var(--logo-grad);
  border-radius: 24px;
  padding: 36px;
}

.para ul {
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.para li {
  color: #dce6fa;
  padding-left: 22px;
  font-size: 16.5px;
  line-height: 1.55;
  position: relative;
}

.para li:before {
  content: "";
  background: var(--acc);
  border-radius: 2px;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 9px;
  left: 0;
  transform: rotate(45deg);
}

.proceso {
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 28px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.proceso li {
  background: #ffffff0f;
  border: 1px solid #ffffff24;
  border-radius: 20px;
  padding: 28px;
}

.paso {
  background: var(--acc);
  width: 52px;
  height: 52px;
  color: var(--ink);
  font-family: var(--display);
  border-radius: 50%;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  display: grid;
}

.nec .paso {
  color: var(--text);
  background: #fecc174d;
}

.proceso h3 {
  font-family: var(--display);
  margin: 22px 0 8px;
  font-size: 26px;
  font-weight: 800;
  font-stretch: 110%;
}

.proceso p {
  color: var(--text2);
  margin: 0;
  line-height: 1.6;
}

.bloque {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 48px;
  display: flex;
}

.b-precio {
  color: var(--text2);
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 0;
  display: flex;
}

.b-precio b {
  font-family: var(--display);
  color: var(--text);
  font-size: 56px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1;
}

.b-txt {
  color: var(--text2);
  max-width: 52ch;
  margin: 14px 0 0;
  line-height: 1.6;
}

.sin-top:where([data-c="pagina-servicio"]) {
  padding-top: 0;
}

.dest-s {
  padding-bottom: 0;
}

.dest {
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid #c9a24a73;
  border-radius: 28px;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  display: grid;
  overflow: hidden;
}

.dest-foto {
  min-height: 420px;
  position: relative;
}

.dest-foto img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.dest-foto:after {
  content: "";
  background: linear-gradient(90deg, #fff0 55%, var(--card));
  position: absolute;
  inset: 0;
}

.dest-cuerpo {
  flex-direction: column;
  align-items: flex-start;
  padding: 56px 56px 56px 32px;
  display: flex;
}

.dest-badge {
  background: var(--acc);
  color: var(--ink);
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 22px;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 800;
}

.dest .sec-h {
  font-size: clamp(32px,3.6vw,52px);
}

.dest .lead {
  margin-top: 18px;
  font-size: 18px;
}

.dest-precio {
  color: var(--text2);
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 28px 0 0;
  display: flex;
}

.dest-precio b {
  font-family: var(--display);
  color: var(--text);
  font-size: 48px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1;
}

.dest-precio span {
  color: var(--text3);
}

.dest-l {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px 24px;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.dest-l li {
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
  display: flex;
}

.dest-l .ok {
  width: 26px;
  height: 26px;
  margin-top: -1px;
}

.dest-nota {
  color: var(--text3);
  margin: 22px 0 28px;
  font-size: 15px;
}

.nec {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 28px;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  align-items: center;
  gap: 32px 72px;
  padding: 48px;
  display: grid;
}

.nec-l {
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.nec-l li {
  align-items: center;
  gap: 18px;
  font-size: 17px;
  line-height: 1.45;
  display: flex;
}

.nec-l .paso {
  flex: none;
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.demo-grid:where([data-c="pagina-servicio"]) {
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  align-items: center;
  gap: 56px;
  display: grid;
}

.demo-grid:where([data-c="pagina-servicio"]) .lead:where([data-c="pagina-servicio"]) {
  margin-top: 20px;
}

@media (width<=1080px) {
  .dos-col,
  .demo-grid:where([data-c="pagina-servicio"]),
  .nec,
  .dest {
    grid-template-columns: minmax(0,1fr);
    gap: 48px;
  }
  .dest {
    gap: 0;
  }
  .dest-foto {
    min-height: 260px;
  }
  .dest-foto:after {
    background: linear-gradient(180deg, #fff0 55%, var(--card));
  }
  .dest-cuerpo {
    padding: 32px 40px 44px;
  }
  .nec {
    gap: 28px;
  }
  .proceso {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (width<=640px) {
  .incluye,
  .proceso {
    grid-template-columns: minmax(0,1fr);
  }
  .para,
  .bloque,
  .nec {
    padding: 28px 22px;
  }
  .dest-cuerpo {
    padding: 24px 22px 32px;
  }
  .dest-l {
    grid-template-columns: minmax(0,1fr);
  }
}

}

/* ===== paginas/404.css ===== */
/* Página Vistas/paginas/404.php. */

@layer paginas {

.nf {
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  align-items: center;
  gap: 64px;
  display: grid;
}

.nf-h {
  margin-bottom: 24px;
  font-size: clamp(40px,6vw,80px);
}

.nf-btns {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  display: flex;
}

.nf-at ul {
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.nf-at a {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.nf-at a:hover {
  border-color: var(--blue);
}

.nf-iso {
  aspect-ratio: 1;
  background: var(--logo-grad);
  border-radius: 32px;
  place-items: center;
  display: grid;
}

@media (width<=960px) {
  .nf {
    grid-template-columns: minmax(0,1fr);
    gap: 40px;
  }
  .nf-deco {
    order: -1;
    width: 160px;
  }
  .nf-iso {
    border-radius: 24px;
  }
  .nf-iso svg {
    width: 88px;
    height: 88px;
  }
}

}

/* ===== componentes/cabecera.css ===== */
/* Componente Vistas/parciales/cabecera.php. */

@layer componentes {

.cab-p {
  isolation: isolate;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.migas+.etq {
  margin-top: -8px;
}

.cab-p:not(.con-img):before {
  content: "";
  z-index: -1;
  background: radial-gradient(closest-side,#0168b329,#0168b300);
  border-radius: 50%;
  width: 820px;
  height: 820px;
  position: absolute;
  top: -420px;
  right: -240px;
}

.con-img {
  padding: 140px 0 96px;
}

.cab-p .cab-img {
  object-fit: cover;
  z-index: -2;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.con-img:after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg,#06070bf2 0%,#06070bd1 45%,#06070b4d 100%),linear-gradient(#06070b00 60%,#06070be6);
  position: absolute;
  inset: 0;
}

.migas ol {
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  font-size: 14px;
  list-style: none;
  display: flex;
}

.migas li+li:before {
  content: "/";
  color: var(--text3);
  margin-right: 8px;
}

.migas a {
  color: var(--text3);
  text-decoration: none;
}

.migas a:hover {
  color: var(--text);
}

.cab-h {
  max-width: 15ch;
  font-size: clamp(42px,6vw,84px);
}

.cab-b {
  max-width: 58ch;
  color: var(--text2);
  margin-top: 26px;
}

.con-lado {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 32px;
  display: grid;
}

.cab-lado {
  width: clamp(200px,22vw,320px);
}

@media (width<=860px) {
  .con-lado {
    grid-template-columns: minmax(0,1fr);
    gap: 36px;
  }
  .cab-lado {
    width: 132px;
    margin: 0;
  }
  .cab-p {
    padding: 64px 0 56px;
  }
  .con-img {
    padding: 120px 0 56px;
  }
  .con-img:after {
    background: linear-gradient(#06070b66,#06070bb3 40%,#06070bf5 90%);
  }
}

}

/* ===== paginas/blog.css ===== */
/* Página Vistas/paginas/blog.php. */

@layer paginas {

.posts {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.posts a {
  border: 1px solid var(--line);
  background: var(--card);
  height: 100%;
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform .45s var(--ease), border-color .45s;
  border-radius: 24px;
  flex-direction: column;
  gap: 12px;
  padding: 36px;
  text-decoration: none;
  display: flex;
}

.posts a:hover {
  color: var(--text);
  border-color: #0168b373;
  transform: translateY(-6px);
}

.posts .etq {
  align-self: flex-start;
  margin: 0 0 4px;
}

.posts h2 {
  font-family: var(--display);
  text-wrap: balance;
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.1;
}

.posts p {
  color: var(--text2);
  margin: 0;
  line-height: 1.6;
}

.leer {
  color: var(--link);
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-weight: 700;
  display: inline-flex;
}

@media (width<=860px) {
  .posts {
    grid-template-columns: minmax(0,1fr);
  }
  .posts a {
    padding: 28px 22px;
  }
}

}

/* ===== paginas/articulo.css ===== */
/* Página Vistas/paginas/articulo.php. */

@layer paginas {

.fecha {
  color: var(--text3);
  margin: 24px 0 0;
}

.prosa {
  max-width: 760px;
  color: var(--text2);
  font-size: 18px;
  line-height: 1.75;
}

.prosa h2 {
  font-family: var(--display);
  color: var(--text);
  margin: 2em 0 .6em;
  font-size: 30px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.15;
}

.prosa p,
.prosa ul {
  margin: 0 0 1.1em;
}

.prosa li {
  margin-bottom: .4em;
}

.prosa strong {
  color: var(--text);
}

.prosa>:first-child {
  margin-top: 0;
}

}

/* ===== paginas/contacto.css ===== */
/* Página Vistas/paginas/contacto.php. */

@layer paginas {

.ct {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  display: grid;
}

.ct-c {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform .45s var(--ease), border-color .45s;
  border-radius: 24px;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  text-decoration: none;
  display: flex;
}

.ct-c:hover {
  color: var(--text);
  border-color: #0168b373;
  transform: translateY(-6px);
}

.ct-wa {
  background: var(--logo-grad);
  border-color: #0000;
}

.ct-ico {
  background: var(--acc);
  width: 56px;
  height: 56px;
  color: var(--ink);
  border-radius: 16px;
  place-items: center;
  margin-bottom: 16px;
  display: grid;
}

.ct-wa .ct-ico {
  background: #25d366;
}

.ct-t {
  font-size: 17px;
  font-weight: 700;
}

.ct-d {
  font-family: var(--display);
  overflow-wrap: anywhere;
  font-size: 26px;
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.15;
}

.ct-n {
  color: var(--text2);
  font-size: 15px;
}

.ct-wa .ct-n {
  color: #dce6fa;
}

.ct-pie {
  color: var(--text3);
  margin-top: 40px;
}

@media (width<=960px) {
  .ct {
    grid-template-columns: minmax(0,1fr);
  }
}

}

/* ===== paginas/categoria.css ===== */
/* Página Vistas/paginas/categoria.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer paginas {

.cp-envios {
  color: var(--text2);
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  font-size: 15px;
  list-style: none;
  display: flex;
}

.cp-envios li {
  align-items: center;
  gap: 8px;
  display: flex;
}

.cp-envios svg {
  color: var(--acc);
}

.cp-indice {
  z-index: 10;
  -webkit-backdrop-filter: blur(12px);
  background: #f4f7fceb;
  position: sticky;
  top: 76px;
  box-shadow: 0 10px 24px -20px #0b1b3a66;
}

.cp-indice ul {
  scrollbar-width: none;
  gap: 8px;
  margin: 0 auto;
  padding-top: 12px;
  padding-bottom: 12px;
  list-style: none;
  display: flex;
  overflow-x: auto;
}

.cp-indice ul::-webkit-scrollbar {
  display: none;
}

.cp-indice a {
  border: 1px solid var(--line);
  background: var(--card);
  min-height: 44px;
  color: var(--text2);
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  padding: 0 16px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .25s,color .25s;
  display: inline-flex;
}

.cp-indice a:hover {
  border-color: var(--blue);
  color: var(--text);
}

.cp-s {
  padding: 104px 0;
  scroll-margin-top: 80px;
}

.cp-g {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 72px;
  display: grid;
}

.invertida .cp-foto {
  order: 2;
}

.cp-img {
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
}

.cp-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.cp-num {
  min-width: 40px;
  height: 32px;
  color: var(--blue);
  background: #fffffff0;
  border-radius: 10px;
  place-items: center;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  position: absolute;
  top: 14px;
  left: 14px;
}

.cp-txt h2 {
  font-size: clamp(32px,3.6vw,48px);
}

.cp-p {
  color: var(--text2);
  max-width: 46ch;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.cp-incl {
  flex-direction: column;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.cp-incl li {
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.45;
  display: flex;
}

.cp-ok {
  width: 26px;
  height: 26px;
  color: var(--text);
  background: #fecc174d;
  border-radius: 50%;
  flex: none;
  place-items: center;
  margin-top: -2px;
  display: grid;
}

.oscuro:where([data-c="pagina-categoria"]) .cp-ok:where([data-c="pagina-categoria"]) {
  background: var(--acc);
  color: var(--ink);
}

.cp-precio {
  color: var(--text2);
  margin: 28px 0 0;
  font-size: 15px;
}

.cp-precio b {
  font-family: var(--display);
  color: var(--text);
  margin-left: 6px;
  font-size: 32px;
  font-weight: 800;
  font-stretch: 110%;
}

.cp-acc {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  display: flex;
}

.cp-otras .temas {
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-bottom: 0;
}

.cp-otras .temas a {
  align-items: flex-start;
  height: 100%;
}

@media (width<=860px) {
  .cp-indice {
    top: 76px;
  }
  .cp-s {
    padding: 64px 0;
    scroll-margin-top: 140px;
  }
  .cp-g {
    grid-template-columns: minmax(0,1fr);
    gap: 40px;
  }
  .invertida .cp-foto {
    order: 0;
  }
  .cp-img {
    border-radius: 20px;
  }
  .cp-otras .temas {
    grid-template-columns: minmax(0,1fr);
  }
}

/* Con mouse, las opciones van en una sola fila (04-12-2026). Con pocas opciones la fila mide y se
   alinea como el resto del contenido (1240 px); con muchas se ensancha hasta el borde de la
   pantalla y, en .cp-largo (lo pone sitio.js cuando no entran), la letra se achica un poco. Si aun así no
   caben, aparece una barra de desplazamiento fina en vez de cortar la última. */
@media (hover:hover) and (pointer:fine) {
  .cp-indice ul {
    width: max-content;
    min-width: min(100%, 1240px);
    max-width: 100%;
    scrollbar-width: thin;
  }
  .cp-indice ul::-webkit-scrollbar {
    display: block;
    height: 6px;
  }
  .cp-largo a {
    padding: 0 clamp(10px,.9vw,16px);
    font-size: clamp(12.5px,.98vw,14.5px);
  }
}

}

/* ===== componentes/demo.css ===== */
/* Componente Vistas/parciales/demo.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer componentes {

.demo {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 24px;
  overflow: hidden;
}

.demo img {
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: auto;
}

.oscuro .demo:where([data-c="demo"]) {
  background: var(--blue-sombra);
  border-color: #ffffff29;
}

.browser {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  display: flex;
}

.browser i {
  background: #c9d2e1;
  border-radius: 50%;
  width: 11px;
  height: 11px;
}

.browser span {
  color: var(--text3);
  background: var(--alt);
  border-radius: 999px;
  margin-left: 12px;
  padding: 5px 12px;
  font-size: 12.5px;
}

.demo-b {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 24px 28px 28px;
  display: flex;
}

.demo-b h3 {
  font-family: var(--display);
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  font-stretch: 110%;
}

.demo-b p {
  color: var(--text2);
  max-width: 380px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

}

/* ===== paginas/nosotros.css ===== */
/* Página Vistas/paginas/nosotros.php. */

@layer paginas {

.logo-mov {
  isolation: isolate;
  background: var(--logo-grad);
  border-radius: 28%;
  padding: 14%;
  position: relative;
  box-shadow: 0 30px 60px -28px #0168b3bf;
}

.logo-mov:before {
  content: "";
  z-index: -1;
  background: radial-gradient(closest-side,#0b7ac94d,#0b7ac900);
  border-radius: 50%;
  animation: 7s ease-in-out 3.4s infinite brillo;
  position: absolute;
  inset: -30%;
}

.logo-mov svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes brillo {
  0%,to { opacity: .6; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.04); }
}

.ns {
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: center;
  gap: 72px;
  display: grid;
}

.ns-foto {
  max-width: 480px;
}

.ns-foto img {
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 220px 220px 28px 28px;
  width: 100%;
  height: auto;
  display: block;
}

.ns .lead {
  margin-top: 24px;
}

.pil {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 28px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.pil li {
  background: #ffffff0f;
  border: 1px solid #ffffff24;
  border-radius: 20px;
  padding: 28px;
}

.pil-n {
  background: var(--acc);
  width: 44px;
  height: 44px;
  color: var(--ink);
  border-radius: 50%;
  place-items: center;
  margin-bottom: 20px;
  font-weight: 800;
  display: grid;
}

.pil h3 {
  font-family: var(--display);
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.1;
}

.pil p {
  color: var(--text2);
  margin: 0;
  line-height: 1.6;
}

@media (width<=1080px) {
  .pil {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (width<=860px) {
  .ns {
    grid-template-columns: minmax(0,1fr);
    gap: 48px;
  }
}

@media (width<=560px) {
  .pil {
    grid-template-columns: minmax(0,1fr);
  }
}

}

/* ===== paginas/pagar.css ===== */
/* Página Vistas/paginas/pagar.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer paginas {

.pg:where([data-c="pagina-pagar"]) {
  grid-template-columns: minmax(0,400px) minmax(0,1fr);
  align-items: start;
  gap: 72px;
  display: grid;
}

.pg-qr {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  display: flex;
}

.pg-deco {
  width: calc(100% - 48px);
  margin-bottom: 28px;
}

.pg-hoja {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 24px;
  width: 100%;
  padding: 28px 28px 22px;
}

.pg-hoja img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.pg-titular {
  font-family: var(--display);
  color: #0b1b3a;
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 800;
  font-stretch: 108%;
}

.pg-apps {
  color: #47536b;
  margin: 18px 0 0;
  font-size: 14px;
}

.pg-desc {
  width: 100%;
}

.pg-nota {
  color: var(--text3);
  max-width: 34ch;
  margin: 0;
  font-size: 14px;
}

.pg-pasos {
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.pg-pasos li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 20px;
  padding: 24px;
  display: grid;
}

.pg-n {
  background: var(--acc);
  width: 48px;
  height: 48px;
  color: var(--ink);
  font-family: var(--display);
  border-radius: 14px;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  display: grid;
}

.pg-pasos h2 {
  font-family: var(--display);
  margin: 6px 0 8px;
  font-size: 24px;
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.2;
}

.pg-pasos p {
  color: var(--text2);
  max-width: 56ch;
  margin: 0;
}

.pg-link {
  color: var(--link);
  margin-top: 10px;
  font-weight: 700;
  display: inline-block;
}

.pg-btns {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  display: flex;
}

.pg-aviso {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text2);
  border-radius: 16px;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 0;
  padding: 18px 20px;
  font-size: 15px;
  display: flex;
}

.pg-aviso svg {
  color: var(--link);
  flex: none;
  margin-top: 2px;
}

@media (width<=860px) {
  .pg:where([data-c="pagina-pagar"]) {
    grid-template-columns: minmax(0,1fr);
    gap: 56px;
  }
  .pg-qr {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .pg-btns .btn {
    width: 100%;
  }
}

}

/* ===== componentes/faq.css ===== */
/* Preguntas frecuentes y la burbuja de preguntas (Vistas/parciales/faq.php).
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer componentes {

.faq {
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 72px;
  display: grid;
}

.faq>div:last-child {
  align-content: start;
  gap: 12px;
  display: grid;
}

details:where([data-c="faq"]) {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 0 22px;
  transition: border-color .3s,box-shadow .3s;
}

details:where([data-c="faq"])[open] {
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px -18px #0b1b3a4d;
}

summary:where([data-c="faq"]) {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  padding: 20px 0;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  display: flex;
}

summary:where([data-c="faq"])::-webkit-details-marker {
  display: none;
}

.pl:where([data-c="faq"]) {
  border: 1px solid var(--line-strong);
  height: 36px;
  transition: transform .45s var(--ease), background .3s, color .3s;
  border-radius: 50%;
  flex: 0 0 36px;
  place-items: center;
  display: grid;
}

details:where([data-c="faq"])[open] .pl:where([data-c="faq"]) {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--ink);
  transform: rotate(45deg);
}

details:where([data-c="faq"]) p:where([data-c="faq"]) {
  color: var(--text2);
  max-width: 620px;
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.65;
}

@media (width<=860px) {
  .faq {
    grid-template-columns: minmax(0,1fr);
    gap: 32px;
  }
  summary:where([data-c="faq"]) {
    font-size: 18px;
  }
}

.pq {
  position: relative;
  max-width: 384px;
  margin-top: 80px;
}

.pq[hidden] {
  display: none;
}

.pq-sig {
  position: absolute;
  top: -64px;
  right: 16px;
  z-index: 1;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 60px;
  line-height: 1;
  color: var(--acc);
  pointer-events: none;
  user-select: none;
  animation: pq-flota 6s ease-in-out infinite;
}

.pq-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.pq-btn:focus-visible {
  outline: none;
}

.pq-burbuja {
  display: block;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 8px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease),border-color .3s;
}

.pq-btn:hover .pq-burbuja {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.pq-btn:focus-visible .pq-burbuja {
  box-shadow: 0 0 0 2px var(--blue);
}

.pq-entra {
  animation: pq-entra .5s var(--ease) both;
}

.pq-txt {
  display: flex;
  align-items: center;
  min-height: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.pq-puntos {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pq-puntos i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pq-punto 1.2s ease-in-out infinite;
}

.pq-puntos i:nth-child(2) {
  animation-delay: .15s;
}

.pq-puntos i:nth-child(3) {
  animation-delay: .3s;
}

.pq-cursor {
  display: inline-block;
  width: 1px;
  height: 16px;
  margin-left: 2px;
  transform: translateY(2px);
  background: var(--text);
  animation: pq-cursor 1s step-end infinite;
}

.pq-barra {
  display: block;
  height: 1px;
  margin-top: 12px;
  overflow: hidden;
  background: var(--line);
}

.pq-barra span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}

.pq-llena .pq-barra span {
  animation: pq-barra linear both;
}

.pq-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-left: 4px;
  font-size: 14px;
  color: var(--text2);
}

.pq-n {
  font-variant-numeric: tabular-nums;
}

.pq-ver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (width<=860px) {
  .pq {
    margin-top: 56px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .pq-sig,
  .pq-puntos i,
  .pq-cursor,
  .pq-entra,
  .pq-llena .pq-barra span {
    animation: none;
  }
}

}

/* ===== componentes/mercado-pago.css ===== */
/* Tarjetas de Mercado Pago e Izipay (Vistas/parciales/mercado-pago.php e izipay.php).
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer componentes {

.mp:where([data-c="mercado-pago"]) {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 22px;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: 32px 64px;
  margin-top: 24px;
  padding: 40px;
  display: grid;
}

.mp-ceja {
  color: var(--gold-text);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
}

h3:where([data-c="mercado-pago"]) {
  font-size: clamp(26px,2.6vw,36px);
  font-stretch: 110%;
}

.mp-txt {
  color: var(--text2);
  max-width: 56ch;
  margin: 16px 0 0;
  line-height: 1.6;
}

.mp-sub {
  margin: 28px 0 12px;
  font-weight: 700;
}

.mp-tarifas .mp-sub {
  margin-top: 0;
}

ul:where([data-c="mercado-pago"]) {
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

li:where([data-c="mercado-pago"]) {
  color: var(--text);
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
  display: flex;
}

li:where([data-c="mercado-pago"]) strong:where([data-c="mercado-pago"]) {
  color: var(--text);
  margin-bottom: 2px;
  display: block;
}

li:where([data-c="mercado-pago"]) span:where([data-c="mercado-pago"]) {
  color: var(--text2);
}

.mp-nota {
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  max-width: 56ch;
  margin: 18px 0 0;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.5;
}

li:where([data-c="mercado-pago"]) svg {
  color: var(--accent-text);
  flex: none;
  margin-top: 2px;
}

dl:where([data-c="mercado-pago"]) {
  border-top: 1px solid var(--line);
  margin: 0;
}

dl:where([data-c="mercado-pago"]) div:where([data-c="mercado-pago"]) {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  display: flex;
}

dt:where([data-c="mercado-pago"]) {
  color: var(--text2);
}

dd:where([data-c="mercado-pago"]) {
  font-family: var(--display);
  white-space: nowrap;
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  font-stretch: 105%;
}

.mp-fuente {
  color: var(--text3);
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
}

@media (width<=860px) {
  .mp:where([data-c="mercado-pago"]) {
    grid-template-columns: minmax(0,1fr);
    padding: 28px 22px;
  }
  dl:where([data-c="mercado-pago"]) div:where([data-c="mercado-pago"]) {
    flex-direction: column;
    gap: 4px;
  }
}

}

/* ===== paginas/precios.css ===== */
/* Página Vistas/paginas/precios.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer paginas {

.sin-top:where([data-c="pagina-precios"]),
.sin-top-sig>.sec {
  padding-top: 0;
}

.otros {
  gap: 12px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.otros li {
  background: #ffffff0f;
  border: 1px solid #ffffff24;
  border-radius: 20px;
  grid-template-columns: minmax(0,1fr) 200px auto;
  align-items: center;
  gap: 16px 40px;
  padding: 24px 28px;
  display: grid;
}

.otros h3 {
  font-family: var(--display);
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  font-stretch: 110%;
}

.otros h3 a {
  color: var(--text);
  text-decoration: none;
}

.otros h3 a:hover {
  color: var(--link);
}

.otros p {
  color: var(--text2);
  max-width: 62ch;
  margin: 0;
  line-height: 1.55;
}

.o-precio {
  color: var(--text2);
}

.o-precio b,
.o-precio b {
  font-family: var(--display);
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
}

@media (width<=860px) {
  .otros li {
    grid-template-columns: minmax(0,1fr);
  }
  .otros .btn {
    justify-self: start;
  }
}

}

/* ===== paginas/proyectos.css ===== */
/* Página Vistas/paginas/proyectos.php. */

@layer paginas {

.pj {
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  align-items: center;
  gap: 64px;
  display: grid;
}

.pj.inv {
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
}

.pj.inv>:first-child {
  order: 2;
}

.pj .lead {
  margin-top: 22px;
}

.pj-l {
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
  display: flex;
}

.pj-l li {
  color: var(--text2);
  padding-left: 22px;
  position: relative;
}

.pj-l li:before {
  content: "";
  background: var(--gold);
  border-radius: 2px;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 9px;
  left: 0;
  transform: rotate(45deg);
}

@media (width<=1080px) {
  .pj,
  .pj.inv {
    grid-template-columns: minmax(0,1fr);
  }
  .pj.inv>:first-child {
    order: 0;
  }
}

}

/* ===== paginas/servicios.css ===== */
/* Página Vistas/paginas/servicios.php.
   Las reglas con :where([data-c="…"]) solo tocan etiquetas de ese componente (ver README.md). */

@layer paginas {

.sv {
  padding: 88px 0;
}

.sv-cab {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  display: flex;
}

.sv-todo {
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.sv-l {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.sv-c {
  background: var(--card);
  border: 1px solid var(--line);
  height: 100%;
  color: var(--text);
  transition: border-color .3s, transform .4s var(--ease);
  border-radius: 20px;
  align-items: center;
  gap: 20px;
  padding: 14px;
  text-decoration: none;
  display: flex;
}

.sv-c:hover {
  color: var(--text);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.oscuro:where([data-c="pagina-servicios"]) .sv-c:where([data-c="pagina-servicios"]) {
  background: #ffffff0f;
  border-color: #ffffff24;
}

.oscuro:where([data-c="pagina-servicios"]) .sv-c:where([data-c="pagina-servicios"]):hover {
  border-color: var(--acc);
}

.sv-img {
  aspect-ratio: 1;
  border-radius: 14px;
  flex: none;
  width: 120px;
  overflow: hidden;
}

.sv-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.sv-b {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.sv-t {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.15;
}

.sv-p {
  color: var(--text2);
  font-size: 14.5px;
  line-height: 1.5;
}

.sv-precio {
  color: var(--accent-text);
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
}

@media (width<=860px) {
  .sv {
    padding: 64px 0;
  }
  .sv-l {
    grid-template-columns: minmax(0,1fr);
  }
  .sv-img {
    width: 88px;
  }
}

@keyframes pq-punto {
  0%,60%,100% { transform: translateY(0); opacity: .35; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes pq-cursor {
  0%,49% { opacity: 1; }
  50%,100% { opacity: 0; }
}

@keyframes pq-entra {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes pq-flota {
  0%,100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

@keyframes pq-barra {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

}

/* ===== componentes/pasarelas.css ===== */
/* Pestañas Mercado Pago · Izipay (Vistas/parciales/pasarelas.php). */

@layer componentes {

.pg {
  margin-top: 24px;
}

.pg .mp {
  margin-top: 0;
}

.pg-panel+.pg-panel {
  margin-top: 16px;
}

.pg-on .pg-panel+.pg-panel {
  margin-top: 0;
}

.pg-on .pg-panel[hidden] {
  display: none;
}

.pg-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.pg-tabs[hidden] {
  display: none;
}

.pg-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  background: none;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: var(--text2);
  cursor: pointer;
  transition: background .25s,color .25s;
}

.pg-tabs button:hover {
  color: var(--text);
}

.pg-tabs button[aria-selected="true"] {
  background: var(--blue);
  color: #fff;
}

.pg-tabs button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion:no-preference) {
  .pg-on .pg-panel:not([hidden]) {
    animation: pg-entra .35s var(--ease) both;
  }
}

@keyframes pg-entra {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

}

/* ===== paginas/libro.css ===== */
/* Página Vistas/paginas/libro.php: Libro de Reclamaciones (05-12-2026).
   Los campos copian el aspecto de los del cotizador (componentes/cotizador.css). */

@layer paginas {

/* La cabecera trae 88px abajo: aquí el formulario va más pegado a la bajada (Julio César, 05-12-2026). */
.cab-p:has(+ .sec.lr) {
  padding-bottom: 32px;
}

.sec.lr {
  padding-top: 8px;
}

/* Cabecera y hoja en una misma columna de 860px centrada: el mismo espacio a cada lado
   y el título alineado con el formulario (Julio César, 05-12-2026). */
.cab-p:has(+ .sec.lr) .wrap,
.wrap.lr-in {
  max-width: calc(860px + 64px);
}

.lr-mudo {
  color: var(--text3) !important;
  font-size: 14px;
}

.lr-alerta {
  color: #8c1d18;
  background: #fdecea;
  border: 1px solid #f3b8b3;
  border-radius: 12px;
  margin: 0 0 20px;
  padding: 14px 18px;
  font-weight: 600;
}

.lr-form {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.lr-caja {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 0;
  padding: 24px;
  display: grid;
}

.lr-caja legend {
  font-family: var(--display);
  color: var(--text);
  float: left;
  grid-column: 1 / -1;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 4px;
  padding: 0;
  font-size: 19px;
  font-weight: 700;
  font-stretch: 105%;
  display: flex;
}

.lr-n {
  background: var(--acc);
  color: var(--ink);
  font-family: var(--body);
  border-radius: 50%;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 14px;
  font-weight: 700;
  display: grid;
}

.lr-ancho {
  grid-column: 1 / -1;
}

.lr-campo {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.lr-campo > span {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.lr-campo small {
  color: var(--text3);
  font-weight: 400;
}

.lr-campo input,
.lr-campo select,
.lr-campo textarea {
  color: var(--text);
  width: 100%;
  min-height: 50px;
  font: inherit;
  caret-color: var(--blue);
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color .25s, box-shadow .25s;
}

.lr-campo textarea {
  resize: vertical;
  line-height: 1.5;
}

.lr-campo select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230B1B3A' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.lr-campo input::placeholder {
  color: #8a94a8;
}

.lr-campo :is(input, select, textarea):hover {
  border-color: #0b1b3a52;
}

.lr-campo :is(input, select, textarea):focus-visible {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px #0168b32e;
}

.lr-form [aria-invalid] {
  border-color: #d93025 !important;
}

.lr-err {
  color: #b3261e;
  font-size: 13px;
  font-weight: 500;
}

.lr-check,
.lr-op label,
.lr-tipos label {
  cursor: pointer;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  display: flex;
}

.lr-check input,
.lr-op input,
.lr-tipos input {
  accent-color: var(--blue);
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
}

.lr-op {
  flex-wrap: wrap;
  gap: 12px 28px;
  display: flex;
}

.lr-tipos {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.lr-acepto {
  color: var(--text2);
}

.lr-spam {
  color: var(--text2);
}

.lr-spam b {
  color: var(--text);
}

.lr-nota {
  color: var(--text3);
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.lr-enviar {
  align-self: flex-start;
}

.lr-trampa {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -10000px;
  overflow: hidden;
}

.lr-ok {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 40px;
}

.lr-ok h2 {
  margin: 16px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
}

.lr-ok p {
  color: var(--text2);
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.6;
}

.lr-ok .btn {
  margin-top: 14px;
}

.lr-ok-ic {
  background: var(--acc);
  color: var(--ink);
  border-radius: 50%;
  place-items: center;
  width: 56px;
  height: 56px;
  display: grid;
}

@media (width <= 700px) {
  .lr-caja {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 18px;
  }
  .lr-ok {
    padding: 28px 22px;
  }
  .lr-enviar {
    align-self: stretch;
    justify-content: center;
  }
}

}
