:root {
  --vh-navy: #0C1D2C;
  --vh-gold: #D4A02F;
  --vh-warm: #F6F1E8;
  --vh-cool: #EEF4FF;
}

.hero-bg,
.tw-hero-bg {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  background:
    radial-gradient(1200px 700px at 75% 35%, var(--vh-warm) 0%, var(--vh-cool) 45%, #ffffff 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--vh-navy) 12%, transparent) 0%,
    transparent 55%,
    color-mix(in srgb, var(--vh-gold) 10%, transparent) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-form-card {
  backdrop-filter: saturate(1.05);
  -webkit-backdrop-filter: saturate(1.05);
  border: 1px solid color-mix(in srgb, var(--vh-gold) 18%, #fff);
  box-shadow: 0 10px 30px rgba(12, 29, 44, 0.1);
  border-radius: 18px;
}

@media (max-width: 1024px) {
  .hero-bg {
    background: radial-gradient(900px 600px at 70% 20%, var(--vh-warm) 0%, var(--vh-cool) 50%, #fff 100%);
  }
}

@media (max-width: 640px) {
  .hero-bg {
    background: radial-gradient(700px 450px at 50% 10%, var(--vh-warm) 0%, #ffffff 65%);
  }

  .hero-bg::after {
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--vh-navy) 10%, transparent) 0%,
      transparent 100%
    );
  }
}

#book-btn {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  display: block;
  padding: 0.75rem 1rem;
  background-color: #082541;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#book-btn:hover {
  opacity: 0.9;
}

/* Audio player spacing inside cards */
.card audio {
  display: block;
  width: 100%;
  border-radius: 10px;
}

/* Make <details> summary look tappable */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details > summary {
  padding: 0.25rem 0;
}

.hero-lead-panel {
  position: relative;
  z-index: 1;
}

.hero-lead-panel::before {
  content: "";
  position: absolute;
  inset: -1.5rem;
  border-radius: 2rem;
  background:
    radial-gradient(120% 100% at 15% 10%, rgba(234, 179, 8, 0.18), transparent 70%),
    linear-gradient(135deg, rgba(8, 37, 65, 0.08), rgba(20, 82, 140, 0.05));
  z-index: -1;
}

@media (min-width: 1024px) {
  .hero-lead-panel::before {
    inset: -2rem;
  }
}

.hero-lead-copy {
  text-wrap: balance;
}

.hero-lead-copy p {
  color: rgba(8, 37, 65, 0.78);
}

.hero-contact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 244, 255, 0.74));
  border: 1px solid rgba(234, 179, 8, 0.55);
  box-shadow:
    0 0 0 1.5px rgba(234, 179, 8, 0.25),
    0 32px 60px -26px rgba(8, 37, 65, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-contact-card input,
.hero-contact-card select,
.hero-contact-card textarea {
  background-color: rgba(255, 255, 255, 0.88);
  border-color: rgba(8, 37, 65, 0.2);
  box-shadow: inset 0 1px 2px rgba(8, 37, 65, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-contact-card input:focus,
.hero-contact-card select:focus,
.hero-contact-card textarea:focus {
  border-color: rgba(12, 74, 110, 0.55);
  box-shadow: 0 0 0 3px rgba(13, 82, 139, 0.2);
}

.hero-contact-card button {
  background: linear-gradient(135deg, #0a224e, #1b4c7b);
  color: #fff;
  border: 1px solid rgba(234, 179, 8, 0.55);
  box-shadow:
    0 0 0 1px rgba(234, 179, 8, 0.25),
    0 20px 36px -18px rgba(8, 37, 65, 0.65);
}

.hero-contact-card button:hover {
  background: linear-gradient(135deg, #0d2b5f, #215b8f);
}

.hero-contact-card button:focus-visible {
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.35);
}
