
:root{
  --ink:#0d1117;--navy:#0a2c4d;--blue:#12649d;--lightblue:#4897d1;
  --yellow:#f5c400;--paper:#fff;--off:#f4f5f6;--line:#dfe3e7;--muted:#59616b;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.48}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:1180px;margin:auto;padding:0 24px}
.site-header{background:#fff;border-bottom:1px solid #d9dde2;position:relative;z-index:10}
.header-inner{height:86px;display:flex;align-items:center;gap:22px}
.logo{width:145px;flex:0 0 145px}
.logo img{width:100%;height:auto}
nav{display:flex;align-items:center;justify-content:center;gap:24px;flex:1;font-size:14px;font-weight:700}
nav a{padding:33px 0 27px;border-bottom:3px solid transparent}
nav a:hover,nav a.active{border-color:var(--blue);color:var(--blue)}
.phone-box{display:flex;align-items:center;gap:10px;font-weight:800;font-size:14px;white-space:nowrap}
.phone-icon{font-size:27px;color:var(--blue);line-height:1}
.mobile-menu{display:none}
.hero{position:relative;min-height:430px;overflow:hidden;background:#111}
.hero .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.86) 0%,rgba(0,0,0,.63) 42%,rgba(0,0,0,.1) 76%)}
.hero-content{position:relative;z-index:2;color:#fff;padding:76px 0 65px;max-width:565px}
.eyebrow{font-size:16px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#b9d9ef;margin-bottom:6px}
.hero h1{font-size:52px;line-height:.95;margin:0 0 11px;text-transform:uppercase;letter-spacing:-1px}
.hero h2{font-size:28px;margin:0 0 16px}
.blue{color:var(--lightblue)} .yellow{color:var(--yellow)}
.hero p{font-size:18px;max-width:550px;margin:0 0 25px;color:#f1f3f5}
.btn{display:inline-flex;align-items:center;gap:12px;background:var(--yellow);color:#111;padding:15px 22px;font-weight:900;text-transform:uppercase;font-size:14px;border:0;box-shadow:0 2px 0 rgba(0,0,0,.15)}
.btn:hover{filter:brightness(.94)}
.feature-strip{background:#fff;border-bottom:1px solid var(--line)}
.features{display:grid;grid-template-columns:repeat(5,1fr)}
.feature{padding:22px 12px;text-align:center;border-right:1px solid var(--line);min-height:112px}
.feature:last-child{border-right:0}
.feature .ico{width:38px;height:38px;margin:0 auto 7px;border:2px solid #111;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900}
.feature strong{font-size:13px;display:block;line-height:1.18}
.section{padding:58px 0}
.section.gray{background:var(--off)}
.section.dark{background:#111820;color:#fff}
.split{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:44px}
.split.reverse .visual{order:2}
.visual{min-height:360px;overflow:hidden;background:#ddd}
.visual img{width:100%;height:100%;object-fit:cover}
.copy{align-self:center}
.copy h2{font-size:38px;line-height:1.02;margin:0 0 14px}
.copy h3{font-size:22px;margin:0 0 10px}
.copy p{color:#4e5660;font-size:17px}
.dark .copy p{color:#c8d0d8}
.checks{list-style:none;padding:0;margin:19px 0 0}
.checks li{position:relative;padding:5px 0 5px 29px}
.checks li:before{content:"✓";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:50%;background:var(--yellow);font-size:12px;line-height:18px;text-align:center;font-weight:900}
.brand-row{display:flex;justify-content:space-around;align-items:center;gap:20px;flex-wrap:wrap;padding:25px 0;font-weight:900;font-style:italic;color:#193b63;font-size:19px}
.brand-row span:nth-child(3){color:#1b5ba2}.brand-row span:nth-child(4){color:#e59c00}.brand-row span:nth-child(5){color:#c0392b}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px}
.card{background:#fff;border:1px solid var(--line);padding:28px}
.card h3{margin:0 0 9px;font-size:21px}
.card p{margin:0;color:#59616b}
.dark .card{background:#18222c;border-color:#283641}.dark .card p{color:#c8d0d8}
.brake-hero:after{background:linear-gradient(90deg,rgba(0,0,0,.87) 0%,rgba(0,0,0,.72) 48%,rgba(0,0,0,.12) 72%)}
.road-hero{min-height:500px}
.road-hero:after{background:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.42) 53%,rgba(0,0,0,.02) 78%)}
.road-hero .hero-content{padding-top:74px;max-width:600px}
.road-hero h1{font-size:48px}
.emergency-strip{background:#101820;color:#fff;border-top:1px solid #2c343c;border-bottom:1px solid #2c343c}
.emergency-strip .features .feature{border-color:#39424b}
.emergency-strip .feature .ico{border-color:#fff}
.contact-hero{background:#f3f5f7;min-height:470px}
.contact-hero:after{display:none}
.contact-grid{display:grid;grid-template-columns:47% 53%;min-height:470px}
.contact-copy{padding:55px 44px 45px max(24px,calc((100vw - 1180px)/2 + 24px));align-self:center}
.contact-copy h1{font-size:48px;line-height:1;margin:0 0 7px;text-transform:uppercase}
.contact-copy h2{font-size:27px;color:var(--blue);margin:0 0 18px}
.contact-copy p{color:#58606a;max-width:520px}
.contact-photo{position:relative;overflow:hidden}
.contact-photo img{width:100%;height:100%;object-fit:cover}
.contact-info{margin:25px 0 0;display:grid;gap:15px}
.contact-item{display:grid;grid-template-columns:44px 1fr;gap:13px;align-items:start}
.contact-item .circle{width:40px;height:40px;background:var(--blue);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:bold}
.contact-item strong{display:block;font-size:17px}.contact-item span{color:#555e67}
.map-box{background:#e9eef2;border:1px solid #d2d9df;padding:28px;margin-top:22px}
.map-box strong{font-size:21px}.map-box p{margin:6px 0 0}
.cta{background:var(--navy);color:#fff;padding:38px 0}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.cta h2{margin:0;font-size:29px}.cta p{margin:5px 0 0;color:#c8d8e5}
footer{background:#080d12;color:#c8ced5;padding:28px 0;font-size:14px}
.footer-inner{display:flex;justify-content:space-between;gap:25px;align-items:center}
.footer-logo{width:110px}
.small{font-size:13px;color:#6c747d}
@media (max-width:900px){
  .header-inner{height:auto;min-height:76px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
  .logo{width:125px;flex-basis:125px}
  nav{order:3;width:100%;gap:14px;overflow:auto;justify-content:flex-start;border-top:1px solid #eee}
  nav a{padding:11px 0 9px;white-space:nowrap}
  .phone-box{margin-left:auto}
  .hero{min-height:410px}.hero h1{font-size:42px}.hero-content{padding:60px 0}
  .features{grid-template-columns:repeat(2,1fr)}.feature:nth-child(even){border-right:0}.feature:last-child{grid-column:1/-1}
  .split{grid-template-columns:1fr;gap:28px}.split.reverse .visual{order:0}
  .cards{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}.contact-copy{padding:45px 24px}.contact-photo{min-height:320px}
}
@media (max-width:600px){
  .wrap{padding:0 18px}.header-inner{gap:10px}.logo{width:108px;flex-basis:108px}.phone-box{font-size:11px}.phone-icon{font-size:21px}
  .hero{min-height:430px}.hero:after{background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.58))}
  .hero h1,.road-hero h1{font-size:36px}.hero h2{font-size:23px}.hero p{font-size:16px}
  .feature{min-height:100px}.section{padding:42px 0}.copy h2{font-size:31px}
  .contact-copy h1{font-size:37px}.cta-inner,.footer-inner{align-items:flex-start;flex-direction:column}
}


/* Homepage sections migrated from the original Tito's site */
.home-intro{text-align:center;max-width:900px;margin:0 auto}
.home-intro h1{font-size:44px;line-height:1.05;margin:0 0 8px}
.home-intro h2{font-size:26px;margin:0 0 18px;color:var(--blue)}
.home-intro p{font-size:17px;color:#505963}
.home-services{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}
.home-service{background:#fff;border:1px solid var(--line);overflow:hidden}
.home-service img{width:100%;height:220px;object-fit:cover}
.home-service-body{padding:24px}
.home-service h3{font-size:23px;margin:0 0 8px}
.home-service p{color:#59616b;margin:0 0 16px}
.roadside-home{background:#101820;color:#fff}
.roadside-home .copy p{color:#d6dee5}
.review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:30px}
.review-card{background:#fff;border:1px solid var(--line);padding:25px;position:relative}
.review-card:before{content:"“";position:absolute;right:20px;top:7px;font-size:58px;line-height:1;color:#d6e6f2;font-family:Georgia,serif}
.review-stars{letter-spacing:2px;font-size:18px;color:#d7a900;margin-bottom:10px}
.review-card blockquote{margin:0 0 16px;font-size:16px;color:#444d55}
.review-card cite{font-style:normal;font-weight:800;color:#111}
.location-highlight{background:#eef3f6;border-left:5px solid var(--blue);padding:25px}
@media(max-width:850px){
  .home-services,.review-grid{grid-template-columns:1fr}
  .home-service img{height:250px}
}


/* Mobile hamburger navigation */
.menu-toggle{
  display:none;
  background:transparent;
  border:0;
  padding:8px;
  margin-left:auto;
  cursor:pointer;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.menu-toggle span{
  display:block;
  width:26px;
  height:3px;
  background:#111;
  transition:transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px){
  .header-inner{
    position:relative;
    flex-wrap:nowrap;
    min-height:76px;
    height:auto;
    padding-top:8px;
    padding-bottom:8px;
  }

  .menu-toggle{
    display:flex;
    order:3;
    flex:0 0 44px;
  }

  .phone-box{
    order:2;
    margin-left:auto;
  }

  nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    width:100%;
    background:#fff;
    border-top:1px solid #e1e5e9;
    border-bottom:1px solid #d8dde2;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
    padding:8px 24px 12px;
    z-index:1000;
  }

  nav.open{
    display:block;
  }

  nav a{
    display:block;
    padding:14px 4px;
    border-bottom:1px solid #edf0f2;
    border-left:0;
    font-size:15px;
  }

  nav a:last-child{
    border-bottom:0;
  }

  nav a:hover,
  nav a.active{
    border-bottom-color:#edf0f2;
    color:var(--blue);
  }
}

@media (max-width: 600px){
  .phone-box{
    font-size:11px;
    line-height:1.25;
  }

  .phone-icon{
    display:none;
  }
}


/* Restored approved mockup imagery */
.visual img[src*="mockup-"]{
  width:100%;
  height:100%;
  min-height:260px;
  object-fit:cover;
  display:block;
}
.hero .hero-bg[src*="mockup-"]{
  image-rendering:auto;
}


/* =========================================================
   Approved mockup matching adjustments
   Keeps the Dreamweaver structure intact.
   ========================================================= */

/* Desktop page width and compact header proportions seen in the mockup */
@media (min-width: 901px){
  .wrap{max-width:1180px;}
  .header-inner{height:74px;}
  .logo{width:130px; flex:0 0 130px;}
  nav{font-size:16px; gap:24px;}
  nav a{padding:27px 0 24px;}
  .phone-box{font-size:16px; line-height:1.2;}
  .phone-icon{font-size:22px;}
}

/* Hero proportions: the mockup is wide and shallower, not a zoomed full-screen photo. */
.hero{
  min-height:365px;
}
.hero .hero-bg{
  object-fit:cover;
  object-position:center center;
}
.hero:after{
  background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.66) 35%,rgba(0,0,0,.20) 58%,rgba(0,0,0,0) 74%);
}
.hero-content{
  padding:64px 0 54px;
  max-width:515px;
}
.hero h1{
  font-size:50px;
  letter-spacing:-1.3px;
}
.hero h2{
  font-size:25px;
}
.hero p{
  font-size:16px;
  line-height:1.42;
  max-width:470px;
}
.btn{
  font-size:13px;
  padding:14px 22px;
}

/* Use the actual pictograms cropped from the approved mockup. */
.feature{
  min-height:105px;
  padding:17px 10px 15px;
}
.feature-icon{
  display:block;
  width:80px;
  height:80px;
  object-fit:contain;
  margin:0 auto 6px;
}
.feature .ico{display:none;}
.feature strong{
  font-size:12px;
  line-height:1.15;
}

/* Lower image/text blocks should show the full mockup composition rather than crop/zoom it. */
.section{
  padding:30px 0;
}
.split{
  gap:28px;
}
.visual{
  min-height:300px;
}
.visual img[src*="mockup-"]{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center center;
}
.copy h2{
  font-size:34px;
  line-height:1.02;
}
.copy p,.checks{
  font-size:15px;
}

/* Exact New Tires brand row from the approved mockup. */
.mockup-brand-strip{
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:9px 0 8px;
}
.mockup-brand-strip img{
  display:block;
  width:100%;
  max-width:770px;
  height:auto;
  margin:0 auto;
}

/* Roadside mockup uses a darker icon strip. */
.emergency-strip{
  background:#121a21;
  color:#fff;
}
.emergency-strip .feature{
  border-color:#394149;
}
.emergency-strip .feature-icon{
  filter:none;
}

/* Mobile stays responsive, with a standard hamburger menu. */
@media (max-width:900px){
  .hero{min-height:390px;}
  .hero-content{padding:54px 0 46px;}
  .hero .hero-bg{object-position:60% center;}
  .features{grid-template-columns:repeat(2,1fr);}
  .feature:last-child{grid-column:1/-1;}
}
@media (max-width:600px){
  .hero{min-height:420px;}
  .hero:after{background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.58));}
  .hero .hero-bg{object-position:65% center;}
  .visual{min-height:250px;}
}
