/* Hero Sections */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero--inner {
  min-height: 50vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 25s ease-in-out infinite alternate;
  will-change: transform;
}

/* Gradient overlay — bottom-heavy for text readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.5) 0%,
    rgba(10, 10, 10, 0.55) 30%,
    rgba(10, 10, 10, 0.75) 60%,
    rgba(10, 10, 10, 0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-lg);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--color-accent-light);
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}

.hero__title {
  font-size: var(--text-6xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero__title span {
  display: block;
}

.hero__title .accent {
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero with attorney photo overlay (NJ site style) */
.hero__attorney-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 90%;
  max-width: 40%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 0;
}

/* Media logos carousel in hero */
.hero__media {
  position: relative;
  z-index: 1;
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.hero__media-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--color-text-subtle);
  margin-bottom: var(--space-md);
}

.hero__media-logos {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  overflow: hidden;
}

.hero__media-logo {
  height: 24px;
  flex-shrink: 0;
  opacity: 0.4;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-smooth);
}

.hero__media-logo:hover {
  opacity: 0.9;
}

/* Inner page hero (shorter) */
.hero--page {
  min-height: 420px;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
}

.hero--page .hero__bg-image {
  animation: kenBurns 30s ease-in-out infinite alternate;
}

.hero--page .hero__title {
  font-size: var(--text-5xl);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero--page .hero__subtitle {
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__attorney-photo {
    max-width: 35%;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  .hero__attorney-photo {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 400px;
    justify-content: center;
  }

  .hero--page {
    min-height: 320px;
  }

  .hero--page .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__media-logos {
    gap: var(--space-xl);
  }

  .hero__content {
    padding: var(--space-2xl) var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-3xl);
    letter-spacing: -0.02em;
  }

  .hero__subtitle {
    font-size: var(--text-sm);
  }
}

/* ========================================
   Hero Attorney Cutout Photo (right-side)
   ======================================== */

.hero__attorney-cutout {
  position: absolute;
  bottom: 0;
  right: 5%;
  max-height: 85%;
  width: auto;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.5));
}

@media (max-width: 1024px) {
  .hero__attorney-cutout {
    right: 2%;
    max-height: 70%;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .hero__attorney-cutout {
    display: none;
  }
}

/* ========================================
   Media Logo Infinite Marquee
   ======================================== */

.media-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: var(--space-xl);
}

.media-marquee::before,
.media-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.media-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
}

.media-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
}

.media-marquee__track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.media-marquee__track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.media-marquee__item {
  flex-shrink: 0;
  height: 30px;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-smooth);
}

.media-marquee__item:hover {
  opacity: 1;
}

/* ========================================
   Orange Banner Bar (section labels)
   ======================================== */

.section-label--banner {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  padding: 8px 24px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-xl);
}

/* ========================================
   Practice Area Card Considerations List
   ======================================== */

.practice-card__considerations {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.practice-card__considerations li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}

.practice-card__considerations li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 12px;
}

/* ========================================
   Light Section Text Overrides
   ======================================== */

.section--light {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
}

.section--light h2,
.section--light h3 {
  color: var(--color-text-dark);
}

.section--light p {
  color: var(--color-text-dark-muted);
}

.section--light .section-label {
  color: var(--color-accent);
}
