:root {
  --red: #B71B1C;
  --red-dark: #8E1516;
  --ink: #252525;
  --muted: #656565;
  --steel: #8A8F93;
  --paper: #F6F7F2;
  --soft: #F1F1EC;
  --line: #E3E2DC;
  --white: #FFFFFF;
  --black: #171717;
  --max: 1500px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--red);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 56px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand__symbol { width: 54px; height: 54px; }
.brand__text {
  display: grid;
  line-height: 0.9;
  text-transform: uppercase;
}
.brand__text span {
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.brand__text strong {
  color: var(--red);
  font-size: 2rem;
  letter-spacing: 0.08em;
}
.main-nav {
  justify-self: center;
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  font-size: 0.92rem;
  font-weight: 850;
}
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--red); }
.phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
  text-decoration: none;
}
.phone-button:hover { background: var(--red-dark); }
.nav-toggle { display: none; }

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(560px, 1.1fr);
  min-height: 345px;
}
.hero-copy {
  padding: clamp(52px, 6vw, 72px) clamp(28px, 6vw, 72px) clamp(40px, 5vw, 58px) 0;
}
.red-line {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--red);
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(42px, 5.1vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 900;
}
h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 900;
}
h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.16;
  font-weight: 900;
}
p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.hero-copy p {
  max-width: 530px;
  margin-top: 18px;
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
}
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-outline { color: var(--red); background: var(--white); border-color: var(--red); }
.button-outline:hover { color: var(--white); background: var(--red); }

.hero-media {
  position: relative;
  min-height: 345px;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  background: var(--soft);
  overflow: hidden;
}
.info-card {
  position: relative;
  z-index: 2;
  width: 280px;
  margin-left: 42px;
  padding: 18px 24px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 22px 60px rgba(0,0,0,0.08);
}
.info-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-icon {
  color: var(--red);
  font-size: 1.25rem;
  line-height: 1;
}
.info-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.73rem;
  letter-spacing: 0.02em;
}
.info-row span {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.25;
}
.photo {
  min-height: 100%;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}
.photo-lock {
  position: absolute;
  inset: 0 0 0 250px;
  background-image:
    linear-gradient(90deg, rgba(246,247,242,0.94) 0%, rgba(246,247,242,0.35) 24%, rgba(0,0,0,0.06) 100%),
    radial-gradient(circle at 63% 34%, #f0e4cf 0 5%, #3d3831 6% 8%, #d9c198 9% 13%, #2e2c2a 14% 17%, transparent 18%),
    linear-gradient(90deg, #2e2923 0 8%, #605747 9% 15%, #1e1d1b 16% 25%, #8c7560 26% 32%, #2b2825 33% 45%, #6b4f3d 46% 100%);
}
.photo-lock::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 30%;
  width: 210px;
  height: 18px;
  background: linear-gradient(90deg, #191817, #d7c19b 25%, #181716 50%, #d9c29c 70%, #111);
  border-radius: 999px;
  transform: rotate(-8deg);
  filter: blur(0.2px);
  opacity: 0.96;
}

.needs {
  padding: 26px 0 36px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.section-title-centered {
  text-align: center;
  display: grid;
  justify-items: center;
  margin-bottom: 24px;
}
.section-title-centered .red-line { margin-bottom: 14px; }
.section-title h2 { font-size: clamp(24px, 2.1vw, 34px); }
.section-title p { max-width: 520px; margin-top: 12px; }
.needs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.need-item {
  min-height: 140px;
  padding: 18px 30px 10px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.need-item:first-child { border-left: 0; }
.need-icon {
  display: block;
  min-height: 34px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 2.4rem;
  line-height: 0.9;
}
.need-item h3 { max-width: 180px; margin: 0 auto 8px; }
.need-item p {
  max-width: 190px;
  margin: 0 auto;
  color: #4e4e4e;
  font-size: 0.8rem;
  line-height: 1.35;
}

.feature-cards {
  padding: 0 0 8px;
  background: var(--paper);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  min-height: 175px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.feature-card__content {
  padding: 24px 24px 18px;
}
.feature-card h2 {
  font-size: clamp(24px, 2.1vw, 34px);
}
.feature-card p {
  margin-top: 12px;
  max-width: 230px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.feature-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}
.photo-cylinder {
  background-image:
    radial-gradient(circle at 48% 46%, #d4cab5 0 10%, #3b382f 11% 14%, #d9d0bd 15% 22%, #222 23% 26%, transparent 27%),
    linear-gradient(90deg, #e7e0d1 0%, #8c8370 35%, #d5c6a6 50%, #282620 75%, #f1eee6 100%);
}
.photo-portal {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.06), rgba(255,255,255,0.2)),
    repeating-linear-gradient(90deg, #b97955 0 12px, #9b5c40 13px 15px),
    linear-gradient(90deg, #2a2520 46%, #776b5c 47% 54%, #1b1918 55% 100%);
}
.photo-car {
  background-image:
    radial-gradient(circle at 42% 44%, #202020 0 16%, #555 17% 18%, transparent 19%),
    radial-gradient(circle at 62% 32%, #191919 0 19%, #606060 20% 21%, transparent 22%),
    linear-gradient(135deg, #d9d7d1, #8d8b86 38%, #2e2d2a 39%, #151515 63%, #d9d5c9 64%);
}

.services-list {
  padding: 72px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.services-list__layout {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 64px;
}
.service-table {
  display: grid;
  border-top: 1px solid var(--ink);
}
.service-table article {
  display: grid;
  grid-template-columns: 52px 0.42fr 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-table span {
  color: var(--red);
  font-weight: 950;
}
.service-table p { font-size: 0.96rem; }

.process {
  color: var(--white);
  background: linear-gradient(90deg, #151515, #2e2e2e);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.process-step {
  min-height: 116px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 28px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.process-step:first-child { border-left: 0; }
.process-step > span {
  color: var(--red);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}
.process-step h2 {
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.process-step p {
  max-width: 220px;
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

.faq {
  padding: 72px 0;
  background: var(--paper);
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 64px;
}
.faq-items {
  display: grid;
  border-top: 1px solid var(--ink);
}
.faq-items details { border-bottom: 1px solid var(--line); }
.faq-items summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 900;
  list-style: none;
}
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items p {
  max-width: 760px;
  margin: -4px 0 22px;
}

.contact {
  padding: 36px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
}
.contact-brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-brand img { width: 72px; }
.contact-brand h2 { font-size: 1.65rem; }
.contact-brand p { max-width: 330px; margin-top: 10px; font-size: 0.9rem; }
.footer-nav,
.contact address {
  display: grid;
  align-content: start;
  gap: 9px;
  font-style: normal;
}
.footer-nav h3,
.contact address h3 { margin-bottom: 6px; }
.footer-nav a,
.contact address a {
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-nav a:hover,
.contact address a:hover { color: var(--red); }
.contact address span { color: var(--ink); font-size: 0.9rem; }

.site-footer {
  padding: 18px 0;
  color: var(--white);
  background: var(--red);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-size: 0.82rem;
}
.footer-bottom nav {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 1180px) {
  .main-nav { gap: 18px; font-size: 0.86rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 0; }
  .hero-media { min-height: 340px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr 0.8fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .header-layout { grid-template-columns: auto auto; min-height: 72px; }
  .phone-button { display: none; }
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: var(--white);
    font: inherit;
    font-weight: 900;
  }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 10px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero-media { grid-template-columns: 1fr; padding: 24px 0; }
  .photo-lock { inset: 0; opacity: 0.28; }
  .info-card { margin: 0 0 0 24px; }
  .needs-grid { grid-template-columns: repeat(2, 1fr); }
  .need-item { border-top: 1px solid var(--line); }
  .need-item:nth-child(odd) { border-left: 0; }
  .services-list__layout,
  .faq-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-table article { grid-template-columns: 46px 1fr; }
  .service-table p { grid-column: 2; }
}

@media (max-width: 640px) {
  .brand__symbol { width: 44px; height: 44px; }
  .brand__text span { font-size: 0.78rem; }
  .brand__text strong { font-size: 1.5rem; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-copy { padding-top: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .info-card { width: auto; margin-inline: 16px; }
  .needs-grid { grid-template-columns: 1fr; }
  .need-item { border-left: 0; }
  .feature-card { grid-template-columns: 1fr; }
  .photo-cylinder,
  .photo-portal,
  .photo-car { min-height: 160px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
