/* ============================================
   INSIDER ACCIDENT LAWYERS - HERO SECTION
   Two-column: content left, form right (desktop)
   Fully responsive, maintains branding
   ============================================ */

/* Site header - BD&J-style: left logo, middle stat, right phone. Force contrast so header never looks faint. */
.header {
  background: #fff !important;
  border-bottom: 3px solid #fbba00;
  padding: 0.5rem 0 0.65rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .mid-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.header__left {
  flex: 0 0 auto;
}
.header__logo {
  display: block;
  line-height: 0;
}
.header__logo a {
  display: block;
  line-height: 0;
  text-decoration: none;
}
.header__logo-img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 180px;
  min-width: 120px;
  object-fit: contain;
  min-height: 46px;
  /* Bold + shiny metallic: dark base with highlight and depth */
  filter: brightness(0) contrast(1.25)
    drop-shadow(0 0 1px rgba(255,255,255,0.9))
    drop-shadow(0 0 2px rgba(255,255,255,0.5))
    drop-shadow(1px 1px 0 rgba(255,255,255,0.35))
    drop-shadow(-1px -1px 1px rgba(0,0,0,0.2))
    drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
/* Explicit dark colors so header text is never white/faint */
.header__middle {
  flex: 1 1 auto;
  text-align: center;
  min-width: 0;
}
/* Metallic blue sheen, big bold italic, zoom-in */
@keyframes header-title-zoom {
  from {
    opacity: 0.5;
    transform: scale(0.82) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.header__middle {
  position: relative;
}
.header__middle__title {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: 0.03em;
  /* Metallic chrome sheen: strong highlight band + dark edges */
  background: linear-gradient(105deg,
    #0a2d4a 0%,
    #1a4a70 18%,
    #3d7ab5 35%,
    #7eb5e8 50%,
    #3d7ab5 65%,
    #1a4a70 82%,
    #0a2d4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: header-title-zoom 0.65s ease-out forwards;
  /* Polished metal: crisp highlight edge + reflective sheen */
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.95))
    drop-shadow(0 0 3px rgba(255,255,255,0.4))
    drop-shadow(0 0 8px rgba(180,215,255,0.35))
    drop-shadow(0 1px 2px rgba(0,30,70,0.4))
    drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
/* Metallic reflection sheen under title */
.header__middle__title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 90%;
  height: 6px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,0.2) 0%,
    rgba(180,220,255,0.12) 30%,
    transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}
.header__middle p {
  font-size: 0.8rem;
  color: #374151 !important;
  margin: 0;
  font-weight: 500;
}
.header__right {
  flex: 0 0 auto;
  text-align: right;
  background: linear-gradient(135deg, #01366c 0%, #01468a 100%);
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(1, 54, 108, 0.3);
}
.header__right .header__title { color: #fff !important; font-size: 0.95rem; }
.header__right .header__number { color: #fff !important; font-size: 2.2rem; transition: color 0.25s ease; }
.header__right .header__number:hover { color: #ffd700 !important; }
.header__right .header__lang { color: rgba(255,255,255,0.95) !important; font-size: 0.95rem; }
.header__title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.1;
  color: #374151 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.header__number {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  color: #01366c !important;
  text-decoration: none;
  margin-top: 0.05rem;
  letter-spacing: 0.02em;
}
.header__number:hover {
  color: #c99400;
}
.header__lang {
  display: block;
  font-size: 0.9rem;
  line-height: 1.1;
  color: #374151 !important;
  margin-top: 0.1rem;
  font-weight: 600;
}
@media (min-width: 768px) {
  .header__logo-img {
    height: 72px;
    max-width: 220px;
  }
  .header__middle__title {
    font-size: 1.6rem;
    line-height: 0.95;
  }
  .header__middle p {
    font-size: 0.8rem;
  }
  .header__number {
    font-size: 2.1rem;
    line-height: 1;
  }
  .header__right .header__number { font-size: 2.5rem; }
  .header__title {
    font-size: 1rem;
  }
  .header__right .header__title { font-size: 1rem; }
  .header__lang {
    font-size: 1rem;
  }
  .header__right .header__lang { font-size: 1rem; }
  .header__right { padding: 1rem 1.75rem; }
}
@media (min-width: 992px) {
  .header .mid-container {
    padding-left: 0; /* logo to far left */
  }
  .header {
    padding: 0.55rem 0 0.7rem;
  }
  .header__logo-img {
    height: 90px;
    max-width: 280px;
  }
  .header__middle__title {
    font-size: 2rem;
    line-height: 0.9;
  }
  .header__number {
    font-size: 2.5rem;
    line-height: 1;
  }
  .header__right .header__number { font-size: 2.75rem; }
  .header__title {
    font-size: 1.1rem;
  }
  .header__right .header__title { font-size: 1.05rem; }
  .header__lang {
    font-size: 1.1rem;
  }
  .header__right .header__lang { font-size: 1.05rem; }
  .header__right { padding: 1.1rem 2rem; }
}

/* Hero wrapper - two columns on desktop */
.hero.hero-section .hero-content {
  display: grid;
  gap: 2rem;
  align-items: start;
  max-width: 1360px;
  margin: 0 auto;
}

/* Desktop: content left (1fr), form right (fixed width, sticky) */
@media (min-width: 992px) {
  .hero.hero-section .hero-content {
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: start;
    padding: 2rem 0 4rem;
  }

  .hero.hero-section .hero-text {
    order: 1;
  }

  .hero.hero-section .hero-form-column {
    order: 2;
    position: sticky;
    top: 100px;
  }
}

/* Form card in hero - BD&J-style panel */
.hero.hero-section .hero-form-column {
  width: 100%;
}

.hero.hero-section .hero-form-card {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  border: 3px solid #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(1, 54, 108, 0.08);
}

.hero.hero-section .hero-form-card .form__header {
  border-bottom: 3px solid var(--brand-navy, #01366c);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero.hero-section .hero-form-card .form__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-navy, #01366c);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero.hero-section .hero-form-card .form__subtitle {
  font-size: 1.1rem;
  color: var(--brand-gray-700, #374151);
  margin: 0;
  font-weight: 500;
  line-height: 1.35;
}

/* Form fields - larger, clearer hierarchy */
.hero.hero-section .hero-form-card .form-group {
  margin-bottom: 1.25rem;
}

.hero.hero-section .hero-form-card .form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-navy, #01366c);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero.hero-section .hero-form-card .form-input,
.hero.hero-section .hero-form-card .form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(1, 54, 108, 0.25);
  border-radius: 8px;
  font-size: 1.0625rem;
  background: #f9fbff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero.hero-section .hero-form-card .form-input:focus,
.hero.hero-section .hero-form-card .form-control:focus {
  outline: none;
  border-color: var(--brand-blue, #01468a);
  box-shadow: 0 0 0 3px rgba(1, 70, 138, 0.15);
}

.hero.hero-section .hero-form-card textarea.form-input,
.hero.hero-section .hero-form-card textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.hero.hero-section .hero-form-card .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 8px;
}

/* Mobile: single column, form below content */
@media (max-width: 991px) {
  .hero.hero-section .hero-content {
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
  }

  .hero.hero-section .hero-form-column {
    order: 2;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero.hero-section .hero-form-card {
    padding: 1.5rem 1.25rem;
  }
}

/* "Over $XX Million Recovered" in hero */
.hero.hero-section .hero-stat {
  display: inline-block;
  background: rgba(251, 186, 0, 0.25);
  color: var(--brand-accent-yellow, #fbba00);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid rgba(251, 186, 0, 0.5);
}

/* Benefits list in hero - checkmark bullets */
.hero.hero-section .hero__benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.hero.hero-section .hero__benefits li {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.hero.hero-section .hero__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #81c784;
  font-weight: bold;
  font-size: 1.1em;
}

.hero.hero-section .hero__benefits .hero-highlight {
  color: var(--brand-accent-yellow, #fbba00);
  font-weight: 700;
}

.hero.hero-section .hero__benefits--large li {
  font-size: 1.35rem;
}

/* Section divider / ornamental line (BD&J-style) */
.hero.hero-section .hero-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.hero.hero-section .hero-divider::before,
.hero.hero-section .hero-divider::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.hero.hero-section .hero-divider .hero-divider__diamond {
  width: 8px;
  height: 8px;
  background: var(--brand-accent-yellow, #fbba00);
  transform: rotate(45deg);
}

@media (max-width: 767px) {
  .hero.hero-section .hero-form-column {
    max-width: 100%;
  }

  .hero.hero-section .hero-form-card .form__title {
    font-size: 1.5rem;
  }
}

/* Content section - California Personal Injury Lawyers header */
.content-section {
  background: #fff;
}
.head-group {
  margin: 0;
}
.head-group.text-center {
  text-align: center;
}
.section-title.tail {
  font-size: clamp(2.3rem, 4.75vw, 3.4rem);
  font-weight: 800;
  color: var(--brand-navy, #01366c);
  line-height: 1.25;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  margin: 0;
}
.section-title.tail .tail__before,
.section-title.tail .tail__after {
  display: inline-block;
  width: 44px;
  height: 4px;
  background: var(--brand-accent-yellow, #fbba00);
  vertical-align: middle;
  margin: 0 0.4rem;
}
.section-title.tail .tail__before {
  margin-left: 0;
  margin-right: 0.4rem;
}
.section-title.tail .tail__after {
  margin-left: 0.4rem;
  margin-right: 0;
}
.d-md-none {
  display: block;
}
@media (min-width: 768px) {
  .d-md-none {
    display: none;
  }
}

.trust-badges-box {
  margin-top: 2rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
  border: 1px solid rgba(1, 54, 108, 0.08);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.8) inset,
              0 2px 8px rgba(0,0,0,0.04),
              0 8px 24px rgba(0,0,0,0.06),
              0 16px 48px rgba(0,0,0,0.04);
}
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.trust-badges-row .trust-badge-img {
  height: 130px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 600px) {
  .trust-badges-box {
    padding: 1.5rem 1.25rem;
    margin-top: 1.5rem;
  }
  .trust-badges-row {
    gap: 1rem 1.5rem;
  }
  .trust-badges-row .trust-badge-img {
    height: 100px;
  }
}

.team-photo-section {
  margin-top: 2.5rem;
  padding: 3rem 2rem;
  background: linear-gradient(180deg, #f0f6fc 0%, #e8f0f8 50%, #e0ebf4 100%);
  border-radius: 12px;
  text-align: center;
}
.team-photo {
  display: block;
  max-width: min(880px, 100%);
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(1, 54, 108, 0.08);
}
@media (max-width: 600px) {
  .team-photo-section {
    padding: 2rem 1rem;
  }
}

/* Highlights block - How Insider Helps */
.block.highlights {
  padding: 4rem 0;
  background: #fff;
}
.block.highlights .mid-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.block.highlights .head-group {
  text-align: center;
  margin-bottom: 2.5rem;
}
.block.highlights .highlights__title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--brand-navy, #01366c);
  line-height: 1.25;
  margin: 0;
  display: inline-block;
}
.block.highlights .highlights__title .tail__before,
.block.highlights .highlights__title .tail__after {
  display: inline-block;
  width: 44px;
  height: 4px;
  background: var(--brand-accent-yellow, #fbba00);
  vertical-align: middle;
  margin: 0 0.4rem;
}
.block.highlights .items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}
.block.highlights .item {
  text-align: center;
}
.block.highlights .highlights__icon {
  margin-bottom: 1rem;
}
.block.highlights .highlights__icon img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.block.highlights .highlights__disc {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy, #01366c);
  line-height: 1.3;
}
.block.highlights .btn-set {
  text-align: center;
}
.block.highlights .btn {
  display: inline-block;
  background: #ffbf00;
  color: #01366c;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 0 #cc9900;
  transition: transform 0.2s, box-shadow 0.2s;
}
.block.highlights .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #cc9900;
}
.block.highlights .btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
}
@media (max-width: 992px) {
  .block.highlights .items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .block.highlights .items {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .block.highlights .highlights__icon img {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 500px) {
  .block.highlights .items {
    grid-template-columns: 1fr;
  }
}
