@charset "UTF-8";
/* ============================================================
 * Plataforma Doc -- Global Chrome v3.8.3
 * Header + Footer redisenados (alineados a home-unificado).
 * v3.8.3: header mas alto + logo horizontal compuesto + fondo solido.
 *         Footer simplificado (sin gradientes), logo grande, sin tagline.
 * ASCII-only.
 * ============================================================ */

:root {
  --pd-void:  #040609;
  --pd-dark:  #0D1117;
  --pd-navy:  #071428;
  --pd-light: #F8F9FC;
  --pd-white: #ffffff;
  --pd-teal:  #00BFA5;
  --pd-blue:  #3B72AD;
  --pd-w90: rgba(255,255,255,.90);
  --pd-w70: rgba(255,255,255,.70);
  --pd-w50: rgba(255,255,255,.50);
  --pd-w30: rgba(255,255,255,.30);
  --pd-w12: rgba(255,255,255,.12);
  --pd-w06: rgba(255,255,255,.06);
  --pd-fd: 'Bricolage Grotesque', system-ui, sans-serif;
  --pd-fb: 'Figtree', system-ui, sans-serif;
  --pd-h-h: 84px;
}

/* Compensar header sticky (sobreescribe el antiguo padding del tema) */
body { padding-top: var(--pd-h-h) !important; }

/* ============================================================
 * HEADER  (v3.8.4 -- alineacion al ancho de las secciones del home)
 * ============================================================ */
.pd-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--pd-void);
  border-bottom: 1px solid var(--pd-w06);
  padding: 0 clamp(20px, 5vw, 80px);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.pd-header.is-scrolled {
  border-bottom-color: var(--pd-w12);
  box-shadow: 0 6px 24px -10px rgba(0,0,0,.7);
}

.pd-header-bar {
  max-width: 1280px; margin: 0 auto;
  height: var(--pd-h-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}

/* Logo horizontal compuesto (v3.8.4 -- spec del usuario) */
.pd-brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
  transition: opacity .2s ease;
}
.pd-brand:hover { opacity: .85; }
.pd-brand-iso {
  display: block;
  width: 70px; height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.pd-brand-text {
  display: inline-flex; flex-direction: column;
  font-family: var(--pd-fd);
}
.pd-brand-l1 {
  font-size: 1rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pd-w70);
  margin-bottom: 2px;
  line-height: 1;
}
.pd-brand-l2 {
  font-size: 1rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--pd-teal);
  line-height: 1;
}

/* Nav */
.pd-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.pd-nav-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 6px; align-items: center;
}
.pd-nav-list li { margin: 0; }
.pd-nav-list a {
  display: inline-block;
  font-family: var(--pd-fb); font-weight: 500;
  font-size: .92rem; color: var(--pd-w70);
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.pd-nav-list a:hover { color: var(--pd-w90); background: rgba(255,255,255,.04); }
.pd-nav-list .current-menu-item > a,
.pd-nav-list a.is-active { color: var(--pd-teal); background: rgba(0,191,165,.08); }

/* Header CTA + burger */
.pd-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.pd-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pd-teal); color: var(--pd-void);
  padding: 11px 22px; border-radius: 999px;
  font-family: var(--pd-fb); font-weight: 700; font-size: .88rem;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 0;
}
.pd-cta:hover { transform: translateY(-1px); background: #00d4b8; box-shadow: 0 14px 28px -14px rgba(0,191,165,.55); }

.pd-burger {
  display: none;
  background: transparent; border: 1px solid var(--pd-w12);
  width: 42px; height: 42px; border-radius: 10px;
  padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer; transition: border-color .2s ease;
}
.pd-burger:hover { border-color: var(--pd-teal); }
.pd-burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--pd-w90);
  transition: transform .25s ease, opacity .25s ease;
}
.pd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.pd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 1100px) {
  .pd-nav-list a { padding: 8px 12px; font-size: .88rem; }
}
@media (max-width: 960px) {
  :root { --pd-h-h: 72px; }
  .pd-burger { display: inline-flex; }

  /* Full-bleed overlay desde el header hacia abajo */
  .pd-nav {
    position: fixed;
    top: var(--pd-h-h); left: 0; right: 0; bottom: 0;
    background: rgba(4,6,9,.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 32px clamp(24px, 6vw, 56px);
    display: flex !important; flex-direction: column;
    opacity: 0; pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .35s ease, transform .35s ease;
    overflow-y: auto;
    z-index: 999;
  }
  .pd-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }

  .pd-nav-list {
    flex-direction: column; align-items: stretch; gap: 0;
    width: 100%;
  }
  .pd-nav-list li {
    border-bottom: 1px solid var(--pd-w06);
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity .4s ease, transform .4s ease;
  }
  .pd-nav-list li:last-child { border-bottom: 0; }
  .pd-nav.is-open .pd-nav-list li { opacity: 1; transform: translateX(0); }
  .pd-nav.is-open .pd-nav-list li:nth-child(1) { transition-delay: .08s; }
  .pd-nav.is-open .pd-nav-list li:nth-child(2) { transition-delay: .14s; }
  .pd-nav.is-open .pd-nav-list li:nth-child(3) { transition-delay: .20s; }
  .pd-nav.is-open .pd-nav-list li:nth-child(4) { transition-delay: .26s; }
  .pd-nav.is-open .pd-nav-list li:nth-child(5) { transition-delay: .32s; }

  .pd-nav-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 4px; font-family: var(--pd-fd); font-weight: 700;
    font-size: 1.6rem; letter-spacing: -.01em;
    color: var(--pd-w90); border-radius: 0;
    background: transparent !important;
    transition: color .25s ease, padding-left .25s ease;
  }
  .pd-nav-list a::after {
    content: '\2192'; /* arrow */
    color: var(--pd-teal); font-size: 1.2rem; opacity: .6;
    transition: transform .25s ease, opacity .25s ease;
  }
  .pd-nav-list a:hover, .pd-nav-list a:focus {
    color: var(--pd-teal); padding-left: 8px;
  }
  .pd-nav-list a:hover::after, .pd-nav-list a:focus::after { opacity: 1; transform: translateX(4px); }

  /* CTA grande dentro del overlay */
  .pd-nav::after {
    content: '';
    margin-top: auto;
    padding-top: 24px;
  }

  .pd-brand { gap: 10px; }
  .pd-brand-iso { width: 60px; }
  .pd-brand-l1 { font-size: .92rem; margin-bottom: 2px; }
  .pd-brand-l2 { font-size: .92rem; }
  .pd-cta { padding: 9px 16px; font-size: .82rem; }
  body.pd-nav-locked { overflow: hidden; }
}
@media (max-width: 480px) {
  .pd-cta { display: none; }
  .pd-brand-iso { width: 54px; }
  .pd-brand-l1, .pd-brand-l2 { font-size: .82rem; }
}
@media (max-width: 360px) {
  .pd-brand-iso { width: 48px; }
  .pd-brand-l1, .pd-brand-l2 { font-size: .74rem; letter-spacing: .12em; }
}

/* ============================================================
 * FOOTER (refinado v3.8.3 -- solido, sin gradientes coloridos)
 * ============================================================ */
.pd-footer {
  position: relative;
  background: #000;
  color: var(--pd-w70);
  padding-top: clamp(72px, 9vw, 130px);
  padding-bottom: 36px;
  padding-left: clamp(20px, 5vw, 80px);
  padding-right: clamp(20px, 5vw, 80px);
  border-top: 2px solid var(--pd-teal);
}
.pd-footer-bottom { max-width: 1280px; margin: 0 auto; }

.pd-footer-top {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(40px, 6vw, 96px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--pd-w06);
}

.pd-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.pd-footer-brand-link {
  display: inline-flex; align-items: center; gap: 16px;
  text-decoration: none;
  transition: opacity .2s ease;
}
.pd-footer-brand-link:hover { opacity: .85; }
.pd-footer-iso {
  display: block;
  width: 100px; height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.pd-footer-wordmark {
  display: inline-flex; flex-direction: column;
  font-family: var(--pd-fd);
}
.pd-footer-w1 {
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pd-w70);
  margin-bottom: 2px;
  line-height: 1;
}
.pd-footer-w2 {
  font-size: 1.4rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--pd-teal);
  line-height: 1;
}

.pd-footer-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--pd-w90); font-family: var(--pd-fb); font-weight: 700;
  font-size: .92rem; text-decoration: none;
  padding: 12px 0;
  border-bottom: 2px solid var(--pd-teal);
  transition: color .2s ease, transform .2s ease, gap .2s ease;
}
.pd-footer-cta:hover { color: var(--pd-teal); transform: translateX(3px); gap: 12px; }

.pd-footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.pd-footer-col h4 {
  font-family: var(--pd-fd); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pd-teal);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pd-w06);
}
.pd-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-footer-col li { margin: 0; }
.pd-footer-col a {
  color: var(--pd-w70); font-size: .92rem; text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}
.pd-footer-col a:hover { color: var(--pd-w90); padding-left: 4px; }

.pd-footer-bottom {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.pd-footer-copy, .pd-footer-meta {
  font-size: .8rem; color: var(--pd-w50); margin: 0;
  letter-spacing: .04em;
}
.pd-footer-meta a { color: var(--pd-w70); text-decoration: none; transition: color .2s ease; margin-left: 4px; }
.pd-footer-meta a:hover { color: var(--pd-teal); }

@media (max-width: 960px) {
  .pd-footer-top { grid-template-columns: 1fr; gap: 40px; }
  .pd-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pd-footer-iso { width: 84px; }
  .pd-footer-w1, .pd-footer-w2 { font-size: 1.2rem; }
}
@media (max-width: 560px) {
  .pd-footer-cols { grid-template-columns: 1fr; gap: 20px; }
  .pd-footer-bottom { flex-direction: column; align-items: flex-start; }
  .pd-footer-iso { width: 72px; }
  .pd-footer-w1, .pd-footer-w2 { font-size: 1.05rem; }
}

/* ============================================================
 * Compatibilidad: ocultar viejo header/footer si quedaran
 * ============================================================ */
.site-header:not(.pd-header), .site-footer:not(.pd-footer) { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .pd-cta, .pd-footer-cta, .pd-burger span, .pd-brand { transition: none !important; }
}
