/* Maqueta v3: suizo minimal (ui-ux-pro-max «Minimalism & Swiss Style») con los colores de Mate pal Mate */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/outfit-var.woff2) format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/work-sans-var.woff2) format('woff2'); }

:root {
  /* marca: rojo del sello y azul marino; el rojo es el único acento (CTA y cifras) */
  --navy: #021e40; --navy-2: #0d2f5c; --red: #e1150e; --red-press: #b80f09;
  --ink: #0f1b2d; --muted: #4a5668; --line: #dde2ea; --soft: #f3f5f8; --paper: #fff;
  --r: 8px; --r-card: 12px; --pill: 999px;
  --wrap: 1240px; --m: clamp(16px, 3vw, 40px);
  --f: 'Work Sans', system-ui, sans-serif; --f-head: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--f); color: var(--ink); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-head); letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr:focus { position: fixed; z-index: 99; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--r); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--m)); margin-inline: auto; padding-inline: var(--m); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.tint { background: var(--soft); }

/* Botones: rectángulos sobrios, 48 px de alto */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.4em;
  border-radius: var(--r); font: 600 1rem/1 var(--f); text-decoration: none; border: 0; cursor: pointer;
  background: var(--red); color: #fff; transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { background: var(--red-press); }
.btn:active { transform: translateY(1px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--soft); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--red); color: #fff; font: 600 .8125rem/1.3 var(--f); letter-spacing: .02em; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }
.more::after { content: "→"; color: var(--red); transition: transform .2s var(--ease); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more:hover::after { transform: translateX(3px); }
.more--light { color: #fff; }
.more--light::after { color: #fff; }

/* Tipografía de sección: rótulo pequeño + título grande */
.eyebrow { font: 600 .8125rem/1.2 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.h2 { font: 600 clamp(1.875rem, 1.3rem + 1.8vw, 2.75rem)/1.1 var(--f-head); color: var(--navy); max-width: 22ch; }
.h3 { font: 600 1.5rem/1.2 var(--f-head); color: var(--navy); }
.sub { margin-top: 14px; color: var(--muted); max-width: 60ch; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 48px); }

/* Cabecera en una fila */
.site-head { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.brandrow { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand b { font: 700 1.25rem/1 var(--f-head); letter-spacing: -.02em; color: var(--navy); }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { padding: 10px 12px; border-radius: var(--r); text-decoration: none; font-weight: 500; font-size: .9688rem; color: var(--ink); transition: color .2s, background .2s; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current] { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .brandrow { flex-wrap: wrap; justify-content: space-between; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; margin: 0 0 16px; }
  .site-head.open .nav { display: flex; }
  .nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current] { box-shadow: inset 3px 0 0 var(--red); }
}
@media (max-width: 420px) { .brand b { font-size: 1.0625rem; } .cta .btn { padding: 0 1em; min-height: 44px; } }

/* Portada: titular grande a la izquierda, foto del profe a la derecha */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font: 600 clamp(2.5rem, 1.4rem + 4.4vw, 5rem)/1.02 var(--f-head); letter-spacing: -.035em; color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--red); }
.lead { margin-top: 24px; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.facts div { padding: 18px 32px 0 0; }
.facts div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.facts dt { font-size: .875rem; color: var(--muted); }
.facts dd { font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 var(--f-head); color: var(--navy); margin-top: 4px; font-variant-numeric: tabular-nums; }
.hero-pic { position: relative; }
.hero-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-card); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pic img { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) { .facts { grid-template-columns: repeat(3, 1fr); } .facts div { padding-right: 12px; } .facts div + div { padding-left: 12px; } .actions .btn { flex: 1 1 100%; } }

/* Aviso del maratón: franja azul en vez de carrusel */
.notice { display: block; background: var(--navy); color: #fff; text-decoration: none; }
.notice .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 18px; }
.notice b { padding: 4px 10px; border-radius: 4px; background: var(--red); font-size: .875rem; }
.notice .more { color: #fff; margin-left: auto; }
.notice .more::after { color: #fff; }
.notice:hover .more { text-decoration: underline; }

/* Cómo trabajamos: lista numerada en cuadrícula con filetes */
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.tile { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.tile:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.tile .n { font: 600 .9375rem/1.6 var(--f-head); color: var(--red); font-variant-numeric: tabular-nums; }
.tile h3 { font: 600 1.25rem/1.25 var(--f-head); color: var(--navy); }
.tile p { margin-top: 8px; color: var(--muted); font-size: .9688rem; }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr 1fr; }
  .tile:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .tile:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } .tile:nth-child(even) { padding-left: 0; border-left: 0; } .tile { padding-right: 0; } }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan { display: flex; flex-direction: column; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .2s var(--ease); }
.plan:hover { border-color: var(--navy); }
.plan figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.plan .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan h3 { font: 600 1.25rem/1.2 var(--f-head); color: var(--navy); }
.plan .price { font: 600 1.875rem/1 var(--f-head); color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font: 400 .875rem var(--f); color: var(--muted); letter-spacing: 0; }
.plan .when { color: var(--muted); font-size: .9375rem; }
.plan .more { margin-top: auto; padding-top: 10px; }
.plan.rec { border: 2px solid var(--red); }
.plan .tag { align-self: flex-start; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* Buscador de plan */
.finder { margin-top: 20px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.finder .inner { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.finder label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 8px; color: var(--navy); }
.finder select, .form select { appearance: none; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23021e40' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; }
.finder select { width: 100%; min-height: 48px; padding: 0 44px 0 14px; border-radius: var(--r); border: 1.5px solid var(--line); font: 500 1rem var(--f); color: var(--ink); }
.finder select:hover { border-color: var(--muted); }
.finder select:focus-visible { border-color: var(--navy); }
.result { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 16px 0 0; border-top: 1px solid var(--line); color: var(--muted); }
.result b { font: 600 1.125rem var(--f-head); color: var(--navy); }
.result .more { margin-left: auto; }
@media (max-width: 860px) { .finder .inner { grid-template-columns: 1fr; } .finder .inner .btn { width: 100%; } .result .more { margin-left: 0; } }

/* Resultados: cifras grandes */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.stat { padding: 28px 32px 0 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 600 clamp(3rem, 2rem + 3.4vw, 5rem)/1 var(--f-head); letter-spacing: -.04em; color: var(--red); font-variant-numeric: tabular-nums; }
.stat p { margin-top: 14px; color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } .stat, .stat + .stat { padding: 24px 0; border-left: 0; } .stat + .stat { border-top: 1px solid var(--line); } }

/* Testimonios */
.testi { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.testi .pic img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-card); transition: opacity .25s var(--ease); }
.testi .jump { display: inline-block; font: 600 1.25rem/1 var(--f-head); color: var(--red); font-variant-numeric: tabular-nums; }
.testi blockquote { margin-top: 18px; font: 500 clamp(1.375rem, 1.1rem + 1vw, 2rem)/1.3 var(--f-head); letter-spacing: -.015em; color: var(--navy); }
.testi .who { margin-top: 24px; font-weight: 600; }
.testi .meta { color: var(--muted); font-size: .9375rem; }
.testi .ctrl { display: flex; gap: 8px; margin-top: 28px; }
.testi .ctrl button { min-width: 48px; height: 44px; border-radius: var(--r); border: 1.5px solid var(--line); cursor: pointer; font: 600 .9375rem var(--f); background: #fff; color: var(--navy); transition: background .2s, border-color .2s; }
.testi .ctrl button:hover { border-color: var(--navy); }
.testi .ctrl button[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.testi.swap .pic img, .testi.swap .card > :not(.ctrl) { opacity: 0; }
.testi .card > * { transition: opacity .25s var(--ease); }
@media (max-width: 860px) { .testi { grid-template-columns: 1fr; } .testi .pic img { aspect-ratio: 4 / 3; } }

/* Banda apoderados */
.band { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-card); overflow: hidden; background: var(--navy); color: #fff; }
.band > img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; object-position: 50% 30%; }
.band .txt { align-self: center; padding: clamp(32px, 5vw, 72px); }
.band .eyebrow { color: #ff8a85; }
.band h2 { font: 600 clamp(1.875rem, 1.3rem + 1.8vw, 2.75rem)/1.1 var(--f-head); }
.band p { margin: 18px 0 28px; color: #d3dceb; }
.band .tag + h2 { margin-top: 14px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band > img { min-height: 0; aspect-ratio: 16 / 10; } }

/* Agenda y accesos */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line); }
.event .date { display: flex; align-items: baseline; gap: 8px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.event .date b { font: 600 2.5rem/1 var(--f-head); color: var(--red); letter-spacing: -.03em; }
.event .date span { font: 600 .8125rem var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.event h3 { font: 600 1.25rem/1.25 var(--f-head); color: var(--navy); }
.event ul { margin: 12px 0 24px; color: var(--muted); font-size: .9375rem; display: grid; gap: 4px; }
.event .btn { margin-top: auto; align-self: flex-start; }
.two { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.link-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 152px; padding: 24px; border-radius: var(--r-card); background: var(--soft); text-decoration: none; transition: background .2s var(--ease), color .2s; }
.link-card h3 { font: 600 1.25rem/1.2 var(--f-head); color: var(--navy); }
.link-card:hover { background: var(--navy); }
.link-card:hover h3, .link-card:hover .more, .link-card:hover .more::after { color: #fff; }
@media (max-width: 960px) { .two, .events { grid-template-columns: 1fr; } }

/* Tarjetas de acceso rápido (contacto) */
.qcard { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r-card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.qcard:hover { border-color: var(--navy); }
.qcard .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r); background: var(--soft); color: var(--navy); }
.qcard .ico svg { width: 28px; height: 28px; }
.qcard h3 { font: 600 1.125rem/1.25 var(--f-head); color: var(--navy); }
.qcard .more { margin-top: 4px; font-size: .9375rem; }

/* Pie */
.foot { background: var(--navy); color: #fff; margin-top: clamp(64px, 8vw, 112px); }
.foot .top { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; padding-block: 56px 36px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.foot .brand b { color: #fff; } .foot .brand span { display: block; font-size: .875rem; color: #b9c6d8; margin-top: 4px; }
.foot .top p { color: #b9c6d8; }
.foot .top .btn { margin-left: auto; }
.foot .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 40px 56px; }
.foot h2 { font: 600 .8125rem/1 var(--f); letter-spacing: .14em; text-transform: uppercase; color: #b9c6d8; margin-bottom: 18px; }
.foot li + li { margin-top: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { border-top: 1px solid rgba(255, 255, 255, .16); background: var(--navy); color: #b9c6d8; }
.legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px; font-size: .875rem; }
.legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; } .foot .top .btn { margin-left: 0; } }

.wa { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1f9e55; color: #fff; box-shadow: 0 6px 18px rgba(2, 30, 64, .22); }
.wa svg { width: 28px; height: 28px; }
.preview-note { background: #fff4d6; color: var(--navy); text-align: center; font-size: .875rem; padding: 6px var(--m); }

/* ================= Páginas interiores ================= */

.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.page-hero.no-pic .wrap { grid-template-columns: 1fr; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 20px; font-size: .875rem; color: var(--muted); }
.crumbs a, .crumbs span { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs > * + *::before { content: "/"; margin: 0 10px; color: var(--line); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.page-hero h1, .product h1 { font: 600 clamp(2.375rem, 1.5rem + 3.2vw, 4rem)/1.04 var(--f-head); letter-spacing: -.03em; color: var(--navy); }
.page-hero .lead a { color: var(--navy); font-weight: 600; }
.page-hero .actions { margin-top: 28px; }
.page-hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero figure img { aspect-ratio: 16 / 9; } }

/* Tabla comparativa */
.compare { border-radius: var(--r-card); border: 1px solid var(--line); overflow-x: auto; }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { vertical-align: bottom; padding-block: 24px; }
.compare tbody th { font-weight: 600; color: var(--navy); width: 26%; }
.compare tfoot td { border-bottom: 0; padding-block: 20px 24px; }
.compare .pname { display: block; font: 600 1.125rem/1.2 var(--f-head); color: var(--navy); }
.compare .price { display: block; margin-top: 6px; font: 600 1.875rem/1 var(--f-head); color: var(--navy); letter-spacing: -.02em; }
.compare .rec { background: #fff6f5; }
.compare thead .rec { box-shadow: inset 0 3px 0 var(--red); }
.compare tfoot .btn { width: 100%; }
.compare td:not(.rec) .btn { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.compare td:not(.rec) .btn:hover { background: var(--navy); color: #fff; }
.compare-note { margin-top: 12px; color: var(--muted); font-size: .9375rem; }

/* Horarios */
.sched { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sched article { border-radius: var(--r-card); border: 1px solid var(--line); padding: 28px; }
.sched h3 { font: 600 1.25rem/1.2 var(--f-head); color: var(--navy); }
.sched dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 20px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.sched dt { font-weight: 600; color: var(--navy); }
.sched dd { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 4px; background: var(--soft); color: var(--navy); font-weight: 600; font-size: .875rem; }
.pill--navy { background: var(--navy); color: #fff; }
@media (max-width: 760px) { .sched { grid-template-columns: 1fr; } }

/* Preguntas: acordeón con filetes */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; min-height: 48px; cursor: pointer; list-style: none; font: 600 1.125rem/1.35 var(--f-head); color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font: 400 1.75rem/1 var(--f-head); color: var(--red); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--red); }
.faq-list details p { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }
.faq-list details a { color: var(--red); font-weight: 600; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.faq-cats a { padding: 10px 16px; border-radius: var(--r); border: 1.5px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; }
.faq-cats a:hover { border-color: var(--navy); }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group .h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

/* Ficha de plan */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.product figure img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-card); position: sticky; top: 100px; }
.product h1 { margin: 14px 0 12px; }
.product .lead { margin-top: 0; }
.price-pill { display: flex; align-items: baseline; gap: 10px; margin: 28px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.price-pill b { font: 600 2.5rem/1 var(--f-head); color: var(--navy); letter-spacing: -.03em; }
.price-pill span { color: var(--muted); }
.buy { display: grid; gap: 16px; }
.choice { display: grid; gap: 10px; }
.choice label { display: flex; gap: 12px; align-items: center; min-height: 56px; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--line); cursor: pointer; font-weight: 500; color: var(--ink); transition: border-color .2s; }
.choice label:hover { border-color: var(--muted); }
.choice input { accent-color: var(--red); width: 20px; height: 20px; flex: none; }
.choice label:has(input:checked) { border-color: var(--red); background: #fff6f5; }
.buy .btn { width: 100%; min-height: 56px; font-size: 1.0625rem; }
.buy .small { font-size: .875rem; color: var(--muted); text-align: center; }
.incl { display: grid; gap: 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.incl li { display: flex; gap: 12px; align-items: flex-start; }
.incl li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e1150e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/20px no-repeat; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product figure img { aspect-ratio: 16 / 10; position: static; } }

/* Casos de éxito */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { min-height: 44px; padding: 0 16px; border-radius: var(--r); border: 1.5px solid var(--line); cursor: pointer; font: 600 .9688rem var(--f); background: #fff; color: var(--navy); transition: border-color .2s, background .2s; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.cases > li { display: flex; flex-direction: column; }
.cases > li[hidden] { display: none; }
.cases figure { position: relative; }
.cases figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 25%; border-radius: var(--r-card); }
.cases .jump { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--r); background: #fff; color: var(--red); font: 600 1.25rem/1.2 var(--f-head); font-variant-numeric: tabular-nums; }
.cases .body { padding-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.cases h2 { font: 600 1.25rem/1.2 var(--f-head); color: var(--navy); }
.cases .meta { color: var(--muted); font-size: .9375rem; }
.cases blockquote { margin-top: 12px; padding-left: 16px; border-left: 2px solid var(--red); color: var(--ink); }
@media (max-width: 960px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }

/* Equipo */
.team { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.team + .team { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.team figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-card); }
.team h2 { font: 600 clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem)/1.1 var(--f-head); color: var(--navy); margin-top: 14px; }
.team .role { margin-top: 8px; color: var(--muted); }
.team blockquote { margin: 28px 0 18px; padding-left: 20px; border-left: 2px solid var(--red); color: var(--navy); font: 500 1.25rem/1.4 var(--f-head); }
.team.flip { grid-template-columns: 7fr 5fr; }
.team.flip figure { order: 2; }
@media (max-width: 860px) { .team, .team.flip { grid-template-columns: 1fr; } .team.flip figure { order: 0; } .team figure img { aspect-ratio: 4 / 3; } }
.faces { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.faces img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-card); }
.faces figcaption { margin-top: 10px; font-weight: 600; color: var(--navy); font-size: .9375rem; }
@media (max-width: 860px) { .faces { grid-template-columns: repeat(3, 1fr); } }

/* Contacto y formularios */
.contact-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.form-card { border-radius: var(--r-card); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.form-card h2 { font: 600 1.625rem/1.15 var(--f-head); color: var(--navy); margin-bottom: 24px; }
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 600; font-size: .9375rem; color: var(--navy); margin-bottom: 6px; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background-color: #fff; font: 400 1.0625rem var(--f); color: var(--ink); transition: border-color .2s; }
.form select { padding-right: 44px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--muted); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { border-color: var(--navy); }
.form textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; min-height: 52px; }
.form .note { font-size: .875rem; color: var(--muted); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }

/* Carro y pago */
.shop-title { font: 600 clamp(2rem, 1.4rem + 2vw, 3rem)/1.1 var(--f-head); color: var(--navy); margin-bottom: 24px; }
.steps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 36px; padding: 0 0 20px; list-style: none; border-bottom: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.steps li b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); font-size: .875rem; color: var(--muted); }
.steps li[aria-current] { color: var(--navy); }
.steps li[aria-current] b { background: var(--red); border-color: var(--red); color: #fff; }
.steps li.done b { background: var(--navy); border-color: var(--navy); color: #fff; }
.shop { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; }
.cart-item img { width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.cart-item h3 { font: 600 1.1875rem/1.2 var(--f-head); color: var(--navy); }
.cart-item .meta { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.cart-item .rm { margin-top: 6px; min-height: 32px; padding: 0; border: 0; background: none; color: var(--red); font: 600 .9375rem var(--f); text-decoration: underline; cursor: pointer; }
.cart-item .amount { font: 600 1.375rem/1 var(--f-head); color: var(--navy); font-variant-numeric: tabular-nums; }
.summary { border-radius: var(--r-card); background: var(--soft); padding: clamp(24px, 3vw, 36px); position: sticky; top: 100px; }
.summary h2 { font: 600 1.375rem/1.15 var(--f-head); color: var(--navy); margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.sum-row.total { border-bottom: 0; padding-top: 18px; color: var(--navy); font: 600 1.5rem/1 var(--f-head); }
.summary .btn { width: 100%; min-height: 54px; margin-top: 20px; }
.summary .small { margin-top: 14px; font-size: .875rem; color: var(--muted); text-align: center; }
.coupon { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.coupon input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: var(--r); border: 1.5px solid var(--line); font: 400 1rem var(--f); }
.coupon .btn { margin: 0; width: auto; min-height: 48px; box-shadow: inset 0 0 0 1.5px var(--navy); }
.pay-opt { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 1.5px solid var(--red); background: #fff6f5; }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.pay-opt b { display: block; color: var(--navy); }
.pay-opt span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 960px) { .shop { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .cart-item { grid-template-columns: 72px 1fr; } .cart-item img { width: 72px; } .cart-item .amount { grid-column: 2; } }

/* Banda de cierre */
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--navy); }
.cta-band h2 { font: 600 clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem)/1.1 var(--f-head); color: var(--navy); }
.cta-band p { margin-top: 10px; color: var(--muted); }
.cta-band .actions { margin-top: 0; }

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

/* En fondo blanco el botón claro pasa a contorno */
.page-hero .btn--light, .coupon .btn--light { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.page-hero .btn--light:hover { background: var(--navy); color: #fff; }

/* Móvil: el sello del logo ya dice «Mate pal Mate»; así logo y botones caben en una fila */
@media (max-width: 480px) { .brandrow .brand b { display: none; } .facts dd { font-size: 1.25rem; } .facts dt { font-size: .8125rem; } }
/* el espacio antes del pie lo da la última sección */
.foot { margin-top: 0; }

/* Crédito Conexiala con logo */
.credito-cx{display:inline-block;vertical-align:middle;line-height:0}
.credito-cx img{height:18px;width:auto}
