/* ═══════════════════════════════════════════════
   THE MEDICARE STOP — Custom Styles
   (Supplements Tailwind CDN)
═══════════════════════════════════════════════ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Skip link ─── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Mobile sticky CTA bar ─── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}

.mobile-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  background: #064fb3;
  color: #fff;
  font-size: .875rem;
  font-weight: 900;
  text-decoration: none;
  transition: background .15s;
}
.mobile-cta-call:hover { background: #0440a0; }

.mobile-cta-form {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  background: #d89600;
  color: #fff;
  font-size: .875rem;
  font-weight: 900;
  text-decoration: none;
  transition: background .15s;
}
.mobile-cta-form:hover { background: #b97d00; }

/* Show mobile bar only on small screens */
@media (min-width: 640px) {
  .mobile-cta-bar { display: none !important; }
}

/* Add padding so footer doesn't hide behind bar on mobile */
@media (max-width: 639px) {
  body { padding-bottom: 54px; }
}

/* ─── Trust chips ─── */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #f0f6ff;
  border: 1px solid #d0e4ff;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  color: #064fb3;
  white-space: nowrap;
}

/* ─── Trust bar items ─── */
.trust-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8125rem;
  font-weight: 800;
  color: #5a3e00;
}

/* ─── Form inputs ─── */
.form-input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  font-size: 1rem;
  color: #0b1531;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: #064fb3;
  box-shadow: 0 0 0 4px rgba(6,79,179,.1);
}
.form-input.error {
  border-color: #ef4444;
}

/* ─── Plan cards ─── */
.plan-card {
  background: #fff;
  border: 1.5px solid;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(15,23,42,.07);
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(15,23,42,.12);
}

.plan-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

/* ─── Extra benefits cards ─── */
.extra-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
}

.extra-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f6ff;
  color: #064fb3;
  border-radius: 10px;
}

/* ─── Carrier logos ─── */
.carrier-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.carrier-logo:hover {
  border-color: #064fb3;
  box-shadow: 0 4px 14px rgba(6,79,179,.1);
}

/* ─── Why us items ─── */
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.why-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* ─── Step items ─── */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d89600;
  border-radius: 50%;
  color: #d89600;
  font-size: 1rem;
  font-weight: 900;
  background: #fff;
}

/* ─── City tags ─── */
.city-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #fff;
  border: 1.5px solid #d9a700;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 800;
  color: #7a4e00;
}

/* ─── FAQ ─── */
.faq-item-el {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 800;
  color: #0b1531;
  text-align: left;
  transition: background .15s;
}
.faq-btn:hover { background: #f8fafc; }
.faq-btn:focus {
  outline: 3px solid rgba(6,79,179,.3);
  outline-offset: -3px;
}

.faq-arrow {
  flex-shrink: 0;
  color: #64748b;
  transition: transform .25s;
}
.faq-btn[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.7;
  color: #475569;
}
.faq-answer p { margin: 0; }

/* ─── Animations ─── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn .4s ease both; }

/* ─── Print ─── */
@media print {
  .mobile-cta-bar,
  header nav a.bg-\[\#d89600\] { display: none !important; }
  body { background: #fff !important; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
