/* ==========================================================================
   International Corporate Concepts - design system
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Buttons & links
   6.  Header / navigation
   7.  Mobile action bar (phones only)
   8.  Hero & sections
   9.  Cards, lists, badges
   10. Forms
   11. Reviews
   12. Dashboard
   13. Footer
   14. Utilities, motion, print
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Tokens
   ---------------------------------------------------------------------- */
:root {
  --navy-900: #061223;
  --navy-800: #0b1f3a;
  --navy-700: #14304f;
  --navy-600: #1d4166;
  --navy-050: #eef2f7;

  --gold-600: #a8842f;
  --gold-500: #c8a15a;
  --gold-400: #dcbb7c;
  --gold-050: #fbf5e9;

  --ink: #16202e;
  --ink-soft: #4a5768;
  --ink-faint: #74808f;
  --line: #e2e7ee;
  --line-strong: #cbd3de;
  --paper: #ffffff;
  --paper-soft: #f6f8fb;
  --paper-tint: #eff3f8;

  --success-700: #1c6b45;
  --success-050: #e8f5ee;
  --warn-700: #8a5a10;
  --warn-050: #fdf3e2;
  --danger-700: #a32626;
  --danger-050: #fdecec;
  --info-700: #1b5a8a;
  --info-050: #e8f2fa;

  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.875rem);
  --step-0:  clamp(0.97rem, 0.94rem + 0.15vw, 1.05rem);
  --step-1:  clamp(1.13rem, 1.08rem + 0.25vw, 1.28rem);
  --step-2:  clamp(1.35rem, 1.24rem + 0.5vw, 1.65rem);
  --step-3:  clamp(1.65rem, 1.44rem + 1vw, 2.25rem);
  --step-4:  clamp(2rem, 1.6rem + 1.9vw, 3.1rem);
  --step-5:  clamp(2.15rem, 1.55rem + 2.9vw, 4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.07);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 18, 35, 0.18);

  --container: 1200px;
  --container-narrow: 820px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------------------------------------------------
   2. Reset & base
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* Sprite icons default to the current text size unless a component overrides it. */
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: inline-block;
  vertical-align: -0.2em;
  color: inherit;
  fill: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--gold-400); color: var(--navy-900); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------------------
   3. Layout primitives
   ---------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, var(--container-narrow)); }

.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--soft { background: var(--paper-soft); }
.section--tint { background: var(--paper-tint); }
.section--dark {
  background:
    radial-gradient(1100px 460px at 12% -10%, rgba(200, 161, 90, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #eaf0f7;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #c3d0de; }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--reverse > :first-child { order: 2; }
}

.stack > * + * { margin-top: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* -------------------------------------------------------------------------
   4. Typography
   ---------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section--dark .lede { color: #c9d6e4; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
}
.section--dark .eyebrow { color: var(--gold-400); }
.section--dark .eyebrow::before { background: var(--gold-400); }

.section-head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.text-muted { color: var(--ink-soft); }
.text-small { font-size: var(--step--1); }

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

/* -------------------------------------------------------------------------
   5. Buttons
   ---------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  --btn-border: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.55rem;
  min-height: 48px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn[disabled], .btn[aria-busy="true"] {
  opacity: 0.62;
  pointer-events: none;
  transform: none;
}

.btn--gold  { --btn-bg: var(--gold-500); --btn-border: var(--gold-500); --btn-fg: var(--navy-900); }
.btn--gold:hover { --btn-bg: var(--gold-400); --btn-border: var(--gold-400); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-border: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--navy-050); --btn-border: var(--navy-600); }
.btn--onDark { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255,255,255,0.45); }
.btn--onDark:hover { --btn-bg: rgba(255,255,255,0.12); --btn-border: #fff; }
.btn--light  { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-border: #fff; }
.btn--danger { --btn-bg: transparent; --btn-fg: var(--danger-700); --btn-border: #efc9c9; }
.btn--danger:hover { --btn-bg: var(--danger-050); }
.btn--sm { padding: 0.5rem 1rem; min-height: 38px; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-700);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.18s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   6. Header / navigation
   ---------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: #b9c7d8;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 40px;
  padding-block: 0.35rem;
}
.topbar a { color: #dbe5f0; text-decoration: none; overflow-wrap: anywhere; }
.topbar a:hover { color: var(--gold-400); }
.topbar__meta { display: flex; gap: 1.4rem; align-items: center; }
.topbar__meta > span, .topbar__meta > a { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold-500); }
@media (max-width: 800px) { .topbar { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy-900);
}
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@media (max-width: 480px) {
  .brand__name { font-size: 0.92rem; }
  .brand__mark { width: 38px; height: 38px; }
}
@media (max-width: 420px) { .brand__sub { display: none; } }

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav__link {
  position: relative;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { color: var(--navy-800); background: var(--navy-050); }
.nav__link[aria-current="page"] { color: var(--navy-800); font-weight: 650; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.6rem; }

/* The dashboard entry point is created by JS only for the signed-in owner. */
.nav__dashboard {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--gold-050);
  border: 1px solid var(--gold-400);
  color: var(--gold-600);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.nav__dashboard:hover { background: var(--gold-400); color: var(--navy-900); }

/* Signed-out counterpart: deliberately quiet - it is staff-only, not a CTA. */
.nav__signin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav__signin:hover { border-color: var(--navy-600); color: var(--navy-800); background: var(--navy-050); }
.nav__signin .icon { width: 15px; height: 15px; }

.nav__signup {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--navy-800);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.nav__signup:hover { background: var(--navy-700); color: #fff; }
.nav__dashboard .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success-700);
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.15s linear;
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: rotate(-45deg) translateY(-1px); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h)) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) 1.25rem calc(var(--space-6) + env(safe-area-inset-bottom));
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease), visibility 0.22s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link {
    padding: 0.95rem 0.5rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--gold-600); }
  .nav__actions {
    margin: var(--space-4) 0 0;
    flex-direction: column;
    align-items: stretch;
  }
  .nav__actions .btn, .nav__dashboard { width: 100%; justify-content: center; }
}

/* -------------------------------------------------------------------------
   7. Mobile action bar - phones only (see .js device detection)
   ---------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px rgba(6, 18, 35, 0.12);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.6rem 0.25rem;
  background: #fff;
  color: var(--navy-800);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: 60px;
}
.mobile-bar a.is-primary { background: var(--navy-800); color: #fff; }
.mobile-bar a.is-primary .icon { color: var(--gold-400); }
.mobile-bar .icon { width: 20px; height: 20px; }
body.is-phone .mobile-bar { display: flex; }
body.is-phone { padding-bottom: 66px; }

/* -------------------------------------------------------------------------
   8. Hero
   ---------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #eef3f9;
  background:
    radial-gradient(900px 420px at 82% 8%, rgba(200, 161, 90, 0.22), transparent 62%),
    radial-gradient(700px 500px at 8% 92%, rgba(29, 65, 102, 0.55), transparent 65%),
    linear-gradient(155deg, #0b2140 0%, #071429 60%, #050f1e 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 500px at 70% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 500px at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}
.hero h1 { color: #fff; margin-bottom: var(--space-5); }
.hero h1 em {
  font-style: normal;
  color: var(--gold-400);
  position: relative;
  white-space: nowrap;
}
.hero__lede { color: #bfcede; font-size: var(--step-1); max-width: 56ch; }
.hero__actions { margin-top: var(--space-6); gap: var(--space-4); }
.hero__note .icon { width: 16px; height: 16px; color: var(--gold-400); }
.hero__note {
  margin-top: var(--space-5);
  font-size: 0.85rem;
  color: #93a6bb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-card h2 {
  color: #fff;
  font-size: var(--step-1);
  margin-bottom: var(--space-4);
}
.hero-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.hero-card__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #d5e0ec;
  font-size: 0.95rem;
  line-height: 1.5;
}
.hero-card__list .icon { color: var(--gold-400); width: 20px; height: 20px; flex: none; margin-top: 2px; }
.hero-card__cta { margin-top: var(--space-5); }

.trust-strip {
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(4, 12, 24, 0.55);
  position: relative;
  z-index: 1;
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-4);
  padding-block: var(--space-5);
}
.trust-item { display: flex; gap: 0.75rem; align-items: center; color: #cfdae7; }
.trust-item .icon { width: 22px; height: 22px; color: var(--gold-400); flex: none; }
.trust-item strong { display: block; color: #fff; font-size: 0.98rem; }
.trust-item span { font-size: 0.8rem; color: #91a4b9; }

/* -------------------------------------------------------------------------
   9. Cards, lists, badges
   ---------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--navy-050);
  color: var(--navy-700);
  margin-bottom: var(--space-4);
}
.card__icon .icon { width: 24px; height: 24px; }
.card h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

.service-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.service-group + .service-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.service-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--navy-800);
  margin-bottom: var(--space-5);
}
.service-group__head h2 { margin: 0; font-size: var(--step-3); }
.service-group__count {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              transform 0.2s var(--ease);
}
.service-item:hover {
  border-color: var(--navy-600);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.service-item__num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-600);
  padding-top: 0.28rem;
}
.service-item h3 { font-size: 1.03rem; margin: 0; font-family: var(--font-sans); font-weight: 650; }
.service-item p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

.chip-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: all 0.16s var(--ease);
}
.chip:hover, .chip.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge--pending  { background: var(--warn-050); color: var(--warn-700); }
.badge--approved { background: var(--success-050); color: var(--success-700); }
.badge--rejected { background: var(--danger-050); color: var(--danger-700); }
.badge--new      { background: var(--info-050); color: var(--info-700); }
.badge--contacted{ background: var(--warn-050); color: var(--warn-700); }
.badge--won      { background: var(--success-050); color: var(--success-700); }
.badge--closed   { background: var(--paper-tint); color: var(--ink-faint); }
.badge--featured { background: var(--gold-050); color: var(--gold-600); }

.numbered-list { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.numbered-list li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); }
.numbered-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-600);
  border: 1px solid var(--gold-400);
  background: var(--gold-050);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.numbered-list h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.numbered-list p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; color: var(--success-700); flex: none; margin-top: 3px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-5);
}
.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1;
  color: var(--navy-800);
}
.section--dark .stat__value { color: var(--gold-400); }
.stat__label { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.4rem; }
.section--dark .stat__label { color: #a9bcd0; }

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.15rem 0;
  font-weight: 650;
  font-size: 1.03rem;
  cursor: pointer;
  list-style: none;
  color: var(--navy-900);
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold-600);
  transition: transform 0.2s var(--ease);
  flex: none;
}
.accordion__item[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding-bottom: 1.25rem; color: var(--ink-soft); max-width: 72ch; }

.callout {
  border-left: 3px solid var(--gold-500);
  background: var(--gold-050);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}
.callout strong { color: var(--navy-900); }

/* -------------------------------------------------------------------------
   10. Forms
   ---------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-5); }
.form-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}
.field .optional { color: var(--ink-faint); font-weight: 500; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;                 /* 16px stops iOS Safari zooming on focus */
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%234a5768' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(29, 65, 102, 0.14);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger-700);
  box-shadow: 0 0 0 3px rgba(163, 38, 38, 0.12);
}
.field__error {
  font-size: 0.8rem;
  color: var(--danger-700);
  font-weight: 600;
  min-height: 1em;
}
.field__hint { font-size: 0.8rem; color: var(--ink-faint); }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 550;
  border: 1px solid transparent;
}
.form-status.is-visible { display: block; }
.form-status--ok    { background: var(--success-050); color: var(--success-700); border-color: #bfe0cd; }
.form-status--error { background: var(--danger-050); color: var(--danger-700); border-color: #f0c9c9; }
.form-status--info  { background: var(--info-050); color: var(--info-700); border-color: #c6dcee; }

/* Star rating input */
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.25rem; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label {
  cursor: pointer;
  padding: 0.1rem;
  color: var(--line-strong);
  transition: color 0.12s var(--ease), transform 0.12s var(--ease);
  line-height: 0;
}
.rating-input label svg { width: 34px; height: 34px; }
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label { color: var(--gold-500); }
.rating-input input:focus-visible + label { outline: 3px solid var(--navy-600); outline-offset: 2px; border-radius: 4px; }
.rating-input label:hover { transform: scale(1.08); }

/* -------------------------------------------------------------------------
   11. Reviews
   ---------------------------------------------------------------------- */
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars svg { width: 17px; height: 17px; }
.stars--lg svg { width: 22px; height: 22px; }
.stars .is-empty { color: var(--line-strong); }

.rating-summary {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .rating-summary { grid-template-columns: auto 1fr; } }

.rating-summary__score { text-align: center; padding-right: clamp(0, 3vw, 2.5rem); }
.rating-summary__value {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 4.4rem);
  line-height: 1;
  font-weight: 600;
  color: var(--navy-900);
}
.rating-summary__meta { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.5rem; }

.rating-bars { display: grid; gap: 0.5rem; min-width: 0; }
.rating-bar { display: grid; grid-template-columns: 3.6rem 1fr 2.6rem; gap: 0.75rem; align-items: center; font-size: 0.85rem; }
.rating-bar__track {
  display: block;                 /* spans need this before width/height apply */
  height: 9px;
  background: var(--paper-tint);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.rating-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  border-radius: var(--radius-pill);
  width: 0;
  transition: width 0.7s var(--ease);
}
.rating-bar__count { text-align: right; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

.review-list { display: grid; gap: var(--space-5); }
@media (min-width: 860px) { .review-list--two { grid-template-columns: repeat(2, 1fr); } }

.review {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-xs);
}
.review--featured { border-color: var(--gold-400); box-shadow: 0 6px 24px rgba(200, 161, 90, 0.16); }
.review__top { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; }
.review__who { display: flex; gap: 0.85rem; align-items: center; min-width: 0; }
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.95rem;
  flex: none;
  letter-spacing: 0.02em;
}
.review__name { font-weight: 650; color: var(--navy-900); line-height: 1.2; }
.review__company { font-size: 0.82rem; color: var(--ink-faint); }
.review__date { font-size: 0.8rem; color: var(--ink-faint); white-space: nowrap; }
.review__title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--navy-900); }
.review__body { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.65; white-space: pre-line; }
.review__service {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: var(--navy-050);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}
.review__reply {
  margin-top: 0.35rem;
  padding: 0.9rem 1.1rem;
  background: var(--paper-soft);
  border-left: 3px solid var(--navy-600);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.review__reply strong { display: block; font-size: 0.8rem; color: var(--navy-800); margin-bottom: 0.25rem; }
.review__reply p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.empty-state {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
}
.empty-state .icon { width: 40px; height: 40px; color: var(--line-strong); margin: 0 auto var(--space-4); }
.empty-state h3 { font-size: var(--step-1); }
.empty-state p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }

.skeleton {
  background: linear-gradient(90deg, var(--paper-tint) 25%, #e8edf4 37%, var(--paper-tint) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
  border-radius: var(--radius);
}
.skeleton--review { height: 168px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}
.toolbar__group { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.toolbar select {
  padding: 0.5rem 2.2rem 0.5rem 0.85rem;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background-color: #fff;
  font-size: 0.87rem;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%234a5768' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

/* -------------------------------------------------------------------------
   12. Dashboard
   ---------------------------------------------------------------------- */
.auth-shell {
  min-height: calc(100dvh - var(--header-h) - 60px);
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(700px 320px at 50% -5%, rgba(29, 65, 102, 0.10), transparent 70%),
    var(--paper-soft);
}
.auth-card {
  width: min(100% - 2.5rem, 460px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.auth-card__lock {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy-050);
  color: var(--navy-700);
  margin-bottom: var(--space-4);
}
.auth-card h1 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.auth-card__note {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.dash { display: none; }
.dash.is-active { display: block; }

.dash-head {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
}
.dash-head__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}
.dash-head h1 { color: #fff; font-size: var(--step-3); margin: 0 0 0.25rem; }
.dash-head p { color: #a9bdd3; margin: 0; font-size: 0.9rem; }

.dash-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-6);
  overflow-x: auto;
  scrollbar-width: none;
}
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tab {
  position: relative;
  padding: 0.9rem 1.15rem;
  border: 0;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.dash-tab:hover { color: var(--navy-800); }
.dash-tab[aria-selected="true"] { color: var(--navy-900); }
.dash-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0.5rem; right: 0.5rem; bottom: -1px;
  height: 3px;
  background: var(--gold-500);
  border-radius: 3px 3px 0 0;
}
.dash-tab__count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--danger-050);
  color: var(--danger-700);
}
.dash-tab__count:empty, .dash-tab__count[data-count="0"] { display: none; }

.dash-panel { display: none; }
.dash-panel.is-active { display: block; animation: fade-up 0.3s var(--ease); }

.kpi-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: var(--space-6);
}
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-xs);
}
.kpi__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.kpi__value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  margin-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.kpi__foot { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.25rem; }
.kpi--alert { border-color: var(--gold-400); background: var(--gold-050); }
.kpi--alert .kpi__value { color: var(--gold-600); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.panel + .panel { margin-top: var(--space-5); }
.panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}
.panel__head h2, .panel__head h3 { margin: 0; font-size: 1.05rem; }
.panel__body { padding: 1.35rem; }
.panel__body--flush { padding: 0; }

.chart { width: 100%; height: 220px; display: block; }
.chart-legend { display: flex; gap: 1.25rem; font-size: 0.8rem; color: var(--ink-soft); padding: 0 1.35rem 1.1rem; }
.chart-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
table.data th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  white-space: nowrap;
}
table.data td { padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--paper-soft); }
.cell-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.cell-strong { font-weight: 650; color: var(--navy-900); }
.cell-muted { color: var(--ink-faint); font-size: 0.82rem; }
.cell-clip { max-width: 46ch; }

/* Tables become stacked cards on small screens. */
@media (max-width: 780px) {
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; min-width: 0; }
  table.data thead { display: none; }
  table.data tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: var(--space-4);
    padding: 0.35rem 0;
    background: #fff;
  }
  table.data td { border-bottom: 1px dashed var(--line); padding: 0.7rem 1rem; }
  table.data td:last-child { border-bottom: 0; }
  table.data td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.2rem;
  }
  .cell-clip { max-width: none; }
}

.inline-form { display: grid; gap: 0.6rem; }
.inline-form textarea { min-height: 84px; font-size: 0.88rem; }
.inline-form { max-width: 42ch; }
@media (max-width: 780px) { .inline-form { max-width: none; } }

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 1rem 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------
   Toast + modal
   ---------------------------------------------------------------------- */
.toast-stack {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  max-width: min(94vw, 380px);
}
body.is-phone .toast-stack { bottom: calc(66px + 1rem); left: 1rem; right: 1rem; max-width: none; }

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  animation: toast-in 0.25s var(--ease);
}
.toast .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold-400); }
.toast--ok .icon { color: #6ddba0; }
.toast--error { background: #7d1f1f; }
.toast.is-leaving { animation: toast-out 0.2s var(--ease) forwards; }
@keyframes toast-in  { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
@keyframes toast-out { to   { opacity: 0; transform: translateY(8px) scale(0.98); } }

dialog.modal {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(100% - 2rem, 520px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
dialog.modal::backdrop { background: rgba(6, 18, 35, 0.55); backdrop-filter: blur(3px); }
.modal__head { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.modal__head h2 { margin: 0; font-size: var(--step-1); }
.modal__body { padding: 1.5rem; }
.modal__foot {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  background: var(--paper-soft);
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------
   13. Footer
   ---------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #a9bccf;
  padding-block: clamp(2.75rem, 6vw, 4.5rem) var(--space-5);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: #7f95ad; }
.footer-brand p { margin-top: var(--space-4); color: #93a9c0; max-width: 34ch; font-size: 0.88rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-list a { color: #a9bccf; text-decoration: none; }
.footer-list a:hover { color: var(--gold-400); }
.footer-contact { display: grid; gap: 0.85rem; }
.footer-contact div { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 3px; }
.footer-contact a {
  color: #dbe6f1;
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-contact div > span { overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--gold-400); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  font-size: 0.8rem;
  color: #7f95ad;
}
.footer-bottom a { color: #7f95ad; }
.footer-legal { max-width: 78ch; font-size: 0.76rem; line-height: 1.6; color: #6f869f; margin-top: var(--space-4); }

/* -------------------------------------------------------------------------
   14. Utilities, motion, print
   ---------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
.full { width: 100%; }
.hide { display: none !important; }

/* Shown only on phones / only on non-phones - toggled by device detection. */
.only-phone { display: none; }
body.is-phone .only-phone { display: initial; }
body.is-phone .only-desktop { display: none !important; }

/* Scoped to .js (set by a tiny inline script in <head>): with JavaScript off,
   nothing is ever left invisible. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .site-footer, .toast-stack, .hero__actions,
  .dash-tabs, .toolbar { display: none !important; }
  body { padding: 0; color: #000; }
  .hero, .section--dark { background: #fff !important; color: #000 !important; }
  .hero h1, .section--dark h2 { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; }
  .card, .review, .panel { break-inside: avoid; border: 1px solid #999; }
}
