/* Atha Punta del Este — "Afiche al atardecer": tres palabras, un sol, una inversión */
:root {
  --plum: #4A1456;
  --plum-2: #6B1F7A;
  --sun: #F2A54A;
  --sun-d: #E48A2A;
  --mustard: #D3C24C;
  --sky: #86A8DA;
  --sea: #3F5E8E;
  --sand: #E8D6B8;
  --mist: #F4EFF6;
  --ink: #23102B;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --gut: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: 76px; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun-d); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }
.kicker { font: 700 .76rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--plum-2); margin: 0 0 16px; }
.kicker--sun { color: var(--sun); }
.h2 { font: 800 clamp(2.4rem, 5.6vw, 5rem)/.95 var(--sans); font-stretch: 80%; letter-spacing: -.03em; margin: 0 0 22px; }
.h2 em { font: italic 500 1em/1 var(--serif); letter-spacing: -.01em; color: var(--plum-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 700 .96rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; transition: transform .25s ease, background .25s ease, color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #F7BC6E; }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-2); }
.btn--line { border-color: currentColor; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px var(--gut); color: var(--ink); transition: background .3s ease; }
.nav.is-solid { background: rgba(244, 239, 246, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(35, 16, 43, .1); }
.nav__brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.nav__brand img { border-radius: 50%; align-self: center; }
.nav__brand span { font: 800 1.35rem/1 var(--sans); letter-spacing: -.02em; }
.nav__brand small { font: italic 500 1rem/1 var(--serif); }
.nav__links { display: flex; gap: 26px; font-weight: 600; font-size: .92rem; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav__cta { min-height: 42px; padding: 0 18px; font-size: .88rem; }

/* AFICHE */
.poster { position: relative; min-height: 100svh; overflow: hidden; color: var(--ink); display: grid; }
.poster__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #8EB0DF 0%, #B9B9DD 34%, #F1C7A0 62%, #F4A65A 74%); }
.poster__sea { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, var(--sea) 0 18%, #6F86AE 18% 22%, var(--sand) 22%); }
.poster__sea::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .6); }
.poster__sun { position: absolute; left: 50%; top: 50%; width: min(56vmin, 520px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; transform: translate(-50%, -54%); box-shadow: 0 0 0 14px rgba(242, 165, 74, .28), 0 0 120px 40px rgba(242, 165, 74, .45); }
.poster__sun img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.12); transform-origin: 50% 40%; }
.poster__inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 84px var(--gut) clamp(22px, 3vw, 36px); min-height: 100svh; }
.poster__top { display: flex; justify-content: space-between; gap: 12px; margin: 0; font: 700 .8rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.poster__words { margin: 0; display: grid; justify-items: center; text-align: center; font: 800 clamp(3rem, 10vw, 10.4rem)/.86 var(--sans); font-stretch: 78%; letter-spacing: -.015em; text-transform: uppercase; color: var(--plum); }
.w { display: block; }
.w--1 { mix-blend-mode: multiply; }
.w--2 { transform: rotate(180deg); color: #fff; mix-blend-mode: normal; text-shadow: 0 2px 30px rgba(74, 20, 86, .35); }
.w--3 { font-size: .64em; mix-blend-mode: multiply; }
.poster__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.poster__who { margin: 0; max-width: 38ch; font-size: 1.05rem; color: var(--ink); background: rgba(232, 214, 184, .82); padding: 12px 16px; border-radius: 14px; }
.poster__who em { font: italic 500 1.1em/1 var(--serif); color: var(--plum-2); }
.poster__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.poster .btn--line { background: rgba(244, 239, 246, .75); color: var(--plum); border-color: var(--plum); }

/* 24 AÑOS */
.years { padding: clamp(80px, 11vw, 150px) 0; background: var(--mist); overflow: hidden; }
.years__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.years__num { margin: 0; font: 800 clamp(10rem, 26vw, 24rem)/.75 var(--sans); font-stretch: 75%; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--plum-2); }
.years__text p:not(.kicker) { max-width: 44ch; margin-bottom: 26px; }
.years__img { margin: 0; aspect-ratio: .8; border-radius: 999px 999px 24px 24px; overflow: hidden; }
.years__img img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 70%; }

/* PILARES */
.pillars { background: var(--plum); color: #fff; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.pillars .h2 em { color: var(--sun); }
.pillars__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.dial { display: grid; gap: 4px; margin: 10px 0 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
.dial button { all: unset; cursor: pointer; display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); font: 800 clamp(1.6rem, 3.2vw, 2.6rem)/1 var(--sans); font-stretch: 80%; letter-spacing: -.02em; color: rgba(255, 255, 255, .5); transition: color .3s ease, padding .3s ease; }
.dial button span { font: italic 500 1rem/1 var(--serif); color: var(--sun); }
.dial button:hover { color: rgba(255, 255, 255, .85); }
.dial button[aria-selected="true"] { color: #fff; padding-left: 14px; }
.dial button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.pillars__panel { min-height: 120px; margin-bottom: 26px; }
.pillars__big { margin: 0 0 6px; font: italic 500 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--serif); }
.pillars__small { margin: 0; color: #E9D9EE; }
.pillars__orbit { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.pillars__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 60s linear infinite; }
.pillars__ring text { font: 700 7.2px/1 var(--sans); letter-spacing: 1.6px; fill: var(--sun); }
@keyframes spin { to { transform: rotate(360deg); } }
.pillars__disc { position: absolute; inset: 9%; margin: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px rgba(242, 165, 74, .2), 0 30px 80px -20px rgba(0, 0, 0, .6); }
.pillars__disc img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease, transform .8s ease; }
.pillars__orbit::after { content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); top: 50%; left: 50%; margin: -13px; transform: rotate(var(--rot, -90deg)) translateX(min(280px, 50%)) ; transition: transform .8s cubic-bezier(.6, 0, .2, 1); box-shadow: 0 0 30px 8px rgba(242, 165, 74, .6); }

/* PLAYA */
.beach { padding: clamp(80px, 11vw, 150px) 0; background: var(--sand); }
.beach .h2 em { color: var(--sun-d); }
.beach__head { margin-bottom: 40px; }
.beach__head p:last-child { max-width: 42ch; }
.beach__grid { width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 60px; gap: 16px; }
.b { margin: 0; overflow: hidden; border-radius: 6px; }
.b img { width: 100%; height: 100%; object-fit: cover; }
.b--1 { grid-column: 1 / span 3; grid-row: 1 / span 9; }
.b--2 { grid-column: 4 / span 6; grid-row: 1 / span 6; }
.b--2 img { transform: scale(1.42); transform-origin: 86% 52%; filter: contrast(1.3) saturate(1.35) brightness(.95); }
.b--3 { grid-column: 10 / span 3; grid-row: 2 / span 5; }
.b--4 { grid-column: 7 / span 3; grid-row: 7 / span 5; border-radius: 999px 999px 6px 6px; }
.b--4 img { object-position: 50% 40%; }
.b--q { grid-column: 4 / span 3; grid-row: 7 / span 4; display: grid; place-content: center; font: italic 500 clamp(1.6rem, 2.6vw, 2.4rem)/1.05 var(--serif); color: var(--plum); text-align: center; background: var(--sun); }

/* APUNTES */
.notes { background: var(--ink); color: #fff; padding: clamp(80px, 11vw, 150px) 0; }
.notes .h2 em { color: var(--sun); }
.notes__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 10px 40px; align-items: end; margin-bottom: 40px; }
.notes__head .kicker { grid-column: 1 / -1; margin: 0; }
.notes__head .h2 { margin: 0; }
.notes__head p:last-child { margin: 0; color: #DCCDE3; }
.notes__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.notes__list a { display: grid; gap: 12px; text-decoration: none; }
.notes__list img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: transform .4s ease; }
.notes__list a:hover img { transform: rotate(-2deg) scale(1.03); }
.notes__list span { font-weight: 600; line-height: 1.3; }
.notes__list span::after { content: " ↗"; color: var(--sun); }

/* TURNOS */
.book { background: var(--mist); padding: clamp(80px, 11vw, 150px) 0; --tn-accent: var(--plum); --tn-on-accent: #fff; --tn-radius: 999px; --tn-font: var(--sans); --tn-line: rgba(74, 20, 86, .3); --tn-card: #fff; }
.book__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.book__head p:not(.kicker) { max-width: 40ch; }
.book__img { margin: 26px 0 0; max-width: 300px; transform: rotate(-3deg); box-shadow: 0 30px 50px -30px rgba(35, 16, 43, .6); border-radius: 8px; overflow: hidden; }
.book__app { background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 40px 70px -50px rgba(74, 20, 86, .6); border-top: 6px solid var(--sun); }
.book .tn-days .tn-opt { border-radius: 16px; }
.book .tn-step legend { color: var(--plum-2); opacity: 1; }

/* CIERRE */
.close { position: relative; background: linear-gradient(180deg, var(--plum) 0%, #2D0C36 100%); color: #fff; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.close__sun { position: absolute; width: 70vmin; aspect-ratio: 1; border-radius: 50%; right: -18vmin; bottom: -40vmin; background: radial-gradient(circle, var(--sun) 0 55%, rgba(242, 165, 74, 0) 70%); opacity: .9; }
.close__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 90px); align-items: end; }
.close__t { margin: 0; font: 800 clamp(2.8rem, 7vw, 6.6rem)/.92 var(--sans); font-stretch: 78%; letter-spacing: -.035em; }
.close__t em { font: italic 500 .8em/1 var(--serif); color: var(--sun); letter-spacing: 0; }
.close__info dl { margin: 0 0 24px; display: grid; gap: 0; }
.close__info dl div { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.close__info dt { font: 700 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sun); margin-bottom: 4px; }
.close__info dd { margin: 0; font-weight: 500; }
.close__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.foot { background: #1A0820; color: #CDB8D4; padding: 22px 0; font-size: .88rem; }
.foot__wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

.mbar { display: none; }
.js .reveal { opacity: 0; transform: translateY(30px); }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .years__grid { grid-template-columns: 1fr 1fr; }
  .years__num { grid-column: 1 / -1; font-size: 40vw; }
  .notes__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; font-size: 16px; }
  .nav__cta { display: none; }
  .poster__top { flex-direction: column; align-items: center; gap: 6px; font-size: .68rem; }
  .poster__words { font-size: 16vw; }
  .w--3 { font-size: .6em; }
  .poster__sun { width: 74vw; transform: translate(-50%, -58%); }
  .poster__foot { flex-direction: column; align-items: stretch; }
  .poster__ctas .btn { flex: 1 1 100%; }
  .years__grid { grid-template-columns: 1fr; }
  .years__num { font-size: 46vw; margin-bottom: -10px; }
  .years__img { max-width: 320px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillars__orbit { max-width: 330px; order: -1; }
  .beach__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 48px; gap: 10px; }
  .b--1 { grid-column: 1 / span 3; grid-row: 1 / span 9; }
  .b--2 { grid-column: 4 / span 3; grid-row: 1 / span 4; }
  .b--3 { grid-column: 4 / span 3; grid-row: 5 / span 5; }
  .b--4 { grid-column: 1 / span 3; grid-row: 10 / span 6; }
  .b--q { grid-column: 4 / span 3; grid-row: 10 / span 6; }
  .notes__head { grid-template-columns: 1fr; }
  .notes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book__grid, .close__grid { grid-template-columns: 1fr; }
  .book__img { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 58px; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; }
  .mbar a { min-height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 10px 26px -8px rgba(35, 16, 43, .6); }
  .mbar__main { background: var(--plum); color: #fff; }
  .mbar__wa { background: var(--sun); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
