﻿/*
Theme Name: Dent Repair
Theme URI: https://dentrepair.local
Author: Dent Repair
Description: A responsive WordPress theme for paintless dent repair, with editable contact details, home service promo, Google reviews shortcode, and before/after sliders.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: dentrepair
*/
:root {
  --ink: #142033;
  --muted: #64748b;
  --soft: #f4f7fb;
  --line: #dbe3ee;
  --white: #ffffff;
  --red: #e3342f;
  --red-dark: #c62725;
  --blue: #0f5ca8;
  --blue-dark: #0a3f77;
  --gold: #f6b93b;
  --shadow: 0 18px 45px rgba(20, 32, 51, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.topbar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 13px;
}

.topbar-inner,
.nav-inner,
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--white);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  animation: slideDown 0.65s ease both;
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  max-height: 122px;
  object-fit: contain;
}

.logo span:last-child {
  color: var(--red);
}

.site-footer .logo {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--white);
}

.site-footer .logo img {
  width: 220px;
  max-height: 64px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--red);
}

.nav-links a.btn,
.nav-links a.btn:hover,
.nav-links a.btn:focus,
.nav-links a.btn:visited,
.nav-links a.btn.active,
.nav-links .current-menu-item > a.btn,
.nav-links .current_page_item > a.btn {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.34) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(227, 52, 47, 0.24);
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(15, 92, 168, 0.2);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 114px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 44%, rgba(255,255,255,0.16) 100%),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1800&q=80") center right / cover;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--gold));
  transform-origin: left;
  animation: lineGrow 1s ease both;
}

.hero .container {
  padding: 86px 0 116px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
}

h1,
h2,
h3 {
  font-family: "Barlow Condensed", Arial, sans-serif;
  line-height: 0.98;
}

h1 {
  max-width: 690px;
  margin-top: 18px;
  font-size: clamp(52px, 8vw, 96px);
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card {
  width: min(100%, 620px);
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-stat {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  color: var(--blue);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.section-title {
  margin-top: 12px;
  font-size: clamp(38px, 5vw, 64px);
  text-transform: uppercase;
}

.section-copy {
  max-width: 610px;
  color: var(--muted);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.feature:hover,
.process-step:hover,
.contact-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 92, 168, 0.28);
  box-shadow: 0 22px 48px rgba(20, 32, 51, 0.13);
}

.service-card img {
  width: 100%;
  height: 212px;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.service-card:hover img,
.split-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.card-body {
  padding: 28px;
}

.card-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  margin-top: 9px;
  font-size: 30px;
  text-transform: uppercase;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
}

.mini-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: var(--blue);
  font-weight: 900;
}

.feature h3,
.process-step h3 {
  font-size: 24px;
  text-transform: uppercase;
}

.feature p,
.process-step p {
  color: var(--muted);
  font-size: 15px;
}

.image-panel {
  min-height: 520px;
  border-radius: var(--radius);
  background: url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1200&q=80") center / cover;
  box-shadow: var(--shadow);
}

.stats-band {
  background: var(--blue-dark);
  color: var(--white);
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 54px;
  line-height: 1;
  animation: numberPop 1.4s ease both;
}

.stats-grid span {
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.review-card {
  padding: 28px;
}

.review-card .stars {
  animation: starPulse 2.4s ease-in-out infinite;
}

.stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.review-card blockquote {
  margin-top: 18px;
  color: var(--muted);
}

.reviewer {
  margin-top: 22px;
  font-weight: 900;
}

.cta {
  background:
    linear-gradient(90deg, rgba(10,63,119,0.94), rgba(10,63,119,0.78)),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=80") center / cover;
  color: var(--white);
  background-attachment: fixed;
}

.cta .section-copy {
  color: rgba(255,255,255,0.82);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.contact-panel {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.contact-row {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-row a,
.contact-row strong {
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.home-service-strip {
  padding: 58px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fd 100%);
  border-top: 1px solid var(--line);
}

.home-service-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--red), var(--blue));
}

.home-service-card h2 {
  margin-top: 8px;
  font-size: clamp(32px, 4vw, 52px);
  text-transform: uppercase;
}

.home-service-card p {
  max-width: 680px;
  margin-top: 10px;
  color: var(--muted);
}

.home-service-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page-hero {
  position: relative;
  padding: 86px 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78)),
    url("https://images.unsplash.com/photo-1503736334956-4c8f8e92946d?auto=format&fit=crop&w=1600&q=80") center / cover;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  animation: pageHeroFade 0.8s ease both;
}

.page-hero h1 {
  font-size: clamp(48px, 7vw, 82px);
}

.split-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.split-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.plain-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  background: #0c1726;
  color: var(--white);
  padding: 62px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 34px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255,255,255,0.7);
}

.footer-grid h3 {
  margin-bottom: 16px;
  font-size: 22px;
  text-transform: uppercase;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.trustindex-panel {
  margin-top: 28px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trustindex-shortcode {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px dashed rgba(15, 92, 168, 0.34);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  color: var(--blue-dark);
  font-weight: 900;
  text-align: center;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.comparison-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.06);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.comparison-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 92, 168, 0.28);
  box-shadow: 0 22px 48px rgba(20, 32, 51, 0.13);
}

.compare-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 260px;
}

.compare-media.slider-ready {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 10;
  background: #eef3f9;
  user-select: none;
}

.ba-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 290px;
  overflow: hidden;
  background: #eef3f9;
}

.ba-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ba-layer img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  display: block;
}

.ba-before {
  width: 100%;
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.ba-before {
  filter: saturate(0.82) contrast(0.94);
}

.ba-slider .dent-marker {
  z-index: 4;
}

.ba-label {
  position: absolute;
  top: 14px;
  z-index: 5;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-label-before {
  left: 14px;
  background: var(--red);
}

.ba-label-after {
  right: 14px;
  background: var(--blue);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  z-index: 6;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 10px 26px rgba(20, 32, 51, 0.24);
  transform: translate(-50%, -50%);
}

.ba-handle::after {
  content: "< >";
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  transform: translate(-50%, -50%);
}

.ba-range {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare-half {
  position: relative;
  overflow: hidden;
  background: #eef3f9;
}

.compare-half img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.comparison-card:hover .compare-half img {
  transform: scale(1.05);
}

.comparison-card:hover .slider-ready .ba-layer img {
  transform: none;
}

.compare-half.before img {
  filter: saturate(0.82) contrast(0.94);
}

.compare-half::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-half.before::after {
  background: var(--red);
}

.compare-half.after::after {
  background: var(--blue);
}

.dent-marker {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 3px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(227, 52, 47, 0.12);
  animation: markerPulse 1.9s ease-in-out infinite;
}

.dent-marker.small {
  width: 34px;
  height: 34px;
}

.comparison-body {
  padding: 24px;
}

.comparison-body h3 {
  font-size: 30px;
  text-transform: uppercase;
}

.comparison-body p {
  margin-top: 10px;
  color: var(--muted);
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.result-tags span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes heroDrift {
  from { background-position: center right; }
  to { background-position: center center; }
}

@keyframes pageHeroFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes numberPop {
  from { opacity: 0; transform: translateY(12px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes starPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.68; }
}

@keyframes markerPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.7; }
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 13px 12px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.86)),
      url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1300&q=80") center / cover;
    animation: none;
  }

  .grid-3,
  .process-list,
  .stats-grid,
  .before-after-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2,
  .cta-grid,
  .split-card,
  .footer-grid,
  .home-service-card {
    grid-template-columns: 1fr;
  }

  .home-service-actions {
    justify-content: flex-start;
  }

  .image-panel {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-links {
    display: none;
  }

  .nav-inner {
    height: 68px;
  }

  .logo {
    font-size: 28px;
  }

  .logo img {
    width: 150px;
    max-height: 82px;
  }

  .hero .container,
  .section,
  .page-hero {
    padding: 62px 0;
  }

  .section-head {
    display: block;
  }

  .section-head .btn {
    margin-top: 22px;
  }

  .hero-card,
  .grid-3,
  .grid-2,
  .process-list,
  .stats-grid,
  .before-after-grid,
  .compare-media {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stat:last-child {
    border-bottom: 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .split-card img {
    height: 280px;
  }

  .footer-bottom {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
