/* =========================================================
   Western European University — main stylesheet
   ========================================================= */
:root {
  --green: #00703c;
  --green-600: #005c31;
  --green-800: #003d21;
  --green-50: #eef7f2;
  --gold: #bf9b5a;
  --gold-600: #785a24;
  --gold-50: #faf5ec;
  --ink: #14211a;
  --text: #3c4a43;
  --muted: #526058;
  --line: #e3e9e5;
  --bg: #ffffff;
  --bg-soft: #f6f8f6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 61, 33, .08);
  --shadow-lg: 0 20px 50px rgba(0, 61, 33, .14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h3 { font-weight: 700; }
p { margin: 0 0 1rem; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font: 600 .98rem var(--sans); padding: .85rem 1.5rem; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-600); box-shadow: 0 8px 20px rgba(0,112,60,.25); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-600); box-shadow: 0 8px 20px rgba(191,155,90,.35); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--green-800); }
.btn-ghost-white { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-white:hover { background: #fff; color: var(--green-800); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--green-800); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 1.4rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 1.2rem; height: 78px; }
.header-actions .btn { white-space: nowrap; }
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.logo img { width: 44px; height: 54px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--serif); font-size: 1.15rem; color: var(--green-800); font-weight: 600; }
.logo-text small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.nav { display: flex; gap: .1rem; margin-left: auto; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .85rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--green-50); color: var(--green); }
.nav-mobile-actions { display: none; }
.nav a.active { background: var(--green-50); color: var(--green); }
.header-actions { display: flex; gap: .6rem; }
.menu-btn { display: none; margin-left: auto; background: var(--green-50); border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--green-800); margin: 4px auto; border-radius: 2px; transition: .3s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green-800) 0%, var(--green) 100%); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 26px 26px;
}
.hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%; border: 80px solid rgba(191,155,90,.14); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 5rem 0 6rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.pill::before { content: ""; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.2rem); margin: 1.2rem 0 1rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 560px; }

.search-box { display: flex; background: #fff; border-radius: 999px; padding: .4rem; margin: 2rem 0 1rem; max-width: 580px; box-shadow: var(--shadow-lg); }
.search-box input { flex: 1; border: 0; padding: 0 1.2rem; font: 500 1rem var(--sans); color: var(--ink); background: transparent; min-width: 0; }
.search-box input:focus { outline: none; }
.quick-tags { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .88rem; }
.quick-tags span { color: rgba(255,255,255,.7); }
.quick-tags a { color: #fff; background: rgba(255,255,255,.12); padding: .25rem .8rem; border-radius: 999px; text-decoration: none; }
.quick-tags a:hover { background: var(--gold); }

.hero-card { background: #fff; color: var(--text); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-lg); position: relative; }
.hero-card .crest { width: 90px; margin: -4.2rem auto 1rem; background: #fff; border-radius: 18px; padding: .6rem; box-shadow: var(--shadow); }
.hero-card h3 { text-align: center; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.hero-card ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: .8rem; }
.hero-card li { display: flex; gap: .8rem; align-items: flex-start; }
.tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

/* ---------- Quick links ---------- */
.quick-links { margin-top: -3rem; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quick-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); text-decoration: none; color: var(--text); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; gap: 1rem; align-items: center; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.quick-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); display: grid; place-items: center; flex-shrink: 0; }
.quick-card .ico svg { width: 26px; height: 26px; stroke: var(--green); }
.quick-card strong { display: block; color: var(--ink); font-size: 1.02rem; }
.quick-card small { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 700px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .8rem; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.section-head p { font-size: 1.08rem; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--green-800), var(--green)); color: #fff; padding: 4rem 0 4.5rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(191,155,90,.15); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 640px; margin: 0; }
.crumbs { font-size: .88rem; margin-bottom: 1rem; color: rgba(255,255,255,.7); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Level cards ---------- */
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.level-card { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.level-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.level-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.level-card:hover::before { transform: scaleX(1); }
.level-card .count { font-family: var(--serif); font-size: 3rem; color: var(--green); line-height: 1; margin-bottom: .6rem; }
.level-card h3 { font-size: 1.3rem; }
.level-card p { color: var(--muted); flex: 1; }
.arrow-link { color: var(--green); font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .2s; }
a:hover > .arrow-link::after, .arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Program cards ---------- */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.program-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; transition: transform .25s, box-shadow .25s, border-color .25s; text-decoration: none; color: var(--text); }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,112,60,.3); }
.program-card .tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: var(--green-50); color: var(--green); }
.tag.gold { background: var(--gold-50); color: var(--gold-600); }
.program-card h3 { font-size: 1.12rem; margin: 0; }
.program-card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.program-meta { display: flex; gap: 1.2rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; }
.program-meta b { color: var(--ink); }

/* Programs page filters */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 2.5rem; align-items: start; }
.filters { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.filters h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 1.4rem 0 .7rem; }
.filters h4:first-of-type { margin-top: 0; }
.field { width: 100%; font: 500 .95rem var(--sans); padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.field:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,112,60,.1); }
.check { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; cursor: pointer; font-size: .95rem; }
.check input { accent-color: var(--green); width: 18px; height: 18px; }
.check .num { margin-left: auto; font-size: .8rem; color: var(--muted); background: var(--bg-soft); padding: 0 .5rem; border-radius: 999px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; gap: 1rem; flex-wrap: wrap; }
.results-bar strong { color: var(--ink); }
.empty { text-align: center; padding: 3rem; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.filter-toggle { display: none; }

/* Program detail */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.facts { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.facts dl { margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.facts dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.module-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 0 0 2rem; }
.module-list li { background: var(--bg-soft); padding: .8rem 1rem; border-radius: var(--radius-sm); border-left: 3px solid var(--gold); font-weight: 500; }

/* ---------- Why / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { padding: 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .ico { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--green), var(--green-800)); display: grid; place-items: center; margin-bottom: 1.2rem; }
.feature .ico svg { width: 26px; height: 26px; stroke: var(--gold); }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Stats band ---------- */
.stats { background: var(--green-800); color: #fff; padding: 3.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--gold); line-height: 1; }
.stat-label { color: rgba(255,255,255,.8); margin-top: .4rem; }

/* ---------- Rector ---------- */
.rector { display: grid; grid-template-columns: 380px 1fr; gap: 4rem; align-items: center; }
.rector-photo { position: relative; }
.rector-photo img { border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; width: 100%; box-shadow: var(--shadow-lg); }
.rector-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--gold); border-radius: 24px; z-index: -1; }
.rector-badge { position: absolute; left: -1rem; bottom: 1.5rem; background: #fff; border-radius: 14px; padding: .9rem 1.2rem; box-shadow: var(--shadow-lg); }
.rector-badge strong { display: block; color: var(--ink); }
.rector-badge small { color: var(--gold-600); font-weight: 700; }
blockquote.quote { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.45; color: var(--ink); position: relative; padding-left: 1.6rem; border-left: 4px solid var(--gold); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--green); margin: 0; }
.letter p { font-size: 1.08rem; }

/* ---------- Accreditation ---------- */
.accred { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.accred-badge { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.8rem; min-width: 280px; }
.accred-badge .seal { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-50); border: 2px solid var(--gold); color: var(--gold-600); font-weight: 800; font-size: .8rem; letter-spacing: .04em; }
.accred-badge strong { color: var(--ink); display: block; }
.accred-badge small { color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 1rem; font-size: 1.1rem; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Paths / info cards ---------- */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.info-card h3 { font-size: 1.15rem; }
.info-card p { color: var(--muted); margin: 0; }
.info-card ul { margin: 0; padding-left: 1.2rem; color: var(--text); }
.info-card li { margin-bottom: .4rem; }
.info-card .ico { border-radius: 14px; background: var(--green-50); display: grid; place-items: center; }
.info-card .ico svg { width: 24px; height: 24px; stroke: var(--green); }

/* Deadlines table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
th { background: var(--bg-soft); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.faq-tab { font: 600 .92rem var(--sans); padding: .6rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.faq-tab.active, .faq-tab:hover { background: var(--green); border-color: var(--green); color: #fff; }
.faq-panel { display: none; }
.faq-panel.active { display: block; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; transition: box-shadow .2s; }
details.faq[open] { box-shadow: var(--shadow); border-color: rgba(0,112,60,.25); }
details.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 3.5rem 1.15rem 1.4rem; font-weight: 600; color: var(--ink); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; font-size: 1.2rem; transition: .2s; }
details.faq[open] summary::after { content: "−"; background: var(--green); color: #fff; }
details.faq p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 24px; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .4rem; }
.form-group .req { color: #c0392b; }
textarea.field { resize: vertical; min-height: 120px; }
.field.invalid { border-color: #d64541; background: #fff7f7; }
input[type="file"].field { padding: .55rem .7rem; font-size: .86rem; }
.form-grid .form-group { min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.file-total { font-size: .85rem; color: var(--muted); margin: 0; }
.file-total.over { color: #a93226; font-weight: 700; }
.prelaunch-bar { background: #fff6df; color: #4d3a08; border-bottom: 1px solid #ead7a4; font-size: .9rem; padding: .65rem 0; text-align: center; }
.tag.proposed { background: #fff0c2; color: #4d3a08; }
.form-note { font-size: .85rem; color: var(--muted); margin: .8rem 0 0; }
.form-msg { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-weight: 500; }
.form-msg.error { display: block; background: #fdecea; color: #a93226; }
.form-msg.success { display: block; background: var(--green-50); color: var(--green-800); }
.form-section-title { grid-column: 1 / -1; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 800; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 3rem; align-items: start; }
.contact-item { display: flex; gap: 1rem; padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; }
.contact-item .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ico svg { width: 22px; height: 22px; stroke: var(--green); }
.contact-item strong { display: block; color: var(--ink); }
.contact-item a { word-break: break-all; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(135deg, var(--green), var(--green-800)); border-radius: 28px; padding: clamp(2.5rem, 6vw, 4rem); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(191,155,90,.2); }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .5rem; }
.cta p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.08rem; }
.cta .actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1a13; color: rgba(255,255,255,.7); padding: 4.5rem 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 60px; background: #fff; border-radius: 12px; padding: .4rem; margin-bottom: 1rem; }
.footer-brand strong { display: block; font-family: var(--serif); color: #fff; font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }

/* ---------- Reveal ---------- */
/* Content is always visible: no fade-in while scrolling */

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header-actions { display: none; }
  .menu-btn { display: block; }
  .menu-open .nav { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 1rem 4%; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: .2rem; }
  .menu-open .nav > a { padding: .8rem 1rem; }
  .menu-open .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding-top: .8rem; margin-top: .4rem; border-top: 1px solid var(--line); }
  .menu-open .nav-mobile-actions .btn { padding: .8rem 1rem; }
  .menu-open .nav-mobile-actions .btn-gold, .menu-open .nav-mobile-actions .btn-gold:hover { color: #fff; background: var(--gold); }
  .quick-grid, .card-grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero .container, .rector, .detail-grid, .contact-grid, .catalog, .cta { grid-template-columns: 1fr; }
  .hero .container { padding: 3.5rem 0 5rem; }
  .hero-card { margin-top: 2.5rem; }
  .level-grid, .feature-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rector-photo { max-width: 340px; margin: 0 auto 1.5rem; }
  .facts, .filters { position: static; }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; }
  .filters.open { display: block; }
  .module-list { grid-template-columns: 1fr; }
  .topbar-links { display: none; }
}
@media (max-width: 560px) {
  .quick-grid, .card-grid-4, .steps, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; border-radius: 20px; gap: .4rem; }
  .search-box input { padding: .8rem 1rem; }
  .section { padding: 4rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Readability and accessibility ---------- */
[hidden] { display: none !important; }
body { font-size: 1.0625rem; }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; }
.topbar :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: #ffd77a; }
.hero-card :focus-visible, .search-box :focus-visible { outline-color: var(--green-600); }
.search-box:focus-within { box-shadow: 0 0 0 4px #ffd77a; }
main:focus { outline: none; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: #fff; color: var(--green-800); padding: .7rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: .6rem; }
.btn { min-height: 44px; }
.btn-gold, .btn-gold:hover, .menu-open .nav-mobile-actions .btn-gold, .menu-open .nav-mobile-actions .btn-gold:hover, .to-top { color: #1f1604; }
.btn-gold:hover { background: #d0ae70; }
.quick-tags a:hover { background: #fff; color: var(--green-800); }
.quick-tags span { color: rgba(255,255,255,.9); }
.field { font-size: 1rem; border-color: #7d8c83; min-height: 48px; }
.faq-tab { border-color: #7d8c83; }
.check { min-height: 40px; }
.program-card p, .step p, .info-card p, .feature p { font-size: 1rem; }
.site-footer { color: rgba(255,255,255,.82); }
.site-footer a { color: rgba(255,255,255,.88); overflow-wrap: anywhere; }

/* ---------- Home program list ---------- */
.jump-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1.1rem; border: 1.5px solid var(--green); border-radius: 999px; font-weight: 700; text-decoration: none; }
.jump-links a:hover { background: var(--green-50); }
.group-title { margin: 2.2rem 0 1rem; font-size: 1.25rem; }
.compact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: .8rem; }
.compact-card { display: flex; align-items: center; justify-content: space-between; gap: .8rem; height: 100%; min-height: 64px; padding: .8rem 1.1rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.compact-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.compact-card strong { display: block; line-height: 1.35; font-size: 1rem; }
.compact-card small { color: var(--gold-600); font-weight: 700; font-size: .8rem; }
.chev { color: var(--green); font-weight: 800; }

.steps-3 { grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; }
.status-note { background: var(--gold-50); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-top: 1.5rem; }
.status-note h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.status-note p:last-child { margin: 0; }
.info-card li a { font-weight: 600; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1180px) {
  .menu-open .nav { top: 100%; max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow-y: auto; }
  .menu-open .nav-mobile-actions { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .topbar { display: none; }
  .steps-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(1200px, 90%); }
  .site-header .container { height: 66px; }
  .logo img { width: 36px; height: 45px; }
  .logo-text strong { font-size: 1.02rem; }
  .prelaunch-bar { font-size: .82rem; line-height: 1.4; padding: .45rem 0; }
  .section { padding: 3rem 0; }
  .section-head { margin-bottom: 2rem; }
  .page-hero { padding: 2.2rem 0 2.5rem; }
  .hero .container { padding: 2rem 0 4rem; }
  .hero h1 { margin: 1rem 0 .7rem; }
  .search-box { margin-top: 1.2rem; }
  .rector-photo::before { inset: 12px -12px -12px 12px; }
  .program-card { padding: 1.25rem; }
  .to-top { right: .8rem; bottom: .8rem; width: 44px; height: 44px; }
}
