/* ==========================================================================
   OMN AUTO — Landing Page Styles
   Design tokens:
   --color-black   #15110F   near-black, warm (chassis)
   --color-red     #E30613   primary accent (dealership red)
   --color-red-dark#A50410   hover / pressed
   --color-white   #FFFFFF
   --color-fog     #F6F4F2   section alt background
   --color-line    #E7E2DE   hairline borders
   Type: Oswald (display, condensed/uppercase) + Inter (body) + Roboto Mono (promo code)
   ========================================================================== */

:root {
  --color-black: #15110f;
  --color-black-soft: #241d1a;
  --color-red: #e30613;
  --color-red-dark: #a50410;
  --color-white: #ffffff;
  --color-fog: #f6f4f2;
  --color-fog-dark: #efebe7;
  --color-line: #e7e2de;
  --color-text: #1c1815;
  --color-text-mute: #6b625c;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Roboto Mono', 'SFMono-Regular', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(21, 17, 15, 0.06);
  --shadow-md: 0 12px 30px rgba(21, 17, 15, 0.10);
  --shadow-red: 0 10px 24px rgba(227, 6, 19, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 600;
  margin: 0;
  color: var(--color-black);
}

:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  padding: 15px 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn svg { transition: transform 0.2s var(--ease); }

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(227, 6, 19, 0.34);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }

.btn-large {
  padding: 18px 38px;
  font-size: 1.05rem;
}

.btn-block { width: 100%; }

.btn-outline {
  background: transparent;
  border-color: var(--color-black);
  color: var(--color-black);
}
.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-small {
  padding: 11px 20px;
  font-size: 0.85rem;
}

.btn[disabled] { cursor: not-allowed; opacity: 0.85; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-black);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-line);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.header-phone:hover { border-color: var(--color-red); color: var(--color-red); }
.header-phone svg { color: var(--color-red); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-black);
  padding: 88px 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 85% -10%, rgba(227, 6, 19, 0.35), transparent 60%),
    radial-gradient(500px 300px at 5% 110%, rgba(227, 6, 19, 0.18), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 10px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 10px),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.4) 0px, rgba(0,0,0,0.4) 5px, transparent 5px, transparent 10px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.4) 0px, rgba(0,0,0,0.4) 5px, transparent 5px, transparent 10px);
  background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 720px;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb3ba;
  margin: 0 0 18px;
  opacity: 0;
  animation: rise 0.7s var(--ease) forwards;
}
.eyebrow-dark { color: var(--color-red); }
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(227,6,19,0.18);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.06;
  color: var(--color-white);
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.08s forwards;
}
.hero-title-accent { color: var(--color-red); }

.hero-sub {
  color: #cfc9c5;
  font-size: 1.1rem;
  margin: 20px 0 32px;
  max-width: 520px;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.16s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Signature element: repair-ticket coupon ---- */
.coupon {
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.24s forwards;
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 560px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  position: relative;
}

.coupon-main {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  flex: 1;
}
.coupon-emoji { font-size: 2rem; line-height: 1; }
.coupon-copy { display: flex; flex-direction: column; gap: 4px; }
.coupon-save {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.01em;
}
.coupon-label {
  font-size: 0.78rem;
  color: var(--color-text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.coupon-divider {
  position: relative;
  width: 0;
  border-left: 2px dashed var(--color-line);
  flex-shrink: 0;
}
.coupon-notch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  background: var(--color-black);
  border-radius: 50%;
}
.coupon-notch-top { top: -9px; }
.coupon-notch-bottom { bottom: -9px; }

.coupon-code-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background: var(--color-fog);
}
.coupon-code {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--color-red);
}

.disclaimer {
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.3s forwards;
  color: #9a938e;
  font-size: 0.82rem;
  margin: 16px 0 34px;
  font-style: italic;
}

.hero-inner > .btn {
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.36s forwards;
}

@media (max-width: 560px) {
  .coupon { flex-direction: column; max-width: 100%; }
  .coupon-divider { width: auto; height: 0; border-left: none; border-top: 2px dashed var(--color-line); }
  .coupon-notch-top { top: auto; left: -9px; }
  .coupon-notch-bottom { bottom: auto; right: -9px; left: auto; }
  .coupon-code-wrap { padding: 16px 24px; justify-content: flex-start; }
}

/* ==========================================================================
   SECTION HEADINGS (shared)
   ========================================================================== */

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.section-sub {
  margin: 14px 0 0;
  color: var(--color-text-mute);
  font-size: 1.02rem;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */

.why-us {
  padding: 88px 0;
  background: var(--color-white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--color-fog);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  background: var(--color-white);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  margin-bottom: 18px;
  transition: background 0.25s var(--ease);
}
.feature-card:hover .feature-icon { background: var(--color-red); }

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card p {
  margin: 0;
  color: var(--color-text-mute);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

/* ==========================================================================
   FORM SECTION
   ========================================================================== */

.reserve {
  padding: 88px 0 100px;
  background: var(--color-fog);
  border-top: 1px solid var(--color-line);
}

.reserve-inner { max-width: 720px; }

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 8px;
}
.req { color: var(--color-red); }

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.form-field input:hover,
.form-field textarea:hover { border-color: #cfc9c5; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.12);
}

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

.form-field.invalid input,
.form-field.invalid textarea {
  border-color: var(--color-red);
  background: #fff6f6;
}

.field-error {
  display: block;
  min-height: 18px;
  font-size: 0.78rem;
  color: var(--color-red);
  margin-top: 6px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--color-text);
  margin: 8px 0 2px;
  user-select: none;
}
.checkbox-field input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.checkbox-box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  background: var(--color-white);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  margin-top: 1px;
}
.checkbox-field input:checked + .checkbox-box {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}
.checkbox-field input:focus-visible + .checkbox-box {
  outline: 3px solid var(--color-red);
  outline-offset: 2px;
}

.form-card > .field-error { margin-bottom: 6px; }

.btn-block { margin-top: 12px; position: relative; }

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: var(--color-white);
  border-radius: 50%;
}

.btn-block.is-loading .btn-label { opacity: 0.6; }
.btn-block.is-loading .btn-spinner {
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

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

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-mute);
  margin: 18px 0 0;
}

@media (max-width: 640px) {
  .form-card { padding: 26px 20px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 0; }
}

/* ---- Success state ---- */
.success-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
  animation: pop 0.5s var(--ease) forwards;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: var(--shadow-red);
}

.success-card h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.success-lead {
  color: var(--color-text-mute);
  margin: 0 0 24px;
  font-size: 1rem;
}
.success-code-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-mute);
  margin: 0 0 10px;
}
.success-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--color-red);
  background: var(--color-fog);
  border: 2px dashed var(--color-line);
  border-radius: var(--radius-sm);
  padding: 12px 26px;
  margin-bottom: 24px;
}
.success-foot {
  color: var(--color-text-mute);
  font-size: 0.94rem;
  margin: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-black);
  color: #cfc9c5;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 0 40px;
}

.logo-footer .logo-img { height: 58px; }
.footer-tagline {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: #9a938e;
  max-width: 280px;
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}
a.footer-item:hover { color: var(--color-red); }
.footer-item svg { color: var(--color-red); flex-shrink: 0; }

.footer-details .btn { margin-top: 6px; }
.footer-details .btn-outline {
  border-color: #4a423d;
  color: var(--color-white);
}
.footer-details .btn-outline:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #726b66;
  text-align: center;
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; }
}
