/* Contact page styles */
  .tl-contact-page {
    margin-top: -1.5rem;
  }

.tl-contact-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  min-height: 520px;
  display: flex;
  align-items: end;
  color: var(--tl-ivory);
  border: 1px solid rgba(246, 241, 231, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(135deg, #102448 0%, #0C1830 48%, #101818 100%);
}

.tl-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 11, 11, 0.92) 0%, rgba(8, 11, 11, 0.74) 46%, rgba(8, 11, 11, 0.38) 100%),
    url('/assets/img/downtown.webp');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.tl-contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(195, 165, 23, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(159, 74, 31, 0.14), transparent 24%);
  z-index: 2;
  pointer-events: none;
}

.tl-contact-hero-inner {
  position: relative;
  z-index: 3;
  padding: clamp(2rem, 5vw, 4rem);
  width: 100%;
}

.tl-contact-hero .tl-kicker {
  color: var(--tl-gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.tl-contact-hero h1 {
  font-family: 'Intan';
  font-size: clamp(2.4rem, 6vw, 5.35rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 980px;
  margin-bottom: 0;
  color: var(--tl-ivory);
}

.tl-contact-hero p {
  max-width: 780px;
  color: rgba(246, 241, 231, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
}

  .tl-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
  }

  .tl-contact-card {
    height: 100%;
    background: var(--tl-white);
    border: 1px solid rgba(16, 36, 72, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(16, 36, 72, 0.06);
    text-align: center;
  }

  .tl-contact-icon {
    width: 3.4rem;
    height: 3.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(159, 74, 31, 0.1);
    color: var(--tl-copper);
    margin-bottom: 1rem;
    font-size: 1.35rem;
  }

  .tl-contact-card h2 {
    font-family: 'Intan';
    color: var(--tl-navy);
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
  }

  .tl-contact-card p {
    color: var(--tl-text-muted);
    margin-bottom: 0.35rem;
  }

  .tl-contact-card a {
    font-weight: 800;
  }

  .tl-form-panel {
    background: var(--tl-ivory);
    border-radius: 1.25rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(16, 36, 72, 0.08);
    box-shadow: 0 18px 45px rgba(16, 36, 72, 0.08);
  }

  .tl-form-panel h2,
  .tl-side-panel h2 {
    font-family: 'Intan';
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .tl-form-panel h2 {
    color: var(--tl-text-dark);
  }

  .tl-form-panel p {
    color: var(--tl-text-muted);
  }

  .tl-form-panel .form-label {
    font-weight: 800;
    color: var(--tl-text-dark);
    margin-bottom: 0.35rem;
  }

  .tl-form-panel .form-control,
  .tl-form-panel .form-select {
    border-radius: 0.75rem;
    border: 1px solid rgba(16, 36, 72, 0.16);
    padding: 0.8rem 0.9rem;
    background: rgba(255, 255, 255, 0.9);
  }

  .tl-form-panel .form-control:focus,
  .tl-form-panel .form-select:focus {
    border-color: var(--tl-copper);
    box-shadow: 0 0 0 0.2rem rgba(159, 74, 31, 0.16);
  }

  .tl-side-panel {
    background:
      linear-gradient(135deg, rgba(16, 36, 72, 0.96), rgba(8, 11, 11, 0.98));
    color: var(--tl-ivory);
    border-radius: 1.25rem;
    padding: clamp(2rem, 4vw, 3rem);
    height: 100%;
  }

  .tl-side-panel h2 {
    color: var(--tl-ivory);
  }

  .tl-side-panel p {
    color: rgba(246, 241, 231, 0.82);
  }

  .tl-check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
  }

  .tl-check-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: rgba(246, 241, 231, 0.88);
  }

  .tl-check-list i {
    color: var(--tl-gold);
    margin-top: 0.25rem;
  }

  .tl-legal-note {
    background: rgba(16, 36, 72, 0.06);
    border-left: 4px solid var(--tl-copper);
    border-radius: 0.75rem;
    padding: 1rem;
    color: var(--tl-text-muted);
    font-size: 0.95rem;
  }

  .tl-practice-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  .tl-practice-pills a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(246, 241, 231, 0.1);
    color: var(--tl-ivory);
    border: 1px solid rgba(246, 241, 231, 0.16);
    font-size: 0.92rem;
  }

  .tl-practice-pills a:hover {
    background: rgba(246, 241, 231, 0.18);
  }

  .tl-alert {
    border-radius: 0.9rem;
    border: 0;
    box-shadow: 0 10px 24px rgba(16, 36, 72, 0.08);
  }

  .tl-hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .tl-disclaimer {
    color: var(--tl-text-muted);
  }

  @media (max-width: 767.98px) {
    .tl-contact-hero,
    .tl-form-panel,
    .tl-side-panel {
      padding: 1.5rem;
    }

    .tl-contact-hero {
      min-height: auto;
    }

    .tl-contact-hero-inner,
    .tl-form-panel,
    .tl-side-panel {
      padding: 1.5rem;
    }

    .tl-contact-hero::before {
      background-image:
        linear-gradient(90deg, rgba(8, 11, 11, 0.94), rgba(8, 11, 11, 0.78)),
        url('/assets/img/downtown.webp');
    }
  }
