:root {
  --bg: #0a0b0d;
  --surface: #111316;
  --surface-2: #191b1f;
  --panel: rgba(17, 19, 22, 0.86);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 202, 31, 0.34);
  --text: #f5f6f2;
  --muted: #c2c4bd;
  --soft: #8c928f;
  --brand: #ffca1f;
  --brand-2: #d89a05;
  --signal: #65d3c4;
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 202, 31, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 202, 31, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, #0a0b0d 0%, #111316 42%, #0a0b0d 100%);
  background-size: 76px 76px, 76px 76px, auto;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 202, 31, 0.10), transparent 30%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  opacity: 0.62;
  z-index: -1;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #171206;
  font-weight: 900;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(14px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-color: var(--line);
  background: rgba(10, 11, 13, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 202, 31, 0.48);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.nav-menu,
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.footer-nav a,
.footer-contact a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 19, 22, 0.9);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--brand);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - 138px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.96) 0%, rgba(10, 11, 13, 0.78) 44%, rgba(10, 11, 13, 0.32) 100%),
    linear-gradient(0deg, rgba(10, 11, 13, 0.86), rgba(10, 11, 13, 0.08) 58%);
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(86px, 12vw, 150px) 0 clamp(58px, 9vw, 96px);
  position: relative;
  z-index: 1;
  max-width: 820px;
  justify-self: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4.3rem, 14vw, 11rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.large-copy {
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  max-width: 720px;
}

.hero-actions,
.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--brand);
  color: #15120a;
  box-shadow: 0 12px 32px rgba(255, 202, 31, 0.20);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  color: var(--text);
}

.nav-cta {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.section-pad {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 84px);
}

.section-heading {
  width: var(--container);
  margin: 0 auto 38px;
  max-width: 900px;
}

.section-heading.compact {
  max-width: 980px;
}

.local-heading {
  width: auto;
  margin: 0;
}

.align-start {
  align-items: start;
}

.problem-grid,
.service-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid article,
.service-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.card-icon,
.service-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--brand);
  font-weight: 900;
  font-size: 0.86rem;
}

.problem-grid p,
.service-card p,
.timeline p,
.about-copy p,
.facts-list dd,
.contact-copy p,
.site-footer p,
.form-note,
.form-status {
  color: var(--muted);
}

.services {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

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

.service-card {
  min-height: 252px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0.56;
}

.method {
  background:
    linear-gradient(90deg, rgba(255, 202, 31, 0.06), transparent 42%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.timeline {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline article {
  min-height: 250px;
  padding: 22px;
  background: rgba(10, 11, 13, 0.42);
}

.timeline article + article {
  border-left: 1px solid var(--line);
}

.timeline span {
  display: block;
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 56px;
}

.about {
  border-bottom: 1px solid var(--line);
}

.about-copy {
  max-width: 650px;
}

.facts-list {
  margin: 30px 0 0;
  display: grid;
  gap: 12px;
}

.facts-list div {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.facts-list dt {
  color: var(--text);
  font-weight: 900;
}

.facts-list dd {
  margin: 0;
}

.cta {
  width: var(--container);
  margin: 0 auto;
  justify-content: space-between;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 202, 31, 0.18), transparent 45%),
    var(--surface-2);
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-copy {
  max-width: 560px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-links a,
.contact-links span,
.footer-contact a {
  color: var(--brand);
  overflow-wrap: anywhere;
}

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

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 6, 7, 0.62);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
}

.contact-form textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note,
.form-status {
  margin: -4px 0 0;
  font-size: 0.88rem;
}

.form-status.success {
  color: var(--signal);
}

.form-status.error {
  color: #ffad8d;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 44px 0 94px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-about p {
  max-width: 360px;
  margin: 16px 0 0;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-nav {
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 202, 31, 0.12);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.social-links path {
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #15120a;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

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

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

.privacy-page .site-header {
  position: static;
}

.privacy-page .site-nav {
  flex-wrap: wrap;
}

.privacy-page .nav-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.privacy-main {
  width: var(--container);
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(76px, 10vw, 126px) 0;
}

.privacy-main h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
}

.privacy-main section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.privacy-main li {
  margin-bottom: 8px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .section-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .service-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline article + article {
    border-left: 0;
  }

  .timeline article {
    border-top: 1px solid var(--line);
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }

  .site-nav {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(12, 13, 15, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .privacy-page .nav-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links {
    display: grid;
    gap: 2px;
  }

  .nav-links a,
  .nav-cta {
    min-height: 46px;
    padding: 11px 10px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: calc(100svh - 118px);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 11, 13, 0.97), rgba(10, 11, 13, 0.76)),
      linear-gradient(0deg, rgba(10, 11, 13, 0.88), rgba(10, 11, 13, 0.18));
  }

  h1 {
    font-size: clamp(3.6rem, 20vw, 6.4rem);
  }

  .hero-actions,
  .cta {
    align-items: stretch;
  }

  .btn,
  .floating-cta {
    width: 100%;
  }

  .problem-grid,
  .service-grid,
  .timeline,
  .footer-grid,
  .facts-list div {
    grid-template-columns: 1fr;
  }

  .facts-list div {
    gap: 4px;
  }

  .cta {
    display: grid;
  }

  .site-footer {
    padding-bottom: 102px;
  }

  .footer-bottom {
    display: grid;
  }

  .floating-cta {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

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