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

:root {
  --ink: #101513;
  --ink-2: #1b2420;
  --paper: #f4f5f0;
  --white: #ffffff;
  --mint: #40e0bd;
  --mint-dark: #159f83;
  --muted: #6e746f;
  --line: #d9ddd7;
  --wide: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wide-container { width: min(calc(100% - 64px), var(--wide)); margin-inline: auto; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; color: var(--ink); background: var(--mint); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(244, 245, 240, .94); backdrop-filter: blur(14px); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(16, 21, 19, .08); }
.header-row { display: grid; min-height: 86px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 11px; }
.brand-box { display: grid; width: 42px; height: 42px; place-items: center; color: var(--ink); background: var(--mint); font-family: "Oswald", Impact, sans-serif; font-size: 24px; font-weight: 700; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.brand-word { font-family: "Oswald", Impact, sans-serif; font-size: 24px; font-weight: 700; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.brand-word span { color: var(--mint-dark); }
.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav a { position: relative; color: #474d49; font-size: 13px; font-weight: 700; }
.main-nav a::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; background: var(--mint-dark); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.phone-link { display: flex; align-items: flex-end; flex-direction: column; justify-self: end; line-height: 1.15; }
.phone-caption { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.phone-link strong { margin-top: 5px; font-family: "Oswald", Impact, sans-serif; font-size: 18px; letter-spacing: .03em; }

.hero { padding: 28px 0 0; }
.hero-grid { display: grid; min-height: 660px; grid-template-columns: .92fr 1.08fr; }
.hero-copy { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: 72px clamp(42px, 6vw, 96px) 72px 0; }
.micro-label { display: inline-flex; align-items: center; gap: 11px; margin: 0 0 25px; color: var(--mint-dark); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.micro-label span { width: 30px; height: 2px; background: currentColor; }
.hero h1, .catalog h2, .process h2, .olx-copy h2, .contacts h2 { margin: 0; font-family: "Oswald", Impact, sans-serif; font-weight: 600; letter-spacing: -.025em; line-height: .98; text-transform: uppercase; }
.hero h1 { font-size: clamp(68px, 7.8vw, 124px); }
.hero h1 em { color: var(--mint-dark); font-style: normal; }
.hero-lead { max-width: 580px; margin: 34px 0 0; color: #606762; font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid transparent; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover, .button-dark:focus-visible { background: var(--mint-dark); }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid #aeb3af; font-size: 12px; font-weight: 800; line-height: 2.2; text-transform: uppercase; }
.text-link i { color: var(--mint-dark); }

.hero-visual { position: relative; min-height: 660px; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 10, 9, .72) 100%); }
.vin-stamp { position: absolute; top: 38px; left: 38px; display: flex; width: 142px; height: 142px; align-items: center; flex-direction: column; justify-content: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: var(--white); background: rgba(16,21,19,.2); backdrop-filter: blur(8px); text-align: center; }
.vin-stamp span, .vin-stamp small { font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vin-stamp strong { margin: 2px 0; color: var(--mint); font-family: "Oswald", Impact, sans-serif; font-size: 40px; line-height: 1; }
.olx-corner { position: absolute; right: 0; bottom: 0; display: grid; min-width: 220px; min-height: 130px; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: end; padding: 25px 30px; color: var(--ink); background: var(--mint); }
.olx-corner span { grid-column: 1 / -1; align-self: start; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.olx-corner strong { font-family: "Oswald", Impact, sans-serif; font-size: 50px; line-height: 1; }
.olx-corner i { align-self: center; font-size: 18px; transform: rotate(45deg); }
.olx-corner:hover i { transform: rotate(45deg) translateY(-4px); }

.service-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: 0; background: var(--white); }
.service-strip div { display: flex; min-height: 82px; align-items: center; gap: 18px; padding: 0 26px; }
.service-strip div + div { border-left: 1px solid var(--line); }
.service-strip strong { color: var(--mint-dark); font-family: "Oswald", Impact, sans-serif; font-size: 14px; }
.service-strip span { font-size: 12px; font-weight: 800; text-transform: uppercase; }

.section { padding-block: 130px; }
.catalog-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(540px, 1.3fr); gap: clamp(70px, 10vw, 160px); }
.catalog-intro { position: sticky; top: 130px; align-self: start; }
.catalog h2 { max-width: 540px; font-size: clamp(52px, 5.3vw, 82px); }
.catalog-intro > p:not(.micro-label) { max-width: 470px; margin: 30px 0; color: var(--muted); }
.button-outline { border-color: var(--ink); }
.button-outline:hover, .button-outline:focus-visible { color: var(--white); background: var(--ink); }
.category-list { border-top: 1px solid var(--ink); }
.category-row { display: grid; min-height: 168px; grid-template-columns: 52px 1fr 54px; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.category-row:hover { padding-inline: 22px; background: var(--white); }
.category-number { color: var(--mint-dark); font-family: "Oswald", Impact, sans-serif; font-size: 14px; }
.category-row h3 { margin: 0 0 9px; font-family: "Oswald", Impact, sans-serif; font-size: clamp(26px, 2.4vw, 38px); font-weight: 600; text-transform: uppercase; }
.category-row p { margin: 0; color: var(--muted); font-size: 14px; }
.category-icon { justify-self: end; color: #a4aaa5; font-size: 28px; }
.category-row:hover .category-icon { color: var(--mint-dark); }

.process { color: var(--white); background: var(--ink); }
.micro-label-light { color: var(--mint); }
.process-head { display: grid; grid-template-columns: .6fr 1.15fr .65fr; align-items: end; gap: 60px; }
.process-head .micro-label { margin: 0; align-self: start; }
.process h2 { max-width: 760px; font-size: clamp(54px, 6vw, 90px); }
.process-head > p:last-child { margin: 0; color: rgba(255,255,255,.55); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 76px; border: 1px solid rgba(255,255,255,.16); }
.step { position: relative; min-height: 350px; padding: 38px; overflow: hidden; }
.step + .step { border-left: 1px solid rgba(255,255,255,.16); }
.step-index { position: absolute; top: 22px; right: 28px; color: rgba(255,255,255,.16); font-family: "Oswald", Impact, sans-serif; font-size: 80px; line-height: 1; }
.step > i { display: grid; width: 58px; height: 58px; place-items: center; color: var(--ink); background: var(--white); font-size: 20px; }
.step h3 { margin: 100px 0 14px; font-family: "Oswald", Impact, sans-serif; font-size: 30px; font-weight: 600; text-transform: uppercase; }
.step p { max-width: 360px; margin: 0; color: rgba(255,255,255,.58); }
.step-accent { color: var(--ink); background: var(--mint); }
.step-accent + .step { border-left: 0; }
.step-accent .step-index { color: rgba(16,21,19,.14); }
.step-accent > i { color: var(--white); background: var(--ink); }
.step-accent p { color: rgba(16,21,19,.66); }

.olx-section { padding-block: 36px; background: var(--ink); }
.olx-panel { position: relative; display: grid; min-height: 310px; grid-template-columns: .8fr 1.2fr auto; align-items: center; gap: 60px; padding: 45px 60px; background: var(--mint); overflow: hidden; }
.olx-word { color: var(--ink); font-family: "Oswald", Impact, sans-serif; font-size: clamp(120px, 15vw, 220px); font-weight: 700; letter-spacing: -.08em; line-height: .8; opacity: .08; }
.olx-copy { position: relative; z-index: 2; }
.olx-copy .micro-label { margin-bottom: 18px; color: var(--ink); }
.olx-copy h2 { max-width: 670px; font-size: clamp(45px, 5vw, 76px); }
.olx-copy p:last-child { max-width: 520px; margin: 22px 0 0; }
.olx-button { position: relative; z-index: 2; display: flex; width: 168px; height: 168px; align-items: center; flex-direction: column; justify-content: center; gap: 13px; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; transition: transform .25s ease; }
.olx-button i { transform: rotate(45deg); }
.olx-button:hover, .olx-button:focus-visible { transform: scale(1.06); }

.contacts { background: var(--white); }
.contacts-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.contacts h2 { max-width: 650px; font-size: clamp(58px, 6vw, 92px); }
.contact-lines { border-top: 1px solid var(--ink); }
.contact-line { display: grid; min-height: 140px; grid-template-columns: 120px 1fr auto; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.contact-line > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-line a { font-family: "Oswald", Impact, sans-serif; font-size: clamp(28px, 3.2vw, 48px); font-weight: 600; line-height: 1.1; }
.contact-line i { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--mint-dark); font-size: 15px; }
.contact-line:hover i { color: var(--ink); background: var(--mint); }

.site-footer { color: rgba(255,255,255,.55); background: var(--ink); }
.footer-row { display: grid; min-height: 132px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.brand-footer .brand-word { color: var(--white); }
.footer-row p { margin: 0; font-size: 12px; }
.footer-row p:last-child { justify-self: end; }
.floating-phone { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: none; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); background: var(--mint); box-shadow: 0 14px 35px rgba(0,0,0,.2); }

@media (max-width: 1080px) {
  .header-row { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero-grid { min-height: 580px; grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-right: 44px; }
  .hero-visual { min-height: 580px; }
  .hero h1 { font-size: clamp(60px, 8vw, 88px); }
  .catalog-layout { gap: 70px; }
  .process-head { grid-template-columns: 1fr 1.6fr; }
  .process-head > p:last-child { grid-column: 2; }
  .olx-panel { grid-template-columns: 1fr auto; }
  .olx-word { position: absolute; left: 30px; }
  .olx-copy { padding-left: 20px; }
}

@media (max-width: 780px) {
  .wide-container { width: min(calc(100% - 34px), var(--wide)); }
  .header-row { min-height: 72px; }
  .brand-box { width: 36px; height: 36px; font-size: 21px; }
  .brand-word { font-size: 20px; }
  .phone-caption, .phone-link strong { display: none; }
  .phone-link { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); }
  .phone-link::before { color: var(--mint-dark); font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f095"; }
  .hero { padding-top: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 560px; padding: 70px 12px 64px; }
  .hero h1 { font-size: clamp(58px, 16vw, 86px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 500px; }
  .vin-stamp { top: 22px; left: 22px; width: 120px; height: 120px; }
  .service-strip { grid-template-columns: 1fr 1fr; }
  .service-strip div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .service-strip div:nth-child(4) { border-top: 1px solid var(--line); }
  .service-strip div { min-height: 70px; padding-inline: 16px; }
  .service-strip span { font-size: 10px; }
  .section { padding-block: 86px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 58px; }
  .catalog-intro { position: static; }
  .catalog h2, .process h2, .contacts h2 { font-size: clamp(48px, 14vw, 68px); }
  .category-row { grid-template-columns: 38px 1fr 32px; gap: 15px; }
  .category-row p { font-size: 12px; }
  .process-head { grid-template-columns: 1fr; gap: 28px; }
  .process-head > p:last-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; margin-top: 50px; }
  .step { min-height: 290px; }
  .step + .step { border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .step h3 { margin-top: 70px; }
  .olx-panel { min-height: 440px; grid-template-columns: 1fr; gap: 35px; padding: 44px 30px; }
  .olx-copy { padding: 0; }
  .olx-copy h2 { font-size: clamp(46px, 13vw, 68px); }
  .olx-button { width: 140px; height: 140px; justify-self: end; }
  .contacts-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-line { grid-template-columns: 1fr auto; gap: 10px; padding-block: 24px; }
  .contact-line > span { grid-column: 1 / -1; }
  .contact-line a { overflow-wrap: anywhere; }
  .footer-row { grid-template-columns: 1fr; align-items: start; gap: 14px; padding-block: 35px; }
  .footer-row p:last-child { justify-self: start; }
  .floating-phone { display: flex; }
}

@media (max-width: 480px) {
  .hero-copy { min-height: 525px; padding-top: 58px; }
  .hero-actions, .button { width: 100%; }
  .text-link { width: auto; }
  .hero-visual { min-height: 430px; }
  .olx-corner { min-width: 185px; min-height: 112px; padding: 20px 24px; }
  .olx-corner strong { font-size: 42px; }
  .service-strip { grid-template-columns: 1fr; }
  .service-strip div + div { border-top: 1px solid var(--line); border-left: 0; }
  .category-row { min-height: 150px; }
  .category-icon { font-size: 22px; }
  .contact-line a { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
