/* =========================================================
   EasyClaimHelp — Consumer Advocacy / Medical Support styling
   ========================================================= */

:root {
  --white: #FFFFFF;
  --slate-light: #F8FAFC;
  --trust-blue: #0369A1;
  --trust-blue-dark: #075985;
  --action-orange: #EA580C;
  --action-orange-dark: #C2410C;
  --safe-green: #16A34A;
  --ink: #0F172A;
  --ink-soft: #334155;
  --border: #E2E8F0;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 14px;
  --shadow-soft: 0 4px 20px rgba(3, 105, 161, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); text-align: center; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; }

a { color: var(--trust-blue); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  min-height: 56px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--trust-blue-dark);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--trust-blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--trust-blue-dark); }

.btn-action {
  background: var(--action-orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}
.btn-action:hover {
  background: var(--action-orange-dark);
  transform: translateY(-1px);
}

.btn-large {
  font-size: 1.15rem;
  padding: 18px 36px;
  min-height: 60px;
}

.btn-full { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 20px;
}

.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.main-nav a:hover { color: var(--trust-blue); }

.nav-cta { white-space: nowrap; padding: 12px 22px; min-height: 46px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  padding: 12px 4px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 12px; }

.site-header.nav-open .mobile-nav { display: flex; }

@media (max-width: 860px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--slate-light) 0%, var(--white) 100%);
  padding: 64px 0 56px;
  text-align: center;
}

.hero-inner {
  max-width: 780px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 32px 0 0;
  padding: 0;
}

.trust-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* ---------- Investigations ---------- */
.investigations {
  padding: 72px 0;
  background: var(--white);
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}

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

.claim-card {
  background: var(--slate-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.claim-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

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

.claim-card p {
  color: var(--ink-soft);
  font-size: 1rem;
  flex-grow: 1;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--trust-blue);
}
.card-link:hover { color: var(--trust-blue-dark); }

/* ---------- How It Works ---------- */
.how-it-works {
  background: var(--slate-light);
  padding: 72px 0;
}

.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--trust-blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.step p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- Claim Form ---------- */
.claim-form-section {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-light) 100%);
}

.form-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 40px 32px;
}

.form-card h2 { margin-bottom: 8px; }
.form-card .section-sub { margin-bottom: 28px; }

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  min-height: 52px;
}

.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--trust-blue);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
}

.consent-row { margin-top: 20px; margin-bottom: 24px; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox-row input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-footnote {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 12px 0 0;
}

.form-success {
  text-align: center;
  padding: 20px 0;
}
.form-success h3 { color: var(--safe-green); }

/* ---------- FAQ ---------- */
.faq {
  padding: 72px 0 88px;
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 24px;
  background: var(--slate-light);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 0;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  color: var(--trust-blue);
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  color: var(--ink-soft);
  padding-bottom: 20px;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #CBD5E1;
  padding: 48px 0 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: #E2E8F0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-links a:hover { color: var(--white); }

.disclaimer {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #94A3B8;
  max-width: 900px;
  margin-bottom: 20px;
}

.copyright {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
}

/* ---------- Utility / responsive ---------- */
@media (max-width: 480px) {
  body { font-size: 17px; }
  .form-card { padding: 28px 20px; }
  .hero { padding: 48px 0 40px; }
}
