/* ============ Taty Tire Center & Quick Lube ============ */
:root {
  --red: #c8102e;
  --red-dark: #9d0c24;
  --black: #0c0c0e;
  --ink: #1a1a1e;
  --gray: #6b6b72;
  --light: #f4f4f5;
  --white: #ffffff;
  --border: #e6e6e9;
  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--black);
  color: #b9b9c0;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  flex-wrap: wrap;
  padding-top: 4px;
  padding-bottom: 4px;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a:hover { color: var(--white); }
.topbar .dot { color: var(--red); margin-right: 6px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}
.brand-name small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.14em;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  font: inherit;
  color: var(--gray);
}
.lang-toggle button.active { background: var(--black); color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #26262c; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("images/storefront-wide.jpg") center 68% / cover no-repeat;
  opacity: 0.34;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 12, 14, 0.96) 35%, rgba(12, 12, 14, 0.55) 75%, rgba(12, 12, 14, 0.35));
}
.hero .wrap {
  position: relative;
  padding-top: 96px;
  padding-bottom: 104px;
  max-width: 1140px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d7d7dc;
  margin-bottom: 20px;
}
.hero-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 13ch;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead {
  margin-top: 22px;
  font-size: 19px;
  color: #c9c9cf;
  max-width: 52ch;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  flex-wrap: wrap;
}
.hero-meta div { min-width: 120px; }
.hero-meta .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
}
.hero-meta .num span { color: var(--red); }
.hero-meta .lbl {
  font-size: 13.5px;
  color: #a9a9b1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--light); }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.sec-kicker::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.sec-head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.02;
  text-transform: uppercase;
}
.sec-head p { margin-top: 14px; color: var(--gray); font-size: 17px; text-wrap: pretty; }

/* ---------- Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 26px 28px;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.svc-card p { color: var(--gray); font-size: 15.5px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  border-radius: 12px;
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 38%;
}
.about-badge {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--red);
  color: var(--white);
  border-radius: 10px;
  padding: 18px 24px;
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(200, 16, 46, 0.35);
}
.about-badge .big { font-size: 38px; font-weight: 700; }
.about-badge .sm { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; margin-top: 6px; }
.about-copy h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.04;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.about-copy p { color: var(--gray); font-size: 17px; margin-bottom: 14px; text-wrap: pretty; }
.about-points { margin-top: 24px; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 16px; }
.about-points .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  margin-top: 2px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
}

/* ---------- Visit / hours + map ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: stretch;
}
.visit-card {
  background: var(--black);
  color: var(--white);
  border-radius: 12px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.visit-block h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ababb3;
  margin-bottom: 10px;
}
.visit-block .big-line { font-size: 18px; font-weight: 600; line-height: 1.5; }
.visit-block a.tel {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.visit-block a.tel:hover { color: var(--red); }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .d { color: #c9c9cf; font-weight: 600; }
.hours-row .h { font-weight: 700; }
.hours-row .closed { color: var(--red); }
.map-frame {
  border: 0;
  border-radius: 12px;
  width: 100%;
  min-height: 460px;
  filter: grayscale(0.2);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: #9d9da5;
  padding: 36px 0;
  font-size: 14.5px;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .f-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}
.footer .f-brand span { color: var(--red); }
.footer .f-slogan {
  flex-basis: 100%;
  color: #c9c9cf;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo img { height: 320px; }
  .visit-grid { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 72px; padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .brand-name { display: none; }
  .topbar .where { display: none; }
  .hero-meta { gap: 24px; }
}

/* ---------- Mobile menu ---------- */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.mobile-menu { display: none; background: var(--white); }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 15px 24px;
  font-weight: 700;
  font-size: 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu a:active { color: var(--red); }
@media (min-width: 921px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Mobile action bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
  }
  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
  }
  .mobile-cta svg { width: 19px; height: 19px; }
  .mobile-cta .call { background: var(--black); }
  .mobile-cta .dir { background: var(--red); }
  body { padding-bottom: 58px; }
  .nav .btn-red { display: none; }
  .section { padding: 64px 0; }
  .map-frame { min-height: 320px; }
  .about-badge { left: 12px; bottom: 12px; }
}
