:where(.cmp-faq__title){margin:0 0 1rem;font-family:var(--font-heading, inherit)}:where(.cmp-faq__item){border-bottom:1px solid var(--color-border, #e5e7eb);border-bottom-color:color-mix(in srgb, currentColor 22%, transparent)}:where(.cmp-faq__item:first-of-type){border-top:1px solid var(--color-border, #e5e7eb);border-top-color:color-mix(in srgb, currentColor 22%, transparent)}:where(.cmp-faq__question){display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:44px;padding:1rem 0;font-family:var(--font-heading, inherit);font-weight:600;line-height:1.35;cursor:pointer;list-style:none}:where(.cmp-faq__question)::-webkit-details-marker{display:none}:where(.cmp-faq__question)::after{content:"+";flex:none;font-size:1.5rem;line-height:1;color:var(--section-accent, var(--color-primary, #2563eb));transition:transform .2s}:where(.cmp-faq__item[open] > .cmp-faq__question)::after{transform:rotate(45deg)}:where(.cmp-faq__question):focus-visible{outline:2px solid var(--section-accent, var(--color-primary, #2563eb));outline-offset:2px;border-radius:var(--radius-sm, .4rem)}:where(.cmp-faq__answer){padding:0 0 1.25rem}:where(.cmp-faq__answer > :first-child){margin-top:0}:where(.cmp-faq__answer > :last-child){margin-bottom:0}@media (prefers-reduced-motion: reduce){:where(.cmp-faq__question)::after{transition:none}}
:where(.cmp-gallery__zoom){display:block;cursor:zoom-in}:where(.cmp-gallery__zoom):focus-visible{outline:2px solid var(--color-primary, #2563eb);outline-offset:2px;border-radius:var(--radius-sm, .4rem)}.cmp-gallery--crop-top .cmp-gallery__img{object-position:top}.cmp-gallery--ratio-1-1 .cmp-gallery__img{aspect-ratio:1/1}.cmp-gallery--ratio-3-4 .cmp-gallery__img{aspect-ratio:3/4}.cmp-gallery--ratio-4-3 .cmp-gallery__img{aspect-ratio:4/3}.cmp-gallery--ratio-16-9 .cmp-gallery__img{aspect-ratio:16/9}:where(.cmp-gallery__caption){display:block;margin-top:.5rem;font-size:.9rem;line-height:1.4}:where(.cmp-lightbox){width:min(96vw,1200px);max-width:none;max-height:94vh;max-height:94dvh;padding:0;border:0;border-radius:var(--radius-md, .5rem);background:var(--color-surface, #fff);overflow:auto;overscroll-behavior:contain}:where(.cmp-lightbox)::backdrop{background:rgba(0,0,0,.8)}:where(.cmp-lightbox__img){display:block;width:100%;height:auto}:where(.cmp-lightbox__close){position:fixed;top:1rem;right:1rem;z-index:1;width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.7);color:#fff;font-size:1.75rem;line-height:1;cursor:pointer}:where(.cmp-lightbox__close):focus-visible{outline:2px solid #fff;outline-offset:2px}:where(html:has(.cmp-lightbox[open])){overflow:hidden}:where(.cmp-location__title){margin:0 0 1rem;font-family:var(--font-heading, inherit)}:where(.cmp-location__address){margin:0 0 .5rem;font-weight:600}:where(.cmp-location__hours){margin:0 0 1rem;opacity:.85}:where(.cmp-location__actions){display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;margin:0 0 1.25rem}:where(.cmp-location__alt){font-weight:600}:where(.cmp-location__map){position:relative;aspect-ratio:16/9;min-height:260px;overflow:hidden;border-radius:var(--radius-md, .5rem);background:var(--color-surface, #e5e7eb)}:where(.cmp-location__map iframe){position:absolute;inset:0;width:100%;height:100%;border:0}

/* ==========================================================================
   ssg.css — Tema "Escolar / Educativo"
   Amigable, confiable y accesible. Formas muy redondeadas, azul brillante
   institucional con acentos amarillo cálido y verde menta.
   Fuentes sugeridas (Google Fonts, 2 familias):
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@400;600;700;800&display=swap" rel="stylesheet">
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES
   Para cambiar la marca basta con: --color-primary, --color-accent,
   --color-accent-2, --font-heading y --radius-md. El resto se deriva.
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --color-primary: #1d5fd1;
  /* azul brillante, AA sobre blanco (5.9:1) */
  --color-primary-fg: #ffffff;
  /* texto sobre primary */
  --color-accent: #ffc83d;
  /* amarillo cálido (decorativo / fondos) */
  --color-accent-fg: #3a2a00;
  /* texto sobre accent */
  --color-accent-2: #3ccf9e;
  /* verde menta (decorativo / fondos) */

  /* Derivados de la marca */
  --color-primary-strong: color-mix(in oklab, var(--color-primary) 78%, #000);
  --color-primary-soft: color-mix(in oklab, var(--color-primary) 10%, #fff);
  --color-primary-ring: color-mix(in oklab, var(--color-primary) 45%, transparent);

  /* Neutros */
  --color-text: #1b2540;
  --color-text-muted: #4f5b76;
  /* AA sobre bg y surface */
  --color-bg: #fbfaf6;
  --color-surface: #ffffff;
  --color-border: #e3e6ef;
  --color-focus: #ffb000;
  --color-overlay: rgb(10 22 50 / 0.55);

  /* Tipografía */
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Baloo 2", "Nunito", system-ui, sans-serif;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
  --fs-h1: clamp(2rem, 1.5rem + 2.4vw, 3.2rem);
  --lh: 1.65;

  /* Formas */
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  /* Sombras (suaves, tintadas de azul) */
  --shadow-sm: 0 2px 6px rgb(29 50 110 / 0.08);
  --shadow-md: 0 10px 28px -10px rgb(29 50 110 / 0.22);

  /* Espacios */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: clamp(3rem, 2rem + 4vw, 5.5rem);
  --gutter: clamp(1rem, 0.5rem + 2vw, 1.75rem);

  --max-width: 1100px;
  --header-h: 72px;
  --tap: 44px;
  --ease: 180ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.site-main {
  flex: 1 0 auto;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  font-weight: 700;
  color: inherit;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-lg);
}

p {
  margin: 0 0 var(--space-4);
}

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

a {
  color: var(--color-primary);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

a:hover {
  color: var(--color-primary-strong);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 6px var(--color-text);
}

/* evita doble anillo en contenedores grandes */
.cmp-gallery__list:focus-visible {
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   3. UTILIDADES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding: var(--space-7) var(--gutter);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0.7rem 1.6rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg, var(--color-primary));
  color: var(--btn-fg, var(--color-primary-fg));
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 color-mix(in oklab, var(--btn-bg, var(--color-primary)) 70%, #000);
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}

.btn:hover {
  color: var(--btn-fg, var(--color-primary-fg));
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 color-mix(in oklab, var(--btn-bg, var(--color-primary)) 70%, #000);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--btn-bg, var(--color-primary)) 70%, #000);
}

.btn:focus-visible {
  border-radius: var(--radius-pill);
}

.btn[aria-disabled="true"],
.btn:disabled {
  background: var(--color-border);
  color: var(--color-text-muted);
  box-shadow: none;
  transform: none;
  filter: none;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   4. HEADER (menú móvil con checkbox + selector hermano)
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header--sticky {
  position: sticky;
  top: 0;
}

.site-header__inner {
  position: relative;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding: var(--space-3) var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--tap);
  min-width: 0;
  margin-right: auto;
  color: var(--color-text);
  text-decoration: none;
}

.site-header__brand:hover {
  color: var(--color-primary);
}

.site-header__logo {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
}

.site-header__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__tagline {
  display: none;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.site-header__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--ease), filter var(--ease);
}

.site-header__cta:hover {
  color: var(--color-accent-fg);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.site-header__cta:focus-visible {
  border-radius: var(--radius-pill);
}

/* Botón hamburguesa */
.site-nav-toggle__input {
  position: absolute;
  opacity: 0;
  width: var(--tap);
  height: var(--tap);
  margin: 0;
  left: var(--gutter);
  pointer-events: none;
}

.site-nav-toggle {
  order: -1;
  flex-shrink: 0;
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-soft);
  cursor: pointer;
  transition: background var(--ease);
}

.site-nav-toggle:hover {
  background: color-mix(in oklab, var(--color-primary) 18%, #fff);
}

.site-nav-toggle span {
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-primary);
  transition: transform var(--ease), opacity var(--ease);
}

.site-nav-toggle__input:focus-visible+.site-nav-toggle {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-text);
}

.site-nav-toggle__input:checked+.site-nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-nav-toggle__input:checked+.site-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav-toggle__input:checked+.site-nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Menú: móvil desplegable */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: var(--space-3) var(--gutter) var(--space-5);
}

.site-nav-toggle__input:checked~.site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-1);
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}

.site-nav a:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-strong);
}

.site-nav a[aria-current="page"] {
  background: var(--color-primary);
  color: var(--color-primary-fg);
}

@media (min-width: 768px) {

  .site-nav-toggle,
  .site-nav-toggle__input {
    display: none;
  }

  .site-header__brand {
    margin-right: 0;
  }

  .site-header__tagline {
    display: block;
  }

  .site-header__brand:has(.site-header__tagline) .site-header__name {}

  .site-header__brand {
    flex-wrap: wrap;
    column-gap: var(--space-3);
    row-gap: 0;
  }

  .site-nav {
    display: block;
    position: static;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
  }

  .site-nav a {
    min-height: var(--tap);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm);
  }

  .site-header__cta {
    margin-left: var(--space-2);
  }

  .site-header__brand:only-child,
  .site-header__brand+.site-header__cta {
    margin-left: auto;
  }
}

@media (min-width: 1000px) {
  .site-nav a {
    font-size: 1rem;
    padding-inline: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   5. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: var(--space-6);
  background: #13265a;
  color: #e8edfb;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--color-accent) 0 33%, var(--color-accent-2) 33% 66%, var(--color-primary) 66%);
}

.site-footer a {
  color: #ffffff;
  text-decoration-color: color-mix(in oklab, #fff 40%, transparent);
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer__inner {
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding: var(--space-7) var(--gutter) var(--space-6);
  display: grid;
  gap: var(--space-6);
}

.site-footer__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: var(--space-2);
}

.site-footer__brand p {
  margin: 0 0 var(--space-1);
}

.site-footer__address {
  color: #c9d3ef;
}

.site-footer__phone a,
.site-footer__email a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

.site-footer__nav ul,
.site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav ul {
  display: grid;
  gap: 0;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-content: start;
}

.site-footer__social a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: transparent;
  /* el texto queda como respaldo accesible */
  font-size: 0;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease);
}

.site-footer__social a::before {
  content: "";
  width: 22px;
  height: 22px;
  background: #fff;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.site-footer__social a:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.site-footer__social a:hover::before {
  background: var(--color-accent-fg);
}

.site-footer__social a:focus-visible {
  border-radius: 50%;
}

/* Si el navegador no soporta mask, se muestra el texto */
@supports not ((mask: none) or (-webkit-mask: none)) {
  .site-footer__social a {
    width: auto;
    padding: 0 1rem;
    border-radius: var(--radius-pill);
    color: #fff;
    font-size: var(--fs-sm);
  }

  .site-footer__social a::before {
    display: none;
  }
}

.site-footer__social-facebook {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-2.8 0-4 1.8-4 4.3V10H7v4h3v8h4v-8h3l1-4h-4V8.6c0-.4.3-.6.6-.6z'/%3E%3C/svg%3E");
}

.site-footer__social-instagram {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm5 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM17.5 5.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
}

.site-footer__social-whatsapp {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 2a8 8 0 1 1-4.1 14.9l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 0 1 12 4zm-3.2 4c-.2 0-.6.1-.9.4-.3.3-1.1 1.1-1.1 2.6s1.1 3 1.3 3.2c.2.2 2.2 3.4 5.3 4.6 2.6 1 3.2.8 3.7.8.6-.1 1.8-.7 2-1.5.3-.7.3-1.4.2-1.5l-.6-.4-2-1c-.3-.1-.5-.1-.7.1l-.9 1.2c-.2.2-.3.2-.6.1-.3-.2-1.3-.5-2.4-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6l.5-.5.3-.5v-.5L9.6 8.4C9.4 8 9.2 8 9 8h-.2z'/%3E%3C/svg%3E");
}

.site-footer__social-tiktok {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 2h-3.3v13.2a2.8 2.8 0 1 1-2-2.7V9.1a6.1 6.1 0 1 0 5.3 6V8.4a7.8 7.8 0 0 0 4.5 1.4V6.5A4.5 4.5 0 0 1 16 2z'/%3E%3C/svg%3E");
}

.site-footer__social-youtube {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23 7.2a3 3 0 0 0-2.1-2.1C19 4.6 12 4.6 12 4.6s-7 0-8.9.5A3 3 0 0 0 1 7.2 31 31 0 0 0 .5 12a31 31 0 0 0 .5 4.8 3 3 0 0 0 2.1 2.1c1.9.5 8.9.5 8.9.5s7 0 8.9-.5a3 3 0 0 0 2.1-2.1 31 31 0 0 0 .5-4.8 31 31 0 0 0-.5-4.8zM9.7 15V9l5.8 3-5.8 3z'/%3E%3C/svg%3E");
}

.site-footer__social-linkedin {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9.5h4V21H3V9.5zm7 0h3.8v1.6h.1c.5-1 1.8-2 3.8-2 4 0 4.8 2.6 4.8 6V21h-4v-5.2c0-1.3 0-2.9-1.8-2.9s-2 1.4-2 2.8V21h-4V9.5z'/%3E%3C/svg%3E");
}

.site-footer__social-x {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.8 3h3.1l-6.8 7.7L22 21h-6.2l-4.9-6.3L5.3 21H2.2l7.2-8.3L1.8 3h6.4l4.4 5.8L17.8 3zm-1.1 16.2h1.7L7.4 4.7H5.6l11.1 14.5z'/%3E%3C/svg%3E");
}

.site-footer__copy {
  margin: 0;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding: var(--space-4) var(--gutter) var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: var(--fs-sm);
  color: #c9d3ef;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr;
  }

  .site-footer__social {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .site-footer__inner {
    grid-template-columns: 1.6fr 1fr auto;
  }

  .site-footer__social {
    grid-column: auto;
    max-width: 168px;
  }
}

/* --------------------------------------------------------------------------
   6. SECCIONES Y REJILLA
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding-block: var(--space-8);
}

.section:not(.section--full):not(.section--tinted):not(.section--bg-image)+.section:not(.section--tinted):not(.section--bg-image) {
  padding-top: 0;
}

.section--full {
  padding: 0;
}

.section__inner {
  position: relative;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section__grid {
  display: grid;
  gap: var(--space-6) var(--space-5);
  grid-template-columns: minmax(0, 1fr);
}

.section__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.section__col>* {
  flex-grow: 0;
}

.section__col>.cmp-card {
  flex-grow: 1;
}

.section__col>*+* {
  margin-top: var(--space-5);
}

@media (min-width: 768px) {

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

  .section__grid--2 {
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .section__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

/* --------------------------------------------------------------------------
   7. FONDOS DE SECCIÓN (temas)
   Cada paleta define solo 4 variables; .section--tinted las aplica.
   -------------------------------------------------------------------------- */
.section--tinted {
  background: var(--section-bg, var(--color-primary-soft));
  color: var(--section-fg, var(--color-text));
  margin-inline: clamp(0px, (100vw - var(--max-width) - 6rem) / 2, 2rem);
  border-radius: clamp(0px, (100vw - 600px) * 0.1, var(--radius-lg));
  overflow: hidden;
  isolation: isolate;
}

/* Decoración: dos burbujas suaves con CSS */
.section--tinted::before,
.section--tinted::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.06;
  pointer-events: none;
}

.section--tinted::before {
  width: 340px;
  height: 340px;
  top: -140px;
  right: -100px;
}

.section--tinted::after {
  width: 220px;
  height: 220px;
  bottom: -110px;
  left: -60px;
}

.section--tinted+.section--tinted {
  margin-top: var(--space-5);
}

.section--tinted a {
  color: var(--section-accent, var(--color-primary));
}

.section--tinted a:hover {
  color: var(--section-fg);
}

.section--tinted .btn {
  --btn-bg: var(--section-accent, var(--color-primary));
  --btn-fg: var(--section-btn-fg, var(--color-primary-fg));
  color: var(--btn-fg);
}

.section--tinted .cmp-card {
  color: var(--color-text);
}

.section--tinted .cmp-card a {
  color: var(--color-primary);
}

.section--tinted .cmp-card a:hover {
  color: var(--color-primary-strong);
}

.section--tinted .cmp-card .btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-primary-fg);
  color: var(--btn-fg);
}

.section--bg-light {
  --section-bg: #eef3fb;
  --section-fg: #1b2540;
  --section-accent: #1650b8;
  --section-btn-fg: #ffffff;
}

.section--bg-dark {
  --section-bg: #121a33;
  --section-fg: #eef2fb;
  --section-accent: #ffd166;
  --section-btn-fg: #2a1d00;
}

/* Orgánico */
.section--bg-organic-cream {
  --section-bg: #f7f0e1;
  --section-fg: #3b2f20;
  --section-accent: #8a4b1f;
  --section-btn-fg: #ffffff;
}

.section--bg-organic-moss {
  --section-bg: #3f5a3a;
  --section-fg: #f4f1e6;
  --section-accent: #f2d58a;
  --section-btn-fg: #2b2a12;
}

.section--bg-organic-terracotta {
  --section-bg: #b5532f;
  --section-fg: #ffffff;
  --section-accent: #fff1d6;
  --section-btn-fg: #6b2a12;
}

/* Corporativo */
.section--bg-corp-gray {
  --section-bg: #e9edf3;
  --section-fg: #1e2a3b;
  --section-accent: #1f4f99;
  --section-btn-fg: #ffffff;
}

.section--bg-corp-sky {
  --section-bg: #dcefff;
  --section-fg: #0d2a4a;
  --section-accent: #0b5cad;
  --section-btn-fg: #ffffff;
}

.section--bg-corp-blue {
  --section-bg: #1a4a9c;
  --section-fg: #ffffff;
  --section-accent: #ffd166;
  --section-btn-fg: #1a2440;
}

/* Premium */
.section--bg-premium-black {
  --section-bg: #121212;
  --section-fg: #f3efe6;
  --section-accent: #d9b56a;
  --section-btn-fg: #1b1408;
}

.section--bg-premium-navy {
  --section-bg: #13203f;
  --section-fg: #f1ede3;
  --section-accent: #d6b26e;
  --section-btn-fg: #1a1408;
}

.section--bg-premium-ivory {
  --section-bg: #f8f4ea;
  --section-fg: #2a2418;
  --section-accent: #7d5a18;
  --section-btn-fg: #ffffff;
}

/* Vibrante */
.section--bg-pop-purple {
  --section-bg: #5b2bb5;
  --section-fg: #ffffff;
  --section-accent: #ffe066;
  --section-btn-fg: #2d1460;
}

.section--bg-pop-pink {
  --section-bg: #ffe0ee;
  --section-fg: #4a0f2c;
  --section-accent: #b0145c;
  --section-btn-fg: #ffffff;
}

.section--bg-pop-cyan {
  --section-bg: #d6f6fb;
  --section-fg: #053640;
  --section-accent: #006b7d;
  --section-btn-fg: #ffffff;
}

.section--bg-pop-orange {
  --section-bg: #ff8a2a;
  --section-fg: #2a1200;
  --section-accent: #2a1200;
  --section-btn-fg: #ffffff;
}

/* section--bg-custom: las 4 variables llegan en style="" */

/* Fondo con imagen */
.section--bg-image {
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.section--bg-image .section__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section--bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(10 22 50 / 0.55), rgb(10 22 50 / 0.75));
}

.section--bg-image a:not(.btn) {
  color: inherit;
}

.section--bg-image .btn {
  --btn-bg: var(--color-accent);
  --btn-fg: var(--color-accent-fg);
  color: var(--btn-fg);
}

.section--bg-image .cmp-card {
  color: var(--color-text);
}

.section--bg-image .cmp-card a:not(.btn) {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   8. COMPONENTE: HERO
   -------------------------------------------------------------------------- */
.cmp-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(380px, 62vh, 600px);
  padding: var(--space-8) var(--gutter);
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--color-primary-strong);
}

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

.cmp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(10 22 50 / 0.25), rgb(10 22 50 / 0.72)),
    linear-gradient(90deg, rgb(10 22 50 / 0.35), transparent 70%);
}

.cmp-hero__content {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.cmp-hero__content>* {
  max-width: 40rem;
}

.cmp-hero__title {
  font-size: var(--hero-title, clamp(2.1rem, 1.4rem + 3.2vw, 3.8rem));
  font-weight: 800;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 16px rgb(0 0 0 / 0.25);
}

.cmp-hero__subtitle {
  font-size: var(--hero-sub, var(--fs-lg));
  font-weight: 600;
  opacity: 0.96;
  margin-bottom: var(--space-5);
}

.cmp-hero__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cmp-hero .btn {
  --btn-bg: var(--color-accent);
  --btn-fg: var(--color-accent-fg);
  color: var(--btn-fg);
}

.cmp-hero--pos-left .cmp-hero__content {
  align-items: flex-start;
  text-align: left;
}

.cmp-hero--pos-center .cmp-hero__content {
  align-items: center;
  text-align: center;
}

.cmp-hero--pos-center .cmp-hero__actions {
  justify-content: center;
}

.cmp-hero--pos-right .cmp-hero__content {
  align-items: flex-end;
  text-align: right;
}

.cmp-hero--pos-right .cmp-hero__actions {
  justify-content: flex-end;
}

.cmp-hero--pos-center::before {
  background: rgb(10 22 50 / 0.55);
}

.cmp-hero--pos-right::before {
  background: linear-gradient(180deg, rgb(10 22 50 / 0.25), rgb(10 22 50 / 0.72)), linear-gradient(270deg, rgb(10 22 50 / 0.35), transparent 70%);
}

.cmp-hero--size-small {
  min-height: clamp(260px, 38vh, 360px);
  --hero-title: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  --hero-sub: var(--fs-base);
}

.cmp-hero--size-medium {
  --hero-title: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
}

.cmp-hero--size-large {
  min-height: clamp(460px, 80vh, 760px);
  --hero-title: clamp(2.5rem, 1.5rem + 4.6vw, 4.8rem);
  --hero-sub: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
}

.cmp-hero--plain {
  color: var(--color-text);
  background:
    radial-gradient(circle at 88% 18%, color-mix(in oklab, var(--color-accent) 70%, transparent) 0 90px, transparent 91px),
    radial-gradient(circle at 8% 92%, color-mix(in oklab, var(--color-accent-2) 55%, transparent) 0 120px, transparent 121px),
    var(--color-primary-soft);
}

.cmp-hero--plain::before {
  display: none;
}

.cmp-hero--plain .cmp-hero__title {
  text-shadow: none;
  color: var(--color-text);
}

.cmp-hero--plain .btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-primary-fg);
}

/* --------------------------------------------------------------------------
   9. COMPONENTE: TEXTO (y tipografía editorial compartida)
   -------------------------------------------------------------------------- */
.cmp-text,
.product__desc,
.container {
  max-width: 100%;
}

.cmp-text__title {
  font-size: var(--fs-h2);
  position: relative;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
}

.cmp-text__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.section--tinted .cmp-text__title::after {
  background: var(--section-accent);
}

.cmp-text :is(h3, h4),
.product__desc :is(h3, h4),
.container> :is(h2, h3, h4) {
  margin-top: var(--space-6);
}

.cmp-text :is(h3, h4):first-child {
  margin-top: 0;
}

.container>h1 {
  margin-bottom: var(--space-5);
}

:is(.cmp-text, .product__desc, .container) :is(ul, ol):not([class]) {
  padding-left: 1.4em;
  margin: 0 0 var(--space-4);
}

:is(.cmp-text, .product__desc, .container) :is(ul, ol):not([class])>li {
  margin-bottom: var(--space-2);
}

:is(.cmp-text, .product__desc, .container) ul:not([class]) {
  list-style: none;
  padding-left: 0;
}

:is(.cmp-text, .product__desc, .container) ul:not([class])>li {
  position: relative;
  padding-left: 1.8em;
}

:is(.cmp-text, .product__desc, .container) ul:not([class])>li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.45em;
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  background: var(--color-accent-2);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent-2) 30%, transparent);
}

:is(.cmp-text, .product__desc, .container) ol li::marker {
  color: var(--color-primary);
  font-weight: 800;
  font-family: var(--font-heading);
}

.section--tinted .cmp-text ol li::marker {
  color: var(--section-accent);
}

:is(.cmp-text, .product__desc, .container) blockquote {
  margin: var(--space-5) 0;
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--color-accent) 22%, #fff);
  color: var(--color-text);
  font-size: var(--fs-lg);
  font-weight: 600;
  position: relative;
}

:is(.cmp-text, .product__desc, .container) blockquote::before {
  content: "“";
  position: absolute;
  left: 0.6rem;
  top: -0.3rem;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-primary);
}

:is(.cmp-text, .product__desc, .container > p, .container)>img,
:is(.cmp-text, .product__desc, .container)>p>img {
  border-radius: var(--radius-md);
  margin-block: var(--space-4);
}

:is(.cmp-text, .product__desc, .container) hr {
  border: 0;
  height: 6px;
  margin: var(--space-6) auto;
  width: 80px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-primary) 0 33%, var(--color-accent) 33% 66%, var(--color-accent-2) 66%);
}

:is(.cmp-text, .product__desc, .container) table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--space-5) 0;
  font-size: var(--fs-sm);
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
  overflow-x: auto;
}

:is(.cmp-text, .product__desc, .container) :is(th, td) {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

:is(.cmp-text, .product__desc, .container) th {
  background: var(--color-primary-soft);
  font-weight: 800;
  color: var(--color-primary-strong);
}

:is(.cmp-text, .product__desc, .container) tr:last-child td {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. COMPONENTE: IMAGEN
   -------------------------------------------------------------------------- */
.cmp-image {
  margin: 0;
}

.cmp-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

a:has(> .cmp-image) {
  display: block;
  border-radius: var(--radius-md);
}

a>.cmp-image img {
  transition: transform var(--ease);
}

a:hover>.cmp-image img {
  transform: scale(1.015);
}

/* --------------------------------------------------------------------------
   11. COMPONENTE: TARJETA
   -------------------------------------------------------------------------- */
.cmp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.cmp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cmp-card>img,
.cmp-card>a>img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.cmp-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
}

.cmp-card__body>p:last-child:has(.cmp-card__link) {
  margin-top: auto;
  padding-top: var(--space-3);
}

.cmp-card__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-2);
}

.cmp-card__body p {
  color: var(--color-text-muted);
}

.cmp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: var(--tap);
  font-weight: 800;
  text-decoration: none;
}

.cmp-card__link::after {
  content: "→";
  transition: transform var(--ease);
}

.cmp-card__link:hover {
  text-decoration: underline;
}

.cmp-card__link:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   12. COMPONENTE: BOTÓN
   -------------------------------------------------------------------------- */
.cmp-button {
  margin: 0;
}

.section__grid--1 .cmp-button {
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. COMPONENTE: VIDEO
   -------------------------------------------------------------------------- */
.cmp-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0d1430;
  box-shadow: var(--shadow-md);
}

.cmp-video__play,
.cmp-video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cmp-video__play {
  display: block;
}

.cmp-video__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease), filter var(--ease);
}

.cmp-video__play:hover img {
  transform: scale(1.03);
  filter: brightness(0.85);
}

.cmp-video__play:focus-visible {
  border-radius: var(--radius-md);
  outline-offset: -6px;
  box-shadow: none;
}

.cmp-video__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 10px color-mix(in oklab, var(--color-accent) 35%, transparent), var(--shadow-md);
  transition: transform var(--ease);
}

.cmp-video__icon::before {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--color-accent-fg);
}

.cmp-video__play:hover .cmp-video__icon {
  transform: translate(-50%, -50%) scale(1.08);
}

/* --------------------------------------------------------------------------
   14. COMPONENTE: GALERÍA (cuadrícula y carrusel)
   -------------------------------------------------------------------------- */
.cmp-gallery {
  position: relative;
}

.cmp-gallery__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmp-gallery__item {
  margin: 0;
  min-width: 0;
}

.cmp-gallery__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Cuadrícula */
.cmp-gallery--grid .cmp-gallery__list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cmp-gallery--grid.cmp-gallery--cols-1 .cmp-gallery__list {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .cmp-gallery--grid .cmp-gallery__list {
    gap: var(--space-4);
  }

  .cmp-gallery--grid.cmp-gallery--cols-3 .cmp-gallery__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cmp-gallery--grid.cmp-gallery--cols-4 .cmp-gallery__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Carrusel */
.cmp-gallery--slider {
  --cols: 1;
  --gap: var(--space-3);
}

.cmp-gallery--slider .cmp-gallery__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
  padding-bottom: var(--space-3);
  border-radius: var(--radius-md);
}

.cmp-gallery--slider.cmp-gallery--cols-1 .cmp-gallery__list {
  grid-auto-columns: 92%;
}

.cmp-gallery--slider .cmp-gallery__item {
  scroll-snap-align: start;
}

.cmp-gallery__nav {
  display: none;
}

.cmp-gallery__nav[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .cmp-gallery--slider {
    --gap: var(--space-4);
  }

  .cmp-gallery--slider.cmp-gallery--cols-2 {
    --cols: 2;
  }

  .cmp-gallery--slider.cmp-gallery--cols-3 {
    --cols: 3;
  }

  .cmp-gallery--slider.cmp-gallery--cols-4 {
    --cols: 4;
  }

  .cmp-gallery--slider .cmp-gallery__list,
  .cmp-gallery--slider.cmp-gallery--cols-1 .cmp-gallery__list {
    grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  }

  .cmp-gallery__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: calc(50% - var(--space-3) / 2);
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    padding: 0 0 4px;
    border: 3px solid var(--color-surface);
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-primary-fg);
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform var(--ease), background var(--ease);
  }

  .cmp-gallery__nav:hover {
    background: var(--color-primary-strong);
    transform: translateY(-50%) scale(1.06);
  }

  .cmp-gallery__nav:active {
    transform: translateY(-50%) scale(0.96);
  }

  .cmp-gallery__nav:disabled {
    background: var(--color-border);
    color: var(--color-text-muted);
    cursor: not-allowed;
    transform: translateY(-50%);
  }

  .cmp-gallery__nav:focus-visible {
    border-radius: 50%;
  }

  .cmp-gallery__nav--prev {
    left: -14px;
  }

  .cmp-gallery__nav--next {
    right: -14px;
  }
}

/* --------------------------------------------------------------------------
   15. COMPONENTE: LISTA DE PRODUCTOS
   -------------------------------------------------------------------------- */
.cmp-product-list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cmp-product-list--cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .cmp-product-list {
    gap: var(--space-5);
  }

  .cmp-product-list--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cmp-product-list--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cmp-product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-md);
}

.cmp-product-card .cmp-product-card__link,
.section--tinted .cmp-card .cmp-product-card__link,
.cmp-product-card .cmp-product-card__link:hover {
  color: var(--color-text);
}

.cmp-product-card__link:focus-visible {
  outline-offset: -3px;
  box-shadow: none;
}

.cmp-product-card__link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--color-primary-soft);
}

.cmp-product-card .cmp-card__body {
  padding: var(--space-4);
  gap: var(--space-1);
}

.cmp-product-card .cmp-card__title {
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  margin: 0;
}

.cmp-product-card__link:hover .cmp-card__title {
  color: var(--color-primary);
  text-decoration: underline;
}

.cmp-product-card__price {
  margin-top: auto !important;
  padding-top: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary-strong) !important;
}

/* --------------------------------------------------------------------------
   16. COMPONENTE: CATÁLOGO
   -------------------------------------------------------------------------- */
.cmp-catalog__controls {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-primary-soft);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.cmp-catalog__search,
.cmp-catalog__category {
  width: 100%;
  min-height: 52px;
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  background-color: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.cmp-catalog__search {
  padding-left: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5b76' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 1.1rem center;
  background-size: 20px;
}

.cmp-catalog__search::placeholder {
  color: var(--color-text-muted);
}

.cmp-catalog__category {
  appearance: none;
  cursor: pointer;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2540' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 18px;
}

.cmp-catalog__search:hover,
.cmp-catalog__category:hover {
  border-color: color-mix(in oklab, var(--color-primary) 40%, var(--color-border));
}

.cmp-catalog__search:focus-visible,
.cmp-catalog__category:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 4px var(--color-primary-ring);
}

@media (min-width: 768px) {
  .cmp-catalog__controls {
    grid-template-columns: 1fr minmax(220px, 300px);
  }
}

.cmp-catalog__status {
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.cmp-catalog__pager {
  margin-top: var(--space-6);
}

.cmp-catalog__pager[hidden] {
  display: none;
}

.cmp-catalog__pages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}

.cmp-catalog__pages button {
  min-width: var(--tap);
  height: var(--tap);
  padding: 0 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.cmp-catalog__pages button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
}

.cmp-catalog__pages button:active {
  transform: translateY(1px);
}

.cmp-catalog__pages button[aria-current="page"] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-fg);
}

.cmp-catalog__pages button:disabled {
  opacity: 1;
  background: var(--color-bg);
  color: #8a93a8;
  border-color: var(--color-border);
  cursor: not-allowed;
  transform: none;
}

.cmp-catalog__pages button:focus-visible {
  border-radius: var(--radius-pill);
}

.cmp-catalog__gap {
  min-width: 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   17. PÁGINA DE PRODUCTO
   -------------------------------------------------------------------------- */
.product {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.product__media {
  min-width: 0;
}

.product__single img,
.product__media .cmp-gallery__img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--color-primary-soft);
}

.product__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product__title {
  margin: 0;
}

.product__price {
  margin: 0;
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--color-accent) 35%, #fff);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
}

.product__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.product__cats li {
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--color-accent-2) 22%, #fff);
  border: 1px solid color-mix(in oklab, var(--color-accent-2) 55%, #fff);
  color: #0d4a35;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.product__desc {
  color: var(--color-text);
}

.product__buy {
  margin: var(--space-2) 0 0;
}

.product__buy .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-7);
  }

  .product__media {
    position: sticky;
    top: calc(var(--header-h) + var(--space-4));
  }

  .product__buy .btn {
    width: auto;
  }
}

/* --------------------------------------------------------------------------
   18. MOVIMIENTO REDUCIDO
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .btn:hover,
  .cmp-card:hover,
  .site-header__cta:hover {
    transform: none;
  }
}