/* ELCAR · dark service bay · reference: epic car detailing website.jpg (adapted for autoservis) */
:root {
  --bg: #0c0c0c;
  --bg-2: #141414;
  --panel: rgba(22, 22, 22, .82);
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .2);
  --text: #f2f0ec;
  --muted: #9a9590;
  --soft: #d4cec6;
  --red: #c62828;
  --red-bright: #ef5350;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

* { box-sizing: border-box; }

html {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(198, 40, 40, .18), transparent 28rem),
    radial-gradient(circle at 4% 40%, rgba(255, 255, 255, .04), transparent 22rem),
    linear-gradient(180deg, #0a0a0a, #0c0c0c 45%, #101010);
  overflow-x: clip;
  overscroll-behavior-y: none;
}

a { color: inherit; }
img { max-width: 100%; display: block; height: auto; }

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1140px, calc(100vw - 20px));
  margin: 12px auto 0;
  min-height: 68px;
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(12, 12, 12, .8);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--red-bright), var(--red));
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: .85;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
}

.nav-links {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  color: var(--soft);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.header-call {
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.header-call:hover,
.header-call:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(198, 40, 40, .35);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .header-call { margin-left: 0; }
}

.kicker {
  margin: 0 0 10px;
  color: var(--red-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #b71c1c;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .04);
}

.hero {
  width: min(1140px, calc(100vw - 20px));
  margin: 18px auto 0;
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .4);
}

.hero-media {
  position: relative;
  min-height: 220px;
  max-height: 52vh;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, .15) 0%, rgba(12, 12, 12, .75) 70%, rgba(12, 12, 12, .95) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.hero-panel {
  padding: 24px 20px 28px;
}

.hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: .92;
  letter-spacing: normal;
  text-transform: uppercase;
  max-width: 14ch;
}

.hero-lead {
  margin: 0 0 20px;
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
  }

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

  .hero-media::after {
    background: linear-gradient(90deg, transparent 30%, rgba(12, 12, 12, .92) 100%);
  }

  .hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 36px;
  }
}

.services {
  width: min(1140px, calc(100vw - 20px));
  margin: 56px auto;
}

.section-head {
  max-width: 52ch;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: .95;
  text-transform: uppercase;
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  gap: 12px;
}

.service-card {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
}

.service-num {
  display: block;
  margin-bottom: 10px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

@media (min-width: 600px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.visual-band {
  width: min(1140px, calc(100vw - 20px));
  margin: 0 auto 56px;
  display: grid;
  gap: 10px;
}

.visual-band figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.visual-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .visual-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .visual-band figure {
    aspect-ratio: 3 / 4;
  }
}

.trust {
  width: min(1140px, calc(100vw - 20px));
  margin: 0 auto 56px;
  display: grid;
  gap: 16px;
}

.trust h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: .95;
  text-transform: uppercase;
}

.trust-copy > p {
  margin: 0 0 16px;
  color: var(--soft);
  line-height: 1.6;
  max-width: 48ch;
}

.trust-list {
  margin: 0 0 22px;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.trust-list li + li { margin-top: 6px; }

.hours-card {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(198, 40, 40, .12), rgba(255, 255, 255, .02));
}

.hours-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
}

.hours-card dl {
  margin: 0 0 14px;
}

.hours-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.hours-card dl div:last-child { border-bottom: 0; }

.hours-card dt {
  margin: 0;
  font-weight: 550;
  color: var(--soft);
}

.hours-card dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.hours-note {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .trust {
    grid-template-columns: 1.2fr .8fr;
    align-items: start;
    gap: 20px;
  }
}

.contact-section {
  width: min(1140px, calc(100vw - 20px));
  margin: 0 auto 80px;
  display: grid;
  gap: 14px;
}

.contact-copy {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: .95;
  text-transform: uppercase;
}

.contact-copy > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 42ch;
}

.contact-grid {
  display: grid;
  gap: 10px;
}

.contact-grid a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.contact-grid a:hover,
.contact-grid a:focus-visible {
  border-color: rgba(198, 40, 40, .45);
  background: rgba(198, 40, 40, .06);
}

.contact-grid span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.contact-grid strong {
  font-size: 1.05rem;
}

.map-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  min-height: 280px;
  display: grid;
}

.map-panel iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

.map-link {
  display: block;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-top: 1px solid var(--line);
  color: var(--red-bright);
}

@media (min-width: 768px) {
  .contact-section {
    grid-template-columns: .9fr 1.1fr;
    align-items: stretch;
  }

  .contact-copy { padding: 32px 28px; }
}

.site-footer {
  width: min(1140px, calc(100vw - 20px));
  margin: 0 auto 100px;
  padding: 20px 0 8px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.site-footer span {
  color: var(--muted);
  font-size: .92rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.site-footer a {
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-action {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

.mobile-action a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.mobile-action a:first-child {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.mobile-action a:last-child {
  background: var(--red);
  color: #fff;
}

@media (min-width: 768px) {
  .mobile-action { display: none; }
  .site-footer { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .header-call,
  .contact-grid a { transition: none; }
}
