/* Rizhan's Auto Shop — site styles */

:root {
  --navy: #0b0e14;
  --navy-2: #11151d;
  --navy-3: #171c26;
  --steel: #2a3140;
  --line: #262c38;
  --yellow: #f5c518;
  --yellow-2: #ffd84d;
  --white: #f5f6f8;
  --gray: #9aa3b2;
  --gray-dark: #6b7280;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --maxw: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: #111;
  padding: 10px 16px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top bar ---------- */
.topbar {
  background: #05070a;
  color: var(--gray);
  font-size: .85rem;
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: var(--gray); }
.topbar a:hover { color: var(--yellow); }
.topbar .tb-phone { color: var(--yellow-2); font-weight: 700; }
.topbar .tb-right { display: flex; gap: 18px; }

/* ---------- Header / nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(11,14,20,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .3px;
  min-width: 0;
  flex: 1 1 auto;
}
.brand .mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
nav.main-nav a {
  padding: 10px 14px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--white);
  border-radius: 6px;
  transition: color .15s, background .15s;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: #0b0e14;
  background: var(--yellow);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--yellow);
  color: #101318;
  box-shadow: 0 6px 18px rgba(245,197,24,.25);
}
.btn-primary:hover { background: var(--yellow-2); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--steel);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--steel);
  border-radius: 8px;
  color: var(--white);
  padding: 8px 10px;
  font-size: 1.3rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; flex: 0 0 auto; }
  .nav-cta { flex: 0 0 auto; }
  header.site-header.nav-open nav.main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-2);
    border-bottom: 1px solid var(--line);
  }
  header.site-header.nav-open nav.main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
    gap: 2px;
  }
  header.site-header.nav-open nav.main-nav a { display: block; padding: 12px 10px; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand .mark { width: 32px; height: 32px; }
  .brand small { font-size: .55rem; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-primary { padding: 10px 14px; font-size: .85rem; }
  .nav-toggle { padding: 8px; font-size: 1.1rem; }
  .topbar .container { font-size: .78rem; }
  .topbar .tb-right { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: #05070a;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: .34;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,10,.55) 0%, rgba(5,7,10,.75) 55%, #05070a 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; min-width: 0; padding-top: 70px; padding-bottom: 70px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--yellow);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 780px;
}
.hero h1 .hl { color: var(--yellow); }
.hero p.lead {
  font-size: 1.15rem;
  color: #d3d7de;
  max-width: 620px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  max-width: 760px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-stats .stat b { display: block; font-size: 1.6rem; color: var(--yellow); }
.hero-stats .stat span { font-size: .85rem; color: var(--gray); }

@media (max-width: 600px) {
  .hero { min-height: 0; }
  .hero .container { padding-top: 52px; padding-bottom: 52px; }
  .hero p.lead { font-size: 1.02rem; }
  .hero-actions { margin-bottom: 32px; }
  .hero-actions .btn-lg { padding: 14px 22px; font-size: .95rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }
  .hero-stats .stat b { font-size: 1.3rem; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--navy-2); }
.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { margin: 0 0 44px; text-align: left; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 10px 0 14px;
}
.section-head p { color: var(--gray); font-size: 1.05rem; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); border-color: var(--steel); box-shadow: var(--shadow); }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(245,197,24,.12);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--gray); font-size: .95rem; }
.card ul { margin-top: 14px; }
.card ul li {
  padding: 5px 0 5px 22px;
  position: relative;
  color: #cfd4dc;
  font-size: .92rem;
}
.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 800;
}
.card.featured { border-color: var(--yellow); background: linear-gradient(160deg, rgba(245,197,24,.10), var(--navy-3) 55%); }

/* ---------- Tire highlight banner ---------- */
.tire-banner {
  background: linear-gradient(120deg, #14181f, #0b0e14);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .tire-banner { grid-template-columns: 1fr; padding: 30px; } }
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .tire-banner { padding: 24px 18px; }
  .tire-banner .price-points { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tire-banner .price-points div { padding: 12px; }
}
.tire-banner .badge {
  display: inline-block;
  background: var(--yellow);
  color: #101318;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tire-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 14px; }
.tire-banner p { color: var(--gray); margin-bottom: 22px; }
.tire-banner .price-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.tire-banner .price-points div {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.tire-banner .price-points b { display: block; color: var(--yellow); font-size: 1.05rem; margin-bottom: 4px; }
.tire-banner .price-points span { font-size: .85rem; color: var(--gray); }
.tire-banner img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  font-size: .8rem;
  background: linear-gradient(0deg, rgba(0,0,0,.8), transparent);
  color: #eee;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 6px; }
.step .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--yellow);
  opacity: .5;
  margin-bottom: 6px;
  display: block;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { color: var(--gray); font-size: .92rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testi {
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.testi .stars { color: var(--yellow); letter-spacing: 2px; margin-bottom: 12px; }
.testi p.quote { color: #dfe2e7; font-style: italic; margin: 0 0 16px; }
.testi .who { font-weight: 700; font-size: .9rem; }
.testi .who span { display: block; font-weight: 400; color: var(--gray); font-size: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(circle at 20% 20%, rgba(245,197,24,.16), transparent 60%), var(--navy-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; font-size: 1.6rem; }
.cta-band p { margin: 0; color: var(--gray); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hours / info table ---------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.hours-table td:first-child { color: var(--gray); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.today td { color: var(--yellow); font-weight: 700; }

.info-card {
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.info-card h3 { margin-top: 0; }
.info-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list li .ic { color: var(--yellow); flex: 0 0 auto; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .85rem; font-weight: 600; color: var(--gray); }
input, select, textarea {
  background: var(--navy);
  border: 1px solid var(--steel);
  color: var(--white);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: .95rem;
  font-family: inherit;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(.25) contrast(1.05);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Breadcrumb / page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-2), var(--navy) 70%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 10px 0 12px; }
.page-hero p { color: var(--gray); max-width: 680px; font-size: 1.05rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--gray); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #05070a;
  border-top: 1px solid var(--line);
  padding: 60px 0 26px;
  color: var(--gray);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: var(--white); font-size: .95rem; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .5px; }
footer ul li { padding: 6px 0; }
footer a:hover { color: var(--yellow); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.footer-brand .mark { width: 32px; height: 32px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
}

/* ---------- Misc ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tag {
  border: 1px solid var(--steel);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8rem;
  color: var(--gray);
}
.divider-yellow { width: 60px; height: 3px; background: var(--yellow); border-radius: 3px; margin-bottom: 18px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 30px; } }
.two-col img {
  border-radius: 14px;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  color: var(--gray);
  font-size: .85rem;
}
.badge-strip span { display: flex; align-items: center; gap: 8px; }
.badge-strip .ic { color: var(--yellow); }

.notice-banner {
  background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.35);
  color: #f4e4a8;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: .9rem;
  margin-bottom: 20px;
}
