:root {
  --nopal: #0f4637;
  --nopal-deep: #082f26;
  --cobalto: #1558a6;
  --cobalto-deep: #0d3c78;
  --cochinilla: #a92f3d;
  --barro: #c95d3f;
  --cempasuchil: #f2b632;
  --rosa: #e56a83;
  --vainilla: #fff7e8;
  --papel: #f8edd9;
  --ink: #11392f;
  --white: #fffdf8;
  --line: rgba(15, 70, 55, 0.2);
  --shadow: 0 26px 70px rgba(8, 47, 38, 0.2);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: Avenir, "Avenir Next", Montserrat, "Segoe UI", sans-serif;
  --shell: min(1280px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--vainilla);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection { color: var(--white); background: var(--cochinilla); }

body.lightbox-open { overflow: hidden; }

img,
video { display: block; width: 100%; max-width: 100%; }

a { color: inherit; }

button,
input,
select,
textarea { color: inherit; font: inherit; }

button,
summary,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--cempasuchil); outline-offset: 4px; }

[hidden] { display: none !important; }

.shell { width: var(--shell); margin-inline: auto; }

.section { position: relative; padding-block: clamp(88px, 10vw, 160px); }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

h2 { margin-bottom: 28px; font-size: clamp(3.25rem, 6.2vw, 7rem); }
h3 { font-size: clamp(1.65rem, 2vw, 2.35rem); }

.eyebrow {
  margin-bottom: 22px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.light { color: rgba(255, 253, 248, 0.84); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--white);
  background: var(--nopal-deep);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 300;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cempasuchil), var(--rosa), var(--cobalto));
  transform-origin: left;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--papel);
  background: var(--nopal-deep);
  opacity: 1;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.site-loader::before,
.site-loader::after {
  position: absolute;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgba(255, 247, 232, 0.22);
  border-radius: 50%;
  animation: loaderRing 1.8s ease-in-out infinite alternate;
}

.site-loader::after { width: 330px; height: 330px; animation-delay: 250ms; }

.site-loader img {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 6px solid var(--papel);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.site-loader span {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}

body.site-ready .site-loader { visibility: hidden; opacity: 0; pointer-events: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 12px clamp(18px, 3vw, 48px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: min-height 220ms ease, color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  color: var(--nopal-deep);
  background: rgba(255, 247, 232, 0.95);
  box-shadow: 0 8px 28px rgba(8, 47, 38, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  background: var(--papel);
  border: 2px solid currentColor;
  border-radius: 50%;
}

.brand span { font-family: var(--serif); font-size: 1.15rem; }

.desktop-nav { display: flex; gap: clamp(18px, 2.5vw, 38px); }

.desktop-nav a,
.site-footer nav a {
  position: relative;
  padding-block: 8px;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }

.language-switcher { display: flex; align-items: center; gap: 5px; font-size: 0.74rem; font-weight: 800; }

.language-switcher button {
  padding: 5px 2px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0.48;
}

.language-switcher button.is-active { opacity: 1; }

.instagram-link { display: grid; place-items: center; width: 36px; height: 36px; }
.instagram-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 27px;
  color: var(--white);
  background: var(--nopal);
  border: 1px solid var(--nopal);
  text-decoration: none;
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover { color: var(--nopal-deep); background: var(--cempasuchil); border-color: var(--cempasuchil); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 10px 18px; font-size: 0.68rem; }
.button-marigold { color: var(--nopal-deep); background: var(--cempasuchil); border-color: var(--cempasuchil); }
.button-marigold:hover { color: var(--white); background: var(--cochinilla); border-color: var(--cochinilla); }
.button-light { color: var(--nopal-deep); background: var(--white); border-color: var(--white); }
.site-header:not(.is-scrolled) .header-quote { color: var(--nopal-deep); background: var(--cempasuchil); border-color: var(--cempasuchil); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 7px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.light-link { color: var(--white); }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--nopal-deep);
}

.hero-video {
  position: absolute;
  inset: -2%;
  width: 104%;
  max-width: none;
  height: 104%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.03);
  transition: transform 120ms linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 36, 29, 0.91) 0%, rgba(6, 36, 29, 0.7) 40%, rgba(6, 36, 29, 0.15) 78%),
    linear-gradient(0deg, rgba(6, 36, 29, 0.72) 0%, transparent 52%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: min(38vw, 580px);
  height: 100%;
  opacity: 0.18;
  background:
    radial-gradient(circle at 25% 15%, transparent 0 9px, var(--cempasuchil) 10px 11px, transparent 12px),
    radial-gradient(circle at 75% 65%, transparent 0 13px, var(--rosa) 14px 15px, transparent 16px);
  background-size: 90px 90px, 130px 130px;
  mask-image: linear-gradient(90deg, transparent, black 36%);
}

.hero-content { position: relative; z-index: 2; padding-bottom: clamp(96px, 12vh, 145px); }
.hero-content > * { max-width: min(850px, 72vw); }

.hero h1 {
  max-width: 950px;
  margin-bottom: 28px;
  font-size: clamp(4.1rem, 8.5vw, 9.6rem);
  line-height: 0.86;
  text-shadow: 0 8px 36px rgba(4, 22, 18, 0.28);
  text-wrap: balance;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 36px;
  color: rgba(255, 253, 248, 0.92);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  line-height: 1.38;
}

.hero-actions { display: flex; align-items: center; gap: 30px; }

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.hero-services span {
  padding: 8px 13px;
  color: rgba(255, 253, 248, 0.92);
  background: rgba(255, 247, 232, 0.08);
  border: 1px solid rgba(255, 247, 232, 0.28);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.motion-toggle,
.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  color: var(--white);
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.motion-toggle { left: clamp(24px, 4vw, 60px); display: flex; align-items: center; gap: 9px; cursor: pointer; }
.motion-icon { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; font-size: 0.62rem; }
.scroll-cue { right: clamp(24px, 4vw, 60px); display: flex; gap: 12px; }

.music-control { position: fixed; right: 20px; bottom: 20px; z-index: 170; }

.music-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 10px 15px;
  color: var(--papel);
  background: rgba(8, 47, 38, 0.94);
  border: 1px solid rgba(255, 247, 232, 0.24);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(8, 47, 38, 0.22);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.equalizer { display: flex; align-items: end; gap: 2px; width: 16px; height: 16px; }
.equalizer i { display: block; width: 3px; height: 7px; background: var(--cempasuchil); border-radius: 2px; }
.equalizer i:nth-child(2) { height: 13px; }
.equalizer i:nth-child(3) { height: 10px; }
.music-button[aria-pressed="true"] .equalizer i { animation: equalize 650ms ease-in-out infinite alternate; }
.music-button[aria-pressed="true"] .equalizer i:nth-child(2) { animation-delay: 140ms; }
.music-button[aria-pressed="true"] .equalizer i:nth-child(3) { animation-delay: 280ms; }

.papel-band {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  height: 32px;
  overflow: hidden;
  background: var(--papel);
}

.papel-band span { position: relative; height: 32px; clip-path: polygon(0 0, 100% 0, 100% 58%, 80% 100%, 60% 62%, 40% 100%, 20% 62%, 0 100%); }
.papel-band span:nth-child(4n + 1) { background: var(--cochinilla); }
.papel-band span:nth-child(4n + 2) { background: var(--cempasuchil); }
.papel-band span:nth-child(4n + 3) { background: var(--cobalto); }
.papel-band span:nth-child(4n + 4) { background: var(--nopal); }

.flavor-marquee { overflow: hidden; color: var(--papel); background: var(--cochinilla); border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.marquee-track { display: flex; align-items: center; width: max-content; padding: 22px 0; animation: marquee 32s linear infinite; }
.marquee-track span { padding-inline: 34px; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.7rem); white-space: nowrap; }
.marquee-track b { color: var(--cempasuchil); font-size: 0.9rem; }
.flavor-marquee:hover .marquee-track { animation-play-state: paused; }

.story { display: grid; grid-template-columns: 0.95fr 1fr; gap: clamp(64px, 10vw, 150px); align-items: center; min-height: 900px; }
.story-visual { position: relative; min-height: 720px; }
.story-visual > img:first-child { position: absolute; inset: 0 12% 0 0; width: 88%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.story-visual::before { position: absolute; top: -28px; left: -28px; z-index: -1; width: 68%; height: 70%; content: ""; background: var(--cempasuchil); }
.story-logo { position: absolute; right: 0; bottom: 76px; width: 150px; height: 150px; object-fit: cover; background: var(--papel); border: 7px solid var(--papel); border-radius: 50%; box-shadow: var(--shadow); }
.story-caption { position: absolute; right: 5px; bottom: 25px; font-family: var(--serif); font-size: 1.05rem; font-style: italic; }
.story-copy { max-width: 590px; }
.large-copy { margin-bottom: 40px; font-family: var(--serif); font-size: clamp(1.27rem, 1.8vw, 1.7rem); line-height: 1.55; }
.story-values { border-top: 1px solid var(--line); }
.story-values > div { display: grid; grid-template-columns: 0.6fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.story-values strong { font-family: var(--serif); font-size: 1.15rem; }
.story-values span { font-size: 0.9rem; opacity: 0.72; }

.experiences {
  color: var(--papel);
  background:
    radial-gradient(circle at 15% 12%, rgba(242, 182, 50, 0.14), transparent 20%),
    radial-gradient(circle at 88% 80%, rgba(21, 88, 166, 0.24), transparent 24%),
    var(--nopal-deep);
}

.experiences::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.08;
  background: radial-gradient(circle, var(--papel) 1.5px, transparent 1.8px);
  background-size: 26px 26px;
  pointer-events: none;
}

.experiences .shell { position: relative; }
.experiences-heading { display: grid; grid-template-columns: 1fr 0.55fr; gap: 80px; align-items: end; margin-bottom: 65px; }
.experiences-heading h2 { margin-bottom: 0; }
.experiences-heading > p { max-width: 490px; margin: 0 0 12px; color: rgba(255, 247, 232, 0.8); font-family: var(--serif); font-size: 1.25rem; }

.experience-selector { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255, 247, 232, 0.24); border-left: 1px solid rgba(255, 247, 232, 0.24); }

.experience-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 104px 1fr;
  grid-template-rows: 1fr auto;
  gap: 22px;
  min-height: 330px;
  padding: 34px;
  color: var(--papel);
  background: rgba(255, 247, 232, 0.03);
  border: 0;
  border-right: 1px solid rgba(255, 247, 232, 0.24);
  border-bottom: 1px solid rgba(255, 247, 232, 0.24);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.experience-card::before { position: absolute; inset: 0; content: ""; background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.07)); opacity: 0; transition: opacity 220ms ease; }
.experience-card:hover { background: rgba(255, 247, 232, 0.08); }
.experience-card:hover::before { opacity: 1; }
.experience-card[aria-pressed="true"] { color: var(--nopal-deep); background: var(--cempasuchil); }
.experience-card:nth-child(2)[aria-pressed="true"] { color: var(--white); background: var(--cobalto); }
.experience-card:nth-child(3)[aria-pressed="true"] { color: var(--white); background: var(--cochinilla); }
.experience-card:nth-child(4)[aria-pressed="true"] { color: var(--nopal-deep); background: var(--rosa); }

.experience-number { position: relative; z-index: 1; font-family: var(--serif); font-size: 0.85rem; }
.experience-art { position: relative; z-index: 1; display: grid; place-items: center; width: 92px; height: 92px; border: 1px solid currentColor; border-radius: 50%; }
.experience-art::before,
.experience-art::after,
.experience-art i { position: absolute; content: ""; border: 1px solid currentColor; border-radius: 50%; }
.experience-art::before { width: 58px; height: 58px; }
.experience-art::after { width: 16px; height: 16px; background: currentColor; }
.experience-art i { width: 34px; height: 34px; border-style: dashed; }
.icecream-art::before { border-radius: 52% 52% 46% 46%; transform: rotate(-12deg); }
.pancake-art::before { width: 64px; height: 36px; border-radius: 50%; box-shadow: 0 11px 0 -1px transparent, 0 11px 0 0 currentColor; }
.esquites-art::before { width: 52px; height: 62px; border-radius: 8px 8px 22px 22px; }

.experience-content { position: relative; z-index: 1; display: flex; flex-direction: column; }
.experience-content small { margin-bottom: 14px; font-size: 0.67rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.68; }
.experience-content strong { margin-bottom: 15px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.experience-content > span { max-width: 400px; font-size: 0.94rem; opacity: 0.8; }
.experience-action { position: relative; z-index: 1; grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid currentColor; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.experience-action b { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; font-size: 1rem; transition: transform 220ms ease; }
.experience-card[aria-pressed="true"] .experience-action b { transform: rotate(45deg); }

.selection-dock {
  position: sticky;
  z-index: 20;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  width: min(900px, calc(100vw - 42px));
  margin: 34px auto 0;
  padding: 14px 14px 14px 22px;
  color: var(--nopal-deep);
  background: rgba(255, 247, 232, 0.96);
  box-shadow: 0 22px 60px rgba(3, 24, 19, 0.35);
  backdrop-filter: blur(12px);
}

.selection-dock > div { display: flex; flex-direction: column; }
.selection-dock > div span { font-size: 0.64rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.selection-dock > div strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.clear-selection { padding: 10px; color: var(--nopal); background: transparent; border: 0; text-decoration: underline; font-size: 0.7rem; font-weight: 800; cursor: pointer; }

.cart-moment { position: relative; display: flex; align-items: center; min-height: min(900px, 96svh); overflow: hidden; color: var(--white); background: var(--nopal-deep); }
.cart-moment-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cart-moment-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 36, 28, 0.92) 0%, rgba(5, 36, 28, 0.6) 48%, rgba(5, 36, 28, 0.08) 80%); }
.cart-moment-copy { position: relative; z-index: 2; }
.cart-moment-copy h2 { max-width: 840px; }
.cart-moment-copy > p:not(.eyebrow) { max-width: 610px; margin-bottom: 36px; color: rgba(255, 253, 248, 0.9); font-family: var(--serif); font-size: 1.3rem; }

.section-heading,
.gallery-heading { display: grid; grid-template-columns: 1fr 0.58fr; gap: 80px; align-items: end; margin-bottom: 65px; }
.section-heading h2,
.gallery-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 490px; margin: 0 0 10px; font-family: var(--serif); font-size: 1.25rem; }

.occasion-list { display: flex; flex-wrap: wrap; gap: 11px; }
.occasion-list span { display: inline-flex; align-items: center; min-height: 60px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--serif); font-size: 1.06rem; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.occasion-list span:nth-child(3n + 1):hover { color: var(--white); background: var(--cochinilla); border-color: var(--cochinilla); transform: translateY(-3px) rotate(-1deg); }
.occasion-list span:nth-child(3n + 2):hover { color: var(--white); background: var(--cobalto); border-color: var(--cobalto); transform: translateY(-3px) rotate(1deg); }
.occasion-list span:nth-child(3n + 3):hover { color: var(--nopal-deep); background: var(--cempasuchil); border-color: var(--cempasuchil); transform: translateY(-3px); }

.process-section { color: var(--papel); background: var(--cochinilla); }
.process-section::before { position: absolute; inset: 0; content: ""; opacity: 0.1; background: repeating-linear-gradient(45deg, transparent 0 28px, var(--papel) 29px 30px); }
.process-section .shell { position: relative; display: grid; grid-template-columns: 0.56fr 1fr; gap: clamp(60px, 10vw, 160px); }
.process-intro { position: sticky; top: 120px; align-self: start; }
.process-list { padding: 0; margin: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding: 38px 0 46px; border-top: 1px solid rgba(255, 247, 232, 0.3); }
.process-list li:last-child { border-bottom: 1px solid rgba(255, 247, 232, 0.3); }
.process-list li > span { font-family: var(--serif); font-size: 0.86rem; }
.process-list h3 { margin: 0 0 15px; font-size: clamp(2.2rem, 3.4vw, 3.8rem); }
.process-list p { margin-bottom: 0; color: rgba(255, 247, 232, 0.84); }

.gallery-section { background: var(--papel); }
.gallery-intro { max-width: 430px; }
.gallery-intro p { margin-bottom: 24px; font-family: var(--serif); font-size: 1.15rem; }

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(290px, 31vw); gap: 14px; }
.media-card { position: relative; min-width: 0; padding: 0; overflow: hidden; background: var(--nopal-deep); border: 0; cursor: zoom-in; }
.media-card-tall { grid-row: span 2; }
.media-card-wide { grid-column: span 2; }
.media-card img,
.media-card video { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease; }
.media-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(4, 30, 23, 0.62), transparent 45%); opacity: 0.65; transition: opacity 220ms ease; }
.media-card:hover img,
.media-card:hover video,
.media-card:focus-visible img,
.media-card:focus-visible video { transform: scale(1.04); filter: saturate(1.08); }
.media-card:hover::after { opacity: 0.9; }
.media-badge { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 9px 12px; color: var(--white); background: rgba(8, 47, 38, 0.85); border-radius: 999px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.media-badge i { font-style: normal; }

.inquiry-section { overflow: hidden; color: var(--white); background: var(--cobalto-deep); }
.inquiry-pattern { position: absolute; inset: 0; opacity: 0.12; background: radial-gradient(circle at center, var(--papel) 0 2px, transparent 3px); background-size: 32px 32px; transform: rotate(-4deg) scale(1.1); }
.inquiry-layout { position: relative; display: grid; grid-template-columns: 0.64fr 1fr; gap: clamp(60px, 9vw, 135px); align-items: start; }
.inquiry-intro { position: sticky; top: 112px; }
.inquiry-logo { width: 124px; height: 124px; margin-bottom: 34px; object-fit: cover; background: var(--papel); border: 6px solid var(--papel); border-radius: 50%; box-shadow: var(--shadow); }
.inquiry-intro h2 { max-width: 520px; }
.inquiry-intro > p:not(.eyebrow) { max-width: 500px; color: rgba(255, 253, 248, 0.84); font-family: var(--serif); font-size: 1.24rem; }
.selected-preview { margin-top: 32px; padding: 18px 20px; color: var(--nopal-deep); background: var(--cempasuchil); }
.selected-preview span { display: block; margin-bottom: 4px; font-size: 0.65rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.selected-preview strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 500; }

.inquiry-form { padding: clamp(28px, 4vw, 54px); color: var(--ink); background: var(--vainilla); box-shadow: var(--shadow); }
.form-services { padding: 0 0 30px; margin: 0 0 32px; border: 0; border-bottom: 1px solid var(--line); }
.form-services legend { margin-bottom: 14px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.form-service-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.form-service-options label { position: relative; }
.form-service-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form-service-options span { display: block; padding: 11px 13px; border: 1px solid var(--line); font-size: 0.76rem; font-weight: 800; cursor: pointer; }
.form-service-options input:checked + span { color: var(--white); background: var(--nopal); border-color: var(--nopal); }
.form-service-options input:focus-visible + span { outline: 3px solid var(--cempasuchil); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; }
.form-grid label,
.form-grid fieldset { min-width: 0; margin: 0; }
.form-grid label > span,
.form-grid legend { display: block; margin-bottom: 9px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.form-grid input,
.form-grid select,
.form-grid textarea { width: 100%; min-height: 52px; padding: 12px 2px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.form-grid textarea { padding: 14px 16px; border: 1px solid var(--line); resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus { outline: 0; border-color: var(--cochinilla); box-shadow: 0 2px 0 var(--cochinilla); }
.form-grid fieldset { padding: 0; border: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { position: relative; }
.radio-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.radio-row label > span { display: block; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.68rem; }
.radio-row input:checked + span { color: var(--white); background: var(--nopal); border-color: var(--nopal); }
.radio-row input:focus-visible + span { outline: 3px solid var(--cempasuchil); outline-offset: 2px; }
.full-span { grid-column: 1 / -1; }
.submit-button { display: flex; width: 100%; gap: 12px; margin-top: 30px; }
.form-note { margin: 14px 0 0; font-size: 0.76rem; opacity: 0.7; text-align: center; }
.form-success { margin-top: 20px; padding: 18px 20px; color: var(--white); background: var(--cochinilla); text-align: center; }
.form-success strong { margin-right: 6px; }

.faq-layout { display: grid; grid-template-columns: 0.62fr 1fr; gap: clamp(56px, 9vw, 140px); }
.faq-intro { position: sticky; top: 112px; align-self: start; }
.faq-intro p:last-child { max-width: 420px; font-family: var(--serif); font-size: 1.15rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 52px 25px 0; list-style: none; font-family: var(--serif); font-size: clamp(1.24rem, 1.8vw, 1.65rem); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: 6px; content: "+"; font-family: var(--sans); font-size: 1.3rem; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 690px; padding: 0 52px 26px 0; margin: 0; opacity: 0.76; }

.final-cta { position: relative; display: grid; place-items: center; min-height: 760px; padding: 110px 24px; overflow: hidden; color: var(--white); background: var(--nopal-deep); text-align: center; }
.final-tiles { position: absolute; inset: 0; opacity: 0.26; background: conic-gradient(from 45deg at 50% 50%, var(--cobalto) 0 25%, var(--cochinilla) 0 50%, var(--cempasuchil) 0 75%, var(--nopal) 0); background-size: 180px 180px; mask-image: radial-gradient(circle at center, black, transparent 72%); }
.final-logo { position: absolute; top: 54px; left: 50%; width: 118px; height: 118px; object-fit: cover; background: var(--papel); border: 6px solid var(--papel); border-radius: 50%; transform: translateX(-50%); box-shadow: var(--shadow); }
.final-copy { position: relative; z-index: 2; max-width: 1050px; padding-top: 70px; }
.final-copy h2 { font-size: clamp(3.4rem, 7vw, 7.4rem); }
.final-copy > p:not(.eyebrow) { max-width: 600px; margin: 0 auto 34px; font-family: var(--serif); font-size: 1.25rem; }

.site-footer { padding: 78px 0 24px; color: var(--papel); background: #061f19; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.55fr 0.55fr; gap: 75px; padding-bottom: 62px; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-brand img { width: 104px; height: 104px; object-fit: cover; background: var(--papel); border: 4px solid var(--papel); border-radius: 50%; }
.footer-brand h2 { margin: 0 0 6px; font-size: 2.5rem; }
.footer-brand p,
.footer-social p { margin: 0; color: rgba(255, 247, 232, 0.62); }
.site-footer nav,
.footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 9px; }
.footer-social a { font-family: var(--serif); font-size: 1.1rem; }
.music-credit { padding-top: 30px; color: rgba(255, 247, 232, 0.48); font-size: 0.7rem; }
.music-credit a { color: inherit; text-underline-offset: 3px; }
.music-credit a:hover,
.music-credit a:focus-visible { color: var(--cempasuchil); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; color: rgba(255, 247, 232, 0.56); border-top: 1px solid rgba(255, 247, 232, 0.18); font-size: 0.75rem; }
.footer-bottom a { text-decoration: none; }
.mobile-quote { display: none; }

.media-lightbox { width: min(94vw, 1200px); max-width: none; height: min(92vh, 900px); max-height: none; padding: 0; overflow: hidden; background: #041712; border: 0; }
.media-lightbox::backdrop { background: rgba(2, 15, 12, 0.9); backdrop-filter: blur(9px); }
.lightbox-stage { width: 100%; height: 100%; }
.lightbox-stage img,
.lightbox-stage video { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; color: var(--nopal-deep); background: var(--white); border: 0; border-radius: 50%; font-size: 1.55rem; cursor: pointer; }
.lightbox-instagram { position: absolute; left: 16px; bottom: 16px; z-index: 3; padding: 8px 12px; color: var(--white); background: rgba(8, 47, 38, 0.84); border-radius: 999px; text-decoration: none; font-size: 0.72rem; font-weight: 800; }

.celebration-burst { position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden; }
.celebration-burst i { position: absolute; top: 50%; left: 50%; width: 9px; height: 14px; background: var(--burst-color); opacity: 0; animation: burst 900ms cubic-bezier(0.15, 0.8, 0.25, 1) forwards; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes loaderRing { from { transform: scale(0.95); opacity: 0.28; } to { transform: scale(1.06); opacity: 0.72; } }
@keyframes equalize { from { transform: scaleY(0.45); } to { transform: scaleY(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes burst { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); } 100% { opacity: 0; transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) rotate(var(--burst-r)); } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav,
  .header-quote { display: none; }
  .story { gap: 60px; }
  .experience-card { grid-template-columns: 42px 86px 1fr; padding: 28px; }
  .experience-art { width: 80px; height: 80px; }
  .inquiry-layout,
  .faq-layout { gap: 60px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 34px, 680px); }
  html { scroll-padding-top: 70px; }
  body { padding-bottom: 66px; }
  .section { padding-block: 82px; }
  h2 { font-size: clamp(3.1rem, 15vw, 5.5rem); }

  .site-loader::before { width: 230px; height: 230px; }
  .site-loader::after { width: 270px; height: 270px; }
  .site-loader img { width: 126px; height: 126px; }

  .site-header { min-height: 70px; padding: 8px 16px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { display: none; }
  .header-actions { gap: 9px; }
  .instagram-link { display: none; }

  .hero { min-height: 860px; }
  .hero-video { object-position: 56% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(5, 36, 28, 0.95) 0%, rgba(5, 36, 28, 0.68) 58%, rgba(5, 36, 28, 0.18) 100%); }
  .hero-content { padding-bottom: 104px; }
  .hero-content > * { max-width: 100%; }
  .hero h1 { font-size: clamp(3.85rem, 17vw, 6rem); line-height: 0.91; }
  .hero h1 br { display: none; }
  .hero-lede { font-size: 1.15rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-services { gap: 6px; margin-top: 28px; }
  .hero-services span { font-size: 0.64rem; }
  .motion-toggle { left: 18px; bottom: 20px; }
  .scroll-cue { display: none; }

  .music-control { right: 12px; bottom: 78px; }
  .music-button { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .music-button > span:last-child { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

  .papel-band { grid-template-columns: repeat(4, 1fr); }
  .papel-band span:nth-child(n + 5) { display: none; }

  .story { display: flex; flex-direction: column; gap: 66px; min-height: 0; }
  .story-visual { width: 100%; min-height: 600px; }
  .story-visual > img:first-child { right: 8%; width: 92%; }
  .story-logo { width: 126px; height: 126px; }
  .story-values > div { grid-template-columns: 1fr; gap: 6px; }

  .experiences-heading,
  .section-heading,
  .gallery-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 46px; }
  .experience-selector { grid-template-columns: 1fr; }
  .experience-card { min-height: 315px; }
  .selection-dock { grid-template-columns: 1fr auto; gap: 10px; padding: 12px 12px 12px 16px; }
  .selection-dock .button { grid-column: 1 / -1; width: 100%; }

  .cart-moment { min-height: 820px; align-items: flex-end; }
  .cart-moment-overlay { background: linear-gradient(0deg, rgba(5, 36, 28, 0.95) 0%, rgba(5, 36, 28, 0.5) 65%, rgba(5, 36, 28, 0.08) 100%); }
  .cart-moment-copy { padding-bottom: 72px; }
  .cart-moment-copy h2 br { display: none; }

  .process-section .shell,
  .inquiry-layout,
  .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .process-intro,
  .inquiry-intro,
  .faq-intro { position: static; }

  .media-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 70vw; }
  .media-card-wide { grid-column: span 2; }
  .media-card-tall { grid-row: span 1; }

  .inquiry-form { margin-inline: -4px; padding: 30px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-span { grid-column: auto; }

  .final-cta { min-height: 700px; }
  .final-copy h2 br { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { align-items: flex-start; }
  .footer-brand img { width: 90px; height: 90px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }

  .mobile-quote { position: fixed; right: 0; bottom: 0; left: 0; z-index: 160; display: grid; place-items: center; min-height: 62px; color: var(--nopal-deep); background: var(--cempasuchil); text-decoration: none; font-size: 0.77rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 0 -8px 28px rgba(8, 47, 38, 0.18); }
}

@media (max-width: 480px) {
  .hero { min-height: 890px; }
  .hero h1 { font-size: 3.75rem; }
  .experience-card { grid-template-columns: 34px 1fr; grid-template-rows: auto auto auto; gap: 18px; padding: 24px 20px; }
  .experience-art { grid-column: 2; width: 76px; height: 76px; }
  .experience-content { grid-column: 1 / -1; }
  .experience-action { grid-column: 1 / -1; }
  .selection-dock { width: calc(100vw - 24px); }
  .selection-dock > div strong { max-width: 210px; font-size: 0.96rem; }
  .form-service-options { grid-template-columns: 1fr; }
  .radio-row { align-items: stretch; flex-direction: column; }
  .radio-row label > span { text-align: center; }
  .media-grid { grid-template-columns: 1fr; grid-auto-rows: 118vw; }
  .media-card-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { transform: none; }
  .site-loader { display: none; }
}
