/* =============================================================================
   LAB2HOME — Public Website Styles (Module 2)
   Extends theme.css without modifying Module 1 core theme.
   ============================================================================= */

.l2h-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.l2h-hero .carousel,
.l2h-hero .carousel-inner,
.l2h-hero .carousel-item {
  min-height: calc(100vh - 76px);
}

.l2h-hero .carousel-item:not(.active) .l2h-hero-slide {
  content-visibility: auto;
  contain-intrinsic-size: 100vw 70vh;
}

.l2h-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.25) 100%);
}

.l2h-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 4rem 0;
}

.l2h-hero-kicker {
  display: inline-block;
  color: var(--l2h-gold);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.l2h-hero-title {
  font-family: var(--l2h-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.1rem;
  color: #fff;
}

.l2h-hero-subtitle {
  font-size: 1.15rem;
  color: var(--l2h-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.l2h-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.l2h-hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--l2h-gold);
}

.l2h-hero .carousel-control-prev,
.l2h-hero .carousel-control-next {
  width: 8%;
  opacity: 0.7;
}

.l2h-page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--l2h-border);
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(201, 162, 39, 0.12), transparent 60%),
    transparent;
}

.l2h-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.l2h-page-hero p {
  color: var(--l2h-muted);
  max-width: 40rem;
  margin-bottom: 0;
}

.l2h-content-block {
  font-size: 1.05rem;
  color: rgba(245, 245, 247, 0.88);
  line-height: 1.75;
}

.l2h-content-block h2,
.l2h-content-block h3,
.l2h-content-block h4 {
  color: #fff;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}

.l2h-content-block p {
  margin-bottom: 1rem;
}

.l2h-content-block ul {
  padding-left: 1.2rem;
  color: var(--l2h-muted);
}

.l2h-content-block li {
  margin-bottom: 0.45rem;
}

.l2h-section-title {
  font-family: var(--l2h-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.l2h-section-lead {
  color: var(--l2h-muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.l2h-testimonial {
  height: 100%;
  padding: 1.75rem;
}

.l2h-testimonial-stars {
  color: var(--l2h-gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.l2h-testimonial-text {
  color: rgba(245, 245, 247, 0.9);
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
}

.l2h-testimonial-name {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.l2h-cta-band {
  background: linear-gradient(120deg, rgba(201, 162, 39, 0.16), rgba(255, 255, 255, 0.03));
  border-top: 1px solid var(--l2h-border);
  border-bottom: 1px solid var(--l2h-border);
}

.l2h-site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--l2h-border);
  background: rgba(0, 0, 0, 0.45);
}

.l2h-footer-title {
  color: #fff;
  font-family: var(--l2h-display);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.l2h-footer-links,
.l2h-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.l2h-footer-links li,
.l2h-footer-contact li {
  margin-bottom: 0.55rem;
}

.l2h-footer-links a,
.l2h-footer-contact a {
  color: var(--l2h-muted);
}

.l2h-footer-links a:hover,
.l2h-footer-contact a:hover {
  color: var(--l2h-gold);
}

.l2h-footer-contact li {
  display: flex;
  gap: 0.65rem;
  color: var(--l2h-muted);
}

.l2h-footer-contact i {
  color: var(--l2h-gold);
  margin-top: 0.15rem;
}

.l2h-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 1.15rem 0 1.75rem;
  border-top: 1px solid var(--l2h-border);
  color: var(--l2h-muted);
  font-size: 0.9rem;
}

.l2h-footer-credit {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1.45;
}

.l2h-accordion .accordion-item {
  background: transparent;
  border: 1px solid var(--l2h-border);
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.l2h-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.l2h-accordion .accordion-button:not(.collapsed) {
  background: rgba(201, 162, 39, 0.12);
  color: var(--l2h-gold-bright);
}

.l2h-accordion .accordion-button::after {
  filter: invert(1);
}

.l2h-accordion .accordion-body {
  background: rgba(0, 0, 0, 0.25);
  color: var(--l2h-muted);
}

.l2h-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--l2h-gold-dim);
  color: var(--l2h-gold);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .l2h-hero,
  .l2h-hero .carousel,
  .l2h-hero .carousel-inner,
  .l2h-hero .carousel-item,
  .l2h-hero-slide {
    min-height: 78vh;
  }

  .l2h-hero-content {
    padding: 3rem 0;
  }
}
