/* Estilos de la plantilla page-certificado-retencion.php — externalizado del <style> inline. */
/* === Certificado de Retención — estilos específicos de página === */

/* ── HERO COMPACTO ── */
.hero {
  min-height: auto;
  display: block;
  padding: 52px 40px 44px;
  position: relative;
  overflow: hidden;
  background: var(--ts-blue-deep); /* Fallback color compatible con el tema */
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-glow {
  position: absolute;
  top: -40%; right: -5%;
  width: 45%; height: 160%;
  background: radial-gradient(ellipse, rgba(15,91,167,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-body { flex: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ts-gold);
  margin-bottom: 12px;
}
.hero-tag::before { content: ''; width: 28px; height: 2px; background: var(--ts-gold); }
.hero h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 10px; color: #fff; }
.hero h1 em { font-style: italic; color: var(--ts-gold); display: block; }
.hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 20px;
}
.hero-pills { 
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 0; 
    border-top: none; 
}
.hero-pill { 
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px; 
    padding: 7px 14px; 
    font-size: 12px;
    color: #fff;
}
.hero-pill svg { width: 14px; height: 14px; stroke: var(--ts-gold); fill: none; stroke-width: 2; }

/* Icono decorativo */
.hero-icon-wrap { flex-shrink: 0; }
.hero-icon-box {
  width: 88px; height: 88px;
  background: rgba(245,166,35,.08);
  border: 1px solid rgba(245,166,35,.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.hero-icon-box svg {
  width: 40px; height: 40px;
  stroke: var(--ts-gold); fill: none;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}

/* ── LAYOUT ── */
.page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 40px 88px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

/* ── FORMULARIO ── */
.form-section h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  text-transform: uppercase;
  color: #333; margin-bottom: 6px;
}
.form-section h2 span { color: var(--ts-gold); }
.form-section .form-intro { font-size: 14px; color: var(--ts-gray); line-height: 1.7; margin-bottom: 28px; }

/* ── SIDEBAR ── */
.info-sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 88px; }
.info-card { background: var(--ts-gray-bg); border: 1px solid var(--ts-gray-line); border-radius: 12px; padding: 22px 20px; }
.info-card-title { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ts-gray); margin-bottom: 16px; }

/* Pasos */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ts-gray-line); }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step:first-child { padding-top: 0; }
.step-num { width: 26px; height: 26px; background: var(--ts-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-display); font-size: 13px; font-weight: 800; color: #fff; line-height: 1; }
.step-title { font-family: var(--font-display); font-size: 14px; font-weight: 800; text-transform: uppercase; color: #333; line-height: 1.1; margin-bottom: 2px; }
.step-desc { font-size: 12px; color: var(--ts-gray); line-height: 1.5; }

/* Nota importante */
.notice { background: rgba(245,166,35,.06); border: 1px solid rgba(245,166,35,.25); border-radius: 8px; padding: 14px 16px; display: flex; gap: 10px; }
.notice svg { width: 16px; height: 16px; stroke: var(--ts-gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 1px; }
.notice-text { font-size: 12px; color: #333; line-height: 1.6; }
.notice-text strong { color: #b37a10; }

/* Contacto directo */
.contact-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ts-gray-line); }
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item:first-child { padding-top: 0; }
.contact-icon { width: 32px; height: 32px; background: #EEF3FA; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 14px; height: 14px; stroke: var(--ts-blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--ts-gray); margin-bottom: 1px; }
.contact-val { font-size: 13px; font-weight: 600; color: #333; }
.contact-val a { color: var(--ts-blue); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .page-wrap { grid-template-columns: 1fr; gap: 40px; }
  .info-sidebar { position: static; }
}
@media (max-width: 768px) {
  .hero { padding: 40px 20px 36px; }
  .hero-icon-wrap { display: none; }
  .page-wrap { padding: 36px 20px 64px; }
}
