/* ============================================================
   ARTISTA PROMESA — by Billboard
   Todos los selectores van prefijados con "apby-" y anclados a
   #apby-root para que ningún estilo global de WordPress los pise
   (y para no pisar los del tema).
   ============================================================ */

#apby-root{
  --apby-blue: #1110b6;
  --apby-blue-bright: #2c2af5;
  --apby-blue-deep: #0a0970;
  --apby-ink: #06060c;
  --apby-ink-2: #0e0e1a;
  --apby-paper: #f3f2ee;
  --apby-white: #ffffff;
  --apby-line: rgba(243,242,238,0.14);
  --apby-line-strong: rgba(243,242,238,0.28);

  --apby-f-display: "Big Shoulders Display", sans-serif;
  --apby-f-body: "Archivo", sans-serif;

  --apby-ease: cubic-bezier(.16,1,.3,1);
}

html{ scroll-behavior: smooth; }

/* ---------- reset defensivo: neutraliza estilos del tema WP ---------- */
#apby-root,
#apby-root *,
#apby-root *::before,
#apby-root *::after{ box-sizing: border-box; }

#apby-root h1, #apby-root h2, #apby-root h3,
#apby-root p, #apby-root form, #apby-root figure{
  margin: 0; padding: 0;
}
#apby-root a{
  color: inherit; text-decoration: none;
  border-bottom: none; box-shadow: none;
}
#apby-root a:hover{ text-decoration: none; }
#apby-root img{ max-width: 100%; display: block; border: 0; }
#apby-root input, #apby-root select,
#apby-root textarea, #apby-root button{
  font: inherit; margin: 0;
  -webkit-appearance: none; appearance: none;
}
#apby-root ::selection{ background: var(--apby-blue-bright); color: var(--apby-white); }

/* ---------- base (antes estaba en body) ---------- */
#apby-root{
  margin: 0;
  background: var(--apby-ink);
  color: var(--apby-paper);
  font-family: var(--apby-f-body);
  font-size: 16px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* custom sparkle cursor accent (desktop only, purely decorative) */
#apby-root .apby-cursor-spark{
  position: fixed; top:0; left:0; width:26px; height:26px;
  transform: translate(-50%,-50%);
  pointer-events:none; z-index: 9999;
  opacity:0; transition: opacity .25s var(--apby-ease);
}
#apby-root .apby-cursor-spark svg{ width:100%; height:100%; fill: var(--apby-blue-bright); }
@media (hover:hover) and (pointer:fine){
  #apby-root .apby-cursor-spark.apby-active{ opacity:.85; }
}

/* ---------- sparkle glyph (used everywhere) ---------- */
#apby-root .apby-spark{
  display:inline-block; width:.9em; height:.9em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 C54 38 62 46 100 50 C62 54 54 62 50 100 C46 62 38 54 0 50 C38 46 46 38 50 0 Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 C54 38 62 46 100 50 C62 54 54 62 50 100 C46 62 38 54 0 50 C38 46 46 38 50 0 Z'/%3E%3C/svg%3E") center/contain no-repeat;
  vertical-align: -.05em;
  color: var(--apby-blue-bright);
  animation: apby-twinkle 2.6s ease-in-out infinite;
}
#apby-root .apby-spark--sm{ width:.75em; height:.75em; }
#apby-root .apby-spark--lg{ width:64px; height:64px; margin:0 auto 20px; animation-duration: 1.8s; }
@keyframes apby-twinkle{
  0%,100%{ transform: scale(1); opacity:1; }
  50%{ transform: scale(.72) rotate(20deg); opacity:.55; }
}

/* ============ TICKER ============ */
#apby-root .apby-ticker{
  background: var(--apby-ink);
  color: var(--apby-paper);
  border-bottom: 2px solid var(--apby-ink);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 500;
}
#apby-root .apby-ticker__track{
  display:inline-flex;
  align-items:center;
  gap: 2.2rem;
  padding: 9px 0;
  font-family: var(--apby-f-display);
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .82rem;
  text-transform: uppercase;
  animation: apby-marquee 26s linear infinite;
}
#apby-root .apby-ticker__track span{ flex:0 0 auto; }
#apby-root .apby-ticker .apby-spark{ color: var(--apby-blue-bright); }
@keyframes apby-marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ============ HEADER ============ */
#apby-root .apby-header{
  position: sticky; top:0; z-index: 400;
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px clamp(20px,5vw,64px);
  background: rgba(6,6,12,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--apby-line);
}
#apby-root .apby-brand__logo{ height: 26px; width:auto; }
#apby-root .apby-header-cta{ font-size:.8rem; padding:10px 18px; }

/* ============ BUTTONS ============ */
#apby-root .apby-btn{
  display:inline-flex; align-items:center; gap:.5em;
  font-family: var(--apby-f-display);
  font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  border-radius: 999px;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .35s var(--apby-ease), background .35s var(--apby-ease), color .35s var(--apby-ease), box-shadow .35s var(--apby-ease), border-color .35s var(--apby-ease);
}
#apby-root .apby-btn--solid{
  background: var(--apby-blue-bright);
  color: var(--apby-white);
  box-shadow: 0 0 0 0 rgba(44,42,245,.6);
}
#apby-root .apby-btn--solid:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -8px rgba(44,42,245,.65);
}
#apby-root .apby-btn--ghost{
  background: transparent;
  border-color: var(--apby-line-strong);
  color: var(--apby-paper);
}
#apby-root .apby-btn--ghost:hover{ background: var(--apby-paper); color: var(--apby-ink); border-color: var(--apby-paper); }
#apby-root .apby-btn--text{
  background:none; padding: 15px 6px; color: var(--apby-paper); opacity:.75;
}
#apby-root .apby-btn--text:hover{ opacity:1; transform: translateX(4px); }

/* ============ HERO ============ */
#apby-root .apby-hero{
  position: relative;
  min-height: 100svh;
  display:flex; align-items:flex-end;
  padding: clamp(24px,6vw,64px);
  overflow:hidden;
}
#apby-root .apby-hero__collage{
  position:absolute; inset:0; z-index:0;
  display:grid;
  grid-template-columns: repeat(5,1fr);
  grid-template-rows: 100%;
}
#apby-root .apby-collage-cell{ position:relative; overflow:hidden; }
#apby-root .apby-collage-cell img{
  width:100%; height:100%; object-fit:cover; object-position: top center;
  filter: grayscale(1) contrast(1.15) brightness(.62);
  transform: scale(1.08);
  transition: transform 6s var(--apby-ease), filter .6s ease;
}
#apby-root .apby-collage-cell::after{
  content:""; position:absolute; inset:0;
  background: var(--apby-blue);
  mix-blend-mode: color;
  opacity:.9;
}
#apby-root .apby-collage-cell.apby-c2::after,
#apby-root .apby-collage-cell.apby-c4::after{ opacity:.75; }
#apby-root .apby-hero:hover .apby-collage-cell img{ transform: scale(1.14); }

#apby-root .apby-hero__scrim{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(0deg, rgba(6,6,12,.97) 0%, rgba(6,6,12,.72) 32%, rgba(6,6,12,.35) 58%, rgba(6,6,12,.55) 100%),
    linear-gradient(100deg, rgba(6,6,12,.55) 0%, transparent 55%);
}

#apby-root .apby-hero__content{ position:relative; z-index:2; max-width: 980px; }
#apby-root .apby-eyebrow{
  font-family: var(--apby-f-display); text-transform:uppercase; letter-spacing:.22em;
  font-size:.78rem; color: var(--apby-paper); font-weight:700; margin: 0 0 10px;
}
#apby-root .apby-hero__title{ margin:0; }
#apby-root .apby-hero__logo{
  width: clamp(270px, 46vw, 640px);
  height: auto;
}
#apby-root .apby-hero__lede{
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 46ch; margin: 22px 0 30px; color: rgba(243,242,238,.85);
}
#apby-root .apby-hero__actions{ display:flex; flex-wrap:wrap; gap: 14px; align-items:center; }

/* ============ MANIFEST ============ */
#apby-root .apby-manifest{
  background: var(--apby-paper); color: var(--apby-ink);
  padding: clamp(70px,12vw,140px) clamp(20px,6vw,64px);
}
#apby-root .apby-manifest__layout{
  display:grid; grid-template-columns: 1fr 320px; gap: 60px;
  align-items:start; max-width: 1240px; margin:0 auto;
}
#apby-root .apby-manifest__inner{ max-width: 720px; }

/* ---------- noticias "En el radar" ---------- */
#apby-root .apby-manifest__news{
  position: relative;
  padding-left: 36px;
}
#apby-root .apby-manifest__news::before{
  /* riel vertical con degradado, como el barrido de un radar */
  content:"";
  position:absolute; left:0; top: 6px; bottom: 6px; width:1px;
  background: linear-gradient(180deg, var(--apby-blue) 0%, rgba(17,16,182,.15) 65%, transparent 100%);
}

#apby-root .apby-news-head{
  display:flex; align-items:center; gap:10px;
  margin-bottom: 30px;
}
#apby-root .apby-news-head__tag{ margin-bottom:0; }

/* pequeño radar giratorio: punto fijo + barrido cónico rotando */
#apby-root .apby-radar-blip{
  position:relative; flex: 0 0 14px; width:14px; height:14px;
  border-radius:50%; border: 1px solid rgba(17,16,182,.35);
}
#apby-root .apby-radar-blip::after{
  content:""; position:absolute; inset:3px; border-radius:50%;
  background: var(--apby-blue);
}
#apby-root .apby-radar-blip__sweep{
  position:absolute; inset:-1px; border-radius:50%;
  background: conic-gradient(from 0deg, rgba(17,16,182,.55), transparent 40%);
  animation: apby-radar-spin 3.4s linear infinite;
}
@keyframes apby-radar-spin{ to{ transform: rotate(360deg); } }

#apby-root .apby-news-list{
  list-style:none; margin: 0 0 28px; padding:0;
  display:flex; flex-direction:column;
}
#apby-root .apby-news-item{
  position:relative;
  padding: 22px 0;
  border-bottom: 1px solid rgba(17,16,182,.14);
}
#apby-root .apby-news-item:first-child{ padding-top:2px; }
#apby-root .apby-news-item::before{
  /* tick del riel a la altura de cada noticia */
  content:""; position:absolute; left:-36px; top: 30px;
  width:9px; height:1px; background: rgba(17,16,182,.35);
}
#apby-root .apby-news-item__index{
  position:absolute; right:-4px; top:8px; z-index:0;
  font-family: var(--apby-f-display); font-weight:900;
  font-size: 3.4rem; line-height:1; letter-spacing:-.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17,16,182,.16);
  pointer-events:none;
  transition: -webkit-text-stroke-color .3s var(--apby-ease), transform .4s var(--apby-ease);
}
#apby-root .apby-news-item:hover .apby-news-item__index{
  -webkit-text-stroke-color: rgba(17,16,182,.4);
  transform: translateY(-4px);
}
#apby-root .apby-news-item__link{
  position:relative; z-index:1;
  display:flex; gap: 16px; align-items:flex-start;
  transition: transform .35s var(--apby-ease);
}
#apby-root .apby-news-item:hover .apby-news-item__link{ transform: translateX(3px); }
#apby-root .apby-news-item__thumb{
  flex: 0 0 60px; width: 60px; height: 60px; overflow:hidden;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  background: var(--apby-ink);
}
#apby-root .apby-news-item__thumb img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(.85) contrast(1.05);
  transform: scale(1.08);
  transition: filter .4s var(--apby-ease), transform .6s var(--apby-ease);
}
#apby-root .apby-news-item__link:hover .apby-news-item__thumb img{
  filter: grayscale(0); transform: scale(1.15);
}
#apby-root .apby-news-item__body{
  display:flex; flex-direction:column; gap: 6px; padding-top: 2px; max-width: 15ch;
}
#apby-root .apby-news-item__date{
  font-family: var(--apby-f-display); font-size:.66rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.1em; color: var(--apby-blue);
}
#apby-root .apby-news-item__title{
  font-size:.92rem; line-height:1.32; font-weight:600; color: var(--apby-ink);
  background-image: linear-gradient(var(--apby-blue), var(--apby-blue));
  background-repeat:no-repeat; background-position: 0 100%; background-size: 0% 1px;
  transition: background-size .35s var(--apby-ease);
}
#apby-root .apby-news-item__link:hover .apby-news-item__title{ background-size: 100% 1px; }

#apby-root .apby-news-more{
  display:inline-flex; align-items:center; gap:.5em;
  font-family: var(--apby-f-display); font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; font-size:.78rem; color: var(--apby-blue);
  transition: gap .3s var(--apby-ease), opacity .3s var(--apby-ease);
}
#apby-root .apby-news-more:hover{ gap: .85em; opacity:.75; }
#apby-root .apby-tag{
  display:inline-block; font-family: var(--apby-f-display); font-weight:700;
  text-transform:uppercase; letter-spacing:.2em; font-size:.75rem;
  color: var(--apby-blue); border-bottom: 2px solid var(--apby-blue); padding-bottom:4px;
  margin-bottom: 26px;
}
#apby-root .apby-manifest__lead{
  font-family: var(--apby-f-display); font-weight:600;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height:1.2; margin: 0 0 44px;
}
#apby-root .apby-manifest__lead em{ font-style:normal; color: var(--apby-blue); }
#apby-root .apby-manifest__grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 40px;
  font-size: 1.05rem; line-height:1.7; color: #2b2b34;
  padding-top: 34px; border-top: 1px solid rgba(17,16,182,.18);
}
#apby-root .apby-manifest__cta{
  margin-top: 56px; font-family: var(--apby-f-display); font-weight:700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
#apby-root .apby-underline-spark{
  color: var(--apby-blue); position:relative; display:inline-flex; align-items:center; gap:.3em;
}

/* ============ REVEAL ANIM ============ */
#apby-root .apby-reveal{ opacity:0; transform: translateY(28px); transition: opacity .9s var(--apby-ease), transform .9s var(--apby-ease); }
#apby-root .apby-reveal.apby-in{ opacity:1; transform: translateY(0); }

/* ============ FORM SECTION ============ */
#apby-root .apby-form-section{
  position: relative;
  background: var(--apby-ink-2);
  padding: clamp(70px,10vw,120px) clamp(20px,6vw,64px) 140px;
  display:grid; grid-template-columns: minmax(240px,1fr) minmax(420px,720px);
  gap: 60px;
  align-items:start;
}
#apby-root .apby-form-section::before{
  content:""; position:absolute; inset:0 0 auto 0; height:1px;
  background: linear-gradient(90deg, transparent, var(--apby-line-strong), transparent);
}
#apby-root .apby-form-section__head{ position: sticky; top: 100px; grid-column: 1; }
/* Cuando el aside pasa a position:fixed/absolute (fallback de sticky,
   ver apby-script.js) sale del flujo del grid, y el auto-placement
   reubicaba .apby-app-form en la celda que quedaba libre (columna 1),
   solapando todo. Fijamos la columna del form explícitamente. */
#apby-root .apby-app-form{ grid-column: 2; }
#apby-root .apby-form-section__head h2{
  font-family: var(--apby-f-display); font-weight:800; text-transform:uppercase;
  font-size: clamp(2.2rem,5vw,3.6rem); line-height:.95; margin: 18px 0 22px;
}
#apby-root .apby-form-section__head p{ color: rgba(243,242,238,.65); max-width:34ch; line-height:1.6; }

#apby-root .apby-app-form{
  background: linear-gradient(160deg, rgba(17,16,182,.14), rgba(255,255,255,.02));
  border: 1px solid var(--apby-line);
  border-radius: 22px;
  padding: clamp(24px,4vw,48px);
  display:flex; flex-direction:column; gap: 22px;
  box-shadow: 0 60px 120px -60px rgba(17,16,182,.5);
}
#apby-root .apby-field-row{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
#apby-root .apby-field{ display:flex; flex-direction:column; gap:8px; position:relative; }
#apby-root .apby-field label{
  font-size:.78rem; text-transform:uppercase; letter-spacing:.08em;
  font-weight:700; color: rgba(243,242,238,.7);
  font-family: var(--apby-f-display);
  margin: 0;
}
#apby-root .apby-field label .apby-opt{ text-transform:none; letter-spacing:0; color: rgba(243,242,238,.4); font-weight:400; }

#apby-root .apby-field input,
#apby-root .apby-field select,
#apby-root .apby-field textarea{
  width:100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--apby-line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--apby-paper);
  font-family: var(--apby-f-body);
  font-size: .98rem;
  transition: border-color .3s var(--apby-ease), background .3s var(--apby-ease), box-shadow .3s var(--apby-ease);
}
#apby-root .apby-field textarea{ resize: vertical; min-height: 100px; }
#apby-root .apby-field input::placeholder,
#apby-root .apby-field textarea::placeholder{ color: rgba(243,242,238,.3); }
#apby-root .apby-field input:hover,
#apby-root .apby-field select:hover,
#apby-root .apby-field textarea:hover{ border-color: var(--apby-line-strong); }
#apby-root .apby-field input:focus,
#apby-root .apby-field select:focus,
#apby-root .apby-field textarea:focus{
  outline:none;
  border-color: var(--apby-blue-bright);
  background: rgba(44,42,245,.08);
  box-shadow: 0 0 0 4px rgba(44,42,245,.15);
}
#apby-root .apby-field select{ appearance:none; -webkit-appearance:none;
  background-color: rgba(255,255,255,.03);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f2ee'%3E%3Cpath d='M6 9l6 6 6-6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 42px;
}
#apby-root .apby-field select option{ background: var(--apby-ink-2); color: var(--apby-paper); }
#apby-root .apby-field__hint{ align-self:flex-end; font-size:.72rem; color: rgba(243,242,238,.35); }

#apby-root .apby-field--icon input{ padding-left: 42px; }
#apby-root .apby-field--icon{ position:relative; }
#apby-root .apby-field--icon::before{
  content:""; position:absolute; left:14px; top: 41px;
  width:16px; height:16px; background: rgba(243,242,238,.45);
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-size:contain; mask-size:contain;
  -webkit-mask-position:center; mask-position:center;
}
#apby-root .apby-field--icon[data-icon="ig"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1'/%3E%3C/svg%3E"); }
#apby-root .apby-field--icon[data-icon="tt"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M14 2c.5 2.7 2.2 4.4 5 4.8v3c-1.8 0-3.4-.6-4.8-1.6v6.9A5.9 5.9 0 1 1 9 9.2v3.2a2.8 2.8 0 1 0 2 2.7V2h3z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M14 2c.5 2.7 2.2 4.4 5 4.8v3c-1.8 0-3.4-.6-4.8-1.6v6.9A5.9 5.9 0 1 1 9 9.2v3.2a2.8 2.8 0 1 0 2 2.7V2h3z'/%3E%3C/svg%3E"); }
#apby-root .apby-field--icon[data-icon="yt"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='2' y='5' width='20' height='14' rx='4'/%3E%3Cpath d='M10 9l5 3-5 3z' fill='%23fff' stroke='none'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='2' y='5' width='20' height='14' rx='4'/%3E%3Cpath d='M10 9l5 3-5 3z' fill='%23fff' stroke='none'/%3E%3C/svg%3E"); }
#apby-root .apby-field--icon[data-icon="sp"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7 10c4-1 8-.5 10.5 1M7.5 13c3-.8 6.5-.5 8.7.8M8 16c2.4-.6 5-.3 6.8.7' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7 10c4-1 8-.5 10.5 1M7.5 13c3-.8 6.5-.5 8.7.8M8 16c2.4-.6 5-.3 6.8.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
#apby-root .apby-field--icon[data-icon="sc"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 15v3M5 13v5M8 11v7M11 12v6M14 9v9M17 11v7M20 13v5'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 15v3M5 13v5M8 11v7M11 12v6M14 9v9M17 11v7M20 13v5'/%3E%3C/svg%3E"); }

#apby-root .apby-field-divider{
  display:flex; align-items:center; gap: 14px;
  margin: 6px 0 -4px;
  font-family: var(--apby-f-display); text-transform:uppercase; letter-spacing:.14em;
  font-size:.75rem; color: rgba(243,242,238,.45);
}
#apby-root .apby-field-divider::before,
#apby-root .apby-field-divider::after{
  content:""; height:1px; flex:1; background: var(--apby-line);
}

#apby-root .apby-field.apby-invalid input,
#apby-root .apby-field.apby-invalid select,
#apby-root .apby-field.apby-invalid textarea{
  border-color:#ff5a6e; background: rgba(255,90,110,.06);
}

#apby-root .apby-btn--submit{ justify-content:center; width:100%; margin-top: 4px; font-size:1rem; padding:18px 30px; }
#apby-root .apby-form-note{ text-align:center; font-size:.78rem; color: rgba(243,242,238,.4); margin: 2px 0 0; }
#apby-root .apby-form-error{ text-align:center; font-size:.82rem; color:#ff5a6e; margin:0; min-height:1em; }
#apby-root .apby-btn--submit:disabled{ opacity:.75; cursor:not-allowed; transform:none !important; box-shadow:none !important; }

/* loading spinner inside submit button */
#apby-root .apby-btn--submit .apby-spinner{
  display:none; width:1.05em; height:1.05em;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.35);
  border-top-color: var(--apby-white);
  animation: apby-spin .7s linear infinite;
}
#apby-root .apby-btn--submit.apby-is-loading .apby-spinner{ display:inline-block; }
#apby-root .apby-btn--submit.apby-is-loading .apby-spark{ display:none; }
@keyframes apby-spin{ to{ transform: rotate(360deg); } }

/* success overlay */
#apby-root .apby-success-overlay{
  position: fixed; inset:0; z-index: 2000;
  display:flex; align-items:center; justify-content:center;
  background: rgba(6,6,12,.82); backdrop-filter: blur(6px);
  opacity:0; pointer-events:none; transition: opacity .4s var(--apby-ease);
  padding: 20px;
}
#apby-root .apby-success-overlay.apby-show{ opacity:1; pointer-events:all; }
#apby-root .apby-success-card{
  background: var(--apby-paper); color: var(--apby-ink);
  border-radius: 20px; padding: 44px 36px; text-align:center; max-width: 420px;
  transform: translateY(20px) scale(.96); transition: transform .45s var(--apby-ease);
}
#apby-root .apby-success-overlay.apby-show .apby-success-card{ transform: translateY(0) scale(1); }
#apby-root .apby-success-card h3{ font-family: var(--apby-f-display); font-size:1.8rem; text-transform:uppercase; margin: 0 0 12px; }
#apby-root .apby-success-card p{ line-height:1.6; color:#3a3a44; margin: 0 0 26px; }
#apby-root .apby-success-card .apby-btn--ghost{ border-color: var(--apby-ink); color: var(--apby-ink); }
#apby-root .apby-success-card .apby-btn--ghost:hover{ background: var(--apby-ink); color: var(--apby-paper); }

/* ============ FOOTER ============ */
#apby-root .apby-footer{
  background: var(--apby-ink); padding: 50px clamp(20px,6vw,64px) 40px;
  display:flex; flex-direction:column; align-items:center; gap:18px;
  border-top: 1px solid var(--apby-line);
}
#apby-root .apby-footer-logo{ height: 24px; opacity:.85; }
#apby-root .apby-footer p{ font-size:.78rem; color: rgba(243,242,238,.4); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px){
  #apby-root .apby-form-section{ grid-template-columns: 1fr; }
  #apby-root .apby-form-section__head{ position:static; grid-column: 1; }
  #apby-root .apby-app-form{ grid-column: 1; }
  #apby-root .apby-manifest__grid{ grid-template-columns:1fr; }
  #apby-root .apby-manifest__layout{ grid-template-columns: 1fr; gap: 44px; }
  #apby-root .apby-manifest__inner{ max-width: none; }
  #apby-root .apby-manifest__news{ border-left:none; padding-left:0; border-top: 1px solid rgba(17,16,182,.18); padding-top: 34px; }
  #apby-root .apby-field-row{ grid-template-columns:1fr; }
  #apby-root .apby-hero__collage{ grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); }
  /* 5 fotos en un grid de 6 celdas: la última se estira para no dejar hueco */
  #apby-root .apby-collage-cell.apby-c5{ grid-column: span 2; }
}
@media (max-width: 560px){
  #apby-root .apby-header-cta{ display:none; }

  /* El hero de escritorio superpone el texto sobre un collage a pantalla
     completa; en celular esa combinación recorta demasiado las fotos
     (celdas muy angostas y altas) y el texto queda peleando con la
     segunda fila de imágenes. Acá el collage pasa a ser una franja fija
     arriba (no absoluta) y el contenido cae debajo, en flujo normal,
     sobre fondo sólido. */
  #apby-root .apby-hero{
    display:block;
    min-height:auto;
    padding:0;
    overflow:visible;
  }
  /* Las 5 fotos en dos filas: 2 protagonistas arriba y 3 abajo.
     Grid de 6 columnas para que ambas filas cierren parejas. */
  #apby-root .apby-hero__collage{
    position:relative; inset:auto; z-index:auto;
    height: 64svh;
    grid-template-columns: repeat(6,1fr);
    grid-template-rows: 1.25fr 1fr;
  }
  #apby-root .apby-collage-cell{ grid-column: span 2; }
  #apby-root .apby-collage-cell.apby-c1,
  #apby-root .apby-collage-cell.apby-c2{ grid-column: span 3; }
  /* Las fotos de artista1 (celda c2) y artista2 (celda c1) traen mucho
     aire arriba; se baja el encuadre para centrar al artista. */
  #apby-root .apby-collage-cell.apby-c1 img,
  #apby-root .apby-collage-cell.apby-c2 img{ object-position: center 40%; }
  /* El scrim de escritorio oscurece mucho la parte baja (donde iba el
     texto); en móvil el texto va debajo, así que solo se deja un velo
     suave con un fundido corto hacia el bloque oscuro del contenido. */
  #apby-root .apby-hero__scrim{
    inset:auto; top:0; left:0; right:0; height:64svh;
    background:
      linear-gradient(0deg, rgba(6,6,12,.78) 0%, rgba(6,6,12,.28) 22%, rgba(6,6,12,.16) 60%, rgba(6,6,12,.38) 100%);
  }
  #apby-root .apby-hero__content{
    max-width:none;
    padding: 28px 20px 40px;
    background: var(--apby-ink);
  }
  #apby-root .apby-hero__logo{
    width: clamp(220px, 62vw, 340px);
  }
}

/* ============================================================
   FALLBACK DE STICKY (fijo vía JS)
   Confirmado en producción: el sitio ya tiene overflow-x:hidden
   sobre html/body desde el CSS adicional del Customizer de
   WordPress, lo cual fuerza overflow-y:auto ahí mismo (regla del
   spec de CSS) y eso rompe position:sticky de forma nativa —
   pasa sin importar el wrapper #apby-root. apby-script.js aplica
   estas clases por scroll; position:fixed no se ve afectado por
   el overflow de los ancestros.
   ============================================================ */
#apby-root .apby-header.apby-is-fixed{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}
#apby-root .apby-header-spacer{
  display:none;
}
#apby-root .apby-header-spacer.apby-active{
  display:block;
}
#apby-root .apby-form-section__head.apby-is-fixed{
  position: fixed;
  top: 100px;
}
#apby-root .apby-form-section__head.apby-is-bottom{
  position: absolute;
  top: auto;
  bottom: 0;
}
