@font-face { font-family: 'AveriaSerif'; src: url('../../fonts/AveriaSerif-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'AveriaSerif'; src: url('../../fonts/AveriaSerif-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'AveriaSerif'; src: url('../../fonts/AveriaSerif-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'AveriaSerif'; src: url('../../fonts/AveriaSerif-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: 40, 185, 165;
  --teal-bright: 50, 200, 175;
  --green: 80, 200, 120;
  --navy: 35, 52, 85;
  --slate: 130, 148, 180;
  --red: 220, 70, 55;
  --paper: #edf5fa;
  --paper-strong: #f6fbfe;
  --bluewash: #c7ddec;
  --bluewash-deep: #a9c9dd;
  --ink: #10233f;
  --ink-soft: rgba(16, 35, 63, 0.72);
  --ink-muted: rgba(16, 35, 63, 0.54);
  --line: rgba(35, 52, 85, 0.16);
  --dark: #07142a;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', 'AveriaSerif', Georgia, serif;
  --font-brand: 'AveriaSerif', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,0.58), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(var(--teal),0.13), transparent 28%),
    linear-gradient(180deg, #dcebf4 0%, var(--bluewash) 48%, var(--bluewash-deep) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 84% 4%, rgba(35,52,85,0.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.18), transparent 46%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 84% 8%, rgba(35,52,85,0.12), rgba(35,52,85,0.04) 36%, transparent 68%);
  -webkit-mask-image: url('brand/triangles-pattern.png');
  mask-image: url('brand/triangles-pattern.png');
  -webkit-mask-size: min(1260px, 128vw) auto;
  mask-size: min(1260px, 128vw) auto;
  -webkit-mask-position: right -220px top -180px;
  mask-position: right -220px top -180px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  opacity: 0.3;
}

a { color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 92px;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255,255,255,0.96);
  border-top: 5px solid rgb(var(--teal));
  border-bottom: 4px solid rgb(var(--navy));
  box-shadow: 0 12px 34px rgba(35,52,85,0.12);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.nav-logo {
  height: clamp(58px, 5.2vw, 68px);
  width: auto;
  max-width: min(520px, 42vw);
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  font: 800 14px/1.1 var(--font-body);
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgb(var(--teal)), rgb(var(--teal-bright)));
  box-shadow: 0 14px 28px rgba(var(--teal),0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(var(--teal),0.28);
}

.btn-dark {
  background: rgb(var(--navy));
  color: #fff;
  box-shadow: 0 12px 24px rgba(35,52,85,0.18);
}

.btn-light {
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(var(--navy),0.16);
  color: rgb(var(--navy));
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
}

.btn-wide {
  width: 100%;
}

.page {
  width: min(1480px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: rgba(205, 224, 237, 0.38);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}

.section {
  position: relative;
  isolation: isolate;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(242, 247, 251, 0.96), rgba(196, 218, 234, 0.86)),
    var(--bluewash);
}

.section-alt::before {
  background:
    linear-gradient(135deg, rgba(212,230,242,0.98), rgba(174,205,228,0.92)),
    var(--bluewash-deep);
}

.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 7px 14px 7px 18px;
  border-left: 5px solid rgb(var(--teal));
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, rgba(var(--navy),0.94), rgba(var(--navy),0.78));
  color: rgba(255,255,255,0.94);
  font: 800 11px/1.2 var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title {
  max-width: 820px;
  color: rgb(var(--navy));
  font: 700 clamp(36px, 5vw, 62px)/1.04 var(--font-display);
  letter-spacing: 0;
}

.section-title em {
  color: rgb(var(--teal));
  font-style: italic;
}

.section-desc {
  max-width: 720px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.62;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 92px);
  padding: clamp(36px, 5.6vw, 76px) clamp(26px, 5vw, 72px);
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 22%, rgba(var(--teal),0.15), transparent 30%),
    linear-gradient(135deg, rgba(238,247,252,0.96), rgba(195,219,236,0.9)),
    url('brand/triangle-bg-light.jpg') center / cover;
  border-bottom: 5px solid rgb(var(--teal));
}

.hero-grid {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.referral-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.95fr);
  align-items: center;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 9px 15px;
  border-radius: 8px;
  border-left: 5px solid rgb(var(--teal));
  background: rgba(255,255,255,0.62);
  color: rgb(var(--navy));
  font: 800 11px/1.2 var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(35,52,85,0.08);
}

.hero h1 {
  max-width: 800px;
  color: rgb(var(--navy));
  font: 700 clamp(46px, 6.6vw, 88px)/0.98 var(--font-display);
  letter-spacing: 0;
}

.hero h1 em {
  color: rgb(var(--teal));
  font-style: italic;
}

.referral-hero h1 {
  font-size: clamp(42px, 5.4vw, 74px);
}

.hero-copy > p {
  max-width: 760px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions .btn {
  min-height: 56px;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 16px;
}

.hero-actions .btn-primary {
  min-width: 260px;
}

.referral-steps {
  max-width: 700px;
}

.referral-steps .step {
  background: rgba(241,248,252,0.78);
  border-color: rgba(var(--navy),0.14);
  box-shadow: 0 14px 32px rgba(35,52,85,0.08), inset 0 1px 0 rgba(255,255,255,0.68);
}

.referral-steps .step strong {
  color: rgb(var(--navy));
}

.referral-steps .step span {
  color: var(--ink-soft);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: clamp(28px, 3.6vw, 44px);
  background:
    radial-gradient(circle at 92% 0%, rgba(var(--teal),0.18), transparent 34%),
    linear-gradient(145deg, rgba(8,17,34,0.97), rgba(17,34,56,0.95));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 58px rgba(35,52,85,0.24), inset 0 1px 0 rgba(255,255,255,0.12);
  color: #fff;
}

.hero-panel::before,
.dark-panel::before,
.distilled-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(var(--teal),0.13), transparent 24% 74%, rgba(255,255,255,0.06)),
    url('brand/triangle-bg-dark.jpg') center / cover;
  opacity: 0.42;
}

.hero-panel > *,
.dark-panel > *,
.distilled-card > * {
  position: relative;
  z-index: 1;
}

.hero-panel h2,
.dark-panel h2 {
  font: 700 clamp(28px, 3.4vw, 44px)/1.06 var(--font-display);
  letter-spacing: 0;
  color: #fff;
}

.hero-panel p,
.dark-panel p {
  margin-top: 12px;
  color: rgba(226, 230, 236, 0.74);
  font-size: 15px;
  line-height: 1.6;
}

.context-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.78);
  font: 800 10px/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.context-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--teal));
  box-shadow: 0 0 18px rgba(var(--teal),0.34);
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.step {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 12px;
  align-items: start;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(var(--teal),0.14);
  color: rgb(var(--teal-bright));
  font: 900 14px/1 var(--font-mono);
}

.step strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.step span {
  display: block;
  color: rgba(226,230,236,0.68);
  font-size: 12.5px;
  line-height: 1.45;
}

.referral-meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(226,230,236,0.68);
  font-size: 13px;
  line-height: 1.55;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.6fr);
  gap: clamp(20px, 3vw, 34px);
  margin-top: 42px;
  align-items: start;
}

.dark-panel {
  position: sticky;
  top: 118px;
  overflow: hidden;
  border-radius: 16px;
  padding: clamp(26px, 3vw, 36px);
  background:
    radial-gradient(circle at 88% 8%, rgba(var(--teal),0.16), transparent 32%),
    linear-gradient(145deg, rgba(28,49,83,0.98), rgba(47,74,114,0.92));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 18px 40px rgba(35,52,85,0.18);
  color: #fff;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.86);
  font-weight: 800;
  font-size: 13px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  min-height: 164px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(241, 248, 252, 0.9);
  border: 1px solid rgba(var(--navy),0.13);
  box-shadow:
    0 18px 42px rgba(35,52,85,0.1),
    inset 0 1px 0 rgba(255,255,255,0.72);
}

.info-card h3 {
  color: #17233b;
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(var(--teal),0.1);
  color: rgba(var(--navy),0.72);
  font: 800 11px/1 var(--font-mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.form-section::before {
  background:
    linear-gradient(135deg, rgba(211, 230, 244, 0.98), rgba(172, 204, 228, 0.94)),
    var(--bluewash-deep);
  box-shadow: inset 0 5px 0 rgb(var(--teal));
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
  margin-top: 42px;
}

.distilled-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 16px;
  padding: clamp(28px, 3.4vw, 44px);
  background:
    linear-gradient(145deg, rgba(7,20,42,0.98), rgba(31,55,89,0.94)),
    rgb(var(--navy));
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  box-shadow: 0 22px 52px rgba(35,52,85,0.2);
}

.distilled-card .big-word {
  display: block;
  margin-top: 28px;
  color: rgb(var(--teal-bright));
  font: 700 clamp(46px, 6vw, 72px)/0.98 var(--font-display);
}

.distilled-card .btn {
  margin-top: 32px;
}

.form-card {
  border-radius: 16px;
  padding: clamp(26px, 3.2vw, 42px);
  background: rgba(241,248,252,0.94);
  border: 1px solid rgba(var(--navy),0.14);
  box-shadow:
    0 22px 48px rgba(35,52,85,0.14),
    inset 0 1px 0 rgba(255,255,255,0.72);
}

.form-card h3 {
  color: rgb(var(--navy));
  font: 700 clamp(26px, 3vw, 38px)/1.08 var(--font-display);
  margin-bottom: 10px;
}

.form-card > p {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 24px;
}

.hero-form-card {
  padding: clamp(22px, 2.4vw, 32px);
}

.hero-form-card h3 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.hero-form-card > p {
  margin-bottom: 18px;
}

.hero-form-card .form-group {
  margin-bottom: 11px;
}

.hero-form-card .form-group input,
.hero-form-card .form-group textarea {
  padding: 11px 13px;
}

.hero-form-card .form-group textarea {
  min-height: 116px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.form-divider {
  height: 1px;
  margin: 6px 0 18px;
  background: linear-gradient(90deg, rgba(var(--teal),0.34), rgba(var(--navy),0.12), transparent);
}

.form-group label {
  color: rgba(var(--navy),0.64);
  font: 800 11px/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(var(--navy),0.16);
  border-radius: 10px;
  background: rgba(255,255,255,0.52);
  color: var(--ink);
  font: 600 15px/1.4 var(--font-body);
  outline: none;
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(var(--teal),0.62);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 0 0 3px rgba(var(--teal),0.14);
}

.form-group textarea {
  min-height: 154px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(var(--teal),0.22);
  background: rgba(var(--teal),0.08);
  color: rgb(var(--navy));
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.form-status.error {
  border-color: rgba(var(--red),0.22);
  background: rgba(var(--red),0.07);
  color: #9d2a22;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.energy-hero::before {
  background:
    linear-gradient(105deg, rgba(7,20,42,0.98) 0%, rgba(35,52,85,0.92) 56%, rgba(35,52,85,0.76) 100%),
    url('brand/triangle-bg-dark.jpg') center / cover;
}

.energy-hero h1,
.energy-hero .hero-copy > p {
  color: #fff;
}

.energy-hero .hero-copy > p {
  color: rgba(226,230,236,0.78);
}

.energy-logo {
  display: block;
  width: clamp(260px, 24vw, 420px);
  height: auto;
  margin: 0 0 18px -4px;
  filter: drop-shadow(0 18px 26px rgba(2,10,24,0.34)) saturate(1.08);
}

.energy-hero .hero-kicker {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.16);
  border-left: 5px solid rgb(var(--teal));
}

.energy-benefit-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.energy-benefit {
  padding: 18px;
  border-radius: 13px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.energy-benefit strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}

.energy-benefit span {
  color: rgba(226,230,236,0.68);
  font-size: 13px;
  line-height: 1.5;
}

.nature-section::before {
  background:
    linear-gradient(180deg, rgba(232,244,250,0.86) 0%, rgba(219,237,247,0.62) 30%, rgba(202,226,238,0.3) 72%, rgba(176,209,227,0.15) 100%),
    linear-gradient(90deg, rgba(235,246,251,0.4), rgba(213,232,242,0.09) 52%, rgba(70,112,139,0.02)),
    url('brand/emissis-nature-bg.webp') center top / cover;
  box-shadow: inset 0 5px 0 rgb(var(--teal));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.product-card {
  display: grid;
  grid-template-columns: 62px minmax(0,1fr);
  grid-template-areas:
    "icon metric"
    "icon label"
    "title title"
    "copy copy"
    "bullets bullets";
  gap: 0 18px;
  min-height: 292px;
  padding: 28px 32px;
  border-radius: 16px;
  background: rgba(242,248,252,0.9);
  border: 1px solid rgba(var(--navy),0.13);
  box-shadow:
    0 24px 54px rgba(23,43,71,0.16),
    0 8px 18px rgba(23,43,71,0.08),
    inset 0 1px 0 rgba(255,255,255,0.72);
}

.product-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(var(--teal),0.1);
  border: 1px solid rgba(var(--teal),0.16);
  color: rgb(var(--teal));
}

.product-metric {
  grid-area: metric;
  align-self: end;
  color: rgb(var(--teal));
  font: 700 clamp(34px, 3.2vw, 46px)/1 var(--font-display);
}

.product-label {
  grid-area: label;
  margin: 4px 0 20px;
  color: rgba(var(--navy),0.58);
  font: 800 11px/1.4 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card h3 {
  grid-area: title;
  color: #17233b;
  font-size: 21px;
  margin-bottom: 11px;
}

.product-card p {
  grid-area: copy;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
}

.product-card ul {
  grid-area: bullets;
  display: grid;
  gap: 9px;
  margin-top: 18px;
  list-style: none;
}

.product-card li {
  display: flex;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.product-card li::before {
  content: ">";
  color: rgb(var(--green));
  font-weight: 900;
}

.mini-cta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 42px;
  padding: clamp(26px, 3.2vw, 38px);
  border-radius: 16px;
  background: rgba(241,248,252,0.92);
  border: 1px solid rgba(var(--navy),0.14);
  box-shadow: 0 18px 42px rgba(35,52,85,0.1), inset 0 1px 0 rgba(255,255,255,0.72);
}

.mini-cta h2 {
  color: rgb(var(--navy));
  font: 700 clamp(28px, 3vw, 42px)/1.08 var(--font-display);
}

.mini-cta p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 38px 0 46px;
  color: rgba(var(--navy),0.6);
  font: 700 12px/1.7 var(--font-mono);
  letter-spacing: 0.03em;
}

.footer a {
  color: rgba(var(--navy),0.78);
  text-decoration: none;
}

.footer-locations {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

@media (max-width: 1080px) {
  .hero-grid,
  .services-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .referral-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.95fr);
  }

  .hero-form-card .form-row {
    grid-template-columns: 1fr;
  }

  .dark-panel {
    position: relative;
    top: auto;
  }

  .hero {
    min-height: 0;
  }
}

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

@media (max-width: 760px) {
  .nav {
    min-height: 86px;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-logo {
    max-width: 270px;
  }

  .nav-actions .btn-light {
    display: none;
  }

  .nav-actions .btn {
    min-height: 38px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .section {
    width: min(100% - 34px, 1240px);
  }

  .hero {
    padding: 34px 18px 42px;
  }

  .hero h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .hero-copy > p,
  .section-desc {
    font-size: 16px;
  }

  .hero-panel,
  .dark-panel,
  .distilled-card,
  .form-card {
    padding: 24px 20px;
  }

  .info-grid,
  .product-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 56px minmax(0,1fr);
    min-height: 0;
    padding: 24px 20px;
  }

  .mini-cta {
    grid-template-columns: 1fr;
  }

  .footer {
    width: min(100% - 34px, 1240px);
  }
}

@media (max-width: 520px) {
  .nav {
    display: block;
  }

  .nav-actions {
    margin-top: 10px;
    justify-content: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-title {
    font-size: clamp(34px, 11vw, 44px);
  }

  .info-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
