:root {
  --navy: #071e32;
  --navy-2: #0d2b45;
  --navy-soft: #0d2b45;
  --gold: #e5a72e;
  --gold-dark: #c89020;
  --white: #ffffff;
  --surface: #f6f8fa;
  --muted: #536170;
  --line: #e3e8ed;
  --text: #071e32;
  --shadow: 0 10px 30px rgba(7, 30, 50, 0.06);
  --shadow-hover: 0 16px 40px rgba(7, 30, 50, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --header: 76px;
  --container: 1120px;
  --font: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--surface);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 48px;
}

.icon {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.icon-lg {
  width: 26px;
  height: 26px;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(229, 167, 46, 0.12);
  color: var(--gold-dark);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: #edb445;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-soft);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(7, 30, 50, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
}

.logo-on-dark {
  background: var(--white);
  border-radius: 10px;
  padding: 6px 10px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-desktop a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--navy);
  background: var(--surface);
}

.header-cta {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  color: var(--navy);
  display: grid;
  place-items: center;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header) 0 0;
  background: var(--white);
  padding: 16px;
  z-index: 49;
  overflow: auto;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a,
.mobile-nav .btn {
  display: flex;
  width: 100%;
  margin-bottom: 8px;
}

.mobile-nav a {
  padding: 14px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
}

body.menu-open {
  overflow: hidden;
}

.hero {
  padding: calc(var(--header) + 48px) 0 36px;
  background:
    radial-gradient(circle at 90% 10%, rgba(229, 167, 46, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.hero p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 46ch;
}

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

.hero-art {
  position: relative;
  min-height: 340px;
}

.doc-stack {
  position: relative;
  height: 360px;
}

.doc {
  position: absolute;
  width: min(78%, 340px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.doc-1 {
  top: 18px;
  left: 8%;
  transform: rotate(-8deg);
  z-index: 1;
}

.doc-2 {
  top: 48px;
  left: 18%;
  transform: rotate(-2deg);
  z-index: 2;
}

.doc-3 {
  top: 78px;
  left: 28%;
  transform: rotate(4deg);
  z-index: 3;
}

.doc-line {
  height: 8px;
  border-radius: 99px;
  background: var(--surface);
  margin-bottom: 10px;
}

.doc-line.short {
  width: 46%;
}

.doc-line.gold {
  width: 28%;
  background: rgba(229, 167, 46, 0.35);
}

.doc-check {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.doc-check span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
}

.badge-float {
  position: absolute;
  z-index: 4;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge-1 {
  top: 24px;
  right: 0;
}

.badge-2 {
  bottom: 28px;
  left: 0;
}

.trust-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 8px 0 28px;
  list-style: none;
  margin: 0;
}

section[id],
.hero {
  scroll-margin-top: 88px;
}

.check a {
  color: var(--navy);
  text-decoration: underline;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-item .icon {
  color: var(--gold-dark);
}

.split {
  display: grid;
  gap: 40px;
  align-items: start;
}

.pillar-list {
  display: grid;
  gap: 14px;
}

.pillar {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pillar h3,
.card h3,
.step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.pillar p,
.card p,
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards-3,
.cards-2 {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #d5dee6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.card-link:hover {
  color: var(--gold-dark);
}

.note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.process {
  display: grid;
  gap: 16px;
}

.step {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.differentials {
  background: var(--navy);
  color: var(--white);
}

.differentials .section-kicker {
  color: var(--gold);
}

.differentials .section-title,
.cta-band h2,
.client-area h2 {
  max-width: 20ch;
}

.differentials .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: var(--white);
}

.differentials .card p {
  color: rgba(255, 255, 255, 0.72);
}

.differentials .icon-wrap {
  background: rgba(229, 167, 46, 0.16);
  color: var(--gold);
}

.quote-band {
  margin-top: 36px;
  padding: 28px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.2rem;
  line-height: 1.45;
}

.client-box {
  display: grid;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(7, 30, 50, 0.03), transparent 40%),
    var(--white);
  box-shadow: var(--shadow);
}

.placeholder-note {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.testimonial p {
  font-size: 1.02rem;
  color: var(--navy);
}

.meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.category {
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.editorial {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--muted);
}

.differentials .section-title,
.cta-band .section-title {
  color: var(--white);
}

.differentials .section-lead,
.cta-band .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -40px;
  top: -40px;
  border: 18px solid rgba(229, 167, 46, 0.16);
  border-radius: 32px;
  transform: rotate(18deg);
}

.cta-band .container,
.differentials .container {
  position: relative;
  z-index: 1;
}

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

.form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span,
.field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--navy);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #b42318;
}

.error {
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 600;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 3px;
}

.form-status {
  min-height: 24px;
  font-weight: 600;
}

.form-status.is-success {
  color: #027a48;
}

.form-status.is-error {
  color: #b42318;
}

.legal-card {
  max-width: 78ch;
}

.legal-card h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.legal-card h2 {
  margin-top: 32px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.review-note {
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  color: var(--navy);
  font-size: 0.92rem;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-logo {
  background: var(--white);
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.footer-logo img {
  height: 38px;
}

.footer-list {
  display: grid;
  gap: 8px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: var(--white);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.88rem;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(7, 30, 50, 0.25);
  border: 1px solid rgba(229, 167, 46, 0.35);
}

.wa-float:hover {
  background: var(--navy-soft);
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 70;
  max-width: 720px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-hover);
  border-radius: 16px;
  padding: 20px;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 30, 50, 0.45);
  display: none;
  place-items: center;
  padding: 16px;
}

.modal.is-open {
  display: grid;
}

.modal-card {
  width: min(100%, 560px);
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  max-height: 90vh;
  overflow: auto;
}

.modal-card h2 {
  margin: 0 0 10px;
}

.modal-card > p {
  margin: 0 0 8px;
  color: var(--muted);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.switch-row > div {
  min-width: 0;
  flex: 1;
}

.switch-row p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.switch {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 28px;
}

.switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 48px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.switch input:disabled {
  cursor: not-allowed;
}

.switch-ui {
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: var(--line);
  pointer-events: none;
  position: relative;
  transition: background 0.2s ease;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(7, 30, 50, 0.22);
  transition: transform 0.2s ease;
}

.switch input:checked + .switch-ui {
  background: var(--gold);
}

.switch input:checked + .switch-ui::after {
  transform: translateX(20px);
}

.switch input:disabled + .switch-ui {
  background: var(--navy);
}

.switch input:focus-visible + .switch-ui {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page-hero {
  padding: calc(var(--header) + 48px) 0 32px;
  background: var(--surface);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.prose {
  max-width: 76ch;
}

.prose h2 {
  margin-top: 28px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.reveal {
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 700px) {
  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards-2,
  .cards-3,
  .process,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}

@media (min-width: 980px) {
  .nav-desktop,
  .header-cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid,
  .split,
  .client-box {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .process {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .step {
    border-radius: 0;
    border-left-width: 0;
  }

  .step:first-child {
    border-left-width: 1px;
    border-radius: var(--radius) 0 0 var(--radius);
  }

  .step:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
  }

  .step + .step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 28px;
    width: 12px;
    height: 2px;
    background: var(--gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
