/* ============================================
   SR-22 Utah — Style System
   Colors: Navy #1a3a5c, Gold #d4a843, White
   Fonts: Roboto Slab (headings), Roboto (body)
   Style: Authoritative
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Roboto', sans-serif;
  color: #444;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #d4a843; text-decoration: none; transition: color .2s; }
a:hover { color: #b8912e; }

h1, h2, h3, h4 { font-family: 'Roboto Slab', serif; color: #1a3a5c; line-height: 1.25; font-weight: 700; }
h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.1rem; margin-bottom: .75rem; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Header --- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(0,0,0,.08);
  border-bottom: 3px solid #d4a843;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: #d4a843;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
}
.logo-text {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a3a5c;
}
.logo-text span { color: #d4a843; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #1a3a5c;
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  color: #1a3a5c;
  font-weight: 500;
  font-size: .95rem;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4a843;
  transition: width .3s;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a:hover { color: #d4a843; }

.nav-cta {
  background: #d4a843 !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #b8912e !important; }

.header-phone {
  color: #d4a843;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.header-phone i { margin-right: 4px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary { background: #d4a843; color: #fff; }
.btn-primary:hover { background: #b8912e; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,168,67,.3); }
.btn-white { background: #fff; color: #1a3a5c; }
.btn-white:hover { background: #f0f4f8; color: #1a3a5c; }
.btn-outline { border: 2px solid #d4a843; color: #d4a843; background: transparent; }
.btn-outline:hover { background: #d4a843; color: #fff; }

/* --- Hero --- */
.hero {
  background: linear-gradient(160deg, rgba(26,58,92,.92) 0%, rgba(26,58,92,.78) 100%),
              url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=1400&q=80') center/cover no-repeat;
  color: #fff;
  padding: 100px 0 120px;
}
.hero-content { max-width: 620px; }
.hero h1 { color: #fff; font-size: 3.2rem; letter-spacing: -1px; }
.hero h1 span { color: #d4a843; }
.hero p { font-size: 1.25rem; opacity: .92; margin-bottom: 2rem; max-width: 520px; }

/* --- Hero Trust Badges --- */
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-trust span {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-trust i { color: #d4a843; font-size: .9rem; }

/* --- Zip Form (Hero) --- */
.zip-form {
  display: flex;
  gap: 0;
  margin-top: 28px;
  max-width: 420px;
}
.zip-form input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-size: 1.05rem;
  font-family: 'Roboto', sans-serif;
}
.zip-form input:focus { outline: none; box-shadow: inset 0 0 0 2px #d4a843; }
.zip-form button {
  padding: 16px 28px;
  border: none;
  border-radius: 0 6px 6px 0;
  background: #d4a843;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
  font-family: 'Roboto Slab', serif;
  white-space: nowrap;
}
.zip-form button:hover { background: #b8912e; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.shake { animation: shake .3s ease; }

/* --- Section --- */
.section { padding: 80px 0; }
.section-alt { background: #f5f7fa; }
.section-dark { background: #1a3a5c; color: #fff; }
.section-dark h2 { color: #d4a843; }
.section-dark p { color: rgba(255,255,255,.82); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-header p { color: #777; font-size: 1.1rem; }

/* --- Stats Bar --- */
.stats-bar {
  background: #1a3a5c;
  padding: 40px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 { color: #d4a843; font-size: 2.2rem; font-weight: 700; margin-bottom: 4px; }
.stat-item p { color: rgba(255,255,255,.7); font-size: .88rem; margin: 0; text-transform: uppercase; letter-spacing: 1px; }

/* --- How It Works Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #d4a843, #b8912e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
  margin: 0 auto 18px;
  box-shadow: 0 4px 15px rgba(212,168,67,.25);
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-card p { color: #666; font-size: .92rem; max-width: 280px; margin: 0 auto; }

/* --- Coverage/Service Grid --- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.coverage-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px 24px;
  border: 1px solid #e8eef2;
  border-top: 3px solid #d4a843;
  transition: box-shadow .3s, transform .2s;
}
.coverage-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); transform: translateY(-3px); }
.coverage-card i { font-size: 1.8rem; color: #d4a843; margin-bottom: 12px; display: block; }
.coverage-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.coverage-card p { color: #666; font-size: .88rem; margin: 0; }

/* --- Content Split --- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* --- Trust List (Why Choose Us) --- */
.trust-list { margin-top: 20px; }
.trust-item-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.trust-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon i { color: #d4a843; font-size: 1.3rem; }
.trust-item-row h3 { font-size: 1rem; margin-bottom: 4px; }
.trust-item-row p { color: #666; font-size: .9rem; margin: 0; }

/* --- Requirements List --- */
.requirements-list {
  margin: 12px 0 20px 0;
  list-style: none;
  color: #444;
}
.requirements-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: .95rem;
}
.requirements-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #d4a843;
}

/* --- Carrier Logos --- */
.carrier-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  align-items: center;
}
.carrier-logos span {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #bbb;
  letter-spacing: .5px;
}

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e0e8ee;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a3a5c;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
  font-family: 'Roboto', sans-serif;
}
.faq-question:hover { background: #f5f7fa; }
.faq-question i { color: #d4a843; transition: transform .3s; font-size: .85rem; }
.faq-item.active .faq-question { background: #f5f7fa; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-answer-inner { padding: 0 24px 20px; color: #555; line-height: 1.8; }
.faq-answer-inner a { color: #d4a843; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
  padding: 70px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #d4a843; font-size: 2.2rem; margin-bottom: 12px; }
.cta-banner p { font-size: 1.1rem; max-width: 550px; margin: 0 auto 28px; opacity: .9; }

/* --- Forms --- */
.form-section { padding: 80px 0; }
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,.07);
  border: 1px solid #e8eef2;
}
.form-wrapper h2 { text-align: center; margin-bottom: 8px; }
.form-subtitle { text-align: center; color: #777; margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #1a3a5c;
  font-size: .92rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d7dd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4a843;
  box-shadow: 0 0 0 3px rgba(212,168,67,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .error-msg { color: #dc3545; font-size: .82rem; margin-top: 4px; display: none; }
.form-group.has-error input,
.form-group.has-error select { border-color: #dc3545; }
.form-group.has-error .error-msg { display: block; }

.form-consent { font-size: .85rem; color: #888; margin-bottom: 20px; display: flex; gap: 8px; align-items: flex-start; }
.form-consent input[type="checkbox"] { margin-top: 4px; }
.form-consent.has-error { color: #dc3545; }

.btn-submit { width: 100%; padding: 16px; font-size: 1.1rem; }

.form-success, .form-error {
  display: none;
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 16px;
  font-weight: 500;
  text-align: center;
}
.form-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* --- Multi-Step Form Progress --- */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: #bbb;
  font-weight: 600;
}
.progress-step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e0e8ee;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
}
.progress-step.active { color: #d4a843; }
.progress-step.active span { background: #d4a843; color: #fff; }
.progress-line {
  width: 60px;
  height: 2px;
  background: #e0e8ee;
  margin: 0 16px;
}

.form-step { }
.form-step-active { display: block; }

.btn-back {
  background: none;
  border: none;
  color: #d4a843;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  padding: 8px 0;
}
.btn-back:hover { text-decoration: underline; }

/* --- Contact Section --- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: #aaa; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-detail i { color: #d4a843; font-size: 1.2rem; width: 20px; text-align: center; }
.contact-detail span { color: rgba(255,255,255,.8); }

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 12px 0;
  font-size: .82rem;
  color: #999;
}
.breadcrumbs a { color: #d4a843; }
.breadcrumbs span { margin: 0 6px; color: #ccc; }

/* --- Sticky Mobile CTA --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 10px 16px;
  display: none;
  gap: 10px;
  box-shadow: 0 -2px 12px rgba(0,0,0,.1);
  z-index: 90;
  border-top: 1px solid #e8eef2;
}
.sticky-cta.visible { display: flex; }

/* --- Footer --- */
.site-footer {
  background: #111e2e;
  color: rgba(255,255,255,.65);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about .logo-text { color: #fff; font-size: 1.3rem; }
.footer-about p { font-size: .88rem; margin-top: 12px; }
.footer-links h4, .footer-contact h4 {
  color: #d4a843;
  font-size: .95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Roboto Slab', serif;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-links a:hover { color: #d4a843; }
.footer-contact p { font-size: .88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-contact i { color: #d4a843; width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #d4a843; }
.footer-legal { display: flex; gap: 20px; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .coverage-grid, .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .content-split, .contact-split { grid-template-columns: 1fr; gap: 30px; }
  .content-split[style*="direction:rtl"] { direction: ltr !important; }
  .content-split[style*="direction:rtl"] > * { direction: ltr !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.4rem; }
  .hero { padding: 70px 0 80px; }
  .hero h1 { font-size: 2.6rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,.1);
    transition: right .3s;
    z-index: 200;
    padding: 80px 30px 30px;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid #eee; }
  .main-nav a { display: block; padding: 16px 0; font-size: 1rem; }
  .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 150; }
  .nav-overlay.active { display: block; }
  .header-phone { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 30px 20px; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .zip-form { flex-direction: column; }
  .zip-form input { border-radius: 6px; }
  .zip-form button { border-radius: 6px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 50px 0; }
  .sticky-cta { display: none; }
  .sticky-cta.visible { display: flex; }
  .carrier-logos { gap: 20px; }
  .carrier-logos span { font-size: .9rem; }
  body { padding-bottom: 70px; }
}

@media (min-width: 769px) {
  .sticky-cta { display: none !important; }
}
