/* ==========================================================================
   PLATAFORMA DE APORTES CIUDADANOS — Quito Caso a Caso
   Alineado al sistema visual del sitio principal
   ========================================================================== */

/* Lexend ya está cargada por el tema principal — no se re-importa */

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

:root {
  --gold:       #d78300;
  --gold-light: #e89a20;
  --gold-pale:  rgba(215,131,0,0.09);
  --dark:       #0d0d0d;
  --dark-2:     #141414;
  --dark-3:     #1c1c1c;
  --dark-4:     #2a2a2a;
  --mid:        rgba(255,255,255,0.45);
  --light:      #ffffff;
  --border:     rgba(255,255,255,0.08);
  --font:       'Lexend', sans-serif;
  --radius:     8px;
  --radius-lg:  12px;
}

html { scroll-behavior: smooth; }

/* Fondo oscuro para el body y contenedores WordPress de la plataforma */
body.plataforma-page {
  background: var(--dark) !important;
  background-image: none !important;
}

/* El header del sitio mantiene su fondo blanco propio — no se toca */

/* Contenido principal debajo del header */
body.plataforma-page #page,
body.plataforma-page .site {
  background: var(--dark) !important;
  background-image: none !important;
}

.plataforma-page {
  font-family: var(--font);
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.plataforma-page a { color: inherit; text-decoration: none; }
.plataforma-page * { box-sizing: border-box; }

/* Headings alineados a Lexend */
.plataforma-page h1,
.plataforma-page h2,
.plataforma-page h3,
.plataforma-page h4,
.plataforma-page h5 {
  font-family: var(--font);
  color: var(--light);
  line-height: 1.15;
  font-weight: 700;
}

.plataforma-page p {
  font-family: var(--font);
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  text-align: left;
}

@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes pulseGold { 0%,100% { box-shadow:0 0 0 0 rgba(215,131,0,.35); } 50% { box-shadow:0 0 0 8px rgba(215,131,0,0); } }
@keyframes lineGrow { from { width:0; } to { width:40px; } }

.mark { font-size:.62em; vertical-align:super; margin-left:1px; }

/* -------------------------------------------------------------------------
   BOTONES — pill shape, estilo del sitio principal
   ------------------------------------------------------------------------- */
.plat-btn-primary {
  background: var(--gold);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .2s;
  letter-spacing: 0.2px;
}
.plat-btn-primary:hover { opacity: .88; }

.plat-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  padding: 13px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color .2s, color .2s;
}
.plat-btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* -------------------------------------------------------------------------
   BANNER DE SEPARACIÓN (aviso editorial)
   ------------------------------------------------------------------------- */
.plat-sep-banner {
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  padding: 8px 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.plat-sep-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(215,131,0,0.5);
  flex-shrink: 0;
}
.plat-sep-text { font-size: 11px; color: rgba(255,255,255,0.28); line-height: 1.5; max-width: 1100px; font-family: var(--font); }
.plat-sep-text strong { color: rgba(255,255,255,0.4); font-weight: 500; }

/* -------------------------------------------------------------------------
   LAYOUT GENERAL
   ------------------------------------------------------------------------- */
.plat-wrap { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.plat-section { padding: 80px 0; border-bottom: 1px solid var(--border); }

.plat-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2px;
  color: rgba(215,131,0,0.55);
  font-weight: 400;
  font-family: var(--font);
  margin-bottom: 10px;
}
.plat-title {
  font-family: var(--font);
  font-size: clamp(28px,3.5vw,42px);
  font-weight: 700;
  color: var(--light);
  line-height: 1.15;
  margin-bottom: 14px;
}
.plat-sub {
  font-family: var(--font);
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 680px;
}

/* Grid 2 columnas */
.plat-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}
.plat-card { background: var(--dark-2); padding: 32px 36px; }
.plat-card-label { font-size: 11px; letter-spacing: 0.2px; color: rgba(215,131,0,0.55); margin-bottom: 10px; font-weight: 400; font-family: var(--font); }
.plat-card-title { font-family: var(--font); font-size: 22px; font-weight: 700; margin-bottom: 10px; color: var(--light); line-height: 1.25; }
.plat-card-text { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.5); font-family: var(--font); }

.plat-pill-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.plat-pill {
  font-size: 11px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(215,131,0,.2);
  padding: 5px 13px;
  border-radius: 50px;
}

.plat-notice {
  background: rgba(215,131,0,.05);
  border: 1px solid rgba(215,131,0,.18);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-family: var(--font);
  line-height: 1.7;
  margin-top: 28px;
}
.plat-notice strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* -------------------------------------------------------------------------
   HERO (landing)
   ------------------------------------------------------------------------- */
.plat-hero-outer {
  background: var(--dark);
  width: 100%;
}
.plat-hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.plat-hero-left {
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark);
}
.plat-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2px;
  color: rgba(215,131,0,0.55);
  font-weight: 400;
  font-family: var(--font);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.plat-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold);
  animation: lineGrow 1s ease .5s both;
}
.plat-hero-title {
  font-family: var(--font);
  font-size: clamp(40px,5vw,64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--light);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.plat-hero-title em {
  font-style: normal;
  color: var(--gold);
  display: block;
}
.plat-hero-sub {
  font-family: var(--font);
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 40px;
  font-weight: 400;
}
.plat-hero-btns { display:flex; gap:12px; flex-wrap:wrap; }

.plat-hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px 48px;
  border-left: 1px solid var(--border);
  background: var(--dark-2);
}
.plat-hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(215,131,0,.06) 0%, transparent 65%);
  pointer-events: none;
}

.plat-pillar-cards { display:flex; flex-direction:column; gap:14px; position:relative; z-index:2; }
.plat-pillar-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.plat-pillar-num {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: .7;
  min-width: 24px;
}
.plat-pillar-title { font-size: 14px; font-weight: 700; color: var(--light); margin-bottom: 4px; font-family: var(--font); }
.plat-pillar-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; font-family: var(--font); }

/* -------------------------------------------------------------------------
   PROCESO (track de 7 pasos)
   ------------------------------------------------------------------------- */
.plat-process-track {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 0;
  position: relative;
}
.plat-process-track::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, var(--dark-4), var(--gold), var(--dark-4));
  z-index: 0;
}
.plat-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
  position: relative;
  z-index: 1;
}
.plat-step-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font);
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}
.plat-process-step.active .plat-step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  animation: pulseGold 2.5s ease infinite;
}
.plat-step-name { font-size: 11px; font-weight: 700; font-family: var(--font); color: rgba(255,255,255,0.45); line-height: 1.4; margin-bottom: 5px; }
.plat-step-desc { font-size: 10px; color: rgba(255,255,255,0.25); line-height: 1.5; font-family: var(--font); }

/* -------------------------------------------------------------------------
   CONDICIONES (grid 5)
   ------------------------------------------------------------------------- */
.plat-conditions-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 10px;
  margin-top: 40px;
}
.plat-condition {
  background: var(--dark-2);
  border: 1px solid rgba(215,131,0,.2);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
}
.plat-condition-num {
  color: var(--gold);
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}
.plat-condition-text { color: rgba(255,255,255,0.5); font-size: 12px; line-height: 1.65; font-family: var(--font); }
.plat-condition-text strong { color: rgba(255,255,255,0.85); font-weight: 700; }

/* -------------------------------------------------------------------------
   TÉRMINOS (legal)
   ------------------------------------------------------------------------- */
.plat-legal-wrap { max-width: 1100px; margin: 0 auto; padding: 80px 48px; }
.plat-legal-toc {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-bottom: 48px;
}
.plat-legal-toc-title { font-size: 11px; letter-spacing: 0.2px; color: rgba(215,131,0,0.55); font-weight: 500; font-family: var(--font); margin-bottom: 14px; }
.plat-legal-toc ol { list-style:none; display:flex; flex-direction:column; gap:8px; }
.plat-legal-toc ol li { display:flex; gap:14px; font-size:13px; font-family: var(--font); }
.plat-legal-toc ol li span:first-child { color:var(--gold); font-weight:700; min-width:20px; }
.plat-legal-toc ol li a { color:rgba(255,255,255,0.5); text-decoration:none; transition:color .2s; }
.plat-legal-toc ol li a:hover { color:var(--light); }
.plat-legal-article { margin-bottom: 44px; scroll-margin-top: 80px; }
.plat-legal-article-num { font-size: 11px; letter-spacing: 0.2px; color: rgba(215,131,0,0.5); font-weight: 400; font-family: var(--font); margin-bottom: 6px; }
.plat-legal-article h2 { font-family: var(--font); font-size: 22px; font-weight: 700; color: var(--light); margin-bottom: 16px; line-height: 1.3; }
.plat-legal-article p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 12px; font-family: var(--font); text-align: left; }
.plat-legal-article p strong { color: rgba(255,255,255,0.85); font-weight: 700; }
.plat-legal-article ul { list-style:none; display:flex; flex-direction:column; gap:8px; margin-bottom:14px; }
.plat-legal-article ul li { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; padding-left: 16px; position: relative; font-family: var(--font); }
.plat-legal-article ul li::before { content: '·'; position: absolute; left: 0; color: var(--gold); }

/* -------------------------------------------------------------------------
   FORMULARIO (4 pasos)
   ------------------------------------------------------------------------- */
.plat-form-section { padding: 64px 0 88px; }
.plat-form-container {
  max-width: 840px;
  margin: 44px auto 0;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.plat-form-top-bar {
  background: var(--dark-3);
  padding: 26px 36px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.plat-form-top-title { font-family: var(--font); font-size: 18px; font-weight: 700; color: var(--light); }
.plat-form-top-sub { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 2px; font-family: var(--font); }
.plat-form-progress { display:flex; align-items:center; gap:8px; }
.plat-progress-step {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dark-4);
  cursor: pointer;
  transition: all .2s;
}
.plat-progress-step.active { background: var(--gold); width: 22px; border-radius: 4px; }

.plat-form-body { padding: 36px; }
.plat-fieldset { display: none; }
.plat-fieldset.active { display: block; animation: fadeUp .35s ease both; }

.plat-fs-header { margin-bottom: 26px; }
.plat-fs-eyebrow { font-size: 11px; letter-spacing: 0.2px; color: rgba(215,131,0,0.5); font-weight: 400; font-family: var(--font); margin-bottom: 4px; }
.plat-fs-title { font-size: 16px; font-weight: 700; color: var(--light); font-family: var(--font); }
.plat-fs-sub { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 3px; line-height: 1.5; font-family: var(--font); }

.plat-f-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.plat-f-grid-1 { display:grid; grid-template-columns:1fr; gap:14px; margin-bottom:14px; }
.plat-f-field { display:flex; flex-direction:column; gap:5px; }
.plat-f-label { font-size: 12px; font-weight: 500; font-family: var(--font); color: rgba(255,255,255,0.5); letter-spacing: 0; }
.plat-f-label .req { color: var(--gold); margin-left: 2px; }

.plat-f-input,
.plat-f-select,
.plat-f-textarea {
  font-family: var(--font) !important;
  font-size: 14px !important;
  color: var(--light) !important;
  background: var(--dark-3) !important;
  border: 1px solid var(--dark-4) !important;
  border-radius: var(--radius) !important;
  padding: 11px 14px !important;
  width: 100%;
  outline: none;
  transition: border-color .2s;
  max-width: 100% !important;
}
.plat-f-input::placeholder, .plat-f-textarea::placeholder { color: rgba(255,255,255,0.2); }
.plat-f-input:focus, .plat-f-select:focus, .plat-f-textarea:focus {
  border-color: var(--gold) !important;
  background: rgba(215,131,0,.04) !important;
}
.plat-f-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 36px !important;
}
.plat-f-select option { background: var(--dark-3); color: var(--light); }
.plat-f-textarea { resize: vertical; min-height: 100px; line-height: 1.65; }
.plat-f-hint { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 3px; line-height: 1.4; font-family: var(--font); }

.plat-radio-group { display:flex; flex-wrap:wrap; gap:8px; }
.plat-radio-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--dark-4);
  border-radius: 50px;
  font-size: 13px;
  font-family: var(--font);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all .15s;
  background: var(--dark-3);
  user-select: none;
}
.plat-radio-pill input { accent-color: var(--gold); }
.plat-radio-pill:has(input:checked) { border-color: var(--gold); background: var(--gold-pale); color: var(--light); }

.plat-notice-mini {
  background: rgba(215,131,0,.05);
  border: 1px solid rgba(215,131,0,.16);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-family: var(--font);
  line-height: 1.65;
  margin-bottom: 16px;
}
.plat-notice-mini strong { color: rgba(255,255,255,0.8); font-weight: 700; }

.plat-decl-list { display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.plat-decl-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s;
}
.plat-decl-item:hover { border-color: rgba(215,131,0,.3); }
.plat-decl-item.gold-border { border-color: rgba(215,131,0,.25); background: rgba(215,131,0,.04); }
.plat-decl-check { width:18px; height:18px; flex-shrink:0; margin-top:1px; accent-color:var(--gold); }
.plat-decl-text { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; font-family: var(--font); }
.plat-decl-text strong { color: var(--light); font-weight: 700; display: block; margin-bottom: 2px; font-size: 13px; }

.plat-tnc-toggle {
  width: 100%;
  background: transparent;
  border: 1px solid var(--dark-4);
  border-radius: var(--radius);
  padding: 11px 16px;
  font-family: var(--font);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  transition: border-color .2s, color .2s;
}
.plat-tnc-toggle:hover { border-color: var(--gold); color: var(--gold); }
.plat-tnc-arrow { font-size: 10px; transition: transform .2s; }
.plat-tnc-arrow.open { transform: rotate(180deg); }
.plat-tnc-body {
  display: none;
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.plat-tnc-body.open { display: block; animation: fadeUp .3s ease; }
.plat-tnc-body h4 { font-size: 12px; letter-spacing: 0.2px; color: rgba(215,131,0,0.6); font-weight: 600; font-family: var(--font); margin-bottom: 10px; }
.plat-tnc-body p { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.75; margin-bottom: 8px; font-family: var(--font); text-align: left; }
.plat-tnc-body strong { color: rgba(255,255,255,0.7); font-weight: 700; }

.plat-form-alerta {
  margin: 0 36px 0;
  padding: 12px 18px;
  background: rgba(200, 60, 40, 0.12);
  border: 1px solid rgba(200, 60, 40, 0.4);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #f08070;
  font-family: var(--font);
  animation: plat-alerta-in .2s ease;
}
@keyframes plat-alerta-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.plat-alerta-icon { font-size: 15px; flex-shrink: 0; }

/* Campos con error */
.plat-f-input.plat-field-error,
.plat-f-select.plat-field-error {
  border-color: rgba(200, 60, 40, 0.7) !important;
  background: rgba(200, 60, 40, 0.05) !important;
}
.plat-f-field.plat-field-error .plat-radio-group {
  outline: 1px solid rgba(200, 60, 40, 0.6);
  border-radius: 6px;
}
.plat-decl-item.plat-field-error {
  outline: 1px solid rgba(200, 60, 40, 0.6);
  border-radius: 6px;
}

.plat-form-nav {
  padding: 22px 36px;
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.plat-form-nav-left { font-size: 12px; color: rgba(255,255,255,0.3); font-family: var(--font); }
.plat-form-nav-right { display:flex; gap:10px; flex-wrap:wrap; }

.plat-btn-prev {
  font-family: var(--font);
  background: transparent;
  border: 1px solid var(--dark-4);
  border-radius: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  padding: 10px 22px;
  cursor: pointer;
  transition: all .2s;
}
.plat-btn-prev:hover { border-color: var(--gold); color: var(--gold); }

.plat-btn-next {
  font-family: var(--font);
  background: var(--gold);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 26px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .2s;
}
.plat-btn-next:hover { opacity: .88; }

.plat-btn-submit {
  font-family: var(--font);
  background: var(--gold);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s;
}
.plat-btn-submit:hover { opacity: .88; }

.plat-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: plat-spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes plat-spin {
  to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------------------
   CONFIRMACIÓN
   ------------------------------------------------------------------------- */
.plat-confirm-wrap { max-width: 800px; margin: 0 auto; padding: 88px 48px; text-align: center; }
.plat-confirm-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
}
.plat-confirm-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(215,131,0,.1);
  border: 1px solid rgba(215,131,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 28px;
  color: var(--gold);
}
.plat-confirm-title { font-family: var(--font); font-size: clamp(28px,4vw,42px); font-weight: 700; color: var(--light); margin-bottom: 12px; letter-spacing: -0.3px; }
.plat-confirm-title em { font-style: normal; color: var(--gold); }
.plat-confirm-sub { font-family: var(--font); font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.75; max-width: 540px; margin: 0 auto 30px; }
.plat-summary-box {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  text-align: left;
  margin: 0 auto 28px;
  max-width: 560px;
}
.plat-summary-label { font-size: 11px; letter-spacing: 0.2px; color: rgba(215,131,0,0.5); font-weight: 400; font-family: var(--font); margin-bottom: 10px; }
.plat-row { display:flex; justify-content:space-between; gap:16px; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.05); font-size:13px; font-family: var(--font); }
.plat-row:last-child { border-bottom: none; }
.plat-key { color: rgba(255,255,255,0.35); }
.plat-val { color: rgba(255,255,255,0.85); font-weight: 700; text-align: right; }
.plat-confirm-pills { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-bottom:28px; }
.plat-confirm-pill {
  font-size: 11px;
  font-family: var(--font);
  color: rgba(255,255,255,0.3);
  border: 1px solid var(--dark-4);
  border-radius: 50px;
  padding: 5px 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.plat-confirm-pill.done { color: var(--gold); border-color: rgba(215,131,0,.3); background: var(--gold-pale); }
.plat-confirm-dot { width:5px; height:5px; border-radius:50%; background:var(--gold); }
.plat-quote { font-family: var(--font); font-size: 16px; color: rgba(255,255,255,0.3); line-height: 1.65; padding-top: 28px; border-top: 1px solid var(--border); font-style: italic; }

/* -------------------------------------------------------------------------
   ARCHIVO / LISTADO DE APORTES
   ------------------------------------------------------------------------- */
.plat-archive-header { padding: 64px 0 44px; border-bottom: 1px solid var(--border); }
.plat-archive-filters { display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; }
.plat-filter-btn {
  font-family: var(--font);
  font-size: 12px;
  padding: 7px 17px;
  border-radius: 50px;
  border: 1px solid var(--dark-4);
  background: transparent;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-block;
}
.plat-filter-btn:hover, .plat-filter-btn.active { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }

.plat-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 48px 0;
}
.plat-aporte-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.plat-aporte-card:hover { border-color: rgba(215,131,0,.35); transform: translateY(-2px); }
.plat-aporte-img { width:100%; height:180px; object-fit:cover; display:block; background:var(--dark-3); }
.plat-aporte-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-size: 30px;
}
.plat-aporte-body { padding: 22px 24px; flex:1; display:flex; flex-direction:column; gap:9px; }
.plat-aporte-meta { display:flex; gap:8px; flex-wrap:wrap; }
.plat-aporte-tag {
  font-size: 11px;
  letter-spacing: 0.2px;
  font-family: var(--font);
  font-weight: 500;
  color: rgba(215,131,0,0.8);
  background: var(--gold-pale);
  border: 1px solid rgba(215,131,0,.15);
  padding: 3px 10px;
  border-radius: 50px;
}
.plat-aporte-zona { font-size: 11px; color: rgba(255,255,255,0.3); display:flex; align-items:center; gap:4px; font-family: var(--font); }
.plat-aporte-num { font-size: 11px; color: rgba(255,255,255,0.2); font-weight: 700; letter-spacing: 1px; font-family: var(--font); }
.plat-aporte-title { font-family: var(--font); font-size: 17px; font-weight: 700; color: var(--light); line-height: 1.3; }
.plat-aporte-excerpt { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; flex:1; font-family: var(--font); }
.plat-aporte-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font);
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .3px;
  margin-top: 6px;
  transition: gap .2s;
}
.plat-aporte-link:hover { gap: 10px; }

.plat-pagination { display:flex; justify-content:center; gap:6px; padding-bottom:56px; }
.plat-pagination a, .plat-pagination span {
  font-family: var(--font);
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--dark-4);
  transition: all .2s;
}
.plat-pagination a:hover { border-color: var(--gold); color: var(--gold); }
.plat-pagination .current { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }

/* -------------------------------------------------------------------------
   SINGLE APORTE (detalle)
   ------------------------------------------------------------------------- */
.plat-single-header { padding: 60px 0 44px; border-bottom: 1px solid var(--border); }
.plat-single-meta-top { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
.plat-single-num { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 700; letter-spacing: 1px; font-family: var(--font); }
.plat-single-title { font-family: var(--font); font-size: clamp(28px,4vw,48px); font-weight: 700; color: var(--light); line-height: 1.12; margin-bottom: 18px; letter-spacing: -0.3px; }
.plat-single-info-row { display:flex; gap:22px; flex-wrap:wrap; margin-top:18px; }
.plat-single-info-item { display:flex; flex-direction:column; gap:3px; }
.plat-single-info-label { font-size: 10px; letter-spacing: 0.2px; color: rgba(215,131,0,0.5); font-weight: 400; font-family: var(--font); }
.plat-single-info-val { font-size: 14px; color: rgba(255,255,255,0.6); font-family: var(--font); }

.plat-single-img { width:100%; max-height:460px; object-fit:cover; border-radius:var(--radius-lg); margin:36px 0; display:block; }

.plat-single-body { max-width: 740px; }
.plat-single-body p { font-family: var(--font); font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.85; margin-bottom: 18px; text-align: left; }
.plat-single-body h2 { font-family: var(--font); font-size: 24px; font-weight: 700; color: var(--light); margin: 32px 0 12px; }
.plat-single-body h3 { font-family: var(--font); font-size: 18px; font-weight: 700; color: var(--light); margin: 24px 0 8px; }
.plat-single-body strong { color: var(--light); }

.plat-adjuntos { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--border); }
.plat-adjuntos-title { font-size: 12px; letter-spacing: 0.2px; color: rgba(215,131,0,0.55); font-weight: 500; font-family: var(--font); margin-bottom: 12px; }
.plat-adjunto-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--light);
  transition: border-color .2s;
}
.plat-adjunto-item:hover { border-color: var(--gold); }
.plat-adjunto-icon { width:34px; height:34px; background:var(--dark-3); border-radius:6px; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:15px; }
.plat-adjunto-name { font-size: 14px; color: var(--light); font-weight: 600; font-family: var(--font); }
.plat-adjunto-size { font-size: 12px; color: rgba(255,255,255,0.3); font-family: var(--font); }
.plat-adjunto-dl { margin-left: auto; font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .3px; font-family: var(--font); }

.plat-single-nav { display:flex; justify-content:space-between; gap:18px; margin-top:56px; padding-top:36px; border-top:1px solid var(--border); }
.plat-nav-post {
  flex: 1;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  text-decoration: none;
  transition: border-color .2s;
  max-width: 48%;
}
.plat-nav-post:hover { border-color: rgba(215,131,0,.35); }
.plat-nav-post-dir { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.2px; font-family: var(--font); margin-bottom: 5px; }
.plat-nav-post-title { font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--light); line-height: 1.35; }

.plat-cta-form { margin-top: 56px; background: rgba(215,131,0,.05); border: 1px solid rgba(215,131,0,.18); border-radius: var(--radius-lg); padding: 36px; text-align: center; }
.plat-cta-form-title { font-family: var(--font); font-size: 24px; font-weight: 700; color: var(--light); margin-bottom: 10px; }
.plat-cta-form-sub { font-family: var(--font); font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 22px; line-height: 1.65; }

/* -------------------------------------------------------------------------
   POPUP INICIO
   ------------------------------------------------------------------------- */
.plat-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .3s ease;
}
.plat-popup-overlay.hidden { display: none; }
.plat-popup {
  background: var(--dark-2);
  border: 1px solid rgba(215,131,0,.2);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  padding: 44px;
  position: relative;
  animation: fadeUp .35s ease;
}
.plat-popup-eyebrow { font-size: 11px; letter-spacing: 0.2px; color: rgba(215,131,0,0.55); font-weight: 400; font-family: var(--font); margin-bottom: 14px; }
.plat-popup-title { font-family: var(--font); font-size: clamp(22px,3vw,32px); font-weight: 700; color: var(--light); line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.3px; }
.plat-popup-sub { font-family: var(--font); font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 26px; }
.plat-popup-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); border-radius:var(--radius); overflow:hidden; margin-bottom:26px; }
.plat-popup-col { background:var(--dark-3); padding:16px 18px; }
.plat-popup-col-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; font-family: var(--font); margin-bottom: 5px; }
.plat-popup-col-label.dim { color: rgba(255,255,255,0.25); }
.plat-popup-col-label.gold { color: var(--gold); }
.plat-popup-col-name { font-size: 14px; font-weight: 700; font-family: var(--font); margin-bottom: 4px; }
.plat-popup-col-name.dim { color: rgba(255,255,255,0.25); }
.plat-popup-col-name.bright { color: var(--light); }
.plat-popup-col-desc { font-size: 12px; line-height: 1.65; font-family: var(--font); }
.plat-popup-col-desc.dim { color: rgba(255,255,255,0.2); }
.plat-popup-col-desc.mid { color: rgba(255,255,255,0.45); }
.plat-popup-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.plat-popup-legal { font-size: 11px; color: rgba(255,255,255,0.25); line-height: 1.6; max-width: 360px; font-family: var(--font); }
.plat-popup-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 22px;
  cursor: pointer;
  transition: color .2s;
  line-height: 1;
}
.plat-popup-close:hover { color: var(--light); }

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .plat-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .plat-sep-banner { padding: 10px 24px; }
  .plat-wrap { padding: 0 24px; }
  .plat-grid-2 { grid-template-columns: 1fr; }
  .plat-hero { grid-template-columns: 1fr; }
  .plat-hero-left { padding: 60px 24px 40px; }
  .plat-hero-right { display: none; }
  .plat-process-track { grid-template-columns: repeat(2,1fr); gap: 20px 10px; }
  .plat-process-track::before { display: none; }
  .plat-conditions-grid { grid-template-columns: 1fr; }
  .plat-form-body { padding: 22px; }
  .plat-f-grid-2 { grid-template-columns: 1fr; }
  .plat-form-nav { padding: 18px 22px; align-items: flex-start; flex-direction: column; }
  .plat-form-top-bar { padding: 18px 22px; align-items: flex-start; flex-direction: column; }
  .plat-form-section { padding-top: 44px; }
  .plat-confirm-wrap { padding: 56px 22px; }
  .plat-confirm-card { padding: 36px 20px; }
  .plat-row { flex-direction: column; gap: 2px; }
  .plat-val { text-align: left; }
  .plat-legal-wrap { padding: 56px 24px; max-width: 100%; }
  .plat-archive-grid { grid-template-columns: 1fr; }
  .plat-single-nav { flex-direction: column; }
  .plat-nav-post { max-width: 100%; }
  .plat-popup { padding: 28px 22px; }
  .plat-popup-grid { grid-template-columns: 1fr; }
  .plat-section { padding: 56px 0; }
}

@media (max-width: 600px) {
  .plat-hero-title { font-size: 34px; }
  .plat-cta-form { padding: 26px 18px; }
  .plat-archive-header { padding: 44px 0 28px; }
  .plat-conditions-grid { grid-template-columns: 1fr 1fr; }
}
