/* =========================================================
   Lucía Di Stante — Portfolio
   Minimal editorial w/ vibrant accent pops
   ========================================================= */

:root {
  --bg: #FAF7F2;
  --fg: #0F0F12;
  --muted: #6B6A66;
  --line: #E8E2D8;
  --c1: #F97316; /* orange */
  --c2: #EC4899; /* pink */
  --c3: #8B5CF6; /* purple */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --body: "Geist", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout container ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  max-width: 1440px; margin: 0 auto;
}
.nav-logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
}
.nav-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--c1);
}
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  position: relative;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--muted);
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c1);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--fg); color: var(--bg);
  padding: 14px 26px; border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 0;
  transition: transform .15s, background .15s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--c1); }
@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: auto 400px;
  gap: 40px;
  align-items: end;
  justify-content: start;
  padding-bottom: 64px;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; justify-content: stretch; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted); letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--fg);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c1);
}
.hero-tag {
  margin-top: 32px;
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--c1);
  color: #fff;
  border: 0;
  padding: 18px 30px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--c1) 60%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -8px color-mix(in srgb, var(--c1) 70%, transparent);
}
.btn-primary .btn-arrow {
  display: inline-flex;
  transition: transform .2s ease;
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--fg);
  padding: 18px 28px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-secondary:hover {
  background: var(--fg);
  color: var(--bg);
}
.btn-secondary .btn-arrow { display: inline-flex; transition: transform .2s ease; }
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }
@media (max-width: 540px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
}
.hero-meta .chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta .chip.solid {
  background: var(--c2); color: #fff; border-color: var(--c2);
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1FB868;
  position: relative;
  flex-shrink: 0;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1FB868;
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

/* Hero side: portrait editorial */
.hero-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: #f0e8da;
  box-shadow: 0 28px 60px -24px rgba(0,0,0,0.3);
  max-height: 560px;
  align-self: end;
  justify-self: end;
  width: 100%;
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero-portrait-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--fg);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

@media (max-width: 1024px) {
  .hero-portrait { max-width: 420px; margin: 0 auto; max-height: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--fg);
  color: var(--bg);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
}
.marquee-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: scroll 32s linear infinite;
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.marquee-track .dot {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--c1);
  flex-shrink: 0;
}
.marquee-track .dot.p { background: var(--c2); }
.marquee-track .dot.v { background: var(--c3); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section frame ---------- */
section.s {
  padding: 120px 0;
  position: relative;
}
@media (max-width: 768px) { section.s { padding: 80px 0; } }

.s-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: baseline;
}
@media (max-width: 768px) { .s-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; } }
.s-num {
  font-family: var(--display);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.s-num::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c1);
}
.s-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.s-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c2);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-portrait {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #f0e8da;
  max-height: 640px;
  align-self: start;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.25);
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.about-portrait .badge {
  position: absolute; left: 16px; top: 16px;
  background: #fff; color: var(--fg);
  font-size: 12px; padding: 6px 10px; border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.about-portrait .badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c1);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.about-body p {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: pretty;
}
.about-body p + p { margin-top: 24px; }
.about-body p em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.about-body p .hl {
  background: linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--c1) 38%, transparent) 58%);
  padding: 0 3px;
}
.about-body p .hl:nth-of-type(1) {
  background: linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--c1) 38%, transparent) 58%);
}

.about-niches {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.about-niches .n {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  background: #fff;
  display: flex; align-items: center; gap: 8px;
}
.about-niches .n i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c1);
}
.about-niches .n:nth-child(2) i { background: var(--c2); }
.about-niches .n:nth-child(3) i { background: var(--c3); }
.about-niches .n:nth-child(4) i { background: var(--fg); }
.about-niches .n:nth-child(5) i { background: var(--c1); }
.about-niches .n:nth-child(6) i { background: var(--c2); }

/* ---------- Servicios ---------- */
.s-services { background: var(--fg); color: var(--bg); }
.s-services .s-num { color: rgba(255,255,255,0.5); }
.s-services .s-num::before { background: var(--c2); }
.s-services .s-title em { color: var(--c1); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  grid-column: span 2;
  background: #1a1a1d;
  border: 1px solid #2a2a2e;
  border-radius: 18px;
  padding: 28px 24px 24px;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.svc-card:hover { transform: translateY(-4px); border-color: #3a3a40; }
/* Hover: cada tarjeta se tiñe con un color de la paleta, rotando */
.svc-card:nth-child(3n+1):hover { background: color-mix(in srgb, var(--c1) 88%, #000); border-color: var(--c1); }
.svc-card:nth-child(3n+2):hover { background: color-mix(in srgb, var(--c2) 88%, #000); border-color: var(--c2); }
.svc-card:nth-child(3n+3):hover { background: color-mix(in srgb, var(--c3) 88%, #000); border-color: var(--c3); }
.svc-card:hover .svc-num { color: #fff; }
.svc-card:hover p { color: rgba(255,255,255,0.9); }
.svc-card:hover .svc-arrow { background: rgba(255,255,255,0.25); }
.svc-card .svc-num {
  font-family: var(--display);
  font-size: 13px; opacity: 0.5;
  letter-spacing: .04em;
  color: var(--c1);
  opacity: 1;
}
.svc-card h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 16px 0 8px;
}
.svc-card h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.svc-card p {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.svc-card .svc-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 16px;
  transition: transform .2s;
}
.svc-card:hover .svc-arrow { transform: translateX(4px) rotate(-45deg); background: rgba(255,255,255,0.25); }

/* Services section header with avatar */
.s-head-services {
  grid-template-columns: 180px 1fr 230px;
  align-items: center;
}
.s-head-avatar {
  width: 230px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  justify-self: end;
  align-self: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transform: rotate(2deg);
  transition: transform .3s ease;
}
.s-head-avatar:hover { transform: rotate(0); }
.s-head-avatar::after {
  content: "disponible";
  position: absolute;
  left: 12px; bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c1);
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}
.s-head-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
@media (max-width: 900px) {
  .s-head-services { grid-template-columns: 1fr; gap: 24px; }
  .s-head-avatar { justify-self: start; width: 180px; transform: none; }
}

/* ---------- Trabajos / Video grid ---------- */
/* ---------- Trabajos / Video grid ---------- */
.work-tabs {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 16px;
  gap: 4px;
  position: relative;
}
.work-tab {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--muted);
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  transition: color .2s;
}
.work-tab:hover { color: var(--fg); }
.work-tab.active {
  background: var(--fg);
  color: var(--bg);
}
.work-tab-count {
  font-size: 11px;
  background: rgba(0,0,0,0.06);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.work-tab.active .work-tab-count {
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
}
.work-tab-desc {
  color: var(--muted);
  font-size: 14px;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.5;
}
@media (max-width: 540px) {
  .work-tabs { display: flex; width: 100%; }
  .work-tab { flex: 1; justify-content: center; padding: 10px 12px; font-size: 13px; }
}

.work-toolbar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.work-toolbar .filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--muted);
  transition: all .15s;
}
.work-toolbar .filter.active {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .work-grid { grid-template-columns: 1fr; } }

.work-item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a1d;
  cursor: pointer;
  transition: transform .25s;
  /* button reset */
  appearance: none;
  border: 0;
  padding: 0;
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  display: block;
}
.work-item .work-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.work-item:hover { transform: translateY(-4px); }
.work-item .work-cover {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}
.work-item .work-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.work-type-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.work-type-ugc { background: rgba(249, 115, 22, 0.85); }
.work-type-creator { background: rgba(139, 92, 246, 0.85); }
.work-type-vlog { background: rgba(20, 160, 180, 0.88); }.work-item .work-brand {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 5px 10px;
  align-self: flex-start;
}
.work-item .work-meta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.work-item .work-title {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.work-item .work-stats {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  font-variant-numeric: tabular-nums;
  display: flex; gap: 8px;
}
.work-item .work-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.work-item:hover .work-play {
  opacity: 1; transform: translate(-50%, -50%) scale(1.05);
}
.work-item .work-play svg { fill: var(--fg); margin-left: 3px; }

/* Cover diseñado (sin thumbnail externo) */
.dc {
  position: absolute; inset: 0;
  overflow: hidden;
}
.dc-blob {
  position: absolute;
  width: 140%;
  height: 70%;
  top: -15%;
  left: -25%;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.45;
  background: var(--accent);
  animation: blob1 11s ease-in-out infinite;
}
.dc-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.18'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}
.dc-tag {
  position: absolute;
  top: 50%;
  left: 14px;
  right: 14px;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
  text-align: center;
  text-wrap: balance;
}
.dc-num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: .1em;
  z-index: 2;
}

/* Placeholder cover background */
.ph {
  position: absolute; inset: 0;
  background: var(--bg-color, #1a1a1d);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.05) 75%, transparent 75%, transparent);
  background-size: 18px 18px;
  overflow: hidden;
}
.ph::after {
  content: attr(data-ph);
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
  padding: 0 12px;
  z-index: 2;
}

/* Animated mock-video placeholder */
.ph-anim .ph-blob {
  position: absolute;
  width: 140%;
  height: 70%;
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.55;
  background: var(--accent, #F97316);
  mix-blend-mode: screen;
}
.ph-anim .ph-blob-1 {
  top: -20%;
  left: -30%;
  animation: blob1 9s ease-in-out infinite;
}
.ph-anim .ph-blob-2 {
  bottom: -25%;
  right: -25%;
  background: #fff;
  opacity: 0.18;
  animation: blob2 11s ease-in-out infinite;
}
@keyframes blob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20%, 10%) scale(1.15); }
  66% { transform: translate(-10%, 25%) scale(0.9); }
}
@keyframes blob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25%, -10%) scale(1.2); }
}
.ph-anim .ph-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: shimmer 3.5s linear infinite;
  pointer-events: none;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
.ph-anim .ph-tag {
  position: absolute;
  left: 50%;
  bottom: 38%;
  transform: translateX(-50%);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 9px;
  letter-spacing: .15em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  background: rgba(0,0,0,0.35);
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.ph-anim::after {
  display: none;
}

/* ---------- Lightbox player ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 80px;
  animation: lbIn .2s ease-out;
}
@keyframes lbIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lb-close, .lb-nav {
  position: absolute;
  appearance: none;
  border: 0;
  background: rgba(255,255,255,0.08);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, transform .15s;
  backdrop-filter: blur(10px);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.18); }
.lb-close { top: 24px; right: 24px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 28px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  max-height: 100%;
}
.lb-video {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 220px);
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}
.lb-video video {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.lb-video iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
/* TikTok embed needs more height for its native chrome (handle bar + like/share rail) */
.lb-video-tt {
  width: min(360px, 100%);
  aspect-ratio: auto;
  height: min(740px, calc(100vh - 220px));
}
.lb-video-ig {
  width: min(400px, 100%);
  aspect-ratio: auto;
  height: min(720px, calc(100vh - 220px));
  background: #fff;
}
.lb-empty {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 40%, rgba(249,115,22,0.18) 0%, transparent 60%),
    linear-gradient(150deg, #1a1a1d, #2a1a26);
}
.lb-empty-glyph {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
}
.lb-empty-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}
.lb-empty-sub {
  font-size: 12px;
  line-height: 1.5;
  max-width: 260px;
}
.lb-empty-sub code {
  background: rgba(255,255,255,0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}
.lb-info {
  color: #fff;
  text-align: center;
  max-width: 480px;
}
.lb-brand {
  display: inline-block;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.lb-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.lb-tags {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  display: inline-flex; gap: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lb-tiktok-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #0F0F12;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transition: transform .15s, background .15s;
}
.lb-tiktok-link:hover {
  transform: translateY(-1px);
  background: #f0f0f0;
}
.lb-mail-link {
  background: var(--c1);
  color: #fff;
}
.lb-mail-link:hover {
  background: var(--c1);
  filter: brightness(1.1);
}
@media (max-width: 640px) {
  .lb { padding: 60px 16px 20px; }
  .lb-nav { display: none; }
  .lb-close { top: 16px; right: 16px; }
  .lb-video { max-height: calc(100vh - 280px); }
}

/* ---------- Por qué yo ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  padding: 40px 28px 40px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}
.why-item:nth-child(odd) { padding-right: 48px; border-right: 1px solid var(--line); }
.why-item:nth-child(even) { padding-left: 48px; }
@media (max-width: 768px) {
  .why-item, .why-item:nth-child(odd), .why-item:nth-child(even) {
    padding: 32px 0; border-right: 0;
  }
}
.why-num {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.why-num em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.why-item:nth-child(1) .why-num { color: var(--c1); }
.why-item:nth-child(2) .why-num { color: var(--c2); }
.why-item:nth-child(3) .why-num { color: var(--c3); }
.why-item:nth-child(4) .why-num { color: var(--fg); }
.why-item h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.why-item h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.why-item p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Contacto ---------- */
.s-contact { background: var(--c1); color: #fff; }
.s-contact .s-num { color: rgba(255,255,255,0.6); }
.s-contact .s-num::before { background: #fff; }
.s-contact .s-title em { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.contact-grid {
  display: grid;
  grid-template-columns: 260px 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 220px 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-photo {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.45);
  transform: rotate(-2deg);
  transition: transform .3s ease;
}
.contact-photo:hover { transform: rotate(0); }
.contact-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
@media (max-width: 900px) {
  .contact-photo {
    max-width: 260px;
    margin: 0 auto;
    transform: none;
  }
}

.contact-main {
  display: flex;
  flex-direction: column;
}

.contact-headline {
  font-family: var(--display);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.contact-headline em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.contact-mail {
  display: inline-flex; align-items: center; gap: 16px;
  background: #fff; color: var(--fg);
  padding: 18px 28px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  transition: transform .2s;
}
.contact-mail:hover { transform: translateY(-2px); }
.contact-mail .arrow {
  width: 32px; height: 32px;
  background: var(--fg); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.contact-mail:hover .arrow { transform: rotate(-45deg); }

.contact-list { display: flex; flex-direction: column; gap: 0; }
.contact-list .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: padding .2s;
}
.contact-list .row:hover { padding-left: 8px; }
.contact-list .row:first-child { border-top: 1px solid rgba(255,255,255,0.25); }
.contact-list .row .lbl {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.contact-list .row .val {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.contact-list .row .val svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
.foot {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}

/* ---------- Sticker decorations (toggle) ---------- */
.stickers .sticker {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  pointer-events: none;
}
.stickers .sticker.s1 {
  top: 24%; right: -2%;
  background: var(--c2); color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  transform: rotate(-8deg);
  font-family: var(--display);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.stickers .sticker.s2 {
  bottom: 18%; left: -2%;
  background: var(--c3); color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  transform: rotate(6deg);
  font-family: var(--display);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
}

/* ---------- Accent style variants ---------- */
[data-accent="outline"] .nav-dot,
[data-accent="outline"] .hero-meta .chip.solid {
  background: transparent !important;
  border: 1.5px solid var(--c2) !important;
  color: var(--c2) !important;
}
[data-accent="outline"] .hero h1 em { color: var(--fg); border-bottom: 3px solid var(--c1); }

[data-accent="gradient"] .hero h1 em {
  background: linear-gradient(95deg, var(--c1), var(--c2), var(--c3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
[data-accent="gradient"] .s-contact {
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 50%, var(--c3) 100%);
}

/* Density */
[data-density="cozy"] section.s { padding: 80px 0; }
[data-density="airy"] section.s { padding: 160px 0; }
