/* Landing mode: hero, contact form, slim header/footer. Loaded only while landing mode is on. */

/* Header: logo only */
.landing-mode #masthead .navbar > .container { justify-content: center; }
.landing-mode #masthead .navbar-brand { margin-right: 0; }

/* Hero (header is position: fixed, ~75px tall) */
.landing-hero-section { padding: 96px 0 64px; margin-top: 50px; }
.landing-hero-glow {
  position: relative;
  width: 95%;
  margin: 0 auto;
}
.landing-hero-glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 62% -8px -52px;
  background: linear-gradient(90deg, #480e57 0%, #e81752 55%, #fbeb44 100%);
  filter: blur(40px);
  opacity: 0.42;
}
.landing-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, #480e57 0%, #e81752 55%, #fbeb44 100%);
}
.landing-hero-content {
  max-width: 680px;
  width: 100%;
  padding: 72px 3rem;
  text-align: center;
  font-family: var(--font-body);
  text-shadow: 0 1px 12px rgba(72, 14, 87, 0.25);
}
.landing-hero-content h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(42px, 5vw, 72px) !important;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 32px;
}
.landing-hero-content p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.landing-hero-content p:last-of-type { margin-bottom: 0; }
/* Sign-off: "The Soundful Team" */
.landing-hero-content p:last-of-type strong { display: inline-block; margin-top: 14px; }
/* Even line lengths for centred text, no single-word last lines */
.landing-hero-content h1,
.landing-hero-content p { text-wrap: balance; }

/* Wider copy on desktop only */
@media (min-width: 992px) {
  .landing-hero-content { max-width: 960px; padding: 80px 4rem; }
  .landing-hero-content p { font-size: 18px; }
}

/* Contact modal */
.landing-contact-modal .modal-dialog { max-width: 560px; }
.landing-contact-modal .modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
}
.landing-contact-modal .modal-header {
  border-bottom: 0;
  padding: 28px 28px 8px;
  border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, #480e57 0%, #e81752 55%, #fbeb44 100%) 1;
}
.landing-contact-modal .modal-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 28px;
  margin: 0;
}
.landing-contact-modal .modal-body { padding: 8px 28px 28px; }
.landing-contact .ff-el-form-control {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  border-color: #d9d9d9;
}
.landing-contact .ff-el-form-control:focus {
  border-color: #e81752;
  box-shadow: 0 0 0 3px rgba(232, 23, 82, 0.15);
}
.landing-contact .ff-el-input--label label { font-weight: 600; }
.landing-contact .ff-btn-submit {
  border-radius: 100px !important;
  padding: 14px 32px !important;
  font-weight: 500;
  background-color: #000 !important;
  color: #fff !important;
  transition: background-color 0.3s;
}
.landing-contact .ff-btn-submit:hover { background-color: #e81752 !important; }
.landing-contact .ff-message-success {
  border: 0;
  border-radius: 12px;
  background: #f6f6f6;
  text-align: center;
  font-size: 18px;
  padding: 24px;
  box-shadow: none;
}

/* Full-height page: footer always sits at the bottom of the screen */
.landing-mode #page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.landing-mode #footer { margin-top: auto; }
/* Gradient card stretches to fill the space between header and footer;
   the text stays centred inside it */
.landing-main,
.landing-hero-section,
.landing-hero-glow {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
.landing-hero { flex: 1 0 auto; }

/* Footer */
.landing-mode .subfooter { border-top: 0; }
/* Copyright centred on top, links centred below (all widths) */
.landing-footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.landing-footer-links,
.landing-legal-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 20px;
  font-size: 14px;
}
/* Small phones: one link per line */
@media (max-width: 473px) {
  .landing-footer-links,
  .landing-legal-menu { flex-direction: column; gap: 12px; }
}
.landing-legal-menu a,
.landing-footer-contact { color: var(--black); text-decoration: none; }
.landing-footer-contact { font-size: 14px; }
.landing-legal-menu a:hover, .landing-legal-menu a:focus-visible,
.landing-footer-contact:hover, .landing-footer-contact:focus-visible { color: var(--black); text-decoration: underline; }

/* Phones and tablets: clear the header so all four corners show, more breathing room */
@media (max-width: 991px) {
  .landing-hero-glow { width: calc(100% - 48px); }
  .landing-hero-content { padding: 64px 48px; }
}

@media (max-width: 767px) {
  .landing-hero { min-height: 0; border-radius: 24px; }
  .landing-hero-glow { width: calc(100% - 32px); }
  .landing-hero-content { padding: 48px 28px; }
  .landing-hero-content h1 { margin-bottom: 24px; }
  .landing-hero-section { padding: 88px 0 48px; }
  .landing-contact-modal .modal-header { padding: 24px 20px 8px; }
  .landing-contact-modal .modal-body { padding: 8px 20px 24px; }
}
