/*
Theme Name: oldhickorycarcare
Theme URI: https://oldhickorycarcare.com/
Description: Child theme for the Old Hickory Car Care Center landing page.
Author: Old Hickory Car Care Center
Template: generatepress
Version: 1.0.0
Text Domain: oldhickorycarcare
*/

@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;
  --container: 1296px;
  --card-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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: var(--white);
  text-align: center;
}

.old-header .header-inner {
  margin: 0 auto;
  max-width: 920px;
  min-height: 202px;
  display: grid;
  grid-template-columns: 1fr 550px 1fr;
  align-items: center;
  gap: 30px;
}

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

.old-header nav a {
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 76.087px;
  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;
}

.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("https://oldhickorycarcare.kinsta.cloud/wp-content/uploads/2026/08/Group-1000003889-scaled.png") center / cover no-repeat;
}

.footer-panel::before {
  background: url("https://oldhickorycarcare.kinsta.cloud/wp-content/uploads/2026/08/Group-1000003891-scaled.png") 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("https://oldhickorycarcare.kinsta.cloud/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: #f3f3f3;
  border-radius: 11px;
  color: var(--black);
  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;
}

.hero-section a:hover,
.confidence-section a:hover {
  background: #666666;
  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;
}

.services-section .service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  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: 17px 26px 0;
}

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

.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: var(--gray);
  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 var(--gray);
  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;
}

.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: var(--black);
  color: var(--white);
  min-width: 363px;
}

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

.choose-section {
  background: var(--white);
  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: 1px solid var(--line);
}

.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("https://oldhickorycarcare.kinsta.cloud/wp-content/uploads/2026/08/Group-1000003873-scaled.png") 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("https://www.figma.com/api/mcp/asset/9bf7cd26-0b4a-4899-915f-8ed94c135438.svg") center / contain no-repeat;
}

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

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

.footer-panel .footer-inner,
.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: center;
  gap: 60px;
}

.footer-panel .footer-inner > a {
  margin-top: 0;
  background: var(--black);
  color: var(--white);
}

.footer-panel .footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  padding-top: 31px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.132px;
}

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

.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("https://oldhickorycarcare.kinsta.cloud/wp-content/uploads/2026/08/Group-1000003910-scaled.png") 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;
}

.custom-coupons-c-card > a {
  display: block;
  transition: filter 180ms ease, transform 180ms ease;
}

.custom-coupons-c-card > a:hover {
  filter: brightness(0.96);
  transform: translateY(-4px);
}

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

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

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

.custom-coupons-c-action > a {
  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;
}

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

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

  .old-header .header-inner {
    max-width: 820px;
    grid-template-columns: 1fr 430px 1fr;
  }

  .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;
  }

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

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

@media (max-width: 1024px) {
  .old-header .header-inner {
    min-height: 170px;
    grid-template-columns: 1fr 360px 1fr;
    gap: 22px;
  }

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

  .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 {
    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;
  }

  .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) {
  .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: 100%;
    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;
  }

  .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;
  }

  .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: 300px;
  }

  .hero-section .hero-copy {
    padding: 42px 16px 28px;
  }

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

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

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

  .hero-section a,
  .promotions-section .promotions-inner > a,
  .confidence-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,
  .footer-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

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

  .services-section .service-card {
    min-height: 0;
  }

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

  .services-section > .services-inner > p,
  .promotions-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: 32px;
    padding-bottom: 38px;
  }

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

  .choose-section .choose-grid {
    margin-top: 30px;
  }

  .choose-section .choose-card {
    border-left: 0 !important;
    border-top: 1px solid var(--line);
    min-height: auto;
    padding: 24px 8px 0;
  }

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

  .choose-section p {
    font-size: 15px;
    line-height: 22px;
  }

  .choose-section h3 {
    font-size: 19px;
    line-height: 26px;
  }

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

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

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

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

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

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

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

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

  .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: 26px;
  }

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