@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --paper: #141817;
  --panel: #1c211f;
  --ink: #f5f2ea;
  --muted: #bdc4bd;
  --accent: #ffc480;
  --line: #404741;
  font-family: 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
p { margin: 0; line-height: 1.65; color: var(--muted); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.8vw, 3.95rem); line-height: 1.04; letter-spacing: -.048em; }
h3 { font-size: 1.28rem; letter-spacing: -.025em; }
.wrap { width: min(100% - 3rem, 1180px); margin-inline: auto; }
.skip { position: fixed; top: 1rem; left: 1rem; transform: translateY(-200%); color: #161810; background: var(--accent); padding: 1rem; z-index: 5; }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: 86px; }
.brand { width: fit-content; }
.brand img { width: 105px; height: auto; filter: invert(1); }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); font-size: .92rem; }
nav a:hover, .header-phone:hover, .contact-mail:hover, .footer a:hover { color: var(--accent); }
.header-phone { justify-self: end; white-space: nowrap; font-weight: 600; }
.hero {
  background: linear-gradient(90deg, #0a100eea 0%, #0a100ea3 40%, #0a100e12 88%),
    url('/assets/hero.webp') center 62% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-inner { min-height: min(680px, 80svh); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(3.5rem, 7svh, 6rem); }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; margin-bottom: 1.2rem; }
h1 { max-width: 850px; font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; line-height: .99; letter-spacing: -.06em; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 510px; color: #eeeee7; font-size: clamp(1rem, 1.6vw, 1.2rem); margin-top: 1.65rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.1rem; min-height: 49px; padding: .75rem 1.1rem; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: #1b1b15; font-size: .93rem; font-weight: 600; }
.button:hover { background: #ffdaa8; }
.secondary { border-color: #a1a79d; background: #141817a0; color: var(--ink); }
.secondary:hover { border-color: var(--accent); background: var(--panel); color: var(--accent); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-heading { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.35rem; }
.section-heading > p { max-width: 430px; justify-self: end; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.services article { padding: clamp(1.25rem, 3vw, 2.15rem); background: var(--panel); }
.symbol {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.65rem;
  border: 1px solid #76634f;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffc48014, #ffc48004);
  color: var(--accent);
}
.services p, .steps p { margin-top: .75rem; font-size: .94rem; }
.approach { padding-block: clamp(2.5rem, 5vw, 4.5rem); background: #222821; border-block: 1px solid var(--line); }
.approach-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.approach img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.approach-copy p:not(.eyebrow) { margin-top: 1rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.45rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { border-top: 1px solid var(--line); padding-top: 1.4rem; counter-increment: step; }
.steps li::before { display: block; margin-bottom: 1.5rem; color: var(--accent); font: .95rem ui-monospace, monospace; content: counter(step, decimal-leading-zero); }
.contacts { border-top: 1px solid var(--line); background: var(--panel); padding-block: clamp(3rem, 7vw, 6rem); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.contact-layout h2 + p { margin-top: 1rem; }
address { margin-block: 1.5rem; font-style: normal; }
address a { display: block; width: fit-content; }
address p { margin-top: .7rem; }
.contact-phone { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 600; color: var(--accent); }
.contact-mail { margin-top: .5rem; text-decoration: underline; text-underline-offset: .25em; }
.map { width: 100%; height: 390px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem 1rem; padding-block: 1.4rem; color: var(--muted); font-size: .87rem; }
.footer-inner > a { justify-self: end; }
.footer-details { text-align: center; }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-details { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 850px) {
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .header-inner { grid-template-columns: auto 1fr auto; }
  nav { justify-content: center; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 2rem, 1180px); }
  .header-inner { grid-template-columns: 1fr auto; gap: .6rem; padding-block: .65rem .9rem; }
  .brand img { width: 85px; }
  .header-phone { grid-column: 2; grid-row: 1; font-size: .9rem; }
  nav { grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .75rem; }
  .hero { background-position: 65% center; }
  .hero-inner { min-height: 540px; padding-block: 4.5rem; }
  .section-heading, .approach-inner, .contact-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .section-heading > p { justify-self: start; }
  .map { height: 330px; }
}
@media (max-width: 460px) {
  .services, .steps { grid-template-columns: 1fr; }
  .symbol, .steps li::before { margin-bottom: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
