/* Motion Side Mirrors — Back Market–inspired design system */

:root {
  --black: #011627;
  --white: #fdfffc;
  --off-white: #f4f7fa;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-400: #64748b;
  --gray-600: #334155;
  --green: #2ec4b6;
  --green-dark: #1d8278;
  --green-light: #eafaf8;
  --yellow: #ff9f1c;
  --promo-bg: #fff0d9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --header-h: 72px;
  --max-w: 1200px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Promotional Banner ─── */

.promotional-banner-wrapper {
  background: var(--promo-bg);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 101;
}

.promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.promo-content {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
  text-align: center;
  letter-spacing: -0.01em;
}

.promo-content strong {
  font-weight: 700;
}

.promo-close {
  position: absolute;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  font-size: 1.25rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: opacity var(--transition);
}

.promo-close:hover {
  opacity: 0.6;
}

/* ─── Header ─── */

.site-header {
  position: sticky;
  top: 44px;
  z-index: 100;
  background: var(--black); /* Solid midnight navy (#011627) */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: var(--header-h);
  transition: top 0.3s ease, background-color var(--transition), border-color var(--transition);
}

body.promo-closed .site-header {
  top: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  order: 2;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 36px;
  width: 172.3px;
  display: block;
  pointer-events: none;
}

nav {
  flex: 1;
  order: 3;
  display: flex !important;
  justify-content: center;
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-200); /* light color for visibility on dark header */
  position: relative;
  padding: 8px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 12px 24px;
  font-size: 0.875rem;
}

.btn-primary:hover {
  background: #022440;
}

.btn-green {
  background: var(--green);
  color: var(--black);
}

.btn-green:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1da851;
}

.site-header .header-cta {
  order: 4;
  flex-shrink: 0;
  width: auto;
  padding: 8px 18px;
  font-size: 0.8125rem;
  background: var(--green);
  color: var(--black);
  box-shadow: 0 4px 12px rgba(46, 196, 182, 0.2);
}

.site-header .header-cta:hover {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(46, 196, 182, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  order: 1;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Contact Modal ─── */

.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.contact-modal.active {
  display: flex;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.contact-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 90%;
  padding: 40px 32px 32px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}

.modal-close:hover {
  opacity: 0.6;
}

.modal-close svg {
  width: 24px;
  height: 24px;
  stroke: var(--black);
  fill: none;
  stroke-width: 2;
}

.modal-header {
  margin-bottom: 24px;
  text-align: center;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition);
}

.modal-action-btn:hover {
  border-color: var(--black);
  background: var(--off-white);
}

.modal-action-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.modal-action-btn span {
  flex: 1;
  text-align: left;
}

.whatsapp-btn svg {
  fill: #25d366;
}

.sms-btn svg {
  fill: var(--black);
}

.call-btn svg {
  fill: var(--black);
}

/* ─── Hero ─── */

.hero {
  background: var(--off-white);
  padding: 64px 0 80px;
  overflow: hidden;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 24px;
  width: fit-content;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--green-dark);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* Vehicle search card */

.search-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  height: fit-content;
}

.search-card-header {
  margin-bottom: 24px;
}

.search-card-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.search-card-header p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
}

.form-group select {
  appearance: none;
  background: var(--off-white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23525252' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select:focus {
  outline: none;
  border-color: var(--black);
}

.form-group select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.search-button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.quote-trigger {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.search-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.search-trust svg {
  width: 14px;
  height: 14px;
  fill: var(--green);
  flex-shrink: 0;
}

/* ─── Trust bar ─── */

.trust-bar {
  background: var(--black);
  color: var(--white);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--green);
  flex-shrink: 0;
}

/* ─── Section defaults ─── */

.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ─── Reviews ─── */

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

.reviews-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}

.platform-badge svg {
  height: 24px;
  width: auto;
  flex-shrink: 0;
}

.platform-score {
  display: flex;
  flex-direction: column;
}

.platform-score strong {
  font-size: 1.125rem;
  font-weight: 700;
}

.platform-score span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--yellow);
  font-size: 0.875rem;
}

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

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card .stars {
  margin-bottom: 4px;
}

.review-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-600);
  flex-shrink: 0;
}

.review-meta strong {
  display: block;
  font-size: 0.875rem;
}

.review-meta span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ─── Why Choose Us ─── */

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

.why-card {
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ─── Blog ─── */

.blog {
  background: var(--off-white);
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  aspect-ratio: 3 / 1;
  background: var(--gray-100);
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-body {
  padding: 24px;
}

.blog-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.blog-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.blog-body p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-link:hover {
  color: var(--green-dark);
}

/* Blog page */

.blog-page-hero {
  text-align: left;
}

.blog-page-hero .section-label {
  margin-bottom: 12px;
}

.blog-page-hero p {
  margin-left: 0;
}

.blog-page-section {
  background: var(--white);
}

.blog-loading,
.blog-empty {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
}

.blog-empty h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.blog-empty p {
  color: var(--gray-600);
  margin: 0 auto 24px;
  max-width: 520px;
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.blog-banner {
  display: block;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 3 / 1;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.blog-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-body h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 16px;
}

.blog-featured-body > p:not(.blog-tag) {
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.blog-article {
  max-width: 960px;
  margin: 0 auto;
}

.blog-back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.875rem;
}

.blog-back-link:hover {
  color: var(--green-dark);
}

.blog-article-header {
  margin-bottom: 32px;
}

.blog-article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 18px;
}

.blog-article-header > p:not(.blog-tag) {
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 760px;
}

.blog-article .blog-banner {
  margin-bottom: 40px;
}

.blog-article-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.blog-article-content p + p {
  margin-top: 20px;
}

.related-posts {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--gray-100);
}

/* ─── Partners marquee ─── */

.partners {
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.partners-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo {
  flex-shrink: 0;
  height: 32px;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity var(--transition), filter var(--transition);
  display: flex;
  align-items: center;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo svg {
  height: 32px;
  width: auto;
}

/* ─── CTA section ─── */

.cta-section {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-form-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.cta-form-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-form-card .form-row {
  margin-bottom: 16px;
}

.cta-form-card select {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fdfffc' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.cta-form-card select option {
  color: var(--black);
  background: var(--white);
}

.cta-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.cta-section .btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ─── About ─── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-label {
  margin-bottom: 12px;
}

.about-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.about-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* ─── Footer ─── */

.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--gray-600);
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.8125rem;
  color: var(--gray-400);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

/* ─── AI Chat Widget ─── */

.ai-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  font-family: var(--font-sans);
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.chat-toggle:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: scale(1.1);
}

.chat-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-height: 500px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
}

.chat-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.chat-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.chat-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 12px;
}

.chat-message.bot p {
  background: var(--off-white);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.chat-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--gray-100);
}

.chat-action {
  padding: 10px 16px;
  border: 1px solid var(--gray-100);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.chat-action:hover {
  background: var(--off-white);
  border-color: var(--black);
}

/* ─── Mobile & Responsive ─── */

@media (max-width: 992px) {
  .header-inner {
    justify-content: space-between;
    gap: 8px;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
  }

  .logo {
    order: 2;
    justify-content: center;
    flex: 1;
  }

  .logo-img {
    height: 30px;
    width: 143.6px;
  }

  nav {
    display: flex !important;
    position: fixed;
    top: calc(var(--header-h) + 44px);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 255, 252, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--gray-100);
    border-bottom: none;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    padding: 32px 24px;
    z-index: 99;
    width: 100%;
    flex-direction: column;
  }

  body.promo-closed nav {
    top: var(--header-h);
  }

  nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.4s ease 0.1s;
  }

  nav.open .nav-links li {
    opacity: 1;
    transform: translateY(0);
  }

  nav.open .nav-links li:nth-child(1) { transition-delay: 0.1s; }
  nav.open .nav-links li:nth-child(2) { transition-delay: 0.15s; }
  nav.open .nav-links li:nth-child(3) { transition-delay: 0.2s; }

  .nav-links a {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: none;
    color: var(--black);
  }

  .nav-links a::after {
    display: none;
  }

  .site-header .header-cta {
    display: none;
  }

  .promo-close {
    right: 16px;
  }

  .promo-content {
    font-size: 0.75rem;
    padding-right: 32px;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
    grid-auto-flow: dense;
  }

  .hero-content {
    order: 2;
  }

  .search-card {
    order: 1;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .hero-stats {
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .blog-listing-grid {
    grid-template-columns: 1fr;
  }

  .blog-article .blog-banner {
    margin-bottom: 32px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }


  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .chat-panel {
    width: 360px;
    max-width: calc(100vw - 48px);
  }

  .modal-content {
    width: 95%;
  }

  .modal-action-btn {
    flex-direction: column;
    text-align: center;
  }

  .modal-action-btn span {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .search-card {
    padding: 24px;
  }

  .cta-form-card {
    padding: 24px;
  }

  .blog-loading,
  .blog-empty {
    padding: 28px 20px;
  }

  .blog-featured-body h2,
  .blog-article-header h1 {
    font-size: 2rem;
  }
}

/* ─── Instant Quote Page Layout ─── */
.page-hero {
  background: var(--off-white);
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--black);
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.quote-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 60px 24px;
}

.quote-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.tip-box {
  background: var(--promo-bg);
  border-left: 4px solid var(--yellow);
  padding: 20px 24px;
  border-radius: var(--radius-md);
}

.tip-box h4 {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 6px;
  color: var(--black);
}

.tip-box p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
  text-align: center;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact-card .btn-whatsapp {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin: 16px 0;
}

.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-100);
}

.contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  color: var(--black);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.contact-phone:hover {
  border-color: var(--black);
  background: var(--off-white);
}

.contact-phone svg {
  flex-shrink: 0;
}

.contact-hours {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.6;
  text-align: left;
}

.contact-hours strong {
  color: var(--black);
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 992px) {
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }
  
  .contact-card {
    position: static;
  }
}

/* ─── Footer Logo filter ─── */
.site-footer .logo-img {
  filter: brightness(0.1);
  opacity: 0.8;
}

/* ─── Catalogue Page Layout ─── */
.catalogue-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  padding: 60px 24px;
  align-items: start;
}

.catalogue-sidebar {
  position: sticky;
  top: 136px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.catalogue-sidebar .search-card {
  margin: 0;
  width: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.catalogue-sidebar .search-form .form-row {
  grid-template-columns: 1fr;
  gap: 16px;
}

.catalogue-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.catalogue-header {
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 24px;
}

.catalogue-header h2 {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.catalogue-header p {
  color: var(--gray-400);
  font-size: 1.125rem;
  margin-top: 8px;
}

/* ─── Product Card Grid ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.product-badge {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 12px;
}

.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.product-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-400);
}

.product-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.product-features li {
  font-size: 0.875rem;
  color: var(--gray-600);
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.product-card-btn {
  width: 100%;
}

/* ─── Popular Grid (Browse State) ─── */
.popular-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.popular-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.popular-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.popular-card .make {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.popular-card .model {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.popular-card .action {
  font-size: 0.8125rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-top: 4px;
}

/* ─── Unmatched search banner (fallback) ─── */
.unmatched-cta {
  background: #011627;
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.unmatched-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.unmatched-cta-content {
  max-width: 500px;
  z-index: 1;
}

.unmatched-cta-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.unmatched-cta-content p {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.5;
}

.unmatched-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  z-index: 1;
}

.unmatched-cta-actions .btn {
  width: 100%;
}

.unmatched-cta-actions .whatsapp-btn {
  background: #25d366;
  color: var(--white);
}

.unmatched-cta-actions .whatsapp-btn:hover {
  background: #20ba59;
}

.unmatched-cta-actions .sms-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.unmatched-cta-actions .sms-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 992px) {
  .catalogue-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 16px;
  }

  .catalogue-sidebar {
    position: static;
  }

  .unmatched-cta {
    flex-direction: column;
    padding: 32px;
    text-align: center;
  }

  .unmatched-cta-actions {
    width: 100%;
  }
}

/* ─── AI Chat Widget Mobile Optimization ─── */
@media (max-width: 576px) {
  .ai-chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-toggle {
    width: 52px;
    height: 52px;
  }

  .chat-toggle svg {
    width: 20px;
    height: 20px;
  }

  .chat-panel {
    position: fixed;
    bottom: 80px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 112px);
  }

  .chat-close {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .chat-close svg {
    width: 20px;
    height: 20px;
  }

  .chat-action {
    padding: 12px 16px;
    font-size: 0.875rem; /* slightly larger for readability and touch usability */
  }
}
