:root {
  --ink: #111827;
  --ink-strong: #0b1120;
  --muted: #5b6472;
  --line: #d9dee6;
  --paper: #ffffff;
  --soft: #f3f5f7;
  --soft-warm: #fff7ed;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-soft: #fed7aa;
  --success: #166534;
  --danger: #b91c1c;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.14);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

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

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

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.notice {
  background: var(--ink-strong);
  color: #ffffff;
  text-align: center;
  font-size: 0.875rem;
  padding: 8px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 222, 230, 0.86);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  position: static;
}

.nav {
  width: var(--container);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

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

.brand strong {
  font-size: 0.96rem;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a:hover {
  background: var(--soft);
}

.nav-cta {
  background: var(--accent);
  color: #ffffff;
}

.nav-links .nav-cta:hover,
.nav-cta:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

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

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

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--soft);
}

.section-dark {
  background: var(--ink-strong);
  color: #ffffff;
}

.section-accent {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

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

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 18, 0.92) 0%, rgba(5, 9, 18, 0.72) 42%, rgba(5, 9, 18, 0.26) 100%),
    linear-gradient(0deg, rgba(5, 9, 18, 0.72) 0%, rgba(5, 9, 18, 0) 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 86px 0 120px;
}

.hero-text {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.26);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: #ffffff;
  color: var(--ink);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 870px;
  margin: 54px 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.hero-facts div {
  padding: 18px;
  background: rgba(9, 15, 29, 0.64);
}

.hero-facts dt {
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: #ffffff;
  font-weight: 700;
}

.quick-contact {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.quick-contact-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: var(--muted);
}

.quick-contact-inner span {
  color: var(--ink);
  font-weight: 800;
}

.quick-contact-inner a {
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 56px;
  align-items: start;
}

.section-intro p:not(.eyebrow),
.section-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 226px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--accent);
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.feature-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-copy p {
  color: var(--muted);
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  position: relative;
  padding: 18px 18px 18px 62px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: steps;
}

.process-list li::before {
  content: counter(steps);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
}

.about-copy {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.references .section-heading {
  max-width: 790px;
}

.references .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

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

.reference-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.reference-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reference-card div {
  padding: 20px;
}

.reference-card span {
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reference-card h3 {
  margin-top: 8px;
}

.reference-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

details p {
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}

.contact-box {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  background: #ffffff;
}

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

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

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

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b9c0ca;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.field-error {
  min-height: 20px;
  color: var(--danger);
  font-size: 0.9rem;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 4px 0 2px;
  font-weight: 500;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--accent);
}

.checkbox-row a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--success);
  font-weight: 800;
}

.site-footer {
  padding: 36px 0;
  background: var(--ink-strong);
  color: #ffffff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-grid p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.legal-page {
  background: var(--soft);
}

.legal-content {
  max-width: 820px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.legal-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-content p {
  margin-top: 14px;
  color: var(--muted);
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: auto 16px auto 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .split,
  .feature,
  .about-grid,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .reference-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    font-size: 0.76rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 62px 0 88px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .two-columns {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .legal-content {
    padding: 22px;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .notice {
    font-size: 0.78rem;
  }

  .nav {
    width: min(100% - 24px, 1120px);
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

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

  .quick-contact-inner {
    justify-content: flex-start;
    padding: 14px 0;
  }
}

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