/* ==========================================================================
   SomiAds — Digital Marketing & Business Growth Agency
   Palette (60/30/10): White #FFFFFF · Deep Navy #172554 · Amber Gold #F5AC33
   ========================================================================== */

/* 1. TOKENS
   ========================================================================== */
:root {
  --white: #ffffff;
  --navy: #172554;
  --navy-deep: #0f1a3c;
  --navy-soft: #22407f;
  --navy-100: #e8edf8;
  --navy-50: #f3f6fc;
  --amber: #f5ac33;
  --amber-600: #d99420;
  --amber-100: #fdf1dc;
  --text: #333333;
  --muted: #5f6b7d;
  --line: #e4e8f0;
  --surface: #f8f9fc;

  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.25rem);
  --section: clamp(3.5rem, 7.5vw, 6.5rem);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(23, 37, 84, 0.05), 0 10px 26px -20px rgba(23, 37, 84, 0.35);
  --shadow-md: 0 26px 50px -32px rgba(23, 37, 84, 0.45);
  --shadow-amber: 0 16px 30px -16px rgba(245, 172, 51, 0.85);
  --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;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

a { color: var(--navy); text-decoration: none; }

button { font: inherit; color: inherit; }

::selection { background: var(--amber); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 3. LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: #c9d5ec; }
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: #fff; }
.section--top-line { border-top: 1px solid var(--line); }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 4. TYPOGRAPHY HELPERS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--amber); }

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

.section-title { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
.section-lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  color: var(--muted);
  max-width: 40rem;
}
.section-head--center .section-lead { margin-inline: auto; }
.section--navy .section-lead { color: #b8c6e2; }

.amber { color: var(--amber); }
.text-muted { color: var(--muted); }

/* 5. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s,
    border-color 0.25s, box-shadow 0.25s;
}
.btn svg { width: 17px; height: 17px; }

.btn--amber { background: var(--amber); color: var(--navy); }
.btn--amber:hover {
  background: #ffbd53;
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(23, 37, 84, 0.9);
}
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.42); }
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--outline { background: #fff; color: var(--navy); border-color: #d5dceb; }
.btn--outline:hover { border-color: var(--navy); background: var(--navy-50); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.95rem; font-size: 1rem; }
.btn--sm { padding: 0.68rem 1.15rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: gap 0.25s var(--ease), color 0.25s;
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: 0.65rem; color: var(--amber-600); }

/* 6. HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(23, 37, 84, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--amber);
  flex: 0 0 auto;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}
.brand-dot { color: var(--amber); }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav-list { display: flex; align-items: center; gap: 1.7rem; }
.nav-list a {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: #445066;
  transition: color 0.2s;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav-list a:hover { color: var(--navy); }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--navy); font-weight: 600; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 7. HERO (HOME)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #dbe4f5;
  padding-block: clamp(3rem, 6.5vw, 6rem) clamp(3.25rem, 7vw, 6.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 62% at 82% 12%, rgba(245, 172, 51, 0.17), transparent 68%),
    radial-gradient(55% 55% at 4% 96%, rgba(56, 96, 180, 0.4), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  padding: 0.4rem 0.85rem 0.4rem 0.5rem;
  border: 1px solid rgba(245, 172, 51, 0.4);
  border-radius: 999px;
  background: rgba(245, 172, 51, 0.1);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero__pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 172, 51, 0.2);
}
.hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: #fff;
  margin-bottom: 1.35rem;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__lead {
  max-width: 33rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  color: #c3cfe8;
  margin-bottom: 2.1rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #9fb0d2;
}
.hero__chips li { display: flex; align-items: center; gap: 0.5rem; }
.hero__chips li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; }

/* 8. PAGE HERO (INNER PAGES)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #c5d1e9;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2.75rem, 5.5vw, 5rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 88% 8%, rgba(245, 172, 51, 0.15), transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 52rem; }
.page-hero h1 {
  font-size: clamp(2rem, 3.9vw, 3.1rem);
  color: #fff;
  letter-spacing: -0.035em;
}
.page-hero p {
  margin-top: 1.1rem;
  max-width: 44rem;
  font-size: clamp(1rem, 1.4vw, 1.06rem);
  color: #bcc9e4;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  font-size: 0.8rem;
  color: #93a6cb;
}
.breadcrumb a { color: #c8d4ec; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.45rem; color: #6d80a8; }
.breadcrumb li { display: flex; align-items: center; }

/* 9. GRIDS & CARDS
   ========================================================================== */
.grid { display: grid; gap: 1.35rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-lg { gap: clamp(1.35rem, 2.5vw, 2rem); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: #ccd6ea;
  box-shadow: var(--shadow-md);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: var(--amber-100);
  color: var(--navy);
  transition: background-color 0.3s, color 0.3s;
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon { background: var(--amber); }
.card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.94rem; color: var(--muted); }
.card .link-arrow { margin-top: 1.1rem; }

.card__index {
  position: absolute;
  top: 1.5rem;
  right: 1.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: #c3cddf;
  letter-spacing: 0.05em;
}

/* 10. WHY / FEATURE LIST
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.why-item:hover { border-color: #ccd6ea; transform: translateY(-4px); }
.why-item__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--amber-600);
  line-height: 1.5;
  min-width: 1.6rem;
}
.why-item h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.why-item p { font-size: 0.9rem; color: var(--muted); }

.tick-list { display: grid; gap: 0.7rem; }
.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: #3d4859;
}
.tick-list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.18rem;
  color: var(--amber-600);
}
.section--navy .tick-list li { color: #c3cfe8; }
.section--navy .tick-list svg { color: var(--amber); }

/* 11. PRICING
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card--featured {
  border-color: var(--navy);
  box-shadow: 0 30px 60px -42px rgba(23, 37, 84, 0.75);
}
.price-card--featured:hover { box-shadow: 0 36px 66px -40px rgba(23, 37, 84, 0.8); }

.badge {
  position: absolute;
  top: -13px;
  left: 1.8rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.price-card__name { font-size: 1.05rem; letter-spacing: 0.01em; margin-bottom: 0.35rem; }
.price-card__sub { font-size: 0.9rem; color: var(--muted); min-height: 2.9em; }
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.15rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1;
}
.price-card__price small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-card__note { font-size: 0.78rem; color: #8491a6; letter-spacing: 0.02em; }
.price-card__body { margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.price-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a97ab;
  margin-bottom: 0.7rem;
}
.price-card__list { display: grid; gap: 0.55rem; margin-bottom: 1.6rem; }
.price-card__list li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #3d4859;
}
.price-card__list svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 0.22rem; color: var(--amber-600); }
.price-card .btn { margin-top: auto; }
.price-card__footnote { margin-top: 0.9rem; font-size: 0.76rem; color: #8491a6; text-align: center; }

/* 12. COMPARISON TABLE
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare caption {
  caption-side: top;
  padding: 1.2rem 1.4rem;
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
}
.compare th,
.compare td {
  padding: 0.95rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.compare thead th {
  background: var(--navy-50);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}
.compare thead th:nth-child(3) { background: var(--amber-100); }
.compare tbody th { font-weight: 500; color: #3d4859; width: 46%; }
.compare td { color: var(--muted); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td,
.compare tbody tr:hover th { background: #fbfcfe; }
.compare .qty {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
}
.compare td.is-yes { color: var(--navy); font-weight: 600; }
.compare td.is-no { color: #9aa5b8; }

/* 13. CONDITION / NOTE PANEL
   ========================================================================== */
.note-panel {
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  background: #fff;
}
.note-panel h3 { font-size: 1rem; margin-bottom: 0.85rem; }
.note-panel ul { display: grid; gap: 0.55rem; }
.note-panel li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.note-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

/* 14. SERVICES PAGE
   ========================================================================== */
.services-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.services-aside { position: sticky; top: 100px; }
.services-aside h2 {
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a97ab;
  margin-bottom: 1rem;
}
.services-aside ul { display: grid; gap: 0.15rem; }
.services-aside a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #4a566b;
  transition: background-color 0.25s, color 0.25s;
}
.services-aside a span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--amber-600);
  font-weight: 700;
}
.services-aside a:hover { background: var(--navy-50); color: var(--navy); }
.services-aside__cta { margin-top: 1.5rem; }

.svc-group { scroll-margin-top: 100px; }
.svc-group + .svc-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.svc-group__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.svc-group__num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.svc-group__head h2 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); }
.svc-group__head p { margin-top: 0.4rem; font-size: 0.94rem; color: var(--muted); max-width: 46rem; }

.svc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
}
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  font-size: 0.93rem;
  color: #3d4859;
  border-bottom: 1px dashed #e9edf4;
}
.svc-list svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 0.32rem; color: var(--amber-600); }
.svc-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 0.22rem;
  border-radius: 50%;
  background-color: var(--amber-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d99420' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.svc-banner {
  margin-top: 1.6rem;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  font-size: 0.87rem;
  color: #45516a;
}
.svc-banner strong { color: var(--navy); }

/* 15. PORTFOLIO
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.filter-btn {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4a566b;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.filter-btn:hover { border-color: #c7d1e4; color: var(--navy); }
.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.work-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #ccd6ea; }
.work-card.is-hidden { display: none; }
.work-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  overflow: hidden;
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; }
.work-card__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-card__body { padding: 1.15rem 1.3rem 1.35rem; }
.work-card__body h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.work-card__body p { font-size: 0.86rem; color: var(--muted); }

/* 16. CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #c6d2ea;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 172, 51, 0.22), transparent 68%);
  pointer-events: none;
}
.cta-band__text { position: relative; max-width: 34rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { margin-top: 0.7rem; font-size: 0.98rem; }
.cta-band__actions { position: relative; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* 17. CONTACT
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--navy); }
.field label .req { color: var(--amber-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid #d8dfec;
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b7d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa5b8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(23, 37, 84, 0.09);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c2410c; box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.09); }
.field-error {
  display: none;
  font-size: 0.78rem;
  color: #b3400c;
}
.field.has-error .field-error { display: block; }
.form__note { font-size: 0.8rem; color: #8491a6; }

.form-success {
  display: none;
  gap: 0.75rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #cfe3d6;
  border-radius: var(--radius-sm);
  background: #f2faf4;
}
.form-success.is-visible { display: block; }
.form-success h3 { font-size: 1rem; color: #1c6b3f; margin-bottom: 0.35rem; }
.form-success p { font-size: 0.88rem; color: #3f6b52; }

.contact-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-card + .contact-card { margin-top: 1.1rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding-block: 0.6rem;
  font-size: 0.92rem;
}
.contact-line + .contact-line { border-top: 1px solid var(--line); }
.contact-line__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--amber-100);
  color: var(--navy);
}
.contact-line__icon svg { width: 18px; height: 18px; }
.contact-line strong { display: block; font-size: 0.78rem; font-weight: 600; color: #8a97ab; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-line a,
.contact-line span { color: var(--navy); font-weight: 500; }
.contact-line a:hover { color: var(--amber-600); }

/* 18. PROSE (LEGAL PAGES)
   ========================================================================== */
.prose { max-width: 46rem; }
.prose h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-top: 2.6rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 100px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin-top: 1.6rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1rem; font-size: 0.96rem; color: #444f61; }
.prose ul { margin: 0 0 1.2rem; display: grid; gap: 0.5rem; }
.prose ul li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  color: #444f61;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}
.prose a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.prose .updated { font-size: 0.82rem; color: #8491a6; letter-spacing: 0.03em; }

.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.legal-nav { position: sticky; top: 100px; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.legal-nav h2 { font-size: 0.72rem; font-family: var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: #8a97ab; margin-bottom: 0.85rem; }
.legal-nav ul { display: grid; gap: 0.1rem; }
.legal-nav a { display: block; padding: 0.4rem 0; font-size: 0.85rem; color: #4a566b; }
.legal-nav a:hover { color: var(--navy); }

/* 19. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #b3c1dd;
  font-size: 0.92rem;
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  padding-bottom: 2.5rem;
}
.brand--footer .brand-mark { background: var(--amber); color: var(--navy); }
.brand--footer .brand-name { color: #fff; }
.footer-tagline {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
}
.footer-desc { margin-top: 0.7rem; max-width: 24rem; font-size: 0.9rem; line-height: 1.75; color: #a6b6d6; }

.footer-col h3 {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col ul { display: grid; gap: 0.15rem; }
.footer-col a { display: inline-block; padding-block: 0.28rem; font-size: 0.9rem; color: #a6b6d6; transition: color 0.2s, padding-left 0.25s var(--ease); }
.footer-col a:hover { color: var(--amber); padding-left: 0.25rem; }

.socials { display: flex; gap: 0.55rem; margin-top: 1.4rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #dbe4f6;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.socials a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-contact div { font-size: 0.9rem; }
.footer-contact strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa2c6;
  font-weight: 700;
}
.footer-contact a { color: #dbe4f6; }
.footer-contact a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #93a5c8;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-legal a { color: #a6b6d6; }
.footer-legal a:hover { color: var(--amber); }

/* 20. BACK TO TOP
   ========================================================================== */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  box-shadow: 0 14px 30px -14px rgba(23, 37, 84, 0.8);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease), background-color 0.25s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber); color: var(--navy); }

/* 21. REVEAL ANIMATION
   ========================================================================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.reveal.is-visible { animation: rise 0.75s var(--ease) both; }

/* 21b. CONTENT BLOCKS
   ========================================================================== */
section[id],
div[id] { scroll-margin-top: 92px; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.split--top { align-items: start; }
.split__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.split__body > p + p { margin-top: 1rem; }
.split__body > .btn,
.split__body > .btn + .btn { margin-top: 1.75rem; }
.split__body > .tick-list { margin-top: 1.5rem; }

.tagline { text-align: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.tagline__label {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.tagline__text {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
}
.tagline__text span { color: var(--amber); }

.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .mini-grid { grid-template-columns: 1fr; }
}

/* 21c. ONE-TIME SETUP BLOCK
   ========================================================================== */
.setup-block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.setup-block__aside { display: flex; flex-direction: column; align-items: flex-start; }
.setup-block__aside .price-card__price { margin-top: 1rem; }
.setup-block__aside .btn { margin-top: 1.5rem; width: 100%; }
.setup-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.setup-group h3 {
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a97ab;
}
.setup-group ul { display: grid; gap: 0.3rem; }
.setup-group li { display: flex; gap: 0.55rem; font-size: 0.88rem; color: #3d4859; }
.setup-group li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 0.28rem;
  border-radius: 50%;
  background-color: var(--amber-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d99420' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 9px 9px;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 960px) { .setup-block { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .setup-groups { grid-template-columns: 1fr; } }

/* 21d. SMALL UTILITIES
   ========================================================================== */
.tagline__actions { text-align: center; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.eyebrow--center { justify-content: center; }
.link-arrow--spaced { margin-top: 1rem; }
.note-panel--spaced { margin-top: 1.6rem; }
.note-panel--spaced-bottom { margin-bottom: 2rem; }
.section-head--tight { margin-bottom: 1.75rem; }
.price-card__best { margin-bottom: 1.4rem; font-size: 0.9rem; color: var(--muted); }
.muted-note { margin-bottom: 1rem; font-size: 0.9rem; color: var(--muted); }

.error-hero { padding-block: clamp(3.5rem, 9vw, 7rem); }
.error-hero__inner { max-width: 44rem; text-align: center; }
.error-code {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--amber);
}
.error-title { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.error-text { margin-top: 1rem; color: #b9c7e2; font-size: 1.05rem; }
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2rem;
}

/* 22. RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1.6rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 44px -32px rgba(23, 37, 84, 0.65);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 1.15rem; width: 100%; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; margin-inline: auto; }
  .hero__lead { max-width: none; }

  .services-layout { grid-template-columns: 1fr; }
  .services-aside { position: static; }
  .services-aside ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .services-aside a { border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.82rem; }
  .services-aside a span { display: none; }

  .contact-layout { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; order: 2; }

  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .header-inner { min-height: 68px; }
  .nav { top: 68px; }
  .brand-name { font-size: 1.28rem; }

  .section-head { margin-bottom: 1.9rem; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card--featured { order: -1; }
  .why-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .footer-contact { grid-template-columns: 1fr; gap: 0.9rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__chips { gap: 0.45rem 1rem; font-size: 0.78rem; }
  .card { padding: 1.4rem; }
  .compare { font-size: 0.86rem; }
  .compare th, .compare td { padding: 0.8rem 1rem; }
}

@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;
  }
  .reveal.is-visible { animation: none; }
}

@media print {
  .site-header, .to-top, .site-footer { display: none; }
  body { color: #000; }
}
