:root {
  --brand-black: #171717;
  --brand-dark: #222225;
  --brand-surface: #2a2a2d;
  --brand-surface-2: #323236;
  --brand-border: rgba(255, 255, 255, 0.1);
  --brand-orange: #ff7b1a;
  --brand-orange-light: #ff9a4d;
  --brand-orange-dark: #e66b12;
  --brand-text: #f6f6f7;
  --brand-muted: #a1a1aa;
  --brand-success: #22c55e;
  --brand-error: #ef4444;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-orange: 0 10px 40px rgba(255, 123, 26, 0.25);
  --container: 1200px;
  --header-h: 120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--brand-black);
  color: var(--brand-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section-tight {
  padding: 60px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-tight {
    padding: 40px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: 100%;
    padding-inline: 22px;
  }
  h1 {
    font-size: clamp(2rem, 5.5vw, 4.2rem);
  }
  h2 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
  }
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-orange);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand-orange);
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  color: var(--brand-muted);
  font-size: 1.15rem;
  max-width: 640px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--brand-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(255, 107, 0, 0.35);
}

.btn-secondary {
  background: var(--brand-surface);
  color: var(--brand-text);
  border: 1px solid var(--brand-border);
}

.btn-secondary:hover {
  background: var(--brand-surface-2);
  border-color: var(--brand-orange);
}

.btn-ghost {
  color: var(--brand-orange);
  padding: 12px 0;
}

.btn-ghost:hover {
  color: var(--brand-orange-light);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brand-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo img {
  height: 90px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--brand-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-text);
}

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

.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  font-weight: 600;
  color: var(--brand-text);
  transition: all 0.2s;
}

.phone-pill:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-btn span,
.menu-btn::before,
.menu-btn::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-text);
  transition: all 0.3s;
}

.mobile-panel {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--brand-dark);
  border-bottom: 1px solid var(--brand-border);
  padding: 20px;
  flex-direction: column;
  gap: 4px;
}

.mobile-panel a {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-panel a:hover {
  background: var(--brand-surface);
}

@media (max-width: 1024px) {
  :root {
    --header-h: 100px;
  }
  .nav,
  .header-actions .phone-pill,
  .header-actions .btn-secondary {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .mobile-panel.is-open {
    display: flex;
  }
  .logo img {
    height: 70px;
  }
}

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

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

.hero-title {
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.2rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  font-size: 0.9rem;
}

.trust-chip b {
  color: var(--brand-orange);
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 50%);
}

.floating-card {
  position: absolute;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.hero-float-1 {
  bottom: 30px;
  left: -30px;
  max-width: 220px;
}

.hero-float-2 {
  top: 40px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float-2 .lightning {
  font-size: 1.6rem;
  color: var(--brand-orange);
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image-wrap img {
    height: 380px;
  }
  .hero-float-1,
  .hero-float-2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-image-wrap img {
    height: 300px;
  }
}

/* Contact rail */
.contact-rail {
  background: var(--brand-surface);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  padding: 18px 0;
}

.contact-rail .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-rail p {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.contact-rail-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-rail-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--brand-surface-2);
  border: 1px solid var(--brand-border);
  transition: all 0.2s;
}

.contact-rail-links a:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

/* Form */
.form-section {
  background: var(--brand-dark);
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-orange), transparent);
}

.form-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
}

.form-side h2 {
  margin-bottom: 16px;
}

.form-side .lead {
  margin-bottom: 28px;
}

.side-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.side-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.side-point i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 0, 0.12);
  color: var(--brand-orange);
  border-radius: 50%;
  font-style: normal;
  flex-shrink: 0;
}

.form-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.form-head h2 {
  margin-bottom: 6px;
}

.form-badge {
  background: rgba(255, 107, 0, 0.12);
  color: var(--brand-orange);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.progress {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.progress i {
  flex: 1;
  height: 4px;
  background: var(--brand-surface-2);
  border-radius: 2px;
  transition: background 0.3s;
}

.progress i.is-active {
  background: var(--brand-orange);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

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

.field label,
.fieldset-legend {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-muted);
}

.field label em,
.fieldset-legend em {
  color: var(--brand-orange);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  background: var(--brand-dark);
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--brand-text);
  font-size: 0.95rem;
  transition: all 0.2s;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7280;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field select option {
  background: var(--brand-dark);
  color: var(--brand-text);
}

.condition-picker {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 20px 0;
}

.condition-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.condition-options label {
  cursor: pointer;
}

.condition-options input {
  position: absolute;
  opacity: 0;
}

.condition-options span {
  display: block;
  padding: 10px 18px;
  background: var(--brand-dark);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.condition-options input:checked + span {
  background: rgba(255, 107, 0, 0.15);
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.upload {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 2px dashed var(--brand-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.upload:hover {
  border-color: var(--brand-orange);
  background: rgba(255, 107, 0, 0.05);
}

.upload input {
  display: none;
}

.upload-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--brand-dark);
  border-radius: 50%;
  color: var(--brand-orange);
  font-size: 1.3rem;
}

.upload-text {
  flex: 1;
}

.upload-text b {
  display: block;
  color: var(--brand-text);
}

.upload-text small {
  color: var(--brand-muted);
}

.photo-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.photo-preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--brand-border);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}

.form-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.form-actions .btn {
  flex: 1;
}

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: var(--brand-success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: var(--brand-error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 768px) {
  .form-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-side {
    text-align: center;
  }
  .form-side .lead,
  .side-points {
    margin-inline: auto;
  }
  .side-points {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .form-card {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 360px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Vehicle cards */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head .eyebrow::before {
  display: none;
}

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

.vehicle-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.vehicle-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.vehicle-card.featured {
  grid-column: span 2;
}

.vehicle-card.featured img {
  height: 320px;
}

.vehicle-card-content {
  padding: 22px;
}

.vehicle-card-content span {
  color: var(--brand-orange);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vehicle-card-content h3 {
  margin: 8px 0 10px;
}

.vehicle-card-content p {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.vehicle-card-content a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--brand-orange);
  font-weight: 600;
}

@media (max-width: 768px) {
  .vehicle-card.featured {
    grid-column: span 1;
  }
  .vehicle-card.featured img {
    height: 240px;
  }
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 0, 0.12);
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

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

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

.process-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.process-card .step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255, 107, 0, 0.15);
}

.process-card .step-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.process-card h3 {
  margin-bottom: 8px;
}

.process-card p {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

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

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

/* Price logic */
.price-section {
  background: var(--brand-surface);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}

.price-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.price-list {
  display: grid;
  gap: 20px;
}

.price-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: var(--brand-dark);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
}

.price-item i {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.price-item h3 {
  margin-bottom: 6px;
}

.price-item p {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .price-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Engine banner */
.engine-banner {
  background: linear-gradient(135deg, rgba(255,107,0,0.08) 0%, transparent 60%);
}

.engine-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.engine-content {
  max-width: 520px;
}

.engine-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.engine-badges span {
  padding: 12px 22px;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  font-weight: 600;
}

.engine-badges span.highlight {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}

.article-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
}

.article-kicker {
  color: var(--brand-orange);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.article-card h3 {
  margin: 12px 0 10px;
}

.article-card p {
  color: var(--brand-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

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

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

.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: var(--brand-text);
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--brand-dark);
  border-radius: 50%;
  color: var(--brand-orange);
  transition: transform 0.3s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.faq-a p {
  padding: 0 24px 20px;
  color: var(--brand-muted);
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section .lead {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn-secondary {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cta-actions .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
  background: var(--brand-dark);
  border-top: 1px solid var(--brand-border);
  padding: 70px 0 30px;
}

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

.footer-logo img {
  height: 48px;
  margin-bottom: 18px;
}

.footer-logo p {
  color: var(--brand-muted);
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--brand-text);
  margin-bottom: 18px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: var(--brand-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--brand-border);
  color: var(--brand-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Mobile dock */
.mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--brand-border);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}

.mobile-dock a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 10px;
  font-size: 0.7rem;
  color: var(--brand-muted);
  transition: all 0.2s;
}

.mobile-dock a b {
  font-size: 1.1rem;
}

.mobile-dock a.dock-main {
  background: var(--brand-orange);
  color: #fff;
  margin-top: -16px;
  box-shadow: var(--shadow-orange);
}

@media (max-width: 1024px) {
  .mobile-dock {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
}

/* Floating social */
.float-social {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-social a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  color: var(--brand-orange);
  font-size: 1.2rem;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.float-social a:hover {
  transform: scale(1.08);
  border-color: var(--brand-orange);
}

@media (max-width: 1024px) {
  .float-social {
    display: none;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand-orange);
  color: #fff;
  padding: 8px 16px;
  z-index: 1001;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brand-surface);
  color: var(--brand-text);
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow);
  z-index: 1002;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 16px;
}

.hidden {
  display: none !important;
}
