/* ============================================================
   CAR CURE – SOS Recovery Page Styles
   ============================================================ */

/* ─── Color tokens ───────────────────────────────────────────── */
:root {
  --sos-red:        #e53935;
  --sos-red-dark:   #b71c1c;
  --sos-red-glow:   rgba(229, 57, 53, 0.28);
  --sos-red-faint:  rgba(229, 57, 53, 0.08);
  --sos-surface:    #13131a;
  --sos-surface-2:  #0d0d10;
  --sos-border:     rgba(255,255,255,.07);
}

/* Headings */
h1, h2 {
  font-family: 'Technor', sans-serif !important;
  font-weight: 400;
}
h3, h4, h5, h6 {
  font-family: 'Supreme', sans-serif !important;
}

/* ─── Shared ─────────────────────────────────────────────────── */
.highlight-red     { color: var(--sos-red); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-teal, #60e5d9);
  margin-bottom: 0.5rem;
}

/* Section container — 92% width with auto margins keeps content away from edges */
.section-container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;

}

/* Global overflow fix for SOS page */
#sos-hero, #sos-form, #how-it-works, #safety, .sos-cta-strip,
.sos-form-context {
  max-width: 100%;
  overflow: hidden !important;
}
.sos-form-card {
  max-width: 100%;
  overflow-x: hidden !important;
}
.sos-form-layout {
  max-width: 100%;
  overflow: visible;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.sos-hero {
  position: relative;
  min-height: auto;
  background: #0a0202;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem 2rem;
}

/* ── Video ───────────────────────────────────────────────────── */
.sos-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;   /* show upper portion of footage for road context */
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: videoFadeIn 1.6s ease-out 0.3s forwards;
}

@keyframes videoFadeIn {
  to { opacity: 1; }
}

/* ── Overlay: thin dark overlay that covers entire hero section
      without affecting content (z-index below content) ──────── */
.sos-hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.65);
}

/* ── Stripes ─────────────────────────────────────────────────── */
.sos-stripe {
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.sos-stripe-left  { left:  0; background: linear-gradient(to right, rgba(255,255,255,0.04), transparent); animation: stripeLeft  1.2s ease-out 0.5s both; }
.sos-stripe-right { right: 0; background: linear-gradient(to left,  rgba(255,255,255,0.04), transparent); animation: stripeRight 1.2s ease-out 0.5s both; }
@keyframes stripeLeft  { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes stripeRight { from { transform: translateX(100%);  opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Hero content ─────────────────────────────────────────────── */
.sos-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

/* Hero layout */
.sos-hero-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}
.sos-hero-main-row {
  width: 100%;
}
.sos-hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Hotline inline with buttons */
.sos-hero-hotline-inline {
  margin-left: auto;
}
.sos-hero-hotline-inline .sos-hotline-card {
  padding: 1rem 1.5rem;
}

/* Badge */
.sos-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.55s forwards;
  max-width: 320px;
}

/* Response time disclaimer asterisk */
.response-time-disclaimer {
  display: inline-block;
  font-size: 0.7em;
  color: rgba(255,255,255,0.6);
  cursor: help;
  vertical-align: super;
  margin-left: 3px;
  transition: color 0.2s ease;
}

.response-time-disclaimer:hover {
  color: #e53935;
}

.response-time-disclaimer::after {
  content: "Estimated average response time. May vary based on location, distance, and conditions.";
  position: fixed;
  background: #1a1a1a;
  color: #ccc;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 400;
  white-space: normal;
  width: 220px;
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 9999999;
  pointer-events: none;
  left: 20px;
  top: 20px;
}

.response-time-disclaimer:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Title */
.sos-hero-title {
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.8);
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.75s forwards;
}
/* Accent line: bright white with a warm tint instead of competing red */
.hero-title-accent {
  color: #ffffff;
  display: inline-block;
  position: relative;
}
.hero-title-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: var(--sos-red);
  transform: scaleX(0);
  transform-origin: left;
  animation: accentLine 0.7s cubic-bezier(0.4,0,0.2,1) 1.4s forwards;
}
@keyframes accentLine {
  to { transform: scaleX(1); }
}

/* Description */
.sos-hero-desc {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.95s forwards;
}
.sos-hero-desc strong { color: #fff; font-weight: 700; }

/* Stats strip — frosted glass cards */
.sos-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0 auto 2.8rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 0.2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.1s forwards;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.9rem 2rem;
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 20px rgba(229,57,53,0.6);
}
.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.72);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* Action buttons */
.sos-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.25s forwards;
}

/* Scroll hint */
.sos-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.6s forwards;
  padding-top: 4rem;
  width: 100%;
}
.sos-scroll-hint i { animation: scrollBounce 2.4s cubic-bezier(0.4,0,0.6,1) infinite; }
@keyframes scrollBounce {
  0%,100% { transform: translateY(0);   opacity: 0.5; }
  45%,55% { transform: translateY(8px); opacity: 1;   }
}

/* ─── BUTTONS ────────────────────────────────────────────────── */

/* Primary — red fill, light-ray sweep on hover */
.btn-sos-primary, .btn-sos-secondary, .btn-sos-outline {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2.4rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Supreme', sans-serif;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.38s cubic-bezier(0.34,1.3,0.64,1),
              box-shadow 0.38s ease;
  max-width: 100% !important;
  white-space: normal !important;
  box-sizing: border-box;
}

/* Primary button specific */
.btn-sos-primary {
  background: var(--sos-red);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 4px 22px var(--sos-red-glow);
}

/* Secondary button specific */
.btn-sos-secondary {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-sos-primary img,
.btn-sos-secondary img,
.btn-sos-outline img,
.sos-hero-content .section-icon,
.cta-strip-actions img { filter: brightness(0) invert(1); }


/* Diagonal light-ray sweep */
.btn-sos-primary::before {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.22) 50%, transparent 65%);
  transform: skewX(-15deg) translateX(0);
  transition: transform 0.55s ease;
}
.btn-sos-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 38px rgba(229,57,53,0.52);
  background: #c62828;
}
.btn-sos-primary:hover::before { transform: skewX(-15deg) translateX(350%); }
.btn-sos-primary:active { transform: translateY(-1px) scale(1); }

/* Secondary — frosted border, fills on hover */
.btn-sos-secondary {
  transition: border-color 0.3s ease,
              background 0.35s ease,
              transform 0.38s cubic-bezier(0.34,1.3,0.64,1),
              box-shadow 0.3s ease;
}
.btn-sos-secondary:hover {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.16);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.btn-sos-secondary:active { transform: translateY(-1px); }

/* Outline — vertical fill wipe */
.btn-sos-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: transparent;
  color: var(--sos-red);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid var(--sos-red);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.32s ease,
              border-color 0.32s ease,
              transform 0.38s cubic-bezier(0.34,1.3,0.64,1),
              box-shadow 0.32s ease;
}
.btn-sos-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sos-red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.36s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}
.btn-sos-outline > * { position: relative; z-index: 1; }
.btn-sos-outline span, .btn-sos-outline i { position: relative; z-index: 1; }
.btn-sos-outline:hover { color: #fff; border-color: var(--sos-red); transform: translateY(-3px); box-shadow: 0 8px 24px var(--sos-red-glow); }
.btn-sos-outline:hover::before { transform: scaleY(1); }


/* CTA-strip outline on dark bg */
.cta-strip-actions .btn-sos-outline { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.35); }
.cta-strip-actions .btn-sos-outline::before { background: rgba(255,255,255,0.14); }
.cta-strip-actions .btn-sos-outline:hover { color: #fff; border-color: rgba(255,255,255,0.7); }

/* ─── FORM SECTION ───────────────────────────────────────────── */
.sos-form-section {
  padding: 3rem 0;
  background: #0d0d10;
  position: relative;
}

.sos-form-wrapper {
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--sos-border);
  border-radius: 28px;
  padding: 3rem;
  max-width: 100%;
}

.sos-form-layout {
  display: grid !important;
  grid-template-columns: 1fr 1.55fr !important;
  gap: 5rem !important;
  align-items: start !important;
}

.sos-form-context { 
  align-self: start;
}

.sos-form-card {
  align-self: start;
}


/* Context panel heading (left side) */
.sos-form-context-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #e8e8ec;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-align: left;
}
.sos-form-subtext { font-size: 1.1rem; color: #A5A5A5; line-height: 1.8; margin-bottom: 1.5rem; }


/* While You Wait - Safety Checklist */
.sos-safety-checklist {
  background: linear-gradient(135deg, rgba(229,57,53,0.08) 0%, rgba(10,10,15,0.95) 100%);
  border: 1px solid rgba(229,57,53,0.25);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.checklist-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checklist-items li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}
.checklist-items li i {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  flex-shrink: 0;
}


/* Hotline card — lift + border glow on hover */
.sos-hotline-card {
  background: linear-gradient(135deg, rgba(229,57,53,0.12) 0%, rgba(6,47,45,0.95) 100%);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid rgba(229,57,53,0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.38s cubic-bezier(0.34,1.3,0.64,1);
}
.sos-hotline-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 85% 15%, rgba(229,57,53,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.sos-hotline-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 16px 48px rgba(229,57,53,0.25); 
  border-color: rgba(229,57,53,0.7);
}
.hotline-label { 
  font-size: 0.75rem; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 0.15em; 
  color: rgba(255,255,255,0.6); 
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hotline-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--sos-red);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hotline-number { 
  font-size: 1.8rem; 
  font-weight: 900; 
  color: #fff; 
  text-decoration: none; 
  letter-spacing: -0.02em; 
  transition: color 0.3s ease;
  text-shadow: 0 2px 20px rgba(229,57,53,0.4);
}
.hotline-number:hover { 
  color: #ff6b6b; 
  text-shadow: 0 2px 30px rgba(229,57,53,0.6);
}

/* Form card */
.sos-form-card {
  position: relative;
  background: #13131a;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 12px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,.07);
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 80vh;
  scrollbar-width: none;
}
.sos-form-card::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Step transitions */
.sos-step {
  display: none;
}
.sos-step.sos-step-active {
  display: block;
}
.sos-step.sos-step-entering {
  display: block;
}
.sos-step.sos-step-exiting {
  display: block;
  pointer-events: none;
}

/* Get Help Now heading */
.sos-form-heading {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.sos-form-heading--large {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
}
.sos-form-heading--centered {
  text-align: center;
  flex: 1;
  margin-bottom: 0;
}

/* Step inner wrapper */
.sos-step-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Back button base */
.sos-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.sos-back-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Step heading row: back btn left + heading centered */
.sos-step-heading-row {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  width: 100%;
}
.sos-step-heading-row .sos-back-btn {
  margin-right: auto;
}
.sos-step-heading-row .sos-form-heading {
  flex: 1;
  text-align: center;
  margin-bottom: 0;
}

/* Step cards container */
.sos-step-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

/* Individual step card */
.sos-step-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-family: 'Supreme', sans-serif;
  transition: all 0.3s cubic-bezier(0.34,1.3,0.64,1);
}
.sos-step-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--sos-red);
  box-shadow: 0 4px 20px rgba(229,57,53,0.15);
}

/* Step card icon */
.sos-step-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}
.sos-step-card-icon--emergency {
  background: rgba(229, 57, 53, 0.15);
  color: var(--sos-red);
}
.sos-step-card-icon--breakdown {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.sos-step-card-icon--roadside {
  background: rgba(96, 229, 217, 0.15);
  color: #60e5d9;
}
.sos-step-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(12%) sepia(98%) saturate(6943%) hue-rotate(354deg) brightness(93%) contrast(103%);
}
.sos-step-card-icon--emergency img {
  width: 44px;
  height: 44px;
}
.sos-step-card-icon--breakdown img {
  filter: brightness(0) saturate(100%) invert(67%) sepia(96%) saturate(747%) hue-rotate(2deg) brightness(103%) contrast(104%);
}
.sos-step-card-icon--roadside img {
  filter: brightness(0) saturate(100%) invert(73%) sepia(46%) saturate(481%) hue-rotate(118deg) brightness(101%) contrast(101%);
}

/* Step card text */
.sos-step-card-text {
  flex: 1;
}
.sos-step-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.sos-step-card-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
  line-height: 1.3;
  flex-shrink: 0;
  margin-left: auto;
  text-align: right;
  max-width: 45%;
}

/* Stepped progress indicator */
.sos-step-progress {
  display: flex;
  gap: 6px;
  width: 100%;
  margin-bottom: 1.5rem;
}
.sos-step-progress-segment {
  flex: 1;
  height: 4px;
  background: #2a2a35;
  border-radius: 2px;
  transition: background 0.4s ease;
}
.sos-step-progress-segment--active {
  background: var(--sos-red);
  box-shadow: 0 0 8px var(--sos-red-glow);
}
.sos-step-progress-segment--done {
  background: #e53935;
}

/* Progress breadcrumb */
.sos-breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  display: inline-block;
}
.sos-breadcrumb .sos-bc-condition {
  color: var(--sos-red);
}

/* Other textarea */
.sos-other-textarea-wrap {
  margin: 0.75rem 0 1rem;
}
.sos-other-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem;
}
.sos-other-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 0.75rem;
}
.sos-other-textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  resize: none;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.25s ease;
}
.sos-other-textarea:focus {
  border-color: rgba(229, 57, 53, 0.5);
}
.sos-char-count {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-align: left;
}
.sos-char-count.sos-char-limit {
  color: var(--sos-red);
}

/* Condition tabs */
.sos-condition-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.sos-condition-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.sos-condition-tab:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.sos-condition-tab--active {
  background: rgba(229, 57, 53, 0.12);
  border-color: rgba(229, 57, 53, 0.4);
  color: #fff;
}
.sos-condition-tab img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Condition panels */
.sos-condition-panels {
  position: relative;
}
.sos-condition-panel {
  display: none;
  animation: fadeInUp 0.35s ease-out;
}
.sos-condition-panel--active {
  display: block;
}

/* Condition grid */
.sos-condition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.sos-condition-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #e8e8ec;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  text-align: center;
}
.sos-condition-btn img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.sos-condition-btn:hover img {
  opacity: 1;
}
.sos-condition-btn:hover {
  background: rgba(229, 57, 53, 0.1);
  border-color: rgba(229, 57, 53, 0.35);
  color: #fff;
  transform: translateY(-2px);
}
.sos-condition-btn--other {
  background: rgba(255,255,255,0.02);
  border-style: dashed;
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
}
.sos-condition-btn--other:hover {
  border-style: solid;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.sos-condition-btn--selected {
  background: rgba(229, 57, 53, 0.15);
  border-color: var(--sos-red);
  color: #fff;
}
.sos-condition-btn--selected img {
  opacity: 1;
}
.sos-condition-btn--selected:hover {
  background: rgba(229, 57, 53, 0.2);
  transform: none;
}
.sos-condition-btn--sm img {
  width: 20px;
  height: 20px;
}
.sos-condition-btn--lg img {
  width: 30px;
  height: 30px;
}
.sos-condition-btn--xl img {
  width: 33px;
  height: 33px;
}

/* Continue button */
.sos-continue-btn {
  width: 100%;
  margin-top: 1rem;
  justify-content: center;
  text-align: center;
}
.sos-continue-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* My Vehicle button */
.sos-my-vehicle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(255,255,255,0.8);
  font-family: 'Supreme', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-left: auto;
}
.sos-my-vehicle-btn:hover {
  background: rgba(229, 57, 53, 0.12);
  border-color: rgba(229, 57, 53, 0.4);
  color: #fff;
}
.sos-my-vehicle-btn i {
  font-size: 0.9rem;
}

/* Vehicle Modal Overlay */
.sos-vehicle-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.sos-vehicle-modal-overlay.sos-modal-open {
  display: flex;
}

/* Vehicle Modal */
.sos-vehicle-modal {
  background: #13131a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 70vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: modalSlideUp 0.3s ease-out;
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modal Header */
.sos-vehicle-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sos-vehicle-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.sos-vehicle-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.sos-vehicle-modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Modal Body */
.sos-vehicle-modal-body {
  padding: 1rem 1.5rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 57, 53, 0.4) transparent;
}

/* Vehicle Card inside modal */
.sos-vehicle-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}
.sos-vehicle-card:hover {
  background: rgba(229, 57, 53, 0.08);
  border-color: rgba(229, 57, 53, 0.35);
  transform: translateY(-2px);
}

/* Vehicle card image */
.sos-vehicle-card-img {
  width: 100%;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
}
.sos-vehicle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sos-vehicle-card-img-fallback {
  color: rgba(255,255,255,0.2);
  font-size: 2rem;
}

/* Vehicle card body */
.sos-vehicle-card-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}
.sos-vehicle-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(229, 57, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sos-red);
  font-size: 1rem;
  flex-shrink: 0;
}
.sos-vehicle-card-info {
  flex: 1;
  min-width: 0;
}
.sos-vehicle-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.15rem;
}
.sos-vehicle-card-detail {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* Modal empty/loading state */
.sos-vehicle-modal-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  margin: 0;
}

/* Location step */
.sos-location-sub {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin: 0 0 1.5rem;
}
.sos-location-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

/* Pulsing pin */
.sos-location-pin {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sos-pin-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.15);
  border: 2px solid rgba(229, 57, 53, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.sos-pin-circle i {
  font-size: 1.5rem;
  color: var(--sos-red);
}
.sos-pin-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.2);
  animation: sosPinPulse 2s ease-out infinite;
}
@keyframes sosPinPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Location status */
.sos-location-status {
  text-align: center;
}
.sos-location-status-text {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0;
}
.sos-location-status-text.sos-location-success {
  color: #4ade80;
}
.sos-location-status-text.sos-location-error {
  color: var(--sos-red);
}

/* Location preview map */
.sos-location-map-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.sos-location-map {
  width: 100%;
  height: 220px;
}

/* Manual location */
.sos-manual-location {
  width: 100%;
}
.sos-field-label--centered {
  text-align: center;
  display: block;
  margin-bottom: 0.5rem;
}
.sos-manual-input-group {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.sos-manual-input-group .sos-field-input {
  flex: 1;
  border-radius: 12px 0 0 12px;
}
.sos-manual-search-btn {
  width: 44px;
  border-radius: 0 12px 12px 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-left: none;
  background: rgba(229, 57, 53, 0.12);
  color: var(--sos-red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.sos-manual-search-btn:hover {
  background: rgba(229, 57, 53, 0.25);
  border-color: rgba(229, 57, 53, 0.4);
}

/* Location button */
.sos-location-btn-group {
  width: 100%;
}
.sos-location-btn {
  width: 100%;
  justify-content: center;
}
.sos-retry-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  font-size: 1rem;
}
.sos-retry-btn:hover {
  background: rgba(229, 57, 53, 0.12);
  border-color: rgba(229, 57, 53, 0.4);
  color: #fff;
}
.sos-retry-btn:active {
  transform: scale(0.92);
}
.sos-retry-btn--map {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 500;
  background: rgba(19, 19, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
}
.sos-retry-btn--map:hover {
  background: rgba(19, 19, 26, 0.95);
}
@keyframes sosRetrySpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.sos-retry-btn.spinning i {
  animation: sosRetrySpin 0.8s linear infinite;
}

/* GPS Collection Progress */
.sos-gps-progress {
  width: 100%;
  text-align: center;
  animation: fadeInUp 0.3s ease-out;
}
.sos-gps-progress-label {
  color: rgba(255,255,255,0.7);
  font-family: 'Supreme', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.6rem 0;
}
.sos-gps-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.sos-gps-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e53935, #4caf50);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.sos-gps-progress-timer {
  color: rgba(255,255,255,0.4);
  font-family: 'Supreme', sans-serif;
  font-size: 0.78rem;
  margin: 0;
}

/* Location map metadata */
.sos-location-meta {
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sos-location-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0;
}
.sos-location-meta-row i {
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.sos-location-meta-row span {
  color: rgba(255,255,255,0.55);
  font-family: 'Supreme', sans-serif;
  font-size: 0.78rem;
  line-height: 1.3;
}

/* Glowing green marker */
.sos-glow-marker {
  position: relative;
}
.sos-glow-marker-inner {
  width: 16px;
  height: 16px;
  background: #22c55e;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.6), 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}
.sos-glow-marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  animation: sosGlowPulse 2s ease-out infinite;
  z-index: 1;
}
@keyframes sosGlowPulse {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Help card */
.sos-help-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  width: 100%;
}

/* Icon circle */
.sos-help-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.12);
  border: 2px solid rgba(229, 57, 53, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.sos-help-icon-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(229, 57, 53, 0.25) 0%, transparent 70%);
}
.sos-help-icon-circle img {
  filter: invert(26%) sepia(94%) saturate(6943%) hue-rotate(354deg) brightness(93%) contrast(103%);
  position: relative;
  z-index: 1;
}

/* Help title & subtitle */
.sos-help-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}
.sos-help-subtitle {
  font-size: 0.95rem;
  color: #A5A5A5;
  line-height: 1.5;
  margin-bottom: 1.4rem;
  max-width: 280px;
}

/* Get Started button */
.sos-get-started-btn {
  width: 100%;
  justify-content: center;
}

/* Vehicle form */
.sos-vehicle-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.5rem;
}
.sos-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sos-field-label {
  font-family: 'Supreme', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.sos-field-label--lg {
  font-size: 1rem;
}
.sos-field-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-family: 'Supreme', sans-serif;
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}
.sos-field-input option {
  background: #13131a;
  color: #fff;
}
.sos-field-input:focus {
  border-color: rgba(229, 57, 53, 0.5);
}
.sos-field-input::placeholder {
  color: rgba(255,255,255,0.3);
}

/* Login promo banner */
.sos-login-promo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(96, 229, 217, 0.1), rgba(96, 229, 217, 0.05));
  border: 1px solid rgba(96, 229, 217, 0.2);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.sos-login-promo i {
  font-size: 1.5rem;
  color: var(--primary-teal, #60e5d9);
  flex-shrink: 0;
}
.sos-login-promo-text {
  flex: 1;
}
.sos-login-promo-text strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.sos-login-promo-text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.sos-login-btn {
  padding: 0.5rem 1rem;
  background: var(--primary-teal, #60e5d9);
  color: #000;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(96, 229, 217, 0.3);
  transition: all 0.2s ease;
}
.sos-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(96, 229, 217, 0.4);
}

/* My Vehicles button - standalone outside form */
.sos-my-vehicles-standalone {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
}
.sos-my-vehicle-btn-full {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background: rgba(96, 229, 217, 0.08);
  border: 1px solid rgba(96, 229, 217, 0.25);
  border-radius: 8px;
  color: var(--primary-teal, #60e5d9);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sos-my-vehicle-btn-full:hover {
  background: rgba(96, 229, 217, 0.15);
  border-color: rgba(96, 229, 217, 0.5);
  transform: translateY(-1px);
}
.sos-my-vehicle-btn-full img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(73%) sepia(46%) saturate(481%) hue-rotate(118deg) brightness(101%) contrast(101%);
}

/* Form elements */
.form-section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-teal, #60e5d9);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 1rem;
}
.form-section-label .section-icon {
  width: 1.2rem;
  height: 1.2rem;
  filter: brightness(0) saturate(100%) invert(73%) sepia(46%) saturate(481%) hue-rotate(118deg) brightness(101%) contrast(101%);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.sos-form-card .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.form-group label { font-size: 0.85rem; font-weight: 600; color: #A5A5A5; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0; }

.req { color: var(--sos-red); }
.optional { color: #A5A5A5; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* Urgency Toggle */
.form-group:has(.urgency-toggle-label) {
  display: flex;
  flex-direction: column;
}
.form-group:has(.urgency-toggle-label) > label:first-child {
  margin-bottom: 0;
}
.urgency-toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  background: #0d0d10;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.09);
  transition: background 0.2s ease, border-color 0.2s ease;
  min-height: 42px;
  box-sizing: border-box;
  width: 100%;
}
.urgency-toggle-label:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.urgency-toggle-label input { display: none; }
.urgency-toggle-switch {
  width: 36px;
  height: 18px;
  background: #3a3a4a;
  border-radius: 9px;
  position: relative;
  transition: background 0.3s ease;
  align-self: center;
}
.urgency-toggle-switch::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.urgency-toggle-label input:checked + .urgency-toggle-switch {
  background: var(--sos-red);
}
.urgency-toggle-label input:checked + .urgency-toggle-switch::after {
  transform: translateX(17px);
}
.urgency-toggle-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* Show More/Less - Hidden by default with smooth transition */
.sos-additional-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.sos-additional-details.visible {
  max-height: 1200px;
  opacity: 1;
}

/* Show More Button */
.sos-show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: auto;
  padding: 0 !important;
  margin-top: 1.5rem;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  border-radius: 0;
}

/* Mobile: CTA section proper layout */
@media (max-width: 600px) {
  .sos-form-wrapper {
    padding: 1.5rem !important;
    border-radius: 18px !important;
  }
  .sos-form-card {
    padding: 1rem !important;
  }
  .sos-help-icon-circle {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
  }
  .sos-help-icon-circle img {
    width: 32px;
    height: 32px;
  }
  .btn-submit-sos {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    margin-top: 0.75rem !important;
    box-sizing: border-box !important;
    order: 1;
  }
  .sos-show-more-btn {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1.5rem !important;
    padding: 0 !important;
    font-size: 0.8rem !important;
    order: 2;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #fff;
  }
  .sos-show-more-btn:hover {
    background: transparent !important;
  }
  /* Mobile: reduce gap between hero buttons and scroll hint */
  .sos-scroll-hint {
    padding-top: 1.5rem !important;
  }
  .sos-form-card form {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  .form-row > div {
    width: 100% !important;
    max-width: 100% !important;
  }
}
.sos-show-more-btn:hover,
.sos-show-more-btn:focus,
.sos-show-more-btn:active {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.8);
}
.sos-show-more-btn i {
  font-size: 0.7rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}
.sos-show-more-btn.expanded i {
  transform: rotate(180deg) !important;
}

/* Damage Photo Upload */
.sos-media-section {
  width: 100%;
  margin-bottom: 1.25rem;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  font-size: 1rem;
  color: #e8e8ec;
  background: #0d0d10;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  min-height: 42px;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary-teal,#60e5d9); box-shadow: 0 0 0 3px rgba(96,229,217,0.1); }
.form-group input.input-error,
.form-group textarea.input-error { border-color: var(--sos-red); box-shadow: 0 0 0 3px var(--sos-red-faint); }
.form-group textarea { resize: vertical; min-height: 80px; }

/* Desktop-only: reduce Vehicle Details field & label sizes */
@media (min-width: 601px) {
  #sosForm .form-row-2x2 .form-group label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }
  #sosForm .form-row-2x2 .form-group input {
    font-size: 0.88rem;
    padding: 0.65rem 0.85rem;
    min-height: 36px;
  }
  #sosForm .form-row-2x2 .form-group .urgency-toggle-text {
    font-size: 0.65rem;
  }
  #sosForm .form-row-2x2 .form-group .urgency-toggle-label {
    padding: 0.6rem 0.85rem;
    min-height: 36px;
  }

  /* Vehicle Details grid: 3 columns on desktop */
  #sosForm .form-row-2x2 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Your Contact section */
  #sosForm .form-row:not(.form-row-2x2) .form-group label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }
  #sosForm .form-row:not(.form-row-2x2) .form-group input {
    font-size: 0.88rem;
    padding: 0.65rem 0.85rem;
    min-height: 36px;
  }
  #sosForm .form-row:not(.form-row-2x2) .phone-prefix {
    padding: 0 0.65rem;
    font-size: 0.82rem;
    line-height: 2.4rem;
  }

  /* Condition cards — taller on desktop */
  .condition-card {
    padding: 1.6rem 0.4rem;
    min-height: 96px;
  }
  .condition-card .condition-icon,
  .condition-card i {
    width: 36px;
    height: 36px;
    font-size: 1.8rem;
  }
}

/* Condition grid — radiate on hover */
.condition-grid { 
  display: flex; 
  flex-direction: column;
  gap: 0.6rem; 
  margin-bottom: 0.3rem;
}
.condition-group-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  padding-left: 0.15rem;
}
.condition-group-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
.condition-option { 
  cursor: pointer;
  display: block;
  width: 100%;
}
.condition-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.condition-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34,1.5,0.64,1);
  color: #A5A5A5;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.condition-card span {
  text-align: center;
  line-height: 1.1;
  font-size: 0.58rem;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.condition-card:hover { border-color: var(--sos-red); color: var(--sos-red); }
.condition-card:hover span { color: var(--sos-red); }
.condition-card i,
.condition-card .condition-icon { 
  font-size: 1.2rem; 
  width: 1.2rem; height: 1.2rem; object-fit: contain; 
  filter: brightness(0) saturate(100%) invert(62%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.58);
  transition: color 0.28s ease, transform 0.36s cubic-bezier(0.34,1.5,0.64,1), filter 0.28s ease; 
  align-self: center;
}
.condition-option input:checked + .condition-card {
  border-color: var(--sos-red); background: var(--sos-red-faint); color: var(--sos-red);
}
.condition-option input:checked + .condition-card i,
.condition-option input:checked + .condition-card .condition-icon { color: var(--sos-red); transform: scale(1.15); filter: invert(12%) sepia(98%) saturate(6943%) hue-rotate(354deg) brightness(93%) contrast(103%); }

.condition-card:hover .condition-icon { filter: invert(12%) sepia(98%) saturate(6943%) hue-rotate(354deg) brightness(93%) contrast(103%); }




/* Location panel */
.location-panel { display: flex; flex-direction: column; gap: 1rem; }
.btn-locate {
  display: none; /* Disabled - using manual search only */
  align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem; border: 2px dashed rgba(96,229,217,0.4); border-radius: 12px;
  background: rgba(96,229,217,0.04); color: var(--primary-teal,#60e5d9);
  font-size: 0.93rem; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background 0.3s ease, border-color 0.3s ease,
              transform 0.38s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.3s ease;
}
.btn-locate .geo-icon { width: 1.4rem; height: 1.4rem; object-fit: contain; filter: invert(73%) sepia(46%) saturate(481%) hue-rotate(118deg) brightness(101%) contrast(101%); transition: transform 0.3s ease, filter 0.3s ease; }
.btn-locate:hover { background: rgba(96,229,217,0.1); border-color: var(--primary-teal,#60e5d9); transform: translateY(-3px); box-shadow: 0 6px 18px rgba(96,229,217,0.14); }
.btn-locate:hover .geo-icon { transform: scale(1.1); }
.btn-locate.loading { opacity: 0.7; pointer-events: none; }
.btn-locate.success { border-style: solid; border-color: #22c55e; color: #22c55e; background: rgba(34,197,94,0.05); }
.btn-locate.success .geo-icon { transform: scale(1.08); filter: invert(53%) sepia(86%) saturate(403%) hue-rotate(82deg) brightness(93%) contrast(101%); }

.location-status { display: none; align-items: center; gap: 0.5rem; font-size: 0.86rem; color: #22c55e; font-weight: 600; padding: 0.6rem 1rem; background: rgba(34,197,94,0.08); border-radius: 8px; border: 1px solid rgba(34,197,94,0.22); }
.location-status.show { display: flex; }
.location-divider { display: flex; align-items: center; gap: 1rem; color: #4a4a5a; font-size: 0.79rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.location-divider::before, .location-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }

.location-search-wrapper { position: relative; }
.location-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a24;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.location-search-results.show { display: block; }
.location-search-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.location-search-result:hover { background: rgba(96,229,217,0.1); }
.location-search-result:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.05); }
.location-search-result-icon { color: #60e5d9; font-size: 0.9rem; }
.location-search-result-text { flex: 1; }
.location-search-result-title { color: #fff; font-size: 0.9rem; margin-bottom: 0.15rem; }
.location-search-result-sub { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.location-search-loading,
.location-search-error,
.location-search-empty {
  padding: 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

.location-warning {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: #f59e0b;
  font-weight: 600;
  padding: 0.6rem 1rem;
  background: rgba(245,158,11,0.1);
  border-radius: 8px;
  border: 1px solid rgba(245,158,11,0.3);
  margin-top: 0.75rem;
}
.location-warning.show { display: flex; }
.location-warning.high-accuracy { color: #22c55e; background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.22); }
.location-warning.low-accuracy { color: #e53935; background: rgba(229,57,53,0.08); border-color: rgba(229,57,53,0.22); }
.location-warning i { font-size: 0.9rem; }

.location-map-preview {
  display: none;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.location-map-preview.show { display: block; }
#locationMap {
  width: 100%;
  height: 100%;
  background: #0d0d10;
}
#locationMap .leaflet-container { width: 100%; height: 100%; background: #0d0d10; }
#locationMap .leaflet-tile { filter: brightness(0.6) invert(1) saturate(0); }
#locationMap .leaflet-control-zoom { border: none; }
#locationMap .leaflet-control-zoom a { background: #1a1a24; color: #fff; border-color: rgba(255,255,255,0.1); }
#locationMap .leaflet-control-attribution { background: rgba(0,0,0,0.5); color: #9ca3af; font-size: 0.65rem; }

/* ─── Enhancement 6: GPS Quality Indicator Badge ─── */
.gps-quality-badge {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: rgba(26, 26, 36, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s ease;
}
.gps-quality-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.gps-quality-text {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.location-preview {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 8px;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #22c55e;
}
.location-preview.show { display: flex; }
.location-preview i { font-size: 0.9rem; flex-shrink: 0; }
.location-preview span { color: #fff; line-height: 1.3; }
.location-edit-btn {
  margin-left: auto;
  padding: 0.3rem 0.6rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #9ca3af;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.location-edit-btn:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.btn-locate-retry {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 10px;
  color: #f59e0b;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-locate-retry:hover {
  background: rgba(245,158,11,0.2);
  border-color: rgba(245,158,11,0.6);
}

.location-map-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #9ca3af;
  font-size: 0.85rem;
  text-align: center;
}
.location-map-fallback.show { display: flex; }
.location-map-fallback i { font-size: 1.5rem; opacity: 0.6; }

.location-confirm {
  display: none; /* Removed - location confirmation checkbox no longer needed */
  margin-top: 0.75rem;
}
.location-confirm-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.85rem 1rem;
  background: rgba(96,229,217,0.05);
  border: 1px solid rgba(96,229,217,0.2);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.location-confirm-label:hover {
  background: rgba(96,229,217,0.1);
  border-color: rgba(96,229,217,0.4);
}
.location-confirm-label input { display: none; }
.location-confirm-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(96,229,217,0.5);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.location-confirm-checkbox::after {
  content: '✓';
  color: transparent;
  font-size: 0.75rem;
  font-weight: 700;
}
.location-confirm-label input:checked + .location-confirm-checkbox {
  background: #60e5d9;
  border-color: #60e5d9;
}
.location-confirm-label input:checked + .location-confirm-checkbox::after { color: #000; }
.location-confirm-text {
  color: #e8e8ec;
  font-size: 0.9rem;
  font-weight: 500;
}
.location-confirm-label.error {
  background: rgba(229,57,53,0.1);
  border-color: rgba(229,57,53,0.4);
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.location-reassurance {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: rgba(96,229,217,0.08);
  border: 1px solid rgba(96,229,217,0.2);
  border-radius: 8px;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: #60e5d9;
  font-weight: 500;
  line-height: 1.4;
}
.location-reassurance.show { display: flex; }
.location-reassurance i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Submit */
.btn-submit-sos {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  width: 100%; padding: 1.25rem 2rem;
  background: var(--sos-red); color: #fff;
  font-size: 1.08rem; font-weight: 800; border: none; border-radius: 14px;
  cursor: pointer; position: relative; overflow: hidden;
  font-family: inherit; margin-top: 1.5rem; letter-spacing: 0.01em;
  box-shadow: 0 6px 28px var(--sos-red-glow);
  transition: transform 0.38s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.38s ease, background 0.3s ease;
}
.btn-submit-sos img { filter: brightness(0) invert(1); }
.btn-submit-sos::before {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.2) 50%, transparent 65%);
  transform: skewX(-15deg);
  transition: transform 0.55s ease;
}
.btn-submit-sos:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 16px 48px rgba(229,57,53,0.5); background: #c62828; }
.btn-submit-sos:hover::before { transform: skewX(-15deg) translateX(400%); }
.btn-submit-sos:active { transform: translateY(0) scale(1); }
.btn-submit-sos:disabled { opacity: 0.6; pointer-events: none; }
.submit-spinner { margin-left: auto; }

/* Success state */
.form-success-state {
  text-align: center; padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
}
.form-success-state[hidden] { display: none !important; }
.success-icon-wrap {
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(34,197,94,0.14) 0%, rgba(34,197,94,0.04) 100%);
  border: 2px solid rgba(34,197,94,0.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: successPop 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.success-icon-wrap i { font-size: 2.8rem; color: #22c55e; }
@keyframes successPop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.form-success-state h3 { font-size: 1.8rem; font-weight: 800; color: #e8e8ec; }
.form-success-state p { color: #A5A5A5; line-height: 1.7; max-width: 340px; }
.form-success-state p strong { color: #e8e8ec; }
.success-ref { font-size: 0.84rem; color: rgba(229,57,53,0.7); font-family: monospace; letter-spacing: 0.05em; }

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.sos-how {
  padding: 6rem 0;
  background: linear-gradient(180deg, #121219 0%, #1a1012 100%);
}

.sos-how .section-title { color: #e8e8ec; }
.sos-how .section-subtitle { color: #9a9aae; }
.sos-how .how-step h3 { color: #ececf2; }
.sos-how .how-step p { color: #b1b1c2; }
.sos-how .how-step-icon { border-color: rgba(255,255,255,.14); }

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
/* Connector line */
.how-steps-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(10% + 35px);
  right: calc(10% + 35px);
  height: 2px;
  background: linear-gradient(90deg, var(--sos-red), rgba(229,57,53,0.15));
  z-index: 0;
}

.how-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 1rem 2rem;
  position: relative; z-index: 1;
  max-width: 100%;
  box-sizing: border-box;
}
.how-step:hover { transform: translateY(-8px); }

/* Icon — square with rounded corners like home page service icons;
   morphs to circle on hover */
.how-step-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--sos-red), var(--sos-red-dark));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
  box-shadow: 0 6px 22px var(--sos-red-glow);
  border: 3px solid #fff;
  position: relative; z-index: 1;
  transition: transform 0.48s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.38s ease,
              border-radius 0.38s ease;
}
.how-step:hover .how-step-icon {
  transform: rotate(8deg) scale(1.14);
  box-shadow: 0 14px 36px rgba(229,57,53,0.44);
  border-radius: 50%;
}
.how-step-icon i { font-size: 1.7rem; color: #fff; }
.how-step-icon .how-icon { width: 2rem; height: 2rem; object-fit: contain; filter: brightness(0) invert(1); }

.how-step h3 { font-size: 0.98rem; font-weight: 700; color: var(--primary-dark,#062f2d); margin-bottom: 0.5rem; }
.how-step p  { font-size: 0.86rem; color: #6b7280; line-height: 1.7; }

/* Step number — rendered BELOW text, clearly visible */
.how-step-number {
  margin-top: 1rem;
  font-size: 3.2rem;
  font-weight: 900;
  /* Visible red tint — not ghost-level */
  color: rgba(229,57,53,0.18);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  transition: color 0.38s ease, transform 0.38s ease;
}
.how-step:hover .how-step-number {
  color: rgba(229,57,53,0.35);
  transform: scale(1.1);
}

/* ─── ASSURANCE ──────────────────────────────────────────────── */
.sos-assurance {
  padding: 6rem 0;
  background: linear-gradient(180deg, #17131a 0%, #1e1215 100%);
}
.sos-assurance .section-eyebrow { color: var(--sos-red); }
.sos-assurance .section-title { color: #ffffff !important; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; text-align: center; }
.sos-assurance .section-subtitle { color: #a5a5b3; }

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.assurance-card {
  background: #14141c;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.42s cubic-bezier(0.34,1.2,0.64,1),
              box-shadow 0.42s ease,
              border-color 0.3s ease;
}
/* Top accent bar slides in */
.assurance-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sos-red), #ff6b6b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
/* Glossy sheen */
.assurance-card::after {
  content: '';
  position: absolute;
  top: -80%; left: -80%;
  width: 160%; height: 160%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.assurance-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 56px rgba(229,57,53,0.13);
  border-color: rgba(229,57,53,0.28);
}
.assurance-card:hover::before { transform: scaleX(1); }
.assurance-card:hover::after  { opacity: 1; }

.assurance-icon-wrap {
  width: 64px; height: 64px;
  background: var(--sos-red-faint);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1),
              background 0.35s ease,
              border-radius 0.35s ease;
}
.assurance-icon-wrap i { font-size: 1.75rem; color: var(--sos-red); transition: color 0.3s ease; }
.assurance-icon-wrap .assurance-icon { width: 2rem; height: 2rem; object-fit: contain; filter: invert(12%) sepia(98%) saturate(6943%) hue-rotate(354deg) brightness(93%) contrast(103%); }
.assurance-card:hover .assurance-icon-wrap {
  transform: rotate(10deg) scale(1.12);
  background: var(--sos-red);
  border-radius: 50%;
}
.assurance-card:hover .assurance-icon-wrap i { color: #fff; }
.assurance-card:hover .assurance-icon-wrap .assurance-icon { filter: brightness(0) invert(1); }

.assurance-card { text-align: center; }
.assurance-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary-dark,#062f2d); margin-bottom: 0.8rem; }
.assurance-card h3 { color: #ececf2; }
.assurance-card p  { font-size: 0.9rem; color: #b5b5c4; line-height: 1.7; margin-bottom: 1.5rem; }

/* Metric row — numbers and labels vertically centred and aligned */
.assurance-metric {
  display: flex;
  align-items: center;       /* vertical centre */
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.09);
}
.metric-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--sos-red);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.metric-label {
  font-size: 0.75rem;
  color: #9d9daf;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

/* ─── CTA STRIP ──────────────────────────────────────────────── */
.sos-cta-strip {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      90deg,
      #081414 0%,
      #111111 40%,
      #220909 70%,
      #350b0b 100%
  );
}
.sos-cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
      radial-gradient(
          circle at 100% 50%,
          rgba(255, 45, 45, .45),
          transparent 60%
      ),
      radial-gradient(
          circle at 0% 50%,
          rgba(0, 125, 105, .25),
          transparent 60%
      );
  filter: blur(60px);
}
.cta-strip-center-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-height: 100%;
  width: auto;
  pointer-events: none;
  opacity: 0.35;
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
}
.cta-strip-inner {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  text-align: left; gap: 2rem; position: relative; z-index: 2;
  max-width: 100%; box-sizing: border-box;
}
.cta-strip-text { flex: 1 1 auto; min-width: 0; }
.cta-strip-text h2,
.cta-strip-text p { overflow-wrap: normal; word-break: normal; }
.cta-strip-text h2 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.cta-strip-text p  { font-size: 1rem; color: rgba(255,255,255,0.68); }
.cta-strip-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }

/* ─── Section titles ─────────────────────────────────────────── */
.section-title-wrapper { text-align: center; }
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; color: var(--primary-dark,#062f2d);
  margin-bottom: 1rem; letter-spacing: -0.02em; text-align: center;
}
.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem); color: #6b7280;
  max-width: 580px; margin: 0 auto 3rem; line-height: 1.75; text-align: center;
}

/* ─── Shared animation ───────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Reveal system ──────────────────────────────────────────── */
.reveal-ready {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal-ready.revealed { opacity: 1; transform: translateY(0) scale(1); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  html { margin: 0; }
  body { margin: 0 !important; padding: 0 !important; }
  .assurance-grid    { grid-template-columns: repeat(2,1fr); }
  .how-steps-grid    { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .how-steps-grid::before { display: none; }
  .cta-strip-center-img {
    max-height: 110%;
    opacity: 0.3;
    mask-image: linear-gradient(to right, transparent 0%, black 22%, black 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%, black 78%, transparent 100%);
  }

  .sos-hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sos-form-section { overflow-x: hidden; }
  .sos-form-layout  {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .sos-form-card {
    padding: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .sos-form-context { margin-bottom: 0; }
  .sos-hero-actions  { flex-direction: column; align-items: center; width: 100% !important; max-width: 100% !important; gap: 0.75rem; }
  .sos-hero-actions a,
  .sos-hero-actions .btn-sos-primary,
  .sos-hero-actions .btn-sos-secondary { width: 100% !important; max-width: 340px !important; justify-content: center; }
}
@media (max-width: 768px) {
  html { margin: 0; }
  body { margin: 0 !important; padding: 0 !important; overflow-x: hidden !important; width: 100% !important; box-sizing: border-box; }
  * { box-sizing: border-box; overflow-wrap: break-word; }
  .login-btn-mobile { box-sizing: content-box; }
  .section-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }
  .sos-form-section, .sos-form-card, .sos-form-layout { max-width: 100% !important; width: 100% !important; overflow-x: hidden !important; }
  #sos-hero, #sos-form, #how-it-works, #safety, .sos-cta-strip {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .sos-hero { min-height: auto; padding: 2rem 0; width: 100% !important; max-width: 100% !important; }
  .sos-hero-content { padding: 0 1rem; width: 100% !important; max-width: 100% !important; }
  .sos-hero-badge {
    font-size: 0.75rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .sos-hero-title { font-size: clamp(2rem, 6vw, 2.8rem); }
  .sos-hero-desc { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .sos-hero-stats { margin-bottom: 1.5rem; }
  .hero-stat-value   { font-size: 1.55rem; }
  .sos-hero-actions  { flex-direction: column; align-items: center; width: 100% !important; max-width: 100% !important; gap: 0.75rem; }
  .sos-hero-actions a,
  .sos-hero-actions .btn-sos-primary,
  .sos-hero-actions .btn-sos-secondary { width: 100% !important; max-width: 320px !important; justify-content: center; font-size: 0.95rem !important; }
  .sos-form-layout   { grid-template-columns: 1fr !important; gap: 2rem !important; width: 100% !important; max-width: 100% !important; }
  .sos-form-context  { position: static; margin-bottom: 0; }
  .sos-form-card     { padding: 1.5rem; width: 100% !important; max-width: 100% !important; margin: 0 auto; }
  .form-row          { grid-template-columns: 1fr; }
  .sos-condition-grid { gap: 0.5rem; }
  .sos-condition-btn { padding: 0.7rem 0.75rem; font-size: 0.82rem; }
  .sos-vehicle-form { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .sos-media-upload-box { width: 100px; height: 100px; }
  .svc-media-thumb { width: 100px; height: 100px; border-radius: 14px; }
  .sos-textarea { min-height: 80px; }
  .sos-form-heading { font-size: 1.15rem; margin-bottom: 0.75rem; }
  .sos-step-heading-row { margin-bottom: 1rem; }
  .sos-step-heading-row .sos-back-btn { width: 34px; height: 34px; }
  .sos-review-card-row { gap: 0.75rem; }
  .sos-review-label { font-size: 0.75rem; }
  .sos-review-value { font-size: 0.82rem; }
  .how-steps-grid    { grid-template-columns: 1fr; gap: 2rem; width: 100% !important; max-width: 100% !important; }
  .assurance-grid    { grid-template-columns: 1fr; width: 100% !important; max-width: 100% !important; }
  .sos-cta-strip { padding: 3rem 0; }
  .cta-strip-inner { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
  .cta-strip-text { width: 100%; }
  .cta-strip-text h2 { font-size: clamp(1.2rem, 4vw, 1.6rem); margin-bottom: 0.4rem; }
  .cta-strip-text p { font-size: 0.95rem; }
  .cta-strip-actions { justify-content: center; gap: 0.75rem; }
  .sos-stripe        { width: 40px; }
  .sos-login-promo { flex-direction: column; text-align: center; gap: 0.5rem; }
  .sos-login-promo-text { text-align: center; }
  .sos-my-vehicles-standalone { top: 0.75rem; right: 0.75rem; }
  .sos-step-card { flex-wrap: wrap; gap: 0.5rem; padding: 0.85rem 1rem; }
  .sos-step-card-desc { margin-left: 0; text-align: left; max-width: 100%; flex-basis: 100%; order: 3; }
  .sos-step-card-text { order: 2; flex: 1; }
  .sos-step-card-icon { order: 1; width: 48px; height: 48px; }
}
@media (max-width: 480px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .section-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }
  .sos-hero {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem 0 !important;
  }
  .sos-hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
  .sos-hero-title  { font-size: clamp(2.1rem, 8vw, 3rem); }
  .sos-hero-stats { flex-direction: column; width: 100%; max-width: 200px; margin-left: auto; margin-right: auto; }
  .hero-stat-divider { width: 60px; height: 1px; margin: 0 auto; }
  .hero-stat       { padding: 0.6rem 1rem; }
  .sos-form-section { padding: 3rem 0; width: 100% !important; max-width: 100% !important; }
  .sos-form-card   { padding: 1.25rem; border-radius: 16px; width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
  .condition-card  { padding: 0.4rem 0.15rem; min-width: 0; }
  .form-group      { margin-bottom: 1rem; width: 100%; }
  .form-group label { font-size: 0.75rem; }
  .form-group input,
  .form-group textarea { padding: 0.65rem 0.85rem; font-size: 0.9rem; width: 100% !important; box-sizing: border-box; }
  .sos-condition-grid { gap: 0.4rem; }
  .sos-condition-btn { padding: 0.6rem 0.6rem; font-size: 0.78rem; gap: 0.4rem; }
  .sos-condition-btn img { width: 20px; height: 20px; }
  .sos-condition-btn--sm img { width: 18px; height: 18px; }
  .sos-condition-btn--lg img { width: 26px; height: 26px; }
  .sos-condition-btn--xl img { width: 28px; height: 28px; }
  .sos-vehicle-form { grid-template-columns: 1fr; gap: 0.75rem; }
  .sos-field-input { padding: 0.65rem 0.85rem; font-size: 0.85rem; }
  .sos-media-upload-box { width: 80px; height: 80px; border-radius: 12px; }
  .sos-media-upload-box i { font-size: 1.4rem; }
  .svc-media-thumb { width: 80px; height: 80px; border-radius: 12px; }
  .sos-media-hint { font-size: 0.78rem; }
  .sos-textarea { min-height: 70px; font-size: 0.85rem; }
  .sos-char-counter { font-size: 0.72rem; }
  .sos-form-heading { font-size: 1.05rem; margin-bottom: 0.65rem; }
  .sos-step-heading-row { margin-bottom: 0.85rem; }
  .sos-step-heading-row .sos-back-btn { width: 32px; height: 32px; font-size: 0.85rem; }
  .sos-review-card { padding: 0.7rem 0.85rem; }
  .sos-review-card-row { gap: 0.5rem; padding: 0.25rem 0; }
  .sos-review-label { font-size: 0.72rem; }
  .sos-review-value { font-size: 0.78rem; }
  .sos-phone-prefix { font-size: 0.82rem; padding: 0 0.5rem 0 0.75rem; }
  .sos-contact-fields .sos-field-label { font-size: 0.8rem; }
  .sos-submit-btn { padding: 0.85rem 1rem; font-size: 0.9rem; }
  .sos-continue-btn { padding: 0.85rem 1rem; font-size: 0.9rem; }
  .sos-help-title { font-size: 1.25rem; }
  .sos-help-subtitle { font-size: 0.85rem; margin-bottom: 1.1rem; }
  .sos-how        { padding: 3rem 0; width: 100% !important; max-width: 100% !important; }
  .sos-assurance { padding: 3rem 0; width: 100% !important; max-width: 100% !important; }
  .sos-cta-strip { padding: 1.8rem 0; width: 100% !important; max-width: 100% !important; }
  .sos-cta-strip::after { display: none; }
  .cta-strip-inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
  .cta-strip-text { width: 100%; }
  .cta-strip-text h2 { font-size: 1.25rem; margin-bottom: 0.3rem; }
  .cta-strip-text p { font-size: 0.85rem; }
  .cta-strip-actions { justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
  .cta-strip-actions .btn-sos-primary { order: 1; }
  .cta-strip-actions .btn-sos-outline { order: 0; }
  .sos-stripe   { display: none; }
  .sos-hero-actions { width: 100% !important; max-width: 100% !important; display: flex !important; flex-direction: column; gap: 0.75rem; }
  .sos-hero-actions a,
  .sos-hero-actions .btn-sos-primary,
  .sos-hero-actions .btn-sos-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1rem 1rem !important;
    font-size: 0.9rem !important;
  }
  .sos-hero-actions .btn-sos-primary span,
  .sos-hero-actions .btn-sos-secondary span {
    white-space: normal !important;
    text-align: center;
  }
  .how-step { width: 100% !important; max-width: 100% !important; }
  .how-step-icon { width: 3.5rem; height: 3.5rem; }
  .how-steps-grid { width: 100% !important; max-width: 100% !important; }
  .assurance-grid { width: 100% !important; max-width: 100% !important; }
  .sos-hero-hotline-inline {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .sos-hero-hotline-inline .sos-hotline-card {
    width: 100% !important;
    padding: 1rem !important;
  }
  .sos-hero-hotline-inline .hotline-number {
    font-size: 1.6rem !important;
  }

  /* Step 2: text under title */
  .sos-step-card { flex-wrap: wrap; gap: 0.5rem; padding: 0.85rem 1rem; }
  .sos-step-card-desc { margin-left: 0; text-align: left; max-width: 100%; flex-basis: 100%; order: 3; }
  .sos-step-card-text { order: 2; flex: 1; }
  .sos-step-card-icon { order: 1; width: 48px; height: 48px; }

  /* Step 3: icon below text, larger icon */
  .sos-condition-btn { flex-direction: column; gap: 0.3rem; padding: 0.6rem 0.5rem; font-size: 0.72rem; }
  .sos-condition-btn img { width: 28px; height: 28px; }
  .sos-condition-btn--sm img { width: 22px; height: 22px; }
  .sos-condition-btn--lg img { width: 30px; height: 30px; }
  .sos-condition-btn--xl img { width: 32px; height: 32px; }
  .sos-condition-btn span { white-space: normal; text-align: center; line-height: 1.2; }

  /* Media preview: upload box first row, thumbnails fill 2-col grid below */
  .sos-media-row { display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem; align-items: start; }
  .sos-media-upload-box { width: 70px; height: 70px; }
  .svc-media-thumb { width: 70px; height: 70px; border-radius: 10px; }
  .sos-media-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; grid-column: 1 / -1; }
  .sos-media-preview .svc-media-thumb:nth-child(1) { grid-column: 2; }
}

/* Image viewer modal: fix top hiding under navbar */
.sos-img-viewer-overlay.active {
  padding-top: 60px;
}


/* ─── Accessibility ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
  .sos-hero-video { opacity: 0.8 !important; animation: none !important; }
}

/* ─── Toast for SOS ─────────────────────────────────────────── */
.sos-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #1a1a24;
  border: 1px solid rgba(96, 229, 217, 0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 0.85rem;
  z-index: 10000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.sos-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.sos-toast i {
  color: #60e5d9;
}

/* ─── My Vehicles Modal for SOS ─────────────────────────── */
.vehicle-modal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.vehicle-modal.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.vehicle-modal-content {
  background: #1a1a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 520px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.vehicle-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vehicle-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vehicle-modal-header h3 img,
.vehicle-modal-header h3 svg {
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.btn-close-modal {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.btn-close-modal:hover {
  background: rgba(217, 79, 79, 0.12);
  border-color: rgba(217, 79, 79, 0.3);
  color: #d94f4f;
  transform: rotate(90deg);
}
.vehicle-modal-body {
  padding: 12px 16px 16px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 400px;
}
.vehicle-modal-body::-webkit-scrollbar {
  width: 5px;
}
.vehicle-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.vehicle-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

/* Vehicle card */
.vehicle-modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.28s ease,
              box-shadow 0.28s ease,
              transform 0.28s ease;
  overflow: hidden;
}
.vehicle-modal-card:hover {
  border-color: rgba(96, 229, 217, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.vehicle-modal-card:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Card image zone */
.vehicle-modal-card-img {
  width: 100%;
  min-height: 140px;
  max-height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
}
.vehicle-modal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.vehicle-modal-card-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
}

/* Card details zone */
.vehicle-modal-card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 18px 20px;
  min-height: 70px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.28s ease;
  box-sizing: border-box;
}
.vehicle-modal-card:hover .vehicle-modal-card-details {
  background: rgba(96, 229, 217, 0.06);
}
.vehicle-modal-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vehicle-modal-card-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── SOS Media Source Modal ──────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 60px 1rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: var(--sos-surface);
  border: 1px solid var(--sos-border);
  border-radius: 16px;
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: sosModalSlideIn 0.3s ease;
  z-index: 100000;
}
@keyframes sosModalSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.25rem;
  line-height: 1;
}
.btn-close-modal:hover {
  color: #fff;
}

/* Media Source Modal */
.svc-media-modal__content {
  max-width: 420px;
  padding: 1.5rem 1.5rem 1.75rem;
}
.svc-media-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 0 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--sos-border);
}
.svc-media-modal .modal-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sos-red), transparent);
  opacity: 0.5;
}
.svc-media-modal .modal-header h3 {
  font-family: 'Technor', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.svc-media-modal .btn-close-modal {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--sos-border);
  color: rgba(255,255,255,0.5);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.22s ease;
}
.svc-media-modal .btn-close-modal:hover {
  color: var(--sos-red);
  border-color: var(--sos-red);
}
.svc-media-modal__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.svc-media-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.6rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--sos-border);
  border-radius: 12px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.svc-media-opt:hover {
  border-color: var(--sos-red);
  color: #fff;
  background: rgba(229, 57, 53, 0.06);
  transform: translateY(-3px);
}
.svc-media-opt__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-media-opt__icon svg {
  width: 30px;
  height: 30px;
}
.svc-media-opt__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 380px) {
  .svc-media-modal__options {
    grid-template-columns: 1fr;
  }
  .sos-condition-grid { grid-template-columns: 1fr; gap: 0.35rem; }
  .sos-condition-btn { padding: 0.55rem 0.5rem; font-size: 0.75rem; }
  .sos-form-card { padding: 1rem; }
  .sos-media-upload-box { width: 70px; height: 70px; }
  .svc-media-thumb { width: 70px; height: 70px; border-radius: 10px; }
  .sos-help-icon-circle { width: 60px; height: 60px; }
  .sos-help-icon-circle img { width: 28px; height: 28px; }
}
body.modal-active {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════
   STEP 6: REVIEW & SUBMIT
══════════════════════════════════════════════ */
.sos-review-summary {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  margin-bottom: 1.25rem;
}
.sos-review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.sos-review-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.3rem 0;
}
.sos-review-card-row + .sos-review-card-row {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 0.3rem;
  padding-top: 0.55rem;
}
.sos-review-label {
  font-family: 'Supreme', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.sos-review-value {
  font-family: 'Supreme', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
  word-break: break-word;
}

/* Contact heading */
.sos-contact-heading {
  font-family: 'Technor', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.85rem 0;
  text-align: center;
  letter-spacing: 0.01em;
}

/* Contact fields */
.sos-contact-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  margin-bottom: 1.25rem;
}

/* Phone input with +971 prefix */
.sos-phone-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.sos-phone-input-wrap:focus-within {
  border-color: rgba(229, 57, 53, 0.5);
}
.sos-phone-prefix {
  font-family: 'Supreme', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  padding: 0 0.65rem 0 1rem;
  white-space: nowrap;
  user-select: none;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.sos-phone-input {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Media upload section */
.sos-media-section {
  width: 100%;
  margin-bottom: 1.25rem;
}
.sos-media-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 12px;
  color: rgba(255,255,255,0.5);
  font-family: 'Supreme', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.sos-media-add:hover {
  background: rgba(229, 57, 53, 0.06);
  border-color: rgba(229, 57, 53, 0.3);
  color: rgba(255,255,255,0.8);
}
.sos-media-add i {
  font-size: 1rem;
}
.sos-media-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.sos-media-thumb {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.sos-media-thumb img,
.sos-media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sos-media-thumb__remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
  line-height: 1;
}
.sos-media-thumb__remove:hover {
  background: var(--sos-red);
}

/* Submit button */
.sos-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
}
.sos-submit-spinner {
  margin-left: 0.3rem;
  font-size: 0.9rem;
}

/* Field error states for Step 6 */
.sos-contact-fields .sos-field-input.input-error {
  border-color: var(--sos-red);
}
.sos-phone-input-wrap.input-error {
  border-color: var(--sos-red);
}
.sos-contact-fields .sos-field-error {
  color: var(--sos-red);
  font-size: 0.78rem;
  margin-top: 0.2rem;
  font-family: 'Supreme', sans-serif;
}

/* Step 7: Additional notes textarea */
.sos-textarea {
  resize: none;
  min-height: 100px;
}
.sos-char-counter {
  text-align: right;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
  font-family: 'Supreme', sans-serif;
}
.sos-char-counter.sos-char-limit {
  color: var(--sos-red);
}

/* Step 7: Media upload box */
.sos-media-hint {
  text-align: left;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  margin: -0.2rem 0 1rem;
  font-family: 'Supreme', sans-serif;
}
.sos-media-upload-box {
  width: 120px;
  height: 120px;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}
.sos-media-upload-box:hover {
  border-color: var(--sos-red);
  background: rgba(229, 57, 53, 0.05);
}
.sos-media-upload-box i {
  font-size: 1.75rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.25s ease;
}
.sos-media-upload-box:hover i {
  color: var(--sos-red);
}
.svc-media-thumb {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  border: none;
  overflow: hidden;
  position: relative;
}
.svc-media-thumb img,
.svc-media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-media-thumb__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.svc-media-thumb__remove:hover {
  background: rgba(229, 57, 53, 0.85);
}
.sos-media-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.6rem;
}

/* Review link (View Images) */
.sos-review-link {
  color: var(--sos-red);
  font-family: 'Supreme', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.sos-review-link:hover {
  opacity: 0.8;
}

/* Damage Images Viewer Modal */
.sos-img-viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.sos-img-viewer-overlay.active {
  display: flex;
}
.sos-img-viewer {
  background: #1a1a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sos-img-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sos-img-viewer-title {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  font-family: 'Supreme', sans-serif;
}
.sos-img-viewer-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 6px;
}
.sos-img-viewer-close:hover {
  background: rgba(255, 255, 255, 0.08);
}
.sos-img-viewer-body {
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.sos-img-viewer-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
}
.sos-img-viewer-item img,
.sos-img-viewer-item video {
  display: block;
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

