:root {
  --merengue: #FFF6F8;   /* page */
  --rosa: #FFDCE5;       /* soft pink panels */
  --pink: #F4477A;       /* Pinky pink */
  --guayaba: #6B0F2B;    /* logo maroon */
  --ink: #3D0716;        /* text */
  --cherry: #E11D48;
  --melocoton: #FFAE3B;
  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --scallop: 44px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--merengue);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 5.2vw, 3.5rem); color: var(--guayaba); margin-bottom: 1.2em; max-width: 16ch; }
h3 { font: 700 1.5rem/1.2 var(--body); margin: 0 0 .5em; color: var(--guayaba); }
p { margin: 0 0 1em; max-width: 60ch; }
:focus-visible { outline: 3px solid var(--guayaba); outline-offset: 3px; border-radius: 4px; }
.section-pink :focus-visible, .hero :focus-visible { outline-color: #fff; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section-rosa { background: var(--rosa); }
.section-pink { background: var(--pink); }
.fine { font-size: .9375rem; color: var(--guayaba); }

/* piped-frosting edge: half circles hanging from the section above */
.scallop {
  height: calc(var(--scallop) / 2);
  background-size: var(--scallop) calc(var(--scallop) / 2);
  background-repeat: repeat-x;
  background-position: center top;
  margin-bottom: calc(var(--scallop) / -2);
  position: relative;
  z-index: 1;
}
.scallop-pink  { background-image: radial-gradient(circle at 50% 0, var(--pink) 0 calc(var(--scallop) / 2 - 1px), transparent calc(var(--scallop) / 2)); }
.scallop-cream { background-image: radial-gradient(circle at 50% 0, var(--merengue) 0 calc(var(--scallop) / 2 - 1px), transparent calc(var(--scallop) / 2)); }
.scallop-rosa  { background-image: radial-gradient(circle at 50% 0, var(--rosa) 0 calc(var(--scallop) / 2 - 1px), transparent calc(var(--scallop) / 2)); }

/* buttons */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none; text-align: center;
  font: 700 1.0625rem/1.2 var(--body);
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .12s ease;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--guayaba); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-light { background: #fff; color: var(--guayaba); }
.btn-light:hover { background: var(--rosa); }
.btn-outline { background: transparent; color: var(--guayaba); border-color: var(--guayaba); }
.btn-outline:hover { background: #fff; }

/* hero */
.hero { background: var(--pink); overflow: hidden; }
.bar {
  max-width: 1120px; margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 400 1.5rem/1 var(--display); margin-right: auto; }
.brand img { background: var(--merengue); border-radius: 50%; padding: 4px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); font-weight: 700; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.lang { display: flex; background: rgba(255,255,255,.35); border-radius: 999px; padding: 3px; }
.lang button {
  font: 700 .9375rem/1 var(--body); color: var(--ink); background: none; border: 0;
  padding: .55em .9em; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--guayaba); }

.hero-body {
  max-width: 1120px; margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) var(--gutter) clamp(56px, 8vw, 104px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
}
h1 { font-size: clamp(2.75rem, 8.2vw, 5.75rem); color: #fff; text-wrap: balance; }
.hero-sub { font-size: clamp(1.125rem, 1.9vw, 1.3125rem); font-weight: 500; margin: 1.3em 0 1.6em; max-width: 34ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.turntable { filter: drop-shadow(0 18px 0 rgba(107, 15, 43, .28)); }
.turntable-clip { aspect-ratio: 1; clip-path: url(#scallop); background: var(--guayaba); }
.turntable img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: turn 150s linear infinite; }
@keyframes turn { to { transform: scale(1.12) rotate(360deg); } }

/* menu */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 7vw, 88px); }
.feature-flip .feature-photo { order: 2; }
.feature-photo img { border-radius: 28px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-flip .feature-photo img { border-radius: 28px; }
.price { font-weight: 700; color: var(--guayaba); margin: 0; }
.price span { display: block; }

.h2-small { font-size: clamp(1.625rem, 3.6vw, 2.25rem); margin-bottom: .8em; max-width: none; }
.board { list-style: none; margin: 0 0 1.5em; padding: 0; max-width: 760px; }
.board li { padding: 14px 0; border-bottom: 2px dotted #E9A9BB; }
.board .line { display: flex; align-items: baseline; gap: 10px; font-weight: 700; color: var(--guayaba); font-size: 1.125rem; }
.board .line i { flex: 1; }
.board .desc { display: block; font-size: .9375rem; max-width: 52ch; }

.strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 8px var(--gutter) 20px; margin-top: clamp(32px, 6vw, 64px);
  scrollbar-color: var(--pink) transparent;
}
.strip picture { flex: 0 0 auto; scroll-snap-align: center; }
.strip img { height: clamp(220px, 34vw, 340px); width: auto; border-radius: 20px; }

/* order */
.order { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.steps { list-style: none; counter-reset: step; margin: 0 0 1.5em; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.4em 60px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--pink); color: #fff; font: 400 1.375rem/42px var(--display); text-align: center;
}
.steps strong { display: block; color: var(--guayaba); font-size: 1.125rem; }

.order-form { background: #fff; border-radius: 28px; padding: clamp(20px, 4vw, 36px); }
fieldset { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
legend, .field > span:first-child { font-weight: 700; color: var(--guayaba); padding: 0; margin-bottom: 6px; display: block; }
.field em { font-weight: 400; font-style: normal; }
.item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rosa); }
.item-name { flex: 1; min-width: 0; line-height: 1.3; }
.item-name small { display: block; color: var(--guayaba); }
.qty { display: flex; align-items: center; gap: 2px; }
.qty button {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--guayaba);
  background: #fff; color: var(--guayaba); font: 700 1.25rem/1 var(--body); cursor: pointer;
}
.qty button:hover { background: var(--rosa); }
.qty output { width: 2.2ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.item.has-qty .qty output { color: var(--pink); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-top: 18px; }
.field small { display: block; font-size: .875rem; color: var(--guayaba); margin-top: 4px; }
input[type="text"], input[type="date"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--merengue);
  border: 2px solid #E9A9BB; border-radius: 12px; padding: .65em .8em; min-height: 48px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; border-color: var(--guayaba); }
.error { display: block; color: #B00020; font-weight: 700; font-size: .9375rem; margin-top: 6px; }
.error[hidden] { display: none; }
.total { font-weight: 700; color: var(--guayaba); margin: 20px 0 14px; min-height: 1.6em; }
.send { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.send .btn { flex: 1 1 220px; }
.order-form .fine { margin: 0; }

/* about */
.scallop.on-pink { background-color: var(--pink); margin-bottom: 0; }
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.section-pink h2 { color: #fff; max-width: 14ch; }
.section-pink p { font-weight: 500; }
.contact a { font-weight: 700; }
.verse { margin: 0; background: var(--merengue); border-radius: 28px; padding: clamp(24px, 4vw, 40px); }
.verse p { font: 400 clamp(1.5rem, 3vw, 2rem)/1.15 var(--display); color: var(--guayaba); margin-bottom: .6em; }
.verse cite { font-style: normal; font-weight: 700; color: var(--pink); }

.footer { background: var(--guayaba); color: #fff; padding: 28px 0; }
.footer-in { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-weight: 500; }
.footer-in span:first-child { font: 400 1.25rem/1.2 var(--display); }

@media (max-width: 820px) {
  .hero-body, .feature, .order, .about { grid-template-columns: 1fr; }
  .feature-flip .feature-photo { order: 0; }
  .turntable { max-width: 420px; width: 88%; margin: 0 auto; }
  .nav { order: 3; width: 100%; }
  :root { --scallop: 32px; }
}
@media (max-width: 460px) {
  .row { grid-template-columns: 1fr; gap: 0; }
  .brand span { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .turntable img { animation: none; }
  .btn { transition: none; }
}
