/* =========================================================
   AMG - Asociación Mutual Generativa
   Tipografía: Berthold Akzidenz Grotesk (fallback Arial)
   ========================================================= */

@font-face { font-family: 'AG'; src: url('/fonts/AkzidenzGroteskBE-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'AG'; src: url('/fonts/AkzidenzGroteskBE-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'AG'; src: url('/fonts/AkzidenzGroteskBE-It.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'AG'; src: url('/fonts/AkzidenzGroteskBE-Md.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'AG'; src: url('/fonts/AkzidenzGroteskBE-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'AG'; src: url('/fonts/AkzidenzGroteskBE-XBd.otf') format('opentype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'AG Cn'; src: url('/fonts/AkzidenzGroteskBE-Cn.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'AG Cn'; src: url('/fonts/AkzidenzGroteskBE-MdCn.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'AG Cn'; src: url('/fonts/AkzidenzGroteskBE-BoldCn.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'AG Cn'; src: url('/fonts/AkzidenzGroteskBE-XBdCn.otf') format('opentype'); font-weight: 800; font-display: swap; }

:root {
  --green: #47aa42;          /* verde del isotipo (rgb 71,170,66) */
  --green-600: #3b9437;
  --green-700: #2c7a2e;      /* botones y links (contraste AA con blanco) */
  --green-800: #215f24;
  --green-900: #14381a;      /* footer */
  --green-50: #eef6ec;
  --green-100: #dcefd8;
  --ink: #111411;
  --text: #2a2e2a;
  --muted: #5b625b;
  --line: #dfe4de;
  --soft: #f2f4f1;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17, 20, 17, .06), 0 6px 20px rgba(17, 20, 17, .06);
  --shadow-lg: 0 10px 40px rgba(17, 20, 17, .14);
  --font: 'AG', Arial, Helvetica, sans-serif;
  --font-cn: 'AG Cn', 'Arial Narrow', Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-800); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.3em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-700); color: #fff; }
.btn--ghost { color: var(--text); background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green-700); color: var(--green-700); }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--green-50); color: var(--green-900); }
.btn--lg { font-size: 1.05rem; padding: .9em 1.6em; }
.btn--small { font-size: .85rem; padding: .5em .9em; }

.eyebrow { font-family: var(--font-cn); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--green-700); margin: 0 0 .5em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line), 0 4px 18px rgba(0, 0, 0, .04); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; }
.brand img { height: 44px; width: auto; max-width: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn .icon { width: 28px; height: 28px; }
.menu-btn .icon--close, .menu-btn[aria-expanded='true'] .icon--open { display: none; }
.menu-btn[aria-expanded='true'] .icon--close { display: block; }
.nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; border-radius: 8px; }
.nav__link:hover, .nav__link.is-active { color: var(--green-700); }
.nav__link.is-active { box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.nav__toggle { background: none; border: 0; padding: 4px; margin-left: -8px; cursor: pointer; color: var(--green); display: flex; }
.icon--chev { width: 18px; height: 18px; stroke-width: 2.4; transition: transform .2s; }
.nav__menu { position: absolute; top: 100%; left: -8px; min-width: 270px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 6px 0 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.nav__menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--text); text-decoration: none; border-radius: 8px; font-size: .95rem; }
.nav__menu a .icon { color: var(--green-700); width: 20px; height: 20px; }
.nav__menu a:hover { background: var(--green-50); color: var(--green-800); }
.nav__sep { height: 1px; background: var(--line); margin: 6px 8px; }
.has-menu:hover .nav__menu, .has-menu:focus-within .nav__menu, .has-menu.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.has-menu:hover .icon--chev, .has-menu.is-open .icon--chev { transform: rotate(180deg); }
.nav__actions { display: flex; gap: 10px; }
.nav__actions .btn { padding: .62em 1.1em; }

/* Anchos medios: "Pago online" queda como botón de solo ícono y el menú se compacta */
@media (max-width: 1240px) {
  .nav__link { padding: 10px 7px; }
  .nav__actions .btn--outline { padding: .62em; }
  .nav__actions .btn--outline .btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav__actions .btn--outline .icon { margin: 0; }
  .nav__actions .btn--outline { gap: 0; }
}
@media (max-width: 1040px) {
  :root { --header-h: 66px; }
  .brand img { height: 38px; }
  .menu-btn { display: flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 14px 4px; font-size: 1.1rem; }
  .nav__link.is-active { box-shadow: none; }
  .nav__toggle { padding: 12px; margin: 0; }
  .nav__menu { position: static; width: 100%; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 10px; margin: 0; min-width: 0; }
  .has-menu.is-open .nav__menu { display: block; }
  .has-menu:hover .nav__menu { display: none; }
  .has-menu.is-open:hover .nav__menu { display: block; }
  .nav__actions { flex-direction: column; margin-top: 20px; }
  .nav__actions .btn, .nav__actions .btn--outline { display: flex; padding: .9em; gap: .5em; }
  .nav__actions .btn--outline .btn__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { border-bottom: 1px solid var(--line); font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 12px 0; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Hero / slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-700); }
.hero__track { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; min-height: 420px; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 88px; }
.slide__title { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: .95; letter-spacing: -.005em; margin-bottom: .3em; color: inherit; }
.slide__copy { font-size: 1.15rem; max-width: 34em; margin-bottom: 1.6em; }
.btn--slide { background: #fff; color: var(--green-800); font-size: 1rem; padding: .85em 1.5em; }
.btn--slide:hover { background: var(--ink); color: #fff; }
.slide__deco { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.slide__ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.slide__deco img { position: relative; width: 78%; }
.slide__img { justify-self: end; max-height: 340px; width: auto; border-radius: var(--radius); object-fit: cover; }
.slide--verde { background: var(--green-700); color: #fff; }
.slide--verde .eyebrow { color: #cdeec9; }
.slide--verde .slide__deco img { filter: brightness(0) invert(1); }
.slide--oscuro { background: var(--ink); color: #fff; }
.slide--oscuro .eyebrow { color: var(--green); }
.slide--oscuro .slide__ring { background: rgba(71, 170, 66, .18); }
.slide--oscuro .btn--slide { background: var(--green); color: var(--ink); }
.slide--oscuro .btn--slide:hover { background: #fff; }
.slide--claro { background: var(--green-50); color: var(--ink); }
.slide--claro .slide__ring { background: #fff; }
.slide--claro .btn--slide { background: var(--green-700); color: #fff; }
.slide--claro .btn--slide:hover { background: var(--ink); }
.hero__arrow { position: absolute; bottom: 62px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.hero__arrow:hover { background: #fff; }
.hero__arrow--prev { left: calc(50% - 98px); }
.hero__arrow--next { right: calc(50% - 98px); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 75px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.hero__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.hero__dots button[aria-current='true'] { background: #fff; }
@media (max-width: 860px) {
  .slide { min-height: 0; }
  .slide__inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 96px; text-align: left; }
  .slide__deco { position: absolute; right: -60px; top: 20px; width: 220px; opacity: .35; pointer-events: none; }
  .slide__img { display: none; }
  .slide__text { position: relative; z-index: 1; }
  .hero__arrow { display: none; }
}

/* ---------- Buscador rápido (home) ---------- */
.quicksearch { position: relative; z-index: 3; margin-top: -56px; }
.quicksearch__card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 24px 28px 20px; }
.quicksearch__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.quicksearch__head h2 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; margin: 0; }
.quicksearch__head p { margin: 0; color: var(--muted); }
.quicksearch__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.quicksearch__icon .icon { width: 26px; height: 26px; }
.quicksearch__fields { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 14px; align-items: end; }
.quicksearch__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.btn--search { height: 50px; padding: 0 1.6em; }
@media (max-width: 860px) {
  .quicksearch { margin-top: -64px; }
  .quicksearch__card { padding: 20px 16px; }
  .quicksearch__fields { grid-template-columns: 1fr 1fr; }
  .quicksearch__fields .field--grow, .btn--search { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .quicksearch__fields { grid-template-columns: 1fr; }
  .quicksearch__head h2 { font-size: 1.4rem; }
}

/* ---------- Campos de formulario ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232c7a2e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(71, 170, 66, .18); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--green-50); color: var(--green-800); text-decoration: none; font-size: .9rem; font-weight: 500; border: 1.5px solid transparent; cursor: pointer; }
.chip .icon { width: 18px; height: 18px; }
.chip:hover { border-color: var(--green-700); color: var(--green-800); }
.chip.is-active { background: var(--green-700); color: #fff; }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 40px 0 72px; }
.section--soft { background: var(--soft); }
.is-home .section--soft { padding-top: 80px; }
.section-title { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; text-align: center; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: .005em; margin-bottom: .6em; }
.section-title--left { text-align: left; }
.section-lead { text-align: center; color: var(--muted); font-size: 1.12rem; max-width: 40em; margin: -.6em auto 2.2em; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head .section-title { margin: 0; }
.subhead { font-size: 1.15rem; margin-top: 1.4em; }

/* ---------- Tiles (beneficios destacados / categorías) ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 14px 22px; border-radius: var(--radius); background: #e5e9e4; color: var(--ink); text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); background: #dce3db; }
.tile__icon { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--green-700); display: grid; place-items: center; flex: none; }
.tile__icon .icon { width: 38px; height: 38px; }
.tile__title { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.tile__detail { font-size: .88rem; color: var(--green-800); font-weight: 500; }
.tile--tint { background: var(--green-50); }
.tile--tint:hover { background: var(--green-100); }
/* En la cartilla las tarjetas se centran (como Asispre) aunque la última fila quede incompleta */
.tiles--cartilla { display: flex; flex-wrap: wrap; justify-content: center; max-width: 980px; margin: 0 auto; }
.tiles--cartilla .tile { width: calc(25% - 12px); }
@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .tiles--cartilla .tile { width: calc(33.333% - 11px); } }
@media (max-width: 560px) { .tiles--cartilla .tile { width: calc(50% - 6px); } }
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile__icon { width: 62px; height: 62px; }
  .tile__icon .icon { width: 30px; height: 30px; }
}

/* ---------- Banners ---------- */
.banners { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 30px 32px; border-radius: 18px; text-decoration: none; min-height: 190px; transition: transform .18s, box-shadow .18s; }
.banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.banner--big { grid-row: span 2; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 40px; }
.banner__text { position: relative; z-index: 1; max-width: 26em; }
.banner h2 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; margin-bottom: .35em; color: inherit; }
.banner--big h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
.banner p { margin-bottom: 1em; opacity: .92; }
.banner__btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: .55em 1.1em; border-radius: 999px; font-size: .9rem; }
.banner__art { margin-left: auto; flex: none; }
.banner--big .banner__art { align-self: flex-end; }
.banner__art img { max-height: 200px; width: auto; border-radius: 12px; }
.banner__circle { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; }
.banner__circle .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.banner--big .banner__circle { width: 200px; height: 200px; }
.banner--big .banner__circle .icon { width: 96px; height: 96px; stroke-width: 1.1; }
.banner--verde { background: var(--green-700); color: #fff; }
.banner--verde .banner__btn { background: #fff; color: var(--green-800); }
.banner--verde .banner__circle { background: rgba(255, 255, 255, .14); color: #fff; }
.banner--claro { background: var(--green-50); color: var(--ink); }
.banner--claro .banner__btn { background: var(--green-700); color: #fff; }
.banner--claro .banner__circle { background: #fff; color: var(--green-700); }
.banner--oscuro { background: var(--ink); color: #fff; }
.banner--oscuro .banner__btn { background: var(--green); color: var(--ink); }
.banner--oscuro .banner__circle { background: rgba(71, 170, 66, .2); color: var(--green); }
@media (max-width: 860px) {
  .banners { grid-template-columns: 1fr; grid-template-rows: none; }
  .banner--big { grid-row: auto; }
  .banner, .banner--big { padding: 28px 24px; }
  .banner--big .banner__circle { width: 130px; height: 130px; }
  .banner--big .banner__circle .icon { width: 64px; height: 64px; }
  .banner__circle { width: 84px; height: 84px; }
  .banner__circle .icon { width: 40px; height: 40px; }
}

/* ---------- CTA ---------- */
.cta { background: var(--green-50); border-top: 1px solid var(--green-100); }
.cta__inner { display: flex; align-items: center; gap: 28px; padding-top: 44px; padding-bottom: 44px; }
.cta__art img { width: 120px; }
.cta__text { flex: 1; }
.cta h2 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .2em; }
.cta p { margin: 0; color: var(--text); font-size: 1.08rem; }
.cta .btn--light { background: var(--green-700); color: #fff; }
.cta .btn--light:hover { background: var(--green-800); }
@media (max-width: 760px) {
  .cta__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta__art img { width: 90px; }
}

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--green-50), #fff); padding: 48px 0 40px; }
.page-hero__inner { display: flex; align-items: center; gap: 24px; }
.page-hero h1 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 .2em; }
.page-hero__intro { font-size: 1.18rem; color: var(--text); max-width: 42em; margin: 0; }
.page-hero__icon { width: 92px; height: 92px; border-radius: 50%; background: #fff; color: var(--green-700); display: grid; place-items: center; flex: none; box-shadow: var(--shadow); }
.page-hero__icon .icon { width: 46px; height: 46px; }
@media (max-width: 600px) {
  .page-hero__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .page-hero__icon { width: 68px; height: 68px; }
  .page-hero__icon .icon { width: 34px; height: 34px; }
}

/* ---------- Prosa ---------- */
.prose { font-size: 1.05rem; }
.prose h3 { font-family: var(--font-cn); font-size: 2rem; font-weight: 800; color: var(--green-700); margin: .2em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose ol li::marker { color: var(--green-700); font-weight: 700; }
.prose strong { color: var(--ink); }

/* ---------- Cards genéricas ---------- */
.cards { display: grid; gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.card--center .tile__icon { background: var(--green-50); margin-bottom: 12px; }
.card--center p { color: var(--muted); margin: 0; }
.card--feature { background: var(--green-50); border-color: var(--green-100); }
.card h3 { font-size: 1.2rem; }
@media (max-width: 960px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.checklist .icon { color: var(--green-700); width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.4; }

/* ---------- Quiénes somos ---------- */
.about { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.about__block { display: flex; gap: 20px; }
.about__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.about__icon .icon { width: 28px; height: 28px; }
.about h2 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ---------- Sepelio ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 32px 28px; }
.plan h3 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; margin-bottom: .2em; }
.plan__desc { color: var(--muted); }
.plan .checklist { flex: 1; }
.plan--featured { border-color: var(--green-700); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -14px; left: 28px; background: var(--green-700); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.option h2 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; }
.option .tile__icon { background: var(--green-50); margin-bottom: 14px; }
.combos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: c; }
.combo { background: var(--soft); border-radius: var(--radius); padding: 28px; }
.combo__n { width: 40px; height: 40px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.combo h3 { font-size: 1.25rem; }
.combo p { margin: 0; color: var(--muted); }
.hotline { background: var(--ink); color: #fff; }
.hotline__inner { display: flex; align-items: center; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.hotline h2 { color: #fff; font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; margin: 0 0 .2em; }
.hotline p { margin: 0; opacity: .85; }
.hotline__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; flex: none; }
.hotline__icon .icon { width: 32px; height: 32px; }
.hotline__phone { margin-left: auto; font-family: var(--font-cn); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--green); text-decoration: none; white-space: nowrap; }
.hotline__phone:hover { color: #fff; }
@media (max-width: 960px) { .plans, .combos { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }
@media (max-width: 700px) { .hotline__inner { flex-direction: column; align-items: flex-start; } .hotline__phone { margin-left: 0; } }

/* ---------- Cartilla ---------- */
.searchbar { display: flex; align-items: center; gap: 10px; max-width: 720px; margin: 0 auto 36px; padding: 6px 6px 6px 20px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.searchbar > .icon { color: var(--green-700); }
.searchbar input { flex: 1; border: 0; padding: 12px 4px; font-size: 1.05rem; min-width: 0; background: transparent; }
.searchbar input:focus { outline: none; }
.searchbar:focus-within { border-color: var(--green-700); }

.cartilla-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.cartilla-head h1 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3rem); margin: 0; }
.cartilla-head p { margin: 4px 0 0; color: var(--muted); }
.cartilla-head .page-hero__icon { background: var(--green-50); box-shadow: none; width: 76px; height: 76px; }
.cartilla-head .page-hero__icon .icon { width: 38px; height: 38px; }

.cartilla { display: grid; grid-template-columns: 310px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 14px; background: var(--soft); border-radius: var(--radius); padding: 22px; }
.filters__title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0; color: var(--green-800); }
.filters__actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; margin-top: 4px; }
.filters__actions .btn { padding-left: .6em; padding-right: .6em; }
.filters__benefit { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: #fff; text-decoration: none; color: var(--text); border: 1.5px solid var(--green-100); font-size: .9rem; }
.filters__benefit .icon { width: 32px; height: 32px; color: var(--green-700); }
.filters__benefit strong { display: block; color: var(--ink); }
.filters__benefit:hover { border-color: var(--green-700); color: var(--text); }
.results { min-height: 300px; transition: opacity .15s; }
.results.is-loading { opacity: .45; pointer-events: none; }
.results__count { margin: 0 0 14px; color: var(--muted); }
.results__count strong { color: var(--ink); font-size: 1.15rem; }
.results__list { display: flex; flex-direction: column; gap: 14px; }
.results__list--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.prov { display: flex; gap: 20px; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: box-shadow .15s, border-color .15s; }
.prov:hover { box-shadow: var(--shadow); border-color: var(--green-100); }
.prov__name { font-size: 1.12rem; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 6px; }
.prov__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.prov__tags:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-800); }
.tag .icon { width: 15px; height: 15px; }
.tag--tipo { background: var(--ink); color: #fff; }
.prov__meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.prov__meta li { display: flex; gap: 10px; align-items: flex-start; }
.prov__meta .icon { width: 18px; height: 18px; color: var(--green-700); margin-top: 3px; }
.prov__meta a { color: var(--text); text-decoration: none; }
.prov__meta a:hover { color: var(--green-700); text-decoration: underline; }
.prov__meta .sep { color: var(--muted); }
.prov__benefit { color: var(--green-800); font-weight: 700; }
.prov__actions { display: flex; flex-direction: column; gap: 8px; flex: none; }
.empty { text-align: center; padding: 48px 20px; background: var(--soft); border-radius: var(--radius); }
.empty > .icon { width: 48px; height: 48px; color: var(--green-700); margin: 0 auto 10px; }
.empty p { color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.pager ol { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pager a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line); color: var(--text); text-decoration: none; font-weight: 700; }
.pager a:hover { border-color: var(--green-700); color: var(--green-700); }
.pager a[aria-current] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pager__btn { display: inline-flex !important; gap: 6px; }
.pager__gap { display: grid; place-items: center; min-width: 24px; color: var(--muted); }
@media (max-width: 900px) {
  .cartilla { grid-template-columns: 1fr; }
  .filters { position: static; }
  .results__list--grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  /* Filtros compactos en celular para que los resultados aparezcan en el primer pantallazo */
  .section--tight { padding-top: 24px; }
  .cartilla-head { margin-bottom: 16px; }
  .cartilla-head p { font-size: .95rem; }
  .cartilla { gap: 18px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .filters__title { display: none; }
  .filters .field > span { font-size: .8rem; }
  .filters .field input, .filters .field select { min-height: 44px; padding-top: 8px; padding-bottom: 8px; font-size: .95rem; }
  .filters .field:has(input[type='search']), .filters__actions, .filters__benefit { grid-column: 1 / -1; }
  .filters:has([data-facet='especialidades']) .field:has([data-facet='localidades']) { grid-column: 1 / -1; }
  .filters__benefit { padding: 10px 12px; font-size: .85rem; }
  .filters__benefit .icon { width: 24px; height: 24px; }
  .prov { flex-direction: column; gap: 14px; padding: 18px; }
  .prov__actions { flex-direction: row; flex-wrap: wrap; }
  .pager__btn span { display: none; }
  .cartilla-head .page-hero__icon { display: none; }
}

/* ---------- Cartilla imprimible ---------- */
.printdoc__head { display: flex; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 3px solid var(--green); margin-bottom: 20px; }
.printdoc__head h1 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: 2.2rem; margin: 0; }
.printdoc__head p { margin: 0; color: var(--muted); }
.printdoc__tools { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.printdoc__tools .field { min-width: 260px; }
.printdoc__group { margin-bottom: 36px; }
.printdoc__group h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; color: var(--green-800); }
.printdoc__group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin: 18px 0 8px; color: var(--muted); }
.printdoc__table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.printdoc__table th, .printdoc__table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.printdoc__table th { background: var(--soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.printdoc { overflow-x: auto; }

@media print {
  .site-header, .site-footer, .breadcrumb, .wa-float, .no-print, .skip-link { display: none !important; }
  body { font-size: 11pt; }
  .section, .section--tight { padding: 0; }
  .printdoc__group { break-inside: auto; }
  .printdoc__table tr { break-inside: avoid; }
  .printdoc__group h2 { break-after: avoid; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--text); transition: transform .18s, box-shadow .18s, border-color .18s; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--green-100); color: var(--text); }
.benefit .tile__icon { background: var(--green-50); width: 68px; height: 68px; margin-bottom: 16px; }
.benefit .tile__icon .icon { width: 34px; height: 34px; }
.benefit h2, .benefit h3 { font-size: 1.25rem; margin-bottom: .35em; }
.benefit p { color: var(--muted); flex: 1; }
.benefit__more { display: inline-flex; align-items: center; gap: 6px; color: var(--green-700); font-weight: 700; margin-top: auto; }
.benefits--compact { grid-template-columns: repeat(4, 1fr); }
.benefits--compact .benefit { padding: 22px; }
@media (max-width: 960px) { .benefits, .benefits--compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits, .benefits--compact { grid-template-columns: 1fr; } }

.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.howto { background: var(--green-50); border-radius: 18px; padding: 28px; border: 1.5px solid var(--green-100); }
.howto h2 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; color: var(--green-800); }
.howto__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 4px; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } }

/* ---------- Ayuda ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; white-space: nowrap; }
.subnav a .icon { color: var(--green-700); }
.subnav a:hover { background: var(--green-50); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.split--reverse { grid-template-columns: 1fr 1.2fr; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; }
.store small { display: block; font-weight: 400; font-size: .72rem; opacity: .8; }
.store:hover { background: var(--green-800); color: #fff; }
.credential { display: grid; place-items: center; }
.credential__card { width: min(380px, 100%); aspect-ratio: 1.6; border-radius: 20px; background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #fff; padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.credential__card::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.credential__label { margin-top: auto; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; opacity: .8; }
.credential__name { font-family: var(--font-cn); font-weight: 800; font-size: 1.6rem; }
.credential__num { opacity: .85; font-size: .92rem; }
.logo-white { filter: brightness(0) invert(1); }
.note { display: flex; gap: 14px; align-items: flex-start; background: var(--soft); border-radius: 12px; padding: 18px 20px; margin: 28px 0; }
.note > .icon { color: var(--green-700); margin-top: 3px; }
.note .prose p:last-child { margin: 0; }
.faq-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq__item[hidden] { display: none; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--green-700); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item .prose { padding: 0 22px 18px; }
.faq__item .prose p:last-child { margin: 0; }
@media (max-width: 860px) { .split, .split--reverse { grid-template-columns: 1fr; gap: 32px; } .split--reverse .credential { order: 2; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.contact__channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); background: #fff; }
a.channel:hover { border-color: var(--green-700); color: var(--text); }
.channel small { display: block; color: var(--muted); font-size: .85rem; }
.channel strong { color: var(--ink); font-size: 1.05rem; overflow-wrap: anywhere; }
.channel__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.contact__map { width: 100%; height: 280px; border: 0; border-radius: 14px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.alert--ok { background: var(--green-50); color: var(--green-900); border: 1px solid var(--green-100); }
.alert--error { background: #fdecea; color: #7a1f16; border: 1px solid #f5c6c0; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #d6e5d6; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer__brand img { height: 44px; width: auto; margin-bottom: 16px; }
.site-footer__title { color: var(--green); font-size: 1.05rem; margin: 0 0 12px; }
.site-footer__title:not(:first-child) { margin-top: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--green); width: 18px; height: 18px; margin-top: 3px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; }
.site-footer__bottom { background: rgba(0, 0, 0, .25); font-size: .85rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.site-footer__admin { opacity: .55; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--green); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.1; }
.wa-float .icon { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: #fff; color: #1fa855; }
.wa-float strong { display: block; font-size: .95rem; }
.wa-float:hover { background: #fff; color: var(--ink); }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 8px; } }

/* ---------- Página de mensajes ---------- */
.message-page { display: grid; place-items: center; min-height: 100vh; background: var(--soft); padding: 20px; }
.message-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 40px; max-width: 520px; text-align: center; }
.message-card img { margin: 0 auto 24px; height: 44px; width: auto; }
.message-card h1 { font-family: var(--font-cn); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; }
.message-card code { background: var(--soft); padding: 2px 6px; border-radius: 4px; font-size: .9em; }

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

/* ---------- Pantallas muy angostas ---------- */
@media (max-width: 600px) {
  .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; }
  .hotline__phone { white-space: normal; }
}
