:root {
  --vino: #702920;
  --gris: #f2f2f2;
  --blanco: #ffffff;
  --ink: #702920;
  --muted: #8d4a42;
  --paper: #f2f2f2;
  --white: #ffffff;
  --line: #e4e4e4;
  --brand: #702920;
  --brand-dark: #571f18;
  --shadow: 0 16px 40px rgba(112, 41, 32, 0.08);
  --max: 1480px;
  --nav: 5rem;
  --topbar: 2.4rem;
  --cat-yellow: #FFCD11;
  --radius: 0.85rem;
  --font: "Syne", "Avenir Next", system-ui, sans-serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

html[data-theme="dark"] {
  --ink: #ffffff;
  --muted: #f3e8e6;
  --paper: #5a211a;
  --white: #702920;
  --line: rgba(255, 255, 255, 0.28);
  --brand: #ffffff;
  --brand-dark: #f2f2f2;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.55em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(var(--max), calc(100% - 3.5vw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--blanco); padding: 0.5rem 1rem; z-index: 80; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--blanco);
  border-bottom: 1px solid var(--line);
}
html[data-theme="dark"] .site-header { background: var(--vino); }
.header-inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: calc(var(--nav) + var(--topbar));
}
.header-right {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-end;
}
.top-actions {
  display: flex; align-items: stretch; justify-content: center;
  width: min(40%, 22rem); max-width: 100%;
  height: var(--topbar);
  background: var(--vino);
  border-bottom-left-radius: 0.85rem;
}
html[data-theme="dark"] .top-actions { background: #140807; }
.top-actions-link {
  flex: 1 1 0;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.45rem;
  color: var(--cat-yellow); text-decoration: none;
  font-family: var(--font); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  min-height: var(--topbar);
}
.top-actions-link + .top-actions-link { border-left: 1px solid rgba(255, 205, 17, 0.28); }
.top-actions-link svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.site-header .top-actions-link:hover { color: #ffe566; background: rgba(0, 0, 0, 0.12); }
.top-actions-link:first-child { border-bottom-left-radius: 0.85rem; }
.nav {
  height: var(--nav);
  width: 100%;
  display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem;
}
.brand {
  display: flex; align-items: center; align-self: center;
  text-decoration: none; flex: 0 0 auto;
}
.brand-logo {
  height: 52px; width: auto;
}
.brand-logo-light { display: block !important; }
.brand-logo-dark { display: none !important; }
html[data-theme="dark"] .brand-logo-light { display: none !important; }
html[data-theme="dark"] .brand-logo-dark { display: block !important; }
.nav-links {
  display: flex; gap: 0.2rem 1.15rem; align-items: center;
  list-style: none; margin: 0; padding: 0;
  flex: 1 1 auto; justify-content: flex-end;
}
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 0.94rem; font-weight: 500;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--vino); }
html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a[aria-current="page"] { color: var(--blanco); text-decoration: underline; }
.nav-links a.btn-cta {
  color: var(--blanco); background: var(--vino); padding: 0.55rem 1.15rem;
  border-radius: 999px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; font-size: 0.75rem;
}
html[data-theme="dark"] .nav-links a.btn-cta {
  color: var(--vino); background: var(--blanco);
}
.nav-links a.btn-cta:hover,
.nav-links a.btn-cta[aria-current="page"] { color: var(--blanco); background: var(--brand-dark); }
html[data-theme="dark"] .nav-links a.btn-cta:hover {
  color: var(--vino); background: var(--gris);
}
.nav-tools { display: flex; align-items: center; gap: 0.4rem; margin-left: 0.35rem; z-index: 45; }
.theme-toggle, .nav-toggle {
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gris); color: var(--vino);
  border: 1px solid var(--line); border-radius: 999px;
  font: inherit; cursor: pointer; pointer-events: auto; position: relative; z-index: 46;
}
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .nav-toggle {
  background: var(--blanco); color: var(--vino);
}
.nav-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--vino); color: var(--blanco); text-decoration: none;
  border: 0; padding: 0.8rem 1.3rem; min-height: 46px;
  font: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border-radius: 999px;
}
html[data-theme="dark"] .btn { background: var(--blanco); color: var(--vino); }
.btn:hover { background: var(--brand-dark); color: var(--blanco); }
html[data-theme="dark"] .btn:hover { background: var(--gris); color: var(--vino); }
.btn-ghost {
  background: transparent; color: var(--vino); border: 1px solid var(--vino);
}
html[data-theme="dark"] .btn.btn-ghost {
  background: transparent; color: var(--blanco); border: 1px solid var(--blanco);
}
.btn-ghost:hover { background: var(--vino); color: var(--blanco); }
html[data-theme="dark"] .btn.btn-ghost:hover {
  background: var(--blanco); color: var(--vino);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero { padding: clamp(2.8rem, 7vw, 5.5rem) 0 3.4rem; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem;
  color: var(--vino); margin-bottom: 0.7rem; font-weight: 700;
}
html[data-theme="dark"] .kicker { color: var(--gris); }
.lede { font-size: 1.2rem; max-width: 46rem; color: var(--muted); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.hero-aside {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.6rem;
  color: var(--muted); font-size: 0.98rem;
}
html[data-theme="dark"] .hero-aside { background: var(--blanco); color: var(--vino); }
html[data-theme="dark"] .hero-aside strong { color: var(--vino); }
.hero-aside strong { display: block; color: var(--ink); margin: 0.85rem 0 0.3rem; }
.hero-aside strong:first-child { margin-top: 0; }

.section { padding: 3.8rem 0; }
.section-alt { background: var(--white); }
html[data-theme="dark"] .section-alt { background: #5a211a; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.card, .panel, .stat {
  background: var(--blanco); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.45rem 1.5rem;
}
html[data-theme="dark"] .card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .stat {
  background: var(--blanco); color: var(--vino);
}
html[data-theme="dark"] .card h2,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .panel h2,
html[data-theme="dark"] .panel h3,
html[data-theme="dark"] .stat b { color: var(--vino); }
.card { height: 100%; }
.card-has-cover { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--gris); }
.card-body { padding: 1.45rem 1.5rem 1.5rem; }
.article-cover { width: 100%; max-height: 26rem; object-fit: cover; border-radius: var(--radius); margin: 0 0 1.4rem; }
.card h3 { margin-bottom: 0.4rem; }
.meta { color: var(--muted); font-size: 0.86rem; margin-bottom: 0.7rem; font-weight: 600; }
html[data-theme="dark"] .meta { color: var(--vino); }
.pill {
  display: inline-flex; align-items: center;
  background: var(--gris); color: var(--vino); border-radius: 999px;
  padding: 0.2rem 0.65rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.prose { max-width: 58rem; }
.prose h2 { margin-top: 1.9rem; }
.prose ul { padding-left: 1.15rem; }
.page-head { padding: 2.8rem 0 0.5rem; }

.blog-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1rem 1.5rem;
}
.blog-head h1 { margin-bottom: 0; }
.blog-switch {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--blanco); overflow: hidden;
}
html[data-theme="dark"] .blog-switch { background: var(--blanco); }
.blog-switch button {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin: 0; border: 0; background: transparent;
  color: var(--vino); font: inherit; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.03em; padding: 0.55rem 0.95rem; cursor: pointer;
}
.blog-switch button svg {
  width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8;
}
.blog-switch button[aria-pressed="true"] {
  background: var(--vino); color: var(--blanco);
}
html[data-theme="dark"] .blog-switch button[aria-pressed="true"] {
  background: #140807; color: var(--cat-yellow);
}

.blog-feed[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.blog-feed[data-view="list"] {
  display: flex; flex-direction: column; gap: 1.1rem;
}
.blog-card {
  background: var(--blanco); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
html[data-theme="dark"] .blog-card { background: var(--blanco); color: var(--vino); }
html[data-theme="dark"] .blog-card h2 { color: var(--vino); }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-media {
  display: block; background: var(--gris); text-decoration: none;
}
.blog-card-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
}
.blog-card-ph {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10; background: var(--vino); color: var(--blanco);
  font-family: var(--font); font-size: 2.4rem; font-weight: 800;
}
.blog-card-body { padding: 1.2rem 1.3rem 1.35rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-card-body h2 { font-size: 1.2rem; margin: 0 0 0.45rem; }
.blog-card-body h2 a { color: inherit; text-decoration: none; }
.blog-card-body h2 a:hover { color: var(--brand-dark); }
.blog-excerpt {
  color: var(--muted); font-size: 0.95rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 0.85rem;
}
html[data-theme="dark"] .blog-excerpt { color: var(--vino); }
.blog-more { margin: auto 0 0; }
.blog-more a {
  font-weight: 700; font-size: 0.88rem; text-decoration: none;
  color: var(--vino);
}
.blog-more a:hover { text-decoration: underline; }

.blog-feed[data-view="list"] .blog-card {
  display: grid;
  grid-template-columns: minmax(11rem, 32%) 1fr;
  min-height: 11.5rem;
}
.blog-feed[data-view="list"] .blog-card-media,
.blog-feed[data-view="list"] .blog-card-media img,
.blog-feed[data-view="list"] .blog-card-ph {
  height: 100%; min-height: 11.5rem; aspect-ratio: auto;
}
.blog-feed[data-view="list"] .blog-card-body { padding: 1.35rem 1.5rem; }
.blog-feed[data-view="list"] .blog-card-body h2 { font-size: 1.45rem; }
.blog-feed[data-view="list"] .blog-excerpt { -webkit-line-clamp: 2; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 0; }
.stat { text-align: center; }
.stat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: 0.65rem;
  border-radius: 50%; background: var(--gris); color: var(--vino);
}
.stat-icon svg { width: 1.45rem; height: 1.45rem; }
html[data-theme="dark"] .stat-icon { background: var(--gris); color: var(--vino); }
.stat b { display: block; font-family: var(--font); font-size: 2rem; color: var(--vino); }
.stat span { color: var(--muted); font-size: 0.88rem; }
html[data-theme="dark"] .stat span { color: var(--vino); }
.org-chart {
  margin: 1.25rem 0 0; background: var(--blanco);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.75rem; overflow: hidden;
}
.org-chart img { width: 100%; height: auto; display: block; border-radius: 0.5rem; }
.org-chart figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.88rem; text-align: center; }
html[data-theme="dark"] .org-chart figcaption { color: var(--vino); }
.sedes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.5rem; }
.sede-card {
  background: var(--blanco); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
html[data-theme="dark"] .sede-card { background: var(--blanco); color: var(--vino); }
html[data-theme="dark"] .sede-card h3 { color: var(--vino); }
.sede-card figure { margin: 0; }
.sede-card img {
  width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: center 28%;
}
.sede-body { padding: 1.35rem 1.45rem 1.5rem; }
.sede-body h3 { margin: 0.55rem 0 0.85rem; }
.sede-facts { list-style: none; margin: 0 0 1.15rem; padding: 0; }
.sede-facts li { margin: 0 0 0.7rem; }
.sede-facts strong {
  display: block; font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
html[data-theme="dark"] .sede-facts strong,
html[data-theme="dark"] .sede-facts span { color: var(--vino); }
.sede-facts a { color: inherit; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

form .field { margin-bottom: 1rem; }
label { display: block; font-size: 0.85rem; margin-bottom: 0.3rem; font-weight: 600; }
input, select, textarea {
  width: 100%; padding: 0.75rem 0.8rem; border: 1px solid var(--line);
  background: var(--blanco); font: inherit; color: var(--vino);
  border-radius: 0.7rem;
}
textarea { min-height: 7.5rem; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 1px; width: 1px; overflow: hidden; }
.form-status { margin-top: 0.8rem; font-size: 0.95rem; }
.form-status.is-ok { color: var(--vino); }
.form-status.is-err { color: var(--vino); font-weight: 700; }

.wizard { max-width: 46rem; margin: 0 auto; }
.wizard-nav {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
}
.wizard-nav li {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--muted);
}
.wizard-nav li span {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blanco); border: 2px solid var(--line); color: var(--vino);
}
.wizard-nav li.is-active { color: var(--vino); }
.wizard-nav li.is-active span { background: var(--vino); color: var(--cat-yellow); border-color: var(--vino); }
.wizard-nav li.is-done span { background: var(--gris); border-color: var(--vino); }
html[data-theme="dark"] .wizard-nav li.is-active { color: var(--blanco); }
.wizard-card { padding: 1.5rem 1.5rem 1.35rem; }
.wizard-pane h2 { margin-bottom: 0.35rem; }
.wizard-pane[hidden] { display: none; }
.field-label {
  font-size: 0.85rem; font-weight: 700; margin: 1rem 0 0.55rem;
}
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.choice-grid-programs { grid-template-columns: 1fr; }
.choice-card {
  display: block; padding: 1rem 1.1rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--gris); cursor: pointer;
}
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card strong { display: block; margin-bottom: 0.15rem; }
.choice-card span { color: var(--muted); font-size: 0.88rem; }
.choice-card:has(input:checked) {
  border-color: var(--vino); background: var(--blanco);
  box-shadow: inset 0 0 0 2px var(--vino);
}
html[data-theme="dark"] .choice-card { background: var(--blanco); color: var(--vino); }
html[data-theme="dark"] .choice-card span { color: var(--vino); }
.wizard-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.wizard-msg { margin: 0.8rem 0 0; font-size: 0.92rem; }
.student-chip {
  background: var(--gris); border-radius: var(--radius);
  padding: 0.9rem 1rem; margin-bottom: 1rem;
}
.student-chip .kicker { margin-bottom: 0.2rem; }
.student-chip strong { display: block; }
.student-chip span { color: var(--muted); font-size: 0.9rem; }
html[data-theme="dark"] .student-chip { background: var(--gris); color: var(--vino); }
html[data-theme="dark"] .student-chip span { color: var(--vino); }
.summary-facts { margin: 1rem 0; }
@media (max-width: 760px) {
  .choice-grid { grid-template-columns: 1fr; }
}
.qr-scan {
  margin: 1rem 0 0; padding: 0.75rem; background: var(--blanco);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.qr-scan video { width: 100%; max-height: 280px; background: #111; border-radius: 0.5rem; margin-bottom: 0.75rem; }
.cert-result {
  margin-top: 1.5rem; padding: 1.25rem; background: var(--blanco);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.cert-result[hidden] { display: none; }
dl.facts { display: grid; grid-template-columns: 8rem 1fr; gap: 0.4rem 1rem; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.gallery figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }

.faq details {
  background: var(--blanco); border: 1px solid var(--line);
  border-radius: 0.85rem; padding: 0.2rem 1rem; margin-bottom: 0.7rem;
}
html[data-theme="dark"] .faq details { color: var(--vino); }
.faq summary {
  cursor: pointer; font-weight: 700; min-height: 52px;
  display: flex; align-items: center; font-family: var(--font);
}
.faq details p { color: var(--muted); }
html[data-theme="dark"] .faq details p { color: var(--vino); }

.site-footer {
  background: var(--vino); color: var(--blanco);
  padding: 2.8rem 0 1.5rem; margin-top: 0;
}
.site-footer a { color: var(--blanco); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.foot-copy { border-top: 1px solid rgba(255,255,255,0.22); padding-top: 1rem; font-size: 0.82rem; }

.cta-band {
  background: var(--blanco);
  color: var(--vino);
  padding: 2.6rem 0;
  border-top: 8px solid var(--vino);
  border-bottom: 8px solid var(--vino);
}
html[data-theme="dark"] .cta-band {
  background: var(--blanco);
  color: var(--vino);
  border-top-color: var(--blanco);
  border-bottom-color: var(--blanco);
}
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 0.4rem; color: var(--vino); }
.cta-band p { margin: 0; max-width: 40rem; color: var(--vino); }
.cta-band .btn {
  background: var(--vino); color: var(--blanco);
  border: 2px solid var(--vino);
}
html[data-theme="dark"] .cta-band .btn {
  background: var(--vino); color: var(--blanco);
}

.wa {
  position: fixed; right: 1.1rem; bottom: 1.1rem; left: auto; z-index: 35;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #25d366; color: #fff; text-decoration: none;
  padding: 0.7rem 1rem 0.7rem 0.75rem; font-size: 0.92rem; font-weight: 700;
  border-radius: 999px; min-height: 52px; border: 0;
  box-shadow: 0 8px 22px rgba(18, 140, 126, 0.35);
}
.wa svg { width: 28px; height: 28px; flex: 0 0 auto; }
html[data-theme="dark"] .wa { background: #25d366; color: #fff; }
.wa:hover { color: #fff; background: #1ebe5d; }

.enroll-overlay {
  position: fixed; inset: 0; background: rgba(112, 41, 32, 0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.28s var(--ease);
  z-index: 60;
}
.enroll-overlay.is-open { opacity: 1; pointer-events: auto; }
.enroll-drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(35vw, 540px);
  background: var(--blanco); color: var(--vino);
  z-index: 70; transform: translateX(105%);
  transition: transform 0.38s var(--ease);
  display: flex; flex-direction: column;
}
.enroll-drawer.is-open { transform: translateX(0); }
.enroll-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 1.25rem 0.5rem;
}
.enroll-head h2 { font-size: 1.45rem; margin: 0; color: var(--vino); }
.enroll-close {
  min-width: 44px; min-height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--gris); color: var(--vino);
  cursor: pointer; font-size: 1.3rem;
}
.enroll-body { overflow: auto; padding: 0.5rem 1.25rem 1.5rem; -webkit-overflow-scrolling: touch; }
body.is-enroll-open { overflow: hidden; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--blanco); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 0.8rem 1.1rem 1.1rem;
  }
  html[data-theme="dark"] .nav-links { background: var(--vino); }
  .nav-links.is-open { display: flex; }
  .nav-links a.btn-cta { justify-content: center; }
  .stats, .hero-grid, .grid-3, .grid-2, .foot-grid, .gallery, .split, .sedes { grid-template-columns: 1fr 1fr; }
  .blog-feed[data-view="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enroll-drawer { width: min(52vw, 540px); }
}

@media (max-width: 760px) {
  .top-actions { width: auto; max-width: none; }
  .top-actions-link { padding: 0 0.85rem; }
  .top-actions-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .stats, .hero-grid, .grid-3, .grid-2, .foot-grid, .gallery, .split, .sedes { grid-template-columns: 1fr; }
  .blog-feed[data-view="grid"] { grid-template-columns: 1fr; }
  .blog-feed[data-view="list"] .blog-card { grid-template-columns: 1fr; }
  .blog-feed[data-view="list"] .blog-card-media img,
  .blog-feed[data-view="list"] .blog-card-ph { min-height: 0; aspect-ratio: 16 / 9; }
  .enroll-drawer { width: 100%; }
  dl.facts { grid-template-columns: 1fr; }
  .brand-logo { height: 40px; }
  .wa { right: 1rem; left: auto; }
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
}
