:root {
  color-scheme: dark;
  --bg: #130b10;
  --surface: #2b1221;
  --wine: #551330;
  --ink: #fff5f6;
  --muted: #f0d5e1;
  --accent: #ff89bb;
  --soft-pink: #ffc1da;
  --dark: #2c0d20;
  --line: #69414a;
  --whatsapp: #59ff20;
  --glow: #ff659c;
  --radius: 1.35rem;
  --display: "Bricolage Grotesque", var(--body);
  --body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(1rem, 4vw, 3.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.58 var(--body); }
main { overflow-x: clip; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font: 700 3rem/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(2.45rem, 5.2vw, 5rem); }
h3 { font-size: clamp(1.55rem, 2.65vw, 2.65rem); }
p { text-wrap: pretty; }
img { display: block; width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-top: 6rem; }
.wrap { width: min(100% - var(--gutter) * 2, 82rem); margin-inline: auto; }
.skip { position: fixed; inset: .75rem auto auto .75rem; z-index: 4; padding: .75rem; background: var(--ink); color: var(--dark); transform: translateY(-170%); }
.skip:focus { transform: none; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 2; }
.header-inner { min-height: 5.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { font: 600 1.65rem/1 var(--display); white-space: nowrap; text-decoration: none; }
.brand img { width: clamp(8rem, 15vw, 13.25rem); height: auto; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2.8rem); }
nav a, .header-quote { text-decoration: none; }
nav a:hover, .header-quote:hover { text-decoration: underline; }
.header-quote { padding: .55rem 1.1rem; border-radius: 999px; background: var(--ink); color: var(--dark); font-weight: 700; }

.hero { position: relative; isolation: isolate; overflow: clip; background: #381126; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("assets/fondo-portada.webp") 51% 44% / cover; opacity: .47; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #170a14ea 0%, #200c1bb2 42%, #33142533 75%), linear-gradient(180deg, #11080dbc, transparent 32%, #170a1470); }
.hero-petals { display: none; }
.hero-inner { min-height: clamp(39rem, 88svh, 52rem); padding-block: clamp(7rem, 12vw, 10rem) clamp(2.4rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: clamp(1.6rem, 5vw, 5rem); }
.hero-copy { display: grid; gap: clamp(1.1rem, 2.1vw, 2rem); position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3.3rem, 7.7vw, 8.1rem); font-variation-settings: "wdth" 83, "opsz" 75; font-weight: 800; line-height: .9; letter-spacing: -.055em; }
.hero p { max-width: 31ch; font-size: clamp(1.125rem, 1.55vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.3rem; }
.hero-media { position: relative; isolation: isolate; display: grid; min-width: 0; grid-template-columns: 1fr 1.48fr; align-items: end; gap: .85rem; max-width: 36rem; }
.hero-media::before { content: ""; position: absolute; inset: 12% 5%; z-index: -1; border-radius: 35%; background: #a7245b40; box-shadow: 0 0 5.5rem 2.2rem #ff659c36; }
.hero-side { margin-bottom: .25rem; }
.hero-feature { align-self: start; margin-bottom: clamp(1rem, 5vw, 4.8rem); }
.hero-media .model-photo { box-shadow: 0 0 2rem #ff659c30; }
.model-photo { position: relative; overflow: hidden; aspect-ratio: var(--cw) / var(--ch); border-radius: var(--radius); background: var(--wine); }
.model-photo img { position: absolute; left: calc(-100% * var(--cx) / var(--cw)); top: calc(-100% * var(--cy) / var(--ch)); width: calc(100% * 900 / var(--cw)); max-width: none; height: auto; }
.crop-sunset { --cx: 212; --cy: 109; --cw: 461; --ch: 613; }
.crop-editorial { --cx: 158; --cy: 91; --cw: 544; --ch: 646; }
.crop-beach { --cx: 212; --cy: 726; --cw: 467; --ch: 544; }
.crop-fran { --cx: 237; --cy: 675; --cw: 385; --ch: 515; }
.crop-valentina { --cx: 248; --cy: 588; --cw: 344; --ch: 462; }
.crop-camila { --cx: 54; --cy: 254; --cw: 520; --ch: 630; }
.photo-isi { aspect-ratio: 496 / 594; }
.photo-isi img { inset: 0; width: 100%; }
.button { display: inline-flex; justify-content: center; align-items: center; width: fit-content; min-height: 3.15rem; padding: .65rem 1.3rem; border: 0; border-radius: 999px; background: var(--accent); color: var(--dark); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--ink); }
.button:active, .header-quote:active, .whatsapp:active { transform: scale(.97); }

.marquee { display: flex; align-items: center; background: #ff75b0; color: var(--dark); padding-block: .9rem; }
.marquee-window { display: none; padding: 0; border: 0; background: transparent; color: inherit; flex: 1; min-width: 0; overflow: hidden; text-align: start; }
.marquee-window:focus-visible { outline-offset: -4px; }
.marquee-track { margin-inline: var(--gutter); text-align: center; font: 600 clamp(1.45rem, 3.5vw, 3.3rem)/1.08 var(--display); }
.marquee-static { flex: 1; padding-inline: var(--gutter); text-align: center; font: 600 clamp(1.35rem, 3vw, 2.45rem)/1.1 var(--display); }

.section { padding-block: clamp(3.7rem, 9.5vw, 9rem); }
.section-intro { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-intro p, .guides p, .acts p { max-width: 42ch; }
.model-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; column-gap: clamp(.8rem, 2vw, 1.8rem); row-gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 72rem; margin-inline: auto; }
.show { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.show .section-intro { display: block; margin: 0; }
.show .section-intro p { margin-top: 1rem; }
.brand-film { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 1.5rem; border-radius: var(--radius); background: #000; }
.acts { display: grid; gap: .7rem; }
.acts article { padding: clamp(1.3rem, 3.5vw, 3rem); border-radius: var(--radius); background: var(--surface); display: grid; gap: .75rem; }
.acts article:nth-child(2) { background: var(--wine); }
.acts .finale { background: var(--soft-pink); color: var(--dark); }
.acts h3 span, .mode-options h3 span { display: inline-block; margin-inline-end: .15em; font-size: .82em; }

.modes { background: var(--wine); }
.mode-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mode-options article { display: grid; align-content: start; justify-items: start; gap: .85rem; padding: clamp(1.25rem, 4vw, 3rem); border-radius: var(--radius); background: var(--bg); }
.mode-options article + article { background: var(--soft-pink); color: var(--dark); }
.mode-options p { max-width: 42ch; }
.mode-options a { font-weight: 700; }
.profile-caption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .1rem .8rem; padding-top: .7rem; }
.profile-caption a { padding-block: .55rem; }
.site-footer p { color: var(--muted); }

.city { overflow: hidden; border-radius: var(--radius); margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.city img { height: auto; aspect-ratio: 2.85 / 1; object-fit: cover; object-position: 50% 48%; background: var(--surface); }
.guides { max-width: 52rem; margin-left: auto; display: grid; gap: .45rem; }
.guides details { background: var(--surface); border-radius: var(--radius); padding-inline: clamp(.9rem, 2.5vw, 1.6rem); }
.guides summary { position: relative; padding: 1.15rem 2rem 1.15rem 0; list-style: none; cursor: pointer; font-size: clamp(1rem, 2vw, 1.2rem); }
.guides summary::-webkit-details-marker { display: none; }
.guides summary::after { content: "+"; position: absolute; right: .3rem; color: var(--accent); }
.guides details[open] summary::after { content: "−"; }
.guides p { margin-bottom: 1.3rem; }
.faq { background: var(--surface); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1rem, 5vw, 5rem); align-items: start; }
.faq .section-intro { grid-template-columns: 1fr; margin: 0; }
.faq .guides { width: 100%; }
.faq details { background: var(--bg); }

.booking { background: var(--soft-pink); color: var(--dark); color-scheme: light; }
.booking-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.booking-inner > div > p { margin: 1rem 0; max-width: 32ch; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 1rem; }
form label { display: grid; gap: .35rem; font-weight: 700; }
form label span { display: contents; font-weight: 400; }
form input, form textarea, form select { width: 100%; min-width: 0; min-height: 3rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--ink); color: var(--dark); padding: .55rem .65rem; font-weight: 400; }
form textarea { resize: vertical; }
.consent-check { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; cursor: pointer; }
.consent-check input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: .2rem 0 0; accent-color: var(--dark); }
.consent p { margin: .4rem 0 0 1.9rem; font-size: .94rem; line-height: 1.5; }
.booking .button { background: var(--dark); color: var(--ink); }
.booking .button:hover { background: var(--wine); }
.wide { grid-column: 1 / -1; }
.result { padding: 1rem; background: var(--ink); border-radius: var(--radius); }
.result textarea { margin-block: .5rem; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-bottom: .65rem; }
.site-footer { padding-block: 2rem 5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem 1.5rem; }
.whatsapp { position: fixed; bottom: max(1rem, env(safe-area-inset-bottom)); right: max(1rem, env(safe-area-inset-right)); z-index: 3; display: grid; place-items: center; width: 3.6rem; aspect-ratio: 1; border-radius: 50%; background: var(--whatsapp); color: #101510; }
.whatsapp:hover { background: #a2ff56; }

@media (max-width: 750px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; padding-block: .65rem; }
  nav { grid-row: 2; grid-column: 1 / -1; gap: .3rem clamp(.6rem, 3vw, 1.2rem); }
  nav a { font-size: .9rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-block: 7.8rem clamp(1.75rem, 6vw, 3.6rem); }
  .hero h1 { font-size: clamp(3.25rem, 12vw, 6.1rem); }
  .hero::before { background-position: 59% 18%; }
  .hero::after { background: linear-gradient(180deg, #160b16d5 0%, #180b17b5 42%, #32122250 100%); }
  .hero-media { width: min(100%, 31rem); justify-self: center; }
  .section-intro, .booking-inner, .show, .faq-inner, .mode-options { grid-template-columns: 1fr; }
  .section-intro h2, .booking h2 { max-width: calc(100% - 3.5rem); }
  .model-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city img { aspect-ratio: 1.55 / 1; }
  .marquee-track { font-size: 1.4rem; }
}

@media (max-width: 380px) {
  form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero { --title-travel: clamp(2.3rem, 8vw, 7.5rem); --photo-travel: clamp(2.8rem, 10vw, 9rem); }
  .header-inner { animation: descend .65s var(--ease) both; }
  .hero h1 { animation: title-in 1.05s var(--ease) both; }
  .hero::before { animation: photo-settle 1.6s var(--ease) both; }
  .hero p { animation: rise .82s .15s var(--ease) both; }
  .hero-actions { animation: rise .78s .25s var(--ease) both; }
  .hero-feature { animation: portrait-in 1.18s .07s var(--ease) both; }
  .hero-side { animation: portrait-in 1.16s .19s var(--ease) both; }
  .hero-petals { display: block; position: absolute; inset: 0; pointer-events: none; }
  .hero-petals span {
    position: absolute;
    top: 0;
    left: var(--start);
    width: var(--size);
    aspect-ratio: .73;
    border-radius: 72% 28% 55% 45%;
    background: var(--petal-color, #ff94bf);
    opacity: 0;
    animation: petal-fall var(--duration) var(--delay) ease-in-out both;
  }
  .hero-petals span:nth-child(1) { --start: 5%; --size: 10px; --drift: 28px; --duration: 3.8s; --delay: .25s; }
  .hero-petals span:nth-child(2) { --start: 17%; --size: 15px; --drift: -31px; --duration: 4.05s; --delay: .6s; --petal-color: #dc497c; }
  .hero-petals span:nth-child(3) { --start: 35%; --size: 8px; --drift: 38px; --duration: 3.55s; --delay: .42s; }
  .hero-petals span:nth-child(4) { --start: 48%; --size: 13px; --drift: 33px; --duration: 4.2s; --delay: .12s; --petal-color: #f05d99; }
  .hero-petals span:nth-child(5) { --start: 63%; --size: 9px; --drift: -41px; --duration: 3.45s; --delay: .7s; }
  .hero-petals span:nth-child(6) { --start: 79%; --size: 14px; --drift: -34px; --duration: 3.8s; --delay: .52s; --petal-color: #ef628b; }
  .hero-petals span:nth-child(7) { --start: 93%; --size: 11px; --drift: 20px; --duration: 4.2s; --delay: .38s; }

  .arrived { animation: rise .78s var(--ease) both; }
  .model-photos .model-photo.arrived, .city.arrived, .brand-film.arrived { animation-name: gallery-in; animation-duration: .95s; }
  .acts article.arrived, .mode-options article:nth-child(even).arrived { animation-name: from-right; }
  .mode-options article:nth-child(odd).arrived, .booking-inner h2.arrived { animation-name: from-left; }
  .section-intro p.arrived, .acts article:nth-child(2).arrived, .model-photos article:nth-child(even) figure.arrived, .mode-options article:nth-child(even).arrived, .profile-caption.arrived, form label:nth-child(even).arrived { animation-delay: .08s; }
  .acts .finale.arrived { animation-delay: .16s; }
  .guides details[open] p, .result:not([hidden]) { animation: rise .34s var(--ease) both; }

  .button, .header-quote, .whatsapp { transition: transform .14s var(--ease), background-color .18s ease; }
  .model-photo img { transition: transform .55s var(--ease); }
  @media (hover: hover) {
    .model-photo:hover img, .model-photos article:focus-within img { transform: scale(1.025); }
  }
  .marquee-window { display: block; }
  .marquee-static { display: none; }
  .marquee-track { display: flex; width: max-content; margin: 0; text-align: left; white-space: nowrap; animation: marquee 33s linear infinite; }
  .marquee-track span { min-width: 50vw; flex: 0 0 auto; }
  .marquee-track.paused { animation-play-state: paused; }
}

@keyframes rise { from { opacity: .52; transform: translateY(24px); } }
@keyframes descend { from { opacity: .7; transform: translateY(-12px); } }
@keyframes title-in { from { opacity: .55; transform: translateX(calc(-1 * var(--title-travel))); } }
@keyframes portrait-in { from { opacity: .4; transform: translateX(var(--photo-travel)) scale(.95); } }
@keyframes gallery-in { from { opacity: .52; transform: translateY(20px) scale(.965); } }
@keyframes from-left { from { opacity: .52; transform: translateX(-34px); } }
@keyframes from-right { from { opacity: .52; transform: translateX(34px); } }
@keyframes photo-settle { from { transform: scale(1.12); } }
@keyframes petal-fall {
  0% { opacity: 0; transform: translate(0, -15px) rotate(-38deg); }
  16% { opacity: .78; }
  44% { transform: translate(var(--drift), 9.5rem) rotate(48deg); }
  60% { opacity: .7; transform: translate(calc(var(--drift) * .72), 8.8rem) rotate(84deg); }
  100% { opacity: 0; transform: translate(calc(var(--drift) * -.4), 19rem) rotate(162deg); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
