/* ============================================================
   PÁGINA: NOCHES DE VELAS (capa propia)
   Orden y ritmo tomados de la captura de /truffle-nights:
   hero oscuro, banda de intro, dos columnas, banda oscura de
   talleres, galería, sección rosa #ecd1c6 y invitación azul.
   ============================================================ */

.page-nights {
  background: #172117;
}
.page-nights .site-footer {
  background-color: #afd1e9;
}

.tn {
  background: #172117;
  color: #edd1c7;
  overflow-x: clip;
}

/* --- HERO ------------------------------------------------------ */
.tn-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 900px;
  padding: 0;
  overflow: hidden;
}
.tn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(72% 46% at 82% -6%, rgba(120, 148, 104, 0.2), rgba(23, 33, 23, 0) 72%),
    radial-gradient(58% 44% at 6% 104%, rgba(94, 22, 21, 0.24), rgba(23, 33, 23, 0) 74%);
}
.tn-hero > * {
  position: relative;
  z-index: 1;
}
.tn-hero__eyebrow {
  margin: 196px 56px 0;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 209, 199, 0.62);
}
.tn-hero__title {
  margin: 40px 56px 0;
  font-family: var(--serif);
  font-size: 110px;
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #ecd1c6;
}
.tn-hero__line {
  display: block;
}
.tn-hero__line--end {
  text-align: right;
}
.tn-hero__foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  margin: auto 56px 0;
  padding-top: 56px;
}
.tn-hero__scroll {
  grid-column: 1;
  justify-self: start;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(236, 209, 198, 0.4);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ecd1c6;
}
.tn-actions {
  grid-column: 2;
  display: flex;
  background: #ecd1c6;
  color: #172118;
}
.tn-actions__item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease;
}
.tn-actions__item + .tn-actions__item {
  border-left: 1px solid rgba(23, 33, 24, 0.22);
}
.tn-actions__item:hover {
  background: #f6e4dc;
}
.tn-actions__item svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

/* --- INTRO ----------------------------------------------------- */
.tn-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  min-height: 0;
  padding: 56px;
  align-content: start;
}
.tn-intro__lead h2 {
  font-family: var(--serif);
  font-size: 71.25px;
  line-height: 1.02;
  font-weight: 400;
  color: #ecd1c6;
  overflow-wrap: break-word;
}
.tn-rule {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 1px;
  margin-top: 40px;
  background: rgba(236, 209, 198, 0.26);
}
.tn-intro__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 619px;
  padding-top: 0;
  font-size: 16px;
  line-height: 26px;
  color: rgba(237, 209, 199, 0.82);
}
.tn-intro__fig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 260px;
  margin: 24px 0 0;
  padding: 16px;
  background: linear-gradient(150deg, #2d3d29 0%, #101c12 62%, #0a140e 100%);
}
.tn-intro__fig img {
  width: auto;
  height: 190px;
}
.tn-intro__fig figcaption {
  max-width: 220px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(236, 209, 198, 0.6);
}

/* --- DOS COLUMNAS: EL TALLER VIENE A TI ------------------------ */
.tn-chef {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  min-height: 894px;
  padding: 0 56px 56px;
  align-items: start;
}
.tn-chef__col h2 {
  font-family: var(--serif);
  font-size: 71.25px;
  line-height: 1.04;
  font-weight: 400;
  color: #ecd1c6;
}
.tn-chef__col p {
  max-width: 701px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 26px;
  color: rgba(237, 209, 199, 0.82);
}
.tn-chef__fig {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  margin: 32px 0 0;
  background: linear-gradient(158deg, #3b4d34 0%, #1a2a1b 55%, #091309 100%);
}
.tn-chef__fig img {
  width: auto;
  height: 360px;
}

/* --- TALLERES: TRES TARJETAS ---------------------------------- */
.tn-forms {
  padding: 56px;
}
.tn-forms__title {
  font-family: var(--serif);
  font-size: 71.25px;
  line-height: 1.02;
  font-weight: 400;
  color: #ecd1c6;
  overflow-wrap: break-word;
}
.tn-forms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.tn-form-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(236, 209, 198, 0.2);
  background: rgba(236, 209, 198, 0.04);
}
.tn-form-card__fig {
  width: calc(100% + 48px);
  height: 230px;
  margin: -24px -24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #33442e, #0b1710);
}
.tn-form-card__fig img {
  width: auto;
  height: 170px;
}
.tn-label {
  font-size: 15.8333px;
  line-height: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 209, 198, 0.58);
}
.tn-form-card h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
  color: #ecd1c6;
}
.tn-form-card p {
  font-size: 16px;
  line-height: 24px;
  color: rgba(237, 209, 199, 0.78);
}
.tn-form-card__price {
  margin-top: 12px;
  padding-top: 12px;
  width: 100%;
  border-top: 1px solid rgba(236, 209, 198, 0.2);
  font-size: 12px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ecd1c6 !important;
}
.tn-form-card__btn {
  margin-top: 8px;
  padding: 12px 26px;
  border: 1px solid rgba(236, 209, 198, 0.6);
  border-radius: 1000px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ecd1c6;
  transition: background 0.25s ease, color 0.25s ease;
}
.tn-form-card__btn:hover {
  background: #ecd1c6;
  color: #172117;
}

/* --- GALERÍA -------------------------------------------------- */
.tn-gallery {
  padding: 0 56px 56px;
}
.tn-gallery__title {
  font-family: var(--serif);
  font-size: 71.25px;
  line-height: 1.02;
  font-weight: 400;
  color: #ecd1c6;
  margin-bottom: 32px;
}
.tn-gallery__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tn-gallery__fig {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
}
.tn-gallery__fig--a {
  height: 380px;
  background:
    radial-gradient(90% 80% at 30% 20%, rgba(236, 209, 198, 0.22), rgba(236, 209, 198, 0) 70%),
    linear-gradient(135deg, #4a4132, #12150f 78%);
}
.tn-gallery__fig--b {
  height: 380px;
  background:
    radial-gradient(80% 70% at 70% 80%, rgba(189, 218, 239, 0.22), rgba(189, 218, 239, 0) 70%),
    linear-gradient(210deg, #33452f, #0a1410 80%);
}
.tn-gallery__fig--a img,
.tn-gallery__fig--b img {
  width: 110px;
  height: 110px;
  /* los iconos de art-*.svg trazan con currentColor y dentro de <img>
     no heredan el color de la página: se invierten para que se vean crema */
  filter: invert(0.92) sepia(0.25) saturate(1.6) brightness(1.15);
  opacity: 0.9;
}
.tn-gallery__fig--wide {
  height: 380px;
  margin-top: 16px;
  background:
    radial-gradient(60% 90% at 50% 120%, rgba(236, 209, 198, 0.18), rgba(9, 19, 9, 0) 70%),
    linear-gradient(170deg, #22301f, #07110a);
}
.tn-gallery__fig--wide img {
  width: 120px;
  height: 120px;
  opacity: 0.55;
}
.tn-gallery__fig--wide figcaption {
  position: absolute;
  left: 32px;
  bottom: 28px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 24px;
  color: rgba(236, 209, 198, 0.9);
}

/* --- MÁS ALLÁ DE LA MESA (ROSA) ------------------------------- */
.tn-beyond {
  background: #ecd1c6;
  color: #31180d;
  padding: 104px 0;
  overflow: hidden;
}
.tn-marquee {
  display: flex;
  width: max-content;
  margin: 0 0 40px;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 71.25px;
  line-height: 1;
  color: rgba(49, 24, 13, 0.16);
  animation: tn-marquee 36s linear infinite;
}
.tn-marquee span {
  padding-right: 0.5em;
}
@keyframes tn-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tn-marquee { animation: none; }
}
.tn-beyond__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 56px;
}
.tn-beyond h2 {
  max-width: 900px;
  font-family: var(--serif);
  font-size: 71.25px;
  line-height: 1.02;
  font-weight: 400;
  overflow-wrap: break-word;
}
.tn-beyond__lead {
  max-width: 760px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 26px;
  color: rgba(49, 24, 13, 0.8);
}
.tn-beyond__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  margin-top: 56px;
}
.tn-beyond__card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  column-gap: 32px;
  align-items: center;
}
.tn-beyond__fig {
  grid-row: 1 / span 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  margin: 0;
  background: linear-gradient(160deg, #f7e6dc 0%, #d8b3a1 60%, #b98f7c 100%);
}
.tn-beyond__card h3,
.tn-beyond__card p,
.tn-beyond__more {
  grid-column: 2;
}
.tn-beyond__more {
  justify-self: start;
  margin-top: 12px;
  border-bottom: 1px solid rgba(49, 24, 13, 0.4);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tn-beyond__fig img {
  width: auto;
  height: 220px;
}
.tn-beyond__card h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
}
.tn-beyond__card p {
  font-size: 16px;
  line-height: 26px;
  color: rgba(49, 24, 13, 0.78);
}
.tn-addons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 88px;
  padding-top: 40px;
  border-top: 1px solid rgba(49, 24, 13, 0.22);
}
.tn-addon__btn {
  justify-self: start;
  margin-top: 4px;
  padding: 10px 22px;
  border: 1px solid rgba(49, 24, 13, 0.5);
  border-radius: 1000px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tn-addon {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tn-addon .tn-label {
  color: rgba(49, 24, 13, 0.55);
}
.tn-addon h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
}
.tn-addon p {
  font-size: 16px;
  line-height: 26px;
  color: rgba(49, 24, 13, 0.78);
}

/* --- INVITACIÓN (AZUL) ---------------------------------------- */
.tn-invite {
  display: grid;
  grid-template-columns: 1fr 640px;
  align-items: start;
  gap: 0 56px;
  padding: 0 0 204px;
  background: #afd1e9;
  color: #041309;
}
.tn-invite h2 {
  max-width: 520px;
  font-family: var(--serif);
  font-size: 71.25px;
  line-height: 1.02;
  font-weight: 400;
  overflow-wrap: break-word;
}
.tn-invite__text {
  padding: 88px 0 0 56px;
}
.tn-invite__text p {
  max-width: 560px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 27px;
  color: rgba(4, 19, 9, 0.86);
}
.tn-invite .btn {
  margin-top: 32px;
  padding: 14px 28px;
  border: 1px solid #041309;
  border-radius: 1000px;
  background: #041309;
  color: #ecd1c6;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tn-invite .btn:hover {
  background: #172117;
}
.tn-invite__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 88px 56px 0 0;
}
.tn-invite__collage figure {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, #e6f2fb 0%, #b8d6ea 55%, #8fb6cf 100%);
}
.tn-invite__collage img {
  width: auto;
  height: 52%;
  max-width: 70%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .tn-hero {
    min-height: 620px;
    padding: 120px 0 0;
  }
  .tn-hero__eyebrow {
    margin: 0 32px;
  }
  .tn-hero__title {
    font-size: 72px;
    margin: 32px 32px 0;
  }
  .tn-hero__foot {
    margin: auto 32px 0;
  }
  .tn-hero__foot {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 40px;
  }
  .tn-hero__scroll {
    order: 2;
  }
  .tn-actions {
    grid-column: 1;
    justify-self: start;
  }

  .tn-intro {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding: 40px 32px 116px;
  }
  .tn-intro__lead h2 {
    font-size: 48px;
  }
  .tn-intro__body {
    padding-top: 0;
  }

  .tn-chef {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
    padding: 0;
  }
  .tn-chef__col {
    padding: 40px 32px 0;
  }
  .tn-chef__col + .tn-chef__col {
    padding: 32px 32px 64px;
  }
  .tn-chef__col h2 {
    font-size: 48px;
  }
  .tn-chef__fig {
    height: 380px;
  }
  .tn-chef__fig img {
    height: 260px;
  }

  .tn-forms,
  .tn-gallery {
    padding: 40px 32px;
  }
  .tn-forms__grid,
  .tn-gallery__row {
    grid-template-columns: 1fr;
  }
  .tn-form-card__fig {
    height: 200px;
  }
  .tn-gallery__fig--a,
  .tn-gallery__fig--b,
  .tn-gallery__fig--wide {
    height: 300px;
  }

  .tn-beyond {
    padding: 64px 0;
  }
  .tn-beyond__inner {
    padding: 0 32px;
  }
  .tn-beyond h2,
  .tn-invite h2,
  .tn-forms__title,
  .tn-gallery__title {
    font-size: 48px;
  }
  .tn-beyond__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
  }
  .tn-addons {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 56px;
  }
  .tn-beyond__fig {
    height: 240px;
  }
  .tn-beyond__fig img {
    height: 170px;
  }
  .tn-beyond__card h3,
  .tn-addon h3 {
    font-size: 26px;
  }
  .tn-beyond__card p {
    font-size: 15px;
    line-height: 23px;
  }

  .tn-invite {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 0;
  }
  .tn-invite__text {
    padding: 0 32px;
  }
  .tn-invite__collage {
    max-width: 560px;
    padding: 0 32px;
  }
}

@media (max-width: 767px) {
  .tn-hero {
    min-height: 540px;
    padding: 104px 16px 24px;
  }
  .tn-hero__title {
    font-size: 62px;
  }
  .tn-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .tn-actions__item {
    height: 44px;
    padding: 0 16px;
  }
  .tn-actions__item + .tn-actions__item {
    border-left: 0;
    border-top: 1px solid rgba(23, 33, 24, 0.22);
  }

  .tn-intro {
    padding: 40px 16px 116px;
  }
  .tn-intro__lead h2,
  .tn-chef__col h2,
  .tn-beyond h2,
  .tn-invite h2 {
    font-size: 48px;
    line-height: 1.08;
  }
  .tn-intro__fig {
    height: 220px;
  }
  .tn-intro__fig img {
    height: 150px;
  }

  .tn-chef {
    padding: 0;
  }
  .tn-chef__col {
    padding: 0 16px;
  }
  .tn-chef__col:first-child {
    padding-top: 0;
  }
  .tn-chef__col + .tn-chef__col {
    padding: 24px 16px 48px;
  }
  .tn-chef__fig {
    height: 280px;
  }
  .tn-chef__fig img {
    height: 190px;
  }

  .tn-forms,
  .tn-gallery {
    padding: 32px 16px;
  }
  .tn-forms__title,
  .tn-gallery__title {
    font-size: 48px;
    line-height: 1.08;
  }
  .tn-form-card__fig {
    height: 170px;
  }
  .tn-gallery__fig--a,
  .tn-gallery__fig--b,
  .tn-gallery__fig--wide {
    height: 240px;
  }
  .tn-gallery__fig--wide figcaption {
    left: 20px;
    bottom: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .tn-beyond {
    padding: 64px 0;
  }
  .tn-beyond__inner {
    padding: 0 16px;
  }
  .tn-beyond__fig {
    height: 170px;
    margin-bottom: 4px;
  }
  .tn-beyond__fig img {
    height: 120px;
  }
  .tn-beyond__cards {
    gap: 12px;
  }
  .tn-addons {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tn-beyond__card h3,
  .tn-addon h3 {
    font-size: 22px;
  }
  .tn-beyond__card p,
  .tn-addon p {
    font-size: 16px;
    line-height: 24px;
  }

  .tn-invite {
    padding: 40px 0 0;
  }
  .tn-invite__text {
    padding: 0 16px;
  }
  .tn-invite__collage {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 479px) {
  .tn-hero {
    min-height: 0;
    padding: 96px 0 0;
  }
  .tn-hero__title {
    font-size: 44px;
    margin: 24px 16px 0;
  }
  .tn-hero__eyebrow {
    margin: 0 16px;
  }
  .tn-hero__foot {
    margin: 32px 16px 0;
  }
  .tn-hero__line--end {
    text-align: left;
  }
  .tn-hero__foot {
    margin-top: 32px;
    padding-top: 0;
  }

  .tn-intro__lead h2,
  .tn-chef__col h2,
  .tn-beyond h2,
  .tn-invite h2 {
    font-size: 48px;
    line-height: 1.08;
  }
  .tn-rule {
    margin-top: 24px;
  }
  .tn-intro__fig {
    flex-direction: column;
    gap: 12px;
    height: auto;
    padding: 24px 16px;
  }
  .tn-intro__fig figcaption {
    max-width: none;
    text-align: center;
  }

  .tn-forms__title,
  .tn-gallery__title {
    font-size: 48px;
    line-height: 1.08;
  }
  .tn-form-card {
    padding: 16px;
  }
  .tn-form-card__fig {
    width: calc(100% + 32px);
    margin: -16px -16px 12px;
    height: 150px;
  }
  .tn-form-card h3 {
    font-size: 26px;
  }
  .tn-gallery__fig--a,
  .tn-gallery__fig--b,
  .tn-gallery__fig--wide {
    height: 200px;
  }

  .tn-beyond__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tn-beyond__fig {
    height: 220px;
  }
  .tn-beyond__fig img {
    height: 160px;
  }
  .tn-beyond__card h3,
  .tn-addon h3 {
    font-size: 26px;
  }
  .tn-beyond__lead,
  .tn-beyond__card p,
  .tn-addon p {
    font-size: 15px;
    line-height: 24px;
  }
  .tn-invite__text p {
    font-size: 16px;
    line-height: 25px;
  }
  .tn-invite__text p:last-of-type {
    margin-bottom: 0;
  }
}


/* ============================================================
   FOTOGRAFÍA REAL
   Las figuras conservan su alto: la foto las llena (cover) para
   que el ritmo de la página no cambie al pasar de dibujo a foto.
   ============================================================ */
.tn-intro__fig img,
.tn-chef__fig img,
.tn-form-card__fig img,
.tn-beyond__fig img,
.tn-invite__collage img {
  flex: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  filter: none;
  opacity: 1;
}
.tn-gallery__fig--a img,
.tn-gallery__fig--b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  opacity: 1;
}
.tn-gallery__fig--wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(0.42) saturate(0.85);
}
