/* Reset + fuentes + estilos del tema (una sola petición) */
* {
    box-sizing: border-box;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    margin: 0;
    padding: 0;
}
main {
    display: block;
}
hr, h1, h2, h3, h4, h5, p, img, ul, li {
    border: 0;
    padding: 0;
    margin: 0;
    outline: 0;
}
ul, ol, li {
    list-style: none;
    padding: 0;
    margin: 0;
}
h1, h2, h3, h4, h5 {
    font-weight: normal;
}
a {
    color: inherit;
    text-decoration: none;
    -webkit-text-decoration-skip: objects;
}
a, button, input, textarea {
    border: 0;
    padding: 0;
    font-size: inherit;
}
a:focus, button:focus, input:focus, textarea:focus, a:active, button:active, input:active, textarea:active, a:hover, button:hover, input:hover, textarea:hover {
    outline: none;
}
select, button, input {
    font-family: inherit;
    overflow: visible;
    border: none;
    border-radius: 0;
}
button, input:not([type="number"]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
button::-ms-expand, input::-ms-expand {
    display: none;
}
select:hover, button:hover, input:hover {
    cursor: pointer;
}
select:focus, button:focus, input:focus {
    outline: none;
}
input[type="submit"]:hover {
    cursor: pointer;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
audio, video, canvas {
    display: inline-block;
}
button, input:not([type="number"]) {
    appearance: none;
}
button{
    background: none;
}
@font-face {
  font-family: "Old Standard TT";
  src: url("../fonts/OldStandardTT-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Old Standard TT";
  src: url("../fonts/OldStandardTT-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Old Standard TT";
  src: url("../fonts/OldStandardTT-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/**
*	ROOT
*	=======================================================================================================
**/

:root {
  --color-green: #4d5d4c;
  --color-dark: #191a13;
  --color-cream: #ede7d7;
  /* Solo para los círculos de la sección Dress Code. No usar en otras partes de la web */
  --color-dress-1: #3b2820;
  --color-dress-2: #5a3e30;
  --color-dress-3: #85583f;
  --color-dress-4: #b98a72;
  --color-dress-5: #c8b3a4;
  --color-dress-6: #9b1414;
  --font-primary: "Old Standard TT", serif;
  --base-size-font: 16px;
  --title-size: clamp(2.6rem, 12vw, 4.2rem);
  --text-content-size: 1.05rem;
  --transition: all 0.4s ease;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/**
*	BASE
*	=======================================================================================================
**/

html {
  font-size: var(--base-size-font);
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  background-color: var(--color-cream);
  font-size: var(--text-content-size);
  line-height: 1.5;
  overflow-x: hidden;
}

section,
footer {
  position: relative;
  scroll-margin-top: 0;
  overflow-x: clip;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

img {
  max-width: 100%;
  height: auto;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* --- Container --- */

.container {
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding: 0 1.5rem;
  max-width: 1440px;
  z-index: 1;
}

/**
*	UTILIDADES
*	=======================================================================================================
**/

.d-flex {
  display: flex;
}

.placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #c7c7c7;
  flex-shrink: 0;
}

/**
*	GENERAL
*	=======================================================================================================
**/

/* --- Títulos --- */

.title {
  font-size: var(--title-size);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.title em {
  display: block;
  font-weight: 400;
  color: var(--color-green);
}

/* --- Botones --- */

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  overflow: hidden;
  padding: 1.15rem 1.5rem;
  border-radius: 5px;
  font-size: 1.4rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  isolation: isolate;
  transition: color 0.45s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  left: -10%;
  width: 120%;
  top: 0;
  height: 100%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(101%);
  transition:
    transform 0.55s var(--ease),
    border-radius 0.55s var(--ease);
  z-index: -1;
}

.btn:hover::before {
  transform: translateY(0);
  border-radius: 0;
}

.btn__icon {
  width: 1.4rem;
  height: 1.7rem;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.btn:hover .btn__icon:first-child {
  transform: rotate(-12deg) scale(1.15);
}

.btn:hover .btn__icon:last-child:not(:first-child) {
  transform: rotate(12deg) scale(1.15);
}

.btn.-dark {
  background-color: var(--color-dark);
  color: var(--color-cream);
}

.btn.-dark::before {
  background-color: var(--color-green);
}

.btn.-green {
  background-color: var(--color-green);
  color: var(--color-cream);
}

.btn.-green::before {
  background-color: var(--color-dark);
}

.btn.-light {
  background-color: var(--color-cream);
  color: var(--color-green);
}

.btn.-light::before {
  background-color: var(--color-dark);
}

.btn.-light:hover {
  color: var(--color-cream);
}

.btn.-icons {
  justify-content: space-between;
}

.btn.-icons span {
  flex: 1;
  text-align: center;
}

.btn.-gift {
  justify-content: center;
  gap: 1rem;
}

.btn.-gift span {
  flex: none;
}

.btn.-gift .btn__icon {
  transform-origin: 50% 80%;
  animation: gift-wiggle 2.4s ease-in-out infinite;
}

.btn.-gift .btn__icon:last-child {
  --flip: -1;
  animation-delay: 0.15s;
}

.btn.-gift:hover .btn__icon:first-child,
.btn.-gift:hover .btn__icon:last-child:not(:first-child) {
  transform: none;
}

@keyframes gift-wiggle {
  0%,
  55%,
  100% {
    transform: scaleX(var(--flip, 1)) translateY(0) rotate(0);
  }
  10% {
    transform: scaleX(var(--flip, 1)) translateY(-4px) rotate(-12deg);
  }
  20% {
    transform: scaleX(var(--flip, 1)) translateY(0) rotate(10deg);
  }
  30% {
    transform: scaleX(var(--flip, 1)) translateY(-3px) rotate(-8deg);
  }
  40% {
    transform: scaleX(var(--flip, 1)) translateY(0) rotate(6deg);
  }
}

/**
*	HEADER
*	=======================================================================================================
**/

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1.5rem 0;
}

.header__wrapper {
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-size: 1.2rem;
  font-weight: 700;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 7px;
  width: 44px;
  height: 36px;
  cursor: pointer;
}

.header__hamburger span {
  display: block;
  width: 36px;
  height: 3px;
  background-color: var(--color-green);
  transition: width 0.35s var(--ease);
}

.header__hamburger span:nth-child(2) {
  width: 28px;
}

.header__hamburger:hover span {
  width: 36px;
}

/* --- Nav sidebar --- */

.nav-sidebar-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(25, 26, 19, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 90;
}

.nav-sidebar-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 82%;
  max-width: 340px;
  background-color: var(--color-green);
  color: var(--color-cream);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.nav-sidebar.is-open {
  transform: translateX(0);
}

.nav-sidebar__top {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-sidebar__close {
  color: var(--color-cream);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.nav-sidebar__menu {
  flex-direction: column;
  gap: 1.4rem;
}

.nav-sidebar__link {
  font-size: 1.6rem;
  transition: padding-left 0.35s var(--ease);
}

.nav-sidebar__link:hover {
  padding-left: 0.6rem;
  font-style: italic;
}

/**
*	HERO
*	=======================================================================================================
**/

.hero {
  padding: 4.5rem 0 4rem;
}

.hero__wrapper {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__photo {
  position: relative;
  width: 100%;
  max-width: 560px;
}

/* Video dentro de la ventana de la foto (medida sobre foto-principal.png, 508x523; marco girado ~1deg) */

.hero__video {
  position: absolute;
  left: 7.2%;
  top: 9.4%;
  width: 84.3%;
  height: 82.3%;
  overflow: hidden;
  transform: rotate(1.05deg);
  z-index: 1;
  pointer-events: none;
}

.hero__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transform: scale(1.2);
}

/* Franja de la cinta, repintada por encima del video */

.hero__tape {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: polygon(34.5% 1.5%, 67% 0%, 67% 9.8%, 34.5% 12.3%);
  pointer-events: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
}

.hero__title {
  font-size: clamp(4.5rem, 20vw, 9rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.03em;
}

.hero__title em {
  font-weight: 400;
  color: var(--color-green);
  letter-spacing: -0.02em;
}

.hero__heart {
  width: 32px;
  margin: 1.4rem 0 0.8rem;
}

.hero__tagline {
  font-size: 1.15rem;
}

/**
*	PRESENTACION
*	=======================================================================================================
**/

.presentacion {
  padding-bottom: 3rem;
}

.presentacion__squares {
  width: 112%;
  margin-left: -6%;
  aspect-ratio: 689.95 / 188.17;
}

.presentacion__wrapper {
  position: relative;
  flex-direction: column;
}

.presentacion__strip {
  position: absolute;
  z-index: 3;
  top: -3rem;
  left: -2.5rem;
  width: 52%;
  pointer-events: none;
}

.presentacion__row {
  position: relative;
}

.presentacion__row.-top {
  z-index: 2;
  justify-content: flex-end;
  padding: 4rem 0 3rem;
  text-align: right;
}

.presentacion__row.-top::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: clamp(60px, 16vw, 130px);
  background: url("../images/recorte-superior.svg") center top / 100% 100%
    no-repeat;
  filter: drop-shadow(0 6px 6px rgba(25, 26, 19, 0.35));
  clip-path: inset(0 0 -30px 0);
  pointer-events: none;
}

.presentacion__content {
  width: 52%;
}

.presentacion__content p {
  margin-top: 1.8rem;
}

.presentacion__note {
  margin-top: 3rem !important;
}

.presentacion__row.-bottom {
  z-index: 1;
  flex-direction: column;
  align-items: flex-end;
  gap: 0rem;
  padding: 6rem 0 7rem;
  color: var(--color-cream);
}

.presentacion__row.-bottom::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background-color: var(--color-green);
}

.presentacion__row.-bottom::after {
  content: "";
  position: absolute;
  top: calc(100% - 4rem);
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: clamp(60px, 14vw, 120px);
  background: url("../images/recorrte-inferior.svg") center top / 100% 100%
    no-repeat;
  filter: drop-shadow(0 -6px 6px rgba(25, 26, 19, 0.35));
  clip-path: inset(-30px 0 0 0);
  pointer-events: none;
}

.presentacion__cake {
  width: 37%;
  margin-right: -2.5rem;
}

.presentacion__calendar {
  align-self: center;
  width: calc(100% + 20rem);
  margin: 4rem 0 0;
}

.presentacion__actions {
  position: relative;
  z-index: 3;
  flex-direction: column;
  gap: 1rem;
  margin-top: 20px;
}

/**
*	GALERIA
*	=======================================================================================================
**/

.galeria {
  padding: 7rem 0 4rem;
}

.galeria__wrapper {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.galeria__intro p {
  margin-top: 3rem;
}

.galeria__photos {
  position: relative;
  width: 100vw;
  margin: 2.5rem -1.5rem 0;
  padding: 8rem 0 0;
  background:
    linear-gradient(90deg, var(--color-green) 49.2%, transparent 0) 0 0 / 11.78%
      100%,
    var(--color-cream);
  background-position: 0 4rem;
  background-repeat: repeat-x;
  background-size: 11.78% calc(100% - 4rem);
}

.galeria__photo {
  position: relative;
  display: block;
  width: 78%;
  filter: drop-shadow(0 8px 14px rgba(25, 26, 19, 0.2));
}

.galeria__photo.-one {
  margin-top: -9rem;
  transform: rotate(-2deg);
  margin-left: -8%;
  z-index: 3;
  width: 80%;
}

.galeria__photo.-two {
  margin: -14rem -14% 0 auto;
  transform: rotate(5deg);
  z-index: 2;
}

.galeria__photo.-three {
  margin: -14rem 0 0 -17%;
  transform: rotate(-1deg);
  z-index: 1;
  width: 89%;
}

.galeria__photo.-four {
  margin: -15rem -17% 0 auto;
  transform: rotate(-4deg);
  z-index: 0;
  width: 80%;
}

.galeria__more {
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3.5rem;
  text-align: right;
}

.galeria__icon {
  flex-shrink: 0;
  width: 40%;
  margin-left: -3rem;
}

.galeria .btn {
  margin-top: 2rem;
}

/**
*	LUGAR
*	=======================================================================================================
**/

.lugar {
  padding-top: 4rem;
}

.lugar__wrapper {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lugar__media {
  position: relative;
  width: 100vw;
  margin-top: 3.5rem;
  aspect-ratio: 602 / 448;
}

.lugar__media::before,
.lugar__media::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.lugar__media::before {
  top: -1px;
  height: clamp(60px, 18vw, 150px);
  background: url("../images/recorte-superior-2.svg") center top / 100% 100%
    no-repeat;
  filter: drop-shadow(0 6px 6px rgba(25, 26, 19, 0.35));
  clip-path: inset(0 0 -30px 0);
  z-index: 2;
}

.lugar__media::after {
  bottom: -1px;
  height: clamp(60px, 18vw, 150px);
  background: url("../images/recorte-oscuro-inferior.svg") center bottom / 100%
    100% no-repeat;
}

.lugar__info {
  position: relative;
  width: 100vw;
  padding: 2rem 1.5rem 5rem;
  background-color: var(--color-dark);
  color: var(--color-cream);
}

.lugar__info::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: 10.6vw;
  background: url("../images/recorte-oscuro-superior.svg") center top / 100%
    100% no-repeat;
  filter: drop-shadow(0 6px 6px rgba(25, 26, 19, 0.35));
  clip-path: inset(0 0 -30px 0);
  pointer-events: none;
}

.lugar__content h3 {
  font-size: clamp(2.2rem, 8vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-green);
  line-height: 1.1;
}

.lugar__content p {
  margin-top: 1rem;
}

.lugar__actions {
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 0;
}

.lugar__actions .btn {
  justify-content: center;
  gap: 0.7rem;
  padding: 1.15rem 0.8rem;
}

.lugar__actions .btn.-icons span {
  flex: none;
}

/**
*	TIMING
*	=======================================================================================================
**/

.timing {
  padding: 8rem 0 4rem;
}

.timing__wrapper {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timing__image {
  width: 100%;
  max-width: 520px;
  margin-top: 3rem;
}

/**
*	DRESSCODE
*	=======================================================================================================
**/

.dresscode {
  padding-bottom: 4rem;
  overflow: hidden;
}

.dresscode__cover {
  position: relative;
  padding-top: 4rem;
}

.dresscode__squares {
  position: relative;
  z-index: 2;
  width: 112%;
  margin-left: -6%;
  height: 10.5rem;
  overflow: hidden;
  pointer-events: none;
}

.dresscode__squares img {
  height: auto;
  aspect-ratio: 689.95 / 188.17;
}

.dresscode__polaroid {
  display: none;
}
.dresscode__cover-photo {
  position: relative;
  margin-top: -8.5rem;
  aspect-ratio: 601 / 429;
  z-index: 3;
}

.dresscode__wrapper {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 0 3.5rem;
}

.dresscode__intro .title {
  font-size: clamp(2.4rem, 9vw, 3.8rem);
}

.dresscode__intro .title em {
  font-size: 0.65em;
  line-height: 1.1;
  margin-top: 0.2rem;
}

.dresscode__intro p {
  margin: 1.4rem auto 0;
  max-width: 420px;
}

.dresscode__looks {
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 0 2.5rem;
}

.dresscode__look {
  display: block;
  width: 34%;
  height: auto;
}

.dresscode__look.-left {
  margin-left: -1.5rem;
  margin-right: -0.6rem;
  transform: rotate(-3deg);
}

.dresscode__look.-center {
  position: relative;
  z-index: 2;
  width: 35%;
}

.dresscode__look.-right {
  margin-left: -0.6rem;
  margin-right: -1.5rem;
  transform: rotate(3deg);
}

.dresscode__bottom {
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.dresscode__colors {
  justify-content: center;
  padding-left: 1rem;
}

.dresscode__color {
  width: clamp(54px, 11vw, 68px);
  aspect-ratio: 1;
  margin-left: -1rem;
  border-radius: 50%;
}

.dresscode__color.-c1 {
  background-color: var(--color-dress-1);
}

.dresscode__color.-c2 {
  background-color: var(--color-dress-2);
}

.dresscode__color.-c3 {
  background-color: var(--color-dress-3);
}

.dresscode__color.-c4 {
  background-color: var(--color-dress-4);
}

.dresscode__color.-c5 {
  background-color: var(--color-dress-5);
}

.dresscode__color.-c6 {
  background-color: var(--color-dress-6);
}

.dresscode__actions {
  width: 100%;
  flex-direction: column;
  gap: 1rem;
}

/**
*	ASISTENCIA
*	=======================================================================================================
**/

.asistencia {
  padding: 5rem 0;
  margin-top: 2rem;
}

.asistencia::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--color-green) 49.2%, transparent 0) 0 0 / 11.78%
      100%,
    var(--color-cream);
}

.asistencia__wrapper {
  justify-content: center;
}

.asistencia__letter {
  position: relative;
  width: 135%;
  max-width: 900px;
  left: -7%;
  margin: 0;
  flex-shrink: 0;
}

.asistencia__content {
  position: absolute;
  top: 16%;
  left: 37%;
  width: 52%;
  text-align: center;
  transform: rotate(21deg);
  transform-origin: center;
}

.asistencia__content .title {
  font-size: clamp(2.3rem, 9.5vw, 3.8rem);
  line-height: 0.9;
}

.asistencia__content p {
  margin: 0.6rem 0 1rem;
  font-size: clamp(0.8rem, 2.9vw, 1.2rem);
  line-height: 1.3;
}

.asistencia__content .btn {
  width: 86%;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  font-size: clamp(1.1rem, 4.2vw, 1.6rem);
}

/**
*	TRIVIA
*	=======================================================================================================
**/

.trivia {
  padding: 9rem 0;
}

.trivia__wrapper {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.2rem;
}

.trivia__content p {
  margin: 1.6rem auto 0;
  max-width: 400px;
}

.trivia__wrapper .btn {
  max-width: 560px;
}

/**
*	FOOTER
*	=======================================================================================================
**/

.footer {
  overflow: hidden;
}

.footer__squares {
  width: 112%;
  margin-left: -6%;
  aspect-ratio: 689.95 / 188.17;
}

.footer__wrapper {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8rem 0;
}

.footer__content .title {
  font-size: clamp(2.6rem, 11vw, 4.4rem);
}

.footer__content .title em {
  font-size: 0.7em;
  margin-top: 0.2rem;
}

/**
*	RECORTES (papel rasgado)
*	=======================================================================================================
**/

.presentacion__row.-top::after {
  top: calc(100% - 4vw);
  height: 12.9vw;
  background: url("../images/recorte-superior.svg") 53.7% 80.4% / 107.2% 137.2%
    no-repeat;
}

.presentacion__row.-bottom::after {
  top: calc(100% - 10vw);
  height: 11vw;
  background: url("../images/recorrte-inferior.svg") 68% 8.8% / 110.7% 169.5%
    no-repeat;
}

.lugar__media::before {
  top: -4vw;
  height: 14vw;
  background: url("../images/recorte-superior-2.svg") 8.3% 76% / 236.4% 134%
    no-repeat;
}

/* --- Ajustes presentación --- */

.presentacion__strip {
  top: -5rem;
  left: -5rem;
  width: 83%;
}

.presentacion__content {
  width: 56%;
}

.presentacion__content .title {
  font-size: clamp(1.9rem, 7vw, 3.3rem);
}

.presentacion__row.-bottom {
  padding: 6rem 0 0rem;
}

.presentacion__calendar {
  margin-top: 1rem;
}

.galeria__photo {
  width: 72%;
}

/* --- Recortes: proporción natural + escala vertical --- */

.lugar__media::before {
  top: -4vw;
  height: 31vw;
  background: url("../images/recorte-superior-2.svg") 8.3% 76% / 236.4% auto
    no-repeat;
  transform: scaleY(0.64);
  transform-origin: top;
}

.lugar__media::after {
  bottom: -1px;
  height: 14.2vw;
  background: url("../images/recorte-oscuro-inferior.svg") center bottom / 100%
    100% no-repeat;
  filter: drop-shadow(0 -6px 6px rgba(25, 26, 19, 0.35));
  clip-path: inset(-30px 0 0 0);
  transform: none;
}

/* --- Recortes: tamaño natural (mobile) --- */

.presentacion__row.-top::after {
  background-size: 107.2% auto;
}

.presentacion__row.-bottom::after {
  background-size: 110.7% auto;
}

.dresscode__cover-photo::before {
  filter: none;
}

/* --- Lugar: borde superior pegado a la imagen --- */

.lugar__media::before {
  top: -1vw;
}

.lugar__intro {
  position: relative;
  z-index: 3;
}

/* --- Recorte superior-2: proporción natural del SVG --- */

.lugar__media::before {
  top: -9vw;
  height: 24vw;
  background: url("../images/recorte-superior-2.svg") center top / 100% 100%
    no-repeat;
  transform: none;
}

/* --- Ajustes escritorio (>=768px) --- */

/* --- Cuadros más pequeños en escritorio (se repiten a lo ancho) --- */

/**
*	DISTRIBUCIÓN PC (>=980px) — todo excepto el hero
*	=======================================================================================================
**/

/**
*	REPRODUCTOR DE MÚSICA
*	=======================================================================================================
**/
.music-player {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  border-radius: 999px;
  background-color: var(--color-green);
  color: var(--color-cream);
  box-shadow: 0 8px 24px rgba(25, 26, 19, 0.35);
}
.music-player__toggle {
  position: relative;
  order: 3;
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-cream);
  color: var(--color-green);
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.music-player__toggle:hover {
  transform: scale(1.08);
}
.music-player__icon {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.music-player__icon.-play {
  margin-left: 2px;
}
.music-player__icon.-pause,
.music-player__icon.-muted {
  display: none;
}
.music-player.is-playing .music-player__icon.-play {
  display: none;
}
.music-player.is-playing .music-player__icon.-pause {
  display: block;
}
.music-player.is-waiting .music-player__toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-cream);
  animation: music-ring 1.6s ease-out infinite;
}
@keyframes music-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
.music-player__bars {
  order: 2;
  display: flex;
  flex: none;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.music-player__bars i {
  display: block;
  width: 3px;
  height: 30%;
  border-radius: 2px;
  background-color: currentColor;
}
.music-player__bars i:nth-child(2) {
  height: 55%;
}
.music-player__bars i:nth-child(3) {
  height: 40%;
}
.music-player.is-playing .music-player__bars i {
  height: 100%;
  animation: music-bar 0.9s ease-in-out infinite;
}
.music-player.is-playing .music-player__bars i:nth-child(1) {
  animation-duration: 0.8s;
  animation-delay: -0.2s;
}
.music-player.is-playing .music-player__bars i:nth-child(2) {
  animation-duration: 1.1s;
  animation-delay: -0.6s;
}
.music-player.is-playing .music-player__bars i:nth-child(3) {
  animation-duration: 0.7s;
  animation-delay: -0.4s;
}
.music-player.is-playing .music-player__bars i:nth-child(4) {
  animation-duration: 1s;
  animation-delay: -0.1s;
}
@keyframes music-bar {
  0%,
  100% {
    transform: scaleY(0.25);
  }
  50% {
    transform: scaleY(1);
  }
}
/* El volumen se muestra al pasar el mouse (o con foco) */
.music-player__volume {
  order: 1;
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-width 0.5s var(--ease),
    opacity 0.4s var(--ease);
}
.music-player:hover .music-player__volume,
.music-player:has(:focus-visible) .music-player__volume {
  max-width: 160px;
  opacity: 1;
}
.music-player__mute {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--color-cream);
  cursor: pointer;
}
.music-player__mute .music-player__icon {
  width: 20px;
  height: 20px;
}
.music-player.is-muted .music-player__icon.-vol {
  display: none;
}
.music-player.is-muted .music-player__icon.-muted {
  display: block;
}
.music-player__range {
  --fill: 70%;
  width: 60px;
  height: 18px;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.music-player__range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--color-cream) var(--fill),
    rgba(237, 231, 215, 0.3) var(--fill)
  );
}
.music-player__range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--color-cream) var(--fill),
    rgba(237, 231, 215, 0.3) var(--fill)
  );
}
.music-player__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 0;
}
.music-player__range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 0;
}
.music-player__toggle:focus-visible,
.music-player__mute:focus-visible,
.music-player__range:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: 3px;
}

/**
*	GALERÍA (página de fotos)
*	=======================================================================================================
**/
.galeria-page {
  padding: 7rem 0 4rem;
  overflow-x: clip;
  text-align: center;
}
.fotos {
  columns: 2;
  column-gap: 0.75rem;
  margin: 3rem -0.5rem 0;
  list-style: none;
}
.fotos__item {
  break-inside: avoid;
  margin-bottom: 0.75rem;
}
.fotos__btn {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  cursor: zoom-in;
}
.fotos__btn img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1);
  transition: transform 0.7s var(--ease);
}
.fotos__btn:hover img,
.fotos__btn:focus-visible img {
  transform: scale(1.05);
}
.fotos__btn:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}
.galeria-page .galeria__more {
  margin-top: 3rem;
}
.galeria-page__actions {
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 5.5rem;
  background-color: rgba(25, 26, 19, 0.98);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease);
}
.lightbox[hidden] {
  display: none;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: contain;
  filter: grayscale(1);
  border-radius: 2px;
}
.lightbox__count {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--color-cream);
  opacity: 0.8;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(237, 231, 215, 0.14);
  color: var(--color-cream);
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background-color: rgba(237, 231, 215, 0.3);
}
.lightbox__close {
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
}
.lightbox__nav {
  bottom: 1.25rem;
}
.lightbox__nav.-prev {
  left: calc(50% - 62px);
}
.lightbox__nav.-next {
  right: calc(50% - 62px);
}
.lightbox__nav span {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.lightbox__nav.-prev span {
  margin-left: 4px;
  transform: rotate(-135deg);
}
.lightbox__nav.-next span {
  margin-right: 4px;
  transform: rotate(45deg);
}
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: 3px;
}

/**
*	CONFIRMACIÓN (formulario · Contact Form 7)
*	=======================================================================================================
**/
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.confirmacion {
  padding: 7rem 0 5rem;
  overflow-x: clip;
}
.confirmacion__intro {
  text-align: center;
}
.confirmacion__intro .title {
  font-size: clamp(2.2rem, 9.5vw, 3.4rem);
}
.confirmacion__intro p {
  margin-top: 1.2rem;
  font-size: 1rem;
}
.confirmacion__form {
  margin-top: 2.5rem;
}
.confirmacion .form-title {
  margin: 2.2rem 0 1rem;
  font-size: 1.9rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
}
.confirmacion .form-step {
  display: block;
  min-width: 0;
  border: 0;
  padding: 0;
}
.confirmacion .form-field {
  margin-bottom: 0.7rem;
}
.confirmacion .wpcf7-form-control-wrap {
  display: block;
}

/* Campos de texto */
.confirmacion .wpcf7-text,
.confirmacion .wpcf7-tel,
.confirmacion .wpcf7-email,
.confirmacion .wpcf7-textarea {
  display: block;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-green);
  border-radius: 5px;
  background-color: transparent;
  color: var(--color-dark);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.confirmacion .wpcf7-textarea {
  min-height: 11.5rem;
  resize: vertical;
}
.confirmacion .wpcf7-form-control::placeholder {
  color: var(--color-green);
  opacity: 0.85;
}
.confirmacion .wpcf7-text:focus,
.confirmacion .wpcf7-tel:focus,
.confirmacion .wpcf7-email:focus,
.confirmacion .wpcf7-textarea:focus {
  outline: 0;
  border-color: var(--color-dark);
  box-shadow: 0 0 0 1px var(--color-dark);
}

/* Asistiré / No asistiré */
.confirmacion .wpcf7-radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.confirmacion .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}
.confirmacion .wpcf7-radio label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.6rem 0.6rem;
  border: 1px solid var(--color-dark);
  border-radius: 5px;
  color: var(--color-dark);
  font-size: 1.35rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.confirmacion .wpcf7-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.confirmacion .wpcf7-radio label:has(input:checked) {
  background-color: var(--color-dark);
  color: var(--color-cream);
}
.confirmacion .wpcf7-radio label:has(input:checked)::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--color-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23191a13' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6.5 12.5 4 4 7-8'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.confirmacion .wpcf7-radio label:has(input:focus-visible) {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}

/* Bebidas */
.confirmacion .wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
.confirmacion .wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}
.confirmacion .wpcf7-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-green);
  font-size: 1rem;
  cursor: pointer;
}
.confirmacion .wpcf7-checkbox input {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  border: 1px solid var(--color-green);
  border-radius: 4px;
  background: transparent center / 80% no-repeat;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.3s var(--ease);
}
.confirmacion .wpcf7-checkbox input:checked {
  background-color: var(--color-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ede7d7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
}
.confirmacion .wpcf7-checkbox input:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

/* Enviar */
.confirmacion .form-submit {
  margin-top: 2.2rem;
}
.confirmacion .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 1.15rem 1.5rem;
  border-radius: 5px;
  background-color: var(--color-dark);
  color: var(--color-cream);
  font-family: inherit;
  font-size: 1.4rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.45s var(--ease);
}
.confirmacion .wpcf7-submit:hover,
.confirmacion .wpcf7-submit:focus-visible {
  background-color: var(--color-green);
}

/* Cargando: formulario bloqueado y spinner en el botón */
.confirmacion form.is-loading {
  pointer-events: none;
  opacity: 0.7;
}
.confirmacion .wpcf7-submit {
  position: relative;
}
.confirmacion .wpcf7-submit:disabled {
  cursor: progress;
}
.confirmacion .wpcf7-submit.is-loading .wpcf7-submit__label {
  opacity: 0;
}
.confirmacion .wpcf7-submit.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5rem;
  height: 1.5rem;
  margin: -0.75rem 0 0 -0.75rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: conf-spin 0.7s linear infinite;
}
@keyframes conf-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .confirmacion .wpcf7-submit.is-loading::after { animation-duration: 2s; }
}

/* Modal de respuesta */
.modal__text {
  margin: 1rem 0 1.6rem;
}
.modal.is-error .modal__title {
  color: var(--color-dress-6);
}

/* Mensajes (Contact Form 7) */
.confirmacion .wpcf7-response-output {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-green);
  border-radius: 5px;
  color: var(--color-green);
  text-align: center;
}
.confirmacion .wpcf7-response-output[hidden] {
  display: none;
}
.confirmacion .wpcf7-not-valid {
  border-color: var(--color-dress-6);
}
.confirmacion .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.3rem;
  color: var(--color-dress-6);
  font-size: 0.85rem;
}
.confirmacion .wpcf7-response-output.is-invalid {
  border-color: var(--color-dress-6);
  color: var(--color-dress-6);
}

/**
*	TRIVIA (página de juego)
*	=======================================================================================================
**/
.trivia-page {
  padding: 7rem 0 4rem;
  overflow-x: clip;
}
.trivia-page__intro {
  text-align: center;
}
.trivia-page__intro .title {
  font-size: clamp(2.2rem, 9.5vw, 3.4rem);
}
.trivia-page__intro p {
  max-width: 24rem;
  margin: 1.2rem auto 0;
}

/* --- Bloque verde con papel rasgado --- */
.quiz {
    position: relative;
    z-index: 1;
    margin: 2.5rem 0 1.5rem;
    padding: calc(8vw + 4.5rem) 1.5rem calc(7vw + 5.5rem);
    background-color: var(--color-green);
    color: var(--color-cream);
}
.quiz::before,
.quiz::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  background-repeat: no-repeat;
}
.quiz::before {
    top: -2px;
    height: 12.9vw;
    background-image: url("../images/recorte-superior.svg");
    background-position: 53.7% 80.4%;
    background-size: 107.2% auto;
    filter: drop-shadow(0 6px 6px rgba(25, 26, 19, 0.35));
    clip-path: inset(0 0 -30px 0);
}
.quiz::after {
  bottom: -1px;
  height: 11vw;
  background-image: url("../images/recorrte-inferior.svg");
  background-position: 68% 8.8%;
  background-size: 110.7% auto;
  filter: drop-shadow(0 -6px 6px rgba(25, 26, 19, 0.35));
  clip-path: inset(-30px 0 0 0);
}
.quiz__inner {
  max-width: 34rem;
  margin: 0 auto;
}
.quiz__screen {
  text-align: center;
}
.quiz__screen[hidden] {
  display: none;
}
.quiz__title {
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
}
.quiz__title:focus,
.quiz__q:focus {
  outline: 0;
}
.quiz__text {
  max-width: 26rem;
  margin: 1.1rem auto 0;
  opacity: 0.9;
}
.quiz__btn {
  margin-top: 2rem;
}
.quiz__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.quiz .btn.-dark::before {
  background-color: var(--color-cream);
}
.quiz .btn.-dark:hover:not(:disabled) {
  color: var(--color-dark);
}
.quiz__form {
  max-width: 26rem;
  margin: 1.6rem auto 0;
}
.quiz__input {
  display: block;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-cream);
  border-radius: 5px;
  background-color: transparent;
  color: var(--color-cream);
  font-family: inherit;
  font-size: 1.1rem;
  text-align: center;
}
.quiz__input::placeholder {
  color: var(--color-cream);
  opacity: 0.6;
}
.quiz__input:focus {
  outline: 0;
  box-shadow: 0 0 0 2px var(--color-cream);
}
.quiz__error {
  margin-top: 0.6rem;
  color: #f4b4a8;
  font-size: 0.95rem;
}
.quiz__error[hidden] {
  display: none;
}

/* --- Pregunta --- */
.quiz__count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.05rem;
}
.quiz__count img {
  width: 26px;
  height: auto;
  filter: invert(1) sepia(0.2) brightness(0.95);
}
.quiz__q {
  margin-top: 0.8rem;
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
}
.quiz__body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 2.5rem -0.5rem 0 0;
}
.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.quiz__option {
  position: relative;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--color-cream);
  border-radius: 5px;
  color: var(--color-cream);
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.quiz__option:hover:not(:disabled),
.quiz__option:focus-visible {
  background-color: rgba(237, 231, 215, 0.18);
}
.quiz__option:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: 2px;
}
.quiz__option.-picked {
  background-color: var(--color-cream);
  color: var(--color-green);
}
.quiz__photo {
    margin: 0;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
    width: 130%;
}
.quiz__photo img {
  display: block;
  width: 100%;
  height: auto;
}
.quiz__welcome-photo {
  width: min(100%, 17rem);
  margin: 1.8rem auto 0;
}

/* --- Resultado --- */
.quiz__score {
  margin-top: 1rem;
  font-size: 6.5rem;
  font-weight: 700;
  line-height: 1;
}
.quiz__score small {
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  opacity: 0.8;
}

/* --- Ranking --- */
.ranking {
  margin-top: 1.8rem;
  text-align: left;
}
.ranking__head {
  display: none;
}
.ranking__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ranking__row,
.ranking__head {
  grid-template-columns: 2.8rem minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
}
.ranking__row {
  position: relative;
  display: grid;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(237, 231, 215, 0.35);
  border-radius: 6px;
}
.ranking__pos {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 700;
}
.ranking__name {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.ranking__tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background-color: var(--color-cream);
  color: var(--color-green);
  font-size: 0.75rem;
  font-style: italic;
  vertical-align: middle;
}
.ranking__win {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ranking__score {
  font-size: 1.25rem;
  font-weight: 700;
}
.ranking__score small {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.75;
}
.ranking__time {
  display: none;
}
.ranking__row.-winner {
  border-color: var(--color-cream);
  background-color: rgba(237, 231, 215, 0.12);
}
.ranking__row.-me {
  box-shadow: 0 0 0 2px var(--color-cream);
}
.ranking__row.-gold .ranking__pos {
  background: linear-gradient(145deg, #f6e08a, #c99a2e);
  color: #4a3508;
}
.ranking__row.-silver .ranking__pos {
  background: linear-gradient(145deg, #f1f1f1, #a7adb3);
  color: #34383c;
}
.ranking__row.-bronze .ranking__pos {
  background: linear-gradient(145deg, #e9b98b, #a8672f);
  color: #3f220c;
}

/* --- Después de la trivia --- */
.trivia-page__stripes {
  height: 5.5rem;
  background: linear-gradient(90deg, var(--color-green) 49.2%, transparent 0) 0 0 / 11.78% 100% repeat-x;
}
.trivia-page__after {
  padding-top: 3rem;
  text-align: center;
}
.trivia-page__remember {
  font-size: 1.7rem;
  font-style: italic;
}
.trivia-page__actions {
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.6rem;
}

/**
*	TIENDA (lista de regalos)
*	=======================================================================================================
**/
.tienda {
  padding: 7rem 0 4rem;
  overflow-x: clip;
}
.tienda__intro {
  text-align: center;
}
.tienda__intro .title {
  font-size: clamp(2.2rem, 9.5vw, 3.4rem);
}
.tienda__intro p {
  margin-top: 1.2rem;
}

/* --- Pestañas --- */
.tienda__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 2.5rem;
}
.tienda__tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-dark);
  border-radius: 5px;
  color: var(--color-dark);
  font-size: 1.25rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.tienda__tab[aria-selected="true"] {
  padding-left: 2.2rem;
  background-color: var(--color-dark);
  color: var(--color-cream);
}
.tienda__tab[aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--color-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23191a13' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6.5 12.5 4 4 7-8'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.tienda__tab:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}
.tienda__panel[hidden] {
  display: none;
}

/* --- Barra de filtros --- */
.tienda__bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.5rem;
  border-block: 1px solid rgba(25, 26, 19, 0.4);
}
.tienda__bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.1rem 0.5rem;
  color: var(--color-green);
  font-size: 1.05rem;
  cursor: pointer;
}
.tienda__bar-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.tienda__bar-btn[aria-expanded="true"] {
  color: var(--color-dark);
}
.tienda__bar-btn:focus-visible,
.tienda__link:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: -2px;
}
.tienda__menu {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.8rem;
  padding: 1.2rem 1.1rem;
  border: 1px solid var(--color-green);
  border-radius: 6px;
  background-color: rgba(77, 93, 76, 0.07);
  max-height: 40rem;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease),
    margin-top 0.45s var(--ease), padding 0.45s var(--ease), border-color 0.35s var(--ease), visibility 0s;
}
/* Cerrado sin display:none para poder animar apertura y cierre */
.tienda__menu[hidden] {
  display: grid;
  max-height: 0;
  margin-top: 0;
  padding-block: 0;
  border-block-width: 0;
  border-color: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), transform 0.25s var(--ease),
    margin-top 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.25s var(--ease), visibility 0s 0.35s;
}
.tienda__group {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  padding: 0;
  border: 0;
}
.tienda__group legend {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
  font-style: italic;
}
.tienda__link {
  justify-self: start;
  color: var(--color-green);
  text-decoration: underline;
  cursor: pointer;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-green);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  border: 1px solid var(--color-green);
  border-radius: 4px;
  background: transparent center / 80% no-repeat;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.check input:checked {
  background-color: var(--color-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ede7d7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
}
.check.-radio input {
  border-radius: 50%;
}
.check.-radio input:checked {
  background-image: radial-gradient(circle, var(--color-cream) 0 28%, transparent 30%);
}
.check input:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

/* --- Productos --- */
.productos {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  margin-top: 3rem;
  list-style: none;
}
.producto {
  position: relative;
  padding-bottom: 6.4rem;
}
.producto[hidden] {
  display: none;
}
.producto__foto {
  width: 94%;
  margin: 0;
  padding: 0.8rem;
  background-color: #f3f3f1;
  box-shadow: 0 10px 24px rgba(25, 26, 19, 0.18);
}
.producto.-right .producto__foto {
  margin-right: auto;
  transform: rotate(3deg);
}
.producto.-left .producto__foto {
  margin-left: auto;
  transform: rotate(-3deg);
}
.producto__foto img {
  display: block;
  width: 100%;
  aspect-ratio: 20 / 21;
  object-fit: cover;
}
.producto__info {
  position: absolute;
  bottom: 1.6rem;
  width: 58%;
  padding: 1rem 1.2rem 1.1rem;
  background-color: var(--color-green);
  color: var(--color-cream);
}
.producto.-right .producto__info {
  right: 0;
  text-align: right;
}
.producto.-left .producto__info {
  left: 0;
  text-align: left;
}
.producto__name {
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
}
.producto__price {
  margin-top: 0.15rem;
  font-size: 2.1rem;
  font-style: italic;
  line-height: 1.15;
}
.producto__total {
  margin-top: 0.1rem;
  font-size: 1rem;
}
.producto__btn {
  position: absolute;
  bottom: 3.3rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--color-dark);
  box-shadow: 0 6px 14px rgba(25, 26, 19, 0.3);
  cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.producto.-right .producto__btn {
  right: calc(58% - 32px);
}
.producto.-left .producto__btn {
  left: calc(58% - 32px);
}
.producto__btn img {
  width: 28px;
  height: auto;
}
.producto__btn:hover:not(:disabled),
.producto:hover .producto__btn:not(:disabled) {
  /* background-color: var(--color-green); */
  transform: scale(1.08);
}
.producto__foto,
.producto__info {
  cursor: pointer;
}
.producto.-soldout .producto__foto,
.producto.-soldout .producto__info {
  cursor: not-allowed;
}
.producto__btn:focus-visible {
  /* outline: 2px solid var(--color-green); */
  outline-offset: 3px;
}
.producto__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.producto__stock {
  position: absolute;
  bottom: 1.6rem;
  width: calc(42% - 2.6rem);
  color: var(--color-green);
  line-height: 1.3;
}
.producto.-right .producto__stock {
  left: 0.4rem;
}
.producto.-left .producto__stock {
  right: 0.4rem;
  text-align: right;
}
.producto__mode {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}
.producto.-left .producto__mode {
  justify-content: flex-end;
}
.producto__i {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: var(--color-green);
  color: var(--color-cream);
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
}
.producto__tip {
  position: absolute;
  bottom: 100%;
  z-index: 3;
  width: 14rem;
  margin-bottom: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background-color: rgba(25, 26, 19, 0.92);
  box-shadow: 0 8px 20px rgba(25, 26, 19, 0.18);
  color: var(--color-cream);
  font-size: 0.85rem;
  line-height: 1.35;
  text-align: left;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  pointer-events: none;
}
.producto.-right .producto__tip {
  left: 0;
}
.producto.-left .producto__tip {
  right: 0;
}
/* Oculto pero sin display:none, para poder animar la entrada y la salida */
.producto__tip[hidden] {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
}
.producto.-soldout .producto__foto img {
  filter: grayscale(1);
}
.producto.-soldout .producto__info {
  opacity: 0.65;
}
.tienda__empty {
  margin-top: 3rem;
  font-size: 1.3rem;
  font-style: italic;
  text-align: center;
}
.tienda__empty[hidden] {
  display: none;
}

/* --- Aporte libre --- */
.aporte {
  max-width: 30rem;
  margin: 2.5rem auto 0;
  text-align: center;
}
.aporte__title {
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
}
.aporte__text {
  margin-top: 0.8rem;
}
.aporte__amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1.6rem 0 1rem;
}
.amount input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.amount span {
  display: block;
  padding: 0.9rem 0.5rem;
  border: 1px solid var(--color-dark);
  border-radius: 5px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.amount input:checked + span {
  background-color: var(--color-dark);
  color: var(--color-cream);
}
.amount input:focus-visible + span {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}
.tienda__input {
  display: block;
  width: 100%;
  margin-top: 0.7rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-green);
  border-radius: 5px;
  background-color: transparent;
  color: var(--color-dark);
  font-family: inherit;
  font-size: 1rem;
}
.tienda__input::placeholder {
  color: var(--color-green);
  opacity: 0.85;
}
.tienda__input:focus {
  outline: 0;
  border-color: var(--color-dark);
  box-shadow: 0 0 0 1px var(--color-dark);
}
.aporte .btn {
  margin-top: 1.4rem;
}
.aporte__error {
  margin-top: 0.7rem;
  color: var(--color-dress-6);
  font-size: 0.95rem;
}
.aporte__ok {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-green);
  border-radius: 5px;
  color: var(--color-green);
}
.aporte__error[hidden],
.aporte__ok[hidden] {
  display: none;
}

/* --- Modal de regalo --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(25, 26, 19, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.modal[hidden] {
  display: none;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}
.modal__panel {
  position: relative;
  width: min(100%, 26rem);
  padding: 2.6rem 1.5rem 1.8rem;
  border-radius: 8px;
  background-color: var(--color-cream);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  text-align: center;
  transform: translateY(16px);
  transition: transform 0.5s var(--ease);
}
.modal.is-open .modal__panel {
  transform: none;
}
.modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.modal__close:focus-visible {
  outline: 2px solid var(--color-green);
  border-radius: 50%;
}
.modal__title {
  font-size: 2.1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
}
.modal__title:focus {
  outline: 0;
}
.modal__unit {
  margin-top: 0.5rem;
  color: var(--color-green);
}
.modal__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.6rem;
  padding: 0.8rem 0;
  border-block: 1px solid rgba(25, 26, 19, 0.25);
}
.modal__qty[hidden] {
  display: none;
}
.qty {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.qty__btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--color-dark);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.qty__btn:hover:not(:disabled) {
  background-color: var(--color-dark);
  color: var(--color-cream);
}
.qty__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.qty__btn:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}
.qty__value {
  min-width: 1.6rem;
  font-size: 1.5rem;
}
.modal__total {
  margin: 1.4rem 0 1.4rem;
  font-size: 1.1rem;
}
.modal__total strong {
  display: block;
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 400;
}
.modal__done p {
  margin: 1rem 0 1.6rem;
}
.modal__done[hidden] {
  display: none;
}

/**
*	ERROR 404 Y PÁGINAS GENÉRICAS
*	=======================================================================================================
**/
.error-404 {
  padding: 7rem 0 4rem;
  overflow-x: clip;
  text-align: center;
}
.error-404__squares {
  width: 112%;
  margin-left: -6%;
  aspect-ratio: 689.95 / 188.17;
}
.error-404__wrapper {
  padding: 3rem 0 2rem;
}
.error-404__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05em;
  font-size: clamp(6rem, 34vw, 11rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.error-404__heart {
  width: 0.62em;
  height: auto;
  margin-top: 0.05em;
}
.error-404 .title {
  margin-top: 1.4rem;
  font-size: clamp(2.2rem, 9.5vw, 3.4rem);
}
.error-404__text {
  max-width: 24rem;
  margin: 1.2rem auto 0;
}
.error-404__actions {
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 2.2rem auto 0;
}
.entry-page {
  padding: 8rem 0 4rem;
}
.entry-page .title {
  text-align: center;
}
.entry__content {
  margin-top: 2rem;
}
.entry__content > * + * {
  margin-top: 1rem;
}

/**
*	MEDIA QUERIES (580 / 980 / 1280)
*	=======================================================================================================
**/
@media screen and (min-width: 580px) {
  /* --- tienda --- */
  .tienda {
    padding-top: 8rem;
  }
  .tienda .container {
    max-width: 800px;
  }
  .tienda__intro .title {
    font-size: 3.6rem;
  }
  .productos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem 2.5rem;
  }
  .modal__panel {
    padding: 3rem 2.2rem 2.2rem;
  }

  /* --- trivia --- */
  .trivia-page {
    padding-top: 8rem;
  }
  .trivia-page__intro .title {
    font-size: 3.6rem;
  }
  .quiz {
    padding: calc(5vw + 3rem) 2rem calc(4.5vw + 3rem);
  }
  .quiz::before {
    transform: scaleY(0.62);
    transform-origin: top;
  }
  .quiz::after {
    transform: scaleY(0.64);
    transform-origin: bottom;
  }
  .quiz__q {
    font-size: 2.4rem;
  }
  .quiz__option {
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
  }
  .quiz__body {
    margin-right: 0;
  }
  .ranking__head {
    display: grid;
    padding: 0 0.9rem 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
  }
  .ranking__row,
  .ranking__head {
    grid-template-columns: 2.8rem minmax(0, 1fr) 5rem 4.5rem;
  }
  .ranking__time {
    display: block;
    text-align: right;
  }
  .trivia-page__stripes {
    background-size: 60px 100%;
  }
  .trivia-page__actions {
    max-width: 560px;
    margin-inline: auto;
  }

  /* --- confirmacion --- */
  .confirmacion {
    padding-top: 8rem;
  }
  .confirmacion .container {
    max-width: 640px;
  }
  .confirmacion__intro p {
    font-size: 1.1rem;
  }

  /* --- galeria-page --- */
  .galeria-page {
    padding-top: 8rem;
  }
  .fotos {
    column-gap: 1rem;
    margin-inline: 0;
  }
  .fotos__item {
    margin-bottom: 1rem;
  }
  .galeria-page__actions {
    max-width: 560px;
    margin-inline: auto;
  }
  .lightbox {
    padding: 4.5rem 6rem;
  }
  .lightbox__img {
    max-height: calc(100vh - 9rem);
  }
  .lightbox__nav {
    top: 50%;
    bottom: auto;
    margin-top: -23px;
  }
  .lightbox__nav.-prev {
    left: 1.5rem;
  }
  .lightbox__nav.-next {
    right: 1.5rem;
  }

  /* --- music --- */
  .music-player {
    right: 1.5rem;
    bottom: 1.5rem;
    gap: 0.8rem;
  }
  .music-player__range {
    width: 84px;
  }

  /* --- btn --- */
  .btn {
    font-size: 1.4rem;
  }
  .lugar__actions .btn {
    flex: 1;
  }

  /* --- presentacion --- */
  .presentacion__wrapper {
    max-width: 700px;
    margin: 0 auto;
  }
  .presentacion__squares,
  .footer__squares {
    width: 100%;
    margin-left: 0;
    aspect-ratio: 1379.9 / 188.17;
    background: url("../images/cuadros.svg") center top / 50% auto repeat-x;
  }
  .presentacion__squares img,
  .footer__squares img {
    display: none;
  }
  .presentacion__cake {
    display: none;
  }
  .presentacion__row.-bottom {
    align-items: center;
    justify-content: flex-end;
    padding: 3rem 0;
  }
  .presentacion__calendar {
    width: 80%;
    margin: 0 -17rem 0 0;
  }
  .presentacion__actions {
    max-width: 560px;
    margin: 2rem auto 0;
  }
  .presentacion__content {
    width: 58%;
  }
  .presentacion__row.-top::after {
    top: calc(100% - 2vw);
    transform: scaleY(0.62);
    transform-origin: top;
}
  .presentacion__strip {
    width: 52%;
    left: -2rem;
    top: -7rem;
  }
  .presentacion__content .title {
    font-size: 4rem;
  }
  .presentacion__row.-top {
    padding: 3.5rem 0;
  }
  .presentacion__row.-bottom::after {
    top: calc(100% - 10vw);
    transform: scaleY(0.64);
    transform-origin: bottom;
  }

  /* --- galeria --- */
  .galeria__wrapper {
    max-width: 700px;
    margin: 0 auto;
  }
  .galeria__photos {
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
  }
  .galeria__photo.-one {
    margin-left: calc(50% - 360px);
  }
  .galeria__photo.-two {
    margin-right: calc(50% - 360px);
  }
  .galeria__photo.-three {
    margin-left: calc(50% - 340px);
  }
  .galeria__photo.-four {
    margin-right: calc(50% - 340px);
  }
  .galeria__icon {
    width: 30%;
    margin-left: 0;
  }
  .galeria__photo {
    width: 340px;
  }
  .galeria__photo.-one,
  .galeria__photo.-two,
  .galeria__photo.-three,
  .galeria__photo.-four {
    width: 340px;
  }

  /* --- lugar --- */
  .lugar__content {
    max-width: 640px;
    margin: 0 auto;
  }
  .lugar__actions {
    flex-direction: row;
    max-width: 560px;
    margin: 2.5rem auto 0;
  }
  .lugar__media::before,
  .dresscode__cover-photo::before {
    top: -3vw;
    height: 22vw;
    transform: scaleY(0.4);
  }
  .lugar__media::after {
    bottom: -1px;
    height: 14.2vw;
    transform: none;
  }
  .lugar__media::before {
    display: none;
    top: -16vw;
    height: 24vw;
    transform: none;
  }
  .lugar__media img {
    position: absolute;
    inset: 0;
  }
  .lugar__media {
    aspect-ratio: 21 / 9;
    margin-top: 14vw;
  }

  /* --- timing --- */
  .timing {
    padding-top: calc(10.6vw + 4rem);
  }

  /* --- dresscode --- */
  .dresscode__cover {
    max-width: 900px;
    margin: 0 auto;
  }
  .dresscode__looks {
    max-width: 900px;
    margin: 0 auto;
    gap: 0;
  }
  .dresscode__actions {
    max-width: 560px;
  }
  .dresscode__cover-photo::before {
    top: -16vw;
    height: 24vw;
    transform: none;
  }

  /* --- asistencia --- */
  .asistencia::before {
    background-size:
      70px 100%,
      auto;
  }
  .asistencia__letter {
    width: 100%;
    left: 0;
    margin: 0 auto;
  }
}

@media screen and (min-width: 980px) {
  /* --- error-404 --- */
  .error-404 {
    padding-top: 9rem;
  }
  .error-404__squares {
    width: 100%;
    margin-left: 0;
    aspect-ratio: 12.22;
    background: url("../images/cuadros.svg") center top / 30% auto repeat-x;
  }
  .error-404__squares img {
    display: none;
  }
  .error-404 .title {
    font-size: 4rem;
  }
  .error-404__actions {
    flex-direction: row;
    max-width: 720px;
  }
  .error-404__actions .btn {
    flex: 1;
  }

  /* --- tienda --- */
  .tienda {
    padding: 10rem 0 5rem;
  }
  .tienda .container {
    max-width: 1200px;
    padding-inline: 3rem;
  }
  .tienda__intro .title {
    font-size: 4rem;
  }
  .tienda__tabs,
  .tienda__bar {
    max-width: 40rem;
    margin-inline: auto;
  }
  .tienda__menu {
    max-width: 40rem;
    margin-inline: auto;
  }
  .productos {
    grid-template-columns: repeat(3, 1fr);
  }
  .producto__info {
    padding: 0.8rem 1rem 0.9rem;
  }
  .producto__name {
    font-size: 1.2rem;
}
  .producto__price {
    font-size: 1.3rem;
}
  .producto__total {
    font-size: 0.9rem;
  }
  /* En escritorio el cuadro de texto va siempre a la izquierda (sin zigzag) */
  .producto.-right .producto__foto {
    margin-right: 0;
    margin-left: auto;
  }
  .producto.-right .producto__info {
    right: auto;
    left: 0;
    text-align: left;
    padding: 0.8rem 2rem 0.8rem 1rem;
}
  .producto.-right .producto__btn {
    right: auto;
    left: calc(58% - 32px);
  }
  .producto.-right .producto__stock {
    left: auto;
    right: 0.4rem;
    text-align: right;
  }
  .producto.-right .producto__mode {
    justify-content: flex-end;
  }
  .producto.-right .producto__tip {
    left: auto;
    right: 0;
  }

  /* --- trivia --- */
  .trivia-page {
    padding: 10rem 0 5rem;
  }
  .trivia-page__intro .title {
    font-size: 4rem;
  }
  .quiz {
    padding: calc(5vw + 3rem) 3rem calc(4.5vw + 3rem);
  }
  .quiz__inner {
    max-width: 52rem;
  }
  .quiz__title {
    font-size: 2.8rem;
  }
  .quiz__q {
    font-size: 2.8rem;
  }
  .quiz__body {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 3rem;
    margin-top: 3rem;
  }
  .quiz__btn {
    max-width: 24rem;
    margin-inline: auto;
  }
  .quiz__option {
    font-size: 1.2rem;
  }
  .ranking__row {
    padding: 0.9rem 1.2rem;
  }
  .trivia-page__actions {
    flex-direction: row;
    max-width: 720px;
  }
  .trivia-page__actions .btn {
    flex: 1;
  }

  /* --- confirmacion --- */
  .confirmacion {
    padding: 10rem 0 6rem;
  }
  .confirmacion .container {
    max-width: 720px;
  }
  .confirmacion__intro .title {
    font-size: 4rem;
  }

  /* --- galeria-page --- */
  .galeria-page {
    padding: 10rem 0 6rem;
  }
  .galeria-page .container {
    max-width: 1200px;
    padding-inline: 3rem;
  }
  .fotos {
    columns: 3;
    margin-top: 4rem;
  }
  .galeria-page .galeria__more {
    margin-inline: auto;
  }
  .galeria-page__actions {
    flex-direction: row;
    max-width: 720px;
  }
  .galeria-page__actions .btn {
    flex: 1;
  }

  /* --- btn --- */
  .presentacion__actions .btn {
    flex: 1;
  }
  .galeria .btn {
    max-width: 560px;
  }
  .lugar__actions .btn {
    flex: 1;
  }
  .asistencia__content .btn {
    font-size: 1.3rem;
  }
  .trivia__wrapper .btn {
    width: 280px;
    flex: none;
  }

  /* --- hero --- */
  .hero__wrapper {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
    text-align: left;
  }
  .hero__photo {
    width: 45%;
  }
  .hero__content {
    align-items: flex-start;
    margin-top: 0;
  }

  /* --- presentacion --- */
  .presentacion__squares {
    width: 100%;
    margin-left: 0;
  }
  .presentacion__squares,
  .footer__squares,
  .dresscode__squares {
    background: url("../images/cuadros.svg") center top / 30% auto repeat-x;
  }
  .presentacion__squares img,
  .footer__squares img,
  .dresscode__squares img {
    display: none;
  }
  .presentacion__squares,
  .footer__squares {
    aspect-ratio: 12.22;
  }
  .presentacion__wrapper {
    max-width: 1000px;
    margin-top: 1.5rem;
  }
  .presentacion__row.-top {
    padding: 2rem 0 1rem;
  }
  .presentacion__note {
    margin: 1.5rem 0 2rem !important;
}
  .presentacion__strip {
    width: 34%;
    left: -2rem;
    top: -5rem;
  }
  .presentacion__content {
    width: 48%;
  }
  .presentacion__cake {
    display: none;
  }
  .presentacion__row.-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 0 2rem;
  }
  .presentacion__calendar {
    align-self: auto;
    width: 70%;
    margin: 0;
  }
  .presentacion__actions {
    flex-direction: row;
    max-width: 720px;
  }

  /* --- galeria --- */
  .galeria__intro {
    max-width: 640px;
  }
  .galeria__photos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100vw;
    margin: 4rem 0 0;
    padding: 0rem 3rem 0rem;
    background-size: 60px calc(100% - 4rem);
  }
  .galeria__photos .galeria__photo {
    flex: 0 0 auto;
    width: min(22vw, 300px);
    margin: 0;
  }
  .galeria__photos .galeria__photo.-one {
    margin-top: -3rem;
    transform: rotate(-3deg);
  }
  .galeria__photos .galeria__photo.-two {
    margin-top: 2rem;
    transform: rotate(2deg);
  }
  .galeria__photos .galeria__photo.-three {
    margin-top: -1rem;
    transform: rotate(-2deg);
  }
  .galeria__photos .galeria__photo.-four {
    margin-top: 3rem;
    transform: rotate(3deg);
  }
  .galeria__more {
    max-width: 760px;
    width: 100%;
  }

  /* --- lugar --- */
  .lugar {
    margin-top: 7vw;
    padding: 5rem 0 6rem;
    background-color: var(--color-dark);
    color: var(--color-cream);
  }
  .lugar::before,
  .lugar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 10.6vw;
    background: url("../images/recorte-oscuro-superior.svg") center top / 100%
      100% no-repeat;
    pointer-events: none;
  }
  .lugar::before {
    top: 1px;
    transform: scaleY(-0.6);
    transform-origin: top;
  }
  .lugar::after {
    top: calc(100% - 1px);
    transform: scaleY(0.6);
    transform-origin: top;
    filter: drop-shadow(0 6px 6px rgba(25, 26, 19, 0.35));
  }
  .lugar__wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "media intro"
      "media info";
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: left;
  }
  .lugar__intro {
    grid-area: intro;
    align-self: end;
  }
  .lugar__intro .title em {
    color: var(--color-cream);
    opacity: 0.8;
  }
  .lugar__media {
    grid-area: media;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
    border: solid #f3f3f1;
    border-width: 0.8rem 0.8rem 3rem;
    background-color: #f3f3f1;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
    transform: rotate(-2deg);
    transition:
      transform 0.6s var(--ease),
      box-shadow 0.6s var(--ease);
  }
  .lugar__media:hover {
    transform: rotate(1deg) scale(1.03);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.55);
  }
  .lugar__media::before,
  .lugar__media::after {
    display: none;
  }
  .lugar__media img {
    border-radius: 2px;
  }
  .lugar__info {
    grid-area: info;
    align-self: start;
    width: auto;
    padding: 0;
    background: none;
  }
  .lugar__info::after {
    display: none;
  }
  .lugar__content h3 {
    margin-top: 1.5rem;
  }
  .lugar__actions {
    flex-direction: row;
    max-width: none;
    margin: 2rem 0 0;
  }

  /* --- timing --- */
  .timing {
    padding-top: calc(6.4vw + 4rem);
  }
  .timing__wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
  }
  .timing__image {
    width: 55%;
    max-width: 560px;
    margin-top: 0;
  }

  /* --- dresscode --- */
  .dresscode {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 9rem auto auto auto;
    grid-template-areas:
      "squares squares"
      "polaroid intro"
      "polaroid bottom"
      "looks looks";
    column-gap: 5rem;
    align-items: center;
    max-width: none;
    margin: 0;
    padding: 0 max(3rem, calc((100% - 1100px) / 2)) 4rem;
  }
  .dresscode__cover {
    display: contents;
  }
  .dresscode__squares {
    grid-area: squares;
    align-self: start;
    height: 100%;
    margin: 0 calc(50% - 50vw);
    width: auto;
  }
  .dresscode__cover-photo {
    display: none;
  }
  .dresscode__polaroid {
    display: block;
    position: relative;
    grid-area: polaroid;
    grid-row: 1 / span 3;
    align-self: start;
    margin-top: 4rem;
    z-index: 3;
    transform: rotate(-3deg);
    filter: drop-shadow(0 8px 14px rgba(25, 26, 19, 0.2));
  }
  .dresscode > .container:nth-child(2) {
    grid-area: intro;
    align-self: end;
    padding: 0;
  }
  .dresscode__looks {
    grid-area: looks;
    max-width: 900px;
    width: 100%;
    margin: 3rem auto 0;
    padding: 0;
  }
  .dresscode > .container:nth-child(4) {
    grid-area: bottom;
    align-self: start;
    padding: 0;
  }
  .dresscode__wrapper {
    align-items: flex-start;
    text-align: left;
    padding: 4rem 0 2rem;
  }
  .dresscode__intro p {
    margin-left: 0;
  }
  .dresscode__bottom {
    align-items: flex-start;
  }
  .dresscode__colors {
    justify-content: flex-start;
  }
  .dresscode__actions {
    max-width: 420px;
  }

  /* --- asistencia --- */
  .asistencia::before {
    background-size:
      60px 100%,
      auto;
  }
  .asistencia__letter {
    width: min(100%, 720px);
  }
  .asistencia__content .title {
    font-size: 3rem;
  }
  .asistencia__content p {
    font-size: 1.05rem;
  }

  /* --- trivia --- */
  .trivia__wrapper {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
  }
  .trivia__content p {
    margin-left: 0;
  }

  /* --- footer --- */
  .footer__squares {
    width: 100%;
    margin-left: 0;
  }
}

@media screen and (min-width: 1280px) {
  /* --- tienda --- */
  .productos {
    gap: 5rem 3.5rem;
  }

  /* --- galeria-page --- */
  .fotos {
    column-gap: 1.25rem;
  }
  .fotos__item {
    margin-bottom: 1.25rem;
  }
}

/**
*	MOVIMIENTO REDUCIDO
*	=======================================================================================================
**/
@media (prefers-reduced-motion: reduce) {
  .btn.-gift .btn__icon,
  .music-player__bars i,
  .music-player.is-waiting .music-player__toggle::after {
    animation: none !important;
  }
}
