/* ==========================================================
   GIAPPONE LANDING
   Mobile first · estilos encapsulados bajo .jp-page
   ========================================================== */

.jp-page {
  --jp-bg: #063a69;
  --jp-bg-dark: #032d52;
  --jp-bg-deep: #01233f;
  --jp-bg-panel: #062e51;
  --jp-text: #f7f1e7;
  --jp-text-muted: #d4e0ea;
  --jp-gold: #d8b06e;
  --jp-pink: #f4a9c4;
  --jp-line: rgba(255, 255, 255, 0.18);
  --jp-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --jp-radius: 0.75rem;
  --jp-font-display: "Cormorant Garamond", Georgia, serif;
  --jp-font-sans: "Montserrat", Arial, sans-serif;

  width: 100%;
  overflow: clip;
  background: var(--jp-bg);
  color: var(--jp-text);
  font-family: var(--jp-font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

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

.jp-page :where(h1, h2, h3, h4, p, ul) {
  margin: 0;
}

.jp-page :where(img, svg) {
  display: block;
  max-width: 100%;
}

.jp-page a {
  color: inherit;
}

.jp-page button,
.jp-page input {
  font: inherit;
}

.jp-container {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.jp-eyebrow {
  margin-bottom: 0.65rem;
  color: var(--jp-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* Botones */
.jp-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--jp-pink);
  border-radius: 999px;
  background: var(--jp-pink);
  color: #1c2740;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.jp-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.jp-button:focus-visible,
.jp-text-link:focus-visible,
.jp-accordion__trigger:focus-visible {
  outline: 3px solid rgba(244, 169, 196, 0.65);
  outline-offset: 3px;
}

.jp-button--ghost {
  border-color: var(--jp-gold);
  background: transparent;
  color: var(--jp-text);
}

.jp-text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--jp-pink);
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

/* Hero */
.jp-hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-block: 5rem;
  text-align: center;
  background:
    linear-gradient(rgba(1, 25, 47, 0.45), rgba(2, 39, 70, 0.86)),
    url("../img/hero/hero-mobile.webp") center / cover no-repeat;
}

.jp-hero__inner {
  max-width: 43rem;
}

.jp-hero h1 {
  color: var(--jp-gold);
  font-family: var(--jp-font-display);
  font-size: clamp(2.5rem, 11vw, 4.75rem);
  font-weight: 600;
  line-height: 0.92;
  text-wrap: balance;
}

.jp-hero__lead {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  font-family: var(--jp-font-display);
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  line-height: 1.22;
}

.jp-hero__text {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--jp-text-muted);
  font-size: 0.87rem;
}

/* Intro de secciones */
.jp-section-intro {
  min-height: 29rem;
  display: grid;
  place-items: center;
  padding-block: 5rem;
  text-align: center;
  background-position: center;
  background-size: cover;
}

.jp-section-intro--traditional {
  background:
    linear-gradient(rgba(2, 37, 67, 0.35), rgba(3, 52, 91, 0.8)),
    url("../img/hero/traditional-intro-mobile.webp") center / cover no-repeat;
}

.jp-section-intro--contemporary {
  background:
    linear-gradient(rgba(1, 31, 57, 0.25), rgba(3, 49, 84, 0.82)),
    url("../img/hero/contemporary-intro-mobile.webp") center / cover no-repeat;
}

.jp-section-intro__content {
  max-width: 45rem;
}

.jp-section-intro h2,
.jp-food h2,
.jp-benefits h2,
.jp-event h2,
.jp-faq h2,
.jp-final-cta h2,
.jp-split-banner h2 {
  color: var(--jp-gold);
  font-family: var(--jp-font-display);
  font-size: clamp(2.2rem, 8vw, 4.1rem);
  font-weight: 600;
  line-height: 1;
  text-wrap: balance;
}

.jp-section-intro p:not(.jp-eyebrow) {
  max-width: 35rem;
  margin: 1rem auto 0;
  font-family: var(--jp-font-display);
  font-size: 1.2rem;
  line-height: 1.25;
}

/* Feature */
.jp-feature {
  display: grid;
  background: var(--jp-bg);
}

.jp-feature__media {
  min-height: 23rem;
}

.jp-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 23rem;
  object-fit: cover;
}

.jp-feature__content {
  padding: 3.5rem 1rem;
}

.jp-feature__content h3 {
  max-width: 34rem;
  color: var(--jp-gold);
  font-family: var(--jp-font-display);
  font-size: clamp(1.85rem, 7vw, 2.75rem);
  font-weight: 600;
  line-height: 1.05;
}

.jp-feature__intro {
  max-width: 41rem;
  margin-top: 1rem;
  color: var(--jp-text-muted);
  font-size: 0.9rem;
}

/* Acordeones */
.jp-accordion {
  width: 100%;
  margin-top: 1.5rem;
}

.jp-accordion__item {
  overflow: hidden;
  border-bottom: 1px solid var(--jp-line);
  background: var(--jp-bg-panel);
}

.jp-accordion__item + .jp-accordion__item {
  margin-top: 0.25rem;
}

.jp-accordion__item h3,
.jp-accordion__item h4 {
  font: inherit;
}

.jp-accordion__trigger {
  width: 100%;
  min-height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--jp-text);
  text-align: left;
  cursor: pointer;
}

.jp-accordion__trigger span:first-child {
  font-size: 0.77rem;
  font-weight: 600;
}

.jp-accordion__icon {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 0.85rem;
}

.jp-accordion__icon::before,
.jp-accordion__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.75rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.jp-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.jp-accordion__trigger[aria-expanded="true"] .jp-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.jp-accordion__panel {
  overflow: hidden;
}

.jp-accordion__body {
  display: grid;
  gap: 0.9rem;
  padding: 0 0.85rem 1rem;
  color: var(--jp-text-muted);
  font-size: 0.78rem;
}

.jp-accordion__body img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 0.25rem;
}

/* Gastronomía */
.jp-food {
  padding-block: 5rem;
  background:
    radial-gradient(circle at 30% 0%, rgba(28, 102, 153, 0.22), transparent 34rem),
    var(--jp-bg-dark);
}

.jp-food__header,
.jp-food__dishes,
.jp-food__culture {
  text-align: center;
}

.jp-food__header p,
.jp-food__dishes > p,
.jp-food__culture > p {
  max-width: 47rem;
  margin: 1rem auto 0;
  color: var(--jp-text-muted);
  font-size: 0.9rem;
}

.jp-food h3 {
  color: var(--jp-gold);
  font-family: var(--jp-font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  line-height: 1.05;
}

.jp-divider {
  width: 2.25rem;
  height: 2.25rem;
  margin: 3rem auto;
  border: 1px solid rgba(216, 176, 110, 0.65);
  transform: rotate(45deg);
}

.jp-dish-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  margin-top: 2.5rem;
}

.jp-dish:last-child {
  grid-column: 1 / -1;
  width: min(50%, 11rem);
  justify-self: center;
}

.jp-dish img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: contain;
  filter: drop-shadow(0 15px 18px rgba(0, 0, 0, 0.28));
}

.jp-dish h4 {
  margin-top: 0.65rem;
  color: var(--jp-gold);
  font-family: var(--jp-font-display);
  font-size: 1.15rem;
}

.jp-card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: left;
}

.jp-card {
  overflow: hidden;
  border: 1px solid var(--jp-line);
  border-radius: var(--jp-radius);
  background: rgba(4, 42, 74, 0.72);
}

.jp-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.jp-card__content {
  padding: 1.2rem;
}

.jp-card h4 {
  color: var(--jp-gold);
  font-family: var(--jp-font-display);
  font-size: 1.6rem;
}

.jp-card__subtitle {
  margin-top: 0.15rem;
  color: var(--jp-text);
  font-size: 0.8rem;
  font-weight: 600;
}

.jp-card__content > p:last-child {
  margin-top: 0.7rem;
  color: var(--jp-text-muted);
  font-size: 0.8rem;
}

/* Banner artistas */
.jp-split-banner {
  display: grid;
  background: var(--jp-bg-deep);
}

.jp-split-banner__content {
  padding: 3.5rem 1rem;
}

.jp-split-banner__content p {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--jp-text-muted);
  font-size: 0.9rem;
}

.jp-split-banner__media img {
  width: 100%;
  min-height: 19rem;
  height: 100%;
  object-fit: cover;
}

/* Beneficios */
.jp-benefits {
  padding-block: 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--jp-bg), var(--jp-bg-dark));
}

.jp-benefits__header p {
  max-width: 50rem;
  margin: 1rem auto 0;
  color: var(--jp-text-muted);
}

.jp-benefits__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.jp-benefits__grid article {
  padding: 1.4rem;
  border: 1px solid var(--jp-line);
  border-radius: var(--jp-radius);
}

.jp-benefits__grid span {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--jp-gold);
}

.jp-benefits__grid p {
  font-size: 0.86rem;
}

.jp-benefits__question {
  margin-top: 2rem;
  font-family: var(--jp-font-display);
  font-size: 1.2rem;
}

/* Evento */
.jp-event {
  padding-block: 5rem;
  background:
    linear-gradient(rgba(3, 49, 84, 0.88), rgba(3, 49, 84, 0.92)),
    url("../img/sections/event-bg.webp") center / cover no-repeat;
}

.jp-event__header {
  text-align: center;
}

.jp-event__header > p:last-child {
  max-width: 47rem;
  margin: 1rem auto 0;
  color: var(--jp-text-muted);
}

.jp-event__panel {
  display: grid;
  gap: 1px;
  margin-top: 2.5rem;
  border: 1px solid var(--jp-line);
  background: var(--jp-line);
  box-shadow: var(--jp-shadow);
}

.jp-event__dates,
.jp-event__tickets {
  background: rgba(2, 43, 76, 0.92);
}

.jp-event__dates {
  display: grid;
}

.jp-event__dates article {
  padding: 1.35rem;
  text-align: center;
  border-bottom: 1px solid var(--jp-line);
}

.jp-event__dates p,
.jp-event__dates span {
  font-size: 0.75rem;
}

.jp-event__dates strong {
  display: block;
  color: var(--jp-gold);
  font-family: var(--jp-font-display);
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1;
}

.jp-event__dates .jp-event__place {
  margin-top: 0.3rem;
  font-size: 1.7rem;
}

.jp-event__tickets {
  padding: 1.5rem;
}

.jp-event__tickets h3 {
  color: var(--jp-gold);
  font-family: var(--jp-font-display);
  font-size: 1.8rem;
}

.jp-event__tickets p {
  margin-top: 0.9rem;
  color: var(--jp-text-muted);
  font-size: 0.8rem;
}

.jp-event__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}

/* FAQ */
.jp-faq {
  padding-block: 5rem;
  background:
    radial-gradient(circle at 0% 100%, rgba(244, 169, 196, 0.16), transparent 22rem),
    var(--jp-bg);
}

.jp-faq__inner {
  display: grid;
  gap: 2rem;
}

.jp-accordion--faq {
  margin-top: 0;
}

/* CTA final */
.jp-final-cta {
  width: min(100% - 1.5rem, 70rem);
  display: grid;
  margin: 0 auto 5rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--jp-bg-deep);
  box-shadow: var(--jp-shadow);
}

.jp-final-cta__calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1rem;
  background: #f7ddea;
  color: #193450;
  text-align: center;
}

.jp-final-cta__calendar > p {
  grid-column: 1 / -1;
  margin-bottom: 0.6rem;
  color: #a04f72;
  font-family: var(--jp-font-display);
}

.jp-final-cta__calendar div {
  display: grid;
}

.jp-final-cta__calendar span {
  font-size: 0.66rem;
  text-transform: uppercase;
}

.jp-final-cta__calendar strong {
  font-family: var(--jp-font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.jp-final-cta__content {
  padding: 2rem 1.4rem;
}

.jp-final-cta__content p {
  margin-top: 1rem;
  color: var(--jp-text-muted);
  font-size: 0.88rem;
}

.jp-final-cta__media img {
  width: 100%;
  min-height: 18rem;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (min-width: 48rem) {
  .jp-container {
    width: min(100% - 4rem, 72rem);
  }

  .jp-hero {
    background-image:
      linear-gradient(rgba(1, 25, 47, 0.4), rgba(2, 39, 70, 0.84)),
      url("../img/hero/hero-desktop.webp");
  }

  .jp-section-intro--traditional {
    background-image:
      linear-gradient(rgba(2, 37, 67, 0.3), rgba(3, 52, 91, 0.8)),
      url("../img/hero/traditional-intro-desktop.webp");
  }

  .jp-section-intro--contemporary {
    background-image:
      linear-gradient(rgba(1, 31, 57, 0.22), rgba(3, 49, 84, 0.82)),
      url("../img/hero/contemporary-intro-desktop.webp");
  }

  .jp-feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jp-feature--reverse .jp-feature__media {
    order: 2;
  }

  .jp-feature--reverse .jp-feature__content {
    order: 1;
  }

  .jp-feature__media,
  .jp-feature__media img {
    min-height: 38rem;
  }

  .jp-feature__content {
    align-self: center;
    padding: 4rem clamp(2rem, 5vw, 5rem);
  }

  .jp-dish-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .jp-dish:last-child {
    grid-column: auto;
    width: auto;
  }

  .jp-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jp-split-banner {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .jp-split-banner__content {
    align-self: center;
    padding: 4rem clamp(2rem, 5vw, 5rem);
  }

  .jp-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .jp-event__panel {
    grid-template-columns: 1.2fr 1fr;
  }

  .jp-event__dates {
    grid-template-columns: repeat(2, 1fr);
  }

  .jp-event__dates article:nth-child(3) {
    grid-column: 1 / -1;
  }

  .jp-faq__inner {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .jp-final-cta {
    grid-template-columns: 6.5rem 1fr 1fr;
  }

  .jp-final-cta__calendar {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 0.45rem;
  }

  .jp-final-cta__calendar > p {
    grid-column: auto;
  }

  .jp-final-cta__calendar div {
    padding-block: 0.25rem;
  }

  .jp-final-cta__content {
    align-self: center;
    padding: 3rem;
  }
}

/* ==========================================================
   DESKTOP
   ========================================================== */
@media (min-width: 70rem) {
  .jp-hero {
    min-height: 48rem;
  }

  .jp-section-intro {
    min-height: 34rem;
  }

  .jp-feature__media,
  .jp-feature__media img {
    min-height: 45rem;
  }

  .jp-accordion__body {
    grid-template-columns: 8.5rem 1fr;
    align-items: center;
  }

  .jp-accordion__body:not(:has(img)) {
    grid-template-columns: 1fr;
  }

  .jp-accordion__body img {
    aspect-ratio: 4 / 3;
  }

  .jp-card-grid {
    gap: 1.75rem;
  }

  .jp-event__dates {
    grid-template-columns: repeat(3, 1fr);
  }

  .jp-event__dates article:nth-child(3) {
    grid-column: auto;
  }

  .jp-event__dates article {
    border-bottom: 0;
    border-right: 1px solid var(--jp-line);
  }

  .jp-event__dates article:last-child {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jp-page *,
  .jp-page *::before,
  .jp-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
