:root {
  --wine: #3b1512;
  --wine-2: #521c17;
  --night: #240c0a;
  --brick: #a8462a;
  --rose: #f2d5c6;
  --paper: #fdf6ef;
  --ink: #2a1210;
  --gold: #e7ac45;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --pad: clamp(1.1rem, 4vw, 3.8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--wine); color: var(--paper); font: 400 1.075rem/1.6 var(--serif); font-optical-sizing: auto; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: .95; letter-spacing: -.02em; }
em { font-style: italic; font-weight: 400; }
p, dl, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--gold); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3.1rem; padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.15 var(--serif); text-decoration: none; cursor: pointer;
  transition: translate .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { translate: 0 -2px; }
.btn--wine { background: var(--gold); color: var(--ink); }
.btn--wine:hover { background: #f3bd5c; }
.btn--line { border-color: currentColor; }
.btn--cream { background: var(--paper); color: var(--ink); }
.btn--sm { min-height: 2.5rem; padding: .45rem 1.1rem; font-size: .95rem; }
.btn--block { width: 100%; }
.hand { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1 var(--hand); color: var(--gold); rotate: -3deg; display: inline-block; }
.h2 { font-size: clamp(2.8rem, 6.4vw, 6.2rem); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 2rem; padding: .8rem var(--pad); transition: background-color .3s; }
.top.is-solid { background: rgba(59, 21, 18, .94); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font: 600 1.35rem/1 var(--serif); font-style: italic; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.nav { display: flex; gap: 1.7rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .98rem; }
.nav a:hover { color: var(--gold); }

/* ---------- hero collage ---------- */
.hero {
  position: relative; min-height: max(100svh, 760px); display: grid; place-items: center; overflow: hidden; isolation: isolate;
  padding: 7rem var(--pad) 4rem;
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(59, 21, 18, .2), rgba(36, 12, 10, .85)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(0, 0, 0, .18) 34px 36px),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(0, 0, 0, .14) 70px 72px),
    var(--wine-2);
}
.collage { position: absolute; inset: 0; z-index: -1; }
.cut { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.cut img { width: 100%; height: 100%; object-fit: cover; }
.cut--arch { left: 4%; top: 15%; width: clamp(150px, 16vw, 250px); aspect-ratio: 3 / 4.3; border-radius: 999px 999px 10px 10px; border: 6px solid var(--paper); }
.cut--circle { right: 5%; top: 13%; width: clamp(150px, 17vw, 260px); aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--paper); }
.cut--circle img { object-position: 50% 45%; }
.cut--tall { left: 13%; bottom: 5%; width: clamp(120px, 12vw, 190px); aspect-ratio: 3 / 4.4; border-radius: 12px; rotate: -6deg; border: 6px solid var(--paper); }
.cut--tall img { object-position: 50% 30%; }
.cut--wide { right: 4.5%; bottom: 6%; width: clamp(180px, 20vw, 310px); aspect-ratio: 4 / 3; border-radius: 12px; rotate: 4deg; border: 6px solid var(--paper); }
.cut--wide img { object-position: 50% 30%; }
.cut--small { right: 25%; bottom: 2.5%; width: clamp(90px, 8.5vw, 140px); aspect-ratio: 1; border-radius: 50% 50% 50% 8px; rotate: -8deg; border: 5px solid var(--paper); }
.cut--small img { object-position: 50% 70%; }
.sticker { position: absolute; margin: 0; padding: .35rem .9rem; font: 700 clamp(1.1rem, 1.7vw, 1.6rem)/1 var(--hand); color: var(--ink); background: var(--gold); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.sticker--a { right: 7%; top: calc(13% + clamp(150px, 17vw, 260px) - 10px); rotate: -7deg; }
.sticker--b { left: 6%; top: calc(15% + clamp(150px, 16vw, 250px) * 1.43 - 12px); rotate: 5deg; background: var(--rose); }

.hero__txt { position: relative; max-width: 50rem; text-align: center; display: grid; justify-items: center; gap: 1.2rem; }
.hero__kicker { font: 600 .82rem/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.hero__title { font-size: clamp(4.2rem, 11.5vw, 11.5rem); font-weight: 800; line-height: .82; text-shadow: 0 .05em .35em rgba(0, 0, 0, .45); }
.hero__title em { display: block; font-weight: 400; color: var(--rose); padding-bottom: .12em; }
.hero__lead { max-width: 36ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.hero__cta .btn--line { background: rgba(36, 12, 10, .55); }
.hero__rate { font-size: .95rem; opacity: .9; }
.hero__rate b { color: var(--gold); }

/* ---------- frase ---------- */
.frase { background: var(--brick); padding: clamp(5rem, 11vw, 9rem) var(--pad); }
.frase__txt { max-width: 22ch; margin: 0 auto; text-align: center; font: 400 clamp(2.4rem, 5.6vw, 5.4rem)/1.04 var(--serif); letter-spacing: -.02em; }
.frase__txt em { color: var(--night); }
.frase__note { text-align: center; margin-top: 2rem; font: 700 1.6rem/1 var(--hand); color: var(--paper); opacity: .9; }

/* ---------- ocasiones ---------- */
.ocasiones { padding: clamp(5rem, 10vw, 8.5rem) var(--pad); }
.sec-head { max-width: 1300px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); display: grid; gap: .8rem; }
.sec-head .h2 em { color: var(--rose); }
.occ { list-style: none; padding: 0; max-width: 1300px; margin: 0 auto; border-top: 1px solid rgba(253, 246, 239, .2); position: relative; }
.occ__it { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: clamp(1.2rem, 2.4vw, 2rem) 0; border-bottom: 1px solid rgba(253, 246, 239, .2); }
.occ__n { font: 700 1.6rem/1 var(--hand); color: var(--gold); }
.occ__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 2rem; }
.occ h3 { font-size: clamp(2.2rem, 5.2vw, 5rem); font-weight: 400; transition: color .25s, translate .35s ease; }
.occ p { color: rgba(253, 246, 239, .78); max-width: 34ch; }
.occ__img { width: 5.5rem; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 10px; border: 3px solid var(--paper); }
@media (min-width: 901px) {
  .occ__it { grid-template-columns: 5rem minmax(0, 1fr); }
  .occ__img {
    position: absolute; right: 2%; top: 50%; width: 15rem; translate: 0 -50%; rotate: 4deg; z-index: 2;
    opacity: 0; scale: .85; pointer-events: none; transition: opacity .3s ease, scale .35s ease, rotate .35s ease;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
  }
  .occ__it:hover .occ__img { opacity: 1; scale: 1; rotate: -3deg; }
  .occ__it:hover h3 { color: var(--gold); translate: .6rem 0; }
  .occ__it:nth-child(1) .occ__img { opacity: 1; scale: 1; }
  .occ:hover .occ__it:nth-child(1):not(:hover) .occ__img { opacity: 0; scale: .85; }
}

/* ---------- festejo (momento firma) ---------- */
.festejo {
  color: var(--ink); padding: clamp(5rem, 10vw, 8.5rem) var(--pad);
  background:
    repeating-linear-gradient(90deg, rgba(122, 82, 52, .1) 0 2px, transparent 2px 46px, rgba(122, 82, 52, .06) 46px 70px, transparent 70px 92px),
    #f6ebe1;
}
.sec-head--dark .h2 em { color: var(--brick); }
.sec-head--dark .hand { color: var(--brick); }
.sec-sub { max-width: 46ch; color: #5a3a30; }
.festejo__wrap { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.plan { display: grid; gap: 1.8rem; }
.plan fieldset { border: 0; margin: 0; padding: 0; }
.plan legend, .fld > span { display: block; font: 700 1.55rem/1.1 var(--hand); color: var(--brick); margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; }
.chips span { display: inline-flex; align-items: baseline; gap: .4rem; padding: .7rem 1.2rem; border-radius: 999px; border: 2px solid rgba(42, 18, 16, .25); background: #fffaf5; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.chips small { font-weight: 400; font-size: .8rem; opacity: .8; }
.chips input:checked + span { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.plan__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; align-items: start; }
.stepper { display: inline-flex; align-items: center; gap: .6rem; background: #fffaf5; border: 2px solid rgba(42, 18, 16, .2); border-radius: 999px; padding: .3rem; }
.stepper button { width: 2.7rem; height: 2.7rem; border-radius: 50%; border: 0; background: var(--wine); color: var(--paper); font: 600 1.4rem/1 var(--serif); cursor: pointer; }
.stepper output { min-width: 3rem; text-align: center; font: 800 1.6rem/1 var(--serif); }
.fld { display: block; }
.fld small { font-size: 1rem; opacity: .8; }
.fld input { width: 100%; min-height: 3.2rem; padding: .7rem 1rem; border-radius: 12px; border: 2px solid rgba(42, 18, 16, .22); background: #fffaf5; color: var(--ink); font: 400 1.05rem/1.2 var(--serif); }
.fld input:focus { outline: none; border-color: var(--brick); }
.plan__warn { padding: .8rem 1rem; border-radius: 12px; background: #f7dcc0; color: #5b2d14; font-size: .95rem; }

.tent-col { position: sticky; top: 6rem; display: grid; gap: 1rem; perspective: 900px; }
.tent {
  position: relative; text-align: center; color: var(--ink);
  background: #fffdf9; padding: 2.4rem 1.8rem 2rem; border-radius: 6px;
  border: 1px solid rgba(42, 18, 16, .12);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .05), 0 40px 50px -20px rgba(59, 21, 18, .45);
  transform: rotateX(8deg); transform-origin: 50% 100%;
}
.tent::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--brick); border-radius: 3px; pointer-events: none; }
.tent::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -14px; height: 14px; background: radial-gradient(50% 100% at 50% 0, rgba(59, 21, 18, .35), transparent); }
.tent__res { font: 400 clamp(2.6rem, 4.4vw, 3.6rem)/1 var(--serif); font-style: italic; color: var(--brick); }
.tent__oc { margin-top: .8rem; font: 700 .9rem/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; }
.tent__who { margin-top: .9rem; font: 700 clamp(2rem, 3vw, 2.6rem)/1.05 var(--hand); overflow-wrap: anywhere; }
.tent__meta { margin-top: .6rem; font: 700 1.5rem/1.2 var(--hand); color: #5a3a30; }
.tent__turno { font: 700 1.4rem/1.2 var(--hand); color: #5a3a30; }
.tent__sign { margin-top: 1.4rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.tent.pop { animation: pop .35s ease; }
@keyframes pop { 50% { scale: 1.02; } }
.festejo .btn--wine { background: var(--wine); color: var(--paper); }
.festejo .btn--wine:hover { background: var(--wine-2); }
.tent__fine { font-size: .92rem; color: #5a3a30; }

/* ---------- noches ---------- */
.noches { background: var(--night); padding: clamp(5rem, 10vw, 8.5rem) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.noches__txt { display: grid; gap: 1.3rem; justify-items: start; max-width: 34rem; }
.noches__txt .h2 em { color: var(--gold); }
.noches__txt p { color: rgba(253, 246, 239, .82); }
.hand--light { color: var(--rose); }
.noches__wall { position: relative; min-height: 34rem; }
.flyer, .snap { position: absolute; margin: 0; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); }
.flyer { left: 18%; top: 0; width: 56%; rotate: -3deg; filter: saturate(.75); }
.flyer img { width: 100%; height: auto; }
.stamp {
  position: absolute; left: 50%; top: 46%; translate: -50% -50%; rotate: -16deg;
  padding: .3rem 1.2rem; border: 5px solid #c4271d; border-radius: 8px; color: #c4271d; background: rgba(255, 250, 245, .82);
  font: 800 clamp(1.8rem, 3.4vw, 3rem)/1 var(--serif); text-transform: uppercase; letter-spacing: .06em;
}
.snap { width: 26%; aspect-ratio: 9 / 14; border: 5px solid var(--paper); border-radius: 6px; overflow: hidden; }
.snap img { width: 100%; height: 100%; object-fit: cover; }
.snap--1 { left: 0; bottom: 0; rotate: -8deg; }
.snap--2 { right: 0; bottom: 6%; rotate: 7deg; }

/* ---------- dónde ---------- */
.donde { background: var(--rose); color: var(--ink); padding: clamp(4.5rem, 9vw, 8rem) var(--pad); }
.donde__big { font-size: clamp(3.6rem, 11vw, 11rem); font-weight: 800; line-height: .85; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.donde__big em { color: var(--brick); }
.donde__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.datos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2.4rem; }
.datos dt { font: 700 1.45rem/1 var(--hand); color: var(--brick); margin-bottom: .35rem; }
.datos dd { margin: 0; font-size: 1.2rem; }
.donde__cta { display: grid; gap: .7rem; }
.donde .btn--wine { background: var(--wine); color: var(--paper); }
.donde__rate { margin-top: .4rem; }
.donde__rate b { font: 800 2.4rem/1 var(--serif); }
.donde__rate span { font-size: .9rem; }

.pie { padding: 1.8rem var(--pad) 2rem; font-size: .9rem; background: var(--night); color: rgba(253, 246, 239, .75); }
.dock { display: none; }
.js .reveal { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .top .btn--sm { margin-left: auto; }
  .festejo__wrap, .noches, .donde__grid { grid-template-columns: 1fr; }
  .tent-col { position: static; }
}
@media (max-width: 760px) {
  body { padding-bottom: 4.8rem; }
  .hero { min-height: 0; display: block; place-items: normal; padding: 0 0 3rem; }
  .collage { position: relative; width: 100%; height: 360px; margin-top: 4.6rem; }
  .cut--arch { left: 3%; top: 3%; width: 31%; }
  .cut--circle { right: 3%; top: 2%; width: 36%; }
  .cut--tall { left: 30%; top: 18%; bottom: auto; width: 27%; }
  .cut--wide { right: 4%; bottom: 3%; width: 46%; }
  .cut--small { left: 6%; right: auto; bottom: 4%; width: 24%; }
  .cut { border-width: 4px; }
  .sticker { font-size: 1.15rem; }
  .sticker--a { right: 4%; top: 37%; }
  .sticker--b { left: 3%; top: 52%; }
  .hero__txt { padding: 1.2rem var(--pad) 0; }
  .hero__title { font-size: 21vw; }
  .hero__cta .btn { flex: 1 1 100%; }
  .occ__it { grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: .9rem; }
  .occ h3 { font-size: 2rem; }
  .occ p { font-size: .95rem; }
  .occ__img { width: 4.6rem; }
  .plan__row { grid-template-columns: 1fr; }
  .noches__wall { min-height: 0; aspect-ratio: 1 / 1.1; }
  .datos { grid-template-columns: 1fr; }
  .dock { display: grid; grid-template-columns: 1fr auto; gap: .5rem; position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 50; padding: .4rem; border-radius: 999px; background: rgba(36, 12, 10, .94); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: translate .3s ease, opacity .3s ease; }
  .dock.is-hidden { translate: 0 140%; opacity: 0; pointer-events: none; }
  .dock a { display: grid; place-items: center; min-height: 3rem; padding: 0 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
  .dock__wa { background: var(--gold); color: var(--ink); }
  .dock__tel { border: 2px solid rgba(253, 246, 239, .5); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .occ h3, .occ__img { transition: none; }
  .tent.pop { animation: none; }
}
