/* ==========================================================================
   Legacy Harbor Publishing
   Mobile first. Breakpoints: 560, 760, 1000, 1100, 1320
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #041420;
  --navy-900: #071d2b;
  --navy: #0c2a3c;
  --navy-700: #133851;
  --navy-600: #1d4a66;
  --gold: #d2a860;
  --gold-300: #e8cc95;
  --gold-600: #b58c47;
  --bronze: #967842;
  --bronze-700: #76602f;
  --cream: #f8f3ea;
  --cream-2: #f1e7d6;
  --sand: #ead8b4;
  --paper: #fffdf9;
  --ink: #10222f;
  --text: #34495a;
  --muted: #5b6d7a;
  --line: #e7ddcc;
  --line-dark: rgba(255, 255, 255, .12);
  --white: #fff;
  --danger: #b3261e;
  --success: #1e7a4f;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(7, 29, 43, .06);
  --shadow: 0 14px 34px -12px rgba(7, 29, 43, .22);
  --shadow-lg: 0 30px 70px -24px rgba(4, 20, 32, .42);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bronze-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--navy-950); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.bg-cream { background: var(--cream); }
.bg-navy { background: radial-gradient(1200px 500px at 85% 0%, rgba(210, 168, 96, .10), transparent 60%), var(--navy); color: rgba(255, 255, 255, .78); }
.bg-navy .section-title, .bg-navy h3 { color: var(--white); }
.bg-navy .section-text { color: rgba(255, 255, 255, .74); }
.bg-navy .eyebrow { color: var(--gold); }
.bg-navy .section-title em { color: var(--gold); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split > *, .hero-grid > *, .cta-grid > *, .page-hero-inner > * { min-width: 0; }
.split--top { align-items: start; }
.center-row { display: flex; justify-content: center; margin-top: clamp(32px, 5vw, 56px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 8px; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow, .btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; } .btn-lg { padding-inline: 22px; } }
.btn-gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(210, 168, 96, .7); }
.btn-gold:hover { background: var(--gold-300); color: var(--navy-950); box-shadow: 0 14px 30px -12px rgba(210, 168, 96, .85); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-600); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(255, 255, 255, .06); }
.btn-link { background: none; border: 0; padding-inline: 4px; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.btn-link:hover { color: var(--bronze-700); }
.bg-navy .btn-link { color: var(--white); }

/* ---------- 5. Headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; color: var(--bronze-700);
  font-family: var(--font-sans); font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; opacity: .8; }
.eyebrow-light { color: var(--gold); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; opacity: .8; }
.section-head--left { margin-inline: 0; margin-bottom: 22px; }
.section-title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.15rem); margin-bottom: .35em; }
.section-title em, .hero-title em, .page-hero-title em { font-style: italic; font-weight: 600; color: var(--bronze); }
.section-title--light { color: var(--white); }
.section-title--light em { color: var(--gold); }
.section-text { font-size: 1.075rem; color: var(--muted); margin: 0; }
.ornament { display: inline-flex; align-items: center; gap: 8px; }
.ornament::before, .ornament::after { content: ''; width: 40px; height: 1px; background: var(--gold); }
.ornament i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ---------- 6. Top bar & header ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .74); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-note { display: none; align-items: center; gap: 8px; margin: 0; }
.topbar-note .icon { color: var(--gold); width: 16px; height: 16px; }
.topbar-links { display: flex; align-items: center; gap: 22px; list-style: none; margin-inline: auto; }
.topbar-links a, .topbar-links li { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar-links a:hover { color: var(--gold); }
.topbar-links .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar-hours { display: none !important; }
.topbar-links li:nth-child(2) span { display: none; }
@media (min-width: 560px) { .topbar-links li:nth-child(2) span { display: inline; } }
@media (min-width: 1000px) {
  .topbar-note { display: inline-flex; }
  .topbar-links { margin-inline: 0; }
}
@media (min-width: 1320px) { .topbar-hours { display: inline-flex !important; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 249, .96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(7, 29, 43, .35); border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; gap: 10px; min-height: 70px; }
@media (min-width: 400px) { .nav-wrap { gap: 18px; } }
.brand { flex: none; display: block; margin-right: auto; }
.brand img { width: auto; height: 38px; }
@media (min-width: 400px) { .brand img { height: 46px; } }
@media (min-width: 1200px) { .nav-wrap { min-height: 84px; } .brand img { height: 48px; } }
@media (min-width: 1320px) { .brand img { height: 54px; } }

.main-nav { display: none; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.menu > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 10px; color: var(--ink); text-decoration: none;
  font-size: .93rem; font-weight: 700;
}
.menu > li > a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu > li:hover > a::after, .menu > li.is-active > a::after, .menu > li:focus-within > a::after { transform: scaleX(1); }
.menu .caret { width: 15px; height: 15px; transition: transform .3s; }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(7, 29, 43, .4);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: var(--container); margin-inline: auto; padding: 28px var(--gutter) 32px; display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.mega-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.mega-list a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .2s; }
.mega-list a:hover { background: var(--cream); }
.mega-list strong { display: block; font-size: .92rem; line-height: 1.3; }
.mega-list small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.mega-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--cream-2); color: var(--bronze-700); }
.mega-ico .icon { width: 20px; height: 20px; }
.mega-card { border-radius: var(--radius); overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .8); font-size: .9rem; }
.mega-card img { width: 100%; height: 130px; object-fit: cover; }
.mega-card-body { padding: 18px 20px 20px; }
.mega-card-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-phone-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cream-2); color: var(--bronze-700); transition: background .25s, color .25s; }
.nav-phone:hover .nav-phone-ico { background: var(--navy); color: var(--gold); }
.nav-phone-ico .icon { width: 19px; height: 19px; }
.nav-phone-text { display: none; line-height: 1.25; white-space: nowrap; }
.nav-phone-text small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.nav-phone-text strong { display: block; font-size: .95rem; }
.nav-cta { display: none; }
.nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--navy); color: var(--white); }
.nav-toggle .icon { width: 24px; height: 24px; }
@media (min-width: 760px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1200px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .nav-actions { margin-left: 8px; }
}
@media (min-width: 1320px) { .menu > li > a { padding-inline: 14px; } .menu > li > a::after { left: 14px; right: 14px; } }
/* wide screens: header gets more room so the phone number fits on one line */
@media (min-width: 1320px) {
  .topbar .container, .site-header .container { max-width: 1400px; }
  .nav-phone-text { display: block; }
}

/* Drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(4, 20, 32, .6); animation: fade .25s both; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%);
  background: var(--paper); display: flex; flex-direction: column; overflow-y: auto;
  animation: slide-in .35s var(--ease) both; overscroll-behavior: contain;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head img { height: 42px; width: auto; }
.drawer-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--cream-2); color: var(--navy); }
.drawer-menu { list-style: none; padding: 10px 10px 0; }
.drawer-menu > li > a, .drawer-menu summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 10px 14px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.02rem; border-radius: 10px; cursor: pointer; list-style: none;
}
.drawer-menu summary::-webkit-details-marker { display: none; }
.drawer-menu summary .icon { transition: transform .25s; }
.drawer-menu details[open] summary .icon { transform: rotate(180deg); }
.drawer-menu > li > a:hover, .drawer-menu summary:hover, .drawer-menu [aria-current] { background: var(--cream); }
.drawer-menu details ul { list-style: none; padding: 0 0 8px 8px; }
.drawer-menu details a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; color: var(--text); text-decoration: none; font-size: .95rem; border-radius: 8px; }
.drawer-menu details a .icon { width: 18px; height: 18px; color: var(--bronze); }
.drawer-menu details a:hover { background: var(--cream); color: var(--ink); }
.drawer-foot { margin-top: auto; display: grid; gap: 10px; padding: 18px; border-top: 1px solid var(--line); background: var(--cream); }
.drawer-mail { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; color: var(--text); text-decoration: none; padding: 6px; word-break: break-all; }
body.no-scroll { overflow: hidden; }

/* ---------- 7. Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: rgba(255, 255, 255, .8);
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(210, 168, 96, .20), transparent 62%),
    radial-gradient(700px 500px at 10% 100%, rgba(29, 74, 102, .7), transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy) 55%, var(--navy-700) 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(150px, 16vw, 210px);
}
.hero-sky {
  position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 120px 80px, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 200px 160px, var(--gold-300) 50%, transparent 51%),
    radial-gradient(1px 1px at 300px 40px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 360px 220px, #fff 50%, transparent 51%);
  background-size: 400px 260px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.hero-beam {
  position: absolute; z-index: -1; top: -40%; right: -10%; width: 110%; height: 180%;
  background: conic-gradient(from 200deg at 70% 38%, transparent 0deg, rgba(232, 204, 149, .16) 14deg, transparent 30deg, transparent 180deg, rgba(232, 204, 149, .10) 196deg, transparent 214deg);
  filter: blur(6px);
  transform-origin: 70% 38%;
  animation: beam 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-grid { display: grid; gap: 40px; align-items: center; position: relative; }
.hero-title { color: var(--white); font-size: clamp(2.45rem, 1.3rem + 4.4vw, 4.5rem); line-height: 1.04; margin-bottom: 22px; }
.hero-title em { display: block; color: var(--gold); }
.hero-lead { font-size: clamp(1.03rem, .95rem + .35vw, 1.2rem); max-width: 600px; color: rgba(255, 255, 255, .82); margin-bottom: 26px; }
.hero-trust { list-style: none; display: grid; gap: 12px; margin-top: 34px; }
.hero-trust li { display: flex; align-items: center; gap: 12px; font-size: .93rem; }
.hero-trust .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(210, 168, 96, .14); color: var(--gold); }
.hero-trust strong { color: var(--white); }
@media (min-width: 760px) { .hero-trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 26px; } }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }

.hero-visual { position: relative; height: clamp(330px, 62vw, 470px); max-width: 560px; width: 100%; margin-inline: auto; }
.hero-glow { position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(232, 204, 149, .35), transparent 65%); filter: blur(10px); }
.book-stack { position: absolute; inset: 0; }

/* 3D book */
.b3d { --w: 200px; --t: 26px; --ry: 26deg; position: absolute; width: var(--w); aspect-ratio: 2 / 3; perspective: 1600px; }
.b3d::after { content: ''; position: absolute; left: 6%; right: -10%; bottom: -26px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); filter: blur(4px); z-index: -1; }
.b3d-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(var(--ry)) rotateX(3deg); transition: transform .8s var(--ease); }
.b3d-inner > div { position: absolute; }
.b3d-front { inset: 0; transform: translateZ(calc(var(--t) / 2)); border-radius: 2px 5px 5px 2px; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); }
.b3d-front img { width: 100%; height: 100%; object-fit: cover; }
.b3d-front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(255, 255, 255, .18) 3%, rgba(0, 0, 0, 0) 7%, rgba(255, 255, 255, .06) 60%, rgba(0, 0, 0, .08)); }
.b3d-back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); background: var(--spine, #0c2a3c); border-radius: 5px 2px 2px 5px; }
.b3d-spine { top: 0; height: 100%; width: var(--t); left: calc(50% - var(--t) / 2); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(255, 255, 255, .1) 45%, rgba(0, 0, 0, .35)), var(--spine, #0c2a3c); }
.b3d-pages { top: 3px; height: calc(100% - 6px); width: calc(var(--t) - 4px); left: calc(50% - (var(--t) - 4px) / 2); transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px)); background: repeating-linear-gradient(90deg, #f5eee0 0 2px, #d9ceb8 2px 3px); }
.b3d--back { --w: 38%; --ry: 30deg; left: 50%; top: 2%; z-index: 1; animation: float 7s ease-in-out infinite; animation-delay: -2s; }
.b3d--front { --w: 45%; --ry: 22deg; left: 14%; top: 13%; z-index: 3; animation: float 6s ease-in-out infinite; }
.b3d--side { --w: 34%; --ry: 34deg; left: 62%; top: 30%; z-index: 2; animation: float 8s ease-in-out infinite; animation-delay: -4s; }
.hero-visual:hover .b3d-inner { transform: rotateY(calc(var(--ry) - 12deg)) rotateX(2deg); }

.hero-badge {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: rgba(255, 253, 249, .97); color: var(--ink);
  box-shadow: var(--shadow-lg); font-size: .82rem; line-height: 1.25;
}
.hero-badge strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1; color: var(--navy); }
.hero-badge small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
.hero-badge-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold); }
.hero-badge--a { left: 0; bottom: 6%; animation: float 7s ease-in-out infinite; animation-delay: -1s; }
.hero-badge--b { right: 0; top: 0; flex-direction: column; align-items: flex-start; gap: 4px; animation: float 8s ease-in-out infinite; animation-delay: -3s; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 16px; height: 16px; }

/* ---------- 8. Wave ---------- */
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(46px, 7vw, 110px); z-index: 2; pointer-events: none; }
.wave-gold { fill: var(--gold); opacity: .9; }
.wave-fill { fill: var(--wave-fill, var(--paper)); }

/* ---------- 9. Quote bar ---------- */
.quote-bar-wrap { position: relative; z-index: 6; margin-top: clamp(-120px, -9vw, -70px); }
.quote-bar { display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.quote-bar-head { display: flex; align-items: center; gap: 14px; }
.quote-bar-ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--gold); }
.quote-bar-title { margin: 0; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1.15; }
.quote-bar-sub { margin: 0; font-size: .86rem; color: var(--muted); }
@media (min-width: 1100px) { .quote-bar { grid-template-columns: 200px 1fr; align-items: center; gap: 24px; } .quote-bar-title { font-size: 1.35rem; } .quote-bar-ico { display: none; } }

/* ---------- 10. Stores we publish to ---------- */
.platforms { padding: clamp(40px, 6vw, 64px) 0 clamp(8px, 2vw, 16px); }
.platforms-label { margin: 0 0 20px; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-700); }
.store-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.store { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 16px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.store:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.store-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--gold); }
.store-ico .icon { width: 24px; height: 24px; }
.store-text { min-width: 0; line-height: 1.25; }
.store-text strong { display: block; font-family: var(--font-serif); font-size: 1.28rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.store-text small { display: block; margin-top: 3px; font-size: .76rem; font-weight: 600; color: var(--muted); }
.store:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 700px) {
  /* 3 on top, 2 centred underneath */
  .store-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .store { grid-column: span 2; }
  .store:nth-child(4) { grid-column: 2 / span 2; }
  .store:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .store-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .store, .store:nth-child(4), .store:last-child:nth-child(odd) { grid-column: auto; }
  .store { padding: 22px 14px 20px; gap: 12px; }
  .store-ico { width: 52px; height: 52px; border-radius: 15px; }
  .store-text strong { font-size: 1.4rem; }
}

/* ---------- 11. Intro collage & lists ---------- */
.collage { position: relative; padding: 0 12% 14% 0; }
.collage-main img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.collage-small { position: absolute; right: 0; bottom: 0; width: 48%; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow-lg); }
.collage-small img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.collage-badge { position: absolute; left: -6px; top: 26px; display: grid; place-items: center; text-align: center; width: 132px; height: 132px; padding: 16px; border-radius: 50%; background: var(--navy); color: rgba(255, 255, 255, .82); font-size: .74rem; line-height: 1.3; font-weight: 600; box-shadow: var(--shadow-lg); border: 4px solid var(--paper); }
.collage-badge strong { display: block; font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold); line-height: .9; }
.split-copy > p { font-size: 1.05rem; }
.check-list { list-style: none; display: grid; gap: 10px; margin: 20px 0 26px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); line-height: 1.45; }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--cream-2); color: var(--bronze-700); margin-top: 1px; stroke-width: 2.4; }
.check-list-light li { color: var(--white); }
.check-list-light .icon { background: rgba(210, 168, 96, .16); color: var(--gold); }
@media (min-width: 560px) { .check-list--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- 12. Service cards ---------- */
.services-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--bronze)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 1.45rem; margin: 18px 0 8px; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card p { font-size: .95rem; color: var(--muted); flex: 1; margin-bottom: 16px; }
.service-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--cream-2); color: var(--bronze-700); transition: background .35s, color .35s; }
.service-ico .icon { width: 28px; height: 28px; }
.service-card:hover .service-ico { background: var(--navy); color: var(--gold); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .88rem; color: var(--navy); }
.card-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-card:hover .card-link .icon { transform: translateX(4px); }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.service-card--cta { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .8); }
.service-card--cta h3 { color: var(--white); }
.service-card--cta p { color: rgba(255, 255, 255, .75); }
.service-card--cta .service-ico { background: rgba(210, 168, 96, .16); color: var(--gold); }
.service-card--cta .btn { align-self: flex-start; }
@media (max-width: 559px) {
  .service-card { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; align-items: start; }
  .service-card > .service-ico { grid-row: 1 / span 3; width: 50px; height: 50px; border-radius: 14px; }
  .service-card h3 { margin: 2px 0 6px; font-size: 1.3rem; }
  .service-card p { margin-bottom: 10px; }
  .service-card--cta .btn { justify-self: start; }
}

/* ---------- 13. Process route ---------- */
.route { list-style: none; display: grid; gap: 28px; position: relative; counter-reset: step; }
.route-step { position: relative; padding-left: 92px; min-height: 72px; }
.route-step::before { content: ''; position: absolute; left: 35px; top: 76px; bottom: -28px; border-left: 2px dashed rgba(210, 168, 96, .45); }
.route-step:last-child::before { display: none; }
.route-marker { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--navy-700); border: 2px solid rgba(210, 168, 96, .55); color: var(--gold); box-shadow: 0 0 0 8px rgba(210, 168, 96, .06); transition: transform .4s var(--ease), background .3s; }
.route-marker .icon { width: 30px; height: 30px; }
.route-num { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-size: .72rem; font-weight: 800; }
.route-step h3 { font-size: 1.45rem; margin-bottom: 6px; }
.route-step p { font-size: .95rem; margin: 0; color: rgba(255, 255, 255, .72); }
.route-step:hover .route-marker { transform: translateY(-4px); background: var(--navy-600); }
@media (min-width: 1000px) {
  .route { grid-template-columns: repeat(5, 1fr); gap: 26px; }
  .route-step { padding: 0; text-align: center; }
  .route-step::before { left: calc(50% + 48px); right: calc(-50% + 22px); top: 36px; bottom: auto; border-left: 0; border-top: 2px dashed rgba(210, 168, 96, .45); }
  .route-marker { position: relative; margin: 0 auto 22px; width: 76px; height: 76px; }
}

/* ---------- 14. Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filter { min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-weight: 700; font-size: .88rem; transition: all .25s; }
.filter:hover { border-color: var(--gold); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.book-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
@media (min-width: 640px) { .book-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .book-grid { grid-template-columns: repeat(4, 1fr); gap: 44px 30px; } }
@media (min-width: 1150px) { .book-grid { grid-template-columns: repeat(5, 1fr); } }
.book { margin: 0; }
.book-3d { position: relative; perspective: 1000px; margin-bottom: 16px; }
.book-3d img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 14px 20px 30px -14px rgba(7, 29, 43, .55); transform-origin: left center; transition: transform .6s var(--ease), box-shadow .6s; }
.book-3d::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 8%; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .22) 40%, rgba(0, 0, 0, 0)); pointer-events: none; transition: transform .6s var(--ease); transform-origin: left center; }
.book:hover .book-3d img, .book:hover .book-3d::after { transform: rotateY(-16deg) translateX(4px); }
.book:hover .book-3d img { box-shadow: 24px 26px 36px -16px rgba(7, 29, 43, .6); }
.book figcaption { display: grid; gap: 2px; }
.book-genre { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-700); }
.book-title { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.15; color: var(--ink); }
.book-author { font-size: .85rem; color: var(--muted); }

/* ---------- 15. Stats band ---------- */
.stats-band { position: relative; isolation: isolate; padding: clamp(64px, 8vw, 100px) 0; color: var(--white); overflow: hidden; }
.stats-bg { position: absolute; inset: 0; z-index: -2; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(4, 20, 32, .94), rgba(12, 42, 60, .86)); }
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
.stat { text-align: center; }
.stat-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(210, 168, 96, .45); color: var(--gold); margin-bottom: 12px; }
.stat-num { display: block; font-family: var(--font-serif); font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1; color: var(--gold); margin-bottom: 6px; }
.stat-label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat + .stat { border-left: 1px solid var(--line-dark); } }

/* ---------- 16. Why us ---------- */
.why-photo { margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.why-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.why-grid { display: grid; gap: 18px; }
.why-item { padding: 26px; border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line); transition: background .3s, transform .35s var(--ease); }
.why-item:hover { background: var(--white); transform: translateY(-4px); box-shadow: var(--shadow); }
.why-item h3 { font-size: 1.35rem; margin: 14px 0 6px; }
.why-item p { margin: 0; font-size: .95rem; color: var(--muted); }
.why-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--gold); }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why-copy { position: sticky; top: 120px; } }

/* ---------- 17. Genres ---------- */
.genre-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.genre { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-weight: 700; color: var(--ink); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.genre:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.genre-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); color: var(--bronze-700); }
.genre-ico .icon { width: 20px; height: 20px; }

/* ---------- 19. Reviews ---------- */
.reviews { position: relative; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 6px 2px 10px; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .reviews-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (min-width: 1100px) { .reviews-track { grid-auto-columns: calc((100% - 40px) / 3); } }
.review-card { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 30px 28px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text); }
.review-quote { position: absolute; top: 20px; right: 22px; color: var(--sand); }
.review-quote .icon { width: 42px; height: 42px; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-card figcaption strong { display: block; color: var(--ink); font-size: .98rem; }
.review-card figcaption small { display: block; color: var(--muted); font-size: .8rem; }
.avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--bronze)); color: var(--navy-950); font-weight: 800; font-size: .9rem; }
.bg-navy .review-card { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); }
.bg-navy .review-card blockquote p { color: rgba(255, 255, 255, .86); }
.bg-navy .review-card figcaption { border-color: var(--line-dark); }
.bg-navy .review-card figcaption strong { color: var(--white); }
.bg-navy .review-card figcaption small { color: rgba(255, 255, 255, .6); }
.bg-navy .review-quote { color: rgba(210, 168, 96, .22); }
.carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.carousel-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); transition: all .25s; }
.carousel-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.bg-navy .carousel-btn { background: transparent; border-color: rgba(255, 255, 255, .25); color: var(--white); }
.bg-navy .carousel-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.reviews--grid .reviews-track { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); grid-auto-columns: auto; overflow: visible; }

/* ---------- 20. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 800; color: var(--ink); font-size: 1.02rem; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cream-2); color: var(--bronze-700); transition: transform .3s var(--ease), background .3s; }
.faq-ico .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--navy); color: var(--gold); }
.faq-a { padding: 0 20px 20px; }
.faq-a p { margin: 0; color: var(--muted); }
.help-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 26px; padding: 22px; border-radius: var(--radius-lg); background: var(--navy); color: rgba(255, 255, 255, .8); }
.help-card a { color: var(--white); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.help-card a:hover { color: var(--gold); }
.help-card p { margin: 0; }
.help-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 4px !important; }
.help-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(210, 168, 96, .16); color: var(--gold); }
@media (min-width: 1000px) { .faq-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
@media (max-width: 559px) { .help-card { flex-direction: column; gap: 12px; } }

/* ---------- 22. CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: var(--section) 0 calc(var(--section) + 40px); color: rgba(255, 255, 255, .82); }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4, 20, 32, .95) 0%, rgba(7, 29, 43, .86) 48%, rgba(12, 42, 60, .55) 100%); }
.cta-grid { display: grid; gap: 40px; align-items: center; }
.cta-text { font-size: 1.08rem; max-width: 560px; }
.cta-contacts { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.cta-contacts li { display: flex; align-items: center; gap: 14px; }
.cta-contacts small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.cta-contacts a { color: var(--white); font-weight: 700; text-decoration: none; word-break: break-word; }
.cta-contacts a:hover { color: var(--gold); }
.cta-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(210, 168, 96, .5); color: var(--gold); }
.cta-form-card { padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-lg); color: var(--text); }
.cta-form-title { font-size: 1.9rem; margin-bottom: 18px; }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- 23. Forms ---------- */
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.req { color: var(--bronze); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  font-size: 16px; color: var(--ink); line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #95a2ab; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(210, 168, 96, .22); }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 42px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; color: var(--muted); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); background: #fff8f7; }
.field-error { margin: 0; font-size: .8rem; font-weight: 600; color: var(--danger); }
.form-consent { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.form-consent > span { flex: 1; min-width: 0; }
.form-consent .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--bronze); }
.form-consent a { color: inherit; }
.form-status:empty { display: none; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: .9rem; font-weight: 600; }
.form-status.is-error { background: #fdecea; color: var(--danger); }
.form-status.is-success { background: #e8f5ee; color: var(--success); }
.lead-form.is-sending button[type=submit] { opacity: .75; pointer-events: none; }
.lead-form.is-sending .btn-label::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full, .field-submit { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .lead-form--bar .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 12px; align-items: end; }
  .lead-form--bar .field-submit { grid-column: auto; }
  .lead-form--bar .btn { min-height: 50px; padding-inline: 26px; }
}
.lead-form--bar .form-consent { margin-top: 10px; }
.lead-form--dark .field label { color: var(--white); }
.lead-form--dark .form-consent { color: rgba(255, 255, 255, .6); }

/* ---------- 24. Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 70px 0 0; font-size: .94rem; }
.footer-wave { position: absolute; left: 0; top: 1px; transform: translateY(-100%); width: 100%; height: clamp(40px, 5vw, 80px); color: var(--navy-950); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 50px; }
.footer-brand img { width: 210px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 380px; }
.footer-title { font-family: var(--font-sans); font-size: .8rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer-contact li .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.footer-contact a { word-break: break-word; }
.footer-contact .btn { margin-top: 22px; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--white); transition: all .25s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; padding-block: 22px 26px; font-size: .84rem; }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-tm { flex-basis: 100%; font-size: .76rem; color: rgba(255, 255, 255, .45); }
@media (min-width: 360px) and (max-width: 699px) { .footer-grid { grid-template-columns: 1.15fr 1fr; gap: 36px 20px; } .footer-brand, .footer-contact { grid-column: 1 / -1; } }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.35fr .95fr .8fr 1.2fr; gap: 48px; } }

/* ---------- 25. Floating bits ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; background: var(--navy-950); border-top: 1px solid rgba(210, 168, 96, .35); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .4); }
.mobile-bar a, .mobile-bar button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; border: 0; background: none; color: var(--white); text-decoration: none; font-weight: 800; font-size: .9rem; }
.mobile-bar > * + * { border-left: 1px solid var(--line-dark); }
.mobile-bar .icon { color: var(--gold); }
.mobile-bar button { background: var(--gold); color: var(--navy-950); }
.mobile-bar button .icon { color: var(--navy-950); }
body { padding-bottom: 58px; }
@media (min-width: 1000px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }
.to-top { position: fixed; right: 18px; bottom: 76px; z-index: 65; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: var(--gold); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-950); }
.wa-float { position: fixed; right: 18px; bottom: 134px; z-index: 65; display: none; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: var(--shadow); }
.wa-float .icon { width: 28px; height: 28px; }
@media (min-width: 1000px) { .to-top { bottom: 24px; } .wa-float { display: grid; bottom: 82px; } }

/* ---------- 26. Modal ---------- */
.modal { width: min(940px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
.modal[open] { animation: pop .35s var(--ease) both; }
.modal::backdrop { background: rgba(4, 20, 32, .72); backdrop-filter: blur(4px); }
.modal-grid { display: grid; }
.modal-aside { display: none; position: relative; overflow: hidden; padding: 36px 32px; background: radial-gradient(500px 300px at 90% 0%, rgba(210, 168, 96, .2), transparent 60%), var(--navy); color: rgba(255, 255, 255, .8); }
.modal-aside-title { font-family: var(--font-serif); font-size: 2rem; line-height: 1.1; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.modal-books { position: relative; height: 150px; margin-bottom: 18px; }
.modal-books img { position: absolute; width: 92px; border-radius: 2px 6px 6px 2px; box-shadow: 10px 16px 28px -10px rgba(0, 0, 0, .8); }
.modal-books .mb-1 { left: 0; top: 10px; transform: rotate(-6deg); }
.modal-books .mb-2 { left: 70px; top: 0; transform: rotate(5deg); }
.modal-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--gold); font-weight: 800; text-decoration: none; }
.modal-body { position: relative; padding: 34px clamp(20px, 4vw, 38px) 28px; }
.modal-title { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem); margin: 0 40px 6px 0; }
.modal-sub { color: var(--muted); font-size: .93rem; margin-bottom: 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--cream-2); color: var(--navy); transition: background .2s; }
.modal-close:hover { background: var(--sand); }
@media (min-width: 820px) { .modal-grid { grid-template-columns: .82fr 1.18fr; } .modal-aside { display: block; } }

/* ---------- 27. Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 76px) 0 clamp(110px, 12vw, 160px); background: linear-gradient(160deg, var(--navy-950), var(--navy) 60%, var(--navy-700)); color: rgba(255, 255, 255, .8); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero:has(.page-hero-bg)::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(4, 20, 32, .95) 0%, rgba(7, 29, 43, .86) 55%, rgba(12, 42, 60, .7) 100%); }
.page-hero .hero-beam { opacity: .7; }
.page-hero-inner { display: grid; gap: 40px; align-items: center; }
.page-hero-text { max-width: 760px; }
.page-hero-title { color: var(--white); font-size: clamp(2.3rem, 1.3rem + 3.6vw, 3.9rem); line-height: 1.06; margin-bottom: 18px; }
.page-hero-title em { color: var(--gold); display: block; }
.page-hero-lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.17rem); color: rgba(255, 255, 255, .82); margin-bottom: 24px; max-width: 640px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-size: .84rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .65); }
.breadcrumbs li + li::before { content: '/'; color: var(--gold); }
.breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--gold); font-weight: 700; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--white); }
.hero-points .icon { color: var(--gold); width: 20px; height: 20px; }
.page-hero-media { position: relative; max-width: 480px; width: 100%; margin-inline: auto; }
.arch-frame { border-radius: 240px 240px 26px 26px; overflow: hidden; border: 6px solid rgba(210, 168, 96, .55); box-shadow: var(--shadow-lg); background: var(--navy-700); }
.arch-frame img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.float-badge { position: absolute; left: -12px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); line-height: 1.2; animation: float 7s ease-in-out infinite; }
.float-badge .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--navy); color: var(--gold); }
.float-badge small { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; }
.float-badge strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); }
@media (min-width: 1000px) {
  .page-hero--split .page-hero-inner { grid-template-columns: 1.15fr .85fr; }
  .page-hero--split .page-hero-media { margin-right: 0; }
}

/* ---------- 28. Service page ---------- */
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.feature { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.4rem; margin: 16px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature .why-ico { background: var(--cream-2); color: var(--bronze-700); }
.feature:hover .why-ico { background: var(--navy); color: var(--gold); }
.overview-media { position: relative; }
.overview-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quote-hint { position: absolute; right: -8px; bottom: -22px; padding: 18px 22px; border-radius: 18px; background: var(--navy); color: rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg); line-height: 1.2; }
.quote-hint small { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.quote-hint strong { display: block; font-family: var(--font-serif); font-size: 2.3rem; color: var(--white); line-height: 1.05; }
.steps { list-style: none; display: grid; gap: 20px; counter-reset: s; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.steps li { position: relative; padding: 30px 26px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-serif); font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--gold); margin-bottom: 12px; }
.steps h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .72); }

/* ---------- 29. Prose ---------- */
.prose { max-width: 780px; margin-inline: auto; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.45rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { color: var(--text); }
.prose ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.prose strong { color: var(--ink); }
.prose a { color: var(--navy-600); font-weight: 600; }
.prose > :first-child { margin-top: 0; }
.legal-updated { font-size: .9rem; color: var(--muted); }

/* ---------- 30. Contact & get started ---------- */
.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin-bottom: clamp(40px, 6vw, 70px); }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.contact-card .why-ico { flex: none; }
.contact-card h2 { font-size: 1.3rem; margin: 0 0 4px; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); text-decoration: none; word-break: break-word; font-size: .95rem; }
.contact-card a:hover { color: var(--bronze-700); }
.form-panel { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-panel h2 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.3rem); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--cream-2); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
.side-note { display: grid; gap: 22px; }
.side-card { padding: 26px; border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line); }
.side-card h3, .side-card .side-title { font-size: 1.4rem; }
.side-card .check-list { margin: 10px 0 0; }

.wizard-progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; counter-reset: w; }
.wizard-progress li { counter-increment: w; display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.wizard-progress li::before { content: counter(w); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cream-2); color: var(--muted); font-weight: 800; transition: all .3s; }
.wizard-progress li.is-current, .wizard-progress li.is-done { color: var(--ink); }
.wizard-progress li.is-current::before { background: var(--navy); color: var(--gold); }
.wizard-progress li.is-done::before { background: var(--gold); color: var(--navy-950); }
.wizard-progress span { display: none; }
@media (min-width: 640px) { .wizard-progress span { display: inline; } }
.step-panel { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.step-panel legend { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 700; color: var(--ink); margin-bottom: 6px; padding: 0; }
.step-hint { color: var(--muted); margin-bottom: 18px; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin-bottom: 16px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 700; color: var(--ink); font-size: .93rem; line-height: 1.3; transition: all .2s; }
.choice span .icon { width: 20px; height: 20px; color: var(--bronze); }
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.choice input:checked + span .icon { color: var(--gold); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.js-wizard .step-panel:not(.is-current) { display: none; }
.wizard-nav [data-step-prev][disabled] { visibility: hidden; }
.no-js-only { display: block; }
.js-wizard .no-js-only { display: none; }

/* ---------- 31. Simple pages ---------- */
.notice { max-width: 680px; margin: 0 auto; text-align: center; }
.notice-ico { display: inline-grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: var(--navy); color: var(--gold); margin-bottom: 22px; box-shadow: 0 0 0 12px var(--cream-2); }
.notice-ico .icon { width: 42px; height: 42px; }
.notice .btn-row { justify-content: center; }
.next-steps { list-style: none; display: grid; gap: 14px; text-align: left; margin: 30px 0; counter-reset: n; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); counter-increment: n; }
.next-steps li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-weight: 800; font-size: .85rem; }
.value-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.team-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.team-card { padding: 30px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.team-card h3 { color: var(--white); margin: 16px 0 6px; font-size: 1.45rem; }
.team-card p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .72); }
.team-card .why-ico { background: rgba(210, 168, 96, .16); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group-title { font-size: 1.7rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.faq-group-title .icon { color: var(--gold); }
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: 1fr 340px; align-items: start; } .faq-layout .side-note { position: sticky; top: 120px; } }

/* ---------- 32. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes beam { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 33. Print ---------- */
@media print {
  .topbar, .site-header, .mobile-bar, .to-top, .wa-float, .modal, .cta-band, .site-footer .footer-wave { display: none !important; }
  body { padding: 0; color: #000; }
}
