:root {
  --teal: #0bb8b6;
  --teal-dark: #099e98;
  --teal-deep: #067f7a;
  --teal-soft: #e7f7f6;
  --mint: #f3fbfb;
  --navy: #111e31;
  --navy-2: #1a2c44;
  --ink: #1c2b3a;
  --muted: #627384;
  --line: #e4eef2;
  --soft: #f4f7fb;
  --white: #fff;
  --shadow: 0 14px 40px rgba(17, 30, 49, 0.08);
  --radius: 12px;
  --container: 1170px;
  --font: "Poppins", "Segoe UI", sans-serif;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--teal-dark); }

button, input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }

p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

/* Header */
.topbar { background: var(--teal); color: #fff; position: relative; z-index: 30; }
.topbar-row {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.4px;
}
.logo:hover { color: #fff; }
.logo svg { width: 46px; height: 46px; flex: 0 0 auto; }
.logo small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.92;
  margin-top: 1px;
}
.top-info { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.top-info li { display: flex; align-items: center; gap: 10px; }
.top-info svg { width: 34px; height: 34px; }
.top-info small { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.9; line-height: 1.2; }
.top-info a, .top-info strong { color: #fff; font-weight: 600; font-size: 14px; }

.nav-overlay { position: relative; z-index: 40; margin-bottom: -36px; }
.nav-card {
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 30, 49, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 10px 0 8px;
  position: relative;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0 8px; }
.nav-links a {
  display: block;
  padding: 24px 13px;
  color: #314254;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.book-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  color: var(--ink);
}
.book-pill:hover { color: var(--ink); }
.book-pill .bubble {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  display: grid; place-items: center;
}
.book-pill .bubble svg { width: 24px; height: 24px; }
.book-pill small { display: block; color: var(--teal); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; line-height: 1.2; }
.book-pill strong { font-size: 16px; color: var(--ink); }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; margin-left: 8px;
}
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--navy); margin: 0 auto; }

/* Home hero */
.home-hero {
  background:
    radial-gradient(520px 320px at 85% 20%, rgba(11, 184, 182, 0.16), transparent 70%),
    linear-gradient(180deg, #f6fbfb 0%, #fff 72%);
  padding: 78px 0 30px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center; }
.eyebrow {
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}
.home-hero h1 { font-size: clamp(40px, 5vw, 62px); letter-spacing: -1px; margin-bottom: 16px; }
.home-hero .lead { font-size: 16px; max-width: 520px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; min-height: 520px; }
.hero-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 180px 180px 30px 140px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}
.blob {
  position: absolute;
  background: rgba(11, 184, 182, 0.18);
  border-radius: 50%;
  z-index: 0;
}
.blob-a { width: 280px; height: 280px; right: -30px; top: 30px; }
.blob-b { width: 140px; height: 140px; left: 10px; bottom: 40px; background: rgba(11, 184, 182, 0.28); }
.hero-badge {
  position: absolute;
  left: 0; bottom: 70px;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 230px;
}
.hero-badge strong { display: block; color: var(--ink); font-size: 14px; }
.hero-badge span { color: var(--muted); font-size: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--teal);
  border-radius: 40px;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--teal); border-color: #fff; }
.btn-light:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn svg { width: 16px; height: 16px; }

.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); }
.section-head p { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: 420px; object-fit: cover; border-radius: 18px; }
.heart-float {
  position: absolute;
  right: -16px; bottom: -16px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(11, 184, 182, 0.35);
}
.heart-float svg { width: 40px; height: 40px; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.mini {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.mini h3 { font-size: 16px; margin-bottom: 6px; }
.mini p { font-size: 13px; margin: 0; }
.icon-line { display: flex; align-items: center; gap: 8px; color: var(--teal); margin-bottom: 6px; }
.icon-line svg { width: 22px; height: 22px; }

.dept-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.dept-feature {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dept-feature img { width: 100%; height: 250px; object-fit: cover; }
.dept-feature div, .dept-card { padding: 22px; }
.dept-side { display: grid; gap: 16px; }
.dept-card, .excel-card, .doc-card, .post-card, .price-card, .info-card, .tip, .story {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.dept-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.icon-badge {
  width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid #d5f3f1;
  color: var(--teal);
  display: grid; place-items: center;
  background: var(--mint);
}
.icon-badge svg { width: 28px; height: 28px; }
.check { list-style: none; padding: 0; margin: 12px 0 16px; }
.check li { position: relative; padding-left: 22px; margin: 6px 0; color: #526476; font-size: 14px; }
.check li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.excel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.excel-card { padding: 28px 26px 24px; position: relative; overflow: hidden; }
.excel-card .num {
  position: absolute; right: 18px; top: 8px;
  font-size: 54px; font-weight: 700; color: rgba(11, 184, 182, 0.18); line-height: 1;
}
.excel-card h3 { font-size: 20px; margin-top: 8px; }

.tips-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.tips-wrap img { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; }
.acc { border-bottom: 1px solid var(--line); }
.acc button {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 16px 0; font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px;
}
.acc button span { color: var(--teal); }
.acc .panel { display: none; padding: 0 0 14px; color: var(--muted); }
.acc.open .panel { display: block; }

.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doc-card { text-align: center; padding: 28px 18px 24px; }
.doc-card img, .avatar {
  width: 150px; height: 150px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 14px; border: 6px solid #fff; box-shadow: 0 8px 20px rgba(17,30,49,.12);
}
.doc-card h3 { margin-bottom: 2px; font-size: 20px; }
.role { color: var(--teal); letter-spacing: 1px; font-size: 12px; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.doc-card p { font-size: 14px; }

.stats {
  background: var(--teal);
  color: #fff;
  padding: 42px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 12px; }
.stats strong { display: block; font-size: 40px; line-height: 1.1; }
.stats span { font-size: 14px; opacity: 0.95; }

.gallery { position: relative; }
.gal-window { overflow: hidden; }
.gal-track { display: flex; gap: 16px; transition: transform 0.4s ease; }
.gal-track figure { margin: 0; min-width: calc(33.333% - 11px); position: relative; }
.gal-track img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; }
.gal-track figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(17, 30, 49, 0.72); color: #fff;
  padding: 6px 10px; border-radius: 20px; font-size: 13px;
}
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--teal); box-shadow: var(--shadow); cursor: pointer; z-index: 2;
}
.gal-btn.prev { left: -8px; }
.gal-btn.next { right: -8px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { overflow: hidden; }
.post-card img { width: 100%; height: 210px; object-fit: cover; }
.post-card div { padding: 18px 18px 22px; }
.meta { color: var(--teal); font-size: 12px; font-weight: 600; letter-spacing: 0.3px; margin-bottom: 8px; }
.post-card h3 { font-size: 18px; }

.page-hero {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding: 130px 0 58px;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17, 30, 49, 0.25), rgba(17, 30, 49, 0.62));
}
.page-hero .container { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4vw, 48px); margin-bottom: 8px; }
.crumbs { color: #fff; font-size: 14px; }
.crumbs a { color: #fff; }
.crumbs span { color: var(--teal); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { background: #fff; border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.value h3 { font-size: 18px; }

.story { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 26px; align-items: center; }
.story img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.story h3 { margin-bottom: 4px; }

.layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.side-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.side-card h3 { font-size: 18px; margin-bottom: 12px; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { border-bottom: 1px solid var(--line); }
.side-card li a, .side-card li button {
  display: flex; justify-content: space-between; width: 100%;
  background: none; border: 0; padding: 10px 0; color: #415266; cursor: pointer; text-align: left; font-size: 14px;
}
.recent { display: flex; gap: 10px; padding: 8px 0; }
.recent img { width: 72px; height: 58px; object-fit: cover; border-radius: 8px; }
.recent strong { display: block; font-size: 13px; color: var(--ink); }
.recent span { font-size: 12px; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs img { height: 68px; width: 100%; object-fit: cover; border-radius: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a, .chip {
  border: 1px solid var(--line); border-radius: 20px; padding: 4px 10px; font-size: 12px; color: #415266; background: #fff;
}
.chip { cursor: pointer; }
.chip.active, .tags a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.search-row { display: flex; }
.search-row input { flex: 1; border: 1px solid var(--line); border-radius: 30px 0 0 30px; padding: 10px 14px; }
.search-row button { border: 0; background: var(--teal); color: #fff; border-radius: 0 30px 30px 0; padding: 0 16px; cursor: pointer; }

.article-hero img { width: 100%; height: 380px; object-fit: cover; border-radius: 16px; }
.quote {
  background: var(--teal); color: #fff; border-radius: 12px; padding: 22px 24px; margin: 22px 0; font-size: 18px; line-height: 1.6;
}
.quote p { color: #fff; margin: 0; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }
.prose h3 { font-size: 20px; margin-top: 1.2em; }
.prose ul { color: var(--muted); }
.note {
  background: var(--mint); border-left: 4px solid var(--teal); padding: 12px 14px; border-radius: 8px; color: #3d5566; font-size: 14px;
}

.profile { display: grid; grid-template-columns: 280px 1fr; gap: 32px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 28px; }
.profile img.portrait { width: 100%; height: 320px; object-fit: cover; object-position: center top; border-radius: 16px; }
.focus { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { padding: 28px 24px; text-align: center; position: relative; }
.price-card.featured { background: var(--navy); color: #fff; transform: translateY(-10px); }
.price-card.featured h3, .price-card.featured .amount, .price-card.featured p { color: #fff; }
.price-card.featured .check li { color: #d5e4ea; }
.amount { font-size: 46px; color: var(--ink); font-weight: 700; letter-spacing: -1px; }
.amount span { font-size: 16px; font-weight: 500; color: var(--muted); }
.ribbon {
  position: absolute; top: 16px; right: 16px;
  background: var(--teal); color: #fff; border-radius: 20px; font-size: 12px; padding: 4px 10px; font-weight: 600;
}

.form-card, .info-card { background: var(--mint); border-radius: 16px; padding: 26px; }
.info-card { background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; border: 1px solid #d7ebe9; background: #fff; border-radius: 8px;
  padding: 12px 14px; color: var(--ink); font-size: 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(11, 184, 182, 0.35); border-color: var(--teal);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d35663; }
.field-error { color: #b43344; font-size: 12px; margin: 6px 0 0; min-height: 0; }
.field label.checkline,
.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  color: #415266;
  cursor: pointer;
}
.checkline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 1px 0 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: var(--teal);
  border-radius: 4px;
}
.choices { display: flex; flex-direction: column; gap: 8px; }
.form-success {
  background: #fff; border: 2px solid var(--teal); border-radius: 14px; padding: 28px 20px; text-align: center;
}
.form-success strong { display: block; color: var(--ink); font-size: 20px; line-height: 1.45; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; color: #415266; }
.news {
  background: var(--teal); color: #fff; border-radius: 16px; padding: 36px 28px; text-align: center; margin-top: 28px;
}
.news h2, .news p { color: #fff; }
.news form { display: flex; gap: 10px; max-width: 560px; margin: 16px auto 0; flex-wrap: wrap; justify-content: center; }
.news input { flex: 1; min-width: 220px; border: 0; border-radius: 30px; padding: 12px 16px; }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.legal-toc { position: sticky; top: 16px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 16px; }
.legal-toc a { display: block; padding: 7px 0; color: #415266; font-size: 14px; border-bottom: 1px solid var(--line); }
.legal-toc a:hover { color: var(--teal); }
.legal { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 32px 34px; }
.legal h2 { font-size: 24px; margin-top: 1.6em; }
.legal h2:first-child { margin-top: 0; }
.legal li { color: var(--muted); margin: 6px 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.step b { color: var(--teal); font-size: 13px; letter-spacing: 1px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tools input { flex: 1; min-width: 220px; border: 1px solid var(--line); border-radius: 30px; padding: 12px 16px; }

.empty { text-align: center; color: var(--muted); padding: 24px; }

/* Footer */
.footer { background: var(--navy); color: #c5d0dc; padding: 64px 0 0; margin-top: 20px; position: relative; overflow: hidden; }
.footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(11,184,182,.08), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(11,184,182,.06), transparent 24%);
  pointer-events: none;
}
.footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr; gap: 28px; }
.footer h3 { color: #fff; font-size: 18px; margin-bottom: 14px; position: relative; padding-bottom: 10px; }
.footer h3::after { content: ""; width: 36px; height: 2px; background: var(--teal); position: absolute; left: 0; bottom: 0; }
.footer p, .footer li, .footer a { color: #c5d0dc; font-size: 14px; }
.footer a:hover { color: var(--teal); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 8px 0; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; color: #fff;
}
.social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.social svg { width: 16px; height: 16px; }
.foot-form { display: flex; gap: 8px; margin-top: 10px; }
.foot-form input { flex: 1; border: 0; border-radius: 30px; padding: 10px 12px; }
.foot-form button { border-radius: 30px; padding: 10px 14px; }
.legal-bar {
  margin-top: 36px; border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}
.legal-bar nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer .form-success { margin-top: 10px; }
.footer .form-success strong { font-size: 15px; }
.footer .field-error { color: #ffe1e1; }
.news .field-error { color: #fff; width: 100%; text-align: left; }

@media (max-width: 1020px) {
  .hero-grid, .split, .dept-grid, .tips-wrap, .layout, .contact-grid, .legal-layout, .profile { grid-template-columns: 1fr; }
  .doc-grid, .post-grid, .price-grid, .values, .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .excel-grid, .steps, .mini-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .legal-toc { position: static; }
  .hero-media { min-height: 0; }
  .hero-media img { height: 420px; }
}

@media (max-width: 860px) {
  .top-info { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    padding: 8px 0;
    z-index: 50;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 18px; }
  .book-pill strong { font-size: 14px; }
  .gal-track figure { min-width: calc(100% - 0px); }
}

@media (max-width: 680px) {
  .doc-grid, .post-grid, .price-grid, .values, .stats-grid, .excel-grid, .steps, .mini-grid, .form-grid, .footer-grid, .dept-card { grid-template-columns: 1fr; }
  .home-hero { padding-top: 64px; }
  .hero-media img { height: 320px; border-radius: 24px; }
  .hero-badge { position: static; margin-top: 12px; }
  .section { padding: 56px 0; }
  .legal { padding: 22px 16px; }
  .page-hero { padding: 110px 0 42px; min-height: 0; }
  .article-hero img { height: 220px; }
  .stats strong { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .gal-track { transition: none; }
}
