:root {
  --bg: #08090b;
  --bg-2: #111317;
  --panel: #171a20;
  --panel-2: #20242b;
  --text: #f5f7fb;
  --muted: #b5bbc6;
  --line: rgba(255, 255, 255, .12);
  --red: #e11f2a;
  --red-2: #b70f18;
  --white: #fff;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--red);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

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

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-dark {
  background:
    radial-gradient(circle at 18% 14%, rgba(225, 31, 42, .24), transparent 30%),
    linear-gradient(135deg, #07080a 0%, #12151b 62%, #07080a 100%);
}

.section-dark-soft {
  background: linear-gradient(180deg, #101217 0%, #08090b 100%);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head h2,
.two-col h2,
.contact h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(225, 31, 42, .25);
}

.btn-red:hover,
.btn-red:focus-visible {
  background: var(--red-2);
}

.btn-dark {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line);
  color: var(--white);
}

.btn-sm {
  min-height: 40px;
  padding: 10px 15px;
  font-size: .92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 11, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  width: 148px;
}

.brand img {
  width: 148px;
  max-height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  flex: 1;
}

.site-nav a {
  color: #dde1e8;
  font-size: .95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  color: var(--white);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, .98) 0%, rgba(8, 9, 11, .78) 46%, rgba(8, 9, 11, .35) 100%),
    url("../img/photos/hero-garage-service.jpg") center right / cover no-repeat;
  opacity: .58;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 72px 0;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(2.45rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-text {
  max-width: 670px;
  margin: 0;
  color: #d4d8df;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span {
  border: 1px solid rgba(225, 31, 42, .44);
  background: rgba(225, 31, 42, .12);
  padding: 9px 12px;
  border-radius: 999px;
  color: #ffe8ea;
  font-size: .92rem;
  font-weight: 800;
}

.hero-media {
  position: relative;
}

.hero-media img,
.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 3px solid var(--red);
  border-radius: var(--radius);
  z-index: -1;
}

.hero-card {
  position: absolute;
  left: -22px;
  bottom: 22px;
  max-width: min(280px, calc(100% - 32px));
  padding: 16px;
  background: rgba(12, 14, 18, .92);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card span {
  color: var(--muted);
  font-size: .94rem;
}

.icon-strip {
  background: #111318;
  border-block: 1px solid var(--line);
  padding: 20px 0;
}

.icon-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.icon-strip article {
  min-height: 116px;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  padding: 16px 10px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.icon-strip svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-strip span {
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.25;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.two-col p {
  color: #d0d5de;
}

.feature-grid,
.card-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.service-card,
.why-grid article,
.faq-item,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-grid article {
  min-height: 150px;
  padding: 22px;
}

.feature-grid strong,
.feature-grid span {
  display: block;
}

.feature-grid strong {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.feature-grid span,
.service-card p,
.sales-card p,
.faq-panel p,
.contact-card span,
.site-footer p,
.site-footer span {
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 235px;
  padding: 22px;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--red);
}

.service-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.2;
}

.service-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--red);
  font-weight: 900;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.steps article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: start;
  padding: 16px;
  background: #111318;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.steps strong {
  line-height: 1.25;
}

.steps p {
  margin: 2px 0 0;
}

.sales-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.sales-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.sales-card.large {
  grid-row: span 2;
}

.sales-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  opacity: .78;
  transition: transform .35s ease, opacity .35s ease;
}

.sales-card:hover img,
.gallery-grid img:hover {
  transform: scale(1.04);
  opacity: .95;
}

.sales-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86));
}

.sales-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.sales-card p {
  margin: 0;
}

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

.why-grid article {
  min-height: 116px;
  display: flex;
  align-items: center;
  padding: 20px;
  color: var(--white);
  font-weight: 900;
  border-left: 4px solid var(--red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .35s ease, opacity .35s ease;
}

.gallery-grid img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

.narrow {
  width: min(calc(100% - 32px), 880px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  color: var(--text);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--red);
  font-size: 1.45rem;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
}

.faq-item.is-open .faq-panel p {
  padding-bottom: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(26px, 4vw, 58px);
  align-items: center;
}

.contact-grid p {
  color: #d0d5de;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  font-style: normal;
  border-left: 4px solid var(--red);
}

.contact-card strong {
  font-size: 1.3rem;
}

.contact-card a {
  width: max-content;
  max-width: 100%;
  color: var(--red);
  font-weight: 900;
}

.site-footer {
  background: #050607;
  border-top: 1px solid var(--line);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer img {
  width: 160px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--red);
}

.footer-bottom {
  width: min(calc(100% - 32px), var(--max));
  margin: 34px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .38);
}

.whatsapp-float svg {
  width: 33px;
  height: 33px;
  fill: var(--white);
}

@media (max-width: 1080px) {
  .header-actions .header-phone {
    display: none;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-grid,
  .icon-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    flex: 0 0 44px;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(10, 11, 14, .98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .site-nav a:hover {
    background: rgba(225, 31, 42, .12);
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 56px 0 66px;
  }

  .hero-media {
    max-width: 560px;
  }

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

  .sales-card.large {
    grid-column: span 2;
  }

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

@media (max-width: 700px) {
  .hero h1,
  .hero-text,
  .hero-badges span {
    overflow-wrap: anywhere;
  }

  .hero-badges {
    align-items: flex-start;
  }

  .hero-badges span {
    flex: 0 1 auto;
    max-width: 100%;
    font-size: .86rem;
    white-space: normal;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .container,
  .narrow {
    width: min(calc(100% - 24px), var(--max));
  }

  .section {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.35rem);
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-media::before {
    inset: 12px -8px -12px 8px;
  }

  .hero-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .icon-strip-grid,
  .feature-grid,
  .services-grid,
  .why-grid,
  .sales-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .icon-strip article {
    min-height: 92px;
    grid-template-columns: 42px minmax(0, 1fr);
    place-items: center start;
    text-align: left;
  }

  .sales-card.large {
    grid-column: auto;
  }

  .sales-card,
  .sales-card img {
    min-height: 250px;
  }

  .gallery-grid {
    gap: 10px;
  }

  .gallery-grid img:first-child {
    grid-column: span 2;
    min-height: 220px;
  }

  .footer-bottom {
    display: block;
    padding-bottom: 90px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 520px) {
  .container,
  .narrow {
    width: min(calc(100% - 24px), 366px);
    margin-left: 12px;
    margin-right: auto;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
    line-height: 1.05;
  }
}

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