/*
Theme Name: JOCO Auto
Theme URI: https://jocoauto.com/
Description: Child theme for JOCO Auto. Built from the Old Hickory Car Care template.
Author: Freedom Media
Template: generatepress
Version: 1.0.0
Text Domain: jocoauto
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:ital,wght@0,700;0,800;1,800&display=swap");

:root {
  --black: #000;
  --ink: #1a1a1a;
  --white: #fff;
  --paper: #fafafa;
  --soft: #f4f4f4;
  --gray: #666;
  --line: #d9d9d9;
  /* site ka brand red — AutoOps widget ke loading color se liya gaya.
     Red kahin aur chahiye to bas yahan badlein */
  --red: #9e0102;
  --container: 1296px;
  --card-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* --header-h header.php ki script se aati hai; anchor links header ke neeche nahi chupte */
  scroll-padding-top: var(--header-h, 0px);
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.old-header {
  background: #000;
  text-align: center;
  /* sticky (fixed nahi) -> header flow me rehta hai, is liye neeche ka content
     na jump karta hai aur na hi koi margin-top/spacer chahiye hota hai */
  position: sticky;
  top: 0;
  z-index: 100;
}

.custom-coupons-c-grid .custom-coupons-c-action {
  grid-column: 1 / -1;
  text-align: center;
}

/* logged-in users: WP admin bar bhi fixed hoti hai, header uske neeche rahe */
body.admin-bar .old-header {
  top: 32px;
  background:#000;
}

@media (max-width: 782px) {
  body.admin-bar .old-header {
    top: 46px;
  }
}

/* ---------- Holiday hours banner ---------- */
.holiday-banner {
  background: var(--red);
  padding: 40px 20px;
  text-align: center;
}

.holiday-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.holiday-banner h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.holiday-banner p {
  margin: 0;
  color: var(--white);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .holiday-banner h2 {
    font-size: 26px;
  }

  .holiday-banner p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .holiday-banner {
    padding: 25px 15px;
  }

  .holiday-banner h2 {
    font-size: 18px;
  }

  .holiday-banner p {
    font-size: 13px;
  }
}

/* ---------- Homepage hero slider ---------- */
.hero-slider {
  background: var(--black);
}

.hero-slider .swiper {
  width: 100%;
}

.hero-slider .swiper-slide a {
  display: block;
}

/* width/height attributes + aspect-ratio se layout shift nahi hoti.
   `picture img` — taake hero-badge is rule me na aaye */
.hero-slider .swiper-slide picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2000 / 600;
  object-fit: cover;
}

/* pehli slide ka shield badge */
.hero-slider .swiper-slide {
  position: relative;
}

.hero-slider .hero-badge {
  position: absolute;
  top: 0;
  left: 3%;
  width: 16%;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  cursor: pointer;
  transition: background-color 180ms ease;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.75);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
  font-size: 17px;
  font-weight: 700;
}

/* dots ab image ke neeche hain (.swiper se bahar), overlay nahi */
.hero-slider__dots {
  /* Swiper apne bullets par margin: 0 4px lagata hai aur uski specificity
     zyada hai — is liye spacing uske apne variable se control ki hai */
  --swiper-pagination-bullet-horizontal-gap: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 0;
  background: var(--white);
}

.hero-slider__dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0;
  background: var(--line);
  opacity: 1;
  transition: background-color 180ms ease;
}

.hero-slider__dots .swiper-pagination-bullet-active {
  background: var(--black);
}

.header-contactbar {
  background: #fff;
}

.header-contactbar-inner {
  margin: 0 auto;
  /* quickbar ke inner se bilkul same width + same 3 barabar columns,
     taake dono bars ke dividers ek hi line par aayein */
  max-width: var(--container);
  min-height: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.header-contactbar-inner > a,
.header-contactbar-inner > div {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  color: #064B8F;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  position: relative;
  white-space: nowrap;
  text-align:left;
}

.header-contactbar a + a,
.header-contactbar a + div {
  border-left: 0;
}

.header-contactbar a + a::before,
.header-contactbar a + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 1px;
  background: #666666;
  display:none;
}

.header-contactbar a:hover {
  color: #7aaccb;
}

.header-contactbar img {
  inline-size: 22px;
  block-size: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.header-contactbar a:first-child img {
  inline-size: 15px;
  block-size: 21px;
}

.header-contactbar-inner > div img {
  inline-size: 24px;
  block-size: 24px;
}

.old-header .header-inner {
  margin: 0 auto;
  max-width: 774px;
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  align-items: center;
  gap: 24px;
  background:#000;
}

.old-header .brand-logo {
  padding-top: 0;
}

.old-header .brand-logo img {
  width: 100%;
  height: auto;
}

.old-header nav a {
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.old-header nav a:hover {
  color: #666666;
}

.old-header .brand-logo a,
.footer-panel .footer-logo a {
  display: block;
  line-height: 0;
}

.header-quickbar {
  background: #064B8F;
}

.header-quickbar-inner {
  margin: 0 auto;
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.header-quickbar a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.header-quickbar a + a {
  border-left: 1px solid #fff;
}

.header-quickbar a:hover {
  background: #7aaccb;
  color: var(--white);
}

.header-quickbar img {
  inline-size: 25px;
  block-size: 25px;
  object-fit: contain;
}

.intro-strip {
  background: var(--soft);
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 25px 20px 32px;
}

.intro-strip::before,
.footer-panel::before {
  content: "";
  position: absolute;
  inset: 0;
}

.intro-strip::before {
  background: url("/wp-content/uploads/2026/10/trusted-auto-bg-scaled.webp") center / cover no-repeat;
}

.footer-panel::before {
  background: url("/wp-content/uploads/2026/10/footer-bg-scaled.webp") center / cover no-repeat;
}

.intro-strip h1,
.intro-strip p {
  position: relative;
  z-index: 1;
}

.intro-strip h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 40px;
  font-style: italic;
  font-weight: 800;
  line-height: 43.2px;
  text-transform: uppercase;
}

.intro-strip p {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.intro-rule {
  background: var(--gray);
  min-height: 6px;
}

.hero-section {
  background: url("/wp-content/uploads/2026/08/Group-1000003911-scaled.png") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-section .hero-inner {
  margin: 0 auto;
  max-width: calc(var(--container) + 40px);
  min-height: 450px;
  display: grid;
  grid-template-columns: minmax(260px, 55%) 1fr;
  align-items: center;
  padding: 0 20px;
}

.hero-section .hero-copy {
  padding-left: 0;
  padding-right: 40px;
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
}

.hero-section p {
  margin-top: 30px;
  max-width: 599px;
  font-size: 18px;
  line-height: 28px;
}

.hero-section a,
.confidence-section a,
.footer-panel .footer-inner > a,
.promotions-section .promotions-inner > a {
  margin-top: 26px;
  background: #064B8F;
  border-radius: 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 363px;
  padding: 25px 34px;
  font-size: 21px;
  font-weight: 600;
  line-height: 27px;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hero-section a:hover,
.confidence-section a:hover {
  background: #7faac7;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.hero-section .hero-photo {
  min-height: 450px;
}

.services-section {
  background: var(--white);
  padding: 50px 20px 61px;
  scroll-margin-top: 20px;
}

.services-section .services-inner,
.promotions-section .promotions-inner,
.choose-section .choose-inner,
.confidence-section .confidence-inner,
.footer-panel .footer-inner,
.footer-panel .footer-bottom {
  margin: 0 auto;
  max-width: var(--container);
}

.services-section h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 49.321px;
}

.services-section > .services-inner > p {
  margin-top: 5px;
  font-size: 18px;
  line-height: 33.179px;
}

.services-section .service-grid {
  margin-top: 37px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  background:#fff !important;
}

.services-section .service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none !important;
  min-height: 381px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.services-section .service-card:hover {
  border-color: #bdbdbd;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  transform: translateY(-8px);
}

.services-section .service-card:hover .service-line {
  background: var(--black);
}

.services-section .service-card > a {
  color: inherit;
  display: flex;
  flex: 1;
  flex-direction: column;
  text-decoration: none;
}

.services-section .service-top {
  min-height: 204px;
  padding: 15px 25px 15px;
}

.services-section .service-heading {
  display: grid;
  grid-template-columns: 49px 1fr;
  gap: 23px;
  align-items: start;
  min-height:auto;
}

.services-section .service-icon {
  display: grid;
  place-items: center;
  min-height: 49px;
}

.services-section h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
  text-transform: uppercase;
}

.services-section .service-line {
  margin-top: 23px;
  background: #064B8F;
  max-width: 49px;
  min-height: 2px;
}

.services-section .service-card p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 23px;
}

.services-section .service-card > a > img {
  border-top: 4px solid #064B8F;
  margin-top: auto;
  width: 100%;
  aspect-ratio: 242 / 177;
  object-fit: cover;
  object-position: center;
}

.promotions-section {
  background: var(--paper);
  padding: 42px 20px 63px;
  text-align: center;
  scroll-margin-top: 20px;
}

.promotions-section h2,
.choose-section h2,
.confidence-section h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 53px;
}

.choose-section h2 span{
  color:#064B8F;
}


.promotions-section p {
  font-size: 18px;
  font-weight: 500;
  line-height: 29px;
}

.promotions-section .promotion-grid {
  margin: 33px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 41px;
  align-items: start;
}

.promotions-section .promotion-card {
  background: var(--white);
  transition: transform 180ms ease, filter 180ms ease;
}

.promotions-section .promotion-card:hover {
  filter: brightness(0.98);
  transform: translateY(-4px);
}

.promotions-section .promotion-card img {
  width: 100%;
}

.promotions-section .promotions-inner > a {
  margin-top: 40px;
  background: #064B8F;
  color: var(--white);
  min-width: 363px;
  border-radius:0;
}

.promotions-section .promotions-inner > a:hover,
.footer-panel .footer-inner > a:hover {
  background: #7aa9cb;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.choose-section {
  background: #fafafa;
  padding: 43px 20px 52px;
  text-align: center;
}

.choose-section h2 {
  font-size: 40px;
  line-height: 52px;
}

.choose-section .choose-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.choose-section .choose-card {
  min-height: 253px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.choose-section .choose-card + .choose-card {
  border-left: 0 !important;
}

.choose-section .choose-card img {
  margin: 0 auto 25px;
  width: auto;
  max-width: 90px;
  height: 65px;
  object-fit: contain;
}

.choose-section h3 {
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 30px;
  max-width: 300px;
}

.choose-section p {
  margin-top: 9px;
  max-width: 330px;
  font-size: 17px;
  line-height: 24px;
}

.confidence-section {
  background: url("/wp-content/uploads/2026/10/more-confidence-bg-scaled.webp") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  position: relative;
  padding: 46px 20px 53px;
}

.confidence-section .confidence-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 273px 1fr;
  gap: 57px;
  align-items: start;
}

.confidence-section h2 {
  color: var(--white);
  font-size: 40px;
  line-height: 48px;
}

.confidence-section p {
  margin-top: 10px;
  max-width: 967px;
  font-size: 18px;
  line-height: 28px;
}

.confidence-section .repair-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 38px;
}

.confidence-section .repair-list div {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 500;
  line-height: 29px;
}

.confidence-section .repair-list div::before {
  content: "";
  flex: 0 0 21px;
  aspect-ratio: 1.1;
  background: url("/wp-content/uploads/2026/10/tick-icon.png") center / contain no-repeat;
}

.confidence-section a {
  min-width: 402px;
  padding-top: 25px;
  padding-bottom: 25px;
  font-size: 21px;
}

.autoops-section {
  background: var(--white);
  padding: 58px 20px;
  text-align: center;
}

.autoops-section .autoops-inner {
  margin: 0 auto;
  max-width: 960px;
}

.autoops-section h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

.autoops-section p {
  margin: 12px auto 0;
  max-width: 900px;
  font-size: 18px;
  line-height: 28px;
}

#ao-embed-id {
  margin: 28px auto 0;
  max-width: 960px;
  min-height: 620px;
}

#ao-embed-id iframe {
  display: block;
  width: 100%;
  border: 0;
}

.autoops-section a {
  margin-top: 28px;
  background: var(--black);
  border-radius: 11px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 363px;
  padding: 25px 34px;
  font-size: 23px;
  font-weight: 600;
  line-height: 27px;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.autoops-section a:hover {
  background: #666666;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.footer-panel {
  background: var(--soft);
  position: relative;
  padding: 87px 20px 66px;
  overflow: hidden;
}

.footer-panel .footer-inner,
.footer-panel .footer-contact,
.footer-panel .footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-panel .footer-inner {
  display: grid;
  grid-template-columns: 550px 363px;
  justify-content: space-between;
  align-items: start;
  gap: 60px;
}

.footer-panel .footer-logo {
  max-width: 550px;
}

.footer-panel .footer-inner > a {
  margin-top: 16px;
  background: #064B8F;
  color: var(--white);
  min-height: 76.701px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 21px;
  line-height: 39.629px;
  border-radius: 0; 
}

.footer-panel .footer-contact {
    max-width: 1400px;
    margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-panel .footer-contact a {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    width: 363px;
    padding-left: 10px;
    color: #fff;
    font-size: 19px;
    font-weight: 500;
    line-height: 26px;
    text-decoration: none;
}

.footer-panel .footer-contact a:nth-child(2) {
  line-height: 35px;
}

.footer-panel .footer-contact a:hover {
  color: #7faeca;
}

.footer-panel .footer-contact img {
  position:relative;
  top:5px;
  inline-size: 21.864px;
  block-size: 21.864px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-panel .footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #666;
  padding-top: 31px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.132px;
  color: #fff;
}

.footer-panel .footer-bottom a {
  text-decoration: underline;
  text-underline-position: from-font;
}

.footer-panel .footer-bottom a:hover{
  color:#7faeca;
}
.custom-coupons-c {
  background: var(--white);
}

.custom-coupons-c-hero {
  background: var(--soft);
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--gray);
  padding: 55px 20px 48px;
  text-align: center;
}

.custom-coupons-c-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wp-content/uploads/2026/10/coupons-header-bg-scaled.webp") center / cover no-repeat;
}

.custom-coupons-c-hero__inner {
  position: relative;
  z-index: 1;
}

.custom-coupons-c-hero h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 45px;
  text-transform: uppercase;
}

.custom-coupons-c-hero p {
  margin-top: 29px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 500;
  line-height: 24px;
}

.custom-coupons-c-list {
  padding: 69px 20px 58px;
}

.custom-coupons-c-list__inner {
  margin: 0 auto;
  max-width: 1320px;
}

.custom-coupons-c-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.custom-coupons-c-card {
  background: var(--white);
  overflow: hidden;
  /* hover par card shadow ke saath upar uthta hai (jimwhaleytires wala effect).
     transform + shadow card par hain, andar wale <a> par nahi — warna card ki
     overflow:hidden shadow ko kaat deti */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-coupons-c-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
}

.custom-coupons-c-card > a {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .custom-coupons-c-card {
    transition: none;
  }

  .custom-coupons-c-card:hover {
    transform: none;
  }
}

.custom-coupons-c-card img {
  width: 100%;
}

.custom-coupons-c-card--wide {
  grid-column: 1 / -1;
}

.custom-coupons-c-action {
  margin-top: 0;
  text-align: center;
}

.custom-coupons-c-action > a {
  background: #064B8F;
  border-radius: 0;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 363px;
  padding: 25px 34px;
  font-size: 21px;
  font-weight: 600;
  line-height: 27px;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.custom-coupons-c-action > a:hover {
  background: #7eabc7;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

/* services carousel pagination — dots footer.php ki script se bante hain,
   sirf mobile par dikhte hain jahan grid horizontal carousel banta hai */
.service-dots {
  display: none;
}

@media (max-width: 1200px) {
  :root {
    --container: 944px;
  }

  .header-contactbar-inner {
    min-height: 46px;
  }

  .header-contactbar-inner > a,
  .header-contactbar-inner > div {
    min-height: 46px;
    gap: 8px;
    padding: 0 10px;
    font-size: clamp(11px, 1.3vw, 13px);
    line-height: 17px;
  }

  .header-contactbar img {
    inline-size: 17px;
    block-size: 17px;
  }

  .header-contactbar a:first-child img {
    inline-size: 13px;
    block-size: 18px;
  }

  .header-contactbar-inner > div img {
    inline-size: 18px;
    block-size: 18px;
  }

  .header-contactbar a + a::before,
  .header-contactbar a + div::before {
    top: 10px;
    bottom: 10px;
  }

  .old-header .header-inner {
    max-width: 774px;
    min-height: 124px;
    grid-template-columns: 1fr 360px 1fr;
  }

  .header-quickbar a {
    min-height: 46px;
    font-size: 14px;
    line-height: 18px;
  }

  .header-quickbar img {
    inline-size: 22px;
    block-size: 22px;
  }

  .hero-section .hero-copy {
    padding-left: 0;
  }

  .services-section .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .confidence-section .confidence-inner {
    grid-template-columns: 220px 1fr;
    gap: 36px;
  }

  .footer-panel .footer-inner {
    grid-template-columns: 430px 330px;
  }

  .footer-panel .footer-logo {
    max-width: 430px;
  }

  .footer-panel .footer-contact a {
    width: 330px;
    font-size: 14px;
    line-height: 20px;
  }

  .footer-panel .footer-contact img {
    inline-size: 20px;
    block-size: 20px;
  }

  .custom-coupons-c-list__inner {
    max-width: 944px;
  }

  .custom-coupons-c-grid {
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .header-contactbar-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
  }

  .header-contactbar-inner > a,
  .header-contactbar-inner > div {
    min-height: 40px;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    font-size: 11px;
    line-height: 15px;
    white-space: normal;
  }

  .header-contactbar a + a,
  .header-contactbar a + div {
    border-left: 0;
  }

  .header-contactbar a + a::before,
  .header-contactbar a + div::before {
    top: 8px;
    bottom: 8px;
  }

  .header-contactbar img {
    inline-size: 17px;
    block-size: 17px;
  }

  .old-header .header-inner {
    min-height: 112px;
    grid-template-columns: 1fr 340px 1fr;
    gap: 20px;
  }

  .old-header nav a {
    font-size: 17px;
  }

  .header-quickbar a {
    min-height: 40px;
    gap: 8px;
    font-size: 12px;
    line-height: 16px;
  }

  .header-quickbar img {
    inline-size: 18px;
    block-size: 18px;
  }

  .intro-strip h1 {
    font-size: 34px;
    line-height: 39px;
  }

  .hero-section .hero-inner {
    grid-template-columns: 43% 57%;
  }

  .hero-section h1 {
    font-size: 40px;
    line-height: 24px;
  }

  .hero-section p {
    font-size: 18px;
    line-height: 28px;
  }

  .hero-section a,
  .promotions-section .promotions-inner > a,
  .footer-panel .footer-inner > a {
    min-width: 300px;
    font-size: 19px;
  }

  .services-section .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-section h2,
  .promotions-section h2,
  .choose-section h2,
  .confidence-section h2,
  .autoops-section h2 {
    font-size: 34px;
    line-height: 42px;
  }

  .promotions-section .promotion-grid {
    gap: 28px;
  }

  .choose-section .choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 0;
  }

  .choose-section .choose-card:nth-child(3) {
    border-left: 0;
  }

  .confidence-section .repair-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .confidence-section .confidence-inner {
    grid-template-columns: 190px 1fr;
  }

  .footer-panel .footer-inner {
    grid-template-columns: 340px 300px;
  }

  .footer-panel .footer-logo {
    max-width: 340px;
  }

  .footer-panel .footer-contact {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  .footer-panel .footer-contact a {
    width: 300px;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
  }

  .custom-coupons-c-hero h1 {
    font-size: 44px;
    line-height: 42px;
  }

  .custom-coupons-c-hero p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 24px;
  }
}

@media (max-width: 768px) {

  .footer-panel .footer-contact a{
   text-align:center;   
  }

.footer-panel .footer-contact a br{
  display:none;
}

.footer-panel .footer-bottom{
  text-align:center;
}
  
  /* mobile slide alag crop hai, is liye aspect-ratio bhi alag */
  .hero-slider .swiper-slide picture img {
    aspect-ratio: 1300 / 1342;
  }

  .hero-slider .hero-badge {
    width: 20%;
    left: 40%;
  }

  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    width: 34px;
    height: 34px;
    margin-top: -17px;
  }

  .hero-slider .swiper-button-prev::after,
  .hero-slider .swiper-button-next::after {
    font-size: 13px;
  }

  .header-contactbar-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 34px;
    padding: 0;
  }

  .header-contactbar-inner > a,
  .header-contactbar-inner > div {
    min-height: 34px;
    justify-content: center;
    gap: 5px;
    padding: 0 4px;
    font-size: clamp(7px, 1.75vw, 9px);
    line-height: 1.1;
    /* barabar columns me lamba address nowrap ke saath overflow karta hai,
       is liye mobile par wrap allow -> 2 lines, 34px bar me fit */
    white-space: normal;
  }

  .header-contactbar img {
    inline-size: 11px;
    block-size: 11px;
  }

  .header-contactbar a:first-child img {
    inline-size: 8px;
    block-size: 12px;
  }

  .header-contactbar-inner > div img {
    inline-size: 12px;
    block-size: 12px;
  }

  .header-contactbar a + a,
  .header-contactbar a + div {
    border-left: 0;
  }

  .header-contactbar a + a::before,
  .header-contactbar a + div::before {
    display: block;
    top: 7px;
    bottom: 7px;
  }

  .old-header .header-inner {
    min-height: 122px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 16px 8px;
  }

  .old-header .brand-logo {
    grid-row: 1;
    width: min(100%, 300px);
    justify-self: center;
    padding-top: 0;
  }

  .old-header .brand-logo img {
    width: 80%;
    margin: 0 auto;
    height: auto;
  }

  .old-header nav {
    display: flex;
    justify-content: center;
    gap: 46px;
  }

  .old-header .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 15px;
    background:#000;
  }

  .old-header .brand-logo {
    flex: 0 0 100%;
    order: 1;
  }

  .old-header nav {
    flex: 0 0 auto;
  }

  .old-header nav:first-child {
    order: 2;
  }

  .old-header nav:last-child {
    order: 3;
  }

  .old-header nav a {
    font-size: 15px;
    line-height: 28px;
  }

  .header-quickbar a {
    min-height: 36px;
    gap: 4px;
    padding: 0 4px;
    font-size: 8px;
    line-height: 10px;
    white-space: nowrap;
  }

  .header-quickbar img {
    inline-size: 14px;
    block-size: 14px;
  }

  .intro-strip {
    padding: 18px 14px 22px;
  }

  .intro-strip h1 {
    font-size: 23px;
    line-height: 29px;
  }

  .intro-strip p {
    font-size: 14px;
    line-height: 20px;
  }

  .hero-section .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    aspect-ratio: 1206 / 1653;
    align-items: start;
    background: url("/wp-content/uploads/2026/08/Group-1000003964.png") center top / cover no-repeat;
  }

  .hero-section .hero-copy {
    padding: 72px clamp(32px, 11vw, 60px) 0;
    text-align: center;
  }

  .hero-section .hero-photo {
    display: none;
    min-height: auto;
  }

  .hero-section h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .hero-section p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 22px;
  }

  .hero-section a,
  .promotions-section .promotions-inner > a,
  .confidence-section a,
  .autoops-section a,
  .footer-panel .footer-inner > a {
    width: 100%;
    min-width: 0;
    padding: 16px 20px;
    font-size: 15px;
  }

  .services-section,
  .promotions-section,
  .choose-section,
  .confidence-section,
  .autoops-section,
  .footer-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .services-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .services-section .service-grid,
  .promotions-section .promotion-grid,
  .choose-section .choose-grid,
  .confidence-section .repair-list {
    grid-template-columns: 1fr;
  }

  .services-section .service-grid {
    display: flex;
    grid-template-columns: none;
    gap: 24px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 18px;
    overflow-x: auto;
    scroll-padding-left: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .services-section .service-grid::-webkit-scrollbar {
    display: none;
  }

  .services-section .service-card {
    flex: 0 0 min(78vw, 342px);
    min-height: 0;
    scroll-snap-align: start;
  }

  .service-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
  }

  .service-dot {
    position: relative;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 180ms ease;
  }

  /* dekhne me 10px, magar ungli ke liye 30px ka target */
  .service-dot::after {
    content: "";
    position: absolute;
    inset: -10px;
  }

  .service-dot.is-active {
    background: #064B8F;
  }

  .service-dot:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
  }

  .services-section h2,
  .promotions-section h2,
  .choose-section h2,
  .confidence-section h2,
  .autoops-section h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .services-section > .services-inner > p,
  .promotions-section p,
  .autoops-section p {
    font-size: 15px;
    line-height: 23px;
  }

  .services-section .service-grid {
    gap: 18px;
    margin-top: 26px;
  }

  .services-section .service-top {
    min-height: 0;
    padding: 18px 20px 22px;
  }

  .services-section .service-heading {
    gap: 16px;
    min-height: 54px;
  }

  .services-section .service-line {
    margin-top: 18px;
  }

  .services-section h3 {
    font-size: 16px;
    line-height: 21px;
  }

  .services-section .service-card p {
    font-size: 15px;
    line-height: 22px;
  }

  .promotions-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .choose-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .choose-section .choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
    gap: 28px 0;
  }

  .choose-section .choose-card {
    border-left: 0 !important;
    border-top: 0;
    min-height: auto;
    padding: 0;
  }

  .choose-section .choose-card:nth-child(2) {
    border-top: 0;
    border-left: 0;
  }

  .choose-section .choose-card:nth-child(4) {
    border-left: 0;
  }

  .choose-section .choose-card:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .choose-section p {
    font-size: 12px;
    line-height: 1.2em;
  }

  .choose-section h3 {
    font-size: 16px;
    line-height: 1.2em;
  }

  .choose-section .choose-card img {
    margin-bottom: 18px;
max-width: 60px;
   height: 50px;
  }

  .confidence-section {
    background-image: url("/wp-content/uploads/2026/10/confidence-mobile.webp");
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
  }

  .confidence-section .confidence-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .confidence-section .badge-art {
    margin: 0 auto;
    max-width: 210px;
  }

  .confidence-section p {
    margin-left: auto;
    margin-right: auto;
  }

  .confidence-section .repair-list {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .confidence-section p,
  .confidence-section .repair-list div {
    font-size: 15px;
    line-height: 22px;
  }

  .confidence-section a {
    width: min(100%, 418px);
    margin-left: auto;
    margin-right: auto;
  }

  .autoops-section {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .footer-panel {
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .footer-panel .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-panel .footer-logo {
    max-width: 100%;
  }

  .footer-panel .footer-contact {
    margin-top: 28px;
    align-items: center;
  }

  .footer-panel .footer-contact a {
    width: 100%;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    line-height: 22px;
  }

  .footer-panel .footer-contact img {
    inline-size: 24px;
    block-size: 24px;
  }

  .custom-coupons-c-hero {
    padding: 36px 16px 32px;
  }

  .custom-coupons-c-hero h1 {
    font-size: 30px;
    line-height: 34px;
  }

  .custom-coupons-c-hero p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .custom-coupons-c-list {
    padding: 32px 16px 38px;
  }

  .custom-coupons-c-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .custom-coupons-c-action {
    margin-top: 0;
  }

  .custom-coupons-c-action > a {
    width: 100%;
    min-width: 0;
    padding: 16px 20px;
    font-size: 15px;
  }
}
