:root {
  --ink: #111113;
  --muted: #625c66;
  --paper: #f7f6f8;
  --surface: #ffffff;
  --line: #e5e0e8;
  --accent: #7f4b8f;
  --accent-dark: #5d346d;
  --gold: #b693c3;
  --clay: #7f4b8f;
  --shadow: 0 20px 50px rgba(17, 17, 19, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 246, 248, 0.92);
  border-bottom: 1px solid rgba(229, 224, 232, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(300px, 58vw);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 112px) clamp(18px, 4vw, 56px) 40px;
  background:
    linear-gradient(90deg, rgba(247, 246, 248, 0.98) 0%, rgba(247, 246, 248, 0.92) 42%, rgba(247, 246, 248, 0.42) 72%, rgba(247, 246, 248, 0.22) 100%),
    linear-gradient(135deg, rgba(127, 75, 143, 0.16), rgba(17, 17, 19, 0.08)),
    url("assets/hero-bridge.png"),
    var(--paper);
  background-position: center, center, right center, center;
  background-size: cover, cover, min(58vw, 980px) auto, cover;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 820px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.35;
  text-transform: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.hero-actions .button {
  margin-top: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: transparent;
  border-color: var(--ink);
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 14px;
}

.hero-panel div {
  min-height: 116px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.content-guide,
.section,
.testimonial,
.site-footer {
  padding-right: clamp(18px, 4vw, 56px);
  padding-left: clamp(18px, 4vw, 56px);
}

.content-guide {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 36px;
  background: var(--ink);
  color: #ffffff;
}

.content-guide .eyebrow {
  color: var(--gold);
}

.content-guide h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.content-guide ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  list-style: none;
}

.content-guide li {
  position: relative;
  padding-left: 28px;
}

.content-guide li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 15px;
  height: 15px;
  background:
    linear-gradient(135deg, transparent 42%, #ffffff 43%, #ffffff 56%, transparent 57%),
    linear-gradient(135deg, var(--gold) 0 48%, var(--accent) 49% 100%);
  border-radius: 50%;
  content: "";
}

.section {
  padding-top: clamp(64px, 10vw, 110px);
  padding-bottom: clamp(64px, 10vw, 110px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.card p,
.step p,
.form-note {
  color: var(--muted);
}

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

.card {
  min-height: 250px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--accent-dark);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  background: #f0edf3;
}

.timeline {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.about-photo {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.about-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(127, 75, 143, 0.34), rgba(17, 17, 19, 0.24));
  content: "";
  pointer-events: none;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 34%;
}

.proof-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 14px 16px;
  background: var(--surface);
  border-left: 4px solid var(--gold);
}

.testimonial {
  padding-top: 70px;
  padding-bottom: 70px;
  color: #ffffff;
  background: var(--accent-dark);
}

.testimonial blockquote {
  max-width: 970px;
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

.testimonial p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.78fr);
  gap: clamp(30px, 6vw, 70px);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.human-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #f7f6f8;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
}

.human-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid #d7d0dc;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

input:focus,
textarea:focus,
.button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(127, 75, 143, 0.28);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.form-note a {
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-section {
  display: grid;
  gap: 12px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: var(--paper);
}

.legal-block {
  max-width: 980px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.legal-block summary::-webkit-details-marker {
  display: none;
}

.legal-block summary::after {
  color: var(--accent);
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}

.legal-block[open] summary::after {
  content: "-";
}

.legal-content {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
}

.legal-block p {
  margin: 0;
  color: var(--muted);
}

.legal-block a {
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.legal-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.legal-list dt {
  color: var(--muted);
  font-weight: 800;
}

.legal-list dd {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a,
.footer-links a {
  font-weight: 800;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero,
  .content-guide,
  .split-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    align-self: stretch;
  }

  .service-grid,
  .content-guide ul {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 460px;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
  }

  .brand {
    max-width: 210px;
  }

  .brand-logo {
    width: 205px;
  }

  h1 {
    max-width: 10ch;
    font-size: 3rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
