/*
Theme Name: Seminar Biblic Iași
Description: Temă simplă și elegantă pentru Seminarul Biblic Iași.
Version: 1.0.0
Author: Seminarul Biblic Iași
Text Domain: seminar
Requires PHP: 7.4
*/

/* ==========================================================================
   Fundamente
   ========================================================================== */

:root {
	--ink: #16213a;
	--ink-2: #22305a;
	--ink-3: #2d3d6b;
	--gold: #b08a3e;
	--gold-2: #c9a45c;
	--gold-soft: #f5eddc;
	--paper: #f7f5f0;
	--paper-2: #efebe2;
	--card: #ffffff;
	--line: #e6e1d6;
	--text: #1d2433;
	--muted: #666c7a;
	--serif: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Georgia, serif;
	--sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(22, 33, 58, .04), 0 12px 32px -16px rgba(22, 33, 58, .18);
	--wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
#continut { flex: 1; }

img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 780px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
	font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.is-center { justify-content: center; }
.eyebrow.is-center::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.lead { font-size: 20px; line-height: 1.65; color: var(--muted); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-2); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-line { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-line:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-line-ink { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-line-ink:hover { border-color: var(--ink); color: var(--ink); }

/* ==========================================================================
   Antet
   ========================================================================== */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(247, 245, 240, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(22, 33, 58, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-crest { width: 46px; height: 46px; color: var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.brand-text small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
	position: relative; display: block; padding: 10px 14px;
	font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none;
}
.main-nav ul a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
	background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav ul a:hover { color: var(--ink); }
.main-nav ul a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after { transform: scaleX(1); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--ink); }
.main-nav .nav-cta { display: inline-flex; margin-left: 10px; height: 42px; padding: 0 20px; font-size: 14px; color: #fff; }
.main-nav .nav-cta:first-of-type { margin-left: 18px; }

/* „Orar” e secundar: contur discret, cu iconița aurie. „Catalog” rămâne butonul plin. */
.main-nav .nav-cta-quiet { background: transparent; border-color: var(--line); color: var(--ink); }
.main-nav .nav-cta-quiet svg { color: var(--gold); }
.main-nav .nav-cta-quiet:hover,
.main-nav .nav-cta-quiet:focus-visible { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }
.main-nav .nav-cta.btn-ink:hover { color: #fff; }
.nav-cta svg { width: 15px; height: 15px; }

.nav-toggle {
	display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
	background: var(--card); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	display: block; width: 18px; height: 1.8px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Acasă
   ========================================================================== */

.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(176, 138, 62, .22), transparent 60%),
		linear-gradient(160deg, #16213a 0%, #1b2847 55%, #22305a 100%);
}
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 22px 22px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; padding-top: 110px; padding-bottom: 120px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.05; margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .lead { color: rgba(255, 255, 255, .75); max-width: 560px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-emblem { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 1; color: var(--gold); }
.hero-emblem svg { width: 100%; height: 100%; opacity: .9; }
.hero-emblem::before {
	content: ""; position: absolute; inset: -14%; border-radius: 50%;
	background: radial-gradient(circle, rgba(176, 138, 62, .18), transparent 65%);
}

.verse-strip { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); }
.verse-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.verse-strip p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; }
.verse-strip cite { font-style: normal; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; }

.section { padding: 110px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 46px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
	position: relative; padding: 40px 34px 36px; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(22, 33, 58, .04), 0 22px 44px -20px rgba(22, 33, 58, .28); }
.pillar-icon {
	display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px;
	border-radius: 16px; background: var(--gold-soft); color: var(--gold);
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 25px; margin-bottom: 12px; }
.pillar p { color: var(--muted); margin: 0; font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split h2 { font-size: clamp(32px, 3.6vw, 46px); }
.split p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.fact { padding: 22px 0 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 40px; color: var(--ink); line-height: 1; }
.fact span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.years { display: grid; gap: 20px; }
.year-card {
	position: relative; overflow: hidden; padding: 30px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.year-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.year-card h3 { font-size: 26px; margin: 0; }
.year-card-head span { font-size: 13px; color: var(--muted); }
.year-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.year-card li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; }
.year-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.year-card li a { color: var(--text); text-decoration: none; }
.year-card li a:hover { color: var(--gold); }
.year-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.year-card-more svg { width: 16px; height: 16px; }
.year-num {
	position: absolute; right: 22px; bottom: -14px; font-family: var(--serif); font-size: 110px; line-height: 1; color: var(--ink); opacity: .04; pointer-events: none;
}

.cta {
	position: relative; overflow: hidden; padding: 72px 64px; border-radius: 24px; color: #fff; text-align: center;
	background: linear-gradient(140deg, #16213a, #22305a);
}
.cta::before {
	content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%;
	border: 50px solid rgba(176, 138, 62, .14);
}
.cta h2 { position: relative; color: #fff; font-size: clamp(30px, 3.4vw, 42px); }
.cta p { position: relative; color: rgba(255, 255, 255, .72); max-width: 560px; margin: 0 auto 32px; font-size: 18px; }
.cta .hero-actions { position: relative; justify-content: center; }

/* ==========================================================================
   Pagini interioare
   ========================================================================== */

.page-hero {
	position: relative; overflow: hidden; color: #fff; text-align: center;
	background:
		radial-gradient(900px 380px at 50% -40%, rgba(176, 138, 62, .25), transparent 60%),
		linear-gradient(160deg, #16213a 0%, #22305a 100%);
}
.page-hero .wrap { position: relative; padding-top: 96px; padding-bottom: 100px; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5vw, 62px); margin: 0 0 16px; }
.page-hero p { color: rgba(255, 255, 255, .72); font-size: 19px; max-width: 620px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--gold-2); }

.prose { font-size: 18px; }
.prose h2 { font-size: 34px; margin-top: 1.6em; }
.prose h3 { font-size: 26px; margin-top: 1.4em; }
.prose p, .prose li { color: #3a4152; }
.prose > :first-child { margin-top: 0; }
.prose .lead { color: var(--muted); }
.dropcap::first-letter {
	float: left; font-family: var(--serif); font-size: 76px; line-height: .82; padding: 8px 12px 0 0; color: var(--gold);
}

.statement {
	position: relative; margin: 0 auto; max-width: 860px; text-align: center;
	font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.35; color: var(--ink);
}
.statement::before {
	content: "“"; display: block; font-size: 110px; line-height: .6; color: var(--gold); margin-bottom: 18px;
}
.statement cite { display: block; margin-top: 22px; font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value {
	display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 32px; background: var(--card);
	border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.value .pillar-icon { margin: 0; }
.value h3 { font-size: 23px; margin-bottom: 8px; }
.value p { margin: 0; color: var(--muted); font-size: 16px; }

.objectives { list-style: none; margin: 0; padding: 0; counter-reset: obj; display: grid; gap: 18px; }
.objective {
	counter-increment: obj; display: grid; grid-template-columns: 88px 1fr; gap: 28px; align-items: start;
	padding: 34px 36px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	transition: border-color .25s, transform .25s;
}
.objective:hover { border-color: var(--gold); transform: translateX(4px); }
.objective::before {
	content: counter(obj, decimal-leading-zero); font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--gold);
}
.objective h3 { font-size: 25px; margin-bottom: 8px; }
.objective p { margin: 0; color: var(--muted); }

.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.outcome { padding: 30px 28px; border-top: 2px solid var(--gold); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); }
.outcome h3 { font-size: 21px; margin-bottom: 8px; }
.outcome p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Cursuri: listă */

.empty-note { color: var(--muted); font-style: italic; margin: 0; }
.empty-note.is-center { text-align: center; }

.filter-bar {
	display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 56px; padding: 5px;
	background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.filter-bar button {
	height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
	font: 600 14.5px/1 var(--sans); color: var(--muted); transition: background-color .2s, color .2s; white-space: nowrap;
}
.filter-bar button:hover { color: var(--ink); }
.filter-bar button.is-active { background: var(--ink); color: #fff; }

.year-group + .year-group { margin-top: 72px; }
.year-group[hidden] { display: none; }
.year-title { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.year-title h2 { font-size: 34px; margin: 0; white-space: nowrap; }
.year-title::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
.year-title span { order: 3; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course-card {
	display: flex; flex-direction: column; padding: 32px 32px 26px; background: var(--card);
	border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.course-card:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(176, 138, 62, .55); box-shadow: 0 1px 2px rgba(22, 33, 58, .04), 0 22px 44px -22px rgba(22, 33, 58, .3); }
.course-card-year {
	align-self: flex-start; margin-bottom: 16px; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft);
	font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7a5a22;
}
.course-card h3 { font-size: 24px; margin-bottom: 10px; }
.course-card-teacher { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); }
.course-card-teacher svg, .course-card-foot svg { width: 16px; height: 16px; flex: none; }
.course-card-text { flex: 1; margin: 0 0 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.course-card-foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px;
	border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted);
}
.course-card-foot > span { display: inline-flex; align-items: center; gap: 8px; }
.course-card-more { font-weight: 700; color: var(--ink); }
.course-card-more svg { transition: transform .25s; }
.course-card:hover .course-card-more { color: var(--gold); }
.course-card:hover .course-card-more svg { transform: translateX(3px); }

/* Orar */

.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.schedule-day {
	padding: 26px 28px; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--gold);
}
.schedule-day h3 { font-size: 21px; margin-bottom: 14px; }
.schedule-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.schedule-day li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.schedule-day li:first-child { border-top: 0; padding-top: 0; }
.schedule-hours { font-weight: 700; font-size: 14.5px; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.schedule-course a { font-weight: 600; color: var(--ink); text-decoration: none; }
.schedule-course a:hover { color: var(--gold); }
.schedule-course small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.schedule-note { margin-top: 36px; }

@media (max-width: 480px) {
	.schedule-day { padding: 22px; }
	.schedule-day li { grid-template-columns: 1fr; gap: 2px; }
}

/* Cursuri: fișa unui curs */

.course-hero .wrap { padding-top: 72px; padding-bottom: 80px; }
.course-hero h1 { max-width: 860px; margin-left: auto; margin-right: auto; }
.crumbs { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.crumbs a { color: var(--gold-2); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { color: rgba(255, 255, 255, .35); }
.course-hero-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; }
.course-hero-meta svg { width: 20px; height: 20px; color: var(--gold-2); }

.course-body { padding-top: 72px; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.course-main { display: grid; gap: 24px; }
.course-block { padding: 36px 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.course-block h2 { display: flex; align-items: center; gap: 14px; font-size: 26px; margin-bottom: 20px; }
.block-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--gold-soft); color: var(--gold); }
.block-icon svg { width: 22px; height: 22px; }
.course-block .prose p:last-child { margin-bottom: 0; }

.topics { list-style: none; counter-reset: topic; margin: 0; padding: 0; display: grid; gap: 0; }
.topics li { counter-increment: topic; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.topics li:last-child { border-bottom: 0; padding-bottom: 0; }
.topics li:first-child { padding-top: 0; }
.topics li::before { content: counter(topic, decimal-leading-zero); font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--gold); }

.books { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.books li { position: relative; padding: 14px 18px 14px 22px; background: var(--paper); border-radius: 10px; border-left: 3px solid var(--gold); font-size: 16px; line-height: 1.55; }

.course-aside { position: sticky; top: 108px; display: grid; gap: 16px; }
.admin-bar .course-aside { top: 140px; }
.aside-card { padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.aside-card h3 { font-size: 22px; margin-bottom: 18px; }
.aside-card dl { margin: 0 0 24px; display: grid; gap: 0; }
.aside-card dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.aside-card dl > div:first-child { padding-top: 0; }
.aside-card dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.aside-card dd { margin: 0; font-weight: 600; color: var(--ink); }
.eval-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.eval-list li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.eval-list svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.btn-block { width: 100%; }
.btn.btn-block { font-size: 14.5px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 4px 2px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.back-link svg { width: 16px; height: 16px; transition: transform .2s; }
.back-link:hover svg { transform: translateX(-3px); }

.course-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.pager-link { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; text-decoration: none; }
.pager-link strong { transition: color .2s; }
.pager-link:hover strong { color: var(--gold); }
.pager-link small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pager-link strong { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.pager-link.is-next { grid-column: 2; text-align: right; }

/* Contact */

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
	display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px 24px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-card .pillar-icon { width: 48px; height: 48px; margin: 0; border-radius: 12px; }
.contact-card .pillar-icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong, .contact-card a { font-size: 16.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--gold); }

.form-card { padding: 44px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 32px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fcfbf8;
	font: 16px/1.5 var(--sans); color: var(--text); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(22, 33, 58, .08); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; font-weight: 500; }
.notice-ok { background: #e8f3ec; color: #2b7a4f; border: 1px solid #cde5d6; }
.notice-err { background: #fcebea; color: #b3261e; border: 1px solid #f3cdca; }

/* ==========================================================================
   Subsol
   ========================================================================== */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-text small { color: rgba(255, 255, 255, .5); }
.site-footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   Animații discrete
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.btn, .pillar, .objective { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
	.hero-inner, .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-emblem { width: 220px; order: -1; justify-self: start; }
	.hero-inner { padding-top: 72px; padding-bottom: 84px; }
	.pillars, .outcomes { grid-template-columns: 1fr; }
	.values { grid-template-columns: 1fr; }
	.course-layout { grid-template-columns: 1fr; }
	.course-aside { position: static; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
		padding: 12px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 30px -20px rgba(22, 33, 58, .3);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .main-nav { top: 130px; }
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.main-nav ul { flex-direction: column; }
	.main-nav ul a { padding: 14px 6px; font-size: 17px; border-bottom: 1px solid var(--line); }
	.main-nav ul a::after { display: none; }
	.main-nav .nav-cta { margin: 18px 0 0; height: 50px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.wrap { padding: 0 18px; }
	.header-inner { height: 72px; }
	.main-nav { inset: 72px 0 auto 0; }
	.brand-crest { width: 40px; height: 40px; }
	.brand-text strong { font-size: 18px; }
	.section { padding: 76px 0; }
	.section-head { margin-bottom: 40px; }
	.verse-strip .wrap { flex-direction: column; gap: 8px; }
	.eyebrow { font-size: 11.5px; letter-spacing: .14em; }
	.eyebrow.is-center::before, .eyebrow.is-center::after { width: 16px; }
	.year-card ul { grid-template-columns: 1fr; }
	.cta { padding: 52px 26px; border-radius: 18px; }
	.objective { grid-template-columns: 1fr; gap: 10px; padding: 28px 24px; }
	.objective::before { font-size: 40px; }
	.value { grid-template-columns: 1fr; padding: 26px; }
	.form-card { padding: 28px 22px; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.footer-top { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
	.course-grid { grid-template-columns: 1fr; }
	.course-card { padding: 26px 22px 22px; }
	.course-block { padding: 26px 22px; }
	.course-block h2 { font-size: 22px; }
	.filter-bar { margin-bottom: 40px; }
	.filter-bar button { padding: 0 14px; font-size: 13.5px; }
	.year-title h2 { font-size: 28px; }
	.course-pager { grid-template-columns: 1fr; gap: 8px; }
	.pager-link.is-next { grid-column: 1; }
	.facts { grid-template-columns: repeat(3, 1fr); }
	.fact strong { font-size: 32px; }
}
