/* Liceo de Ciencias Técnicas — minimal theme */
:root {
  --navy: #0b2240;
  --navy-2: #143561;
  --blue: #1f6fb2;
  --gold: #f2b33d;
  --gold-soft: #fdf3dc;
  --sky-soft: #eaf3fb;
  --ink: #101b2b;
  --muted: #5d6b7d;
  --bg: #fbfaf7;
  --card: #ffffff;
  --line: rgba(16, 27, 43, .09);
  --radius: 20px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(11, 34, 64, .04), 0 10px 30px -18px rgba(11, 34, 64, .25);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.05; font-weight: 700; }
h1 { font-size: clamp(42px, 6vw, 80px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 14px; text-wrap: balance; }
h3 { font-size: 20px; letter-spacing: -.015em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }
.accent { color: var(--blue); }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { font-size: clamp(16.5px, 1.35vw, 19px); color: var(--muted); max-width: 54ch; }
section { padding: clamp(64px, 9vw, 112px) 0; }
.head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 640px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lead { margin-inline: auto; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 40px); }
.row-head .head { margin-bottom: 0; }
.white { background: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .3s var(--ease), background .3s, box-shadow .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; color: var(--navy); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-wa { background: #1fae5b; color: #fff; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.link::after { content: '→'; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* header */
.header { position: sticky; top: 0; z-index: 60; background: rgba(251, 250, 247, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.solid { border-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.brand b { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.brand span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.menu a:hover { color: var(--ink); background: rgba(16, 27, 43, .05); }
.menu a[aria-current="page"] { color: var(--navy); background: rgba(16, 27, 43, .06); }
.header .btn { height: 44px; padding: 0 18px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); align-items: center; justify-content: center; position: relative; z-index: 3; }
.burger span, .burger span::before, .burger span::after { content: ''; display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .35s var(--ease), background .3s; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- covers (one style per page) ---------- */
.cover { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--blue); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .45; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; margin-bottom: 26px; }
.pill i { font-style: normal; background: var(--gold); color: var(--navy); font-weight: 800; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; }

/* home: text + framed photo carousel */
.cover-home .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cover-home h1 .serif { display: block; color: var(--blue); font-size: .62em; line-height: 1.12; margin-top: 12px; }
.cover-home .lead { margin: 22px 0 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; font-weight: 600; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.photo-frame { position: relative; max-width: 520px; justify-self: end; width: 100%; isolation: isolate; }
.photo-frame::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: 26px; background: var(--gold-soft); z-index: -1; }
.photo-frame .carousel .slide { aspect-ratio: 4 / 3.4; }
.photo-frame .tag { position: absolute; left: -18px; bottom: 34px; z-index: 3; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.35; }
.photo-frame .tag b { display: block; font-family: var(--display); font-size: 22px; color: var(--navy); }

/* nosotros: big typographic year */
.cover-year { text-align: center; padding-bottom: clamp(40px, 6vw, 72px); }
.cover-year .big { font-family: var(--display); font-weight: 800; font-size: clamp(110px, 20vw, 260px); line-height: .85; letter-spacing: -.05em; color: var(--navy); }
.cover-year .big span { color: var(--gold); }
.cover-year h1 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 18px; }
.cover-year .lead { margin: 14px auto 0; }

/* grados: index of programs */
.cover-index .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: end; }
.gindex { counter-reset: g; border-top: 1px solid var(--line); }
.gindex li a { display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), color .3s; }
.gindex li a::before { counter-increment: g; content: '0' counter(g); font-family: var(--display); font-weight: 700; color: var(--gold); font-size: 15px; }
.gindex li a b { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.gindex li a span { font-size: 14px; color: var(--muted); font-weight: 600; }
.gindex li a:hover { padding-left: 8px; color: var(--blue); }

/* vida: polaroid strip */
.cover-strip { text-align: center; overflow: hidden; }
.cover-strip .lead { margin: 16px auto 0; }
.polaroids { display: flex; justify-content: center; gap: clamp(10px, 2vw, 22px); margin-top: clamp(36px, 5vw, 56px); }
.polaroids figure { background: #fff; padding: 10px 10px 14px; border-radius: 14px; box-shadow: var(--shadow); width: clamp(150px, 22vw, 250px); transition: transform .5s var(--ease); }
.polaroids figure:nth-child(1) { transform: rotate(-5deg) translateY(12px); }
.polaroids figure:nth-child(2) { transform: rotate(2deg); }
.polaroids figure:nth-child(3) { transform: rotate(-2deg) translateY(8px); }
.polaroids figure:nth-child(4) { transform: rotate(5deg) translateY(16px); }
.polaroids figure:hover { transform: rotate(0) translateY(-6px); }
.polaroids img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.polaroids figcaption { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 10px; }

/* admisiones: steps preview */
.cover-steps .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.mini-steps { display: grid; gap: 12px; }
.mini-steps li { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); font-weight: 600; }
.mini-steps li span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--display); font-weight: 800; flex: none; }
.mini-steps li:nth-child(2) { margin-left: 28px; }
.mini-steps li:nth-child(3) { margin-left: 56px; }

/* faq: big question mark */
.cover-q .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cover-q .mark { font-family: var(--serif); font-style: italic; font-size: clamp(160px, 22vw, 280px); line-height: .7; color: var(--gold); }

/* contacto: action tiles */
.cover-contact .actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(30px, 4vw, 44px); }
.action { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.action:hover { transform: translateY(-4px); }
.action .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue); flex: none; }
.action.wa .ico { background: #e3f6ea; color: #1a9a50; }
.action.loc .ico { background: var(--gold-soft); color: #a46b00; }
.action .ico svg { width: 22px; height: 22px; }
.action b { display: block; font-size: 16px; }
.action small { font-size: 13.5px; color: var(--muted); }

/* ---------- carousel ---------- */
.carousel { position: relative; }
.carousel .track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--radius); }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #e9edf2; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.cnav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; opacity: 0; transition: opacity .3s, transform .25s var(--ease); }
.carousel:hover .cnav, .cnav:focus-visible { opacity: 1; }
.cnav svg { width: 18px; height: 18px; }
.cnav.prev { left: 12px; }
.cnav.next { right: 12px; }
.cdots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.cdots button { width: 7px; height: 7px; border-radius: 7px; background: rgba(16, 27, 43, .18); transition: width .35s var(--ease), background .3s; }
.cdots button.on { width: 22px; background: var(--navy); }
.carousel.quotes .slide { aspect-ratio: auto; background: none; overflow: visible; border-radius: 0; }
.carousel.quotes .cnav { display: none; }
@media (hover: none) { .cnav { opacity: 1; width: 38px; height: 38px; } }

/* ---------- home blocks ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gcard { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.gcard:hover { transform: translateY(-5px); }
.gcard .dur { font-size: 13px; font-weight: 700; color: var(--blue); }
.gcard p { font-size: 14.5px; color: var(--muted); flex: 1; }
.gcard .go { font-size: 14px; font-weight: 700; color: var(--navy); }

.offer { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 36px); align-items: center; background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(26px, 4vw, 44px); }
.offer .pct { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 8vw, 104px); line-height: .85; color: var(--gold); letter-spacing: -.04em; }
.offer h2 { color: #fff; margin-bottom: 6px; font-size: clamp(24px, 2.8vw, 34px); }
.offer p { color: rgba(255, 255, 255, .7); font-size: 15px; }

.quote { max-width: 760px; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; color: var(--navy); }
.quote figcaption { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.quote figcaption b { color: var(--ink); }

.visit { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 40px); }
.visit p { font-size: 15.5px; color: var(--muted); }
.visit b { display: block; font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); letter-spacing: -.02em; }

/* ---------- nosotros ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.two .carousel { max-width: 520px; width: 100%; justify-self: end; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.values li { padding: 24px 22px 0 0; }
.values b { display: block; font-family: var(--display); font-size: 18px; margin-bottom: 4px; }
.values span { font-size: 14.5px; color: var(--muted); }
.statline { display: flex; gap: clamp(24px, 5vw, 56px); margin-top: 26px; }
.statline b { display: block; font-family: var(--display); font-size: clamp(34px, 4vw, 46px); font-weight: 800; color: var(--navy); line-height: 1; }
.statline span { font-size: 14px; color: var(--muted); }

/* ---------- grados ---------- */
.programs { display: grid; gap: 14px; }
.program { display: grid; grid-template-columns: 220px 1fr 1fr; gap: clamp(18px, 3vw, 40px); align-items: start; background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.program h3 { font-size: 24px; }
.program .dur { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--blue); }
.program p { color: var(--muted); font-size: 15.5px; }
.program ul { display: grid; gap: 6px; font-size: 15px; }
.program li { display: flex; gap: 10px; }
.program li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 9px; }
.note { margin-top: 18px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 16px; background: var(--gold-soft); font-size: 15px; }
.note b { font-weight: 800; }
.note a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ptable { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 30px); }
.ptable h3 { font-size: 20px; }
.ptable > p { font-size: 14px; color: var(--muted); margin: 2px 0 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); }
thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
tbody th { font-weight: 700; }
td:last-child, th:last-child { text-align: right; }
td s { color: var(--muted); font-size: 13.5px; margin-right: 6px; }
td .now { font-weight: 800; color: #168447; }
td .month { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--navy); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.fine { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--muted); justify-content: center; text-align: center; }
.fine b { color: var(--ink); }
.badge50 { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 8px 16px 8px 8px; border-radius: 999px; font-weight: 600; font-size: 14px; margin-bottom: 22px; }
.badge50 i { font-style: normal; background: var(--gold); color: var(--navy); font-weight: 800; padding: 4px 10px; border-radius: 999px; }

/* ---------- vida ---------- */
.life { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.life article h3 { margin-top: 18px; }
.life article p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.life .carousel .slide.contain img { object-fit: contain; background: #13285a; }

/* ---------- admisiones ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--gold); font-family: var(--display); font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 17.5px; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--muted); }
.tabs { display: flex; gap: 6px; padding: 5px; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin: 0 auto 18px; max-width: 560px; }
.tabs button { flex: 1; padding: 11px 8px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); transition: background .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.docpanel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); max-width: 760px; margin-inline: auto; }
.docpanel[hidden] { display: none; }
.docpanel ol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; counter-reset: d; }
.docpanel li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.docpanel li::before { counter-increment: d; content: counter(d); flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--sky-soft); color: var(--blue); font-weight: 800; font-size: 12.5px; display: grid; place-items: center; }

/* ---------- faq ---------- */
.qa { background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; transition: box-shadow .3s; }
.qa[open] { box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 22px; font-weight: 700; font-size: 16.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2240' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 13px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.qa .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; display: grid; gap: 8px; }
.qa .ans ul { display: grid; gap: 4px; }
.qa .ans li { display: flex; gap: 10px; }
.qa .ans li::before { content: '•'; color: var(--gold); font-weight: 800; }
.qa .ans a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }
.faq-tag:first-child { margin-top: 0; }

/* ---------- contacto ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: start; }
.info { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); display: grid; gap: 18px; }
.info small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.info p { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.info a:hover { color: var(--blue); }
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); }
.form h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 4px; }
.form > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 700; }
.field input, .field select { height: 52px; border-radius: 14px; border: 1.5px solid var(--line); padding: 0 15px; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); transition: border-color .2s, background .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b7d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); background-color: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 13.5px; color: #8a5a00; background: var(--gold-soft); padding: 9px 13px; border-radius: 10px; margin: -4px 0 14px; font-weight: 600; }
.form .btn { width: 100%; margin-top: 4px; }
.form small.note { display: block; text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.map { margin-top: 16px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; background: #e9edf2; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 56px 0 26px; font-size: 14.5px; }
.footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 32px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer h4 { color: #fff; font-family: var(--display); font-size: 15px; margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; }
.footer a:hover { color: var(--gold); }
.footer .brand b { color: #fff; }
.footer .brand span { color: rgba(255, 255, 255, .55); }
.footer .social { display: flex; gap: 8px; margin-top: 16px; }
.footer .social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: background .3s, color .3s; }
.footer .social a:hover { background: var(--gold); color: var(--navy); }
.footer .social svg { width: 18px; height: 18px; }
.footer .legal { padding-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .45); }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: #1fae5b; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(31, 174, 91, .8); transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.07); }
.fab svg { width: 28px; height: 28px; }

/* motion */
.rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1320px) { .header .btn { display: none; } }
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: inline-flex; }
  .menu.open { display: flex; position: fixed; inset: 0; z-index: 2; flex-direction: column; align-items: stretch; justify-content: center; gap: 2px; padding: 90px 28px 40px; background: var(--bg); }
  .menu.open a { font-family: var(--display); font-size: clamp(26px, 6vw, 34px); font-weight: 700; color: var(--ink); padding: 10px 8px; background: none; }
  .menu.open a[aria-current="page"] { color: var(--blue); }
  body.menu-open { overflow: hidden; }
  .grid4, .values, .steps { grid-template-columns: 1fr 1fr; }
  .values li { padding-bottom: 8px; }
  .program { grid-template-columns: 1fr 1fr; }
  .program > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .cover-home .wrap, .cover-index .wrap, .cover-steps .wrap, .two, .tables, .contact, .life, .offer { grid-template-columns: 1fr; }
  .photo-frame, .two .carousel { justify-self: start; }
  .cover-q .wrap { grid-template-columns: 1fr; }
  .cover-q .mark { display: none; }
  .polaroids figure:nth-child(4) { display: none; }
}
@media (max-width: 600px) {
  .header .wrap { height: 66px; }
  .brand b { font-size: 15.5px; }
  .brand img { width: 38px; height: 38px; }
  .cover .cta .btn { flex: 1 1 100%; }
  .photo-frame::before { inset: 12px -8px -12px 12px; }
  .photo-frame .tag { left: 10px; bottom: 14px; }
  .grid4, .values, .steps, .row2, .cover-contact .actions, .program { grid-template-columns: 1fr; }
  .polaroids { gap: 8px; }
  .polaroids figure { width: 31%; padding: 6px 6px 8px; }
  .polaroids figcaption { font-size: 11px; }
  .mini-steps li:nth-child(n) { margin-left: 0; }
  .docpanel ol { grid-template-columns: 1fr; }
  .tabs button { font-size: 12.5px; padding: 10px 4px; }
  td s { display: block; margin: 0; }
  thead th { letter-spacing: .03em; font-size: 10.5px; }
  thead th + th { padding-left: 8px; }
  .map { aspect-ratio: 4 / 3; }
  .footer .grid { grid-template-columns: 1fr; }
  .statline { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .carousel .track { scroll-behavior: auto; }
}

/* =========================================================
   v2 — more design: decorative covers, accents, program cards, video
   ========================================================= */
.cover { position: relative; overflow: hidden; isolation: isolate; }
.cover::before { content: ''; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(11, 34, 64, .13) 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(70% 80% at 85% 20%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(70% 80% at 85% 20%, #000 10%, transparent 70%); }
.cover::after { content: ''; position: absolute; z-index: -1; width: 560px; height: 560px; border-radius: 50%; right: -180px; top: -220px; background: radial-gradient(circle, rgba(242, 179, 61, .22), transparent 65%); }
.cover-year::after, .cover-strip::after { right: auto; left: 50%; transform: translateX(-50%); top: -260px; background: radial-gradient(circle, rgba(31, 111, 178, .14), transparent 65%); }
.cover-year::before, .cover-strip::before { mask-image: radial-gradient(60% 70% at 50% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000 10%, transparent 70%); }
.ring { position: absolute; z-index: -1; border-radius: 50%; border: 1.5px dashed rgba(31, 111, 178, .25); pointer-events: none; }
.ring.r1 { width: 260px; height: 260px; left: -90px; bottom: -120px; }
.ring.r2 { width: 120px; height: 120px; right: 8%; bottom: 30px; border-color: rgba(242, 179, 61, .55); border-style: solid; }

h1 .hl, h2 .hl { position: relative; white-space: nowrap; }
h1 .hl::after, h2 .hl::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .26em; background: var(--gold); opacity: .55; border-radius: 4px; z-index: -1; }
h1, h2 { position: relative; z-index: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 20px; height: 2px; border-radius: 2px; background: var(--gold); }
.center .kicker, .kicker.c { justify-content: center; }

.navyband { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.navyband::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.navyband .lead, .navyband p { color: rgba(255, 255, 255, .72); }
.navyband .kicker { color: var(--gold); }

/* home grade cards with icon + accent */
.gcard { position: relative; overflow: hidden; }
.gcard::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.gcard:hover::before { transform: scaleX(1); }
.gcard .gi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue); margin-bottom: 6px; }
.gcard:nth-child(2) .gi { background: var(--gold-soft); color: #a46b00; }
.gcard:nth-child(3) .gi { background: #eef0fb; color: #4b4fb8; }
.gcard:nth-child(4) .gi { background: #e5f5ec; color: #1a8a4a; }
.gcard .gi svg { width: 22px; height: 22px; }

/* ---------- grados: ordered program cards ---------- */
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc { display: flex; flex-direction: column; background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 100px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pc:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 34, 64, .05), 0 24px 50px -24px rgba(11, 34, 64, .35); }
.pc-top { position: relative; padding: 26px 28px 22px; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.pc-top::after { content: attr(data-n); position: absolute; right: 18px; top: -18px; z-index: -1; font-family: var(--display); font-weight: 800; font-size: 120px; line-height: 1; color: rgba(255, 255, 255, .07); }
.pc:nth-child(2) .pc-top { background: var(--navy-2); }
.pc:nth-child(3) .pc-top { background: #1a4a7e; }
.pc:nth-child(4) .pc-top { background: #0f2f55; }
.pc-top .ic { width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .1); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.pc-top .ic svg { width: 22px; height: 22px; }
.pc-top h3 { font-size: 26px; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; }
.chips span.g { background: var(--gold); color: var(--navy); }
.pc-body { padding: 22px 28px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.pc-body > p { color: var(--muted); font-size: 15.5px; }
.pc-body dl { display: grid; border-top: 1px solid var(--line); }
.pc-body dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pc-body dt { color: var(--muted); font-weight: 600; }
.pc-body dd { font-weight: 600; }
.pc-body dd small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pc-foot .from { font-size: 13.5px; color: var(--muted); }
.pc-foot .from b { display: block; font-family: var(--display); font-size: 22px; color: var(--navy); }

/* ---------- video (YouTube, loads on click) ---------- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0b2240 center / cover no-repeat; box-shadow: 0 2px 4px rgba(11, 34, 64, .06), 0 30px 60px -30px rgba(0, 0, 0, .6); cursor: pointer; }
.yt::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 24, 46, .75), rgba(8, 24, 46, .1) 55%); transition: background .3s; }
.yt:hover::before { background: linear-gradient(0deg, rgba(8, 24, 46, .6), rgba(8, 24, 46, 0) 55%); }
.yt .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(242, 179, 61, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.yt:hover .play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 16px rgba(242, 179, 61, .2); }
.yt .play svg { width: 30px; height: 30px; margin-left: 4px; }
.yt .cap { position: absolute; left: 22px; bottom: 18px; right: 22px; color: #fff; font-weight: 700; font-size: 15px; text-align: left; }
.yt .cap small { display: block; font-weight: 500; opacity: .75; font-size: 13px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bandfeat { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: start; }
.bandfeat .side { display: flex; flex-direction: column; gap: 14px; }
.bandfeat h2 { color: #fff; }

@media (max-width: 860px) {
  .pgrid, .bandfeat { grid-template-columns: 1fr; }
  .ring { display: none; }
}
@media (max-width: 600px) {
  .pc-top, .pc-body { padding-left: 20px; padding-right: 20px; }
  .pc-body dl div { grid-template-columns: 92px 1fr; }
  .pc-top::after { font-size: 90px; }
  .yt .play { width: 62px; height: 62px; }
}
.life3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .life3 { grid-template-columns: 1fr; } }
.cover h1 + .lead { margin-top: 20px; }
.cover-index .ring.r2 { right: 4%; bottom: 14px; }
/* sin numeritos en los grados */
.pc-top::after { display: none; }
.gindex li a { grid-template-columns: 1fr auto; }
.gindex li a::before { display: none; }

/* =========================================================
   v3 — scroll animations, progress bar, fixed mobile menu, responsive polish
   ========================================================= */
/* reading progress */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* richer reveal variants */
.rv { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); filter: blur(4px); }
.rv.from-l { transform: translateX(-46px); }
.rv.from-r { transform: translateX(46px); }
.rv.zoom { transform: scale(.94) translateY(16px); }
.rv.in { opacity: 1; transform: none; filter: none; }
.no-js .rv { filter: none; }
.ring { will-change: transform; }
.kicker.rv::before { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .25s; }
.kicker.rv.in::before { transform: scaleX(1); }
h1 .hl::after { animation: hl 1s var(--ease) .5s both; transform-origin: left; }
@keyframes hl { from { transform: scaleX(0); } }
.pc .pc-top .ic, .gcard .gi { transition: transform .5s var(--ease); }
.pc:hover .pc-top .ic, .gcard:hover .gi { transform: rotate(-8deg) scale(1.08); }

/* desktop: hide mobile-only menu extras */
.menu-cta { display: none; }
.brand, .burger { position: relative; z-index: 3; }

/* ---------- mobile menu: real full-screen panel ---------- */
@media (max-width: 1100px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251, 250, 247, .97); }
  .menu, .menu.open { display: flex; position: fixed; inset: 0; z-index: 2; height: 100vh; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; padding: 96px 24px 28px; overflow-y: auto; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
  .menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s; }
  .menu a, .menu.open a { font-family: var(--display); font-size: clamp(24px, 6.4vw, 32px); font-weight: 700; color: var(--ink); padding: 12px 6px; border-radius: 12px; background: none; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--ease), color .2s; }
  .menu.open a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 90ms); }
  .menu a[aria-current="page"] { color: var(--blue); background: none; }
  .menu a[aria-current="page"]::after { display: none; }
  .menu .menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 24px; opacity: 0; transition: opacity .4s var(--ease) .1s; }
  .menu.open .menu-cta { opacity: 1; transition-delay: .4s; }
  .menu .menu-cta a { border: 0; font-family: var(--sans); font-size: 15px; padding: 0 16px; opacity: 1; transform: none; transition: none; }
  .menu .menu-cta .btn-wa { color: #fff; }
  .menu .menu-cta .btn-line { color: var(--navy); }
  body.menu-open { overflow: hidden; }
  body.menu-open .fab { opacity: 0; pointer-events: none; }
  .fab { transition: transform .3s var(--ease), opacity .3s; }
}

/* ---------- responsive polish ---------- */
@media (max-width: 1100px) {
  .cover-home .wrap { gap: 40px; }
  .program, .pc-body dl div { font-size: 14.5px; }
}
@media (max-width: 860px) {
  .cover { padding: 40px 0 64px; }
  .photo-frame { max-width: 100%; justify-self: stretch; }
  .two .carousel { max-width: 100%; }
  .cover-index .wrap { align-items: start; }
  .cover-steps .mini-steps li:nth-child(n) { margin-left: 0; }
  .life3 { gap: 34px; }
  .offer { text-align: left; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .wrap, .narrow { width: calc(100% - 32px); }
  h1 { font-size: clamp(36px, 10vw, 46px); }
  h2 { font-size: clamp(27px, 7.4vw, 34px); }
  .lead { font-size: 16px; }
  .cover { padding: 28px 0 52px; }
  .crumbs { margin-bottom: 14px; font-size: 12.5px; }
  .pill { font-size: 12.5px; padding-right: 12px; }
  .cover-home h1 .serif { font-size: .6em; }
  .cover-year .big { font-size: clamp(96px, 30vw, 140px); }
  .facts { gap: 6px 16px; font-size: 13px; }
  .row-head { align-items: flex-start; flex-direction: column; }
  .gcard { padding: 20px; }
  .offer { padding: 24px; border-radius: 22px; }
  .offer .pct { font-size: 64px; }
  .offer .cta .btn { width: 100%; }
  .bandfeat .side h2 { font-size: 28px; }
  .yt { border-radius: 18px; }
  .quote blockquote { font-size: 21px; }
  .pc { border-radius: 20px; }
  .pc-top h3 { font-size: 22px; }
  .pc-foot { flex-wrap: wrap; }
  .ptable { padding: 18px; }
  table { font-size: 14px; }
  td .month { font-size: 17px; }
  .steps li, .mini-steps li { padding: 16px; }
  .visit { flex-direction: column; align-items: stretch; }
  .visit .cta .btn { flex: 1 1 100%; }
  .cover-contact .actions { gap: 10px; }
  .action { padding: 16px; }
  .info, .form { padding: 22px 18px; }
  .footer { padding: 44px 0 90px; }
  .fab { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .polaroids { flex-wrap: nowrap; }
}
@media (max-width: 360px) {
  .brand b { font-size: 14px; }
  .brand span { display: none; }
  .tabs button { font-size: 11.5px; }
  h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .rv.from-l, .rv.from-r, .rv.zoom { opacity: 1; transform: none; filter: none; }
  h1 .hl::after { animation: none; }
  .menu a, .menu.open a, .menu .menu-cta { opacity: 1; transform: none; }
}
@media (max-width: 1100px) { .header .menu .menu-cta .btn { display: inline-flex; height: 52px; } }
.menu .menu-cta .btn-wa { background: #1fae5b; color: #fff; }
.menu .menu-cta .btn-line { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
@media (max-width: 860px) { .rv { filter: none; } }

/* =========================================================
   v4 — testimonials like the original (auto-scrolling cards) + home map
   ========================================================= */
.tmarquee { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ttrack { display: flex; gap: 24px; align-items: flex-start; width: max-content; padding: 14px 0 44px; animation: tscroll 55s linear infinite; }
.tmarquee:hover .ttrack, .tmarquee:focus-within .ttrack { animation-play-state: paused; }
@keyframes tscroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } }
.tcard { position: relative; flex: 0 0 340px; background: #fff; border-radius: 20px; padding: 26px 26px 28px; box-shadow: 0 1px 2px rgba(11, 34, 64, .05), 0 16px 34px -18px rgba(11, 34, 64, .3); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tcard:nth-child(even) { margin-top: 36px; }
.tcard:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(11, 34, 64, .05), 0 24px 44px -18px rgba(11, 34, 64, .38); }
.tcard::after { content: '“'; position: absolute; right: 22px; top: 6px; font-family: var(--serif); font-size: 84px; line-height: 1; color: var(--gold); opacity: .55; }
.t-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.t-head .av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sky-soft); }
.tcard:nth-child(3n+2) .av { background: linear-gradient(135deg, #f6c35c, #d99412); color: var(--navy); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold-soft); }
.tcard:nth-child(3n) .av { background: linear-gradient(135deg, #6cc0ec, var(--blue)); }
.t-head .who { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.t-head .who b { font-family: var(--display); font-size: 16.5px; color: var(--ink); }
.t-head .who span { font-size: 13px; color: var(--muted); }
.tcard blockquote { font-size: 15.5px; line-height: 1.65; color: var(--ink); }

/* map card on home */
.mapcard { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.mapcard .txt { padding: clamp(26px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.mapcard h2 { margin-bottom: 0; }
.mapbox { min-height: 380px; background: #e9edf2; }
.mapbox iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.mini { display: grid; gap: 12px; font-size: 15.5px; }
.mini li { display: flex; gap: 12px; align-items: flex-start; }
.mini svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.mini a:hover { color: var(--blue); }

@media (max-width: 860px) {
  .mapcard { grid-template-columns: 1fr; }
  .mapbox, .mapbox iframe { min-height: 300px; }
}
@media (max-width: 600px) {
  /* phones: swipe the cards instead of auto-scroll, like the original */
  .tmarquee { overflow-x: auto; scroll-snap-type: x mandatory; mask-image: none; -webkit-mask-image: none; scrollbar-width: none; padding-inline: 16px; scroll-padding-inline: 16px; }
  .tmarquee::-webkit-scrollbar { display: none; }
  .ttrack { animation: none; gap: 14px; padding-bottom: 30px; }
  .tcard { flex-basis: 80vw; padding: 22px; scroll-snap-align: center; }
  .tcard:nth-child(even) { margin-top: 22px; }
  .tcard[aria-hidden="true"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ttrack { animation: none; }
  .tmarquee { overflow-x: auto; }
}
