/* ==========================================================================
   PNV Agency — pnvagency.com
   ========================================================================== */

/* Fonts (self-hosted, SIL Open Font License — see /assets/fonts) */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Design tokens */
:root {
  --navy-950: #07111f;
  --navy-900: #0b1b2e;
  --navy-800: #142a45;
  --navy-700: #1f3a5c;
  --ink: #0b1b2e;
  --ink-2: #33445a;
  --muted: #5a6779;
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --white: #ffffff;
  --line: rgba(11, 27, 46, 0.11);
  --line-strong: rgba(11, 27, 46, 0.2);
  --accent: #ff6b35;          /* brand orange — graphics, buttons, accents on dark */
  --accent-600: #e4521f;      /* large text on light backgrounds */
  --accent-700: #b93c14;      /* small text on light backgrounds */
  --accent-soft: #ffe9df;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 46, 0.06), 0 2px 8px rgba(11, 27, 46, 0.04);
  --shadow: 0 2px 4px rgba(11, 27, 46, 0.04), 0 12px 32px rgba(11, 27, 46, 0.08);
  --shadow-lg: 0 4px 8px rgba(11, 27, 46, 0.04), 0 24px 64px rgba(11, 27, 46, 0.14);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--navy-900); }

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--navy-900); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Layout */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, 0.74); }
.section--dark h2, .section--dark h3 { color: var(--white); }

/* Typography helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.section--dark .eyebrow { color: var(--accent); }
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.08em;
  line-height: 1;
  color: var(--accent-600);
}
.section--dark .serif { color: var(--accent); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.section--dark .lead { color: rgba(255, 255, 255, 0.74); }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head .h2 + .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* Icons */
.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }

/* Buttons */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: var(--white); --btn-bd: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-size: 1rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(11, 27, 46, 0.18); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--navy-900); --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: #ff7d4d; --btn-bd: #ff7d4d; box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); box-shadow: none; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.28); }
.btn--ghost-light:hover { --btn-bd: var(--white); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) 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 6px 24px rgba(11, 27, 46, 0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { width: 178px; height: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; }
.nav-list a {
  position: relative; font-size: 0.9375rem; font-weight: 600; color: var(--ink); text-decoration: none;
  padding-block: 8px;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink);
}
.nav-toggle-bars { position: relative; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: background-color 0.2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(6px); }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 158px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px var(--gutter) 28px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(11, 27, 46, 0.12);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 16px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav .btn { width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px);
}
.hero::before {
  /* subtle grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 27, 46, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 27, 46, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 720px; height: 720px; right: -200px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.16), rgba(255, 107, 53, 0) 65%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero h1 .serif { font-size: 1.12em; letter-spacing: -0.02em; }
.hero .lead { margin-top: 28px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-assurances {
  display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 0; list-style: none;
  font-size: 0.9375rem; font-weight: 600; color: var(--ink);
}
.hero-assurances li { display: inline-flex; align-items: center; gap: 8px; }
.hero-assurances .icon { width: 18px; height: 18px; color: var(--accent-600); stroke-width: 2.4; }

/* Hero visual */
.hero-visual { position: relative; padding: 28px 8px 40px 28px; }
.dash {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 26px 26px 22px;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-title { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); font-size: 1rem; }
.dash-title img { width: 32px; height: 32px; border-radius: 8px; }
.dash-title small { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  color: #0f6b3f; background: #e3f5ea;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dash-chart { margin: 22px 0 6px; padding: 18px 16px 10px; border-radius: 14px; background: var(--paper); }
.dash-chart-label { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.dash-chart svg { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.8s 0.4s var(--ease) forwards; }
.chart-dot { opacity: 0; animation: pop 0.5s 1.9s var(--ease) forwards; transform-box: fill-box; transform-origin: center; }
.chart-ring { opacity: 0; animation: ring 2.4s 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
@keyframes ring { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

.dash-steps { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 2px; }
.dash-steps li {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 4px; border-bottom: 1px solid var(--line);
  font-size: 0.9375rem; font-weight: 700; color: var(--ink);
}
.dash-steps li:last-child { border-bottom: 0; }
.dash-steps small { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.step-dot {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); color: var(--muted); font-size: 0.75rem; font-weight: 700;
}
.step-dot .icon { width: 14px; height: 14px; stroke-width: 3; }
.is-done .step-dot { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.is-active .step-dot { border-color: var(--accent); color: var(--accent-700); background: var(--accent-soft); }
.step-status { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.is-done .step-status { color: #0f6b3f; }
.is-active .step-status { color: var(--accent-700); }
.step-bar { display: block; width: 100%; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.step-bar::after { content: ""; display: block; width: 0; height: 100%; background: var(--accent); border-radius: 4px; animation: grow 1.6s 0.8s var(--ease) forwards; }
@keyframes grow { to { width: 64%; } }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 0.875rem; font-weight: 700; color: var(--ink); line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8125rem; }
.chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none; }
.chip-icon .icon { width: 20px; height: 20px; }
.chip--a { left: -8px; bottom: 6px; }
.chip--a .chip-icon { background: var(--accent-soft); color: var(--accent-700); }
.chip--b { right: -20px; top: -12px; animation-delay: -3s; }
.chip--b .chip-icon { background: var(--navy-900); color: var(--white); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Audience strip */
.audience { border-block: 1px solid var(--line); background: var(--white); }
.audience-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); padding-block: 26px; }
.audience-label { flex: none; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.audience-list { display: flex; flex-wrap: wrap; flex: 1; justify-content: space-between; gap: 10px 26px; list-style: none; padding: 0; }
.audience-list li { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 0.9688rem; }
.audience-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-panel {
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.service-panel:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.service-panel-head { display: flex; align-items: flex-start; gap: 18px; }
.service-icon {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--navy-900); color: var(--white);
}
.service-panel--marketing .service-icon { background: var(--accent); color: var(--navy-900); }
.service-icon .icon { width: 26px; height: 26px; }
.service-panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.service-panel-head p { margin-top: 8px; color: var(--ink-2); }
.service-list { list-style: none; padding: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.service-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--accent-600); stroke-width: 2.2; }
.service-list strong { display: block; color: var(--ink); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; }
.service-list span { display: block; margin-top: 2px; font-size: 0.9688rem; color: var(--muted); line-height: 1.55; }
.services-note {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  margin-top: 24px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--navy-900); color: rgba(255, 255, 255, 0.8);
}
.services-note p { font-weight: 600; font-size: 1.0625rem; }
.services-note strong { color: var(--white); }

/* ==========================================================================
   Approach
   ========================================================================== */
.approach { overflow: hidden; }
.approach::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 96, 150, 0.32), rgba(52, 96, 150, 0) 65%);
  pointer-events: none;
}
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px 34px;
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); }
.step-num {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.875rem; font-weight: 800; letter-spacing: 0.12em; color: var(--accent);
  margin-bottom: 44px;
}
.step-num svg { width: 26px; height: 26px; opacity: 0.9; }
.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { font-size: 0.9688rem; line-height: 1.6; }
.step-out {
  display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.9);
}
.step-out b { display: block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 4px; }

/* ==========================================================================
   Why
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.why-intro .lead { margin-top: 24px; }
.why-intro .btn { margin-top: 36px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; }
.principle {
  padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.principle:nth-child(even) { transform: translateY(32px); }
.principle:nth-child(even):hover { transform: translateY(28px); }
.principle-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 24px;
  background: var(--accent-soft); color: var(--accent-700);
}
.principle h3 { font-size: 1.25rem; margin-bottom: 10px; letter-spacing: -0.015em; }
.principle p { font-size: 0.9688rem; color: var(--muted); }

/* ==========================================================================
   Engagements
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 32px 32px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line);
}
.plan h3 { font-size: 1.625rem; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.plan-meta span {
  padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
}
.plan-desc { margin-top: 18px; color: var(--ink-2); }
.plan-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 12px; font-size: 0.9688rem; font-weight: 600; color: var(--ink); }
.plan-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-600); stroke-width: 2.4; }
.plan--featured { background: var(--navy-900); border-color: var(--navy-900); color: rgba(255, 255, 255, 0.75); box-shadow: var(--shadow-lg); }
.plan--featured h3 { color: var(--white); }
.plan--featured .plan-desc { color: rgba(255, 255, 255, 0.75); }
.plan--featured .plan-meta span { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: var(--white); }
.plan--featured .plan-list li { color: var(--white); }
.plan--featured .plan-list .icon { color: var(--accent); }
.plan-badge {
  position: absolute; top: -13px; left: 32px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--accent); color: var(--navy-900);
}
.plans-foot { margin-top: 32px; text-align: center; color: var(--muted); font-size: 0.9688rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.faq-intro .lead { margin-top: 20px; }
.faq-contact {
  display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 20px 22px;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
}
.faq-contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: var(--white); flex: none; }
.faq-contact p { font-size: 0.9375rem; line-height: 1.45; }
.faq-contact a { font-weight: 700; color: var(--ink); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); font-weight: 700; color: var(--ink); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-700); }
.faq-plus {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--navy-900); border-color: var(--navy-900); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: var(--white); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-answer { padding: 0 60px 28px 0; color: var(--ink-2); }
.faq-item[open] .faq-answer { animation: fade-down 0.35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 900px; height: 900px; left: -360px; bottom: -480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 96, 150, 0.32), rgba(52, 96, 150, 0) 65%);
  pointer-events: none;
}
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-intro .h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
.contact-intro .lead { margin-top: 24px; }
.contact-points { list-style: none; padding: 0; margin-top: 40px; display: grid; gap: 14px; }
.contact-points li {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-points .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--navy-900); flex: none; }
.contact-points b { display: block; color: var(--white); font-weight: 700; }
.contact-points span { font-size: 0.9375rem; }
.contact-points a { color: var(--white); font-weight: 700; text-decoration: none; }
.contact-points a:hover { text-decoration: underline; }

.form-card {
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.section--dark .form-card h3 { font-size: 1.5rem; color: var(--ink); }
.form-intro { margin-top: 8px; color: var(--muted); font-size: 0.9688rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #8a94a3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--navy-900); box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.22);
}
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #c62828; background: #fff6f5; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy-900); }
.consent a { color: var(--ink); font-weight: 600; }
.form-submit { margin-top: 26px; }
.form-submit .btn { width: 100%; }
.form-status { margin-top: 16px; font-size: 0.9375rem; font-weight: 600; min-height: 1.5em; }
.form-status.is-error { color: #b42318; }
.form-status.is-success { color: #0f6b3f; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 40px 8px; }
.form-success .success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: #e3f5ea; color: #0f6b3f; }
.form-success .success-icon .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.section--dark .form-success h3 { font-size: 1.75rem; color: var(--ink); }
.form-success p { margin-top: 12px; color: var(--muted); }
.btn.is-loading { pointer-events: none; opacity: 0.75; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.62); padding-top: clamp(56px, 7vw, 88px); font-size: 0.9688rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 190px; }
.footer-brand p { margin-top: 20px; max-width: 320px; }
.footer-brand a.footer-email { display: inline-block; margin-top: 18px; color: var(--white); font-weight: 700; text-decoration: none; }
.footer-brand a.footer-email:hover { color: var(--accent); }
.footer-col h3 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer-col a { text-decoration: none; color: rgba(255, 255, 255, 0.82); }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, 0.09); font-size: 0.875rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top .icon { width: 16px; height: 16px; transform: rotate(-90deg); }

/* ==========================================================================
   Simple pages (privacy, 404, thank-you)
   ========================================================================== */
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(32px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); letter-spacing: -0.035em; }
.page-hero p { margin-top: 16px; color: var(--muted); }
.prose { max-width: 760px; padding-bottom: var(--section-y); }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: 16px; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-600); }
.prose a { color: var(--ink); font-weight: 600; }
.legal-address { font-style: normal; margin-bottom: 16px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); line-height: 1.7; }
.legal-address strong { color: var(--ink); }
.status-page { min-height: calc(100vh - var(--header-h) - 100px); display: grid; place-items: center; text-align: center; padding-block: 80px; }
.status-page .code { font-family: var(--font-serif); font-style: italic; font-size: clamp(6rem, 18vw, 11rem); line-height: 0.9; color: var(--accent-600); }
.status-page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 12px; }
.status-page p { margin: 16px auto 0; max-width: 480px; color: var(--muted); }
.status-page .hero-actions { justify-content: center; }
.mini-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.62); font-size: 0.875rem; }
.status-page .form-success { padding-bottom: 0; }
.cta-short { display: none; }
@media (max-width: 480px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
.mini-footer .footer-bottom { border-top: 0; }

/* ==========================================================================
   Reveal on scroll (only when JS is running; content stays visible otherwise)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .principle.reveal.is-visible:nth-child(even) { transform: translateY(32px); }
  @media (hover: hover) and (min-width: 641px) {
    .js .principle.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; transition-duration: 0.3s; }
    .js .principle.reveal.is-visible:nth-child(even):hover { transform: translateY(28px); }
  }
  .hero-copy > * { animation: rise 0.9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .hero-visual { animation: rise 1.1s 0.2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .chart-line { stroke-dashoffset: 0; }
  .step-bar::after { width: 64%; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid, .why-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .why-intro { position: static; }
  .audience-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .audience-list { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { padding: 24px 0 36px; }
  .chip--a { left: -4px; bottom: 0; }
  .chip--b { right: -4px; top: -14px; }
  .dash { padding: 20px 18px 16px; }
  .steps, .principles { grid-template-columns: minmax(0, 1fr); }
  .step-num { margin-bottom: 24px; }
  .principle:nth-child(even), .principle:nth-child(even):hover, .js .principle.reveal.is-visible:nth-child(even) { transform: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-answer { padding-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-list { gap: 8px 22px; }
  .services-note { padding: 22px; }
  .services-note .btn { width: 100%; }
}
@media (max-width: 380px) {
  .chip small { display: none; }
  .brand img { width: 130px; }
  .header-inner { gap: 12px; }
  .header-inner > .btn--sm { padding: 0 16px; }
}
