/* ============================================
   CHINO'S AUTO REPAIR & MECHANIC SHOP
   Design tokens
   ============================================ */
:root{
  --black: #0a0b0c;
  --charcoal: #16181b;
  --charcoal-2: #1f2226;
  --steel: #6d7178;
  --steel-light: #b7bbc1;
  --hairline: #313539;
  --white: #f5f4f0;
  --white-dim: #cfcdc6;
  --red: #c8182b;
  --red-dark: #7a0e1a;
  --red-bright: #e9293d;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 10px;
  --container: 1180px;
  --shadow-lift: 0 20px 40px -20px rgba(0,0,0,.6);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body{
  margin:0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1,h2,h3,h4{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 .4em;
  color: var(--white);
}
h2{ font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1em; color: var(--white-dim); }

code{
  font-family: var(--font-mono);
  background: var(--charcoal-2);
  padding: .1em .4em;
  border-radius: 4px;
  color: var(--steel-light);
  font-size: .85em;
}

:focus-visible{
  outline: 3px solid var(--red-bright);
  outline-offset: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .95rem;
  padding: .85em 1.6em;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-red{
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(200,24,43,.7);
}
.btn-red:hover{ box-shadow: 0 12px 28px -8px rgba(200,24,43,.85); }

.btn-outline{
  background: transparent;
  border-color: var(--steel-light);
  color: var(--white);
}
.btn-outline:hover{ border-color: var(--white); background: rgba(255,255,255,.05); }

.btn-ghost{
  background: rgba(255,255,255,.06);
  color: var(--white);
  border-color: transparent;
}
.btn-ghost:hover{ background: rgba(255,255,255,.12); }

.btn-lg{ padding: 1em 2em; font-size: 1.05rem; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,11,12,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: .6rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand{
  display:flex;
  align-items:center;
  gap: .6rem;
  flex-shrink:0;
}
.brand-mark{
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 2px solid var(--steel);
}
.brand-text{
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--white);
}
.main-nav{
  display:flex;
  gap: 1.6rem;
  margin: 0 auto;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .88rem;
  letter-spacing: .05em;
}
.main-nav a{
  color: var(--white-dim);
  position: relative;
  padding: .3rem 0;
}
.main-nav a:hover{ color: var(--white); }
.main-nav a::after{
  content:'';
  position:absolute; left:0; bottom:-2px;
  width:0; height:2px;
  background: var(--red-bright);
  transition: width .2s ease;
}
.main-nav a:hover::after{ width:100%; }

.header-cta{ display:flex; align-items:center; gap:1rem; flex-shrink:0; }
.header-phone{
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--steel-light);
  white-space: nowrap;
}
.header-phone:hover{ color: var(--white); }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding: 8px;
}
.nav-toggle span{
  width: 24px; height: 2px; background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 900px){
  .main-nav{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    border-bottom: 1px solid var(--hairline);
  }
  .main-nav.open{ max-height: 400px; }
  .main-nav a{ padding: 1rem 1.25rem; border-top: 1px solid var(--hairline); }
  .header-phone{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ============================================
   HERO
   ============================================ */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  padding: 4rem 1.5rem 6rem;
}
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200,24,43,.16), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #0a0b0c 0%, #0a0b0c 70%, #0f1113 100%);
  z-index: -1;
}
.hero-inner{ max-width: 760px; }
.hero-logo{
  width: 200px;
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.6));
  animation: rise-in .8s ease both;
}
.hero-eyebrow{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--red-bright);
  margin-bottom: .8rem;
}
.hero-tagline{
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: .6rem;
}
.hero-tagline span{ color: var(--red-bright); }
.hero-sub{
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-actions{
  display:flex; flex-wrap:wrap; gap: .9rem; justify-content:center;
}

@keyframes rise-in{
  from{ opacity:0; transform: translateY(24px); }
  to{ opacity:1; transform: translateY(0); }
}

.scroll-cue{
  position:absolute; bottom: 2rem; left:50%; transform:translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--steel);
  border-radius: 20px;
}
.scroll-cue span{
  position:absolute; top:6px; left:50%; transform:translateX(-50%);
  width:4px; height:8px; background: var(--red-bright);
  border-radius: 2px;
  animation: scroll-bounce 1.6s infinite;
}
@keyframes scroll-bounce{
  0%{ opacity:1; top:6px; }
  60%{ opacity:0; top:20px; }
  100%{ opacity:0; top:6px; }
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip{
  display:flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 0;
  background: var(--charcoal);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trust-item{
  flex: 1 1 160px;
  text-align:center;
  padding: 1.4rem 1rem;
  border-right: 1px solid var(--hairline);
  display:flex; flex-direction:column; gap:.2rem;
}
.trust-item:last-child{ border-right:none; }
.trust-item strong{
  font-family: var(--font-display);
  color: var(--red-bright);
  font-size: 1.2rem;
  text-transform: uppercase;
}
.trust-item span{
  font-size: .8rem;
  color: var(--steel-light);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============================================
   SECTION HEAD (shared)
   ============================================ */
.section-head{
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align:center;
  padding: 0 1.5rem;
}
.section-head.light p, .section-head.light h2{ color: var(--white); }
.eyebrow{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--red-bright);
}
.section-sub{ font-size: 1.02rem; }

section{ padding: 5.5rem 0; }

/* ============================================
   SERVICE MENU BOARD
   ============================================ */
.services{ background: var(--black); }
.menu-board{
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.menu-dept{
  background: linear-gradient(180deg, var(--charcoal-2), var(--charcoal));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.menu-dept-toggle{
  width: 100%;
  display:flex;
  align-items:center;
  gap: 1rem;
  background: none;
  border: none;
  color: var(--white);
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  text-align:left;
}
.dept-icon{ font-size: 1.4rem; }
.dept-title{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.15rem;
  flex: 1;
}
.dept-caret{
  font-size: 1.4rem;
  color: var(--red-bright);
  transition: transform .25s ease;
  font-weight: 300;
}
.menu-dept-toggle[aria-expanded="true"] .dept-caret{ transform: rotate(45deg); }

.menu-dept-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  border-top: 0px solid var(--hairline);
}
.menu-dept.open .menu-dept-panel{ border-top-width: 1px; }

.service-list{
  padding: 1.2rem 1.5rem 1.5rem;
  display: grid;
  gap: 1rem;
}
.service-list li{
  display:flex;
  flex-direction:column;
  gap: .15rem;
  padding-bottom: .9rem;
  border-bottom: 1px dashed var(--hairline);
}
.service-list li:last-child{ border-bottom:none; padding-bottom:0; }
.s-name{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: .95rem;
  color: var(--white);
}
.s-desc{ font-size: .9rem; color: var(--steel-light); }

.tow-call{ margin: 0 1.5rem 1.5rem; }

/* ============================================
   BEFORE / AFTER PHOTO GRID
   ============================================ */
.work{ background: var(--charcoal); }
.ba-photo-grid{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.ba-photo-card{
  margin: 0;
  text-align: center;
  background: var(--charcoal-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.ba-photo-card img{
  width: 100%;
  height: auto;
  display: block;
}
.ba-photo-card figcaption{
  padding: .9rem 1rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .02em;
  color: var(--steel-light);
  border-top: 1px solid var(--hairline);
}

/* ============================================
   ABOUT
   ============================================ */
.about{ background: var(--black); }
.about-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}
.about-photo-frame{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lift);
}
.about-quote{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--red-bright);
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  margin-top: 1.5rem;
}
.mission-box{
  margin-top: 1.5rem;
  background: var(--charcoal-2);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 1.5rem;
}
.mission-label{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: var(--red-bright);
  margin-bottom: .5rem;
}
.mission-statement{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: .01em;
  color: var(--white);
  margin: 0;
}

@media (max-width: 800px){
  .about-inner{ grid-template-columns: 1fr; }
}

/* ============================================
   BOOKING
   ============================================ */
.booking{
  background: linear-gradient(180deg, var(--charcoal), var(--black));
  border-top: 1px solid var(--hairline);
}
.booking-form, .estimate-form, .review-form{
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.form-grid label{
  display:flex;
  flex-direction:column;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--steel-light);
}
.full-width{ grid-column: 1 / -1; }

input, select, textarea{
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .8em .9em;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  background: var(--charcoal-2);
  color: var(--white);
}
input:focus, select:focus, textarea:focus{
  border-color: var(--red-bright);
  outline: none;
}
textarea{ resize: vertical; font-family: var(--font-body); }

.form-note{ font-size: .82rem; color: var(--steel); margin-top: 1rem; }

/* ============================================
   ESTIMATE
   ============================================ */
.estimate{ background: var(--black); }
.estimate-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.estimate-inner h2{ text-align: left; }
.estimate-points{ display:flex; flex-direction:column; gap: .6rem; margin-top: 1.2rem; }
.estimate-points li{
  padding-left: 1.6rem;
  position: relative;
  color: var(--white-dim);
}
.estimate-points li::before{
  content: '✓';
  position:absolute; left:0;
  color: var(--red-bright);
  font-weight: 700;
}
.estimate-form{
  padding:0;
  display:flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--charcoal-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.estimate-form label{
  display:flex; flex-direction:column; gap:.4rem;
  font-family: var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em;
  color: var(--steel-light);
}

@media (max-width: 800px){
  .estimate-inner{ grid-template-columns: 1fr; }
  .estimate-inner h2{ text-align:center; }
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews{ background: var(--charcoal); }
.reviews-summary{
  display:flex; align-items:center; justify-content:center; gap: .8rem;
  margin-bottom: 2.5rem;
}
.reviews-score{ font-family: var(--font-display); font-size: 2rem; color: var(--white); }
.reviews-stars{ color: var(--red-bright); font-size: 1.3rem; letter-spacing: .05em; }
.reviews-count{ font-family: var(--font-mono); font-size: .85rem; color: var(--steel-light); }

.reviews-grid{
  max-width: var(--container);
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.review-card{
  background: var(--charcoal-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem;
  display:flex; flex-direction:column; gap:.7rem;
}
.review-stars{ color: var(--red-bright); letter-spacing: .05em; }
.review-text{ color: var(--white-dim); font-size: .95rem; margin: 0; }
.review-meta{
  display:flex; justify-content:space-between; align-items:center;
  font-family: var(--font-mono); font-size: .78rem; color: var(--steel);
  margin-top: auto;
}

.leave-review{
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
  border-top: 1px solid var(--hairline);
  text-align:center;
}
.leave-review h3{ margin-top: 2rem; }
.review-form .form-grid{ text-align:left; }

/* ============================================
   FOOTER / CONTACT
   ============================================ */
.contact{
  background: var(--black);
  border-top: 1px solid var(--hairline);
  padding-top: 4rem;
}
.contact-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
}
.footer-logo{
  width: 70px; height:70px; object-fit:cover; border-radius:50%;
  border: 2px solid var(--steel); margin-bottom: .8rem;
}
.footer-tag{ font-family: var(--font-display); text-transform:uppercase; color: var(--white); font-size:.95rem; }
.contact-col h4{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .75rem;
  color: var(--red-bright);
  margin-top: 1.2rem;
}
.contact-col h4:first-child{ margin-top:0; }
.contact-col a:hover{ color: var(--red-bright); }
.map-col iframe{
  width: 100%; height: 180px; border: 1px solid var(--hairline); border-radius: 8px;
}

.footer-bottom{
  margin-top: 3rem;
  padding: 1.5rem;
  text-align:center;
  border-top: 1px solid var(--hairline);
  font-size: .8rem;
  color: var(--steel);
}

@media (max-width: 900px){
  .contact-inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .contact-inner{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE CALL FAB
   ============================================ */
.mobile-call-fab{
  display:none;
  position: fixed;
  bottom: 1.2rem; right: 1.2rem;
  width: 56px; height: 56px;
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  border-radius: 50%;
  align-items:center; justify-content:center;
  font-size: 1.4rem;
  box-shadow: 0 10px 24px -6px rgba(200,24,43,.7);
  z-index: 90;
}
@media (max-width: 700px){
  .mobile-call-fab{ display:flex; }
}
