/* ============================================================
   AutoValley – Shared Pages Styles
   Used by: contact, apropos, faq, carrieres, legal pages
   Namespace: pg- (pages shared), contact-, apropos-, faq-, car-
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   Scroll Reveal (reused from services pattern)
   ────────────────────────────────────────────────────────── */
.pg-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
              transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.pg-reveal--delay-1 { transition-delay: 0.1s; }
.pg-reveal--delay-2 { transition-delay: 0.2s; }
.pg-reveal--delay-3 { transition-delay: 0.3s; }
.pg-reveal--delay-4 { transition-delay: 0.4s; }
.pg-reveal--delay-5 { transition-delay: 0.5s; }

.no-js .pg-reveal {
  opacity: 1;
  transform: none;
}

/* ──────────────────────────────────────────────────────────
   Shared Hero (matches sv-hero from services-styles.css)
   ────────────────────────────────────────────────────────── */
.pg-page {

  --pg-space-2: var(--space-2, 8px);
  --pg-space-3: var(--space-3, 12px);
  --pg-space-4: var(--space-4, 16px);
  --pg-space-5: var(--space-5, 20px);
  --pg-space-6: var(--space-6, 24px);
  --pg-space-8: var(--space-8, 32px);
  --pg-space-9: var(--space-9, 36px);
  --pg-space-10: var(--space-10, 40px);
  --pg-space-12: var(--space-12, 48px);
  --pg-space-14: var(--space-14, 56px);
  --pg-space-16: var(--space-16, 64px);
  --pg-space-20: var(--space-20, 80px);
  --pg-space-24: var(--space-24, 96px);
}

.pg-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px var(--pg-space-6) var(--pg-space-20);
}

.pg-hero--compact {
  min-height: 52vh;
}


.pg-hero--legal {
  min-height: 38vh;
}

.pg-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pg-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.45) saturate(0.7);
}

.pg-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 6, 9, 0.7) 0%,
      rgba(5, 6, 9, 0.3) 35%,
      rgba(5, 6, 9, 0.5) 65%,
      rgba(5, 6, 9, 0.97) 100%
    ),
    radial-gradient(ellipse at 30% 50%, rgba(185, 5, 4, 0.15) 0%, transparent 60%);
}


.pg-hero__overlay--legal {
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.85) 0%, rgba(5, 6, 9, 0.6) 40%, rgba(5, 6, 9, 0.98) 100%);
}

.pg-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.pg-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--pg-space-2);
  margin-bottom: var(--pg-space-8);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.pg-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}

.pg-hero__breadcrumb a:hover { color: #fff; }

.pg-hero__breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.pg-hero__breadcrumb span[aria-current] {
  color: rgba(255, 255, 255, 0.8);
}

.pg-hero__kicker {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red, #b90504);
  margin-bottom: var(--pg-space-5);
}

.pg-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: var(--pg-space-5);
  letter-spacing: -0.02em;
}


.pg-hero__title--legal {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.pg-hero__title-accent {
  color: var(--brand-red, #b90504);
}

.pg-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto var(--pg-space-9);
}

/* ──────────────────────────────────────────────────────────
   Shared Section Styling
   ────────────────────────────────────────────────────────── */
.pg-section {
  padding: var(--pg-space-24) var(--pg-space-6);
  max-width: 1200px;
  margin: 0 auto;
}


.pg-surface-dark {
  background: #050609;
  padding: var(--pg-space-24) 0;
}

.pg-surface-dark-soft {
  background: #0a0a0f;
  padding: var(--pg-space-24) 0;
}

.pg-surface-dark-soft--compact {
  padding: var(--pg-space-20) 0;
}

.pg-page-apropos .pg-surface-dark,
.pg-page-apropos .pg-surface-dark-soft,
.pg-page-apropos .pg-surface-dark-soft--compact {
  padding: 0;
}


.pg-section-header--compact {
  margin-bottom: var(--pg-space-12);
}

.pg-section-title--left {
  text-align: left;
  margin-bottom: 28px;
}

.pg-stats-band {
  background: #0a0a0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--pg-space-14) var(--pg-space-6);
  position: relative;
  overflow: hidden;
}

.pg-stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(185, 5, 4, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.pg-stats-band__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.pg-section--wide {
  max-width: 1400px;
}

.pg-section--narrow {
  max-width: 900px;
}

.pg-section-header {
  text-align: center;
  margin-bottom: var(--pg-space-16);
}

.pg-section-kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red, #b90504);
  margin-bottom: var(--pg-space-3);
  display: block;
}

.pg-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--pg-space-4);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pg-section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.pg-title-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--brand-red, #b90504);
  margin: var(--pg-space-5) auto 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.pg-title-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: pg-shine 2.4s ease-in-out infinite;
}

@keyframes pg-shine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ──────────────────────────────────────────────────────────
   Shared Card Base
   ────────────────────────────────────────────────────────── */
.pg-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: var(--pg-space-8);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pg-card:hover {
  border-color: rgba(185, 5, 4, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 24px rgba(185,5,4,0.1);
}

/* ──────────────────────────────────────────────────────────
   CONTACT PAGE
   ────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--pg-space-12);
  align-items: start;
}

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

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: var(--pg-space-5);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: var(--pg-space-6) 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(185, 5, 4, 0.3);
  background: rgba(185, 5, 4, 0.04);
}

.contact-info-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(185, 5, 4, 0.12);
  border: 1px solid rgba(185, 5, 4, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red, #b90504);
}

.contact-info-card__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
  display: block;
}

.contact-info-card__value {
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.contact-info-card__value:hover {
  color: var(--brand-red, #b90504);
}

.contact-hours {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 4px;
}

.contact-hours__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.contact-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.contact-hours__row:last-child {
  border-bottom: none;
}

.contact-hours__day { color: rgba(255, 255, 255, 0.7); }
.contact-hours__time { color: #fff; font-weight: 500; }
.contact-hours__closed { color: rgba(255, 255, 255, 0.35); font-style: italic; }

/* Contact Form */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 40px;
}

@media (max-width: 600px) {
  .contact-form-wrap { padding: 28px 20px; }
}

.contact-form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

.form-label span.required {
  color: var(--brand-red, #b90504);
  margin-left: 3px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: #fff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(185, 5, 4, 0.6);
  box-shadow: 0 0 0 3px rgba(185, 5, 4, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.form-input.is-error,
.form-textarea.is-error,
.form-select.is-error {
  border-color: rgba(255, 80, 80, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.1);
  animation: pg-shake 0.35s ease;
}

@keyframes pg-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

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

.form-select {
  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 d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: #1a1a1a;
  color: #fff;
}

.form-error-msg {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #ff5050;
  margin-top: 2px;
  display: none;
}

.form-field.has-error .form-error-msg {
  display: block;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: var(--brand-red, #b90504);
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-submit:hover {
  background: #d40604;
  box-shadow: 0 8px 24px rgba(185, 5, 4, 0.45);
  transform: translateY(-2px);
}

.form-submit:hover::before { opacity: 1; }

.form-submit:active { transform: translateY(0); }

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-submit__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pg-spin 0.7s linear infinite;
}

.form-submit.is-loading .form-submit__spinner { display: block; }
.form-submit.is-loading .form-submit__text { opacity: 0.7; }

@keyframes pg-spin {
  to { transform: rotate(360deg); }
}

.form-success-banner {
  display: none;
  padding: var(--pg-space-5) var(--pg-space-6);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  text-align: center;
  margin-top: 12px;
}

.form-success-banner.is-visible { display: block; }

.form-success-banner p {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: rgba(34, 197, 94, 0.9);
  margin: 0;
}

/* Map embed */
.contact-map {
  margin-top: var(--pg-space-20);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  height: 380px;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
}

.contact-map__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.contact-map__placeholder svg {
  color: var(--brand-red, #b90504);
  opacity: 0.7;
}


.contact-map__address {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.contact-map__link {
  color: var(--brand-red, #b90504);
  text-decoration: none;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(185, 5, 4, 0.4);
}

/* ──────────────────────────────────────────────────────────
   ABOUT PAGE (apropos)
   ────────────────────────────────────────────────────────── */
/* [PATCH] Hero-specific actions and highlights for stronger hierarchy and conversion. */
.apropos-hero__inner {
  display: grid;
  gap: var(--pg-space-6);
  max-width: min(1280px, calc(100% - (var(--pg-space-6) * 2)));
  align-items: center;
}

/* [PATCH] Stats block anchored at the bottom of the hero with transparent backdrop. */
#apropos-hero {
  padding-bottom: var(--pg-space-14);
}

.apropos-hero-stats {
  position: relative;
  width: 100%;
  margin-top: var(--pg-space-2);
  background: transparent;
}

/* [PATCH] Center and elevate hero CTA visual quality for apropos page. */
.apropos-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pg-space-4);
  justify-content: center;
}

.apropos-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 220px;
  padding: 0 var(--pg-space-8);
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.apropos-hero__btn:focus-visible {
  outline: 2px solid rgba(185, 5, 4, 0.85);
  outline-offset: 3px;
}

.apropos-hero__btn--primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(185, 5, 4, 0.94) 0%, rgba(140, 6, 6, 0.92) 100%);
  border: 1px solid var(--brand-red, #b90504);
  box-shadow: 0 14px 28px rgba(185, 5, 4, 0.24);
}

.apropos-hero__btn--primary:hover,
.apropos-hero__btn--primary:active {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(185, 5, 4, 0.34);
}

.apropos-hero__btn--ghost {
  color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(5, 6, 9, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.apropos-hero__btn--ghost:hover,
.apropos-hero__btn--ghost:active {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(5, 6, 9, 0.72);
  transform: translateY(-3px);
}

.apropos-hero__btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -32%;
  width: 26%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: left 0.42s ease;
  pointer-events: none;
}

.apropos-hero__btn:hover::after,
.apropos-hero__btn:focus-visible::after {
  left: 108%;
}

.apropos-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.apropos-story__text p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: var(--pg-space-6);
}

.apropos-story__text a {
  color: var(--brand-red, #b90504);
  text-decoration-color: rgba(185, 5, 4, 0.7);
  text-underline-offset: 0.18em;
}

.apropos-story__text a:hover,
.apropos-story__text a:focus-visible {
  color: #fff;
  text-decoration-color: var(--brand-red, #b90504);
}

.apropos-story__text p:last-child { margin-bottom: 0; }

.apropos-story__media {
  position: relative;
  display: grid;
  gap: var(--pg-space-5);
}

.apropos-story__img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: min(500px, 62vh);
  max-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.apropos-story__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(185, 5, 4, 0.22) 0%, rgba(185, 5, 4, 0.02) 52%, transparent 70%);
  pointer-events: none;
}

.apropos-story__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.apropos-story__img-wrap:hover .apropos-story__img {
  transform: scale(1.03);
}

.apropos-story__panel {
  position: absolute;
  top: var(--pg-space-5);
  left: var(--pg-space-5);
  z-index: 2;
  width: min(340px, calc(100% - (var(--pg-space-5) * 2)));
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--pg-space-6);
}

.apropos-story__panel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: var(--pg-space-4);
}

.apropos-story__panel-list {
  margin: 0;
  padding-left: var(--pg-space-5);
  display: grid;
  gap: var(--pg-space-3);
}

.apropos-story__panel-list li {
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.apropos-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pg-space-6);
}

.pg-page-apropos #values-title + .pg-section-subtitle,
.pg-page-apropos #certs-title + .pg-section-subtitle {
  max-width: 600px;
}

.apropos-value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: var(--pg-space-8) var(--pg-space-6);
  transition: border-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.apropos-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-red, #b90504);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.apropos-value-card:hover {
  border-color: rgba(185, 5, 4, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(185, 5, 4, 0.14);
}

.apropos-value-card:hover::before { transform: scaleX(1); }

.apropos-value-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(185, 5, 4, 0.1);
  border: 1px solid rgba(185, 5, 4, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red, #b90504);
  margin-inline: auto;
  margin-bottom: var(--pg-space-5);
}

.apropos-value-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--pg-space-3);
}

.apropos-value-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.7;
}

@keyframes stat-float-a {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes stat-float-b {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

@keyframes stat-float-c {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@keyframes stat-float-d {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes stat-ring-pulse {
  0%,
  100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.55; }
}

.apropos-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--pg-space-5);
}

.apropos-stat {
  width: 100%;
  min-height: 228px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: var(--pg-space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  animation-play-state: paused;
}

.apropos-stat:nth-child(1) { animation: stat-float-a 5.2s ease-in-out infinite; }
.apropos-stat:nth-child(2) { animation: stat-float-b 6.1s ease-in-out infinite 0.8s; }
.apropos-stat:nth-child(3) { animation: stat-float-c 5.7s ease-in-out infinite 1.4s; }
.apropos-stat:nth-child(4) { animation: stat-float-d 6.5s ease-in-out infinite 0.4s; }

.apropos-stat.is-animated {
  animation-play-state: running;
}

.apropos-stat__shadow {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 14px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  animation-play-state: paused;
}

.apropos-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 5, 4, 0.4);
}

.apropos-stat__icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--pg-space-4);
  position: relative;
  border: 1px solid rgba(185, 5, 4, 0.18);
  background: rgba(185, 5, 4, 0.08);
}

.apropos-stat:nth-child(1) { --stat-hue: 0deg; }
.apropos-stat:nth-child(2) { --stat-hue: 24deg; }
.apropos-stat:nth-child(3) { --stat-hue: 170deg; }
.apropos-stat:nth-child(4) { --stat-hue: 300deg; }

.apropos-stat__icon-ring {
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(185, 5, 4, 0.25);
  border-radius: 50%;
  animation: stat-ring-pulse 4.8s ease-in-out infinite;
  animation-play-state: paused;
}

.apropos-stat.is-animated .apropos-stat__icon-ring,
.apropos-stat.is-animated .apropos-stat__shadow {
  animation-play-state: running;
}

.apropos-stat:nth-child(2) .apropos-stat__icon-ring { animation-duration: 6.1s; animation-delay: 0.8s; }
.apropos-stat:nth-child(3) .apropos-stat__icon-ring { animation-duration: 5.7s; animation-delay: 1.4s; }
.apropos-stat:nth-child(4) .apropos-stat__icon-ring { animation-duration: 6.5s; animation-delay: 0.4s; }

.apropos-stat__icon-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(185, 5, 4, 0.1);
}

.apropos-stat__icon {
  width: 24px;
  height: 24px;
  color: var(--brand-red, #b90504);
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  filter: hue-rotate(var(--stat-hue, 0deg)) drop-shadow(0 0 14px rgba(185, 5, 4, 0.26));
  animation: stat-icon-chroma 5.8s ease-in-out infinite;
  animation-play-state: paused;
}

.apropos-stat--rating .apropos-stat__icon {
  color: #f4c542;
  filter: drop-shadow(0 0 12px rgba(244, 197, 66, 0.4));
  animation: stat-star-shine 2.8s ease-in-out infinite;
}

.apropos-stat--rating .apropos-stat__icon-ring {
  border-color: rgba(244, 197, 66, 0.35);
}

.apropos-stat--rating .apropos-stat__icon-ring::before {
  border-color: rgba(244, 197, 66, 0.24);
}

.apropos-stat--rating .apropos-stat__accent,
.apropos-stat--rating .apropos-stat__suffix {
  color: #f4c542;
}

.apropos-stat.is-animated .apropos-stat__icon {
  animation-play-state: running;
}

.apropos-stat:hover .apropos-stat__icon {
  transform: scale(1.16);
}

@keyframes stat-icon-chroma {
  0%,
  100% {
    filter: hue-rotate(calc(var(--stat-hue, 0deg) - 10deg)) drop-shadow(0 0 12px rgba(185, 5, 4, 0.22));
  }
  50% {
    filter: hue-rotate(calc(var(--stat-hue, 0deg) + 18deg)) drop-shadow(0 0 20px rgba(185, 5, 4, 0.34));
  }
}

@keyframes stat-star-shine {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(244, 197, 66, 0.34));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(244, 197, 66, 0.7));
  }
}

.apropos-stat__accent {
  width: 24px;
  height: 2px;
  background: var(--brand-red, #b90504);
  border-radius: 2px;
  margin-bottom: var(--pg-space-4);
  margin-inline: auto;
  transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.apropos-stat:hover .apropos-stat__accent { width: 44px; }

.apropos-stat__value {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--pg-space-3);
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.apropos-stat__value.is-counting {
  opacity: 0.82;
  transform: translateY(4px) scale(0.99);
  filter: blur(0.4px);
}

.apropos-stat__value.is-counted {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.apropos-stat__suffix {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--brand-red, #b90504);
  vertical-align: super;
  line-height: 1;
}

.apropos-stat__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.apropos-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pg-space-6);
}

.apropos-team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.apropos-team-card:hover {
  border-color: rgba(185, 5, 4, 0.34);
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.23), 0 0 0 1px rgba(185, 5, 4, 0.12);
}

.apropos-team-card__img-wrap {
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
}

.apropos-team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(12%) brightness(0.82) contrast(1.05);
  transition: transform 0.45s ease, filter 0.3s ease;
}

.apropos-team-card:hover .apropos-team-card__img {
  transform: scale(1.04);
  filter: grayscale(4%) brightness(0.9) contrast(1.06);
}

.apropos-team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 9, 0.84) 0%, rgba(5, 6, 9, 0.16) 58%, rgba(5, 6, 9, 0.12) 100%);
}

.apropos-team-card__body {
  padding: var(--pg-space-5) var(--pg-space-6);
}

.apropos-team-card__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.apropos-team-card__role {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--brand-red, #b90504);
  letter-spacing: 0.03em;
}

.apropos-certs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pg-space-5);
  justify-content: center;
  align-items: center;
}

.apropos-cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 22px;
  transition: border-color 0.3s ease, transform 0.25s ease;
}

.apropos-cert-badge:hover {
  border-color: rgba(185, 5, 4, 0.36);
  transform: translateY(-2px);
}

.apropos-cert-badge img {
  height: 32px;
  width: auto;
  filter: brightness(0.92);
}

.apropos-cert-badge__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1024px) {
  .apropos-hero-stats {
    margin-top: var(--pg-space-8);
  }

  .apropos-story {
    grid-template-columns: 1fr;
  }

  .apropos-story__img-wrap {
    height: min(460px, 62vh);
  }

  .apropos-story__panel {
    position: static;
    width: 100%;
  }

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

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

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

  .apropos-stat {
    width: 100%;
  }
}


@media (max-width: 900px) and (min-width: 561px) {
  .apropos-certs {
    justify-content: stretch;
  }

  .apropos-cert-badge {
    flex: 1 1 calc(50% - var(--pg-space-5));
    justify-content: center;
  }
}

@media (max-width: 640px) {
  #apropos-hero {
    padding-bottom: var(--pg-space-10);
  }

  .apropos-hero-stats {
    width: min(100%, calc(100% - (var(--pg-space-4) * 2)));
    margin-top: var(--pg-space-6);
  }

  .apropos-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .apropos-hero__btn {
    width: min(100%, 320px);
  }

  .apropos-values-grid,
  .apropos-team-grid,
  .apropos-stats {
    grid-template-columns: 1fr;
  }

  .apropos-stat {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apropos-stat,
  .apropos-stat__icon-ring,
  .apropos-stat__icon,
  .apropos-story__img,
  .apropos-value-card,
  .apropos-team-card,
  .apropos-cert-badge,
  .apropos-hero__btn {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ──────────────────────────────────────────────────────────
   FAQ PAGE
   ────────────────────────────────────────────────────────── */
.faq-search-wrap {
  max-width: 560px;
  margin: 0 auto 56px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 14px 20px 14px 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.faq-search-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.faq-search-input:focus {
  border-color: rgba(185, 5, 4, 0.5);
  box-shadow: 0 0 0 3px rgba(185, 5, 4, 0.1);
}

.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.faq-cat-btn {
  padding: 8px 22px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
}

.faq-cat-btn:hover {
  border-color: rgba(185, 5, 4, 0.4);
  color: #fff;
}

.faq-cat-btn.is-active {
  background: var(--brand-red, #b90504);
  border-color: var(--brand-red, #b90504);
  color: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[data-hidden="true"] { display: none; }

.faq-item:hover { border-color: rgba(185, 5, 4, 0.2); }

.faq-item.is-open { border-color: rgba(185, 5, 4, 0.35); }

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-item__question {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.3s ease, background 0.25s ease;
}

.faq-item.is-open .faq-item__icon {
  border-color: var(--brand-red, #b90504);
  color: var(--brand-red, #b90504);
  background: rgba(185, 5, 4, 0.1);
  transform: rotate(45deg);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq-item.is-open .faq-item__panel {
  max-height: 400px;
}

.faq-item__answer {
  padding: 0 24px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 18px;
}

.faq-no-results {
  text-align: center;
  padding: 48px 24px;
  display: none;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
}

.pg-inline-link-red {
  color: var(--brand-red, #b90504);
}

.pg-inline-link-underlined {
  color: var(--brand-red, #b90504);
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 5, 4, 0.4);
}


.pg-card-cta {
  text-align: center;
  margin-top: var(--pg-space-16);
  padding: var(--pg-space-12) var(--pg-space-8);
}

.pg-card-cta--compact {
  margin-top: var(--pg-space-10);
  padding: var(--pg-space-10) var(--pg-space-8);
}

.pg-card-cta__kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red, #b90504);
  margin-bottom: var(--pg-space-3);
}

.pg-card-cta__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--pg-space-3);
}

.pg-card-cta__title--compact {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pg-card-cta__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto 28px;
  max-width: 460px;
}

.pg-card-cta__desc--tight {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  max-width: none;
}

.pg-card-cta__button {
  display: inline-flex;
  align-items: center;
  gap: var(--pg-space-2);
  padding: 13px 28px;
  background: var(--brand-red, #b90504);
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.pg-card-cta__button:hover {
  background: #d40604;
  box-shadow: 0 8px 24px rgba(185, 5, 4, 0.45);
  transform: translateY(-2px);
}

.pg-card-cta__button:active {
  transform: translateY(0);
}

.faq-no-results.is-visible { display: block; }

/* ──────────────────────────────────────────────────────────
   CAREERS PAGE
   ────────────────────────────────────────────────────────── */
.car-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pg-space-6);
  margin-top: var(--pg-space-4);
}

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

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

.car-culture-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.car-culture-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand-red, #b90504);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.car-culture-card:hover {
  border-color: rgba(185, 5, 4, 0.25);
  transform: translateY(-5px);
}

.car-culture-card:hover::after { transform: scaleX(1); }

.car-culture-card__icon {
  width: 46px;
  height: 46px;
  background: rgba(185, 5, 4, 0.1);
  border: 1px solid rgba(185, 5, 4, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red, #b90504);
  margin-bottom: 18px;
}

.car-culture-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--pg-space-2);
}

.car-culture-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* Job listings */
.car-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.car-job-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.car-job-card:hover {
  border-color: rgba(185, 5, 4, 0.3);
  background: rgba(185, 5, 4, 0.03);
}

@media (max-width: 680px) {
  .car-job-card { flex-direction: column; align-items: flex-start; }
}

.car-job-card__info { flex: 1; }

.car-job-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.car-job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.car-job-tag {
  padding: 4px 12px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.77rem;
  font-weight: 500;
}

.car-job-tag--dept {
  background: rgba(185, 5, 4, 0.12);
  border: 1px solid rgba(185, 5, 4, 0.25);
  color: rgba(255, 130, 130, 0.9);
}

.car-job-tag--type {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.car-job-tag--location {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

.car-job-card__apply {
  flex-shrink: 0;
  padding: 11px 24px;
  background: transparent;
  border: 1px solid rgba(185, 5, 4, 0.5);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-red, #b90504);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.car-job-card__apply:hover {
  background: var(--brand-red, #b90504);
  color: #fff;
  box-shadow: 0 6px 20px rgba(185, 5, 4, 0.35);
}

.car-apply-section {
  scroll-margin-top: 90px;
}

/* Application form */
.car-apply-form-wrap {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .car-apply-form-wrap { padding: 28px 20px; }
}

.car-apply-form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.car-apply-form-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

.form-file-wrap {
  position: relative;
}

.form-file-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.form-file-label:hover {
  border-color: rgba(185, 5, 4, 0.4);
  background: rgba(185, 5, 4, 0.04);
  color: rgba(255, 255, 255, 0.8);
}

.form-file-label svg { color: var(--brand-red, #b90504); flex-shrink: 0; }

.form-file-input { display: none; }

.form-file-name {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
  font-style: italic;
}

.form-textarea--tall {
  min-height: 150px;
}

/* Perks grid */
.car-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

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

.car-perk-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.car-perk-card:hover {
  border-color: rgba(185, 5, 4, 0.2);
  transform: translateY(-4px);
}

.car-perk-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(185, 5, 4, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red, #b90504);
}

.car-perk-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.car-perk-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────
   LEGAL PAGES (mentions-legales, politique-confidentialite)
   ────────────────────────────────────────────────────────── */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--pg-space-14);
  align-items: start;
}

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
}

.legal-toc {
  position: sticky;
  top: 100px;
}

.legal-toc__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--pg-space-4);
}

.legal-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc__item a {
  display: block;
  padding: var(--pg-space-2) var(--pg-space-3);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.legal-toc__item a:hover,
.legal-toc__item a.is-active {
  color: #fff;
  border-left-color: var(--brand-red, #b90504);
  background: rgba(185, 5, 4, 0.07);
}

@media (max-width: 900px) {
  .legal-toc { position: static; }
  .legal-toc__list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .legal-toc__item a { border-left: none; border-bottom: 2px solid transparent; }
  .legal-toc__item a:hover,
  .legal-toc__item a.is-active { border-left-color: transparent; border-bottom-color: var(--brand-red, #b90504); }
}

.legal-body { min-width: 0; }

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: var(--pg-space-2);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 6px 14px;
  margin-bottom: var(--pg-space-10);
}

.legal-section {
  margin-bottom: var(--pg-space-12);
  scroll-margin-top: 110px;
}

.legal-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--pg-space-4);
  padding-bottom: var(--pg-space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h2 .legal-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-red, #b90504);
  background: rgba(185, 5, 4, 0.1);
  border: 1px solid rgba(185, 5, 4, 0.2);
  border-radius: 6px;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.legal-section p {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul {
  padding-left: var(--pg-space-5);
  margin-bottom: 14px;
}

.legal-section ul li {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-section ul li::marker {
  color: var(--brand-red, #b90504);
}

.legal-section a {
  color: rgba(185, 5, 4, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(185, 5, 4, 0.4);
  transition: color 0.2s ease;
}

.legal-section a:hover { color: #ff5050; }

.legal-contact-box {
  background: rgba(185, 5, 4, 0.06);
  border: 1px solid rgba(185, 5, 4, 0.2);
  border-radius: 14px;
  padding: var(--pg-space-6);
  margin-top: var(--pg-space-2);
}


.pg-section-shell {
  background: #050609;
}

.pg-section-shell--bottom-lg {
  padding: 0 0 var(--pg-space-24);
}

.pg-section-shell--y-xl {
  padding: var(--pg-space-24) 0;
}

.pg-section-shell--y-lg {
  padding: var(--pg-space-20) 0;
}

.pg-section-shell--legal {
  padding: 72px 0 var(--pg-space-24);
}

.pg-section--flush-y {
  padding-top: 0;
  padding-bottom: 0;
}

.pg-section-title--left {
  text-align: left;
}

.pg-section-title--sm {
  font-size: 1.5rem;
}

.pg-section-title--mb-lg {
  margin-bottom: var(--pg-space-8);
}

.legal-contact-box p {
  margin-bottom: 8px;
}

.legal-contact-box p:last-child { margin-bottom: 0; }


.legal-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

.legal-note--muted {
  color: rgba(255, 255, 255, 0.45);
  margin-top: var(--pg-space-2);
}

.legal-note--mt-md {
  margin-top: var(--pg-space-5);
}

/* Back to top */
.pg-back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--brand-red, #b90504);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(185, 5, 4, 0.4);
}

.pg-back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pg-back-top:hover {
  box-shadow: 0 8px 24px rgba(185, 5, 4, 0.55);
  transform: translateY(-3px);
}

@media (max-width: 480px) {
  .pg-back-top { bottom: 80px; right: 16px; }
}

/* ──────────────────────────────────────────────────────────
   Cookie banner trigger
   ────────────────────────────────────────────────────────── */
.cookie-manage-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.cookie-manage-btn:hover {
  border-color: rgba(185, 5, 4, 0.4);
  color: #fff;
}
