/* =============================================================
   LOS MARLON BRANDO — Landing
   Aesthetic: Editorial nightlife · dark mood · stage-lit accents
   ============================================================= */

/* ========== RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ========== TOKENS ========== */
:root {
  /* color */
  --bg: #0B0B0F;
  --bg-2: #131318;
  --bg-3: #1B1B22;
  --bg-card: rgba(255, 255, 255, 0.025);

  --magenta: #FF2E93;
  --magenta-bright: #FF66B3;
  --magenta-deep: #C7196B;

  --yellow: #FFD60A;
  --yellow-warm: #FFB800;

  --white: #FAFAFA;
  --grey: #A8A8B0;
  --grey-dim: #6B6B75;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* type */
  --font-display: 'Anton', 'Impact', sans-serif;
  --font-body: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', 'Georgia', serif;

  /* layout */
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  /* easing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== BASE ========== */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.55;
  font-size: clamp(15px, 1vw + 0.5rem, 17px);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--magenta);
  color: var(--white);
}

/* ========== GRAIN OVERLAY ========== */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--yellow);
  letter-spacing: 0;
}

p {
  color: var(--grey);
  line-height: 1.65;
}

strong {
  color: var(--white);
  font-weight: 600;
}

/* ========== LAYOUT ========== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  position: relative;
  padding: clamp(22px, 2.4vw, 38px) 0;
}

.section-head {
  margin-bottom: clamp(12px, 1.5vw, 22px);
  max-width: 720px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 500;
  margin-bottom: 24px;
}

.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--magenta);
}

.section-eyebrow--center {
  justify-content: center;
}

.section-title {
  font-size: clamp(44px, 7vw, 96px);
  margin-bottom: 20px;
}

.section-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 560px;
}

.section-head--center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn--lg {
  padding: 18px 34px;
  font-size: 16px;
}

.btn--magenta {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 8px 32px -8px rgba(255, 46, 147, 0.6);
}

.btn--magenta:hover {
  background: var(--magenta-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px rgba(255, 46, 147, 0.8);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--white);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 6px;
  transition: gap 0.3s var(--ease-out), border-color 0.3s var(--ease);
}

.link-arrow:hover {
  gap: 14px;
  border-color: var(--magenta);
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), padding 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--magenta);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 10px 20px;
  font-size: 14px;
}

.nav__menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav__menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.05) saturate(0.85);
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,15,0.5) 0%, rgba(11,11,15,0.55) 50%, rgba(11,11,15,0.95) 100%),
    radial-gradient(60% 80% at 30% 50%, rgba(255, 46, 147, 0.18), transparent 60%),
    radial-gradient(50% 70% at 80% 30%, rgba(255, 214, 10, 0.12), transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}

.hero__eyebrow .dot,
.contacto__attendant .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero__title {
  font-size: clamp(56px, 12vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s var(--ease-out) forwards;
}

.hero__title .line--1 { animation-delay: 0.3s; }
.hero__title .line--2 { animation-delay: 0.45s; color: var(--magenta); }
.hero__title .line--3 { animation-delay: 0.6s; }

.hero__title em {
  display: inline-block;
  transform: rotate(-4deg);
  margin: 0 0.05em;
}

.hero__sub {
  font-size: clamp(17px, 1.6vw, 22px);
  max-width: 540px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s 0.8s var(--ease-out) forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 1s 1s var(--ease-out) forwards;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 1s 1.2s var(--ease-out) forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--yellow);
}

.stat__lbl {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 1.4s var(--ease-out) forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--white), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--magenta);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  to { top: 100%; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== MARQUEE ========== */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
}

.marquee__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  width: max-content;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.marquee__track span:nth-child(even) {
  color: var(--magenta);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 48px);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ========== EVENTOS / CARDS ========== */
.eventos {
  background: var(--bg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease);
  isolation: isolate;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: radial-gradient(
    280px 280px at var(--mx, 50%) var(--my, 50%),
    var(--glow-color, var(--magenta)),
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    400px 400px at var(--mx, 50%) var(--my, 50%),
    color-mix(in oklab, var(--glow-color, var(--magenta)) 18%, transparent),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.card[data-color="magenta"] {
  --glow-color: var(--magenta);
}

.card[data-color="yellow"] {
  --glow-color: var(--yellow);
}

.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card__num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--grey-dim);
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.card__title {
  font-size: clamp(24px, 2vw, 30px);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  line-height: 1;
  word-break: normal;
  hyphens: none;
}

.card__desc {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: auto;
  position: relative;
  z-index: 2;
}

.card__icon {
  margin-top: 32px;
  width: 44px;
  height: 44px;
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease-out);
  position: relative;
  z-index: 2;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card:hover .card__icon {
  color: var(--glow-color);
  opacity: 1;
  transform: rotate(-6deg) scale(1.1);
}

/* ========== SHOW ========== */
.show {
  background: var(--bg);
}

.show__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.show__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
}

.show__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.show__media:hover img {
  transform: scale(1.04);
}

.show__media-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--magenta);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.show__media-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.5s ease-in-out infinite;
}

.show__copy p {
  font-size: clamp(16px, 1.2vw, 18px);
  margin-bottom: 18px;
}

.show__formacion {
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-2);
  border-radius: 16px;
  border-left: 3px solid var(--magenta);
}

.show__formacion-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 600;
  margin-bottom: 8px;
}

.show__formacion p {
  font-size: 16px;
  color: var(--white);
  margin: 0;
  font-weight: 500;
}

/* ========== VIDEO ========== */
.video {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.video__wrap {
  perspective: 1200px;
}

.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
  border-radius: 20px;
  border: 4px solid var(--bg-3);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.8),
    0 50px 100px -40px rgba(255, 46, 147, 0.25);
  overflow: hidden;
  transform-origin: center top;
  transition: transform 0.1s linear;
}

.video__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}

/* ========== GALERÍA ========== */
.galeria {
  background: var(--bg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  grid-column: span 1;
  grid-row: span 2;
}

.gallery__item--tall {
  grid-row: span 4;
}

.gallery__item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.3s var(--ease);
  filter: saturate(0.85);
}

.gallery__item:hover img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

/* ========== TESTIMONIOS ========== */
.testimonios {
  background: var(--bg);
}

.testimonial {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.testimonial__quotemark {
  position: absolute;
  font-family: var(--font-serif);
  font-size: clamp(120px, 16vw, 220px);
  line-height: 0.6;
  color: var(--magenta);
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
}

.testimonial__quotemark--l {
  top: -20px;
  left: -20px;
}

.testimonial__quotemark--r {
  bottom: -50px;
  right: -20px;
  transform: rotate(180deg);
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.01em;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 40px;
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease), transform 0.4s var(--ease-out);
}

.testimonial__quote.is-changing {
  opacity: 0;
  filter: blur(6px);
  transform: scale(0.98);
}

.testimonial__role {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 32px;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease-out);
}

.testimonial__role.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.testimonial__pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
  position: relative;
}

.pill:hover:not(.is-active) {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.pill__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--white);
  flex-shrink: 0;
  background: var(--magenta);
  letter-spacing: 0.05em;
}

.pill:nth-child(2) .pill__avatar { background: var(--yellow); color: var(--bg); }
.pill:nth-child(3) .pill__avatar { background: var(--white); color: var(--bg); }
.pill:nth-child(4) .pill__avatar { background: var(--magenta-deep); color: var(--white); }

.pill__name {
  display: grid;
  grid-template-columns: 0fr;
  transition: grid-template-columns 0.5s var(--ease-out), padding 0.5s var(--ease-out);
  overflow: hidden;
}

.pill__name span {
  min-width: 0;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.pill.is-active {
  background: var(--white);
  border-color: var(--white);
  padding: 6px 16px 6px 6px;
}

.pill.is-active .pill__avatar {
  outline: 2px solid rgba(11, 11, 15, 0.15);
  outline-offset: 2px;
}

.pill.is-active .pill__name {
  grid-template-columns: 1fr;
  padding-left: 10px;
}

.pill.is-active .pill__name span {
  color: var(--bg);
}

.pill:not(.is-active):hover .pill__name {
  grid-template-columns: 1fr;
  padding-left: 10px;
}

/* ========== CLIENTES ========== */
.clientes {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.client-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.client-list li {
  padding: 24px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 15px;
  color: var(--grey);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), padding 0.3s var(--ease-out);
  position: relative;
}

.client-list li::before {
  content: '◆';
  color: var(--magenta);
  margin-right: 12px;
  font-size: 10px;
  vertical-align: middle;
  transition: color 0.3s var(--ease);
}

.client-list li:hover {
  color: var(--white);
  background: rgba(255, 46, 147, 0.04);
  padding-left: 24px;
}

.client-list li:hover::before {
  color: var(--yellow);
}

/* ========== INSTAGRAM ========== */
.instagram {
  background: var(--bg);
}

.instagram__widget {
  min-height: 360px;
  margin-bottom: 32px;
}

.instagram__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 80px 40px;
  border: 1px dashed var(--border-strong);
  border-radius: 20px;
  background: var(--bg-2);
  text-align: center;
  color: var(--grey);
}

.instagram__placeholder p {
  font-size: 15px;
  margin: 0;
}

.instagram__cta {
  text-align: center;
}

/* ========== FAQ ========== */
.faq {
  background: var(--bg);
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.faq__item:hover {
  border-color: rgba(255, 46, 147, 0.35);
}

.faq__item[open] {
  border-color: var(--magenta);
  background: var(--bg-3);
}

/* Quitar el triangulito default del summary en todos los browsers */
.faq__question {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 600;
  color: var(--white);
  user-select: none;
  transition: color 0.25s var(--ease);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  display: none;
  content: '';
}

.faq__item[open] .faq__question {
  color: var(--magenta);
}

.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.35s var(--ease-out);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform 0.35s var(--ease-out);
}

.faq__icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq__answer {
  padding: 0 24px 22px;
  color: var(--grey);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  animation: faqSlide 0.35s var(--ease-out);
}

.faq__answer p {
  margin: 0;
}

@keyframes faqSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .faq__question {
    padding: 18px 20px;
    font-size: 15px;
  }
  .faq__answer {
    padding: 0 20px 18px;
    font-size: 14px;
  }
}

/* ========== CONTACTO ========== */
.contacto {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.contacto::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 147, 0.18), transparent 60%);
  pointer-events: none;
}

.contacto__inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contacto__inner .section-eyebrow {
  justify-content: center;
}

.contacto__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contacto__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--grey);
  margin-bottom: 56px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.contacto__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto 40px;
}

.contacto__btn {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: left;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.contacto__btn:hover {
  transform: translateX(4px);
  border-color: var(--white);
  background: var(--bg-3);
}

.contacto__btn--whatsapp {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--white);
  box-shadow: 0 12px 40px -12px rgba(255, 46, 147, 0.6);
}

.contacto__btn--whatsapp:hover {
  background: var(--magenta-bright);
  border-color: var(--magenta-bright);
  transform: translateX(4px) translateY(-2px);
  box-shadow: 0 18px 48px -12px rgba(255, 46, 147, 0.8);
}

.contacto__btn svg {
  flex-shrink: 0;
}

.contacto__btn span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contacto__btn-lbl {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

.contacto__btn-val {
  font-size: 16px;
  font-weight: 600;
}

.contacto__attendant {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.05em;
}

.contacto__attendant strong {
  color: var(--white);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-2);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer__brand img {
  height: 48px;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--grey);
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--grey);
  transition: all 0.3s var(--ease);
}

.footer__social a:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__keywords {
  font-size: 11px;
  color: var(--grey-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.8;
  grid-column: 1 / -1;
  margin-top: 16px;
}

.footer__copy {
  font-size: 12px;
  color: var(--grey-dim);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ========== FLOATING WHATSAPP ========== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.6);
  z-index: 40;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
  animation: floatIn 0.6s 1.6s var(--ease-out) backwards;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.85);
}

.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.55; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}

@keyframes floatIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* ========== REVEAL ON SCROLL ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .show__grid {
    grid-template-columns: 1fr;
  }

  .show__media {
    aspect-ratio: 4 / 3;
    max-height: 480px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery__item--tall {
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 1;
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__menu-btn {
    display: flex;
  }

  .nav.menu-open .nav__menu-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.menu-open .nav__menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .nav.menu-open .nav__menu-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav.menu-open .nav__links {
    display: flex;
    position: fixed;
    inset: 70px 0 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: rgba(11, 11, 15, 0.98);
    backdrop-filter: blur(30px);
  }

  .nav.menu-open .nav__links a {
    font-size: 28px;
    color: var(--white);
    font-family: var(--font-display);
    text-transform: uppercase;
  }

  .nav.menu-open .nav__cta {
    display: inline-flex;
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
  }

  .hero {
    padding: 110px 0 80px;
    align-items: flex-start;
  }

  .hero__scroll {
    display: none;
  }

  .hero__title {
    font-size: clamp(40px, 13vw, 80px);
    margin-bottom: 24px;
  }

  .hero__eyebrow {
    margin-bottom: 24px;
  }

  .hero__sub {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero__cta {
    margin-bottom: 40px;
  }

  .hero__stats {
    gap: 24px;
    padding-top: 24px;
  }

  .stat__num {
    font-size: 32px;
  }

  .stat__lbl {
    font-size: 11px;
  }

  .hero__cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .testimonial {
    padding: 0 20px;
  }

  .testimonial__quotemark--l { left: -10px; top: -10px; }
  .testimonial__quotemark--r { right: -10px; bottom: -30px; }

  /* Cards de "¿Qué estás festejando?" más compactas en mobile */
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .card {
    padding: 18px 14px 16px;
    min-height: auto;
    border-radius: 14px;
  }

  .card__num {
    font-size: 11px;
    margin-bottom: 14px;
    letter-spacing: 0.18em;
  }

  .card__title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .card__desc {
    font-size: 12.5px;
    line-height: 1.4;
  }

  .card__icon {
    margin-top: 14px;
    width: 28px;
    height: 28px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wa-float {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 540px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery__item,
  .gallery__item--tall,
  .gallery__item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .marquee__track {
    gap: 24px;
  }

  .contacto__buttons {
    max-width: 100%;
  }

  /* Cards aún más compactas en pantallas muy chicas */
  .cards {
    gap: 10px;
  }

  .card {
    padding: 14px 12px;
  }

  .card__title {
    font-size: 16px;
  }

  .card__desc {
    font-size: 12px;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee__track {
    animation: none;
  }
}
