/* === H Law Group — Component Styles === */

/* ---- Top Bar ---- */
.top-bar {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.top-bar a { color: var(--navy-deep); text-decoration: underline; }
.top-bar-inner { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ---- Header ---- */
.site-header {
  background: var(--navy-deep);
  padding: 12px 0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.header-logo svg, .header-logo img { height: 38px; width: auto; }
.header-logo-text { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--white); }
.header-phone { color: var(--gold); font-weight: 700; font-size: 16px; text-decoration: none; display: none; }
.header-cta { font-size: 14px; padding: 10px 20px; }

@media (min-width: 768px) {
  .header-phone { display: inline-flex; align-items: center; gap: 6px; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  padding: 60px 0 50px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .25;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,26,38,.92) 0%, rgba(26,42,58,.8) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 40px; }
.hero-content { display: flex; flex-direction: column; gap: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(197,179,88,.15); border: 1px solid rgba(197,179,88,.3);
  color: var(--gold); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px; width: fit-content;
  text-transform: uppercase; letter-spacing: .06em;
}
.hero h1 { font-size: clamp(28px, 5vw, 46px); }
.hero-sub { font-size: 17px; color: var(--gray-300); line-height: 1.7; max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 10px; flex-wrap: wrap; }
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--gold); }
.hero-stat-label { font-size: 13px; color: var(--gray-400); }

@media (min-width: 960px) {
  .hero { padding: 80px 0 70px; }
  .hero-inner { grid-template-columns: 1fr 420px; align-items: start; }
}

/* ---- Form ---- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}
.form-card h2 {
  color: var(--navy-deep);
  font-size: 22px;
  margin-bottom: 6px;
}
.form-card .form-sub {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--gray-700);
  margin-bottom: 4px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit;
  transition: border-color .2s;
  background: var(--gray-50);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,179,88,.15);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input.error { border-color: var(--red); }
.form-submit {
  width: 100%; padding: 14px;
  background: var(--gold); color: var(--navy-deep);
  font-size: 16px; font-weight: 700;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: background .2s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--gold-light); }
.form-privacy { font-size: 12px; color: var(--gray-400); text-align: center; margin-top: 10px; }
.form-success {
  text-align: center; padding: 30px 20px;
}
.form-success-icon { font-size: 48px; margin-bottom: 12px; }
.form-success h3 { color: var(--green); font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--gray-600); font-size: 14px; }

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0;
}
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  text-align: center;
}
.trust-item-value { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--navy); }
.trust-item-label { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

@media (min-width: 768px) {
  .trust-bar-inner { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Recall Alert ---- */
.recall-alert {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 50px auto;
  max-width: 900px;
}
.recall-alert h2 { color: #92400e; font-size: 24px; margin-bottom: 12px; }
.recall-alert p { color: #78350f; font-size: 15px; line-height: 1.7; }
.recall-alert .recall-stat {
  display: inline-block; background: #92400e; color: #fef3c7;
  padding: 4px 12px; border-radius: 4px; font-weight: 700; font-size: 14px;
  margin: 4px 4px 4px 0;
}

/* ---- Section Common ---- */
.section { padding: 60px 0; }
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--navy-deep);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--gray-500);
  font-size: 16px; max-width: 640px; margin: 0 auto 40px;
}

/* ---- Injury Types ---- */
.injury-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.injury-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.injury-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.injury-icon {
  width: 48px; height: 48px;
  background: rgba(197,179,88,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}
.injury-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 700; }
.injury-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ---- Why Choose ---- */
.why-section { background: var(--navy-deep); color: var(--white); }
.why-section .section-title { color: var(--white); }
.why-section .section-sub { color: var(--gray-400); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px;
}
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700;
  color: var(--gold); margin-bottom: 12px;
}
.why-card h3 { font-size: 17px; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 700; }
.why-card p { font-size: 14px; color: var(--gray-400); line-height: 1.6; }

/* ---- Process ---- */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px;
}
.process-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.process-step {
  width: 56px; height: 56px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
  margin: 0 auto 16px;
}
.process-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 700; }
.process-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ---- Compensation ---- */
.comp-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
  max-width: 900px; margin: 0 auto;
}
.comp-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--gray-50);
  border-radius: var(--radius-sm);
}
.comp-check { color: var(--gold); font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.comp-text { font-size: 15px; color: var(--gray-700); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(22px, 4vw, 32px); margin-bottom: 8px; }
.cta-banner p { color: var(--gray-400); font-size: 16px; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-banner .cta-phone {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: var(--gold); margin-bottom: 16px;
}
.cta-banner .cta-phone a { color: var(--gold); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 600; color: var(--navy-deep);
  text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: inherit;
}
.faq-question::after {
  content: '+'; font-size: 22px; color: var(--gold);
  transition: transform .2s; flex-shrink: 0; margin-left: 16px;
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px; padding-bottom: 20px;
}
.faq-answer p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-deep);
  color: var(--gray-400);
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 30px;
  margin-bottom: 30px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo img, .footer-logo svg { height: 32px; width: auto; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--white); }
.footer-desc { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li, .footer-col a { font-size: 14px; color: var(--gray-400); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  font-size: 12px; gap: 8px;
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--gold); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* ---- Floating Mobile CTA ---- */
.mobile-cta {
  display: flex;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: var(--navy-deep);
  border-top: 2px solid var(--gold);
  padding: 10px;
  gap: 10px;
}
.mobile-cta a {
  flex: 1; text-align: center;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 14px;
}
.mobile-cta .mcta-form { background: var(--gold); color: var(--navy-deep); }
.mobile-cta .mcta-call { background: var(--white); color: var(--navy-deep); }

@media (min-width: 960px) {
  .mobile-cta { display: none; }
}

/* ---- Extra bottom padding for mobile CTA ---- */
@media (max-width: 959px) {
  .site-footer { padding-bottom: 90px; }
}
