:root {
  --fp-bg: #0a0a0b;
  --fp-bg-soft: #111214;
  --fp-panel: #18191c;
  --fp-ivory: #f6f1e8;
  --fp-muted: #bbb7af;
  --fp-gold: #d8b977;
  --fp-gold-light: #f0dda8;
  --fp-line: rgba(246, 241, 232, 0.14);
  --fp-radius: 18px;
  --fp-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body.home {
  background: var(--fp-bg);
  color: var(--fp-ivory);
  overflow-x: clip;
}

body.home-menu-open {
  overflow: hidden;
}

body.home .site-footer__copy {
  color: #aaa6a0;
}

.fp-page,
.fp-page *,
.fp-page *::before,
.fp-page *::after {
  box-sizing: border-box;
}

.fp-page {
  overflow: clip;
  background: var(--fp-bg);
  color: var(--fp-ivory);
  font-family: var(--font-body, Inter, sans-serif);
  line-height: 1.6;
}

.fp-page img {
  display: block;
  max-width: 100%;
}

.fp-page h1,
.fp-page h2,
.fp-page h3,
.fp-page p,
.fp-page figure {
  margin-top: 0;
}

.fp-page h1,
.fp-page h2,
.fp-page h3 {
  color: var(--fp-ivory);
  font-family: var(--font-editorial, Georgia, serif);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}

.fp-page a {
  color: inherit;
}

.fp-shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.fp-section {
  padding-block: clamp(72px, 8vw, 116px);
}

.fp-kicker {
  margin-bottom: 15px;
  color: var(--fp-gold-light);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
}

.fp-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.fp-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.8vw, 5rem);
  letter-spacing: -0.05em;
}

.fp-heading > p:last-child,
.fp-heading--split > p {
  color: var(--fp-muted);
  font-size: 1rem;
}

.fp-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.42fr);
  gap: 50px;
  align-items: end;
}

.fp-heading--split > p {
  margin-bottom: 4px;
}

.fp-heading--center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.fp-heading--center h2,
.fp-heading--center > p:last-child {
  margin-inline: auto;
}

.fp-heading--center > p:last-child {
  max-width: 650px;
  margin-top: 18px;
}

.fp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.fp-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 25px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.fp-button--primary {
  background: var(--fp-gold-light);
  color: #18130c !important;
}

.fp-button--ghost {
  border-color: rgba(246, 241, 232, 0.55);
  background: rgba(10, 10, 11, 0.34);
  color: var(--fp-ivory) !important;
  backdrop-filter: blur(8px);
}

.fp-button:hover,
.fp-button:focus-visible {
  transform: translateY(-2px);
}

.fp-page a:focus-visible,
.fp-page button:focus-visible,
body.home .site-header a:focus-visible,
body.home .site-header button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* Hero */
.fp-hero {
  position: relative;
  min-height: min(820px, 92svh);
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0 82px;
  text-align: center;
}

.fp-hero__media,
.fp-hero__overlay {
  position: absolute;
  inset: 0;
}

.fp-hero__media {
  z-index: -2;
  background: #121212;
}

.fp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
}

.fp-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.6) 0%, rgba(8, 8, 9, 0.48) 48%, rgba(8, 8, 9, 0.94) 100%),
    radial-gradient(circle at 50% 46%, transparent 0%, rgba(8, 8, 9, 0.28) 72%);
}

.fp-hero__content {
  max-width: 980px;
}

.fp-hero h1 {
  margin: 0 auto 25px;
  font-size: clamp(3.6rem, 8vw, 8rem);
  letter-spacing: -0.065em;
  text-shadow: 0 6px 34px rgba(0, 0, 0, 0.3);
}

.fp-hero__content > p:not(.fp-kicker) {
  max-width: 700px;
  margin: 0 auto 30px;
  color: rgba(246, 241, 232, 0.91);
  font-size: clamp(1rem, 1.75vw, 1.2rem);
  line-height: 1.55;
  text-wrap: balance;
}

/* Service choice */
.fp-services {
  position: relative;
  border-bottom: 1px solid var(--fp-line);
  background: var(--fp-bg);
}

.fp-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fp-service-card {
  --fp-card-accent: var(--fp-gold);
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  color: var(--fp-ivory);
  text-decoration: none;
  box-shadow: var(--fp-shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.fp-service-card--dj { --fp-card-accent: #d66d89; }
.fp-service-card--espuma { --fp-card-accent: #76cff2; }
.fp-service-card--castillos { --fp-card-accent: #f4c95e; }

.fp-service-card:hover,
.fp-service-card:focus-visible {
  border-color: color-mix(in srgb, var(--fp-card-accent) 70%, transparent);
  transform: translateY(-3px);
}

.fp-service-card__image,
.fp-service-card__shade {
  position: absolute;
  inset: 0;
}

.fp-service-card__image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.fp-service-card:hover .fp-service-card__image {
  transform: scale(1.025);
}

.fp-service-card__shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 8, 9, 0.08) 10%, rgba(8, 8, 9, 0.48) 55%, rgba(8, 8, 9, 0.96) 100%);
}

.fp-service-card__body {
  width: 100%;
  display: block;
  padding: clamp(25px, 4vw, 42px);
}

.fp-service-card__number {
  display: block;
  margin-bottom: 15px;
  color: var(--fp-card-accent);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.fp-service-card h3 {
  max-width: 550px;
  margin-bottom: 13px;
  font-size: clamp(2.15rem, 4vw, 4rem);
  letter-spacing: -0.045em;
}

.fp-service-card__desc {
  max-width: 500px;
  display: block;
  color: rgba(246, 241, 232, 0.84);
  font-size: 0.9rem;
  line-height: 1.55;
}

.fp-service-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.fp-service-card__features > span {
  border: 1px solid rgba(246, 241, 232, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(8, 8, 9, 0.45);
  color: rgba(246, 241, 232, 0.9);
  font-size: 0.68rem;
  font-weight: 650;
  backdrop-filter: blur(8px);
}

.fp-service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 23px;
  color: var(--fp-card-accent);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fp-service-card__cta > span {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.fp-service-card:hover .fp-service-card__cta > span {
  transform: translateX(3px);
}

/* Event finder */
.fp-organizer {
  background: var(--fp-bg-soft);
}

.fp-organizer__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(52px, 9vw, 120px);
  align-items: center;
}

.fp-organizer .fp-heading {
  margin-bottom: 0;
}

.fp-organizer .fp-heading h2 {
  font-size: clamp(2.6rem, 5vw, 5.1rem);
}

.fp-organizer .fp-heading > p:last-child {
  max-width: 480px;
  margin-top: 22px;
}

.fp-event-finder {
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  padding: clamp(22px, 4vw, 38px);
  background: var(--fp-panel);
  box-shadow: var(--fp-shadow);
}

.fp-event-finder__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--fp-line);
}

.fp-event-finder__tabs button {
  min-height: 42px;
  border: 1px solid var(--fp-line);
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  color: var(--fp-muted);
  font: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.fp-event-finder__tabs button[aria-pressed="true"] {
  border-color: var(--fp-gold);
  background: rgba(216, 185, 119, 0.11);
  color: var(--fp-gold-light);
}

.fp-event-finder__results {
  min-height: 170px;
  padding-top: 27px;
}

.fp-event-finder__results p {
  max-width: 560px;
  margin-bottom: 22px;
  color: var(--fp-ivory);
  font-family: var(--font-editorial, Georgia, serif);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.35;
}

.fp-event-finder__results [data-event-panel] > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.fp-event-finder__results a {
  border-bottom: 1px solid var(--fp-gold);
  padding: 6px 1px;
  color: var(--fp-gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Contextual discovery */
.fp-combinations {
  border-block: 1px solid var(--fp-line);
  background: var(--fp-bg);
}

.fp-combinations__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  background: var(--fp-line);
  overflow: hidden;
}

.fp-combinations article {
  min-height: 280px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--fp-panel);
}

.fp-combinations article > span {
  color: var(--fp-gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.fp-combinations h3 {
  margin: 45px 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.fp-combinations article > p {
  color: var(--fp-muted);
  font-size: 0.88rem;
}

.fp-combinations article a {
  display: inline-block;
  margin: 8px 14px 0 0;
  color: var(--fp-gold-light);
  font-size: 0.73rem;
  font-weight: 800;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

/* Real material */
.fp-real {
  background: var(--fp-bg-soft);
}

.fp-real__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 115px;
  gap: 13px;
}

.fp-real__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  background: var(--fp-panel);
}

.fp-real__item--photo { grid-column: span 7; grid-row: span 4; }
.fp-real__item--dj { grid-column: span 5; grid-row: span 2; }
.fp-real__item--foam { grid-column: span 3; grid-row: span 2; }
.fp-real__item--castle { grid-column: span 2; grid-row: span 2; }

.fp-real__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.fp-real__item:hover img {
  transform: scale(1.025);
}

.fp-real__item figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(8, 8, 9, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* Trust */
.fp-trust {
  background: var(--fp-bg);
}

.fp-trust__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(54px, 9vw, 120px);
  align-items: start;
}

.fp-trust .fp-heading {
  position: sticky;
  top: 115px;
  margin-bottom: 0;
}

.fp-trust .fp-heading h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.7rem);
}

.fp-trust .fp-heading > p:last-child {
  max-width: 500px;
  margin-top: 22px;
}

.fp-trust__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--fp-line);
  list-style: none;
}

.fp-trust__list li {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--fp-line);
}

.fp-trust__list strong {
  color: var(--fp-ivory);
  font-size: 0.9rem;
}

.fp-trust__list span {
  color: var(--fp-muted);
  font-size: 0.88rem;
}

/* Final CTA */
.fp-final {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0;
  background:
    linear-gradient(rgba(9, 9, 10, 0.72), rgba(9, 9, 10, 0.94)),
    url("../assets/images_home/dj-karaoke.jpg") center / cover no-repeat;
  text-align: center;
}

.fp-final__content {
  max-width: 820px;
}

.fp-final h2 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: -0.06em;
}

.fp-final__content > p:not(.fp-kicker) {
  max-width: 610px;
  margin: 0 auto 22px;
  color: rgba(246, 241, 232, 0.86);
}

.fp-final__phone {
  display: block;
  margin-bottom: 27px;
  color: var(--fp-gold-light);
  font-family: var(--font-editorial, Georgia, serif);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

/* Reveals stay visible without JS. */
.fp-reveal {
  opacity: 1;
  transform: none;
}

.js .fp-reveal {
  opacity: 1;
  transform: translateY(14px);
  transition: transform 420ms ease;
}

.js .fp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Home-specific robust mobile navigation. */
body.home .site-header.is-scrolled,
body.home .site-header.is-menu-open {
  background: rgba(9, 9, 10, 0.96);
}

body.home-menu-open .phone-float,
body.home-menu-open .whatsapp-float {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1000px) {
  .fp-service-card {
    min-height: 460px;
  }

  .fp-organizer__layout,
  .fp-trust__layout {
    grid-template-columns: 1fr;
  }

  .fp-trust .fp-heading {
    position: static;
  }

  .fp-real__grid {
    grid-auto-rows: 95px;
  }
}

@media (max-width: 900px) {
  body.home .site-header__logo {
    position: relative;
    z-index: 1004;
  }

  body.home .site-header__nav {
    position: static;
    inset: auto;
    z-index: auto;
    width: auto;
    height: auto;
    min-height: 0;
    display: block;
    margin-left: auto;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.home .site-header__toggle {
    z-index: 1004;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(246, 241, 232, 0.25);
    border-radius: 50%;
    padding: 0;
    background: rgba(10, 10, 11, 0.42);
  }

  body.home .site-header__nav ul {
    position: fixed;
    z-index: 1002;
    inset: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow-y: auto;
    margin: 0;
    padding: calc(96px + env(safe-area-inset-top)) 24px calc(40px + env(safe-area-inset-bottom));
    background: rgba(9, 9, 10, 0.99);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 190ms ease, visibility 190ms, transform 190ms ease;
  }

  body.home .site-header__nav[data-open="true"] ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  body.home .site-header__nav li {
    width: min(420px, 100%);
    border-bottom: 1px solid var(--fp-line);
    text-align: center;
  }

  body.home .site-header__nav a {
    display: block;
    padding: 17px 4px;
    color: var(--fp-ivory);
    font-family: var(--font-editorial, Georgia, serif);
    font-size: clamp(1.6rem, 8vw, 2.3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  body.home .site-header__nav a::after {
    display: none;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 75px;
  }

  .fp-shell {
    width: min(100% - 32px, 1200px);
  }

  .fp-section {
    padding-block: 68px;
  }

  .fp-heading--split {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .fp-heading h2 {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .fp-hero {
    min-height: 690px;
    padding: 105px 0 64px;
  }

  .fp-hero__media img {
    object-position: 53% 50%;
  }

  .fp-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .fp-hero__content > p:not(.fp-kicker) {
    font-size: 0.96rem;
  }

  .fp-services__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fp-service-card {
    min-height: 390px;
  }

  .fp-service-card h3 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .fp-organizer__layout {
    gap: 38px;
  }

  .fp-event-finder {
    padding: 20px;
  }

  .fp-event-finder__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 18px;
    scrollbar-width: thin;
  }

  .fp-event-finder__tabs button {
    flex: 0 0 auto;
  }

  .fp-combinations__grid {
    grid-template-columns: 1fr;
  }

  .fp-combinations article {
    min-height: 0;
  }

  .fp-combinations h3 {
    margin-top: 25px;
  }

  .fp-real__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 125px;
    gap: 9px;
  }

  .fp-real__item--photo,
  .fp-real__item--dj {
    grid-column: span 2;
    grid-row: span 2;
  }

  .fp-real__item--foam,
  .fp-real__item--castle {
    grid-column: span 1;
    grid-row: span 2;
  }

  .fp-trust__list li {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 22px 0;
  }

  .fp-final {
    min-height: 580px;
  }

  .fp-final h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }
}

@media (max-width: 520px) {
  .fp-actions {
    width: 100%;
    flex-direction: column;
  }

  .fp-actions .fp-button {
    width: 100%;
  }

  .fp-hero {
    min-height: 660px;
  }

  .fp-service-card {
    min-height: 365px;
  }

  .fp-service-card__body {
    padding: 24px 21px;
  }

  .fp-service-card__desc {
    font-size: 0.84rem;
  }

  .fp-service-card__features > span {
    font-size: 0.64rem;
  }

  .fp-real__grid {
    grid-auto-rows: 105px;
  }
}

@media (max-width: 340px) {
  .fp-shell {
    width: calc(100% - 24px);
  }

  .fp-hero h1 {
    font-size: 2.75rem;
  }

  .fp-service-card__features {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fp-page *,
  .fp-page *::before,
  .fp-page *::after,
  body.home .site-header *,
  body.home .site-header *::before,
  body.home .site-header *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
