/* Iecavnieks Auto Serviss — landing page styles */

:root {
  --primary: #2f6fed;
  --primary-dark: #0d2347;
  --primary-light: #5a93f7;
  --navy-mid: #16305e;
  --accent: #e0911f;
  --accent-dark: #c27812;
  --blue: #2f6fed;
  --blue-dark: #15356e;
  --blue-50: #eef4ff;
  --blue-line: rgba(47, 111, 237, 0.16);
  --ink: #161f1a;
  --muted: #5c6b63;
  --paper: #fbfaf6;
  --paper-dim: #f1efe7;
  --line: #e4e1d6;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(13, 35, 71, 0.08);
  --shadow-md: 0 8px 24px rgba(13, 35, 71, 0.12);
  --shadow-lg: 0 20px 50px rgba(13, 35, 71, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 84px 0;
}

@media (max-width: 768px) {
  section {
    padding: 54px 0;
  }
}

.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(194, 120, 18, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(194, 120, 18, 0.38);
}

.btn-outline {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 12.5px;
}

/* Header: two-tier */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.2;
  text-align: left;
  color: var(--white);
}

.brand-name span {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 26px;
}

.rating-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 17px;
  height: 17px;
}

.rating-chip .stars {
  color: var(--accent);
  gap: 1px;
}

.rating-chip .stars svg {
  width: 13px;
  height: 13px;
}

.rating-chip strong {
  color: var(--ink);
  font-weight: 700;
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-phone .icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

.topbar-phone .icon-box svg {
  width: 18px;
  height: 18px;
}

.topbar-phone-text p {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.navbar {
  background: var(--primary-dark);
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--accent);
  transition: right 0.25s var(--ease);
  border-radius: 2px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  height: calc(100vh - 76px);
  background: var(--paper);
  z-index: 99;
  padding: 24px 20px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  font-size: 20px;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 620px) {
  .topbar-phone-text {
    display: none;
  }
  .brand-name {
    font-size: 15px;
  }
  .topbar-meta {
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .brand-name span {
    display: none;
  }
}

@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 36px 0 0;
  overflow: hidden;
  background: var(--primary-dark);
  color: var(--white);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 0;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 26, 54, 0.97) 0%, rgba(13, 35, 71, 0.93) 38%, rgba(13, 35, 71, 0.5) 58%, rgba(13, 35, 71, 0.18) 78%, rgba(13, 35, 71, 0.1) 100%), url("assets/images/exterior.webp");
  background-size: cover;
  background-position: center 90%;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 56px 0 72px;
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 32px 0 52px;
  }
}

.hero-copy {
  max-width: 620px;
}

.hero-kicker {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-copy h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  color: var(--white);
}

.hero-copy h1 .accent {
  color: var(--accent);
}

.hero-copy p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
}

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

.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-avatars {
  display: flex;
  flex-shrink: 0;
}

.hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary-dark);
  margin-left: -12px;
  display: block;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-avatar:first-child {
  margin-left: 0;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-rating-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-rating-stars {
  display: flex;
  gap: 2px;
}

.hero-rating-stars svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.hero-rating-label {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hero-copy .hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
}

.hero-location svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}


/* Hero form card */

.hero-form-card {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 34px 32px 28px;
  box-shadow: 0 1px 0 rgba(15, 35, 70, 0.04), 0 36px 70px -20px rgba(6, 16, 34, 0.55), inset 0 0 0 1px rgba(15, 35, 70, 0.06);
  color: var(--ink);
  margin-top: 8px;
}

.hero-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

.hero-form-card-top {
  margin-bottom: 22px;
}

.hero-form-card h3 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.hero-form-card-top p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero-form {
  display: grid;
  gap: 16px;
}

.hidden-field {
  display: none;
}

.hero-form-field {
  display: block;
}

.hero-form-field span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 7px;
}

.hero-form input {
  width: 100%;
  padding: 12px 2px;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid var(--line);
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}

.hero-form input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.hero-form input::placeholder {
  color: #c2c7d0;
  font-weight: 400;
}

.hero-form .btn-primary {
  border-radius: 8px;
  margin-top: 6px;
  justify-content: space-between;
  padding: 16px 22px;
}

.hero-form-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.hero-form-note a {
  color: var(--primary);
  font-weight: 600;
}

.hero-form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--blue-50);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.hero-form-success.show {
  display: flex;
}

.hero-form-success svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Trust strip */

.trust-strip {
  position: relative;
  z-index: 1;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item:first-child {
  border-left: none;
}

.trust-item .icon-box {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}

.trust-item .icon-box svg {
  width: 19px;
  height: 19px;
}

.trust-item-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 860px) {
  .trust-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(3) {
    border-left: none;
  }
  .trust-item:nth-child(odd) {
    border-left: none;
  }
}

@media (max-width: 560px) {
  .trust-strip .container {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .trust-item:first-child {
    border-top: none;
  }
}

/* Icon box (generic) */

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

/* Services: horizontal showcase */

.services {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  color: var(--primary-dark);
  background: var(--white);
}

.svc-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
  margin-bottom: 28px;
}

.svc-eyebrow {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.svc-top h2 {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--primary-dark);
}

.svc-lead {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 36px;
  margin-bottom: 52px;
  border-bottom: 1px solid rgba(13, 35, 71, 0.16);
}

.service-filter {
  position: relative;
  padding: 14px 0;
  background: none;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.service-filter sup {
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: 0;
  opacity: 0.8;
}

.service-filter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.service-filter:hover { color: var(--primary-dark); }
.service-filter.active { color: var(--primary-dark); }
.service-filter.active::after { transform: scaleX(1); }

.service-filter:focus-visible,
.service-card-head:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.svc-stage {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 64px;
  align-items: stretch;
}

.svc-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: svcIn 0.55s var(--ease);
}

.svc-feature.swap { animation: svcIn 0.55s var(--ease); }

@keyframes svcIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.svc-feature-media {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 7 / 5;
  margin: 0 0 52px;
}

.svc-feature-media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(224, 145, 31, 0.55);
  border-radius: 6px;
  z-index: -1;
}

.svc-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 34px 60px -30px rgba(13, 35, 71, 0.6);
}

.svc-feature-icon {
  position: absolute;
  left: 20px;
  bottom: -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(224, 145, 31, 0.7);
  box-shadow: 0 16px 30px -10px rgba(13, 35, 71, 0.45), inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(224, 145, 31, 0.25);
}

.svc-feature-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.4;
}

.svc-feature-cat {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(224, 145, 31, 0.6);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a5a08;
}

.svc-feature-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.svc-feature-desc {
  max-width: 440px;
  min-height: 52px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.svc-feature .btn-primary,
.services-more .btn-primary {
  margin-top: auto;
  color: var(--primary-dark);
}

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 64px;
  border-left: 1px solid rgba(13, 35, 71, 0.14);
  column-count: 2;
  column-gap: 40px;
  counter-reset: svc;
}

.service-card {
  counter-increment: svc;
  break-inside: avoid;
  border-bottom: 1px solid rgba(13, 35, 71, 0.12);
}

.service-card.hidden { display: none; }

.svc-name { margin: 0; font-family: "Inter", sans-serif; font-size: inherit; letter-spacing: 0; line-height: 1.3; }

.service-card-head {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 10px 0;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}

.service-card-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.svc-ico-wrap {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.svc-ico { width: 22px; height: 22px; stroke-width: 1.6; }

.svc-name-text {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
}

.service-card-head > svg {
  width: 16px;
  height: 16px;
  color: #b8700f;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.service-card.active .service-card-head,
.service-card-head:hover {
  color: var(--primary-dark);
  padding-left: 6px;
}

.service-card.active .service-card-head::after { transform: scaleX(1); }
.service-card.active .svc-ico-wrap { color: #b8700f; }
.service-card.active .service-card-head > svg { opacity: 1; transform: none; }

/* Heavy vehicles strip */

.services-more {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 64px;
  margin-top: 64px;
  padding: 44px 48px;
  background: var(--blue-50);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.services-more-text strong {
  display: block;
  margin-bottom: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.services-more-text p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 460px;
}

.services-more-text .services-more-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.services-more-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  padding-left: 64px;
  border-left: 1px solid var(--blue-line);
}

.services-more-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 100%;
}

.services-more-tags span {
  padding: 6px 14px;
  border: 1px solid rgba(13, 35, 71, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.services-more-label {
  flex: 1 1 100%;
  margin: 6px 0 -6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.services-more-brands {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 100%;
  align-items: center;
  gap: 22px 40px;
}

.services-more-brands img {
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.services-more-brands img:hover { opacity: 1; transform: translateY(-2px); }
.b-daf { height: 24px; }
.b-iveco { height: 19px; }
.b-volvo { height: 38px; }
.b-scania { height: 42px; }
.b-man { height: 36px; }
.b-setra { height: 15px; }
.b-krone { height: 26px; }
.b-mercedes { height: 34px; }

.services-more-brands .b-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  opacity: 0.8;
}

.services-more-brands .b-text i { font-style: normal; font-weight: 500; letter-spacing: 0.18em; font-size: 11px; display: block; margin-top: 1px; }

.services-more .btn-primary { margin-top: 0; white-space: nowrap; }

@media (max-width: 960px) {
  .svc-stage { grid-template-columns: 1fr; gap: 40px; }
  .svc-feature { min-height: 0; scroll-margin-top: 96px; }
  .svc-feature-media { margin-bottom: 48px; max-width: 560px; }
  .svc-list { padding-left: 0; border-left: 0; border-top: 1px solid rgba(13, 35, 71, 0.14); }
  .services-more { grid-template-columns: 1fr; gap: 28px; }
  .services-more-side { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid var(--blue-line); }
}

@media (max-width: 640px) {
  .services { padding: 60px 0 56px; }
  .service-filters { flex-wrap: nowrap; overflow-x: auto; gap: 24px; scrollbar-width: none; margin-bottom: 32px; }
  .service-filter { white-space: nowrap; }
  .svc-list { column-count: 1; max-height: 320px; overflow-y: auto; }
  .services-more { margin-top: 44px; padding: 28px 24px; }
}

/* Why choose us (dark, refined) */

.why {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  color: var(--white);
  background:
    radial-gradient(ellipse 55% 60% at 100% 0%, rgba(224, 145, 31, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 55% at 0% 100%, rgba(47, 111, 237, 0.16), transparent 70%),
    linear-gradient(165deg, #081a38 0%, var(--primary-dark) 55%, #0f2b5a 100%);
}

.why .container {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 96px;
  align-items: center;
}

.why h2 {
  color: var(--white);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.why h2::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-bottom: 28px;
  background: var(--accent);
}

.why > .container > div:first-child > p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: 52px;
  max-width: 540px;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
}

.why-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: none;
  border-radius: 0;
}

.why-list li strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.why-list li p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.why-list .icon-box {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: none;
  border: 1px solid rgba(224, 145, 31, 0.55);
  color: var(--accent);
}

.why-list .icon-box svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.4;
}

.why-visual {
  position: relative;
  z-index: 0;
}

.why-visual::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid rgba(224, 145, 31, 0.5);
  border-radius: 6px;
  z-index: -1;
}

.why-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 70% 40%;
  border-radius: 6px;
  box-shadow: 0 50px 90px -34px rgba(0, 0, 0, 0.75);
  filter: saturate(0.92) contrast(1.04);
}

.why-badge {
  position: absolute;
  bottom: -38px;
  left: -44px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: rgba(8, 26, 56, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(224, 145, 31, 0.7);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6), inset 0 0 0 7px rgba(8, 26, 56, 0.82), inset 0 0 0 8px rgba(224, 145, 31, 0.22);
}

.why-badge strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #f6c36b, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why-badge span {
  margin-top: 8px;
  max-width: 90px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 960px) {
  .why { padding: 72px 0; }
  .why .container { grid-template-columns: 1fr; gap: 72px; }
  .why-visual { order: -1; margin: 0 22px 0 0; }
  .why-visual img { aspect-ratio: 4 / 3; }
  .why-badge { left: 14px; bottom: -34px; width: 118px; height: 118px; }
  .why-badge strong { font-size: 32px; }
}

@media (max-width: 560px) {
  .why-list { grid-template-columns: 1fr; }
}

/* Car brands */

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

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.brand-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary-dark);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.brand-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.brand-chip .logo-box {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-chip .logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.25s var(--ease);
}

.brand-chip:hover .logo-box img {
  filter: grayscale(0) opacity(1);
}

/* Fallback icon chip, used only if a brand has no logo image */
.brand-chip .icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
}

.brand-chip .icon-box svg {
  width: 17px;
  height: 17px;
}

.brands-note {
  text-align: center;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14.5px;
}

@media (max-width: 920px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Testimonials */

.testimonials {
  background: var(--primary-dark);
  color: var(--white);
}

.testimonials .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.testimonials .section-head h2 {
  color: var(--white);
}

.testimonial-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  animation: testimonial-scroll 34s linear infinite;
}

.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track {
  animation-play-state: paused;
}

.testimonial-track-set {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  padding-right: 24px;
}

@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }
  .testimonial-track-set[aria-hidden="true"] {
    display: none;
  }
  .testimonial-marquee {
    overflow-x: auto;
  }
}

.testimonial-card {
  flex: 0 0 340px;
  width: 340px;
}

.testimonial-card.highlight {
  background: linear-gradient(165deg, rgba(224, 145, 31, 0.16), rgba(255, 255, 255, 0.04));
  border-color: rgba(224, 145, 31, 0.4);
}

.testimonial-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.testimonial-tag svg {
  width: 13px;
  height: 13px;
}

.testimonial-card {
  background: linear-gradient(165deg, rgba(47, 111, 237, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(120, 160, 230, 0.22);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.5);
}

.testimonial-card .stars {
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.testimonial-author strong {
  display: block;
  font-size: 14.5px;
}

.testimonial-source {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

.testimonials-footer {
  text-align: center;
  margin-top: 36px;
}

.testimonials-footer a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 640px) {
  .testimonial-card {
    flex-basis: 280px;
    width: 280px;
    padding: 24px;
  }
}

/* Process steps */

.process {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin: 0 auto 16px;
  box-shadow: 0 10px 22px rgba(21, 53, 110, 0.3);
}

.process-step h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Quick contact panel */

.quick-contact {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.quick-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 26, 54, 0.95) 0%, rgba(13, 35, 71, 0.9) 45%, rgba(13, 35, 71, 0.75) 100%), url("assets/images/cover.webp");
  background-size: cover;
  background-position: center 70%;
  z-index: 0;
}

.quick-contact .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 50px;
  align-items: center;
}

.quick-contact-copy h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  color: var(--white);
  margin-bottom: 14px;
}

.quick-contact-copy > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 460px;
}

.quick-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 14px;
}

.quick-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.quick-contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.quick-contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.quick-contact-actions .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.quick-contact-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 860px) {
  .quick-contact .container {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FAQ */

.faq {
  background: var(--paper);
}

.faq .container {
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer p {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 680px;
}

/* Location / contact */

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

.location .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.location-card {
  background: linear-gradient(165deg, #ffffff 0%, var(--blue-50) 100%);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 2px 6px rgba(15, 35, 70, 0.05), 0 24px 50px -20px rgba(15, 35, 70, 0.3);
}

.location-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.location-row .icon-box {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 8px 16px rgba(21, 53, 110, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.location-row h3 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.location-row p,
.location-row a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.hours-table td {
  padding: 5px 0;
  color: var(--muted);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 320px;
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

@media (max-width: 860px) {
  .location .container {
    grid-template-columns: 1fr;
  }
}

/* Final CTA */

.final-cta {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--white);
  max-width: 680px;
  margin: 0 auto 14px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16.5px;
  max-width: 560px;
  margin: 0 auto 32px;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer */

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 28px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.footer-brand span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 16px;
}

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

.footer-col p,
.footer-col a {
  display: block;
  font-size: 14px;
  line-height: 1.85;
}

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

.footer-legal {
  font-size: 13px;
  line-height: 1.8;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.55);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s var(--ease);
}

.social-row a:hover {
  background: var(--accent);
}

.social-row svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Sticky mobile call bar */

.mobile-call-bar {
  display: none;
}

@media (max-width: 640px) {
  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
    box-shadow: 0 -8px 24px rgba(13, 35, 71, 0.12);
  }
  .mobile-call-bar .btn {
    flex: 1;
    min-width: 0;
    padding: 13px 8px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }
  body {
    padding-bottom: 72px;
  }
}

/* Legal pages (privacy, terms) */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 20px 100px;
}

.legal-page h1 {
  font-size: 34px;
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 20px;
  margin: 32px 0 10px;
  color: var(--primary-dark);
}

.legal-page h3 {
  font-size: 16px;
  margin: 22px 0 8px;
  color: var(--primary-dark);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-page ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-page .legal-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.legal-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Cookie consent banner */

.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.consent-banner[hidden] { display: none; }

.consent-banner.consent-enter {
  opacity: 0;
  transform: translateY(16px);
}

.consent-banner p {
  flex: 1 1 360px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.consent-banner p a {
  color: var(--primary);
  text-decoration: underline;
}

.consent-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.consent-banner-actions .btn {
  padding: 13px 22px;
  font-size: 13px;
}

@media (max-width: 640px) {
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: calc(72px + 12px + env(safe-area-inset-bottom));
    padding: 18px 20px;
  }

  .consent-banner-actions {
    width: 100%;
  }

  .consent-banner-actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner {
    transition: opacity 0.2s ease;
  }

  .consent-banner.consent-enter {
    transform: none;
  }
}

/* Cookie settings modal */

.consent-modal[hidden] { display: none; }

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.consent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 35, 71, 0.55);
}

.consent-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  opacity: 0;
  transform: scale(0.96);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.consent-modal.is-open .consent-modal-card {
  opacity: 1;
  transform: scale(1);
}

.consent-modal-card h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  color: var(--primary-dark);
}

.consent-modal-card > p {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.consent-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.consent-option:first-of-type {
  border-top: none;
  padding-top: 0;
}

.consent-option strong {
  display: block;
  font-size: 14.5px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.consent-option span {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.consent-switch {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  margin-top: 2px;
}

.consent-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.consent-switch-track {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background-color 0.2s var(--ease);
}

.consent-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(13, 35, 71, 0.3);
  transition: transform 0.2s var(--ease);
}

.consent-switch input:checked + .consent-switch-track {
  background: var(--primary);
}

.consent-switch input:checked + .consent-switch-track::after {
  transform: translateX(18px);
}

.consent-switch input:disabled {
  cursor: not-allowed;
}

.consent-switch input:disabled + .consent-switch-track {
  background: var(--primary-light);
  opacity: 0.55;
}

.consent-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.consent-modal-actions .btn {
  padding: 12px 20px;
  font-size: 13px;
}

@media (max-width: 480px) {
  .consent-modal-card {
    padding: 24px 20px;
  }

  .consent-modal-actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-modal-card {
    transition: opacity 0.2s ease;
    transform: none !important;
  }
}
