/* ============================================================
   PVB Technologies — Design System
   Palette: deep navy + coral/teal accent (savings + trust)
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (data)
   ============================================================ */

:root {
  --navy-950: #22262C;
  --navy-900: #282D34;
  --navy-800: #2F343C;
  --navy-700: #383E47;
  --navy-line: rgba(255,255,255,0.08);

  --paper: #EDEDEB;
  --paper-line: rgba(34,38,44,0.12);
  --card: #F8F7F5;

  /* neutral slate — secondary, used sparingly to avoid a second "color" */
  --teal-500: #5B6472;
  --teal-400: #7A8391;
  --teal-100: #E7E8EA;

  /* single crisp blue accent — primary */
  --coral-500: #3B82D6;
  --coral-400: #5C9AE0;
  --coral-100: #E5EFFA;

  --savings-green: #2F9E63;
  --margin-red: #B23A3A;
  --ink: #ECEDEE;
  --ink-muted: #9BA2AC;
  --ink-dark: #15181C;
  --ink-dark-muted: #5B6472;

  --radius-sm: 6px;
  --radius-md: 14px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-dark-muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--coral-500);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--navy-950);
  color: var(--ink);
}
.section--dark p { color: var(--ink-muted); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--ink); }
.section--navy { background: var(--navy-900); color: var(--ink); }
.section--navy p { color: var(--ink-muted); }
.section--navy h2, .section--navy h3 { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--coral-500);
  color: #fff;
}
.btn-primary:hover { background: var(--coral-400); }
.btn-ghost {
  background: transparent;
  border-color: var(--navy-line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink-muted); }
.btn-outline-dark {
  background: transparent;
  border-color: rgba(16,24,37,0.2);
  color: var(--ink-dark);
}
.btn-outline-dark:hover { border-color: var(--ink-dark); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(34,38,44,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block;
    background: none; border: none; color: var(--ink);
    font-size: 1.4rem; cursor: pointer;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-950);
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--navy-line);
    gap: 18px;
  }
}

/* ---------- Grids / cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.card--dark {
  background: var(--navy-900);
  border: 1px solid var(--navy-line);
  color: var(--ink);
}
.card--dark p { color: var(--ink-muted); }
.card-icon {
  width: 42px; height: 42px;
  border-radius: 9px;
  background: var(--teal-100);
  color: var(--teal-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card--dark .card-icon { background: rgba(44,178,164,0.14); }

/* ---------- Chips / tags ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--paper-line);
  color: var(--ink-dark-muted);
  background: var(--card);
}
.section--dark .chip, .section--navy .chip {
  border-color: var(--navy-line);
  color: var(--ink-muted);
  background: transparent;
}

/* ---------- Partner strip ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.partner-cell {
  background: var(--navy-950);
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.partner-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--navy-line);
  color: var(--coral-500);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Savings visual (signature element) ---------- */
.passthrough {
  background: var(--navy-900);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  padding: 36px;
}
.passthrough-row { margin-bottom: 26px; }
.passthrough-row:last-child { margin-bottom: 0; }
.passthrough-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.passthrough-bar {
  height: 34px;
  border-radius: 6px;
  display: flex;
  overflow: hidden;
  background: var(--navy-800);
}
.passthrough-seg {
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #fff;
  white-space: nowrap;
}
.seg-margin { background: var(--margin-red); color: rgba(255,255,255,0.85); }
.seg-kept { background: var(--coral-500); }
.seg-saved { background: var(--savings-green); }

/* ---------- Process steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: 44px; }
.process-step::before {
  content: "";
  position: absolute;
  top: 15px; left: 0; right: 0;
  height: 1px;
  background: var(--navy-line);
}
.process-step:first-child::before { left: 15px; }
.process-step:last-child::before { right: calc(100% - 15px); }
@media (max-width: 860px) {
  .process-step::before { top: 0; bottom: auto; left: 15px; right: auto; width: 1px; height: 100%; }
  .process-step { padding-top: 0; padding-left: 44px; padding-bottom: 32px; }
}
.process-num {
  position: absolute;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid var(--coral-500);
  color: var(--coral-500);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 110px;
  background-color: var(--navy-950);
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: -13px -13px;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy-950) 0%, rgba(21,24,28,0.4) 40%, var(--navy-950) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 70px; }
}
.hero p.lead { font-size: 1.15rem; color: var(--ink-muted); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: var(--ink-muted);
  border-top: 1px solid var(--navy-line);
  padding: 56px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer a { display: block; font-size: 0.9rem; margin-bottom: 10px; color: var(--ink-muted); }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--navy-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 150px 0 70px;
  background: var(--navy-950);
  color: var(--ink);
}
.page-header p.lead { color: var(--ink-muted); max-width: 60ch; font-size: 1.05rem; }

/* ---------- Form ---------- */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-dark);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--card);
  color: var(--ink-dark);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--ink-dark-muted); margin-top: 6px; }

/* ---------- Photo frames ---------- */
.photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--paper-line);
}
.section--dark .photo-frame, .section--navy .photo-frame { border-color: var(--navy-line); }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}
.photo-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  max-width: calc(100% - 40px);
}
.photo-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral-500);
  flex-shrink: 0;
}
.photo-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-dark);
}
.divider { height: 1px; background: var(--paper-line); margin: 0; }
.section--dark .divider, .section--navy .divider { background: var(--navy-line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.stat { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; color: var(--ink); }
.stat-label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-muted); letter-spacing: 0.05em; text-transform: uppercase; }
