:root {
  color-scheme: light;
  --ink: #111827;
  --navy: #0d1b2a;
  --navy-2: #14253a;
  --line: #d9dee7;
  --muted: #64748b;
  --paper: #f6f7f9;
  --white: #ffffff;
  --gold: #d8b45d;
  --gold-soft: #f7efd9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: 20px;
  color: #334155;
  font-size: 14px;
}

nav a {
  position: relative;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: heroDrift 18s ease-in-out infinite alternate;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 18, 32, 0.92), rgba(6, 18, 32, 0.62) 42%, rgba(6, 18, 32, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 150px clamp(24px, 7vw, 88px) 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  margin-bottom: 34px;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255, 255, 255, 0.88);
}

.phone-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

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

.button,
.contact-box a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #121212;
  box-shadow: 0 12px 30px rgba(216, 180, 93, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: var(--white);
}

.button {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 76px clamp(20px, 4vw, 36px);
}

.intro,
.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.section h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
}

.section p {
  color: #475569;
  font-size: 16px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.services {
  max-width: 1220px;
}

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

.service-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  border-radius: 0 0 0 90px;
  background: var(--gold-soft);
  content: "";
  transform: translate(18px, -18px);
  transition: transform 220ms ease;
}

.service-card:hover {
  border-color: rgba(216, 180, 93, 0.78);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.11);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: translate(8px, -8px);
}

.service-card span,
.service-card h3,
.service-card p,
.service-card strong {
  position: relative;
  z-index: 1;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.service-card p {
  min-height: 78px;
}

.service-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}

.service-card strong::after {
  content: "→";
  transition: transform 180ms ease;
}

.service-card:hover strong::after {
  transform: translateX(4px);
}

.service-card em {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 46px;
  margin: 14px 0 20px;
  color: #64748b;
  font-size: 13px;
  font-style: normal;
}

.document-section {
  max-width: 1220px;
  padding-top: 20px;
}

.document-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 44px;
  align-items: start;
  padding: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

.document-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.document-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.document-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.document-form select,
.document-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.file-summary,
.document-form small,
.contact-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.document-form .button {
  width: fit-content;
}

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

.cards article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cards article:hover,
.steps li:hover {
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
}

.cards span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-weight: 800;
}

.cards h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  color: var(--muted);
}

.contact {
  margin-bottom: 60px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

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

.contact-box {
  justify-content: flex-start;
}

.contact-box a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.contact-note {
  grid-column: 1 / -1;
  margin: -22px 0 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06) translate3d(1.5%, -1%, 0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 18, 32, 0.92), rgba(6, 18, 32, 0.72));
  }

  .hero-content {
    padding: 104px 22px 70px;
  }

  .intro,
  .split,
  .contact,
  .document-panel,
  .grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  footer {
    flex-direction: column;
  }
}
