/* MGhani Barber · negro, morado y oro del logo; rayas de poste de barbero como motivo */
@font-face { font-family: "Anton"; src: url(fuentes/Anton-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Grotesk"; src: url(fuentes/SpaceGrotesk.ttf) format("truetype"); font-weight: 300 700; font-display: swap; }

:root {
  --black: #0b0810;
  --night: #140d1d;
  --purple: #4a1a78;
  --violet: #7b3fc4;
  --gold: #e2b248;
  --gold-hi: #ffecaa;
  --gold-lo: #a0701e;
  --bone: #f3eee6;
  --muted: #b6abc4;
  --wa: #1fa855;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--black); color: var(--bone); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .9; letter-spacing: .005em; margin-bottom: clamp(1.5rem, 4vw, 3rem); }

/* Corona (del logo) */
.crown { display: inline-block; width: 22px; height: 14px; background: var(--gold); clip-path: polygon(0 100%, 0 20%, 25% 55%, 50% 0, 75% 55%, 100% 20%, 100% 100%); vertical-align: -1px; }

/* Botones */
.btn { --x: 0px; --y: 0px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 54px; padding: .9rem 1.8rem; border-radius: 999px; font-weight: 700; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transform: translate(var(--x), var(--y)); transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s; }
.btn--sm { min-height: 44px; padding: .55rem 1.2rem; font-size: .85rem; }
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: #1a1006; box-shadow: 0 10px 30px -10px rgba(226,178,72,.6); }
.btn--gold:hover { box-shadow: 0 16px 40px -10px rgba(226,178,72,.85); }
.btn--ghost { border-color: rgba(243,238,230,.35); color: var(--bone); background: rgba(11,8,16,.3); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--wa { background: var(--wa); color: #fff; width: 100%; }
.btn--wa:hover { background: #178a45; }

/* Cursor propio (solo ratón) */
.cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; border: 2px solid var(--gold); border-radius: 50%; pointer-events: none; z-index: 100; transform: translate(-50%, -50%); transition: width .25s var(--ease), height .25s var(--ease), background .25s; mix-blend-mode: difference; display: none; }
.cursor.is-big { width: 80px; height: 80px; background: rgba(226,178,72,.15); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* Barra de navegación */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem clamp(16px, 3vw, 40px); transition: background .3s, backdrop-filter .3s; }
.nav.is-solid { background: rgba(11,8,16,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(226,178,72,.15); }
.nav__logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav__logo img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.nav__logo span { font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; line-height: 1; }
.nav__logo b { font-weight: 400; color: var(--gold); margin-left: .25rem; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { text-decoration: none; text-transform: uppercase; font-size: .85rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.nav__links a:hover { color: var(--gold); }

/* Portada */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.85) contrast(1.05); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 70% 30%, transparent 0%, rgba(11,8,16,.35) 50%, rgba(11,8,16,.92) 100%), linear-gradient(0deg, var(--black) 2%, rgba(11,8,16,0) 45%), linear-gradient(90deg, rgba(74,26,120,.55), rgba(74,26,120,0) 60%); }
.hero__content { width: min(1240px, 100% - 32px); margin: 0 auto; padding: 8rem 0 clamp(3rem, 8vh, 6rem); }
.hero__kicker { display: inline-flex; align-items: center; gap: .7rem; text-transform: uppercase; letter-spacing: .2em; font-size: .82rem; font-weight: 600; color: var(--gold); margin-bottom: 1rem; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(5rem, 19vw, 17rem); line-height: .82; letter-spacing: -.005em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 34rem; margin: 1.6rem 0 2rem; color: var(--bone); font-size: 1.12rem; opacity: .9; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__since { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(3rem, 8vh, 6rem); font-family: var(--display); font-size: 1.4rem; line-height: 1; text-align: right; color: var(--gold); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .3em; }

@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { animation: up 1s var(--ease) both; }
  .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
  .hero__kicker, .hero__lead, .hero__cta { animation: fade .9s .35s var(--ease) both; }
}
@keyframes up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Cinta con rayas de poste */
.tape { position: relative; background: var(--gold); color: #1a1006; overflow: hidden; transform: rotate(-2deg); margin: -1.4rem -2vw 0; z-index: 2; border-block: 3px solid #1a1006; }
.tape__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; padding: .7rem 0; animation: marquee 26s linear infinite; }
.tape span { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; letter-spacing: .03em; }
.tape i { width: 64px; height: 22px; border-radius: 11px; background: repeating-linear-gradient(-45deg, var(--purple) 0 8px, #fff 8px 16px); box-shadow: inset 0 0 0 2px #1a1006; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Estilos */
.styles { padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem); background: radial-gradient(60% 50% at 80% 40%, rgba(123,63,196,.22), transparent 70%); }
.styles__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.styles__tabs { display: grid; }
.styles__tabs button { display: flex; align-items: baseline; gap: 1.2rem; text-align: left; background: none; border: 0; border-top: 1px solid rgba(243,238,230,.12); padding: 1.1rem 0; cursor: pointer; font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1; color: rgba(243,238,230,.28); transition: color .25s, padding .35s var(--ease); }
.styles__tabs button:last-child { border-bottom: 1px solid rgba(243,238,230,.12); }
.styles__tabs em { font-style: normal; font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.styles__tabs button:hover { color: rgba(243,238,230,.7); }
.styles__tabs button[aria-selected="true"] { color: var(--bone); padding-left: 1rem; }
.styles__stage { position: relative; display: grid; grid-template-columns: 1fr; }
.styles__img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(226,178,72,.35); }
.styles__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), clip-path .7s var(--ease), filter .5s; }
.styles__img img.is-out { clip-path: inset(0 0 100% 0); transform: scale(1.08); filter: brightness(1.6); }
.styles__stage figcaption { position: absolute; left: -2rem; bottom: 2rem; max-width: 330px; background: rgba(20,13,29,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(226,178,72,.35); border-radius: 22px; padding: 1.4rem 1.5rem; }
.styles__stage h3 { font-family: var(--display); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--gold); margin-bottom: .5rem; }
.styles__stage p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }

/* Galería */
.gallery { padding: clamp(3rem, 6vw, 5rem) 0; }
.gallery__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.hint { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 3rem; }
.gallery__rail { display: flex; gap: 1.2rem; overflow-x: auto; padding: 0 max(16px, calc((100vw - 1240px) / 2)) 1.5rem; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.gallery__rail::-webkit-scrollbar { display: none; }
.gallery__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.shot { flex: none; width: clamp(240px, 26vw, 360px); aspect-ratio: 4/5; border: 0; padding: 0; border-radius: 22px; overflow: hidden; background: var(--night); scroll-snap-align: start; cursor: zoom-in; position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot:nth-child(even) { margin-top: 3rem; }

/* Reels */
.reels { padding: clamp(5rem, 10vw, 8rem) 0; background: linear-gradient(180deg, var(--black), var(--night) 40%, var(--black)); }
.reels__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); max-width: 980px; margin: 0 auto; }
.phone { aspect-ratio: 9/16; border-radius: 34px; overflow: hidden; border: 8px solid #1d1528; box-shadow: 0 0 0 1px rgba(226,178,72,.4), 0 40px 70px -30px rgba(123,63,196,.6); background: var(--night); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone--up { transform: translateY(-2.5rem); }

/* Cita */
.booking { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.booking::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(74,26,120,.12) 0 40px, transparent 40px 80px); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.booking__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.booking__lead { color: var(--muted); max-width: 30rem; font-size: 1.1rem; }
.booking__phone { display: inline-block; margin-top: 2rem; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.5rem); text-decoration: none; color: var(--gold); line-height: 1; }
.ticket { background: var(--bone); color: #1a1006; border-radius: 26px; padding: clamp(1.4rem, 4vw, 2.2rem); display: grid; gap: 1.3rem; position: relative; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 74px; width: 28px; height: 28px; border-radius: 50%; background: var(--black); }
.ticket::before { left: -14px; } .ticket::after { right: -14px; }
.ticket__head { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.6rem; letter-spacing: .04em; padding-bottom: 1.1rem; border-bottom: 2px dashed rgba(26,16,6,.25); }
.ticket__head .crown { background: var(--purple); }
.ticket__no { margin-left: auto; font-family: var(--sans); font-weight: 700; font-size: .9rem; color: var(--purple); }
.ticket fieldset { border: 0; padding: 0; }
.ticket legend { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .6rem; color: #4a3b2a; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 2px solid rgba(26,16,6,.15); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.chips label:hover span { border-color: var(--purple); }
.chips input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; transform: scale(1.04); }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chips--days span { flex-direction: column; line-height: 1.1; padding: .45rem .8rem; font-size: .8rem; }
.chips--days b { font-size: 1.15rem; }
.field { display: grid; gap: .4rem; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #4a3b2a; }
.field input { font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; font-weight: 500; padding: .85rem 1rem; min-height: 50px; border-radius: 14px; border: 2px solid rgba(26,16,6,.15); background: #fff; color: #1a1006; }
.field input:focus { outline: none; border-color: var(--purple); }
.ticket__preview { background: #e9f8ee; border-radius: 16px 16px 16px 4px; padding: .9rem 1rem; font-size: .92rem; color: #12361f; white-space: pre-line; min-height: 3rem; }

/* Únete */
.join { padding: clamp(3rem, 6vw, 5rem) 0; }
.join__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; border: 1px solid rgba(226,178,72,.35); border-radius: 30px; padding: clamp(2rem, 5vw, 3.5rem); background: linear-gradient(120deg, rgba(74,26,120,.45), rgba(20,13,29,.6)); }
.join .title { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 1rem; }
.join p { color: var(--muted); max-width: 40rem; }

/* Pie */
.foot { padding: 4rem 0 2rem; border-top: 1px solid rgba(226,178,72,.2); }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; align-items: start; }
.foot__brand { display: flex; align-items: center; gap: 1.4rem; }
.foot__brand img { width: 110px; height: 110px; border-radius: 50%; box-shadow: 0 0 0 3px var(--gold), 0 0 40px rgba(226,178,72,.35); }
.foot__big { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: .9; }
.foot h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: .7rem; }
.foot a, .foot p { display: block; color: var(--muted); text-decoration: none; margin-bottom: .35rem; }
.foot a:hover { color: var(--bone); }
.foot__legal { margin-top: 3rem; font-size: .8rem; color: rgba(182,171,196,.7); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 34px -10px rgba(0,0,0,.6); }
.wa-float svg { width: 30px; height: 30px; }
@media (prefers-reduced-motion: no-preference) { .wa-float { animation: pulse 2.6s ease-in-out infinite; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31,168,85,.5), 0 14px 34px -10px rgba(0,0,0,.6); } 50% { box-shadow: 0 0 0 14px rgba(31,168,85,0), 0 14px 34px -10px rgba(0,0,0,.6); } }

/* Visor de fotos */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 640px); }
.lightbox::backdrop { background: rgba(11,8,16,.92); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; border-radius: 22px; }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: #1a1006; font-size: 1.2rem; cursor: pointer; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .styles__grid, .booking__grid, .foot__grid { grid-template-columns: 1fr; }
  .styles__tabs { grid-template-columns: repeat(5, auto); overflow-x: auto; gap: .4rem; scrollbar-width: none; }
  .styles__tabs button, .styles__tabs button:last-child { border: 1px solid rgba(243,238,230,.18); border-radius: 999px; font-size: 1.4rem; padding: .55rem 1rem; white-space: nowrap; }
  .styles__tabs button[aria-selected="true"] { padding-left: 1rem; background: var(--gold); color: #1a1006; border-color: var(--gold); }
  .styles__tabs em { display: none; }
  .styles__stage figcaption { position: static; max-width: none; margin-top: -3rem; margin-inline: .8rem; }
  .reels__row { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
  .phone { scroll-snap-align: center; }
  .phone--up { transform: none; }
  .hero__since { display: none; }
  .shot:nth-child(even) { margin-top: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav .btn--sm { display: none; }
  .nav__logo span { font-size: 1.3rem; }
  .ticket::before, .ticket::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
