/* Studio F. J. Levin — consentimiento de cookies + banner de promoción
   + ícono de acceso interno. Compartido por las 4 páginas. */
  /* ===== Aviso de cookies (barra flotante) ===== */
  #cookieBar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
    background: var(--navy); color: #fff;
    padding: 1.1rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    transform: translateY(110%); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.14);
  }
  #cookieBar.visible { transform: translateY(0); }
  .cookie-text { flex: 1; min-width: 220px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0; }
  .cookie-text a { color: var(--orange); text-decoration: underline; cursor: pointer; }
  .cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
  .cookie-btn {
    font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 600;
    padding: 10px 18px; border-radius: 8px; cursor: pointer; border: none; white-space: nowrap;
  }
  .cookie-btn.reject { background: transparent; border: 1px solid rgba(255,255,255,0.35); color: #fff; }
  .cookie-btn.reject:hover { border-color: #fff; }
  .cookie-btn.accept { background: var(--orange); color: #0a1d33; }
  .cookie-btn.accept:hover { background: #ff9a3d; }

  #cookieModal {
    position: fixed; inset: 0; z-index: 310; background: rgba(10,29,51,0.55);
    display: flex; align-items: center; justify-content: center; padding: 1.5rem;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  #cookieModal.visible { opacity: 1; visibility: visible; }
  .cookie-modal-box {
    background: var(--paper); border-radius: 16px; max-width: 520px; width: 100%;
    max-height: 78vh; display: flex; flex-direction: column; padding: 2rem;
  }
  .cookie-modal-title { font-family: 'Fraunces', serif; font-weight: 480; font-size: 1.4rem; color: var(--navy); margin: 0 0 1rem; }
  .cookie-modal-body { overflow-y: auto; font-size: 14px; line-height: 1.65; color: var(--navy-soft); margin-bottom: 1.5rem; }
  .cookie-modal-body p { margin: 0 0 1rem; }
  .cookie-modal-close {
    align-self: flex-end; background: var(--orange); color: #0a1d33; border: none; border-radius: 8px;
    padding: 12px 22px; font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer;
  }
  @media (max-width: 600px) {
    #cookieBar { padding: 1rem; flex-direction: column; align-items: stretch; text-align: left; }
    .cookie-actions { justify-content: flex-end; }
  }


  /* === Studio 2.0 · cinematic upgrade V3 / entry experience === */
  html,body{background:#07111b;color:#f4efe7}
  body{position:relative;isolation:isolate}
  body::before,body::after{content:"";position:fixed;z-index:-2;pointer-events:none;top:50%;width:110vmax;height:110vmax;border-radius:50%;transform:translateY(-50%)}
  body::before{left:-45vmax;background:radial-gradient(circle,rgba(245,130,31,.20) 0%,rgba(245,130,31,.06) 38%,transparent 68%)}
  body::after{right:-45vmax;background:radial-gradient(circle,rgba(239,234,224,.13) 0%,rgba(239,234,224,.035) 38%,transparent 68%)}
  header,main,footer{position:relative;z-index:2}
  .brand{color:#f5efe6}.brand img{filter:drop-shadow(0 8px 20px rgba(245,130,31,.22))}
  main::before{content:"CRITÉRIO · DESIGN · ESTRATÉGIA · EXPERIÊNCIA · CRITÉRIO · DESIGN · ESTRATÉGIA · EXPERIÊNCIA";position:fixed;z-index:-1;left:-10vw;top:50%;width:max-content;transform:translateY(-50%);font:480 clamp(68px,11vw,170px)/1 'Fraunces',serif;letter-spacing:-.04em;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.055);white-space:nowrap;animation:entryDrift 30s linear infinite}
  @keyframes entryDrift{from{transform:translate3d(0,-50%,0)}to{transform:translate3d(-18vw,-50%,0)}}
  .neo{filter:drop-shadow(0 18px 34px rgba(245,130,31,.18))}
  .eyebrow{display:none}
  h1{color:#f4efe7;max-width:17ch;font-size:clamp(2.45rem,5.5vw,5.2rem)}
  .sub{color:#aeb9c3}
  .language{color:#f4efe7;border-bottom-color:rgba(255,255,255,.18)}
  .language:hover,.language:focus-visible,.language.suggested{color:#f5821f;border-color:#f5821f}
  .loading-label,footer{color:#93a1ae}
  .cats{max-width:760px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .cat:last-child:nth-child(odd){grid-column:auto;max-width:none;justify-self:stretch}
  .cat{min-height:84px;color:#f4efe7;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:19px 20px;display:flex;align-items:center;backdrop-filter:blur(10px)}
  .cat:hover{border-color:#f5821f;background:rgba(245,130,31,.08);transform:translateY(-3px)}
  #stepQuestion h1{max-width:14ch}
  @media(max-width:720px){.cats{grid-template-columns:1fr 1fr}.cat{min-height:72px}.textzone{padding-bottom:6vh}}
  @media(max-width:480px){.cats{grid-template-columns:1fr}.cat{min-height:58px;padding:16px 18px}main::before{font-size:78px}.languages{grid-template-columns:1fr;max-width:260px}.language{font-size:1.18rem}}
  @media(prefers-reduced-motion:reduce){main::before{animation:none}}


  #promoBar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 400;
    background: #f5821f; color: #0a1d33;
    font-family: 'Space Mono', monospace; font-size: 12.5px; letter-spacing: .02em;
    text-align: center; padding: 11px 3rem;
    display: none;
  }
  #promoBar.visible { display: block; }
  #promoBar a { color: #0a1d33; text-decoration: underline; font-weight: 700; }
  @media (max-width: 600px) { #promoBar { padding: 10px 1rem; font-size: 11px; } }

/* área segura para celulares con notch (ya existía en en/es/pt, faltaba acá) */
  @media (max-width: 600px) { #cookieBar{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));padding:.72rem .78rem;gap:.65rem;border-radius:14px;box-shadow:0 12px 34px rgba(0,0,0,.28)} }

.internal-access{position:fixed;right:18px;bottom:18px;z-index:390;width:34px;height:34px;border:1px solid rgba(235,231,219,.22);border-radius:50%;display:grid;place-items:center;background:rgba(8,18,31,.58);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:rgba(235,231,219,.56);text-decoration:none;box-shadow:0 10px 30px rgba(0,0,0,.16);transition:opacity .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,bottom .3s cubic-bezier(.22,1,.36,1);opacity:.58}
.internal-access:hover,.internal-access:focus-visible{opacity:1;color:#f3efe4;border-color:rgba(243,239,228,.5);transform:translateY(-1px);outline:none}
.internal-access svg{width:14px;height:14px;display:block}
@media(max-width:720px){.internal-access{right:14px;bottom:14px;width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.internal-access{transition:none}}


/* === V37 · Spatial polish / cookies + promo safe area === */
:root{
  --promo-offset: 0px;
  --site-safe-x: clamp(18px, 4vw, 46px);
  --site-safe-bottom: clamp(18px, 3vw, 30px);
}

#cookieBar {
  left: 50%;
  right: auto;
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 14px);
  width: min(980px, calc(100vw - (var(--site-safe-x) * 2)));
  max-width: calc(100vw - 24px);
  margin: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(8, 18, 31, 0.86), rgba(12, 35, 64, 0.78));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transform: translate(-50%, calc(100% + 28px));
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1), opacity 0.32s ease;
}
#cookieBar.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.cookie-text {
  flex: 1;
  min-width: 220px;
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.65;
}
.cookie-text a {
  color: #ffbd7b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.cookie-btn {
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}
.cookie-btn:hover,
.cookie-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.cookie-btn.reject {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus-visible {
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.07);
}
.cookie-btn.accept {
  background: var(--orange);
  color: #0a1d33;
  min-width: 124px;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus-visible {
  background: #ff9c42;
}

#cookieModal {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cookie-modal-box {
  border: 1px solid rgba(12,35,64,0.08);
  box-shadow: 0 24px 60px rgba(7,17,27,0.16);
}

#promoBar {
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 11px max(1rem, var(--site-safe-x));
}
#promoBar.visible { display: flex; }

@media (max-width: 760px) {
  #cookieBar {
    left: 12px;
    right: 12px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 6px);
    width: auto;
    max-width: none;
    transform: translateY(calc(100% + 24px));
    padding: 16px 16px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-radius: 18px;
  }
  #cookieBar.visible { transform: translateY(0); }
  .cookie-text { min-width: 0; font-size: 13.5px; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
  .cookie-btn { flex: 0 0 auto; }
  #promoBar {
    min-height: 48px;
    padding: 10px 1rem;
    font-size: 11px;
    line-height: 1.4;
  }
}
