/* =============================================================================
   AutoCar Care — plain readable CSS (no Tailwind, no build step)
   Open index.html from disk (file://) or from Apache — both work.
   Sizing: px only (converted from rem at 16px = 1rem).
   ============================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap");

:root {
  --color-primary: #fbbf24;
  --color-primary-hover: #f59e0b;
  --color-secondary: #0f172a;
  --color-secondary-dark: #020617;
  --color-text: #020617;
  --color-muted: #6b7280;
  --color-border: #f3f4f6;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --container: 1280px;
  --header-offset: 112px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Fixed header: anchor links land below nav, not under it */
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Icon sprite — zero layout space (fixes white gap above header) */
.svg-defs {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

/* ----- Icons (inline SVG sizing) ----- */

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

.icon--xl {
  width: 28px;
  height: 28px;
}

.icon--2xl {
  width: 40px;
  height: 40px;
}

/* ----- Layout ----- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  padding: 96px 0;
}

.section--muted {
  background: #f9fafb;
}

.section--dark {
  background: var(--color-secondary);
  color: #fff;
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.25);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
  background: #fffbeb;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 18px;
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost-light:hover {
  background: #fff;
  color: var(--color-secondary);
}

.btn--dark {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.btn--dark:hover {
  background: var(--color-secondary-dark);
}

.btn--block {
  width: 100%;
}

/* ----- Header / Nav ----- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.site-header--scrolled {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.site-header__logo-wrap {
  position: relative;
  flex-shrink: 0;
}

.site-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  padding: 10px;
  border-radius: 12px;
  color: var(--color-secondary);
  box-shadow: 0 10px 15px rgba(251, 191, 36, 0.2);
  transition: transform 0.5s ease;
}

.site-header__brand:hover .site-header__logo {
  transform: rotate(360deg);
}

.site-header__logo-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: var(--color-secondary);
  border-radius: 50%;
  border: 2px solid #fff;
}

.site-header__brand-text {
  display: flex;
  flex-direction: column;
}

.site-header__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
  transition: color 0.3s;
}

.site-header__title span {
  color: var(--color-primary);
}

.site-header__tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.8;
  margin-top: 3px;
}

.site-header--scrolled .site-header__title {
  color: var(--color-secondary);
}

.site-header--scrolled .site-header__logo-dot {
  border-color: #fff;
}

.site-header__desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .site-header__desktop {
    display: flex;
  }
}

.site-header__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.site-header__link:hover {
  color: var(--color-primary);
}

.site-header--scrolled .site-header__link {
  color: #4b5563;
}

.site-header--scrolled .site-header__link:hover {
  color: var(--color-primary);
}

.site-header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
}

.site-header--scrolled .site-header__menu-btn {
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .site-header__menu-btn {
    display: none;
  }
}

.site-header__menu-btn svg.icon--close {
  display: none;
}

.site-header__menu-btn[aria-expanded="true"] svg.icon--menu {
  display: none;
}

.site-header__menu-btn[aria-expanded="true"] svg.icon--close {
  display: block;
}

.site-header__mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 24px 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--color-border);
}

.site-header__mobile[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .site-header__mobile {
    display: none !important;
  }
}

.site-header__mobile a:not(.site-header__mobile-cta) {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 500;
  color: #1f2937;
  border-bottom: 1px solid #f9fafb;
}

.site-header__mobile a:not(.site-header__mobile-cta):hover {
  color: var(--color-primary);
}

.site-header__mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
  background: var(--color-primary);
  border-radius: 8px;
  border-bottom: none;
  box-shadow: none;
}

.site-header__mobile-cta:hover {
  background: var(--color-primary-hover);
  color: var(--color-secondary);
}

.site-header__mobile-cta .icon {
  width: 20px;
  height: 20px;
}

/* ----- Hero ----- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-secondary) 0%,
    rgba(15, 23, 42, 0.75) 55%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.hero__inner {
  max-width: 672px;
  color: #fff;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

/* Line 1: full title one row — Line 2: accent (matches design reference) */
.hero__title-main {
  display: block;
  white-space: nowrap;
}

.hero__title-accent {
  display: block;
  color: var(--color-primary);
  font-style: italic;
}

@media (max-width: 400px) {
  .hero__title-main {
    white-space: normal;
  }
}

.hero__lead {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 512px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
  border-left: 3px solid var(--color-primary);
  padding-left: 24px;
}

.hero__stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stat-val {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  margin: 0;
}

.hero__stat-label {
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  margin: 0;
}

@media (min-width: 768px) {
  .hero__stats {
    gap: 24px 32px;
    padding-left: 32px;
  }

  .hero__stat-val {
    font-size: 36px;
  }
}

/* ----- Section titles ----- */

.section-head {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 80px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.section-head h2 .accent {
  color: var(--color-primary);
}

.section-head p {
  font-size: 18px;
  color: var(--color-muted);
  margin: 0;
}

/* ----- Service cards ----- */

.grid-services {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-services {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #f9fafb;
  color: var(--color-primary);
  margin-bottom: 24px;
  transition: background 0.2s, color 0.2s;
}

.service-card:hover .service-card__icon {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.service-card h3 {
  font-size: 20px;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

.service-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #f9fafb;
}

.service-card__price {
  font-weight: 700;
  color: #1f2937;
}

.service-card__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-card__cta:hover {
  color: var(--color-primary-hover);
}

.service-card__cta .icon {
  transition: transform 0.2s;
}

.service-card__cta:hover .icon {
  transform: translateX(4px);
}

/* ----- Why Choose AutoCar Care block ----- */

.why-block {
  margin-top: 80px;
  background: var(--color-secondary);
  border-radius: 40px;
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .why-block {
    padding: 64px;
  }
}

.why-block__deco {
  position: absolute;
  top: 0;
  right: 0;
  padding: 32px;
  opacity: 0.1;
  color: var(--color-primary);
  pointer-events: none;
  line-height: 0;
}

.why-block__deco-icon {
  display: block;
  width: 256px;
  height: 256px;
  stroke: currentColor;
  fill: none;
}

.why-block__inner {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.why-block__title {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 40px;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .why-block__title {
    font-size: 48px;
  }
}

.why-block__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .why-block__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.why-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.2);
  padding: 16px;
  border-radius: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.why-item__icon-svg {
  width: 32px;
  height: 32px;
}

.why-item__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-item__text h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.why-item__text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.625;
  max-width: 280px;
}

.why-block__cta {
  margin-top: 48px;
}

.btn--why-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 40px;
  font-size: 20px;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-secondary);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.25);
  transition: background 0.2s, transform 0.15s;
}

.btn--why-cta:hover {
  background: #fbbf24;
}

.btn--why-cta:active {
  transform: scale(0.98);
}

.why-block__cta-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* ----- Breakdown ----- */

.breakdown-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    #f59e0b,
    var(--color-primary)
  );
}

.section--breakdown {
  position: relative;
  background: #fff;
}

.breakdown-head {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .breakdown-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.breakdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  background: #fef3c7;
  color: #b45309;
  margin-bottom: 24px;
}

.breakdown-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--color-secondary);
}

.breakdown-head .accent {
  color: var(--color-primary);
  font-style: italic;
}

.breakdown-head > a.btn--dark {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.grid-breakdown {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-breakdown {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-breakdown {
    grid-template-columns: repeat(4, 1fr);
  }
}

.breakdown-card {
  background: #f9fafb;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  transition: border-color 0.2s;
}

.breakdown-card:hover {
  border-color: var(--color-primary);
}

.breakdown-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.2s;
}

.breakdown-card:hover .breakdown-card__icon {
  transform: scale(1.08);
}

.breakdown-card__icon--blue {
  background: #eff6ff;
  color: #2563eb;
}
.breakdown-card__icon--yellow {
  background: #fefce8;
  color: #ca8a04;
}
.breakdown-card__icon--green {
  background: #f0fdf4;
  color: #16a34a;
}
.breakdown-card__icon--purple {
  background: #faf5ff;
  color: #9333ea;
}

.breakdown-card h4 {
  font-size: 20px;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.breakdown-card p {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

.breakdown-card a {
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breakdown-banner {
  margin-top: 64px;
  padding: 32px;
  background: var(--color-secondary);
  border-radius: 40px;
  border: 4px solid rgba(251, 191, 36, 0.35);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .breakdown-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.breakdown-banner__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.breakdown-banner__clock {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.breakdown-banner h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}

.breakdown-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.breakdown-banner__right {
  text-align: center;
}

@media (min-width: 768px) {
  .breakdown-banner__right {
    text-align: right;
  }
}

.breakdown-banner__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.breakdown-banner__region {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

/* ----- Testimonials — pixel match to React (py-24, Tailwind defaults) ----- */

.testimonials {
  padding: 96px 0;
  background: var(--color-secondary);
  color: #fff;
  overflow: hidden;
}

.testimonials__container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.testimonials__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.testimonials__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 576px;
  margin: 0;
}

@media (min-width: 768px) {
  .testimonials__title {
    font-size: 48px;
    line-height: 48px;
  }
}

.testimonials__title-accent {
  color: var(--color-primary);
  font-style: italic;
}

.testimonials__nav {
  display: none;
  gap: 16px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .testimonials__nav {
    display: flex;
  }
}

.testimonials__nav-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.testimonials__nav-btn:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.testimonials__nav-icon {
  display: block;
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.testimonials__nav-icon--prev {
  transform: rotate(180deg);
}

/* Slider: har slide = 3 reviews ek saath */
.testimonials__viewport {
  overflow: hidden;
  padding-bottom: 48px;
}

.testimonials__slides {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.testimonials__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials__slide {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.testimonials__card {
  box-sizing: border-box;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 40px;
  transition: border-color 0.2s ease;
}

.testimonials__card:hover {
  border-color: rgba(251, 191, 36, 0.3);
}

.testimonials__stars {
  display: flex;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  margin: 0 0 24px;
}

.testimonials__quote {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonials__avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials__name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #fff;
  margin: 0;
}

.testimonials__role {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ----- Brand logos ----- */

.brands {
  padding: 64px 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.brands__title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #9ca3af;
  text-transform: uppercase;
  margin: 0 0 48px;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 32px;
  row-gap: 48px;
  align-items: center;
}

/* Always full color — no hover-only highlight (overrides old cached rules) */
.brands__grid,
.brands__grid:hover,
.brands__item,
.brands__item:hover {
  opacity: 1;
  filter: none;
}

.brands__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brands__logo-wrap,
.brands__item:hover .brands__logo-wrap {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

.brands__logo,
.brands__item:hover .brands__logo {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.brands__name,
.brands__item:hover .brands__name {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .brands__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .brands__grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

/* ----- Footer ----- */

.site-footer {
  padding: 80px 0 0;
  border-top: 1px solid #f3f4f6;
  background: #fff;
}

.footer-grid {
  display: grid;
  gap: 48px;
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  cursor: pointer;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-secondary);
  padding: 10px;
  border-radius: 12px;
  color: var(--color-primary);
  box-shadow: 0 10px 15px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s ease;
}

.footer-brand__head:hover .footer-brand__logo {
  transform: rotate(12deg);
}

.footer-brand__text {
  display: flex;
  flex-direction: column;
}

.footer-brand__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--color-secondary);
}

.footer-brand__title span {
  color: var(--color-primary);
}

.footer-brand__estd {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-brand__desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.625;
  margin: 0 0 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social__pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.footer-social__pill:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 24px;
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col__list li {
  margin-bottom: 16px;
}

.footer-col__list li:last-child {
  margin-bottom: 0;
}

.footer-col__list a {
  font-size: 14px;
  color: #6b7280;
  transition: color 0.2s ease;
}

.footer-col__list a:hover {
  color: var(--color-primary);
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.footer-contact__item:last-child {
  margin-bottom: 0;
}

.footer-contact__item--center {
  align-items: center;
}

.footer-contact__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.footer-contact__item--center .footer-contact__icon {
  margin-top: 0;
}

.footer-bar {
  margin: 0 -16px;
  padding: 32px;
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
  border-radius: 0 0 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 32px;
    padding-right: 32px;
  }
}

.footer-bar__copy {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.footer-bar__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
  animation: pulse-opacity 2s ease-in-out infinite;
}

.footer-bar__cta:hover {
  opacity: 0.85;
}

@keyframes pulse-opacity {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

/* ----- Legal pages (Privacy Policy, etc.) ----- */

/* Header always “scrolled” look — no transparent/white text toggle */
body.page-legal .site-header {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

body.page-legal .site-header__title {
  color: var(--color-secondary);
}

body.page-legal .site-header__logo-dot {
  border-color: #fff;
}

body.page-legal .site-header__link {
  color: #4b5563;
}

body.page-legal .site-header__link:hover {
  color: var(--color-primary);
}

body.page-legal .site-header__menu-btn {
  color: var(--color-secondary);
}

.legal-page {
  padding: calc(var(--header-offset) + 40px) 0 80px;
  background: #fff;
  min-height: 60vh;
}

.legal-page__inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.legal-page__body {
  font-family: var(--font-body);
}

.legal-page__section-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 28px 0 14px;
}

.legal-page__section-title:first-child {
  margin-top: 0;
}

.legal-page__text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: #374151;
  margin: 0 0 14px;
}

.legal-page__text strong {
  font-weight: 700;
  color: var(--color-text);
}

.legal-page__text a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__text a:hover {
  color: var(--color-primary);
}

.legal-page__subheading {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text);
  margin: 20px 0 8px;
}

.legal-page__table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
}

.legal-page__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}

.legal-page__table th,
.legal-page__table td {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-page__table th {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
}

.legal-page__notice {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 14px;
}

.legal-page__back {
  margin-top: 48px;
  text-align: center;
}

.legal-page__back a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.legal-page__back a:hover {
  color: var(--color-primary);
}

/* Mobile: tighter gaps between homepage sections (15px less per spacing step) */
@media (max-width: 767px) {
  :root {
    --mobile-section-trim: 15px;
  }

  .section {
    padding-top: calc(96px - var(--mobile-section-trim));
    padding-bottom: calc(96px - var(--mobile-section-trim));
  }

  .testimonials {
    padding-top: calc(96px - var(--mobile-section-trim));
    padding-bottom: calc(96px - var(--mobile-section-trim));
  }

  .brands {
    padding-top: calc(64px - var(--mobile-section-trim));
    padding-bottom: calc(64px - var(--mobile-section-trim));
  }

  .site-footer {
    padding-top: calc(80px - var(--mobile-section-trim));
  }

  .section-head {
    margin-bottom: calc(80px - var(--mobile-section-trim));
  }

  .section-head h2 {
    margin-bottom: calc(24px - var(--mobile-section-trim));
  }

  .why-block {
    margin-top: calc(80px - var(--mobile-section-trim));
  }

  .breakdown-head {
    margin-bottom: calc(64px - var(--mobile-section-trim));
  }

  .breakdown-banner {
    margin-top: calc(64px - var(--mobile-section-trim));
  }

  .testimonials__header {
    margin-bottom: calc(64px - var(--mobile-section-trim));
  }

  .testimonials__viewport {
    padding-bottom: calc(48px - var(--mobile-section-trim));
  }

  .brands__title {
    margin-bottom: calc(48px - var(--mobile-section-trim));
  }

  .footer-grid {
    gap: calc(48px - var(--mobile-section-trim));
    margin-bottom: calc(80px - var(--mobile-section-trim));
  }

  .hero__lead {
    margin-bottom: calc(40px - var(--mobile-section-trim));
  }

  .hero__actions {
    margin-bottom: calc(64px - var(--mobile-section-trim));
  }

  .grid-services {
    gap: calc(32px - var(--mobile-section-trim));
  }

  .grid-breakdown {
    gap: calc(24px - var(--mobile-section-trim));
  }
}

@media (max-width: 767px) {
  body.page-legal {
    --header-offset: 88px;
  }

  .legal-page {
    padding: calc(var(--header-offset) + 20px) 0 72px;
  }

  .legal-page .container.legal-page__inner {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .legal-page__title {
    font-size: 26px;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .legal-page__body {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .legal-page__section-title,
  .legal-page__subheading,
  .legal-page__text,
  .legal-page__notice {
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  .legal-page__section-title {
    font-size: 13px;
    margin: 22px 0 10px;
  }

  .legal-page__subheading {
    font-size: 14px;
    margin: 16px 0 6px;
  }

  .legal-page__text,
  .legal-page__notice {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 12px;
  }

  .legal-page__table-wrap {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    -webkit-overflow-scrolling: touch;
  }

  .legal-page__table {
    font-size: 12px;
    min-width: 260px;
  }

  .legal-page__table th,
  .legal-page__table td {
    padding: 8px 10px;
  }

  .legal-page__back {
    margin-top: 32px;
  }
}

/* ----- Mobile bottom call bar ----- */

.mobile-call-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .mobile-call-bar {
    display: none;
  }
}

/* ----- Pulse on emergency phone icon ----- */

.animate-phone-pulse .icon {
  animation: pulse-opacity 1.5s ease-in-out infinite;
}
