/* ==========================================================
   PRECISION AUTO GLASS
   Clean responsive stylesheet
   ========================================================== */

:root {
  --pink: #e20684;
  --pink-dark: #c2046f;
  --pink-soft: rgba(226, 6, 132, 0.08);
  --pink-glow: rgba(226, 6, 132, 0.25);

  --charcoal: #333333;
  --charcoal-deep: #1e1e1e;
  --charcoal-card: #282828;

  --gray: #55555e;
  --gray-light: #e8e7eb;
  --gray-bg: #f8f9fa;
  --border: #e2e4e8;
  --silver: #a2a1a8;
  --white: #ffffff;

  --heading-font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.12);
  --shadow-pink: 0 8px 24px rgba(226, 6, 132, 0.3);

  --max-width: 1200px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 76px;
  color: var(--charcoal);
  background: var(--white);
  font: 400 16px/1.6 var(--body-font);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  color: var(--charcoal);
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 64px 0;
  scroll-margin-top: 80px;
}

.section-title {
  margin-bottom: 12px;
  text-align: center;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.section-sub {
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--gray);
  text-align: center;
  font-size: 17px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.centered {
  display: block;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.btn-primary,
.btn-call {
  color: var(--white);
  background: var(--pink);
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover,
.btn-call:hover {
  color: var(--white);
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.btn-text {
  color: var(--white);
  background: var(--charcoal);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-text:hover {
  color: var(--white);
  background: var(--charcoal-deep);
  border-color: var(--pink);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-call-btn,
.header-text-btn {
  display: none;
}

.nav-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
}

.primary-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: max-height 0.3s ease;
}

.primary-nav.is-open {
  max-height: 420px;
}

.primary-nav ul {
  display: flex;
  flex-direction: column;
  padding: 12px 20px 16px;
}

.primary-nav a {
  display: block;
  padding: 12px 0;
  color: var(--charcoal);
  border-bottom: 1px solid var(--gray-bg);
  font-weight: 600;
}

.primary-nav a:hover {
  color: var(--pink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal-deep), var(--charcoal));
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--pink-glow), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero h1 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 34px;
  letter-spacing: -0.02em;
}

.hero-sub {
  max-width: 580px;
  margin-bottom: 22px;
  color: #d1d5db;
  font-size: 18px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badges li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 500;
}

.hero-badges li svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: var(--pink);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  left: 16px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--charcoal);
  background: var(--white);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.floating-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--pink-soft);
  border-radius: 50%;
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-text strong {
  font-size: 14px;
}

.floating-text span {
  color: var(--gray);
  font-size: 12px;
}

/* ---------- Services ---------- */

.services {
  background: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(226, 6, 132, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  place-items: center;
  color: var(--pink);
  background: var(--pink-soft);
  border-radius: var(--radius-md);
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.card p {
  margin-bottom: 0;
  color: var(--gray);
  font-size: 15px;
}

.service-disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 18px;
  background: var(--gray-bg);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius-sm);
}

.service-disclaimer-box svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: var(--pink);
}

.service-disclaimer-box p {
  margin: 0;
  color: var(--charcoal);
  font-size: 14px;
}

/* ---------- How It Works ---------- */

.how-it-works {
  color: var(--white);
  background: var(--charcoal-deep);
}

.how-it-works .section-title {
  color: var(--white);
}

.how-it-works .section-sub {
  color: var(--silver);
}

.how-it-works-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-card {
  padding: 22px 20px;
  background: var(--charcoal-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
}

.step-number {
  margin-bottom: 10px;
  color: var(--pink);
  font: 800 38px/1 var(--heading-font);
}

.step-card h3 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 19px;
}

.step-card p {
  margin: 0;
  color: var(--silver);
  font-size: 14px;
}

.before-after-section {
  width: 100%;
  text-align: center;
}

.before-after-header {
  margin-bottom: 16px;
}

.before-after-header h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 23px;
}

.before-after-header p {
  margin: 0;
  color: var(--silver);
  font-size: 14px;
}

.before-after-slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 360px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--charcoal-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: none;
}

.before-after-slider > .after-image,
.before-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.before-image-wrapper .before-image {
  width: 600px;
  max-width: none;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  gap: 2px;
  color: var(--white);
  background: var(--pink);
  border-radius: 50%;
  box-shadow: var(--shadow-pink);
  transform: translate(-50%, -50%);
  font-size: 27px;
  font-weight: 700;
}

.slider-label {
  position: absolute;
  top: 16px;
  z-index: 5;
  padding: 6px 12px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.65);
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.before-label {
  left: 16px;
}

.after-label {
  right: 16px;
}

.slider-input {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* ---------- About ---------- */

.about {
  background: var(--gray-bg);
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-media img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.about-copy h2,
.contact-info h2 {
  margin-bottom: 14px;
  font-size: 32px;
}

.about-copy p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.about-highlight-item {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.about-highlight-item strong {
  display: block;
  color: var(--pink);
  font: 800 17px/1.25 var(--heading-font);
}

.about-highlight-item span {
  color: var(--gray);
  font-size: 12px;
}

/* ---------- Reviews ---------- */

.reviews {
  background: var(--white);
}

.google-trust-badge {
  margin-bottom: 30px;
  text-align: center;
}

.google-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
}

.google-rating-box .stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(226, 6, 132, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--pink);
  background: var(--pink-soft);
  border-radius: 50%;
  font: 800 19px var(--heading-font);
}

.review-author strong {
  color: var(--charcoal);
  font: 600 16px var(--heading-font);
}

.review-stars {
  margin-top: 16px;
  color: #f59e0b;
  font-size: 17px;
  letter-spacing: 2px;
  line-height: 1;
}

.review-text {
  margin: 16px 0 0;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.7;
}

.review-source {
  margin-top: auto;
  padding-top: 18px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
}

.reviews-cta {
  margin-top: 28px;
  color: var(--gray);
  text-align: center;
  font-size: 15px;
}

.reviews-cta p {
  margin: 0;
}

.reviews-cta strong {
  color: var(--charcoal);
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--gray-bg);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 18px 20px;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  text-align: left;
  font: 700 16px var(--heading-font);
}

.accordion-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--pink);
  background: var(--pink-soft);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  color: var(--white);
  background: var(--pink);
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--gray);
  font-size: 14.5px;
}

/* ---------- Contact / Quote Form ---------- */

.contact {
  background: var(--white);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-details strong {
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details .phone-link {
  color: var(--charcoal);
  font: 800 23px var(--heading-font);
}

.contact-details .phone-link:hover {
  color: var(--pink);
}

.contact-details .email-link {
  color: var(--pink);
  font-size: 16px;
  font-weight: 600;
}

.contact-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quote-form {
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.quote-form h3 {
  margin-bottom: 7px;
  font-size: 23px;
}

.quote-form-sub {
  margin-bottom: 20px;
  color: var(--gray);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-grid-spaced,
.form-row-spaced {
  margin-top: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row label {
  margin-bottom: 6px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}

.form-row textarea {
  resize: vertical;
}

.form-submit {
  margin-top: 18px;
}

.form-note {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--charcoal);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Mobile Call / Text Bar ---------- */

.mobile-call-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

.mobile-call-bar .btn {
  flex: 1;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  color: var(--silver);
  background: var(--charcoal-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 52px 20px 34px;
}

.footer-col h4 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col ul li {
  padding: 5px 0;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--pink);
}

.footer-brand .logo-img {
  height: 44px;
  margin-bottom: 12px;
}

.footer-logo {
  padding: 6px;
  background: var(--white);
  border-radius: 6px;
}

.footer-brand p {
  max-width: 430px;
  margin: 0;
  color: var(--silver);
  font-size: 14px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--silver);
  text-align: center;
  font-size: 12.5px;
}

/* ==========================================================
   RESPONSIVE LAYOUT
   ========================================================== */

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }

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

  .about-highlights {
    gap: 16px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 768px) {
  .section {
    padding: 78px 0;
  }

  .section-title {
    font-size: 38px;
  }

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

  .before-after-slider {
    height: 400px;
  }
}

@media (min-width: 960px) {
  body {
    padding-bottom: 0;
  }

  .section {
    padding: 96px 0;
  }

  .nav-toggle,
  .mobile-call-bar {
    display: none;
  }

  .primary-nav {
    position: static;
    z-index: auto;
    max-height: none;
    overflow: visible;
    flex: 1;
    margin: 0 36px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }

  .primary-nav a {
    padding: 0;
    border: 0;
    font-size: 15px;
  }

  .header-call-btn,
  .header-text-btn {
    display: inline-flex;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero {
    padding: 72px 0;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .hero-copy {
    flex: 1.1;
  }

  .hero-media {
    flex: 0.9;
  }

  .hero h1 {
    font-size: 46px;
  }

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

  .how-it-works-content {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
  }

  .about-inner,
  .contact-inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .about-media,
  .about-copy,
  .contact-info,
  .quote-form {
    flex: 1;
  }

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

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ---------- Compact mobile version ---------- */
/* The user requested these entire sections to disappear on phones. */
@media (max-width: 767px) {
  #services,
  #how-it-works,
  #faq {
    display: none;
  }

  .mobile-hide-on-small {
    display: none !important;
  }

  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-sub {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .hero {
    padding: 34px 0 52px;
  }

  .hero-inner {
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 36px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-badges {
    gap: 7px;
    padding-top: 14px;
  }

  .hero-badges li {
    font-size: 13px;
  }

  .hero-media img {
    border-radius: 14px;
  }

  .hero-floating-badge {
    left: 10px;
    bottom: -15px;
    padding: 9px 12px;
  }

  .floating-icon {
    width: 30px;
    height: 30px;
  }

  .floating-text strong {
    font-size: 12px;
  }

  .floating-text span {
    font-size: 10px;
  }

  .about-inner,
  .contact-inner {
    gap: 28px;
  }

  .about-copy h2,
  .contact-info h2 {
    font-size: 28px;
  }

  .about-copy p {
    font-size: 15px;
  }

  .about-highlights {
    gap: 10px;
  }

  .about-highlight-item {
    padding: 12px;
  }

  .about-highlight-item strong {
    font-size: 15px;
  }

  .about-highlight-item span {
    font-size: 11px;
  }

  .reviews-grid {
    gap: 14px;
  }

  .review-card {
    padding: 19px;
  }

  .contact-cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contact-cta-buttons .btn {
    width: 100%;
    padding-inline: 10px;
    font-size: 14px;
  }

  .quote-form {
    padding: 22px 18px;
  }

  .footer-inner {
    gap: 24px;
    padding: 42px 14px 28px;
  }
}
/* footer privacy and terms  */
.footer-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-legal-links span {
  opacity: 0.5;
}