/* H Law Group — Airbnb Injury Landing Page Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* H Law Group Brand Colors */
  --color-gold: #C5B358;
  --color-gold-hover: #b5a348;
  --color-gold-active: #a59338;
  --color-navy: #1a2a3a;
  --color-navy-deep: #0f1a26;
  --color-navy-light: #2a3f55;

  /* Surfaces */
  --color-bg: #ffffff;
  --color-surface: #f8f8f6;
  --color-surface-2: #f0efec;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-text-light: #ffffff;
  --color-divider: #e2e0db;
  --color-border: #d4d1ca;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   UTILITY
   ============================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ============================================
   TOP BAR (Urgency + Phone)
   ============================================ */

.top-bar {
  background: var(--color-navy-deep);
  color: var(--color-text-light);
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-xs);
  text-align: center;
  letter-spacing: 0.02em;
}

.top-bar a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  background: var(--color-navy);
  padding: var(--space-4) var(--space-6);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text-light);
  flex-shrink: 0;
}

.logo-link svg {
  height: 40px;
  width: auto;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header-phone {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--color-gold);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-gold:hover {
  background: var(--color-gold-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-gold:active {
  background: var(--color-gold-active);
  transform: translateY(0);
}

.btn-gold-lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-text-light);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid var(--color-gold);
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(197, 179, 88, 0.1);
  color: var(--color-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,26,38,0.92) 0%, rgba(26,42,58,0.75) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-text {
  color: var(--color-text-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(197, 179, 88, 0.15);
  border: 1px solid rgba(197, 179, 88, 0.3);
  color: var(--color-gold);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--color-text-light);
}

.hero h1 .gold {
  color: var(--color-gold);
}

.hero-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.2;
}

.stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Form */
.hero-form-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-form-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
  text-align: center;
}

.hero-form-card .form-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  background: var(--color-surface);
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 179, 88, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-4);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-4);
}

.form-note svg {
  display: inline;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: var(--space-1);
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-6) var(--space-6);
}

.trust-bar-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.trust-item strong {
  color: var(--color-text);
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: var(--color-divider);
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) var(--space-6);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   INJURY TYPES
   ============================================ */

.injury-grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.injury-card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

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

.injury-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(197, 179, 88, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.injury-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.injury-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.injury-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   WHY H LAW
   ============================================ */

.why-section {
  background: var(--color-navy);
  color: var(--color-text-light);
}

.why-grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.why-card {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.why-card-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(197, 179, 88, 0.15);
  border: 1.5px solid rgba(197, 179, 88, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-gold);
}

.why-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text-light);
}

.why-card p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ============================================
   PROCESS / STEPS
   ============================================ */

.steps-grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  margin: 0 auto var(--space-4);
  box-shadow: 0 4px 16px rgba(197, 179, 88, 0.3);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 260px;
  margin-inline: auto;
}

/* ============================================
   COMPENSATION SECTION
   ============================================ */

.compensation-list {
  max-width: var(--content-default);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.compensation-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.compensation-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6);
  text-align: center;
  color: var(--color-text-light);
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.cta-banner p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-inline: auto;
}

.cta-banner .cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: var(--content-default);
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-gold);
  transition: transform 300ms ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-5);
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--color-navy-deep);
  color: rgba(255,255,255,0.6);
  padding: var(--space-12) var(--space-6) var(--space-6);
}

.footer-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 360px;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: var(--space-2);
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: var(--text-sm);
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

/* ============================================
   FLOATING CTA (Mobile)
   ============================================ */

.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-navy-deep);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  border-top: 2px solid var(--color-gold);
}

.floating-cta-inner {
  display: flex;
  gap: var(--space-3);
}

.floating-cta .btn-gold {
  flex: 1;
  justify-content: center;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
}

.floating-cta .btn-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .injury-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-cta-group .btn-gold {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 1rem + 3vw, 2.5rem);
  }

  .hero-stats {
    gap: var(--space-6);
  }

  .injury-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .compensation-list {
    grid-template-columns: 1fr;
  }

  .trust-bar-inner {
    flex-direction: column;
    gap: var(--space-3);
  }

  .trust-divider {
    display: none;
  }

  .floating-cta {
    display: block;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn-gold-lg,
  .hero-cta-group .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   ANIMATION (Scroll Reveal)
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
