/* =========================================================
   Franco Pérez · Fotografía y video
   Estilo: oscuro con degradé naranja-rojo, tarjetas redondeadas
   ========================================================= */

:root {
  --bg:      #0b0b0b;
  --bg-2:    #141414;
  --card:    #161616;
  --line:    rgba(255, 255, 255, .09);
  --text:    #f4efe9;
  --mute:    #a39b93;
  --orange:  #ff6a1a;
  --red:     #e3261b;
  --amber:   #ffb547;
  --grad:    linear-gradient(100deg, var(--amber) 0%, var(--orange) 45%, var(--red) 100%);

  --f-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: #0b0b0b; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.h1, .h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: .98; margin: 0; }
.h1 { font-size: clamp(44px, 7.5vw, 112px); }
.h2 { font-size: clamp(36px, 5vw, 72px); }
.center { text-align: center; }
.eyebrow { font-weight: 600; font-size: 14px; color: var(--orange); margin: 0 0 14px; letter-spacing: .02em; }

/* ---------- Botones tipo píldora (se iluminan al pasar el cursor) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 22px; min-height: 48px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.pill:not(:has(.pill__dot)) { padding-right: 22px; }
.pill__dot {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-size: 16px; transition: transform .35s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill:hover .pill__dot { transform: rotate(-45deg); }

.pill--light { background: var(--text); color: #0b0b0b; }
.pill--light .pill__dot { background: var(--orange); color: #fff; }
.pill--light:hover { box-shadow: 0 0 0 4px rgba(255, 106, 26, .25), 0 10px 40px rgba(255, 106, 26, .55); }

.pill--accent { background: var(--grad); color: #fff; }
.pill--accent .pill__dot { background: rgba(0, 0, 0, .25); }
.pill--accent:hover { box-shadow: 0 0 0 4px rgba(255, 106, 26, .22), 0 12px 50px rgba(255, 90, 26, .75); filter: brightness(1.08); }

.pill--ghost { border-color: rgba(255, 255, 255, .3); color: var(--text); background: rgba(255, 255, 255, .04); }
.pill--ghost:hover { border-color: var(--orange); color: #fff; background: rgba(255, 106, 26, .12); box-shadow: 0 0 34px rgba(255, 106, 26, .45); }
.pill--big { min-height: 58px; font-size: 17px; padding-left: 28px; }

/* ---------- Brillo que sigue al cursor sobre tarjetas ---------- */
[data-glow] { position: relative; isolation: isolate; }
[data-glow]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 120, 40, .16), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
[data-glow]:hover::after { opacity: 1; }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 60;
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(11, 11, 11, .55); border: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .4s, border-color .4s;
}
.nav.is-solid { background: rgba(14, 14, 14, .92); border-color: var(--line); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: rgba(14, 14, 14, .95); } }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.nav__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad); color: #0b0b0b; font-weight: 800; font-size: 17px; }
.nav__links { display: flex; gap: 30px; font-size: 15px; color: rgba(244, 239, 233, .8); }
.nav__links a { position: relative; transition: color .3s, text-shadow .3s; }
.nav__links a:hover { color: #fff; text-shadow: 0 0 18px rgba(255, 140, 60, .9); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- Evento activo (botón grande arriba de la portada) ---------- */
.event[hidden] { display: none; }
.event { padding-top: 84px; margin-bottom: -70px; position: relative; z-index: 2; }
.event__card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px;
  padding: 18px 18px 18px 18px; border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(255, 106, 26, .18), rgba(227, 38, 27, .12)), var(--card);
  border: 1px solid rgba(255, 106, 26, .55);
  box-shadow: 0 0 0 1px rgba(255, 106, 26, .15), 0 14px 50px rgba(255, 90, 26, .28);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  animation: eventPulse 2.6s ease-in-out infinite;
}
.event__card:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 26, .25), 0 18px 70px rgba(255, 90, 26, .6); }
@keyframes eventPulse { 50% { box-shadow: 0 0 0 1px rgba(255, 106, 26, .3), 0 14px 70px rgba(255, 90, 26, .5); } }
.event__logo { width: 84px; height: 84px; border-radius: 20px; background: #fff; color: var(--red); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.event__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.event__logo img[hidden], .event__logo svg[hidden] { display: none; }
.event__text { display: grid; gap: 4px; min-width: 0; }
.event__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #ffb08a; letter-spacing: .02em; }
.event__live { width: 9px; height: 9px; border-radius: 50%; background: #ff3b2f; box-shadow: 0 0 0 0 rgba(255, 59, 47, .7); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 47, 0); } }
.event__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 46px); line-height: 1; letter-spacing: -.03em; }
.event__sub { color: #ddd5cc; font-size: 15px; }
.event__cta { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 24px; min-height: 56px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; }
.event__cta .pill__dot { background: rgba(0, 0, 0, .25); }
.event + .hero { padding-top: 84px; }

/* ---------- Portada ---------- */
.hero { padding: 84px var(--gutter) 0; }
.hero__card {
  max-width: var(--max); margin-inline: auto;
  border-radius: 0 0 var(--radius) var(--radius);
  border-radius: var(--radius);
  overflow: hidden; min-height: min(86vh, 860px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: #1a0d07;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: -2; transform: scale(1.08); will-change: transform; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10, 6, 4, .6) 0%, rgba(10, 6, 4, .2) 45%, rgba(10, 6, 4, 0) 70%),
  linear-gradient(0deg, rgba(10, 6, 4, .8) 0%, rgba(10, 6, 4, 0) 32%); }
.hero__content { position: relative; padding: clamp(36px, 7vw, 96px) clamp(22px, 5vw, 64px) 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px 40px; align-items: end; }
.hero__hey { grid-column: 1 / -1; margin: 0; font-size: 18px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.hero__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(58px, 12vw, 184px); line-height: .88; letter-spacing: -.05em; margin: 0; }
.hero__where { display: block; margin-top: .18em; font-size: .3em; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: rgba(255, 255, 255, .92); }
.hero__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 14px 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.8vw, 40px); letter-spacing: -.02em; line-height: 1.15; }
.hero__sub .grad { background: linear-gradient(100deg, #ffd08a, var(--amber) 35%, var(--orange) 80%); -webkit-background-clip: text; background-clip: text; }
.hero__sub i { font-style: normal; color: rgba(255, 255, 255, .55); }
.hero__title .grad { background: linear-gradient(100deg, #ffd08a, var(--amber) 30%, var(--orange) 70%); -webkit-background-clip: text; background-clip: text; }
.hero__side { margin: 0 0 12px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.35; max-width: 22ch; }
.hero__side small { display: block; margin-top: 12px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .65); }
.hero__badge { grid-column: 1 / -1; justify-self: start; margin: 4px 0 0; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(11, 11, 11, .55); border: 1px solid rgba(255, 140, 60, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 15px; font-weight: 500; color: #fff; }
.hero__badge b { white-space: nowrap; padding: 5px 12px; border-radius: 999px; background: var(--grad); font-family: var(--f-display); font-weight: 800; font-size: 16px; }
.hero__ctas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__list { list-style: none; margin: 0; padding: clamp(28px, 4vw, 48px) clamp(22px, 5vw, 64px) clamp(26px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.hero__list span { display: block; color: var(--amber); font-weight: 600; font-size: 12px; margin-bottom: 4px; }

/* ---------- Cinta en movimiento ---------- */
.marquee { overflow: hidden; padding: clamp(26px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; gap: 28px; width: max-content; align-items: center; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -.02em; color: rgba(244, 239, 233, .55); white-space: nowrap; transition: color .3s; }
.marquee__track span:hover { color: var(--orange); }
.marquee__track i { font-style: normal; color: var(--orange); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 64px; align-items: end; padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(60px, 8vw, 110px); }
.intro__side p + p { color: #fff; font-weight: 600; }
.intro__side p { margin: 0 0 24px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #e6ded6; }

/* ---------- Destacadas (fotos favoritas, más grandes) ---------- */
.feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 19vw, 280px); grid-auto-flow: dense; gap: 14px; margin: 36px 0 clamp(70px, 9vw, 120px); }
.feat__item { margin: 0; min-width: 0; }
.feat__item .shot__btn { height: 100%; border-radius: 24px; }
.feat__item .shot__btn img { width: 100%; height: 100%; object-fit: cover; }
.feat__item .shot__info { padding: 60px 20px 18px; }
.feat__item .shot__title { font-size: 17px; }
.f-big { grid-column: span 2; grid-row: span 2; }
.f-tall { grid-row: span 2; }
.f-wide { grid-column: span 2; }
.work__more { margin-top: 0; }

/* ---------- Filas de trabajos realizados (en movimiento) ---------- */
.jobs { width: 100vw; margin: 34px 0 clamp(44px, 6vw, 72px) calc(50% - 50vw); display: grid; gap: 18px; }
.jobs__row { display: grid; gap: 8px; }
.jobs__label { margin: 0; padding-inline: var(--gutter); text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.jobs__viewport { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.jobs__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.jobs__row--rev .jobs__track { animation-direction: reverse; animation-duration: 56s; }
.jobs__set { display: flex; align-items: center; gap: 24px; padding-right: 24px; }
.jobs__set span { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.3vw, 30px); letter-spacing: -.02em; white-space: nowrap; color: rgba(244, 239, 233, .7); transition: color .3s, text-shadow .3s; }
.jobs__set span:hover { color: #fff; text-shadow: 0 0 18px rgba(255, 140, 60, .9); }
.jobs__set i { font-style: normal; color: var(--orange); font-size: 14px; }
.jobs__row:hover .jobs__track { animation-play-state: paused; }

/* ---------- Portfolio ---------- */
.work { padding-bottom: clamp(80px, 11vw, 150px); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 clamp(32px, 4vw, 52px); }
.chip {
  border: 1px solid var(--line); background: var(--bg-2); color: #ddd5cc;
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .3s, color .3s, box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.chip:hover { border-color: rgba(255, 106, 26, .7); color: #fff; box-shadow: 0 0 24px rgba(255, 106, 26, .4); transform: translateY(-1px); }
.chip.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 26px rgba(255, 90, 26, .45); }

.grid { columns: 3 300px; column-gap: 18px; }
.shot { break-inside: avoid; margin: 0 0 18px; }
.shot.is-hidden, .grid:not(.is-expanded) .shot.is-extra { display: none; }
.shot__btn {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; background: var(--card); cursor: zoom-in; text-align: left;
  transition: box-shadow .45s var(--ease), border-color .45s, transform .45s var(--ease);
}
.shot__btn img { width: 100%; transition: transform 1s var(--ease), filter .5s; }
.shot__info {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: linear-gradient(0deg, rgba(8, 8, 8, .88), rgba(8, 8, 8, 0));
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease);
}
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255, 106, 26, .2); color: #ffb08a; font-size: 12px; font-weight: 600; }
.shot__title { font-weight: 600; font-size: 15px; color: #fff; }
.shot__btn:hover { border-color: rgba(255, 106, 26, .7); box-shadow: 0 0 0 1px rgba(255, 106, 26, .35), 0 18px 50px rgba(255, 90, 26, .35); transform: translateY(-3px); }
.shot__btn:hover img { transform: scale(1.05); }
.shot__btn:hover .shot__info, .shot__btn:focus-visible .shot__info { opacity: 1; transform: none; }
.grid-more { text-align: center; margin-top: 18px; }
.grid-more[hidden] { display: none; }

/* ---------- Servicios ---------- */
.services { padding-bottom: clamp(80px, 11vw, 150px); }
.services__head { margin-bottom: clamp(32px, 4vw, 56px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  padding: 30px 28px 32px; overflow: hidden;
  transition: border-color .4s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.card:hover { border-color: rgba(255, 106, 26, .6); box-shadow: 0 0 50px rgba(255, 90, 26, .25); transform: translateY(-4px); }
.card h3 { font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; margin: 18px 0 10px; }
.card p { margin: 0; color: var(--mute); font-size: 16px; }
.card__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 106, 26, .5); color: var(--orange); font-weight: 600; font-size: 14px; transition: background .4s, color .4s; }
.card:hover .card__num { background: var(--grad); color: #fff; border-color: transparent; }
.card--photo { grid-row: span 3; padding: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; }
.card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease); }
.card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 6, 4, .95) 10%, rgba(10, 6, 4, 0) 60%); }
.card--photo:hover img { transform: scale(1.05); }
.card--photo .card__body { padding: 28px; }
.card--photo p { color: #e6ded6; }

/* ---------- Sobre mí ---------- */
.about { padding-bottom: clamp(80px, 11vw, 150px); }
.about__card {
  border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(227, 38, 27, .55), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(255, 140, 40, .35), transparent 60%),
    var(--card);
  border: 1px solid var(--line);
  padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px);
  display: block;
}
.about__text { max-width: 760px; }
.about__text p:not(.eyebrow) { color: #e6ded6; font-size: 18px; max-width: 46ch; }
.about__text .h2 { margin-bottom: 22px; }
.about__stat { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.about__stat b { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 6vw, 84px); line-height: .9; letter-spacing: -.04em; }
.about__stat span { font-size: 15px; font-weight: 500; line-height: 1.35; color: #e6ded6; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px;
  padding: 16px 20px; border-radius: 18px; background: rgba(11, 11, 11, .55); border: 1px solid var(--line);
  color: var(--mute); font-size: 15px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.steps li:hover { border-color: rgba(255, 106, 26, .6); box-shadow: 0 0 30px rgba(255, 90, 26, .3); transform: translateX(4px); }
.steps span { grid-row: span 2; font-family: var(--f-display); font-weight: 800; font-size: 26px; color: var(--orange); line-height: 1.1; }
.steps b { color: var(--text); font-size: 17px; font-weight: 600; }

/* ---------- Preguntas frecuentes ---------- */
.faq { padding-bottom: clamp(80px, 11vw, 140px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 6vw, 80px); align-items: start; }
.faq__tag { margin: 12px 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .04em; color: var(--mute); }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq__item:hover, .faq__item[open] { border-color: rgba(255, 106, 26, .6); box-shadow: 0 0 34px rgba(255, 90, 26, .22); }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 106, 26, .15); color: var(--orange); font-size: 20px; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--grad); color: #fff; }
.faq__item p { margin: 0; padding: 0 22px 22px; color: var(--mute); }

/* ---------- Contacto + formulario ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 6vw, 80px); align-items: start; padding-bottom: clamp(80px, 11vw, 140px); }
.contact__intro > p:not(.eyebrow) { color: #e6ded6; font-size: 18px; margin: 22px 0 30px; max-width: 40ch; }
.contact__links { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.contact__links a {
  display: flex; flex-direction: column; padding: 14px 20px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); font-weight: 500; overflow-wrap: anywhere;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.contact__links span { font-size: 12px; color: var(--orange); font-weight: 600; }
.contact__links a:hover { border-color: rgba(255, 106, 26, .7); box-shadow: 0 0 30px rgba(255, 90, 26, .35); transform: translateY(-3px); }

.form {
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px;
}
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 600; color: #e6ded6; padding: 0; margin-bottom: 8px; }
.field legend { margin-bottom: 10px; }
.field em { font-style: normal; color: var(--mute); font-weight: 400; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: #0e0e0e; border: 1px solid rgba(255, 255, 255, .12); color: var(--text); font-size: 16px;
  transition: border-color .3s, box-shadow .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #141414; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6f6861; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 106, 26, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 26, .18), 0 0 30px rgba(255, 106, 26, .25); }
.field input.is-invalid { border-color: var(--red); }

.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: #0e0e0e; border: 1px solid rgba(255, 255, 255, .14); color: #ddd5cc;
  transition: background .3s, border-color .3s, box-shadow .3s, color .3s;
}
.checks label:hover span { border-color: rgba(255, 106, 26, .7); box-shadow: 0 0 22px rgba(255, 106, 26, .35); color: #fff; }
.checks input:checked + span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 24px rgba(255, 90, 26, .45); }
.checks input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.form__error { margin: -6px 0 0; color: #ff8a7a; font-size: 14px; }
.form .pill { justify-self: start; }

/* ---------- Pie ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, #1a0b05 55%, #6b1e0b 100%); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 40px; font-size: 14px; color: var(--mute); }
.footer__top nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nap { font-style: normal; line-height: 1.5; }
.footer__nap a { color: #ddd5cc; transition: color .3s; }
.footer__nap a:hover { color: var(--orange); }
.footer__copy { margin: 18px auto 0; font-size: 13px; color: var(--mute); }
.footer__top nav a { transition: color .3s, text-shadow .3s; }
.footer__top nav a:hover { color: #fff; text-shadow: 0 0 16px rgba(255, 140, 60, .9); }
.footer__giant {
  margin: 30px 0 -0.18em; text-align: center; white-space: nowrap;
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.05em; line-height: 1;
  font-size: clamp(56px, 15.5vw, 230px);
  background: linear-gradient(180deg, rgba(255, 196, 120, .95) 0%, rgba(255, 106, 26, .9) 55%, rgba(227, 38, 27, .35) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #0b0b0b; box-shadow: 0 8px 26px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(37, 211, 102, .2), 0 0 36px rgba(37, 211, 102, .6); }

/* ---------- Visor ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 6, 6, .97); color: var(--text); }
.lightbox[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.lightbox::backdrop { background: rgba(6, 6, 6, .97); }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding: 56px 0 24px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; object-fit: contain; border-radius: 14px; }
.lightbox__figure figcaption { color: var(--mute); margin-top: 12px; font-size: 14px; }
.lightbox__close, .lightbox__nav { background: none; border: 0; color: var(--text); cursor: pointer; line-height: 1; transition: color .3s, text-shadow .3s; }
.lightbox__close { position: absolute; top: 14px; right: 20px; font-size: 42px; z-index: 2; }
.lightbox__nav { font-size: 60px; height: 100%; }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--orange); text-shadow: 0 0 20px rgba(255, 106, 26, .8); }

/* ---------- Aparición al hacer scroll ---------- */
/* Solo se oculta si main.js cargó (agrega .js al <html>) */
.js [data-reveal] { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; filter: none; }
.js .shot { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .shot.is-revealed { opacity: 1; transform: none; }
/* Defensa: nada con data-split debe quedar invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .hero__content { grid-template-columns: minmax(0, 1fr); }
  .hero__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro, .about__card, .contact, .faq { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--photo { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { top: 10px; padding-left: 14px; }
  .nav__brand { font-size: 17px; }
  .nav .pill { min-height: 42px; font-size: 14px; padding-left: 16px; }
  .nav .pill__dot { width: 28px; height: 28px; }
  .hero { padding-top: 74px; padding-inline: 10px; }
  .event { padding-top: 74px; padding-inline: 10px; margin-bottom: -64px; }
  .event__card { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 22px; }
  .event__logo { width: 64px; height: 64px; border-radius: 16px; }
  .event__title { font-size: 26px; }
  .event__sub { font-size: 13px; }
  .event__cta { grid-column: 1 / -1; justify-content: space-between; }
  .hero__card { min-height: 88svh; border-radius: 24px; }
  .hero__img { object-position: 52% center; }
  .hero__shade { background: linear-gradient(0deg, rgba(10, 6, 4, .92) 0%, rgba(10, 6, 4, .55) 45%, rgba(10, 6, 4, .25) 100%); }
  .hero__content { padding-top: 40px; }
  .hero__sub { font-size: 18px; gap: 4px 9px; }
  .hero__badge { font-size: 13px; }
  .hero__badge b { font-size: 14px; }
  .hero__list { gap: 14px 10px; font-size: 13px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .grid { columns: 2; column-gap: 10px; }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 10px; }
  .feat__item .shot__btn { border-radius: 16px; }
  .shot { margin-bottom: 10px; }
  .shot__btn { border-radius: 16px; }
  .shot__info { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .contact__links { grid-template-columns: minmax(0, 1fr); }
  .form .pill { justify-self: stretch; justify-content: space-between; }
  .footer__top { padding-bottom: 10px; }
  .lightbox[open] { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .lightbox__nav { font-size: 44px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
