/* =========================================================
   ZMEN.SK — design system
   ========================================================= */

:root {
  --navy-950: #0a1930;
  --navy-900: #0f2745;
  --navy-800: #16345c;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --amber-500:#f59e0b;
  --amber-600:#d97706;
  --slate-900:#0f172a;
  --slate-700:#334155;
  --slate-600:#475569;
  --slate-400:#94a3b8;
  --slate-200:#e2e8f0;
  --slate-100:#f1f5f9;
  --slate-50: #f8fafc;
  --white:    #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(15, 39, 69, .08);
  --shadow-md: 0 10px 30px rgba(15, 39, 69, .12);
  --shadow-lg: 0 20px 50px rgba(15, 39, 69, .18);

  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
main { display: block; }

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--slate-50); }
.section--navy {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}
.section--navy .eyebrow { background: rgba(255,255,255,.1); color: var(--blue-100); }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.section-head p { color: var(--slate-600); font-size: 1.05rem; }
.section--navy .section-head p { color: #c7d6ec; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber-500); color: var(--navy-950); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--amber-600); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: transparent; border-color: var(--blue-700); color: var(--blue-700); }
.btn--outline:hover { background: var(--blue-50); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--slate-200); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; color: var(--navy-950); }
.brand-text span { font-size: .72rem; color: var(--slate-600); letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--blue-700); background: var(--blue-50); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 11px 18px; }
.phone-link {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy-950);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 1180px) { .phone-link { display: inline-flex; } }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--navy-950);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-950);
  border-bottom: 1px solid var(--slate-200);
}
.mobile-nav .sub-links { padding-left: 16px; }
.mobile-nav .sub-links a { font-size: 1rem; font-weight: 600; color: var(--slate-600); border-bottom: none; padding: 10px 4px; }
.mobile-nav .mobile-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--blue-700) 130%);
  color: var(--white);
  overflow: hidden;
  padding: 72px 0 100px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, rgba(96,165,250,.35), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.hero .lead { font-size: 1.15rem; color: #d7e3f5; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-quote {
  border-left: 3px solid var(--amber-500);
  padding-left: 18px;
  margin-top: 36px;
  font-style: italic;
  color: #e7edf7;
  max-width: 52ch;
}
.hero-visual {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-visual .stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.hero-visual .stat strong { font-size: 2rem; color: var(--amber-500); font-weight: 800; }
.hero-visual .stat span { color: #cfdcf0; font-size: .95rem; }
.hero-visual hr { border: none; border-top: 1px solid rgba(255,255,255,.14); margin: 18px 0; }

.page-hero {
  padding: 56px 0 64px;
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}
.page-hero .eyebrow { background: rgba(255,255,255,.1); color: var(--blue-100); }
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); max-width: 18ch; }
.page-hero p { color: #d7e3f5; max-width: 62ch; font-size: 1.08rem; }
.breadcrumb { font-size: .85rem; color: #9fb3d1; margin-bottom: 18px; }
.breadcrumb a { color: #cfe0f7; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-700);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.08rem; }
.card p { color: var(--slate-600); font-size: .96rem; margin-bottom: 0; }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .tag {
  background: var(--navy-950);
  color: var(--white);
  padding: 22px 26px;
}
.service-card .tag .icon { background: rgba(255,255,255,.12); color: var(--amber-500); }
.service-card .body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card .body p { color: var(--slate-600); flex: 1; }
.service-card .link-row { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-700); }
.service-card .link-row svg { width: 16px; height: 16px; transition: transform .15s ease; }
.service-card:hover .link-row svg { transform: translateX(4px); }

/* ---------- checklist ---------- */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--slate-700);
}
.check-list li svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  color: var(--blue-700);
}
.check-list strong { color: var(--slate-900); }

/* ---------- numbered steps ---------- */
.steps { display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}
.step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step p { color: var(--slate-600); margin: 0; }

/* ---------- quote ---------- */
.quote-block {
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy-950);
  border-left: 4px solid var(--blue-700);
}

/* ---------- two-col ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ---------- stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-strip .stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--amber-500); }
.stat-strip .stat span { color: #c7d6ec; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 6px 22px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue-700);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 18px; color: var(--slate-600); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { margin-bottom: 6px; font-size: 1.6rem; }
.cta-band p { color: #dbe6f7; margin: 0; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card .row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-info-card .row .icon { background: rgba(255,255,255,.1); color: var(--amber-500); width: 44px; height: 44px; }
.contact-info-card .row a, .contact-info-card .row span { font-weight: 600; }
.contact-info-card .legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #b9c8e0; }

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--slate-900);
  background: var(--slate-50);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: var(--white);
}
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--slate-600); }
.field-check input { width: 18px; height: 18px; margin-top: 2px; }
.form-note { font-size: .82rem; color: var(--slate-400); margin-top: 12px; }
.form-success {
  display: none;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--navy-950);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: .92rem;
}
.form-success.is-visible { display: block; }
.form-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: .92rem;
}
.form-error.is-visible { display: block; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- empty state (articles) ---------- */
.empty-state {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  padding: 60px 24px;
}
.empty-state .icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  background: var(--blue-50); color: var(--blue-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.empty-state .icon svg { width: 36px; height: 36px; }

/* ---------- article ---------- */
.article-meta{
  display:flex; flex-wrap:wrap; gap:16px;
  font-size:.88rem; color:#c7d6ec;
  margin-top:10px;
}
.article-body{ max-width:700px; margin-inline:auto; }
.article-body p{ color:var(--slate-700); font-size:1.05rem; line-height:1.75; margin-bottom:20px; }
.article-body h2{ font-size:1.3rem; margin-top:40px; }
.article-body h2:first-child{ margin-top:0; }
.article-body h3{ font-size:1.1rem; margin-top:28px; }
.article-body ul, .article-body ol{ padding-left:1.4em; margin:0 0 20px; color:var(--slate-700); font-size:1.05rem; line-height:1.75; }
.article-body ul{ list-style:disc; }
.article-body ol{ list-style:decimal; }
.article-body a{ color:var(--blue-700); text-decoration:underline; }
.article-body .quote-block{ margin:28px 0; }
.empty-state.narrow{ max-width:600px; }
.muted{ color:var(--slate-600); }
.hero-cta.center{ justify-content:center; margin-top:20px; }
.article-cards{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:24px; }
.article-card{
  display:flex; flex-direction:column; gap:10px;
  background:var(--white);
  border:1px solid var(--slate-200);
  border-radius:var(--radius-md);
  padding:28px 26px;
  box-shadow:var(--shadow-sm);
  transition:transform .18s ease, box-shadow .18s ease;
}
.article-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.article-card time{ font-size:.8rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--blue-700); }
.article-card h3{ font-size:1.15rem; margin:0; }
.article-card p{ color:var(--slate-600); font-size:.95rem; margin:0; flex:1; }
.article-card .link-row{ display:flex; align-items:center; gap:8px; font-weight:700; color:var(--blue-700); font-size:.92rem; }
.article-card .link-row svg{ width:16px; height:16px; transition:transform .15s ease; }
.article-card:hover .link-row svg{ transform:translateX(4px); }
.article-nav{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  max-width:700px; margin:0 auto;
}

/* ---------- media: obrázky, galérie, video ---------- */
.media-figure { margin: 0; }
.media-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--slate-200); box-shadow: var(--shadow-md); background: var(--white); }
.media-figure figcaption { margin-top: 10px; font-size: .88rem; color: var(--slate-600); text-align: center; }
.media-figure--narrow { max-width: 420px; margin-inline: auto; }
.media-figure--plain img { border: none; box-shadow: none; background: transparent; }
.media-figure a { display: block; }
.media-intro { margin-bottom: 48px; }
.media-intro .section-head { margin-bottom: 0; }

.gallery-head { margin: 56px 0 24px; }
.gallery-head h3 { font-size: 1.3rem; margin-bottom: 6px; }
.gallery-head p { color: var(--slate-600); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery a {
  display: block; overflow: hidden; color: inherit;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.gallery a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--slate-50); }
.gallery--slides img { aspect-ratio: 3 / 2; object-fit: contain; background: var(--white); }
.gallery span { display: block; padding: 12px 14px; font-size: .9rem; font-weight: 600; color: var(--slate-700); border-top: 1px solid var(--slate-100); }

.video-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; max-width: 1000px; margin-inline: auto; }
.video-frame video { display: block; width: 100%; height: auto; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 16px 24px;
  background: rgba(10, 25, 48, .94);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1500px, 100%); display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 8px; background: var(--white); }
.lightbox figcaption { margin-top: 12px; color: #dbe6f7; text-align: center; font-size: .95rem; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: var(--white); font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .3); outline: none; }
.lightbox button[hidden] { display: none; }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

.page-hero--photo .container { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: center; }
.hero-photo { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 4px solid rgba(255, 255, 255, .16); box-shadow: var(--shadow-lg); }
@media (max-width: 820px) {
  .page-hero--photo .container { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { max-width: 180px; }
}

.article-cover { margin: 0 0 32px; }
.article-cover img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--slate-200); }
.article-figure { margin: 28px 0; }
.article-figure img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--radius-md); }
.article-figure figcaption { margin-top: 8px; text-align: center; font-size: .88rem; color: var(--slate-600); }
.article-card { overflow: hidden; }
.article-card .thumb { margin: -28px -26px 6px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.article-card .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #b9c8e0; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand strong { color: var(--white); font-size: 1.05rem; }
.site-footer h4 { color: var(--white); font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { display: block; padding: 6px 0; color: #b9c8e0; font-size: .92rem; transition: color .15s ease; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px 0 28px; font-size: .82rem; color: #8298bb;
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 90;
  border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .cta-band { padding: 32px; flex-direction: column; align-items: flex-start; }
}
