:root {
  --cream: #f1e6d7;
  --copper: #c77b47;
  --dark: #090807;
  --brand-blue: #173954;
  --brand-blue-deep: #102c45;
  --brand-gold: #d4af7c;
  --brand-cocoa: #4a3428;
  --brand-ivory: #f5ede1;
  --page-gutter: max(6vw, calc((100vw - 1480px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background-image: url(../img/wallpapers.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--cream);
  font-family: "Montserrat", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.hero {
  min-height: 100svh;
  background-image: url("../img/wallpapers.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  width: 100%;
  height: clamp(92px, 14vh, 132px);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  background: linear-gradient(
    180deg,
    rgba(5, 18, 29, 0.54),
    rgba(5, 18, 29, 0)
  );
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 13px;
}

.brand__logo {
  display: block;
  width: clamp(28px, 2.4vw, 40px);
  height: auto;
}

.brand__mark {
  width: clamp(30px, 2.8vw, 46px);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: var(--copper);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--copper);
  line-height: 1;
  color: #d4af7c;
}

.brand__text strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 1.55vw, 28px);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #d4af7c;
}

.brand__text small {
  padding-left: 2px;
  font-size: clamp(6px, 0.5vw, 9px);
  font-weight: 600;
  letter-spacing: 0.48em;
  color: #d4af7c;
}

.nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: clamp(24px, 3.2vw, 52px);
}

.nav-toggle {
  display: none;
}

.nav__link {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 248, 238, 0.94);
  font-size: clamp(9px, 0.68vw, 11px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.72);
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav__link::after {
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--copper);
  content: "";
  transition: right 0.25s ease;
}

.nav__link:hover,
.nav__link--active {
  color: #fff8ee;
}

.nav__link:hover::after,
.nav__link--active::after {
  right: 0;
}

.social-nav {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: clamp(22px, 2.2vw, 34px);
}

.social-nav a {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: rgba(255, 248, 238, 0.76);
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.7));
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.social-nav a:hover {
  transform: translateY(-2px);
  color: var(--brand-gold);
}

.social-nav i {
  font-size: 19px;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100svh - clamp(92px, 14vh, 132px));
  width: min(100% - 12vw, 1480px);
  margin: 0 auto;
  padding-bottom: clamp(50px, 9vh, 110px);
}

.hero__eyebrow {
  margin: 0 0 20px;
  color: var(--copper);
  font-size: clamp(8px, 0.62vw, 11px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #f8efe2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(46px, 8vw, 79px);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 0.76;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--copper);
}

.hero__rule {
  width: 31px;
  height: 2px;
  margin: 28px 0 22px;
  background: var(--copper);
}

.hero__copy {
  margin: 0 0 28px;
  color: rgba(241, 230, 215, 0.75);
  font-size: clamp(9px, 0.78vw, 13px);
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.9;
  text-transform: uppercase;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 145px;
  padding: 14px 20px;
  border: 1px solid rgba(199, 123, 71, 0.75);
  border-radius: 999px;
  color: #f4e9da;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.hero__button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__button:hover {
  transform: translateY(-2px);
  background: var(--copper);
  color: #170c07;
}

.hero__scroll {
  position: absolute;
  right: 3vw;
  bottom: 5vh;
  color: rgba(241, 230, 215, 0.45);
  font-size: 17px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  display: block;
  width: 1px;
  height: 120px;
  margin: 14px auto 0;
  background: rgba(199, 123, 71, 0.6);
  content: "";
}

@media (max-width: 820px) {
  .hero {
    background-image:
      linear-gradient(
        135deg,
        rgba(4, 5, 5, 0.98) 0%,
        rgba(5, 6, 5, 0.78) 42%,
        rgba(7, 4, 2, 0.16) 100%
      ),
      url("../img/1.webp");
    background-position:
      center,
      58% center;
  }

  .header {
    grid-template-areas:
      "brand toggle"
      "socials socials";
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 10px;
    width: 100%;
    height: auto;
    min-height: 118px;
    padding: 18px var(--page-gutter) 20px;
  }

  .brand {
    grid-area: brand;
    position: relative;
    z-index: 5;
  }

  .nav-toggle {
    grid-area: toggle;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    background: transparent;
    color: var(--brand-gold);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition:
      transform 0.25s ease,
      opacity 0.2s ease;
  }

  .header.is-menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .header.is-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .header.is-menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    z-index: 4;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    width: 100%;
    height: 100svh;
    padding: 130px var(--page-gutter) 80px;
    background: rgba(5, 18, 29, 0.985);
    opacity: 0;
    transform: translateY(-100%);
    visibility: hidden;
    transition:
      opacity 0.32s ease,
      transform 0.32s ease,
      visibility 0.32s ease;
  }

  .header.is-menu-open .nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav__link {
    width: min(100%, 360px);
    padding: 18px 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(30px, 10vw, 46px);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .social-nav {
    grid-area: socials;
    position: relative;
    z-index: 3;
    display: flex;
    justify-self: center;
    gap: 26px;
  }

  .social-nav i {
    font-size: 15px;
  }

  .hero__content {
    width: calc(100% - 48px);
  }

  .hero h1 {
    font-size: clamp(46px, 8vw, 79px);
  }

  .hero__eyebrow,
  .hero__scroll {
    display: none;
  }
}

@media (max-height: 620px) and (min-width: 821px) {
  .header {
    height: 84px;
  }

  .hero__content {
    min-height: calc(100svh - 84px);
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(52px, 6.2vw, 82px);
  }

  .hero__eyebrow {
    margin-bottom: 12px;
  }

  .hero__rule {
    margin: 18px 0 14px;
  }

  .hero__copy {
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Secciones interiores */
.collection,
.bespoke,
.contact {
  position: relative;
  overflow: hidden;
}

.collection {
  padding: clamp(90px, 12vw, 180px) var(--page-gutter);
  background:
    linear-gradient(rgba(245, 237, 225, 0.76), rgba(245, 237, 225, 0.88)),
    url("../img/background.png") center / cover;
}

.collection,
.bespoke,
.contact {
  background-repeat: no-repeat;
}

.collection .section-heading__eyebrow,
.collection .dessert-card__body p {
  color: #030303;
}

.collection .section-heading h2,
.collection .dessert-card h3 {
  color: var(--brand-blue-deep);
}

.collection .section-heading h2 em {
  color: #a66d32;
}

.collection .section-heading > p:last-child {
  color: rgba(16, 44, 69, 0.78);
}

.collection .text-button {
  border-bottom-color: rgba(16, 44, 69, 0.42);
  color: var(--brand-blue-deep);
}

.collection .text-button span {
  color: #8c552c;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  column-gap: 8vw;
  align-items: end;
  max-width: 1480px;
  margin: 0 auto clamp(55px, 7vw, 100px);
}

.section-heading__eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  color: var(--brand-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-heading h2,
.bespoke h2,
.contact h2 {
  margin: 0;
  color: #f8efe2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(50px, 6.3vw, 104px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.85;
}

.section-heading h2 em,
.bespoke h2 em,
.contact h2 em {
  color: var(--brand-gold);
  font-weight: 500;
}

.section-heading > p:last-child,
.bespoke__content > p {
  max-width: 510px;
  margin: 0 0 5px;
  color: rgba(245, 237, 225, 0.74);
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: 0.05em;
  line-height: 1.9;
}

.collection__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 42px);
  max-width: 1480px;
  margin: 0 auto;
}

.dessert-card--raised {
  transform: none;
}

.dessert-card__image {
  position: relative;
  aspect-ratio: 0.78;
  overflow: hidden;
  background: var(--brand-blue-deep);
}

.dessert-card__image::before {
  position: absolute;
  z-index: 2;
  inset: -25% 0 0;
  background-image:
    radial-gradient(circle, rgba(255, 250, 240, 0.9) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 250, 240, 0.7) 0 1.4px, transparent 2px),
    radial-gradient(
      circle,
      rgba(255, 250, 240, 0.78) 0 0.8px,
      transparent 1.5px
    );
  background-position:
    12% 20%,
    68% 5%,
    88% 28%;
  background-size:
    38px 42px,
    55px 48px,
    31px 36px;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.dessert-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(4, 3, 3, 0.55));
  content: "";
}

.dessert-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.dessert-card:hover .dessert-card__image img {
  transform: scale(1.035);
}

.dessert-card:hover .dessert-card__image::before,
.dessert-card:focus-within .dessert-card__image::before {
  animation: sugar-dust 1.4s ease-out;
}

@keyframes sugar-dust {
  0% {
    transform: translateY(-8%);
    opacity: 0;
  }

  22% {
    opacity: 0.75;
  }

  100% {
    transform: translateY(28%);
    opacity: 0;
  }
}

.dessert-card__image > span {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  color: rgba(241, 230, 215, 0.65);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
}

.dessert-card__body {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 25px 2px 0;
}

.dessert-card__body p {
  margin: 0 0 8px;
  color: var(--brand-gold);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dessert-card h3 {
  margin: 0;
  color: #f8efe2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(29px, 2.5vw, 43px);
  font-weight: 500;
}

.text-button,
.outline-button,
.quote-modal__close,
.quote-form__submit {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.text-button {
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 124, 0.7);
  background: transparent;
  color: rgba(241, 230, 215, 0.75);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-button span {
  margin-left: 8px;
  color: var(--brand-gold);
}

.bespoke {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: center;
  gap: 9vw;
  min-height: 85vh;
  padding: clamp(90px, 12vw, 180px) var(--page-gutter);
  border-top: 1px solid rgba(212, 175, 124, 0.28);
  background:
    linear-gradient(90deg, rgba(16, 44, 69, 0.94), rgba(23, 57, 84, 0.7)),
    url("../img/2.webp") center / cover;
}

.bespoke__number {
  position: absolute;
  right: 3vw;
  bottom: -0.22em;
  color: rgba(212, 175, 124, 0.1);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: min(35vw, 520px);
  line-height: 1;
}

.bespoke__content,
.bespoke__steps {
  position: relative;
  z-index: 1;
}

.bespoke__content > p {
  margin: 32px 0;
  color: #fff;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-width: 220px;
  padding: 17px 21px;
  border: 1px solid rgba(212, 175, 124, 0.78);
  background: transparent;
  color: #f4e9da;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.outline-button:hover {
  background: var(--brand-gold);
  color: var(--brand-blue-deep);
}

.bespoke__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bespoke__steps li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(241, 230, 215, 0.14);
}

.bespoke__steps li > span {
  color: var(--brand-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
}

.bespoke__steps strong {
  color: #f8efe2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 500;
}

.bespoke__steps p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(45px, 7vh, 80px) var(--page-gutter) 30px;
  background:
    linear-gradient(rgba(245, 237, 225, 0.58), rgba(232, 223, 210, 0.72)),
    url("../img/3seccion.jpg") center / cover;
}

.contact__top,
.contact__main,
.contact__bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
}

.contact__top {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact__brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact__brand img {
  width: clamp(34px, 2.6vw, 46px);
  height: auto;
}

.contact__brand > p {
  margin: 0;
  color: var(--brand-blue-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 0.85;
  text-transform: uppercase;
}

.contact__brand span {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 7px;
  letter-spacing: 0.38em;
}

.contact__tagline {
  margin: 0;
  color: rgba(16, 44, 69, 0.72);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.8;
  text-align: center;
  text-transform: uppercase;
}

.contact__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(70px, 10vw, 170px);
  max-width: 1480px;
}

.contact__callout .outline-button {
  margin-top: 28px;
}

.contact .section-heading__eyebrow {
  color: #604333;
}

.contact h2 {
  color: var(--brand-blue-deep);
}

.contact h2 em {
  color: #a66d32;
}

.contact__intro {
  max-width: 460px;
  margin: 25px 0 0;
  color: rgb(0, 0, 0);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.contact .outline-button {
  border-color: rgba(16, 44, 69, 0.55);
  color: var(--brand-blue-deep);
}

.contact .outline-button:hover {
  border-color: var(--brand-gold);
}

.contact__details {
  padding-left: clamp(28px, 4vw, 58px);
  border-left: 1px solid rgba(16, 44, 69, 0.24);
  color: var(--brand-blue-deep);
}

.contact__details-title,
.contact__details > span {
  display: block;
  margin: 0 0 24px;
  color: rgba(16, 44, 69, 0.72);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact__details > span {
  margin-bottom: 7px;
  color: #8c552c;
  font-size: 7px;
}

.contact__phone {
  display: inline-block;
  color: var(--brand-blue-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(27px, 2.2vw, 38px);
  font-weight: 600;
  line-height: 1;
}

.contact__meta {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 44, 69, 0.16);
}

.contact__meta p {
  margin: 0;
  color: rgba(16, 44, 69, 0.68);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.contact__bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(16, 44, 69, 0.16);
  text-align: center;
}

.contact__legal {
  margin: 0;
  color: rgb(0, 0, 0);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact__legal a {
  color: var(--brand-blue-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(16, 44, 69, 0.35);
  text-underline-offset: 3px;
}

.contact__instagram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-blue-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Cotizador */
.quote-modal {
  position: fixed;
  inset: 0;
  width: min(760px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(74, 52, 40, 0.22);
  background: var(--brand-ivory);
  color: var(--brand-blue-deep);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.7);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.quote-modal::backdrop {
  background: rgba(10, 29, 46, 0.72);
  backdrop-filter: blur(6px);
}

.quote-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 30px clamp(24px, 5vw, 48px) 25px;
  border-bottom: 1px solid rgba(16, 44, 69, 0.13);
}

.quote-modal__header h2 {
  margin: 0;
  color: var(--brand-blue-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 6vw, 55px);
  font-weight: 500;
}

.quote-modal__close {
  padding: 0;
  background: transparent;
  color: rgba(16, 44, 69, 0.65);
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 200;
  line-height: 1;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 28px clamp(24px, 5vw, 48px) 38px;
}

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.field > span {
  margin-bottom: 9px;
  color: rgba(16, 44, 69, 0.75);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(16, 44, 69, 0.2);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-blue-deep);
  font:
    12px "Montserrat",
    Arial,
    sans-serif;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-gold);
}

.field textarea {
  resize: vertical;
}

.quote-form__selection {
  margin: -4px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--brand-gold);
  background: rgba(212, 175, 124, 0.1);
  color: rgba(16, 44, 69, 0.72);
  font-size: 10px;
  line-height: 1.6;
}

.personalized-option {
  cursor: pointer;
}

.personalized-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.personalized-option > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(16, 44, 69, 0.25);
  color: var(--brand-blue-deep);
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.personalized-option strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.personalized-option small {
  color: rgba(16, 44, 69, 0.62);
  font-size: 9px;
  line-height: 1.5;
}

.personalized-option input:checked + span {
  border-color: var(--brand-gold);
  background: rgba(212, 175, 124, 0.2);
}

.quote-form.is-personalized
  > :not(.personalized-option):not(.quote-form__submit):not(.quote-form__note) {
  opacity: 0.34;
  pointer-events: none;
}

.quote-form__submit {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--brand-gold);
  color: var(--brand-blue-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-form__note {
  align-self: center;
  margin: 0;
  color: rgba(16, 44, 69, 0.55);
  font-size: 9px;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

.scroll-reveal {
  transform: translate3d(var(--reveal-x, -64px), 20px, 0) scale(0.97);
  filter: blur(4px);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.16, 0.8, 0.25, 1),
    filter 0.7s ease,
    opacity 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, filter, opacity;
}

.scroll-reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  opacity: 1;
}

@media (min-width: 821px) {
  .collection,
  .bespoke,
  .contact {
    min-height: 620px;
    height: 100svh;
    scroll-margin-top: 0;
  }

  .collection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(32px, 5vh, 58px);
  }

  .collection .section-heading {
    width: 100%;
    margin-bottom: clamp(22px, 3.5vh, 38px);
  }

  .collection .section-heading__eyebrow {
    margin-bottom: clamp(8px, 1.4vh, 16px);
  }

  .collection .section-heading h2 {
    font-size: clamp(54px, 8.5vh, 92px);
  }

  .collection__grid {
    width: 100%;
  }

  .dessert-card--raised {
    transform: none;
  }

  .dessert-card__image {
    height: clamp(260px, 42vh, 450px);
    aspect-ratio: auto;
  }

  .dessert-card__body {
    padding-top: clamp(14px, 2vh, 22px);
  }

  .bespoke {
    min-height: 620px;
    padding-block: clamp(50px, 8vh, 90px);
  }

  .bespoke h2,
  .contact h2 {
    font-size: clamp(54px, 8.5vh, 96px);
  }

  .contact {
    min-height: 620px;
    padding-top: clamp(50px, 8vh, 90px);
    padding-bottom: clamp(24px, 4vh, 40px);
  }

  .contact__legal {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 28px;
  }

  .collection__grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .dessert-card--raised {
    transform: none;
  }

  .dessert-card__image {
    aspect-ratio: 0.9;
  }

  .bespoke {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 55px;
    padding-inline: var(--page-gutter);
    text-align: center;
  }

  .bespoke__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bespoke__content > p {
    margin-inline: auto;
  }

  .bespoke__steps {
    width: 100%;
    max-width: 520px;
  }

  .bespoke__steps li {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .contact {
    align-items: center;
    gap: 28px;
    height: auto;
    justify-content: center;
    min-height: 100svh;
    overflow: visible;
    padding: 52px var(--page-gutter) 118px;
    text-align: center;
  }

  .contact__tagline {
    display: none;
  }

  .contact__top {
    display: none;
  }

  .contact__brand {
    justify-content: center;
  }

  .contact__main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact__details {
    padding: 30px 0 0;
    border-top: 1px solid rgba(16, 44, 69, 0.24);
    border-left: 0;
  }

  .contact__meta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact__bottom {
    position: absolute;
    right: var(--page-gutter);
    bottom: 80px;
    left: var(--page-gutter);
    width: auto;
    padding-top: 14px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .contact__legal {
    margin: 0;
  }
}

@media (max-width: 560px) {
  .quote-modal {
    top: 16px;
    right: auto;
    bottom: auto;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100dvh - 32px);
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: 0 !important;
    transform: none;
  }

  .quote-modal__header {
    padding: 24px 20px 20px;
  }

  .quote-form {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 22px 20px 28px;
  }

  .field--wide {
    grid-column: auto;
  }

  .quote-form__note {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    transition: none;
  }

  .scroll-reveal {
    transform: none;
    filter: none;
    opacity: 1;
  }

  .dessert-card:hover .dessert-card__image::before,
  .dessert-card:focus-within .dessert-card__image::before {
    animation: none;
  }
}
