/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com/
Description:  A child theme for GeneratePress
Author:       Your Name
Author URI:   https://yourwebsite.com/
Template:     generatepress
Version:      1.0.0
Text Domain:  generatepress-child
*/

/* =============== GLOBAL RESETS =============== */

@font-face{
  font-family:"Montserrat";
  src:url("https://cdn.jsdelivr.net/fontsource/fonts/montserrat:vf@latest/latin-wght-normal.woff2") format("woff2-variations");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Inter";
  src:url("https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2") format("woff2-variations");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
body,h1,h2,h3,h4,h5,h6,
.hl-hero__title,
.hl-servicesGrid__title,
.hl-testimonials__title,
.hl-kpi__val{
  font-family:"Montserrat", sans-serif !important;
}
body,
p,span,a,li,small,strong,em,
input,textarea,select,button,
label{
  font-family:"Inter", sans-serif !important;
}

.site-content {
    display: block !important;
}

.separate-containers .site-main {
    margin: 0 !important;
}

.site-header {
    display: none;
}

.page-header,
.sidebar .widget,
.site-main>* {
    margin: 0 !important;
}

.hl-container {
    max-width: 1240px;
    margin: 0 auto;
}

.hl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hl-btn--solid {
    background: #ef4023;
    color: #fff;
    border-color: #ef4023;
}
.location-intro {
    max-width: 920px;
    position: relative;
    z-index: 2;
}
.hl-btn--ghost {
    background: transparent;
    color: #ef4023;
    border-color: #ef4023;
}

/* =============== HEADER =============== */
.hl-header {
    background: #fff;
}

.hl-header__bar {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
}

.hl-header__logo {
    display: flex;
    justify-content: center;
    text-decoration: none;
}

.hl-header__logo img {
    height: 100px;
    width: auto;
    display: block;
}

.hl-header__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ef4023;
    text-decoration: none;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 700;
}

.hl-header__link--right {
    justify-content: flex-end;
}

.hl-header__chev {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-right: 2px solid #ef4023;
    border-bottom: 2px solid #ef4023;
    transform: rotate(45deg);
    margin-top: -2px;
    display:none;
}

/* =============== HERO =============== */
.hl-hero {
    --g1: rgba(239, 64, 35, 0);
    --g2: rgba(239, 64, 35, 1);

    background:
        linear-gradient(90deg, var(--g2) 0%, rgba(239, 64, 35, .95) 45%, rgba(239, 64, 35, .40) 70%, rgba(239, 64, 35, 0) 100%),
        url("https://takeittoheartlandtirecomlive.kinsta.cloud/wp-content/uploads/2026/02/3147-1.png");
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: cover, cover;

    padding: 64px 0;
    height: 65vh;
    display: flex;
    align-items: center;
}

.hl-hero__inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

.hl-hero__content {
    max-width: 750px;
}

.hl-hero__title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 70px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hl-hero__sub {
    margin: 0 0 18px;
    color: #fff;
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
}

.hl-hero__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 50px;
  background:#fff;
  color:#ef4023;
  text-decoration:none;
  font-weight:700;
  font-size:22px;
  text-transform:uppercase;
  position:relative;
  overflow:hidden;
  transition:color .25s ease;
  border: 1px solid transparent;
}

/* bg layer */
.hl-hero__btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:#E02B20;              /* hover bg */
  transform:translateX(-110%);
  opacity:0;
  visibility:hidden;
  transition:transform .35s ease, opacity .2s ease, visibility 0s linear .2s;
  z-index:0;
}
html{ scroll-behavior:smooth; }
/* text */
.hl-hero__btn .hl-hero__btn-text{
  position:relative;
  z-index:1;
  display:inline-block;
  transform:scale(.88);
  transition:transform .25s ease;
  transform-origin:center;
}

/* hover */
.hl-hero__btn:hover{
  color:#fff;
  border-color: #fff;
}
.hl-hero__btn:hover::before{
  transform:translateX(0);
  opacity:1;
  visibility:visible;
  transition:transform .35s ease, opacity .2s ease;
}
.hl-hero__btn:hover .hl-hero__btn-text{
  transform:scale(1);
}

/* active */
.hl-hero__btn:active{
  color:#fff;
}
.hl-hero__btn:active::before{
  background:#E02B20;              /* active bg */
  transform:translateX(0);
  opacity:1;
  visibility:visible;
}

/* focus (black dotted 2px) */
.hl-hero__btn:focus,
.hl-hero__btn:focus-visible{
  outline:2px solid #1A1A1A;
    outline-offset:3px;
}
/* =============== KPI STRIP (YOUR CURRENT) =============== */
.hl-kpi {
    background: #fff;
    padding: 60px 0 0;
}

.hl-kpi__bar {
    background: #ef4023;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    overflow: hidden;
    width: 90%;
}

.hl-kpi__inner {
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    min-height: 150px;
}

.hl-kpi__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    color: #fff;
    padding: 30px 0;
    gap: 30px;
}

.hl-kpi__item {
    display: block;
}

.hl-kpi__icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.hl-kpi__val {
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    margin: 0 0 8px;
}

.hl-kpi__lbl {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.15;
    margin: 0;
}

.hl-kpi__wheel {
    width: 240px;
    height: auto;
    display: block;
    justify-self: end;
    position: absolute;
    right: 90px;
    z-index: 99999;
}

/* =============== SERVICES GRID =============== */
.hl-servicesGrid {
    background: #fff;
    padding: 48px 0 54px;
    position: relative;
}

.hl-servicesGrid__title {
    margin: 0 0 40px;
    text-align: center;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    color: #000;
}

.hl-servicesGrid__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.hl-serviceCard {
    display: block;
    text-decoration: none;
    border: 2px solid #ef4023;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    position: relative;
    overflow: hidden;
}
/* bottom bar (always bottom) */
.hl-serviceCard__bar{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:14px 16px;
  background:#ef4023;
  color:#fff;
  z-index:2;
  transition: background .35s ease;
}

/* span default: normal bottom alignment */
.hl-serviceCard__bar span{
  display:block;
  text-align:center;
  transition: transform .35s ease;
  will-change: transform;
}

/* red overlay (same theme color) */
.hl-serviceCard::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(239, 64, 35, .45); /* #ef4023 overlay */
  transform: translateY(100%);
  transition: transform .35s ease;
  pointer-events:none;
  z-index:1;
}

/* hover: overlay up + ONLY span center */
.hl-serviceCard:hover::after{
  transform: translateY(0);
}
.hl-serviceCard:hover .hl-serviceCard__bar{
  background: transparent;
}
.hl-serviceCard:hover .hl-serviceCard__bar span{
  transform: translateY(-80px); /* adjust as needed */
}

/* (optional) image zoom */
.hl-serviceCard__img{
  display:block;
  width:100%;
  height:215px;
  object-fit:cover;
  transition: transform .35s ease;
}
.hl-serviceCard:hover .hl-serviceCard__img{
  transform: scale(1.03);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .hl-serviceCard__bar span,
  .hl-serviceCard::after,
  .hl-serviceCard__img{ transition:none !important; }
}
.hl-serviceCard__img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    display: block;
}

.hl-serviceCard__bar {
    background: #ef4023;
    color: #fff;
    text-align: center;
    padding: 18px 12px;
    font-weight: 600;
    font-size: 21px;
    line-height: 1;
    font-family:"Montserrat";
}

.hl-servicesGrid__cta {
    text-align: center;
    margin-top: 50px;
}

/* SERVICES GRID BUTTON (base: ORANGE bg + WHITE text) */
.hl-servicesGrid__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 50px;
  background:#EF4023;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:22px;
  text-transform:uppercase;
  border:2px solid #EF4023;
  position:relative;
  overflow:hidden;
  transition:color .25s ease, background .15s ease, border-color .15s ease;
}

/* WHITE SLIDE LAYER (hover only) */
.hl-servicesGrid__btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;
  transform:translateX(-100%);
  transition:transform .35s ease;
  z-index:0;
  will-change:transform;
}

/* TEXT */
.hl-servicesGrid__btn .hl-servicesGrid__btn-text{
  position:relative;
  z-index:1;
  display:inline-block;
  transform:scale(.88);
  transition:transform .25s ease;
  transform-origin:center;
}

/* HOVER */
.hl-servicesGrid__btn:hover{
  color:#EF4023;
}
.hl-servicesGrid__btn:hover::before{
  transform:translateX(0);
}
.hl-servicesGrid__btn:hover .hl-servicesGrid__btn-text{
  transform:scale(1);
}

/* ACTIVE (instant bg change, NO animation) */
.hl-servicesGrid__btn:active::before{
  background:#E02B20;
  transform: translateX(0);
  transition:none;
}

.hl-servicesGrid__btn:active{
  background:#E02B20 !important;
  border-color:#E02B20 !important;
  color:#fff !important; /* optional: active text white */
}

/* FOCUS */
.hl-servicesGrid__btn:focus,
.hl-servicesGrid__btn:focus-visible{
  border:2px solid #1A1A1A;
  outline-offset:3px;
}

/* =============== TESTIMONIALS =============== */
.hl-testimonials {
    background: #fff;
    padding: 52px 0 64px;
}

.hl-testimonials__kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
    color: #111;
    margin-bottom: 10px;
}

.hl-testimonials__kicker-ic {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #111;
    display: inline-block;
}

.hl-testimonials__title {
    margin: 0 0 26px;
    text-align: center;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    color: #111;
}

.hl-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.hl-review {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
    padding: 22px 22px 20px;
    min-height: 170px;
	display:flex;
	flex-direction:column;
}
.hl-review .hl-review__name_loc{
	margin-top:auto;
}
.hl-review__stars {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.hl-review__star {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
}

.hl-review__text {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.45;
    color: #000;
    font-style: italic;
    max-width: 320px;
}

.hl-review__name {
    font-weight: 600;
    font-size: 18px;
    color: #000;
    margin-bottom: 4px;
}

.hl-review__loc {
    font-size: 16px;
    color: #000;
    font-style: italic;
}

/* =============== FOOTER (ROAD) =============== */
.hl-road-footer {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .60) 0%, rgba(0, 0, 0, .60) 100%),
        url("https://takeittoheartlandtirecomlive.kinsta.cloud/wp-content/uploads/2026/02/bg-road-1-scaled.png");
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center, center;
    padding: 62px 0 26px;
}

.hl-road-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    gap: 40px;
}

.hl-road-footer__brand {
    display: inline-flex;
    text-decoration: none;
}

.hl-road-footer__logo {
    height: 92px;
    width: auto;
    display: block;
}

.hl-road-footer__actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-end;
    margin-top: 6px;
}

.hl-road-footer__btn{
  width: 380px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ef4023;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid #FAFAFA;
  text-transform:uppercase;
  position:relative;
  overflow:hidden;
  transition:color .25s ease;
}

/* bg layer */
.hl-road-footer__btn::before{
  content:"";
  position:absolute;
  inset:0;
  border:1px solid #EF4023; 
  background:#fff; 	
  color:#EF4023;              /* hover bg */
  transform:translateX(-110%);
  opacity:0;
  visibility:hidden;
  transition:transform .35s ease, opacity .2s ease, visibility 0s linear .2s;
  z-index:0;
}
.hl-servicesGrid__title_underline{
  position: relative;
  display: inline-block;
  padding-bottom: 10px; /* underline image ke liye space */
}

.hl-servicesGrid__title_underline::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:10px; /* image height ke hisaab se */
  background:url("https://takeittoheartlandtirecomlive.kinsta.cloud/wp-content/uploads/2026/02/Line-14.png") center bottom / contain no-repeat;
}
/* text */
.hl-road-footer__btn span{
  position:relative;
  z-index:1;
  display:inline-block;
  transform:scale(.88);
  transition:transform .25s ease;
  transform-origin:center;
}

/* hover */
.hl-road-footer__btn:hover{
  color:#EF4023;  
  border:1px solid #EF4023; 
}
.hl-road-footer__btn:hover::before{
  transform:translateX(0);
  opacity:1;
  visibility:visible;
  transition:transform .35s ease, opacity .2s ease;
}
.hl-road-footer__btn:hover span{
  transform:scale(1);
}

/* active */
.hl-road-footer__btn:active{
  color:#fff;
}
.hl-road-footer__btn:active::before{
  background:#E02B20;              /* active bg */
  transform:translateX(0);
  opacity:1;
  visibility:visible;
}

/* focus (black dotted 2px) */
.hl-road-footer__btn:focus,
.hl-road-footer__btn:focus-visible{
  border:1px solid #1A1A1A;
    outline-offset:3px;
}
.hl-road-footer__rule {
    max-width: 1240px;
    margin: 60px auto 18px;
    height: 1px;
    background: rgba(255, 255, 255, .35);
}

.hl-road-footer__legal {
    color: rgba(255, 255, 255, .80);
    font-size: 12px;
    font-style: italic;
}

.hl-road-footer__legal-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}

.hl-road-footer__legal a {
    color: rgba(255, 255, 255, .85);
    text-decoration: underline;
}

.hl-road-footer__legal a:hover {
    opacity: .9;
}

/* ✅ Tire (Vector) top-right for BOTH sections via ::before */
.hl-servicesGrid,
.hl-testimonials{
  position:relative;
  overflow:hidden;
}

.hl-servicesGrid > .hl-container,
.hl-testimonials > .hl-container{
  position:relative;
  z-index:2;
}

.hl-servicesGrid::before,
.hl-testimonials::before{
      content: "";
    position: absolute;
    top: -70px;
    right: 0;
    width: 100%;
    height: 330px;
    background: url(https://takeittoheartlandtirecomlive.kinsta.cloud/wp-content/uploads/2026/02/image.png) no-repeat;
    background-size: contain;
    background-position: top right;
    z-index: 1;
}
.location-section:before {
    content: "";
    position: absolute;
    top: -20px;
    width: 100%;
    height: 330px;
    background: url(https://takeittoheartlandtire.com/wp-content/uploads/2026/03/image-7-1-Edited.png) no-repeat;
    background-size: contain;
    background-position: top left;
    z-index: 1;
    left: 0 !important;
}
.location-section {
	position: relative;
}

/* ✅ Mobile tweak */
@media (max-width: 768px){
  .hl-servicesGrid::before,
  .hl-testimonials::before{
    top:-20px;
    right:-30px;
    width:70vw;
    height:70vw;
    opacity:.18;
  }
}

/* =========================================================
   ONLY TWO MEDIA QUERIES (1024 & 768)
   ========================================================= */

/* <=1024 */
@media (max-width:1024px) {

    /* header */
    .hl-container {
        padding: 0 20px;
    }

    .hl-header__bar {
        padding: 12px 16px;
    }

    /* hero */
    .hl-hero {
        padding: 52px 0;
        min-height: 260px;
    }

    .hl-hero__title {
        font-size: 46px;
    }

    .hl-hero__sub {
        font-size: 16px;
        line-height: 26px;
    }

    /* services */
    .hl-servicesGrid {
        padding: 40px 0 46px;
    }

    .hl-servicesGrid__title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .hl-servicesGrid__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .hl-serviceCard__img {
        height: 190px;
    }

    .hl-serviceCard__bar {
        font-size: 20px;
        padding: 16px 12px;
    }

    /* testimonials */
    .hl-testimonials__title {
        font-size: 32px;
    }

    .hl-testimonials__grid {
        gap: 18px;
    }

    .hl-review {
        padding: 18px;
    }

    /* footer */
    .hl-road-footer {
        padding: 52px 0 22px;
    }

    .hl-road-footer__logo {
        height: 82px;
    }

    .hl-road-footer__btn {
        width: 340px;
    }

    .hl-road-footer__rule {
        margin: 46px auto 16px;
    }

    /* kpi */
    .hl-kpi__inner {
        grid-template-columns: 1fr 220px;
        min-height: 135px;
    }

    .hl-kpi__grid {
        gap: 26px;
        padding: 28px 16px 28px 0;
    }

    .hl-kpi__icon {
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
    }

    .hl-kpi__val {
        font-size: 26px;
    }

    .hl-kpi__lbl {
        font-size: 13px;
    }

    .hl-kpi__wheel {
        width: 190px;
        margin-right: 14px;
        margin-top: -8px;
    }
}

/* <=768 */
@media (max-width:768px) {
	.location-section:before {
		content:none;
	}

    /* header */
    .hl-header__bar {
        gap: 20px;
        padding: 14px 16px;
    }

    .hl-container {
        padding: 0 20px;
    }

    .hl-header__link--right {
        justify-content: center;
    }

    .hl-header__logo img {
        height: 100%;
    }

    /* hero */
    .hl-hero {
        padding: 38px 0;
        height: 50vh;
        background-position: left center, center right;

    }

    .hl-hero__content {
        max-width: 100%;
        text-align: center;
    }

    .hl-hero__title {
        font-size: 38px;
    }

    .hl-hero__sub {
        font-size: 16px;
        line-height: 26px;
    }

    .hl-hero__btn {
        height: 50px;
        padding: 0 22px;
        font-size: 16px;
    }

    /* services */
    .hl-servicesGrid {
        padding: 34px 0 40px;
    }

    .hl-servicesGrid__title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .hl-servicesGrid__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .hl-serviceCard {
        border-width: 2px;
        border-radius: 12px;
    }

    .hl-serviceCard__img {
        height: 140px;
    }

    .hl-serviceCard__bar {
        font-size: 13px;
        padding: 14px 10px;
    }

    .hl-servicesGrid__btn {
        width: 100%;
        font-size: 16px;
    }

    /* testimonials */
    .hl-testimonials {
        padding: 0 0 40px;
    }

    .hl-testimonials__title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .hl-testimonials__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hl-review__text {
        max-width: none;
    }

    /* footer */
    .hl-road-footer {
        padding: 44px 0 20px;
    }

    .hl-road-footer__inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hl-road-footer__actions {
        align-items: flex-start;
    }

    .hl-road-footer__btn {
        width: 100%;
    }

    .hl-road-footer__rule {
        margin: 34px auto 14px;
    }

    /* kpi */
    .hl-kpi__bar {
        width: 100%;
		border-top-right-radius:0;
        border-bottom-left-radius: 999px;
        border-bottom-right-radius: 999px;
    }

    .hl-kpi__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hl-kpi__wheel {
        display: none;
    }

    .hl-kpi__grid {
        grid-template-columns: none;
        gap: 0;
        padding: 0;
    }

    .hl-kpi__val {
        font-size: 20px;
    }

    .hl-kpi__lbl {
        font-size: 18px;
    }
    .hl-header__link {
    font-size: 11px;
}
.hl-testimonials__kicker {
    font-size: 16px;
}
.hl-kpi__item {
    display: block;
    border-bottom: solid 1px #fff;
    padding: 20px 0;
}
.hl-kpi__inner {
        padding: 30px;
    }
    .hl-kpi {
    padding: 0; 
    margin-top: 4rem !important;
}
.hl-kpi__item {
  border: none;
}
	.hl-road-footer__brand{
		align-items: center;
    justify-content: center;
	}
}