/* ===========================================================
   Vali Ayala — Presskit
   Base neutra (negro/carbón + crema) con acentos coral.
   =========================================================== */

:root {
  --bg: #0e0d0c;
  --bg-alt: #161412;
  --bg-card: #1c1a17;
  --cream: #f6f1ea;
  --cream-dim: #cfc7bc;
  --coral: #f08080;
  --coral-soft: #f4978e;
  --coral-pale: #fbc4ab;
  --peach: #ffdab9;
  --gold: #c9a876;
  --line: rgba(246, 241, 234, 0.12);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "SF Mono", monospace;

  --maxw: 1180px;
  --radius: 2px;
}

.mono { font-family: var(--font-mono); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- texture / grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ---------- custom cursor (desktop / fine pointer only) ---------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 22px;
  border: 1px solid var(--coral);
  border-radius: 50%;
  pointer-events: none;
  z-index: 95;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  will-change: transform;
}
.cursor-dot.active { opacity: 1; }
.cursor-dot.hover {
  width: 44px; height: 44px;
  background: rgba(240, 128, 128, 0.14);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ---------- scroll progress ---------- */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--coral);
  z-index: 96;
  transition: width 0.1s linear;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-soft);
  font-weight: 600;
}

.section-head {
  margin-bottom: 44px;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--cream);
  margin-top: 10px;
}

section { position: relative; padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }

/* ---------- reveal (defensive: visible by default) ---------- */
.reveal { opacity: 1; transform: none; }
.reveal.js-armed {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.js-armed.in-view {
  opacity: 1;
  transform: none;
}
.reveal[data-split] { opacity: 1; transform: none; }

/* =================== LANG SWITCH =================== */
[data-lang] { display: none !important; }
html[lang="es"] [data-lang="es"] { display: revert !important; }
html[lang="en"] [data-lang="en"] { display: revert !important; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.lang-toggle button {
  background: none;
  border: none;
  color: var(--cream-dim);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}
.lang-toggle button.active {
  background: var(--coral);
  color: #1a1310;
}

/* =================== HEADER =================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(14,13,12,0.92), rgba(14,13,12,0));
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--cream);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.brand-mark { color: var(--coral); font-size: 14px; }

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-loc {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cream-dim);
  opacity: 0.65;
}
@media (max-width: 640px) { .header-loc { display: none; } }

/* =================== HERO =================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 108px;
  border-top: none;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(240,128,128,0.16), transparent 55%),
    linear-gradient(180deg, #131110 0%, #0e0d0c 55%, #0e0d0c 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  width: 100%;
}

.hero-photo-wrap {
  order: 2;
  position: relative;
  justify-self: end;
  width: fit-content;
  max-width: 100%;
}
.hero-photo-wrap::before {
  content: "";
  position: absolute;
  top: 18px; left: 18px;
  right: -18px; bottom: -18px;
  border: 1px solid var(--coral-soft);
  border-radius: var(--radius);
  opacity: 0.55;
  z-index: -1;
}
.hero-photo {
  aspect-ratio: 851 / 1584;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #2a241f, #171512);
  border: 1px solid var(--line);
  position: relative;
  max-height: 78vh;
}
.hero-photo img {
  object-position: top center;
}
.hero-photo .ph-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--cream-dim);
  padding: 24px;
  letter-spacing: 0.04em;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-stamp {
  position: absolute;
  top: -14px; right: 18px;
  z-index: 3;
  transform: rotate(6deg);
  border: 1px solid var(--coral);
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg);
}

.hero-copy { order: 1; }

.hero-copy .eyebrow { display: block; margin-bottom: 18px; }

.hero-copy h1 {
  font-size: clamp(44px, 8vw, 84px);
  color: var(--cream);
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--coral);
}

.hero-tagline {
  margin-top: 22px;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--cream-dim);
  max-width: 460px;
  letter-spacing: 0.01em;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(14,13,12,0.6);
  padding: 12px 0;
}
.hero-marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--coral-soft);
  opacity: 0.75;
  animation: marquee-left 26s linear infinite;
}
@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.magnetic, .wa-float.magnetic {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--coral);
  color: #1a1310;
}
.btn-primary:hover { background: var(--coral-soft); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--coral-soft); color: var(--coral-soft); }

/* =================== BIO =================== */
.bio-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.bio-portrait-wrap { position: relative; }
.bio-portrait-wrap::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: -1;
}
.bio-portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #22201c, #141210);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.bio-portrait .ph-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 13px; color: var(--cream-dim); padding: 20px;
}
.bio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.bio-text p {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--cream);
  line-height: 1.62;
  font-family: var(--font-display);
  font-weight: 400;
}
.bio-text p + p { margin-top: 20px; }

/* =================== SERVICES =================== */
.services-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: start;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: padding-left 0.35s ease;
}
.service-row:hover { padding-left: 14px; }
.service-num {
  font-size: 13px;
  color: var(--coral-soft);
  letter-spacing: 0.08em;
  padding-top: 6px;
}
.service-body h3 {
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--cream);
  transition: color 0.3s ease;
}
.service-row:hover .service-body h3 { color: var(--coral-soft); }
.service-body p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.55;
  max-width: 560px;
}
.service-arrow {
  font-size: 22px;
  color: var(--cream-dim);
  text-align: right;
  transform: rotate(0deg);
  transition: transform 0.35s ease, color 0.35s ease;
}
.service-row:hover .service-arrow {
  color: var(--coral);
  transform: rotate(45deg);
}
@media (max-width: 640px) {
  .service-row { grid-template-columns: 40px 1fr 28px; gap: 14px; }
}

/* =================== REEL =================== */
.reel-carousel-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding: 4px 24px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.reel-carousel {
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0 auto;
  scroll-snap-type: x proximity;
}
.reel-card {
  position: relative;
  width: clamp(160px, 18vw, 220px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  cursor: pointer;
  outline: none;
  scroll-snap-align: start;
  flex: none;
}
.reel-poster,
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-poster {
  transition: opacity 0.5s ease, transform 6s ease;
  filter: saturate(0.92);
}
.reel-video {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.reel-card.is-playing .reel-video { opacity: 1; }
.reel-card.is-playing .reel-poster { opacity: 0; }
.reel-card:hover .reel-poster { transform: scale(1.04); }

.reel-play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--coral-soft);
  background: rgba(14, 13, 12, 0.55);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 2;
}
.reel-play-icon svg { margin-left: 2px; }
.reel-card:hover .reel-play-icon,
.reel-card.is-playing .reel-play-icon {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

.reel-caption {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 2;
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  transition: opacity 0.35s ease;
}
.reel-card.is-playing .reel-caption { opacity: 0; }

/* =================== BRANDS =================== */
.brands-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: marquee-left 34s linear infinite;
}
.brands-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--cream-dim);
  padding: 0 36px;
  opacity: 0.8;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.brands-track span:hover { color: var(--coral-soft); opacity: 1; }
.brands-marquee:hover .brands-track { animation-play-state: paused; }

.brand-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--cream-dim);
  opacity: 0.7;
}

/* =================== METRICS =================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.metric-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-soft);
  font-weight: 600;
}
.metric-numbers {
  margin-top: 22px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.metric-numbers .n {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--cream);
}
.metric-numbers .l {
  font-size: 12px;
  color: var(--cream-dim);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* =================== AVAILABILITY =================== */
.avail-box {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: linear-gradient(120deg, rgba(240,128,128,0.06), transparent 60%);
}
.avail-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(240,128,128,0.18);
  flex-shrink: 0;
}
.avail-box p { font-size: 16px; color: var(--cream); }
.avail-box p + p { color: var(--cream-dim); font-size: 14px; margin-top: 4px; }

/* =================== CONTACT =================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.25s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--coral-soft);
}
.form-field textarea { min-height: 110px; resize: vertical; }

.contact-side h3 {
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 16px;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line .lbl { color: var(--cream-dim); font-size: 13px; min-width: 90px; }

.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--cream-dim);
  opacity: 0.75;
}

/* =================== WHATSAPP FLOAT =================== */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: #1a1310;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}
.wa-float:hover { background: var(--coral-soft); transform: translateY(-2px); }
.wa-float svg { width: 18px; height: 18px; }

/* =================== FOOTER =================== */
.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--cream-dim);
}
.footer-links a:hover { color: var(--coral-soft); }
.footer-copy {
  font-size: 12px;
  color: var(--cream-dim);
  opacity: 0.7;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: 1; width: fit-content; max-width: 100%; margin: 0 auto; }
  .hero-photo { aspect-ratio: 851 / 1584; max-height: 56vh; }
  .hero-copy { order: 2; }
  .hero { align-items: flex-start; padding-top: 120px; }
  .bio-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .brand-tile { flex: 1 1 50%; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
