/* Dulce Isa — la campana de vidrio, la carta dulce y "armá tu torta" */
:root {
  --sage: #dde6d3;
  --sage-2: #c8d6bb;
  --leaf: #3f6b4a;
  --rose: #e9a9ae;
  --rose-l: #f6dcdc;
  --rose-d: #b4475a;
  --rose-t: #9e3a4c;
  --cocoa: #3b2420;
  --milk: #fffaf6;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sage); color: var(--cocoa); font: 400 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--rose-d); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--cocoa); color: #fff; padding: 10px 16px; text-decoration: none; border-radius: 99px; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, 100% - 2 * var(--pad)); margin-inline: auto; }
svg { width: 1.1em; height: 1.1em; flex: none; }

.kicker { font: 800 .76rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--leaf); margin-bottom: 16px; }
.h2 { font: 400 clamp(2.6rem, 5.8vw, 5.4rem)/1 var(--serif); letter-spacing: -.01em; }
.h2 em { color: var(--rose-d); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.sec-sub { margin-top: 18px; font-size: 1.08rem; max-width: 34em; }
.lead { margin-top: 18px; font-size: 1.15rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 800 .98rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: translate .25s ease, background-color .25s ease, color .25s ease; }
.btn:hover { translate: 0 -3px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-big { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn-rose { background: var(--rose-d); color: #fff; }
.btn-rose:hover { background: var(--cocoa); }
.btn-line { border-color: var(--cocoa); color: var(--cocoa); background: rgba(255, 250, 246, .5); }
.btn-line:hover { background: var(--cocoa); color: var(--milk); }
.btn-cream { background: var(--milk); color: var(--cocoa); }
.btn-cream:hover { background: var(--cocoa); color: var(--milk); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px var(--pad); transition: background-color .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(221, 230, 211, .95); box-shadow: 0 1px 0 rgba(59, 36, 32, .1); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: italic 400 1.6rem/1 var(--serif); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav ul { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.nav nav a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav nav a:hover { color: var(--rose-t); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(100svh, 760px); display: grid; grid-template-rows: auto 1fr auto; justify-items: center; text-align: center; padding: 92px var(--pad) 34px; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 50% 58%, #f1f5ec 0%, var(--sage) 70%); --stage: clamp(250px, 29vw, 430px); }
.hero-k { font: 800 .8rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--leaf); }
.hero-t { grid-row: 2; grid-column: 1; align-self: center; width: 100%; display: grid; grid-template-columns: 1fr var(--stage) 1fr; align-items: center; margin-top: -4%;
  font: italic 400 clamp(4.6rem, 16vw, 16rem)/.8 var(--serif); color: var(--rose-d); letter-spacing: -.02em; z-index: 1; pointer-events: none; }
.ht-a { grid-column: 1; justify-self: end; margin-right: -.18em; }
.ht-b { grid-column: 3; justify-self: start; margin-left: -.1em; color: var(--leaf); }
.stage { grid-row: 2; grid-column: 1; align-self: center; position: relative; width: var(--stage); aspect-ratio: 400 / 470; z-index: 2; margin-bottom: 4%; }
.cake-photo { position: absolute; left: 9.5%; right: 9.5%; top: 24%; bottom: 4.5%; border-radius: 50% 50% 6px 6px / 34% 34% 6px 6px; overflow: hidden; background: var(--sage-2); box-shadow: 0 30px 50px -30px rgba(59, 36, 32, .5); }
.cake-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.stand { position: absolute; left: -7%; right: -7%; bottom: -4%; height: 9%; }
.stand i { position: absolute; inset: 0 0 35%; border-radius: 50%; background: linear-gradient(180deg, #fff, #ece6e1); box-shadow: 0 10px 20px -8px rgba(59, 36, 32, .35); }
.stand b { position: absolute; left: 38%; right: 38%; top: 55%; height: 90%; background: linear-gradient(90deg, #e8e1db, #fff, #e3dcd6); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.cloche { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 24px rgba(59, 36, 32, .14)); }
.stamp { position: absolute; width: 34%; height: auto; right: -16%; top: 12%; animation: spin 24s linear infinite; z-index: 3; }
.stamp text { font: 800 13.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; fill: #fff; }
.stamp .st-mid { font: italic 400 30px var(--serif); letter-spacing: 0; text-transform: none; }
@keyframes spin { to { rotate: 360deg; } }
.hero-foot { grid-row: 3; grid-column: 1; display: grid; justify-items: center; gap: 18px; position: relative; z-index: 3; }
.hero-sub { max-width: 36em; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.hero-sub b { color: var(--leaf); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Frase ---------- */
.claim { background: var(--cocoa); color: var(--milk); padding: clamp(90px, 12vw, 170px) 0; text-align: center; }
.claim-t { font: 400 clamp(2.8rem, 7.4vw, 7.4rem)/.98 var(--serif); max-width: 16ch; margin-inline: auto; text-wrap: balance; }
.claim-t em { color: var(--rose); }
.claim-s { margin: 28px auto 0; max-width: 34em; font-size: 1.12rem; color: rgba(255, 250, 246, .85); }

/* ---------- Carta ---------- */
.menu { padding: clamp(90px, 11vw, 160px) 0; }
.menu-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.menu-head { position: sticky; top: 110px; }
.menu-logo { width: 150px; height: 150px; border-radius: 50%; margin-top: 34px; box-shadow: 0 0 0 10px var(--milk); rotate: -6deg; }
.carta { background: var(--milk); border-radius: 28px; padding: clamp(18px, 3vw, 40px) clamp(20px, 3.4vw, 48px); box-shadow: 0 30px 60px -40px rgba(59, 36, 32, .45); }
.carta li { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; padding: 18px 0; border-bottom: 2px dotted rgba(59, 36, 32, .3); }
.carta li:last-child { border-bottom: 0; }
.carta h3 { font: 400 clamp(1.6rem, 2.4vw, 2.2rem)/1.1 var(--serif); }
.carta p { font-size: .98rem; color: #5b423c; margin-top: 4px; }
.carta span { font: italic 400 1.2rem/1 var(--serif); color: var(--rose-t); padding-bottom: 4px; }

/* ---------- Vitrina ---------- */
.case { padding: 0 0 clamp(90px, 11vw, 160px); }
.pols { columns: 3; column-gap: clamp(18px, 3vw, 44px); }
.pol { display: block; break-inside: avoid; margin: 0 0 clamp(22px, 3vw, 44px); background: #fff; padding: 12px 12px 18px; box-shadow: 0 24px 40px -24px rgba(59, 36, 32, .45); }
.pol img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pol figcaption { padding: 14px 6px 0; font-size: .92rem; color: #5b423c; display: grid; gap: 4px; }
.pol figcaption b { font: 400 1.35rem/1.15 var(--serif); color: var(--cocoa); }
.p1 { rotate: -2deg; }
.p2 { rotate: 2.5deg; }
.p3 { rotate: -3deg; }
.p4 { rotate: 1.5deg; }
.p4 img { aspect-ratio: 1; }
.p5 { rotate: -1.5deg; }
.pol-ig { display: grid; justify-items: center; gap: 6px; text-align: center; text-decoration: none; padding: 28px; background: var(--rose-l); rotate: 1deg; }
.pol-ig svg { width: 34px; height: 34px; color: var(--rose-t); }
.pol-ig b { font: 400 1.5rem/1.1 var(--serif); }
.pol-ig span { font-weight: 700; color: var(--rose-t); }
.pol-ig:hover { background: var(--rose); }

/* ---------- Armá tu torta ---------- */
.build { background: var(--milk); padding: clamp(90px, 11vw, 160px) 0; }
.build-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.preview { position: sticky; top: 100px; background: radial-gradient(circle at 50% 45%, #f1f5ec, var(--sage) 72%); border-radius: 36px; padding: 20px 20px 26px; text-align: center; }
.cake-svg { width: 100%; height: auto; max-height: 62vh; }
.cake-svg .tier, .cake-svg .xtra { transition: opacity .35s ease; }
.preview-cap { font: italic 400 1.3rem/1.3 var(--serif); }
.steps { display: grid; gap: 22px; }
.steps fieldset { border: 0; padding: 0; min-width: 0; }
.steps legend { padding: 0; margin-bottom: 10px; font: 800 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--leaf); }
.steps legend small { font-weight: 600; letter-spacing: .05em; text-transform: none; color: #6f5a54; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { font: 700 .95rem/1.2 var(--sans); color: var(--cocoa); background: #fff; border: 2px solid rgba(59, 36, 32, .18); border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.opts button:hover { border-color: var(--rose-d); }
.opts button[aria-pressed="true"] { background: var(--rose-d); border-color: var(--rose-d); color: #fff; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: grid; gap: 6px; font: 800 .76rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); }
.fields label:first-child { grid-column: 1 / -1; }
.fields input { font: 500 1rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--cocoa); background: #fff; border: 2px solid rgba(59, 36, 32, .18); border-radius: 16px; padding: 12px 14px; min-height: 50px; width: 100%; }
.fields input:focus-visible { outline: 3px solid var(--rose-d); outline-offset: 1px; border-color: transparent; }
.order { display: grid; gap: 16px; justify-items: start; margin-top: 6px; }
.order-txt { width: 100%; background: var(--rose-l); border: 2px dashed var(--rose-d); border-radius: 18px; padding: 16px 18px; white-space: pre-line; font-size: .95rem; line-height: 1.55; }

/* ---------- Fechas ---------- */
.dates { background: var(--rose); padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.dates .h2 em { color: var(--cocoa); font-style: italic; }
.date-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 40px; }
.date-list li { font: italic 400 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--serif); background: var(--milk); padding: 16px 26px; border-radius: 999px; rotate: var(--r, 0deg); }
.date-list li:nth-child(odd) { --r: -2deg; }
.date-list li:nth-child(even) { --r: 2deg; }

/* ---------- Dónde ---------- */
.where { padding: clamp(90px, 11vw, 160px) 0; }
.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.where-dl { margin: 28px 0; background: var(--milk); border-radius: 24px; padding: 6px 22px; }
.where-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 2px dotted rgba(59, 36, 32, .25); }
.where-dl div:last-child { border-bottom: 0; }
.where-dl dt { font-weight: 800; color: var(--leaf); }
.where-dl dd { text-align: right; overflow-wrap: anywhere; }
.where-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.map { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 12px solid var(--milk); box-shadow: 0 30px 60px -36px rgba(59, 36, 32, .55); background: var(--sage-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.foot { background: var(--leaf); color: var(--milk); text-align: center; padding: clamp(70px, 9vw, 110px) 0 clamp(110px, 10vw, 70px); }
.foot-grid { display: grid; justify-items: center; gap: 18px; }
.foot img { width: 96px; height: 96px; border-radius: 50%; }
.foot-big { font: italic 400 clamp(4.4rem, 13vw, 12rem)/.9 var(--serif); }
.foot-big em { color: var(--rose); }
.foot a:not(.btn) { color: #ffe4e4; }

.dock { display: none; }
.js .reveal { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav nav { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .menu-grid, .build-grid, .where-grid { grid-template-columns: 1fr; }
  .menu-head { position: static; }
  .menu-logo { display: none; }
  .preview { position: relative; top: auto; max-width: 460px; margin-inline: auto; width: 100%; }
  .pols { columns: 2; }
}
@media (max-width: 640px) {
  .hero { --stage: 64vw; padding-top: 84px; padding-bottom: 108px; grid-template-rows: auto auto 1fr auto; min-height: 100svh; }
  .hero-t { grid-row: 2; grid-template-columns: 1fr; margin: 14px 0 0; font-size: clamp(4.2rem, 23vw, 6.4rem); }
  .ht-a, .ht-b { grid-column: 1; justify-self: center; margin: 0; }
  .ht-a { display: inline; }
  .hero-t { display: flex; justify-content: center; gap: .22em; }
  .stage { grid-row: 3; margin-top: 18px; }
  .hero-foot { grid-row: 4; grid-column: 1; margin-top: 26px; }
  .stamp { width: 36%; right: -20%; }
  .hero-cta .btn { flex: 1 1 auto; }
  .pols { gap: 16px; }
  .pol { padding: 8px 8px 12px; }
  .pol figcaption { font-size: .82rem; padding: 10px 2px 0; }
  .pol figcaption b { font-size: 1.1rem; }
  .fields { grid-template-columns: 1fr; }
  .where-dl div { flex-direction: column; gap: 2px; }
  .where-dl dd { text-align: left; }
  .map { border-radius: 28px; aspect-ratio: 4 / 3; }
  .dock { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 8px; padding: 8px; background: var(--cocoa); border-radius: 999px; box-shadow: 0 14px 30px rgba(59, 36, 32, .35); }
  .dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; text-decoration: none; font-weight: 800; }
  .dock-main { flex: 1; background: var(--rose-d); color: #fff; }
  .dock-ic { width: 52px; color: var(--milk); border: 1.5px solid rgba(255, 250, 246, .35); }
  .dock-ic svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
