/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0a0a0a;
  --dark:       #141414;
  --dark2:      #1c1c1c;
  --dark3:      #282828;
  --dark4:      #333333;
  --grey:       #555;
  --grey2:      #777;
  --grey3:      #999;
  --grey4:      #bbb;
  --white:      #ffffff;
  --white-off:  #f4f4f4;
  --red:        #cc0000;
  --red-dark:   #aa0000;
  --red-glow:   rgba(204,0,0,0.35);
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --r:          8px;
  --r-lg:       14px;
  --shadow:     0 4px 32px rgba(0,0,0,0.5);
  --t:          0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.red { color: var(--red); }


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.925rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t), color var(--t);
  white-space: nowrap;
  line-height: 1;
}

.btn--lg { padding: 16px 34px; font-size: 1rem; }

.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--red:hover {
  background: #e00000;
  border-color: #e00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--red-glow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  font-weight: 800;
}
.btn--white:hover {
  background: var(--white-off);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.25);
}


/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1rem;
  color: var(--grey3);
  max-width: 580px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc { margin: 0 auto; }


/* ===== HEADER ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding var(--t), background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--dark3);
  box-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}

.logo-img { height: 44px; width: auto; }

.logo-fallback {
  display: none;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  border-radius: var(--r);
  transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }

.header__nav-cta { display: none; margin-left: 16px; }

.header__cta-desktop {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 0.83rem;
  margin-left: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px 6px;
  cursor: pointer;
  margin-left: 12px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Car-in-garage photo layer (bottom) */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0a url('../assets/hero-car.png') no-repeat center center;
  background-size: cover;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* Darkening + red-tint overlay (above photo, below content) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(204,0,0,0.22) 0%, transparent 60%),
    linear-gradient(105deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.78) 42%, rgba(10,10,10,0.45) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, transparent 30%, transparent 60%, var(--black) 100%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 28px,
      rgba(255,255,255,0.02) 28px,
      rgba(255,255,255,0.02) 56px
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 780px;
}

.hero__logo-wrap { margin-bottom: 36px; }

.hero__logo-img {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 6px 24px rgba(204,0,0,0.5));
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero__title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--grey4);
  margin-bottom: 14px;
  max-width: 600px;
}

.hero__intro {
  font-size: 0.95rem;
  color: var(--grey3);
  margin-bottom: 44px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(204,0,0,0.12);
  border: 1px solid rgba(204,0,0,0.3);
  border-radius: 50px;
  padding: 10px 20px 10px 10px;
}

.hero__badge-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}

.hero__badge-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.5;
  transition: opacity var(--t);
  animation: bounce 2.2s ease-in-out infinite;
}
.hero__scroll:hover { opacity: 1; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}


/* ===== SERVICES ===== */
.services { background: var(--dark); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--dark2);
  border: 1px solid var(--dark3);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(204,0,0,0.25);
  box-shadow: var(--shadow);
}
.card:hover::after { transform: scaleX(1); }

.card--accent {
  background: linear-gradient(135deg, var(--dark2) 0%, rgba(204,0,0,0.07) 100%);
  border-color: rgba(204,0,0,0.2);
}

.card__icon { width: 64px; height: 64px; margin-bottom: 22px; }

.card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card__desc {
  font-size: 0.875rem;
  color: var(--grey3);
  line-height: 1.65;
}


/* ===== WHY US ===== */
.why-us {
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.why-us__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0a url('../assets/garage.png') no-repeat center center;
  background-size: cover;
}

.why-us__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.82) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(204,0,0,0.12) 0%, transparent 60%);
}

.why-us .container { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-card {
  background: rgba(28,28,28,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 40px 24px;
  text-align: center;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t);
}

.why-card:hover {
  transform: translateY(-5px);
  background: rgba(28,28,28,0.9);
  border-color: rgba(204,0,0,0.35);
  box-shadow: var(--shadow);
}

.why-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
}

.why-card__title {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card__desc {
  font-size: 0.86rem;
  color: var(--grey3);
  line-height: 1.6;
}


/* ===== PROMO BANNER ===== */
.promo-banner {
  background: linear-gradient(130deg, #9a0000 0%, var(--red) 45%, #e02020 100%);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 18px,
      rgba(255,255,255,0.03) 18px,
      rgba(255,255,255,0.03) 36px
    );
  pointer-events: none;
}

.promo-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.promo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.2;
}

.promo-badge__pct {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
}

.promo-badge__label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}

.promo-text {
  flex: 1;
  min-width: 240px;
}

.promo-text strong {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.promo-text span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
}


/* ===== CONTACT ===== */
.contact { background: var(--dark); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(204,0,0,0.1);
  border: 1px solid rgba(204,0,0,0.2);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), border-color var(--t);
}
.contact-item:hover .contact-item__icon {
  background: rgba(204,0,0,0.18);
  border-color: rgba(204,0,0,0.4);
}

.contact-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey3);
  margin-bottom: 5px;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--grey4);
  line-height: 1.55;
}

.contact-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--t);
}
.contact-link:hover { color: var(--red); }

.contact__cta { margin-top: 8px; }

.contact__map iframe {
  border-radius: var(--r-lg);
  display: block;
  width: 100%;
  filter: grayscale(20%) contrast(1.05) brightness(0.9);
  transition: filter 0.4s ease;
  box-shadow: var(--shadow);
}
.contact__map iframe:hover { filter: grayscale(0%) contrast(1) brightness(1); }


/* ===== FOOTER ===== */
.footer {
  background: #080808;
  border-top: 1px solid var(--dark3);
  padding-top: 64px;
}

.footer__top {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--dark3);
}

.footer__brand { flex: 1; min-width: 200px; }

.footer__logo { height: 56px; width: auto; margin-bottom: 14px; }

.footer__logo-fallback {
  display: none;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--grey3);
  line-height: 1.6;
}

.footer__col { min-width: 180px; }

.footer__heading {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey2);
  margin-bottom: 14px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__list li {
  font-size: 0.875rem;
  color: var(--grey3);
  line-height: 1.5;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--grey3);
  transition: color var(--t);
}
.footer__link:hover { color: var(--red); }

.footer__bottom {
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--grey);
}

.footer__bottom-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey2);
  transition: color var(--t);
}
.footer__bottom-tel:hover { color: var(--red); }


/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger grid children */
.services__grid .card.fade-up:nth-child(2) { transition-delay: 0.08s; }
.services__grid .card.fade-up:nth-child(3) { transition-delay: 0.16s; }
.services__grid .card.fade-up:nth-child(4) { transition-delay: 0.08s; }
.services__grid .card.fade-up:nth-child(5) { transition-delay: 0.16s; }
.services__grid .card.fade-up:nth-child(6) { transition-delay: 0.24s; }
.services__grid .card.fade-up:nth-child(7) { transition-delay: 0.12s; }

.why-grid .why-card.fade-up:nth-child(2) { transition-delay: 0.1s; }
.why-grid .why-card.fade-up:nth-child(3) { transition-delay: 0.2s; }
.why-grid .why-card.fade-up:nth-child(4) { transition-delay: 0.3s; }


/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile nav breakpoint */
@media (max-width: 768px) {
  /* Hamburger */
  .hamburger { display: flex; }
  .header__cta-desktop { display: none; }

  /* Full-screen nav overlay */
  .header__nav {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
  }
  .header__nav.open { transform: translateX(0); }

  .nav-link {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 12px 28px;
  }

  .header__nav-cta {
    display: inline-flex;
    margin: 16px 0 0;
    padding: 14px 32px;
    font-size: 1rem;
  }

  /* Hero */
  .hero__content { padding-top: 110px; padding-bottom: 72px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__logo-img { height: 80px; }

  /* Sections */
  .section { padding: 72px 0; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Promo */
  .promo-banner__inner { justify-content: center; text-align: center; }
  .promo-text { text-align: center; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map iframe { height: 320px; }

  /* Footer */
  .footer__top { flex-direction: column; gap: 36px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* Small phones */
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
  .hero__title { font-size: 1.85rem; }
  .promo-badge { width: 70px; height: 70px; }
  .promo-badge__pct { font-size: 1.35rem; }
}

/* Large screens */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}
