@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/outfit-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/outfit-400-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/outfit-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/outfit-500-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/outfit-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/outfit-600-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/outfit-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/outfit-700-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #16181c;
  --bg-elevated: #1e2127;
  --bg-steel: #262b33;
  --text: #eceef1;
  --text-muted: #a8b0ba;
  --accent: #c43c2c;
  --accent-hover: #d44a39;
  --accent-text: #fff8f6;
  --border: #323844;
  --nav: #121418;
  --shadow: 0 18px 40px rgb(12 14 18 / 0.35);
  --radius: 4px;
  --z-nav: 40;
  --z-menu: 50;
  --z-lightbox: 60;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1400px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #eceef1;
    --bg-elevated: #f6f7f8;
    --bg-steel: #dfe3e8;
    --text: #1a1d22;
    --text-muted: #4e5661;
    --accent: #b33326;
    --accent-hover: #c43c2c;
    --accent-text: #fff8f6;
    --border: #c8ced6;
    --nav: #f3f4f6;
    --shadow: 0 16px 36px rgb(26 29 34 / 0.1);
    color-scheme: light;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.05rem;
}

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

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: calc(var(--z-lightbox) + 1);
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}

.skip:focus {
  top: 1rem;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: -0.18em;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap {
    width: min(var(--max), calc(100% - 4rem));
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: 72px;
  background: var(--nav);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

.logo::before {
  content: "";
  width: 3px;
  height: 1.15rem;
  background: var(--accent);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links a.nav-ext {
  color: var(--accent-text);
  background: var(--accent);
}

.nav-links a.nav-ext:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: rgb(18 20 24 / 0.72);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.menu[hidden] {
  display: none !important;
}

.menu.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  width: min(22rem, 100%);
  height: 100%;
  background: var(--bg-elevated);
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateX(8%);
  transition: transform 0.35s var(--ease);
}

.menu.is-open .menu-panel {
  transform: none;
}

.menu-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu a {
  text-decoration: none;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.15rem;
  font-weight: 500;
}

.menu a:last-of-type {
  border-bottom: 0;
  margin-top: 0.5rem;
  background: var(--accent);
  color: var(--accent-text);
  text-align: center;
  border-radius: var(--radius);
}

@media (prefers-reduced-motion: reduce) {
  .menu,
  .menu-panel {
    transition: none;
  }
}

.hero {
  display: grid;
  min-height: 100dvh;
}

.hero-copy,
.hero-media {
  grid-area: 1 / 1;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100dvh;
  padding: 5.5rem 1rem 2.25rem;
  width: 100%;
  background: linear-gradient(to top, var(--bg) 12%, rgb(22 24 28 / 0.08) 58%, transparent 78%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 8vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 14ch;
}

.hero p {
  margin: 0.85rem 0 0;
  max-width: 36ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero-media {
  min-height: 100%;
  position: relative;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-media img {
  min-height: 100dvh;
  object-fit: cover;
  object-position: 55% 30%;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(22rem, 0.92fr) 1.18fr;
  }

  .hero-copy,
  .hero-media {
    grid-area: auto;
  }

  .hero-copy {
    justify-content: center;
    padding: 6rem 2rem 3rem 0;
    width: auto;
    margin-left: max(2rem, calc((100vw - var(--max)) / 2));
    max-width: 36rem;
    background: none;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
  }

  .hero p {
    margin-top: 1.1rem;
    font-size: 1.1rem;
  }

  .hero-media img {
    min-height: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
}

.section {
  padding: 5rem 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-lead {
  margin: 0.9rem 0 0;
  max-width: 65ch;
  color: var(--text-muted);
}

.sell-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.cell {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
}

.cell h3 {
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.cell ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cell li {
  padding: 0.45rem 0;
  color: var(--text-muted);
}

.cell li + li {
  border-top: 1px solid var(--border);
}

.cell-steel {
  background: var(--bg-steel);
}

.cell-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

.cell-accent h3,
.cell-accent li {
  color: var(--accent-text);
}

.cell-accent li + li {
  border-top-color: rgb(255 248 246 / 0.22);
}

@media (min-width: 768px) {
  .sell-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.repair {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.repair h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.repair-grid {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.repair-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0 0.75rem 0.9rem;
  border-left: 2px solid var(--accent);
  font-weight: 500;
}

@media (min-width: 768px) {
  .repair-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.trust {
  margin: 2.25rem 0 0;
  max-width: 70ch;
  font-size: 1.15rem;
  line-height: 1.55;
}

.trust strong {
  font-weight: 600;
  color: var(--text);
}

.mosaic {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.mosaic button {
  padding: 0;
  border: 0;
  background: var(--bg-steel);
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 16rem;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.mosaic button:hover img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .mosaic {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 18rem 18rem;
  }

  .mosaic-main {
    grid-row: 1 / 3;
    min-height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mosaic img,
  .btn {
    transition: none;
  }

  .mosaic button:hover img {
    transform: none;
  }
}

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

.vcard {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.vcard h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.role {
  margin: 0.2rem 0 1.1rem;
  color: var(--text-muted);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.45rem 0;
  text-decoration: none;
  font-weight: 500;
}

.contact-line:hover {
  color: var(--accent-hover);
}

.legal {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.legal p {
  margin: 0.2rem 0;
  color: var(--text-muted);
}

#map {
  min-height: 22rem;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-steel);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: minmax(18rem, 0.9fr) 1.2fr;
    min-height: 26rem;
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

body.lightbox-open .site-header,
body.menu-open .site-header {
  visibility: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: rgb(12 14 18 / 0.97);
  display: grid;
  place-items: center;
  padding: 4.5rem 1rem 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox.is-open {
  display: grid;
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-height: min(86dvh, 900px);
  max-width: min(92vw, 1200px);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(18 20 24 / 0.7);
  color: #eceef1;
  border-radius: var(--radius);
  cursor: pointer;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #c8ced6;
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lightbox {
    transition: none;
  }
}
