:root {
  --ink: #121a24;
  --ink-soft: #5b6573;
  --deep: #0b1420;
  --harbor: #1f5f8b;
  --harbor-dark: #184a6c;
  --navy: #122c45;
  --sand: #f3e6cf;
  --mist: #e7eef6;
  --beacon: #e6a01a;
  --beacon-deep: #c4840f;
  --foam: #f3f5f8;
  --paper: #ffffff;
  --line: rgba(18, 26, 36, 0.1);
  --white: #ffffff;
  --danger: #b42318;
  --ok: #157a4b;
  --shadow: 0 24px 60px rgba(11, 20, 32, 0.12);
  --radius: 22px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--foam);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.5vw, 24px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--beacon);
  color: var(--deep);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--navy);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: #0e2438;
  box-shadow: 0 10px 28px rgba(11, 20, 32, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  flex-wrap: nowrap;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: clamp(0.92rem, 0.55vw + 0.82rem, 1.12rem);
  letter-spacing: -0.04em;
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 0;
}

.brand img,
.brand svg {
  width: 40px;
  height: 40px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.6vw, 24px);
  margin-left: auto;
  min-width: 0;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--beacon);
  transition: width 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav .nav-cta {
  margin-left: 4px;
  padding: 11px 20px;
  font-size: 0.9rem;
  color: var(--deep);
  flex-shrink: 0;
}

.nav .nav-cta::after {
  display: none;
}

.nav .nav-cta:hover {
  color: var(--deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn:disabled,
.btn:disabled:hover {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-beacon {
  background: linear-gradient(180deg, #f0b33a, var(--beacon));
  color: var(--deep);
  box-shadow: 0 10px 24px rgba(230, 160, 26, 0.35);
}

.btn-beacon:hover {
  box-shadow: 0 16px 32px rgba(230, 160, 26, 0.45);
}

.btn-harbor {
  background: var(--harbor);
  color: white;
  box-shadow: 0 10px 24px rgba(31, 95, 139, 0.28);
}

.btn-outline {
  background: var(--white);
  color: var(--deep);
  border: 1px solid rgba(18, 26, 36, 0.16);
  box-shadow: 0 6px 18px rgba(11, 20, 32, 0.06);
}

.btn-outline:hover {
  border-color: var(--harbor);
  color: var(--harbor-dark);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-pulse {
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(230, 160, 26, 0.35); }
  50% { box-shadow: 0 10px 34px rgba(230, 160, 26, 0.7); }
}

h1, h2, h3, .serif {
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  padding: clamp(40px, 6vh, 82px) 0 clamp(44px, 7vh, 92px);
  background:
    radial-gradient(900px 520px at 90% -12%, rgba(31, 95, 139, 0.14), transparent 62%),
    radial-gradient(620px 420px at 6% 108%, rgba(230, 160, 26, 0.12), transparent 66%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 52%, var(--foam) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(30px, 4.5vw, 66px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  min-width: 0;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--harbor-dark);
  font-size: clamp(0.72rem, 0.8vw, 0.8rem);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--beacon);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2rem, 2.1vw + 1.1rem, 3.35rem);
  line-height: 1.1;
  margin: 18px 0 16px;
  font-weight: 600;
  color: var(--deep);
  text-wrap: balance;
}

.hero p.lead {
  font-size: clamp(1rem, 0.42vw + 0.9rem, 1.12rem);
  color: var(--ink-soft);
  max-width: 52ch;
}

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

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.hero-points svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 50%;
  background: rgba(31, 95, 139, 0.12);
  fill: none;
  stroke: var(--harbor);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  padding: 24px 0 26px 26px;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 52%;
  border-radius: 0 22px 0 0;
  border-top: 3px solid var(--beacon);
  border-right: 3px solid var(--beacon);
  opacity: 0.6;
}

.hero-frame {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--deep);
  box-shadow: 0 28px 60px rgba(11, 20, 32, 0.22);
}

.hero-frame img {
  filter: brightness(1.08) saturate(1.04);
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 60% center;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(11, 20, 32, 0) 42%, rgba(11, 20, 32, 0.45) 100%);
}

.hero-card {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(11, 20, 32, 0.16);
}

.hero-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(31, 95, 139, 0.12);
  flex-shrink: 0;
}

.hero-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--harbor);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card strong {
  display: block;
  font-size: 0.96rem;
  color: var(--deep);
}

.hero-card span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Inner page label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--beacon);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--beacon);
  border-radius: 2px;
}

/* Trust bar */
.trust-bar {
  background:
    linear-gradient(180deg, #f7edd8 0%, var(--sand) 100%);
  border-top: 1px solid rgba(196, 132, 15, 0.18);
  border-bottom: 1px solid rgba(184, 122, 28, 0.16);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 18px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-left: 1px solid rgba(184, 122, 28, 0.22);
  min-width: 0;
}

.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fffaf1;
  border: 1px solid rgba(196, 132, 15, 0.22);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #b45309;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  color: var(--deep);
}

.trust-item div span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.3;
}

/* Sections */
section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  line-height: 1.2;
  margin: 8px 0 12px;
  text-wrap: balance;
}

.section-head .muted {
  max-width: 54ch;
}

.kicker {
  color: var(--harbor-dark);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.compensation .kicker {
  color: var(--harbor);
}

.muted {
  color: var(--ink-soft);
}

/* Compensation */
.compensation {
  background:
    radial-gradient(720px 320px at 100% 0%, rgba(31, 95, 139, 0.16), transparent 62%),
    var(--mist);
  padding: 64px 0 56px;
}

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

.comp-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 20px;
  min-height: 168px;
  box-shadow: 0 8px 24px rgba(11, 20, 32, 0.04);
}

.comp-card h3 {
  font-size: 1.05rem;
  margin: 12px 0 8px;
  line-height: 1.3;
}

.comp-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(31, 95, 139, 0.1);
  color: var(--harbor-dark);
  flex-shrink: 0;
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
}

.case-card .icon-wrap {
  margin-bottom: 12px;
}

.visual-panel {
  position: relative;
  margin-top: 18px;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11,20,32,0.88) 0%, rgba(11,20,32,0.55) 58%, rgba(11,20,32,0.35) 100%),
    url("../images/compensation-docs.jpg") center/cover no-repeat;
  box-shadow: none;
}

.visual-copy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  color: white;
}

.visual-copy h3 {
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  line-height: 1.25;
  margin-bottom: 6px;
}

.visual-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  max-width: 48ch;
  margin: 0;
}

.visual-copy .btn {
  flex-shrink: 0;
}

.scene-car {
  position: absolute;
  width: 220px;
  height: 90px;
  right: 12%;
  top: 38%;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Cases */
.cases {
  background: var(--paper);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.case-card h3 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
}

/* CTA band */
.cta-band {
  padding: 0 0 20px;
}

.cta-inner {
  background:
    linear-gradient(90deg, rgba(11,20,32,.9), rgba(11,20,32,.55)),
    url("../images/roadside-car.jpg") center/cover no-repeat;
  color: white;
  border-radius: 32px;
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.cta-inner .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.cta-inner::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -40px;
  top: -80px;
  background: radial-gradient(circle, rgba(31,95,139,0.4), transparent 70%);
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}

.cta-inner p {
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
}

/* Contact */
.contact {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 110px;
}

.contact-form {
  background: white;
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #fff;
  outline: none;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--harbor);
  box-shadow: 0 0 0 4px rgba(31, 95, 139, 0.15);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.disclaimer-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 16px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.disclaimer-consent p {
  margin: 0;
}

.disclaimer-consent input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--harbor);
  cursor: pointer;
}

.disclaimer-consent a {
  color: var(--harbor-dark);
  text-decoration: underline;
}

.form-actions .btn {
  width: 100%;
  height: 54px;
}

/* Footer */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.82);
  padding: 28px 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}

.footer-brand .brand {
  font-size: 1.12rem;
}

.footer-brand .brand-mark,
.footer-brand .brand svg {
  width: 32px;
  height: 32px;
}

.footer-brand p {
  margin-top: 6px;
  max-width: 40ch;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.66);
}

.footer-col h4 {
  color: white;
  margin-bottom: 8px;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
  font-size: 0.82rem;
}

.footer-col:nth-child(2) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 4px;
}

.footer-col:nth-child(2) h4 {
  grid-column: 1 / -1;
}

.footer-col a,
.footer-col p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  color: rgba(255,255,255,0.72);
  font-size: 0.86rem;
  line-height: 1.35;
}

.footer-col svg {
  flex-shrink: 0;
  margin-top: 1px;
  width: 16px;
  height: 16px;
}

.footer-legal {
  padding-top: 12px;
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.62);
}

.footer-legal a {
  color: var(--beacon);
  text-decoration: underline;
}

.copyright {
  margin-top: 8px;
  color: rgba(255,255,255,0.48);
  font-size: 0.72rem;
}

/* Page hero (inner pages) */
.page-hero {
  background:
    linear-gradient(90deg, rgba(11,20,32,.86), rgba(11,20,32,.5)),
    url("../images/roadside-car.jpg") center/cover no-repeat;
  color: white;
  padding: clamp(48px, 8vh, 72px) 0;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 10px 0 12px;
}

.page-hero p {
  max-width: 60ch;
  color: rgba(255,255,255,0.78);
}

.page-content {
  padding: 72px 0 40px;
}

.prose {
  max-width: 860px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16,36,51,0.05);
}

.prose > p:first-child {
  font-size: 1.05rem;
  color: var(--ink);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}

.prose h2 {
  font-size: 1.38rem;
  color: var(--deep);
  margin: 30px 0 10px;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose p {
  margin-bottom: 14px;
  color: var(--ink-soft);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.partner-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 116px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-card.has-link:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 95, 139, 0.32);
  box-shadow: var(--shadow);
}

.partner-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(31, 95, 139, 0.14), rgba(31, 95, 139, 0.06));
  color: var(--harbor-dark);
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.partner-body {
  flex: 1;
  min-width: 0;
}

.partner-card h3 {
  font-size: 1.02rem;
  line-height: 1.3;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
}

.partner-card .meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.chip {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 95, 139, 0.12);
  color: var(--harbor-dark);
  font-weight: 600;
}

.chip.muted-chip {
  background: rgba(16, 36, 51, 0.06);
  color: var(--ink-soft);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(11, 28, 40, 0.55);
  z-index: 80;
  padding: 20px;
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(440px, 100%);
  background: white;
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-card.success { border-top: 6px solid var(--ok); }
.modal-card.error { border-top: 6px solid var(--danger); }

.modal-card h3 {
  margin: 8px 0 10px;
  font-size: 1.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: none;
}

.reveal.in {
  animation: rise 0.8s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
}

@media (max-width: 1240px) {
  .menu-toggle { display: block; }

  .nav {
    position: absolute;
    top: calc(var(--header-h) + 8px);
    right: clamp(16px, 3.5vw, 24px);
    left: auto;
    width: min(340px, calc(100vw - 32px));
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 60;
    max-height: min(70vh, calc(100dvh - var(--header-h) - 24px));
    overflow: auto;
  }

  .nav.open { display: flex; }

  .nav a {
    white-space: normal;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--ink-soft);
  }

  .nav a:hover,
  .nav a.active {
    color: var(--ink);
    background: var(--foam);
  }

  .nav a::after { display: none; }

  .nav .nav-cta {
    margin: 8px 0 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .comp-grid,
  .contact-layout,
  .footer-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid,
  .case-grid,
  .comp-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-grid { gap: 8px 0; padding: 12px 0; }
  .trust-item {
    padding: 4px 16px;
  }
  .trust-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .cta-inner {
    flex-wrap: wrap;
  }
  .contact-aside { position: static; }
  .visual-copy {
    flex-wrap: wrap;
    padding: 20px;
  }
  .compensation { padding: 48px 0 44px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-copy { max-width: none; }
  .hero p.lead { max-width: 60ch; }
  .hero-visual {
    order: -1;
    padding: 20px 0 22px 22px;
    max-width: min(560px, 100%);
    margin-inline: auto;
    width: 100%;
  }
  .hero-frame img { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  .comp-cards,
  .case-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-item {
    padding: 8px 12px;
  }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-top: 0;
  }
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }
  .compensation { padding: 40px 0 36px; }
  .visual-copy .btn { width: 100%; }
  section { padding: 64px 0; }
  .contact-form, .prose { padding: 22px; }
  .cta-inner { padding: 24px; }
  .cta-inner .btn { width: 100%; }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .header-inner { gap: 8px; }
  .brand { font-size: clamp(0.72rem, 3.2vw, 0.92rem); gap: 8px; }
  .brand-mark,
  .brand img,
  .brand svg { width: 36px; height: 36px; }

  .hero { padding: 28px 0 40px; }
  .hero h1 { font-size: clamp(1.68rem, 7.4vw, 2.2rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points {
    flex-direction: column;
    gap: 10px;
  }
  .hero-visual {
    padding: 0;
    max-width: none;
  }
  .hero-frame { border-radius: 20px; }
  .hero-visual::before { display: none; }
  .hero-frame img { aspect-ratio: 4 / 3; }
  .hero-card {
    position: relative;
    inset: auto;
    margin: -24px 12px 0;
    max-width: calc(100% - 24px);
  }
}

@media (max-height: 760px) and (min-width: 1241px) {
  .hero { padding: 32px 0 40px; }
  .hero h1 {
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    margin: 12px 0 12px;
  }
  .hero-actions { margin-top: 20px; }
  .hero-points { margin-top: 20px; padding-top: 18px; }
  .hero-note { margin-top: 14px; }
}
