/* =========================================================
   FEM · Facultad de Estudios Ministeriales
   Hoja de estilos principal
   ========================================================= */

:root {
  --navy-900: #0d2942;
  --navy-800: #153e5c;
  --navy-700: #235b80;
  --navy-100: #e2eaee;
  --gold-500: #e0aa3f;
  --gold-400: #f2be54;
  --gold-700: #8a6413;
  --blue-300: #87aeb4;
  --blue-600: #4a7c88;
  --ivory: #f7f8f5;
  --paper: #edf0ea;
  --white: #ffffff;
  --ink: #191a1d;
  --muted: #5a6470;
  --line: #dde2da;
  --line-dark: rgba(255, 255, 255, .14);

  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --shadow: 0 1px 2px rgba(21, 62, 92, .06), 0 8px 24px rgba(21, 62, 92, .07);
  --wrap: 1180px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-700); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy-800);
  margin: 0 0 .5em;
  letter-spacing: -.022em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-800); color: #d9e0ea; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section + .section--same { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--gold-400); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #b9c3d2; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .95rem/1 var(--sans);
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; }
.btn--gold { background: var(--gold-400); color: var(--navy-900); }
.btn--gold:hover { background: #d6b87b; color: var(--navy-900); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-800); }
.btn--sm { padding: 11px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--navy-800);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Announcement ---------- */
.notice {
  background: var(--navy-900); color: #cfd7e3;
  font-size: .88rem; text-align: center; padding: 9px 16px;
}
.notice a { color: var(--gold-400); font-weight: 600; margin-left: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 245, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--navy-800); letter-spacing: .02em; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn), .nav-drop > button {
  font: 500 .95rem/1 var(--sans);
  color: var(--ink); text-decoration: none;
  padding: 10px 14px; border-radius: var(--radius);
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:not(.btn):hover, .nav-drop > button:hover, .nav-drop.open > button { color: var(--navy-800); background: var(--paper); }
.nav a[aria-current="page"], .nav-drop.current > button { color: var(--navy-800); box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px;
  display: none;
}
.nav-drop.open .nav-menu { display: block; }
.nav-menu a { display: block; padding: 10px 12px; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: .94rem; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--paper); color: var(--navy-800); }
.header-cta { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px; cursor: pointer; color: var(--navy-800); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-header { backdrop-filter: none; background: var(--ivory); }
  .header-cta--desk { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); padding: 16px 24px 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; visibility: visible; transition: opacity .2s ease; }
  .nav > a:not(.btn), .nav-drop > button { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"], .nav-drop.current > button { box-shadow: none; color: var(--gold-700); }
  .nav-menu { position: static; box-shadow: none; border: 0; padding: 4px 0 8px 12px; background: transparent; }
  .nav-menu a { padding: 12px 8px; }
  .nav .header-cta { margin: 24px 0 0; }
}
@media (min-width: 1021px) { .nav .header-cta--mob { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy-900);
  min-height: min(82vh, 760px);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,41,66,.95) 0%, rgba(13,41,66,.82) 42%, rgba(13,41,66,.3) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero-content { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: normal; font-weight: 500; color: var(--gold-400); }
.hero p { font-size: 1.18rem; color: #cfd7e3; max-width: 560px; margin-bottom: 36px; }

/* ---------- Page head (inner pages) ---------- */
.page-head {
  position: relative; background: var(--navy-800); color: #cfd7e3;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 380px; height: 330px;
  background: url("../img/fem-logo-gold.png") no-repeat center / contain; opacity: .06;
}
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; max-width: 820px; margin-bottom: 16px; }
.page-head p { font-size: 1.12rem; max-width: 680px; margin: 0; color: #b9c3d2; }
.crumbs { font-size: .85rem; margin-bottom: 28px; color: #93a0b4; }
.crumbs a { color: #cfd7e3; text-decoration: none; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs span { margin: 0 8px; }

/* ---------- Stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 36px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-variant-numeric: tabular-nums; font-family: var(--display); font-size: 2.8rem; font-weight: 600; color: var(--navy-800); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .9rem; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 24px; }
  .stat:first-child { border-top: 0; }
}

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split > * { min-width: 0; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split-media::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px;
  border: 1px solid var(--gold-500); border-radius: var(--radius); z-index: -1;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split-media { max-width: 520px; }
  .split-media img { aspect-ratio: 4 / 3; }
}
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Check list ---------- */
.checks { list-style: none; display: grid; gap: 14px; margin: 28px 0; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2be54' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 11px;
}
.checks--2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }

.plain-list { list-style: none; display: grid; gap: 10px; }
.plain-list li { position: relative; padding-left: 22px; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--gold-500); }

/* ---------- Features ---------- */
.feature { padding-top: 24px; border-top: 1px solid var(--line); }
.feature .icon { margin-bottom: 18px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--navy-100); color: var(--navy-800);
}
.icon svg { width: 22px; height: 22px; }
.section--navy .icon { background: rgba(255,255,255,.08); color: var(--gold-400); }
.section--navy .feature { border-color: var(--line-dark); }
.section--navy .feature p { color: #b9c3d2; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 12px; }
.program { transition: border-color .2s, box-shadow .2s, transform .2s; text-decoration: none; color: inherit; }
.program:hover { border-color: var(--gold-500); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.program .num { font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--blue-600); margin-bottom: 28px; letter-spacing: .14em; }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.price { padding: 36px 32px; border-left: 1px solid var(--line); }
.price:first-child { border-left: 0; }
.price--featured { background: var(--navy-800); color: #cfd7e3; border-color: var(--navy-800); }
.price--featured h3 { color: #fff; }
.price small { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.price--featured small { color: var(--gold-400); }
.price h3 { margin-bottom: 24px; }
.amount { font-variant-numeric: tabular-nums; font-family: var(--display); font-size: 2.6rem; font-weight: 600; color: var(--navy-800); line-height: 1; margin-bottom: 6px; }
.amount sup { font-size: .5em; vertical-align: super; margin-right: 2px; }
.price--featured .amount { color: #fff; }
.price .unit { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.price--featured .unit { color: #b9c3d2; }
.price .note { font-size: .9rem; padding-top: 16px; border-top: 1px solid var(--line); margin: 0; }
.price--featured .note { border-color: var(--line-dark); }
.price .note strong { color: var(--gold-700); font-weight: 600; }
.price--featured .note strong { color: var(--gold-400); }
@media (max-width: 860px) {
  .prices { grid-template-columns: 1fr; }
  .price { border-left: 0; border-top: 1px solid var(--line); }
  .price:first-child { border-top: 0; }
}

/* ---------- Courses ---------- */
.course { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.course img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.course-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 10px; }
.course h3 { font-size: 1.3rem; margin-bottom: 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: var(--navy-700); margin-bottom: 14px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 15px; height: 15px; color: var(--gold-700); }
.course p { font-size: .95rem; color: var(--muted); margin: 0; }
.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.course.expanded .clamp { -webkit-line-clamp: unset; }
.more { margin-top: 12px; background: none; border: 0; padding: 0; font: 600 .88rem var(--sans); color: var(--navy-800); cursor: pointer; align-self: flex-start; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Testimonials ---------- */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; margin: 0; display: flex; flex-direction: column; }
.quote::before { content: "“"; font-family: var(--display); font-weight: 600; font-size: 3.4rem; line-height: .8; color: var(--gold-500); height: 26px; }
.quote blockquote { margin: 0 0 28px; font-size: 1.02rem; line-height: 1.7; color: #2c333d; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--navy-800); font-size: .98rem; }
.quote figcaption span { font-size: .84rem; color: var(--muted); }

/* ---------- People ---------- */
.person { text-align: left; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; filter: grayscale(.15); }
.person h3 { font-size: 1.2rem; margin-bottom: 2px; }
.person .role { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); margin: 0; }

.teacher { display: grid; grid-template-columns: 132px 1fr; gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); }
.teacher img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; }
.teacher h3 { margin-bottom: 4px; }
.teacher .role { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); margin: 0 0 14px; }
.teacher .plain-list { font-size: .95rem; color: var(--muted); gap: 6px; }
@media (max-width: 560px) { .teacher { grid-template-columns: 1fr; gap: 16px; } .teacher img { width: 96px; height: 96px; } }

/* ---------- Prose / long text ---------- */
.prose h2 { font-size: 1.7rem; margin-top: 56px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #353e4e; }
.doctrine { counter-reset: d; }
.doctrine article { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.doctrine article::before { counter-increment: d; content: counter(d, decimal-leading-zero); font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .04em; color: var(--blue-600); padding-top: 6px; }
.doctrine h2 { font-size: 1.55rem; margin-bottom: 14px; }
.doctrine p { margin: 0; color: #353e4e; }
.doctrine p + p { margin-top: 1em; }
@media (max-width: 560px) { .doctrine article { grid-template-columns: 1fr; gap: 4px; } }

.req { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.req h3 { display: flex; align-items: center; gap: 14px; font-size: 1.2rem; margin-bottom: 18px; }
.req h3 .icon { width: 40px; height: 40px; flex: none; }
.req h3 .icon svg { width: 18px; height: 18px; }
.req .plain-list { color: #454e5e; font-size: .97rem; }

/* ---------- Callout / CTA ---------- */
.callout { background: var(--paper); border-left: 3px solid var(--gold-500); padding: 28px 32px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; }
.callout p:last-child { margin: 0; }
.cta-band { background: var(--navy-800); color: #cfd7e3; border-radius: var(--radius); padding: clamp(36px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; color: #b9c3d2; max-width: 560px; }

.bank { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; }
.bank dl { margin: 0; }
.bank div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.bank div:first-child { border-top: 0; }
.bank dt { color: var(--muted); font-size: .92rem; }
.bank dd { margin: 0; font-weight: 600; color: var(--navy-800); font-variant-numeric: tabular-nums; }

.churches { columns: 2; column-gap: 40px; list-style: none; }
.churches li { break-inside: avoid; padding: 12px 0; border-top: 1px solid var(--line); }
.churches strong { display: block; font-weight: 600; color: var(--navy-800); }
.churches span { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .churches { columns: 1; } }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--line); }
.contact-item:first-child { border-top: 0; padding-top: 0; }
.contact-item h3 { font-size: 1rem; font-family: var(--sans); font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.contact-item a, .contact-item p { font-family: var(--display); font-weight: 600; font-size: 1.22rem; color: var(--navy-800); margin: 0; text-decoration: none; word-break: break-word; }
.contact-item a:hover { color: var(--gold-700); }
@media (max-width: 560px) { .contact-item a, .contact-item p { font-size: 1.08rem; } }
.map { width: 100%; min-height: 420px; height: 100%; border: 0; border-radius: var(--radius); filter: grayscale(.5) contrast(1.05); }

.figure { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; }
.figure img { border-radius: 4px; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aab5c6; font-size: .95rem; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; text-decoration: none; }
.footer-brand img { width: 44px; }
.footer-brand strong { font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: #fff; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #d9e0ea; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer p { max-width: 340px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-lg { margin-top: 48px; } .center { text-align: center; }
