/* ==========================================================================
   Forro Mobile Tire & Roadside Assistance — Landing Page Styles
   ========================================================================== */

:root {
  --bg:           #0a0a0a;
  --bg-soft:      #111111;
  --bg-card:      #161616;
  --bg-elev:      #1e1e1e;
  --border:       #262626;
  --border-soft:  #1f1f1f;
  --text:         #ffffff;
  --text-muted:   #b5b5b5;
  --text-dim:     #8a8a8a;
  --yellow:       #facc15;
  --yellow-dark:  #d4a50b;
  --yellow-soft:  rgba(250, 204, 21, 0.12);
  --red:          #ef4444;
  --green:        #22c55e;
  --shadow-lg:    0 25px 50px -12px rgba(0, 0, 0, 0.65);
  --shadow-yellow: 0 12px 40px -8px rgba(250, 204, 21, 0.35);
  --radius:       14px;
  --radius-sm:    10px;
  --max:          1180px;
  --ease:         cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--yellow); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, h4 {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 .6em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.25; }

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

.eyebrow {
  display: inline-block;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 14px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--yellow);
  color: #0a0a0a;
  box-shadow: var(--shadow-yellow);
}
.btn-primary:hover {
  background: #ffd84a;
  color: #0a0a0a;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.2);
}
.btn-outline:hover {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.btn-lg { padding: 20px 36px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 44px; width: auto; }

.header-call {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}
.header-phone small {
  color: var(--text-dim);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.header-phone strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  font-weight: 700;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.open-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(250, 204, 21, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(250, 204, 21, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0c0c0c 0%, #070707 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.25);
  color: var(--yellow);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--yellow); display: block; }

.hero-lede {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--text-dim);
  font-size: .9rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--yellow); flex-shrink: 0; }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: #111;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
}
.hero-badge .dot {
  width: 10px; height: 10px; background: var(--yellow); border-radius: 50%;
  box-shadow: 0 0 12px var(--yellow);
}

/* ==========================================================================
   STAT BAR
   ========================================================================== */

.stat-bar {
  background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 36px 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat-item .num {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--yellow);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat-item .label {
  color: var(--text-muted);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.5);
  background: #1a1a1a;
}
.service-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow-soft);
  color: var(--yellow);
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { margin: 0; font-size: .94rem; }

.commercial-banner {
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--yellow) 0%, #f5b700 100%);
  color: #0a0a0a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.commercial-banner h3 {
  color: #0a0a0a;
  margin: 0 0 4px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.6rem;
  letter-spacing: .02em;
}
.commercial-banner p { color: #2a2000; margin: 0; font-weight: 600; }
.commercial-banner .btn {
  background: #0a0a0a;
  color: #fff;
}
.commercial-banner .btn:hover { background: #222; color: #fff; }

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process {
  background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
  position: relative;
}
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 800px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px 26px;
}
.step-num {
  position: absolute;
  top: -18px;
  left: 22px;
  background: var(--yellow);
  color: #0a0a0a;
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-yellow);
}
.step-card h3 { margin-top: 10px; }

/* ==========================================================================
   FORM
   ========================================================================== */

.form-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(250, 204, 21, 0.06) 0%, transparent 50%),
    #0b0b0b;
}
.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 960px) {
  .form-wrap { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}
.form-wrap .section-head { text-align: left; margin: 0 0 24px; }

.sms-note {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  color: #86efac;
  font-size: .92rem;
  align-items: flex-start;
  margin-bottom: 22px;
}
.sms-note svg { flex-shrink: 0; margin-top: 2px; }
.sms-note strong { color: #bbf7d0; display: block; margin-bottom: 2px; }

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 22px;
}
.info-card h4 {
  margin: 0 0 14px;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: .95rem;
  border-bottom: 1px solid var(--border-soft);
}
.info-list li:last-child { border-bottom: none; }
.info-list svg { color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.info-list strong { color: #fff; display: block; font-size: .95rem; margin-bottom: 2px; }

.lead-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
@media (min-width: 720px) { .lead-form { padding: 36px; } }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}

.field {
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.field label .req { color: var(--yellow); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #0c0c0c;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23facc15' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field select option { background: #0c0c0c; color: #fff; }

.field ::placeholder { color: #6b6b6b; }

.form-submit {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-legal { font-size: .78rem; color: var(--text-dim); text-align: center; margin: 0; }

.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .9rem;
  display: none;
}
.form-status.error { display: block; background: rgba(239, 68, 68, .12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, .3); }
.form-status.loading { display: block; background: rgba(250, 204, 21, .08); color: var(--yellow); border: 1px solid rgba(250, 204, 21, .25); }

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #111;
  border: 1px solid var(--border);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.8) 100%);
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.final-cta {
  background:
    radial-gradient(ellipse at center top, rgba(250, 204, 21, 0.14) 0%, transparent 60%),
    #0a0a0a;
  text-align: center;
  padding: 90px 0;
  border-top: 1px solid var(--border-soft);
}
.final-cta h2 { max-width: 820px; margin: 0 auto 16px; }
.final-cta p { max-width: 640px; margin: 0 auto 28px; font-size: 1.05rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: #060606;
  border-top: 1px solid var(--border-soft);
  padding: 44px 0 28px;
  color: var(--text-dim);
  font-size: .92rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
}
.footer-inner img { height: 40px; margin-bottom: 14px; }
.footer-inner h5 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  margin: 0 0 12px;
}
.footer-inner ul { list-style: none; margin: 0; padding: 0; }
.footer-inner li { margin-bottom: 6px; }
.footer-inner a { color: var(--text-muted); }
.footer-inner a:hover { color: var(--yellow); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: .8rem;
  color: #666;
}

/* ==========================================================================
   FLOATING CALL BUTTON (mobile)
   ========================================================================== */

.floating-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: #0a0a0a;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 15px 40px -10px rgba(250, 204, 21, 0.55), 0 0 0 4px rgba(250, 204, 21, 0.2);
  text-decoration: none;
}
@media (max-width: 720px) {
  .floating-call { display: inline-flex; }
  body { padding-bottom: 80px; }
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */

.thanks {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(250, 204, 21, 0.12) 0%, transparent 55%),
    #0a0a0a;
}
.thanks-card {
  max-width: 640px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.thanks-card img { height: 52px; margin: 0 auto 28px; }
.thanks-check {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08);
}
.thanks-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 14px; }
.thanks-card p { color: var(--text-muted); margin-bottom: 28px; font-size: 1.05rem; }
.thanks-steps {
  text-align: left;
  background: #0c0c0c;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 0 0 28px;
  list-style: none;
}
.thanks-steps li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-muted);
  font-size: .95rem;
  border-bottom: 1px solid var(--border-soft);
}
.thanks-steps li:last-child { border-bottom: none; }
.thanks-steps svg { color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.thanks-steps strong { color: #fff; display: block; margin-bottom: 2px; }
.thanks-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==========================================================================
   UTIL
   ========================================================================== */

.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px; height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
