/* ============================================================
   Más que pan — Mexican bakery & savory catering
   Rosa mexicano + white · elegant, Mexican-inspired
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --rosa:       #E4007C;   /* rosa mexicano */
  --rosa-deep:  #B4005F;
  --rosa-dark:  #8F004C;
  --rosa-soft:  #FF8FC6;
  --blush:      #FCF0F7;
  --blush-2:    #F7DEEC;
  --white:      #FFFFFF;
  --ink:        #33121F;
  --ink-soft:   #6E4A5B;
  --serif: 'Fraunces', 'Georgia', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --radius: 22px;
  --shadow-soft: 0 24px 70px -28px rgba(228, 0, 124, .22);
  --shadow-card: 0 14px 44px -18px rgba(51, 18, 31, .16);
  --header-h: 92px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream); /* warm bakery base, not stark white */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 3px;
  border-radius: 4px;
}
/* white focus ring on rosa surfaces */
.site-footer :focus-visible,
.quote-pill:focus-visible,
.menu-tab.is-active:focus-visible,
.lang-switch button.is-active:focus-visible,
.btn-primary:focus-visible,
.wa-btn:focus-visible {
  outline-color: var(--white);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--rosa);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus-visible { top: 0; }

/* ---------- Typography helpers ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
}

h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--rosa);
  border-radius: 2px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 24px;
}
.section-head .kicker { justify-content: center; }
.section-head .kicker::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--rosa);
  border-radius: 2px;
}
.section-sub {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ic { width: 19px; height: 19px; flex: none; }

.btn-primary {
  background: var(--rosa);
  color: var(--white);
  box-shadow: 0 14px 34px -12px rgba(228, 0, 124, .55);
}
.btn-primary:hover { background: var(--rosa-deep); box-shadow: 0 18px 40px -12px rgba(228, 0, 124, .6); }

.btn-ghost {
  color: var(--rosa-deep);
  border: 1.5px solid var(--blush-2);
  background: var(--white);
}
.btn-ghost:hover { border-color: var(--rosa); color: var(--rosa); }

.btn-light {
  background: var(--white);
  color: var(--rosa);
  box-shadow: 0 16px 44px -16px rgba(51, 18, 31, .35);
}
.btn-light:hover { color: var(--rosa-deep); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--blush-2);
  box-shadow: 0 10px 40px -20px rgba(51, 18, 31, .18);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.logo-img {
  height: 68px;
  width: auto;
  display: block;
  transition: transform .35s var(--ease);
}
.logo:hover .logo-img { transform: scale(1.04); }
.footer-logo em, .hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--rosa);
}

.main-nav {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
.main-nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--rosa);
  border-radius: 2px;
  transition: right .3s var(--ease);
}
.main-nav a:hover { color: var(--rosa-deep); }
.main-nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--blush);
  border-radius: 999px;
  padding: 4px 4px 4px 10px;
}
.lang-globe {
  width: 16px;
  height: 16px;
  color: var(--rosa-deep);
  margin-right: 4px;
  flex: none;
}
.lang-switch button {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background .25s, color .25s;
}
.lang-switch button:hover { color: var(--rosa-deep); }
.lang-switch button.is-active {
  background: var(--rosa);
  color: var(--white);
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--rosa);
  color: var(--white);
  font-weight: 600;
  font-size: .92rem;
  transition: transform .3s var(--ease), background .3s;
  box-shadow: 0 10px 26px -10px rgba(228, 0, 124, .55);
}
.wa-btn:hover { transform: translateY(-2px); background: var(--rosa-deep); }
.wa-btn svg { width: 19px; height: 19px; flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 24px 90px;
  background:
    radial-gradient(1100px 640px at 85% -10%, var(--blush) 0%, transparent 62%),
    radial-gradient(900px 560px at -12% 105%, var(--blush) 0%, transparent 58%),
    var(--cream);
  overflow: hidden;
}

.banderitas-wrap {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  color: var(--rosa);
  pointer-events: none;
}
.banderitas {
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 36;
  transform-origin: top center;
  animation: sway 6s ease-in-out infinite;
}

@keyframes sway {
  0%, 100% { transform: rotate(.5deg); }
  50%      { transform: rotate(-.5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  text-align: left;
}

.tanda-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--rosa-deep);
  background: var(--blush);
  border: 1px solid var(--blush-2);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 26px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  animation: fadeUp .8s var(--ease) both;
}
.tanda-chip svg {
  width: 16px;
  height: 16px;
  color: var(--rosa);
  animation: chipFlick 1.6s ease-in-out infinite;
  transition: color .3s;
}
.tanda-chip:hover {
  background: var(--rosa);
  color: var(--white);
  transform: translateY(-2px);
}
.tanda-chip:hover svg { color: var(--white); }
@keyframes chipFlick {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  50%      { transform: scale(1.12) rotate(2deg); }
}

.nav-tanda { color: var(--rosa-deep); font-weight: 600; }

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 26px;
  animation: fadeUp .8s var(--ease) both;
}

.hero-title {
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
  animation: fadeUp .8s .1s var(--ease) both;
}
.hero-dot { color: var(--rosa); }

.hero-rotator {
  margin-top: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--rosa);
  min-height: 1.5em;
  animation: fadeUp .8s .2s var(--ease) both;
}
.rot-word {
  display: inline-block;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.rot-word.is-out {
  opacity: 0;
  transform: translateY(12px);
}

.hero-sub {
  margin: 26px 0 0;
  max-width: 560px;
  font-size: 1.1rem;
  color: var(--ink-soft);
  animation: fadeUp .8s .3s var(--ease) both;
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  animation: fadeUp .8s .4s var(--ease) both;
}

/* ---------- Holographic concha ---------- */
.hero-holo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fadeUp .9s .3s var(--ease) both;
}

.holo-stage {
  position: relative;
  width: min(440px, 40vw);
  aspect-ratio: 320 / 360;
  transform: perspective(900px) rotateY(var(--rx, 0deg)) rotateX(var(--ry, 0deg));
  transition: transform .3s ease-out;
  transform-style: preserve-3d;
}

.holo-float {
  position: absolute;
  inset: 0;
  animation: holoFloat 6s ease-in-out infinite;
}
@keyframes holoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

.holo-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.holo-img {
  position: absolute;
  left: 50%;
  top: 57%;
  width: 78%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 22px rgba(196, 0, 107, .18));
}

/* vapor del pan recién horneado */
.steam path {
  opacity: 0;
  animation: steamRise 3.8s ease-in-out infinite;
}
.steam .st2 { animation-delay: .7s; }
.steam .st3 { animation-delay: 1.4s; }
@keyframes steamRise {
  0%   { opacity: 0; transform: translateY(8px); }
  35%  { opacity: .6; }
  70%  { opacity: .25; }
  100% { opacity: 0; transform: translateY(-10px); }
}

.holo-flower {
  position: absolute;
  color: var(--rosa-soft);
  animation: flowerSway 4.5s ease-in-out infinite;
}
.holo-flower.f1 { top: 18%; left: 5%; font-size: 19px; }
.holo-flower.f2 { top: 7%; right: 11%; font-size: 14px; animation-delay: 1.2s; }
.holo-flower.f3 { top: 54%; right: 1%; font-size: 15px; animation-delay: 2.4s; }
@keyframes flowerSway {
  0%, 100% { opacity: .4; transform: rotate(-8deg) scale(.95); }
  50%      { opacity: .95; transform: rotate(8deg) scale(1.05); }
}

.holo-caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--rosa-deep);
}
.caption-flower {
  color: var(--rosa);
  font-style: normal;
  font-size: .85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 1;
}
.hero-scroll svg {
  width: 18px;
  height: 18px;
  color: var(--rosa);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--rosa);
  color: var(--white);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}
/* margins (not gap) keep each half exactly 50% of the track → seamless loop */
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: .04em;
  white-space: nowrap;
  margin-right: 44px;
}
.marquee-flower {
  color: var(--rosa-soft);
  font-size: .9rem;
  white-space: nowrap;
  margin-right: 44px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections shared ---------- */
.chooser, .menus, .how, .about {
  padding: 110px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

/* ---------- Chooser ---------- */
.chooser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.choose-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 420px;
  padding: 48px 44px;
  border-radius: calc(var(--radius) + 8px);
  background: var(--blush);
  overflow: hidden;
  transition: background .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.choose-card:hover,
.choose-card:focus-visible {
  background: var(--rosa);
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.choose-ic {
  width: 86px;
  height: 86px;
  color: var(--rosa);
  margin-bottom: auto;
  transition: color .45s var(--ease), transform .45s var(--ease);
}
.choose-card:hover .choose-ic,
.choose-card:focus-visible .choose-ic {
  color: var(--white);
  transform: scale(1.08) rotate(-4deg);
}

.choose-sub {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rosa-deep);
  transition: color .45s var(--ease);
}
.choose-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: var(--ink);
  transition: color .45s var(--ease);
}
.choose-desc {
  color: var(--ink-soft);
  max-width: 40ch;
  transition: color .45s var(--ease);
}
.choose-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--rosa-deep);
  transition: color .45s var(--ease), gap .3s var(--ease);
}
.choose-cta svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.choose-card:hover .choose-sub,
.choose-card:hover .choose-title,
.choose-card:hover .choose-desc,
.choose-card:hover .choose-cta,
.choose-card:focus-visible .choose-sub,
.choose-card:focus-visible .choose-title,
.choose-card:focus-visible .choose-desc,
.choose-card:focus-visible .choose-cta { color: var(--white); }
.choose-card:hover .choose-cta svg,
.choose-card:focus-visible .choose-cta svg { transform: translateX(6px); }

/* Giant ghost letter behind each card */
.choose-card::after {
  content: "P";
  position: absolute;
  right: -12px;
  bottom: -70px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 260px;
  line-height: 1;
  color: rgba(228, 0, 124, .07);
  transition: color .45s var(--ease);
  pointer-events: none;
}
.choose-savory::after { content: "S"; }
.choose-card:hover::after,
.choose-card:focus-visible::after { color: rgba(255, 255, 255, .13); }

/* ---------- Menu tabs ---------- */
.menu-tabs-wrap {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 40;
  display: flex;
  justify-content: center;
  margin-bottom: 54px;
  pointer-events: none;
}
.menu-tabs {
  pointer-events: auto;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--blush-2);
  box-shadow: 0 18px 44px -20px rgba(51, 18, 31, .25);
}
.menu-tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 26px;
  border-radius: 999px;
  color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.tab-ic { width: 30px; height: 30px; color: var(--rosa); transition: color .35s var(--ease); }
.menu-tab .tab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.tab-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.06rem;
}
.tab-sub {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .35s var(--ease);
}
.menu-tab.is-active {
  background: var(--rosa);
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(228, 0, 124, .55);
}
.menu-tab.is-active .tab-ic,
.menu-tab.is-active .tab-sub { color: var(--white); }
.menu-tab:not(.is-active):hover { background: var(--blush); }

/* ---------- Menu panels ---------- */
.menu-panel.is-active { animation: fadeUp .55s var(--ease); }

.menu-cat { margin-bottom: 64px; }
.menu-cat:last-child { margin-bottom: 0; }

.cat-title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
}
.cat-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--blush-2), transparent);
}
.cat-title .cat-flower { color: var(--rosa); font-style: normal; font-size: 1.1rem; }

/* Collapsible category (e.g. seasonal) */
.menu-cat-collapsible {
  border: 1px solid var(--blush-2);
  border-radius: var(--radius);
  padding: 8px 24px;
  margin-bottom: 40px;
}
.menu-cat-collapsible > summary {
  list-style: none;
  cursor: pointer;
  margin-bottom: 0;
  padding: 16px 0;
}
.menu-cat-collapsible > summary::-webkit-details-marker { display: none; }
.menu-cat-collapsible > summary::after { display: none; }
.cat-chevron {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--rosa);
  transition: transform .3s var(--ease);
  margin-left: auto;
}
.menu-cat-collapsible[open] > summary .cat-chevron { transform: rotate(90deg); }
.menu-cat-collapsible[open] > summary { margin-bottom: 20px; }
.menu-cat-collapsible .dish-grid { padding-bottom: 20px; }

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 18px;
}

.dish {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(228, 0, 124, .13);
  border-radius: var(--radius);
  padding: 26px 24px 20px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.dish:hover {
  transform: translateY(-5px);
  border-color: rgba(228, 0, 124, .45);
  box-shadow: var(--shadow-card);
}
.dish h4 {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
}
.dish-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rosa-deep);
  background: var(--blush);
  border-radius: 999px;
  padding: 4px 10px;
}
.dish-desc {
  color: var(--ink-soft);
  font-size: .94rem;
  flex: 1;
}
.dish-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 12px;
}
.dish-price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.price-amount {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--rosa-deep);
}
.price-unit {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.dish-add {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--rosa);
  color: var(--rosa);
  display: grid;
  place-items: center;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.dish-add:hover { background: var(--rosa); color: var(--white); transform: scale(1.08); }
.dish-add svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.dish-add .ic-check { display: none; }
.dish-add.is-added {
  background: var(--rosa);
  color: var(--white);
  animation: pop .35s var(--ease);
}
.dish-add.is-added .ic-plus { display: none; }
.dish-add.is-added .ic-check { display: block; }

@keyframes pop {
  0%   { transform: scale(.8); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ---------- How it works ---------- */
.how {
  background: var(--blush);
  max-width: none;
}
.how > :where(*) { max-width: 1240px; margin-left: auto; margin-right: auto; }
.how .section-head { margin-bottom: 64px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: steps;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: 0 18px 50px -30px rgba(51, 18, 31, .2);
  position: relative;
}
.step-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--rosa);
  margin-bottom: 18px;
}
.step h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.step p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p:not(.kicker) {
  color: var(--ink-soft);
  font-size: 1.06rem;
}
.about-visual {
  position: relative;
  background: var(--blush);
  border-radius: calc(var(--radius) + 8px);
  padding: 60px 44px;
  text-align: center;
  overflow: hidden;
}
.about-ic {
  width: 120px;
  height: 120px;
  margin: 0 auto 26px;
  color: var(--rosa);
}
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--ink);
  line-height: 1.4;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--rosa);
  color: var(--white);
  margin-top: 40px;
}
.footer-scallop {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 22px;
  background: radial-gradient(circle at 50% 0, var(--white) 0 11px, transparent 11.8px) 0 0 / 30px 22px repeat-x;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 110px 28px 40px;
}
.footer-cta {
  text-align: center;
  margin-bottom: 80px;
}
.footer-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-logo em { color: var(--white); opacity: .75; }
.footer-brand p:not(.footer-logo) { color: rgba(255, 255, 255, .82); font-size: .95rem; }
.footer-col h3 {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 14px;
}
.footer-link {
  display: block;
  padding: 4px 0;
  color: var(--white);
  font-size: .96rem;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.footer-link:hover { border-bottom-color: rgba(255, 255, 255, .6); }

.lang-switch-footer { background: rgba(255, 255, 255, .15); }
.lang-switch-footer button { color: rgba(255, 255, 255, .8); }
.lang-switch-footer button:hover { color: var(--white); }
.lang-switch-footer button.is-active { background: var(--white); color: var(--rosa); }

.footer-rights {
  margin-top: 56px;
  text-align: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .75);
}

/* ---------- Floating quote pill ---------- */
.quote-pill {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rosa);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 20px;
  border-radius: 999px;
  /* white ring keeps the pill visible over the rosa footer */
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 20px 46px -14px rgba(228, 0, 124, .65);
  transition: transform .3s var(--ease), background .3s;
}
.quote-pill:hover { transform: translateY(-3px); background: var(--rosa-deep); }
.pill-ic { width: 18px; height: 18px; flex: none; }
.pill-count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--white);
  color: var(--rosa);
  font-size: .8rem;
  font-weight: 700;
}
.quote-pill.bump { animation: pop .4s var(--ease); }

/* ---------- Quote drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(51, 18, 31, .5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.drawer-overlay.open { opacity: 1; }

.quote-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 120;
  width: min(440px, 100vw);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .45s var(--ease);
  box-shadow: -30px 0 80px -30px rgba(51, 18, 31, .35);
}
.quote-drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--blush-2);
}
.drawer-head h2 { font-size: 1.6rem; }
.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--blush);
  transition: background .25s, color .25s, transform .25s;
}
.drawer-close:hover { background: var(--rosa); color: var(--white); transform: rotate(90deg); }
.drawer-close svg { width: 18px; height: 18px; }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}
.quote-empty {
  color: var(--ink-soft);
  font-size: .94rem;
  background: var(--blush);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
}
.drawer-label {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rosa-deep);
  margin-bottom: 12px;
}
.quote-items { margin-bottom: 26px; }
.quote-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--blush);
}
.quote-item-name {
  flex: 1;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}
.quote-item-price {
  display: block;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  color: var(--rosa-deep);
  margin-top: 2px;
}
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--blush-2);
  color: var(--rosa-deep);
  display: grid;
  place-items: center;
  transition: border-color .25s, background .25s, color .25s;
}
.qty-btn:hover { border-color: var(--rosa); background: var(--rosa); color: var(--white); }
.qty-btn svg { width: 13px; height: 13px; }
.qty-val {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.quote-remove {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.quote-remove:hover { color: var(--rosa); background: var(--blush); }
.quote-remove svg { width: 14px; height: 14px; }

.quote-form .field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field input,
.field select {
  width: 100%;
  border: 1.5px solid var(--blush-2);
  border-radius: 13px;
  padding: 12px 14px;
  background: var(--white);
  transition: border-color .25s, box-shadow .25s;
  min-height: 48px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--rosa);
  box-shadow: 0 0 0 4px rgba(228, 0, 124, .12);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Optional event details in the order drawer */
.quote-details {
  border-top: 1px solid var(--blush);
  padding-top: 14px;
  margin-top: 2px;
}
.quote-details > summary {
  list-style: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: var(--rosa-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 2px;
  margin-bottom: 14px;
}
.quote-details > summary::-webkit-details-marker { display: none; }
.quote-details > summary::before {
  content: "+";
  font-size: 1.15rem;
  line-height: 1;
  color: var(--rosa);
}
.quote-details[open] > summary::before { content: "–"; }

.drawer-foot {
  padding: 20px 28px 26px;
  border-top: 1px solid var(--blush-2);
  background: var(--white);
}
.drawer-hint {
  margin-top: 12px;
  text-align: center;
  font-size: .8rem;
  color: var(--ink-soft);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .82rem; }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-holo { order: 2; }
  .holo-stage { width: min(320px, 74vw); }
}

@media (max-width: 760px) {
  :root { --header-h: 74px; }
  .header-inner { padding: 0 18px; gap: 14px; }
  .logo-img { height: 54px; }
  .main-nav { display: none; }
  .chooser, .menus, .how, .about { padding: 80px 18px; }
  .chooser-grid { grid-template-columns: 1fr; }
  .choose-card { min-height: 320px; padding: 36px 28px; }
  .menu-tab { padding: 10px 16px; gap: 8px; }
  .tab-ic { width: 24px; height: 24px; }
  .tab-title { font-size: .95rem; }
  .tab-sub { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .quote-pill { right: 14px; bottom: 14px; padding: 12px 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { padding: 90px 20px 32px; }
  .hero { padding-bottom: 70px; }
  .hero-ctas .btn { width: 100%; }
  .holo-stage { width: min(270px, 78vw); }
}

@media (max-width: 560px) {
  /* collapse the WhatsApp button to just its icon on small phones */
  .wa-btn { padding: 0; width: 42px; justify-content: center; gap: 0; }
  .wa-btn-label { display: none; }
}

@media (max-width: 420px) {
  .lang-switch { padding-left: 8px; }
  .lang-switch button { padding: 6px 8px; }
  .lang-globe { margin-right: 2px; }
}

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