:root {
  --navy: #0a2b52;
  --blue: #2f9df5;
  --mint: #7ae7c7;
  --accent: #f5c34d;
  --bg: #f7f8fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #5b6b7a;
  --border: #e4e8f0;
  --shadow: 0 10px 40px rgba(10, 43, 82, 0.12);
  --radius: 16px;
}

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

.hidden {
  display: none !important;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
}

.brand-text {
  letter-spacing: 0.5px;
  font-size: 18px;
  font-weight: 700;
}

.logo {
  width: 160px;
  height: auto;
}

.logo.small {
  width: 90px;
}

.nav {
  display: flex;
  gap: 22px;
  font-weight: 500;
}

.nav a {
  color: #e3edff;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: grid;
  gap: 6px;
  z-index: 15;
}

.dropdown-menu a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  transition: background 0.12s ease, color 0.12s ease;
}

.dropdown-menu a:hover {
  background: rgba(47, 157, 245, 0.12);
  color: var(--navy);
}

.menu-toggle-bars:hover {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}

.top-bar .icon-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.top-bar .icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), #126bcf);
  color: #fff;
  box-shadow: 0 10px 30px rgba(47, 157, 245, 0.3);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(47, 157, 245, 0.35);
}

.btn.ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(10, 43, 82, 0.08);
}

.top-bar .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.top-bar .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.menu-btn {
  padding: 10px 12px;
  height: 38px;
}

.menu-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-bars span {
  display: block;
  height: 3px;
  width: 24px;
  background: #fff;
  border-radius: 999px;
  margin: 0 auto;
}

.btn.dark {
  background: #0a0f1c;
  color: #fff;
  border-color: #0a0f1c;
}

.btn.ghost-light {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 28px 5vw 24px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin: 8px 0 12px;
}

.lead {
  color: var(--muted);
  max-width: 620px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47, 157, 245, 0.12);
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.highlights {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.highlights li::before {
  content: '•';
  color: var(--blue);
  margin-right: 8px;
  font-weight: 700;
}

.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 14px;
}

.need-car-btn {
  align-self: flex-start;
  margin-top: 0;
  margin-bottom: 0;
  display: inline-flex;
  gap: 8px;
  padding: 12px 18px;
  font-size: 16px;
  background: linear-gradient(135deg, var(--blue), #126bcf);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(47, 157, 245, 0.3);
}

.need-car-btn:hover {
  background: #1f8ae0;
  border-color: #1f8ae0;
  transform: translateY(-1px);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.contact-card strong {
  color: var(--navy);
  display: block;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.hero-form {
  width: min(440px, 100%);
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  width: 100%;
}

.form-card h3 {
  margin: 6px 0 6px;
  font-size: 24px;
}

.form-subtext {
  color: var(--muted);
  margin: 0 0 14px;
}

.driver-form {
  display: grid;
  gap: 10px;
}

.driver-form label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.driver-form input,
.driver-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.driver-form input:focus,
.driver-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 157, 245, 0.15);
  background: #fff;
}

.driver-form .btn {
  width: 100%;
  margin-top: 4px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-divider {
  margin: 12px 0 6px;
  font-weight: 700;
  color: var(--navy);
}

.upload-label {
  font-weight: 600;
  margin-top: 8px;
}

.form-hint {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}

.form-hint.warning {
  color: #b71c1c !important;
  font-size: 14px;
  font-weight: 700;
}

.form-status {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--navy);
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  color: #0f9d58;
}

.form-status.error {
  color: #c0392b;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  margin: 10px 0;
  font-size: 14px;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.toggle-switch input {
  display: none;
}

.toggle-switch .slider {
  position: relative;
  width: 46px;
  height: 24px;
  background: #dfe7f2;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.toggle-switch .slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.toggle-switch input:checked + .slider {
  background: linear-gradient(135deg, var(--blue), #126bcf);
}

.toggle-switch input:checked + .slider::after {
  transform: translateX(22px);
}

.toggle-switch .toggle-label {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.link-btn:hover {
  text-decoration: underline;
}

.toggle-group {
  display: flex;
  gap: 8px;
  margin: 6px 0 4px;
  flex-wrap: wrap;
}

.option-segment {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.option-btn {
  border: 1px solid var(--border);
  background: #f7f9fc;
  color: var(--text);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 190px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.option-btn.active {
  background: linear-gradient(135deg, var(--blue), #126bcf);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(47, 157, 245, 0.35);
}

.pill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f7f9fc;
  cursor: pointer;
  font-weight: 600;
  width: fit-content;
}

.pill-toggle.compact {
  padding: 4px 8px;
  gap: 4px;
  font-size: 14px;
  border-radius: 12px;
}

.pill-toggle input {
  margin: 0;
}

.pill-toggle.large {
  padding: 12px 16px;
  font-size: 16px;
  min-width: 190px;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.toggle-segment {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pill-toggle:hover {
  border-color: var(--blue);
}

.help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.help-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7f9fc;
  color: var(--navy);
  font-weight: 600;
}

.help-link:hover {
  border-color: var(--blue);
  color: var(--navy);
}

.help-icon {
  font-size: 16px;
}

.missing-list {
  margin: 6px 0 10px;
  padding-left: 16px;
}

.warning {
  color: #b71c1c;
  font-weight: 700;
  font-size: 14px;
}

.consent-strong {
  color: #b71c1c;
  font-weight: 700;
  font-size: 16px;
}

.file-actions {
  margin: 4px 0 12px;
}

.clear-file {
  background: none;
  border: none;
  color: #2f9df5;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  display: none;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
}

.clear-file.visible {
  display: inline-flex;
}

.clear-file:hover {
  color: #0f6dc2;
}

.floating-apply {
  position: fixed;
  bottom: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--blue), #126bcf);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(47, 157, 245, 0.35);
  font-weight: 700;
  text-decoration: none;
  display: none;
  z-index: 40;
}

.social-floating {
  position: fixed;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 10px;
  z-index: 40;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0a2b52;
  box-shadow: 0 10px 22px rgba(10, 43, 82, 0.24);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.social-btn img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.social-btn:hover {
  transform: translateY(-2px);
  background: #104078;
  box-shadow: 0 12px 26px rgba(10, 43, 82, 0.28);
}

.comment-row textarea#doc-comment {
  width: 100%;
  min-height: 80px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  resize: vertical;
}
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  background: #0f9d58;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.toast.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.toast-text {
  font-weight: 600;
}

.phone-card {
  background: #fff;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 420px;
}

.phone-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(47, 157, 245, 0.12), rgba(10, 43, 82, 0.08));
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.stat-value {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

.badge {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
}

.section {
  padding: 72px 5vw;
}

.section.muted {
  background: #eef2f8;
}

.section.accent {
  background: linear-gradient(135deg, rgba(47, 157, 245, 0.1), rgba(122, 231, 199, 0.12));
}

.section-header {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-header h2 {
  margin: 8px 0;
  font-size: clamp(28px, 3.4vw, 40px);
}

.section-header .subhead {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
}

.eyebrow.light {
  color: #e8f3ff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 12px 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.icon-circle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(47, 157, 245, 0.12);
  font-size: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.wide-visual {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.apply-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  align-items: center;
  background: #0a2b52;
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 26px;
  box-shadow: var(--shadow);
}

.apply-card h2 {
  margin: 8px 0 12px;
}

.apply-card p {
  margin: 0 0 14px;
  color: #dce6f5;
}

.apply-visual img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.doc-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.doc-card .subhead {
  color: var(--muted);
}

.doc-list {
  display: grid;
  gap: 10px;
}

.doc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7f9fc;
}

.doc-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(47, 157, 245, 0.12);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 840px;
  margin: 0 auto;
}

.support-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.support-card a {
  color: var(--navy);
  font-weight: 700;
}

.footer {
  padding: 24px 5vw 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--navy);
  color: #f3f6fb;
}

.language-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 52, 0.75);
  display: grid;
  place-items: center;
  z-index: 20;
  padding: 20px;
}

.language-overlay.hidden {
  display: none;
}

.language-modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 22px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.language-modal h2 {
  margin: 6px 0 10px;
}

.language-modal .subtext {
  color: var(--muted);
  margin: 0 0 14px;
}

.language-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 52, 0.75);
  display: grid;
  place-items: center;
  z-index: 20;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 22px 18px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: #eff3f8;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  color: var(--navy);
}

.contact-options {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f7f9fc;
  color: var(--text);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.contact-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.contact-option .icon {
  font-size: 20px;
}

@media (max-width: 960px) {
  .top-bar {
    position: sticky;
  }

  .nav {
    display: none;
  }

  #contact-btn,
  #lang-toggle {
    display: inline-flex;
  }

  .header-actions .btn.primary {
    display: none;
  }

  .floating-apply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .hero {
    padding-top: 56px;
  }

}

@media (max-width: 600px) {
  .top-bar {
    gap: 12px;
  }

  .brand-text {
    display: none;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
