/* ============================================================
   FRT CARS — Page-Specific Styles
   Hero, contact, about, 404, section decorations
   ============================================================ */

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

/* Anasayfa banner — oval alt kenar, hafif aşağı bindirme */
.hero:has(+ .home-page-surface) {
  --hero-home-curve: clamp(1.35rem, 5.5vw, 2.25rem);
  --hero-home-overlap: clamp(0.5rem, 1.75vw, 0.875rem);
  position: relative;
  z-index: 2;
  margin-bottom: calc(-1 * var(--hero-home-overlap));
  padding-bottom: var(--hero-home-overlap);
  overflow: hidden;
  border-radius: 0 0 100% 100% / 0 0 var(--hero-home-curve) var(--hero-home-curve);
}

.hero:has(+ .home-page-surface) .hero-background {
  overflow: hidden;
  border-radius: inherit;
}

.hero:has(+ .home-page-surface)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(2.5rem, 12vw, 4.5rem);
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 50%,
    rgba(0, 0, 0, 0.32) 100%
  );
}

.hero:has(+ .home-page-surface) + .home-page-surface {
  position: relative;
  z-index: 1;
}

/* Hero — Background */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  background-color: #000;
  background-image: url("../images/hero-ferrari-red.png");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 10, 13, 0.78) 0%, rgba(8, 10, 13, 0.35) 45%, rgba(8, 10, 13, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 10, 13, 0.25) 0%, rgba(8, 10, 13, 0.85) 100%);
  z-index: 1;
}

/* Hero — Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Hero — Tag */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(226, 27, 45, 0.2);
}

.hero-tag svg {
  width: 14px;
  height: 14px;
}

/* Hero — Title */
.hero-title {
  font-size: var(--fs-display);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
  letter-spacing: var(--ls-tight);
}

.hero-title .highlight {
  color: var(--color-accent);
}

.hero-title-rotator {
  position: relative;
  font-size: var(--fs-display);
  line-height: 1.12;
  min-height: 2.35em;
  margin-bottom: var(--space-xl);
}

.hero-title-rotator .hero-title {
  display: grid;
  grid-template: 1fr / 1fr;
  position: relative;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  text-wrap: wrap;
}

.hero-title-line {
  grid-area: 1 / 1;
  align-self: start;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease-smooth),
    transform 0.65s var(--ease-smooth),
    visibility 0s linear 0.65s;
  pointer-events: none;
}

.hero-title-line.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.65s var(--ease-smooth),
    transform 0.65s var(--ease-smooth),
    visibility 0s linear 0s;
  pointer-events: auto;
  z-index: 1;
}

.hero-title-line.is-leaving {
  visibility: visible;
  opacity: 0;
  transform: translateY(-28px);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-line {
    transition: none;
  }
}

/* Hero — Description */
.hero-description {
  font-size: var(--fs-body-lg);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: var(--space-2xl);
  line-height: var(--lh-relaxed);
}

/* Hero — Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Hero — Stats */
.hero-stats {
  display: flex;
  gap: var(--space-2xl);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

/* Hero — Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-dark);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

/* ==========================================================
   SECTION DIVIDERS & DECORATIONS
   ========================================================== */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-border) 50%,
    transparent 100%
  );
  margin: var(--space-xl) 0;
  border: none;
}

.section-bg-pattern {
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 0
  );
  background-size: 40px 40px;
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contact-section {
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color var(--duration-normal) var(--ease-smooth);
}

.contact-info-card:hover {
  border-color: rgba(226, 27, 45, 0.2);
}

.contact-info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.contact-info-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.contact-info-card-text {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.contact-info-card-text a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.contact-info-card-text a:hover {
  color: var(--color-accent);
}

.contact-map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Contact Form */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form-group {
  margin-bottom: 1.25rem;
}

.contact-form-label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  transition: border-color var(--duration-fast) var(--ease-smooth);
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: var(--color-text-dark);
}

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

/* ==========================================================
   ABOUT PAGE
   ========================================================== */
.about-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: var(--space-3xl);
}

.about-hero .hero-background::after {
  background: linear-gradient(
    180deg,
    rgba(8, 10, 13, 0.3) 0%,
    var(--color-background) 100%
  );
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.about-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--container-padding);
}

.about-content p {
  font-size: var(--fs-body-lg);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.about-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.about-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.about-timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: var(--space-2xl);
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.about-timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
  padding-left: var(--space-lg);
}

.about-timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  border: 3px solid var(--color-background);
  margin-left: -5px;
}

.about-timeline-year {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.about-timeline-text {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

/* ==========================================================
   404 ERROR PAGE
   ========================================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: var(--space-xl);
}

.error-code {
  font-size: 8rem;
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-md);
  letter-spacing: var(--ls-tight);
}

.error-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.error-text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 460px;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-normal);
}

.error-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================
   VEHICLE DETAIL PAGE
   ========================================================== */
.vehicle-detail-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
}

.vehicle-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.vehicle-detail-page {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.vehicle-detail-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  width: 100%;
}

.vehicle-detail-summary {
  width: 100%;
}

.vehicle-detail-summary .vehicle-detail-card {
  margin: 0;
}

/* Vehicle Gallery */
.vehicle-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.vehicle-gallery--detail {
  position: relative;
  width: 100%;
}

.vehicle-gallery--hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.vehicle-gallery--hero .vehicle-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-inline: auto;
}

.vehicle-gallery-layout {
  display: flex;
  flex-direction: column;
}

.vehicle-gallery-main {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.vehicle-gallery-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-stage-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
}

.gallery-main-layer {
  display: none;
}

.vehicle-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--color-surface);
  overflow-x: auto;
  scroll-behavior: smooth;
  justify-content: center;
}

.vehicle-gallery-thumbs--vertical {
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 420px;
  padding: 0.5rem;
  border-left: 1px solid var(--color-border);
  scrollbar-width: thin;
}

.vehicle-gallery-thumbs--vertical::-webkit-scrollbar {
  width: 4px;
}

.vehicle-gallery-thumbs--vertical::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.vehicle-gallery-thumb {
  width: 80px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color var(--duration-fast) var(--ease-smooth), opacity var(--duration-fast) var(--ease-smooth), transform var(--duration-fast) var(--ease-smooth);
  opacity: 0.55;
  background: var(--color-bg);
  padding: 0;
}

.vehicle-gallery-thumbs--vertical .vehicle-gallery-thumb {
  width: 100%;
  height: 58px;
}

.vehicle-gallery-thumb:hover,
.vehicle-gallery-thumb.active {
  border-color: var(--color-accent);
  opacity: 1;
  transform: translateY(-1px);
}

.vehicle-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* Vehicle Detail Sidebar */
.vehicle-detail-sidebar {
  position: static;
}

.vehicle-detail-sidebar .vehicle-sales-card {
  position: static;
}

.vehicle-detail-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.vehicle-detail-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  margin-bottom: 0.25rem;
}

.vehicle-detail-variant {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.vehicle-detail-price {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  line-height: 1;
}

.vehicle-detail-price .currency {
  font-size: 0.6em;
  font-weight: var(--fw-medium);
}

.vehicle-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.vehicle-detail-spec {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vehicle-detail-spec-label {
  font-size: var(--fs-xs);
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.vehicle-detail-spec-value {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

.vehicle-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.vehicle-detail-actions .btn {
  width: 100%;
  justify-content: center;
}

/* Vehicle Description */
.vehicle-description {
  margin-top: 0;
}

.vehicle-description-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-lg);
}

.vehicle-description-text {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-body);
}

.vehicle-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.vehicle-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  padding: 0.5rem 0;
}

.vehicle-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ==========================================================
   VEHICLES LISTING PAGE
   ========================================================== */
.vehicles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: 1rem;
}

.vehicles-count {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.vehicles-count strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

/* Filters */
.vehicles-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.filter-btn.active {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent);
}


/* ==========================================================
   QUICK SEARCH
   ========================================================== */
.quick-search-section {
  margin-top: -1.5rem;
  position: relative;
  z-index: 5;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.quick-search-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  box-shadow: var(--shadow-md);
}

.quick-search-title {
  font-size: var(--fs-h4);
  margin-bottom: 2rem;
  text-align: center;
}

.quick-search-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  align-items: end;
}

.form-group label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-small);
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group-action {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 360px;
  margin: 1rem auto 0;
  padding-top: 0.5rem;
  width: 100%;
}

.form-group-action .btn {
  width: 100%;
  min-height: 44px;
}

/* ==========================================================
   HERO TRUST ITEMS
   ========================================================== */
.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.875rem;
  margin-top: var(--space-xl);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-width: 0;
}

.hero-trust-item span {
  line-height: 1.35;
}

.hero-trust-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ==========================================================
   HOMEPAGE SURFACE (banner hariç — kırmızı glow + grid)
   ========================================================== */
.home-page-surface {
  position: relative;
  isolation: isolate;
  background: var(--surface-glow-red), var(--surface-base-gradient);
}

.home-page-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--surface-pattern-grid);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.home-page-surface > * {
  position: relative;
  z-index: 1;
}

.home-page-surface .section-alt {
  background: rgba(17, 21, 26, 0.55);
}

/* ==========================================================
   SECTION VARIANTS
   ========================================================== */
.section-alt {
  background: var(--color-surface);
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl);
}

/* ==========================================================
   PROCESS STEPS
   ========================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.section-alt .process-step {
  background: var(--color-surface-light);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h4);
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: var(--fs-h4);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: var(--fs-small);
  margin-bottom: 0;
}

/* ==========================================================
   LOCATION SECTION
   ========================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.location-title {
  text-align: left;
}

.location-address {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.location-address svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.location-address p {
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.location-actions .btn {
  min-height: 44px;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
  min-height: 320px;
  background: var(--color-surface);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ==========================================================
   FAQ ACCORDION
   ========================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-accent);
  transition: transform var(--duration-fast) var(--ease-smooth);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-smooth);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  font-size: var(--fs-small);
}

/* ==========================================================
   VEHICLES LISTING LAYOUT
   ========================================================== */
.vehicles-list-wrap {
  position: relative;
  padding-bottom: var(--space-3xl);
}

.vehicles-list-wrap > .vehicles-toolbar,
.vehicles-list-wrap > .vehicles-layout {
  position: relative;
  z-index: 1;
}

.page-hero-content .vehicles-count {
  font-size: var(--fs-small);
  margin-top: var(--space-md);
}

.page-title {
  font-size: var(--fs-h1);
  margin-bottom: 0.5rem;
}

.page-description {
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 1rem;
}

.vehicles-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.vehicles-sort {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vehicles-sort label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.mobile-filter-trigger {
  display: none;
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  margin-left: 0.5rem;
}

.filter-badge:empty {
  display: none;
}

.vehicles-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.vehicles-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.filter-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.filter-form-header h2 {
  font-size: var(--fs-h4);
  margin: 0;
}

.filter-form .form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.filter-check-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.filter-form .form-group.form-check {
  margin-bottom: 0;
}

.filter-form .form-group.form-check label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0;
  min-height: auto;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth);
  line-height: 1.35;
}

.filter-form .form-group.form-check label:hover {
  border-color: rgba(226, 27, 45, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.filter-form .form-group.form-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.filter-check-text {
  flex: 1;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  line-height: 1.35;
}

.filter-form .form-group.form-check input[type="checkbox"]:checked + .filter-check-text {
  color: var(--color-text);
}

.filter-form .form-group.form-check:has(input:checked) label {
  border-color: rgba(226, 27, 45, 0.35);
  background: rgba(226, 27, 45, 0.08);
}

.form-check label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  cursor: pointer;
  min-height: 44px;
}

.mobile-filter-header,
.mobile-filter-footer {
  display: none;
}

.mobile-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: calc(var(--z-modal) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.mobile-filter-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.empty-state-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.empty-state-actions .btn {
  min-height: 44px;
}

/* ==========================================================
   VEHICLE CARD EXTRAS
   ========================================================== */
.vehicle-card-badges {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vehicle-card-badges .badge {
  font-size: 0.5625rem;
  padding: 0.18rem 0.45rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.vehicle-card-badges .badge-featured {
  background: rgba(226, 27, 45, 0.22);
  color: #ff8a96;
  border: 1px solid rgba(226, 27, 45, 0.5);
}

.vehicle-card-badges .badge-new {
  background: rgba(35, 196, 131, 0.12);
  border: 1px solid rgba(35, 196, 131, 0.35);
}

.vehicle-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.vehicle-card-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.vehicle-card-listing-no {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.06);
}

.vehicle-card-listing-no span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.625rem;
}

.vehicle-card-listing-no strong {
  color: var(--color-text-muted);
  font-weight: var(--fw-semibold);
}

.vehicle-reps-section {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.vehicle-reps-intro {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  font-size: var(--fs-small);
}

.vehicle-reps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.rep-listing-card {
  flex-direction: column;
  text-align: center;
  height: 100%;
}

.rep-listing-card .sales-rep-actions {
  justify-content: center;
}

.sales-rep-photo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto 1rem;
}

.skeleton-image {
  aspect-ratio: 16 / 10;
  width: 100%;
}

/* ==========================================================
   VEHICLE DETAIL EXTRAS
   ========================================================== */
.vehicle-detail-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.vehicle-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.vehicle-section-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-lg);
}

.vehicle-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: var(--space-2xl);
}

.vehicle-spec-card {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.vehicle-spec-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.vehicle-spec-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.vehicle-spec-value {
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

.vehicle-expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.vehicle-expertise-item {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.vehicle-expertise-label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.vehicle-expertise-value {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin: 0;
}

.vehicle-expertise-note {
  font-size: var(--fs-xs);
  color: var(--color-text-dark);
  margin-top: 1rem;
  font-style: italic;
}

.vehicle-features-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-xl);
}

.vehicle-features-cat-title {
  font-size: var(--fs-body);
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.vehicle-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sales-rep-mini {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--color-surface-light);
  border-radius: var(--radius-md);
}

.sales-rep-mini .sales-rep-avatar {
  width: 56px;
  height: 56px;
  font-size: 1.1rem;
}

.sales-rep-phone {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-decoration: none;
}

.vehicle-detail-note {
  font-size: var(--fs-xs);
  color: var(--color-text-dark);
  margin-top: 1rem;
  margin-bottom: 0;
}

.vehicle-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.vehicle-quick-actions .btn {
  min-height: 44px;
}

.vehicle-nav-section {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.vehicle-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vehicle-nav-link {
  display: block;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease-smooth);
}

.vehicle-nav-link:hover {
  border-color: var(--color-accent);
}

.vehicle-nav-next {
  text-align: right;
}

.vehicle-nav-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 0.25rem;
}

.vehicle-nav-title {
  color: var(--color-text);
  font-weight: var(--fw-medium);
}

/* Gallery enhancements */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background var(--duration-fast) var(--ease-smooth);
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

.gallery-fullscreen-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: var(--fs-xs);
  border-radius: var(--radius-full);
  z-index: 3;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
}

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

.gallery-modal-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.gallery-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-full);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gallery-modal .gallery-nav {
  background: rgba(255, 255, 255, 0.15);
}

.gallery-modal .gallery-counter {
  bottom: 2rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

/* Footer legal */
.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: var(--fs-xs);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-rep {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .vehicles-toolbar {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-filter-trigger {
    width: 100%;
    justify-content: center;
  }

  .vehicles-sort {
    width: 100%;
    justify-content: center;
  }

  .vehicles-layout {
    grid-template-columns: 1fr;
  }

  .vehicles-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(100%, 400px);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: var(--z-modal);
    transform: translate3d(-100%, 0, 0);
    transition: transform var(--duration-normal) var(--ease-smooth), visibility var(--duration-normal) var(--ease-smooth);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 0;
    padding-top: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .vehicles-sidebar.active {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-filter-overlay {
    display: block;
  }

  .mobile-filter-header,
  .mobile-filter-footer {
    display: flex;
  }

  .mobile-filter-header {
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: var(--color-surface);
    z-index: 1;
  }

  .mobile-filter-close {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .mobile-filter-footer {
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-border);
    position: sticky;
    bottom: 0;
    background: var(--color-surface);
  }

  .mobile-filter-footer .btn {
    flex: 1;
    min-height: 44px;
  }

  .mobile-filter-trigger {
    display: inline-flex;
  }

  .vehicles-sidebar .filter-form {
    padding: 1rem 1.5rem;
  }

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

@media (max-width: 1024px) {
  .hero-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem 1.25rem;
  }

  .quick-search-card {
    padding: 2rem 2rem;
  }

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

@media (min-width: 1201px) {
  .hero {
    padding-bottom: var(--space-3xl);
  }

  .quick-search-section {
    margin-top: -2.5rem;
    padding-top: var(--space-3xl);
  }

  .quick-search-card {
    padding: 2.75rem 3rem;
  }

  .quick-search-form {
    gap: 1.5rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .hero-trust {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .vehicle-nav-links {
    grid-template-columns: 1fr;
  }

  .vehicle-nav-next {
    text-align: left;
  }
}

/* ==========================================================
   PAGE HERO (Corporate pages)
   ========================================================== */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.page-hero-sm {
  padding-bottom: var(--space-xl);
}

.page-hero-compact {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  min-height: 280px;
}

.page-hero-compact .page-title {
  margin-bottom: 0.5rem;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--surface-glow-red), var(--surface-base-gradient);
  z-index: 0;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--surface-pattern-grid);
  opacity: 0.5;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-content h1,
.page-hero h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
  max-width: 720px;
}

.page-hero-content p,
.page-hero > .container > p {
  font-size: var(--fs-body-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 0;
}

/* Prose */
.prose h2 {
  font-size: var(--fs-h3);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.prose ul {
  padding-left: 1.25rem;
  margin-bottom: var(--space-md);
}

/* About */
.about-mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.about-mv-card {
  padding: 2rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.about-mv-card h2 {
  font-size: var(--fs-h4);
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-normal) var(--ease-smooth);
}

.value-card:hover {
  border-color: rgba(226, 27, 45, 0.25);
}

.value-card h3 {
  font-size: var(--fs-body-lg);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: var(--fs-small);
  margin: 0;
}

.process-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.process-timeline-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.section-alt .process-timeline-item {
  background: var(--color-surface-light);
}

.process-timeline-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  font-family: var(--font-heading);
}

.process-timeline-item h3 {
  font-size: var(--fs-body);
  margin-bottom: 0.25rem;
}

.process-timeline-item p {
  font-size: var(--fs-small);
  margin: 0;
}

/* Contact page */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

.contact-action-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;
  min-height: 300px;
  background: linear-gradient(180deg, rgba(25, 30, 36, 0.95) 0%, rgba(17, 21, 26, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: border-color var(--duration-normal) var(--ease-smooth), transform var(--duration-normal) var(--ease-smooth);
}

.contact-action-card:hover {
  border-color: rgba(226, 27, 45, 0.28);
  transform: translateY(-2px);
}

.contact-action-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(226, 27, 45, 0.1);
  border: 1px solid rgba(226, 27, 45, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact-action-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-action-card h2 {
  font-size: 1.125rem;
  margin: 0;
  letter-spacing: 0.01em;
}

.contact-action-value,
.contact-action-detail {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--color-text-muted);
}

.contact-action-value {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.btn-contact-action {
  width: 100%;
  margin-top: auto;
  padding: 0.875rem 1rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 13, 0.55);
  color: var(--color-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) var(--ease-smooth), border-color var(--duration-fast) var(--ease-smooth), color var(--duration-fast) var(--ease-smooth);
}

.btn-contact-action:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.btn-contact-action--whatsapp:hover {
  background: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  color: #fff;
}

@media (max-width: 1100px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-action-card {
    min-height: 0;
  }
}

.contact-map-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.visit-note {
  font-size: var(--fs-small);
  font-style: italic;
  margin-top: 1rem;
}

.map-fallback {
  padding: 3rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.map-fallback p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.map-embed {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 260px;
  max-height: 380px;
  background: var(--color-surface);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.section-tight-bottom {
  padding-bottom: var(--space-2xl);
}

/* Legal */
.legal-content h2 {
  margin-top: 2rem;
}

.legal-updated {
  font-size: var(--fs-small);
  color: var(--color-text-dark);
}

.legal-disclaimer {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
}

.footer-visit-note {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.sales-rep-phone-line {
  margin-bottom: 1rem;
}

.sales-rep-phone-line a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: var(--fw-medium);
}

/* 404 branded */
.error-page-branded {
  min-height: calc(100vh - var(--header-height));
  padding-top: calc(var(--header-height) + var(--space-3xl));
  position: relative;
  overflow: hidden;
}

.error-page-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent-light) 0%, transparent 70%);
  pointer-events: none;
  animation: errorGlow 4s ease-in-out infinite;
}

@keyframes errorGlow {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}

.error-page-content {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .contact-map-section {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-animated {
    animation: none;
  }
  .error-page-glow {
    animation: none;
  }
}

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