/* ============================================================
   STEVEN VARGAS — style.css (CSS Global Compartido)
   V5 · Abril 2026
============================================================ */

/* ---- Variables & Reset ---- */
:root {
  --negro:   #111111;
  --azul:    #243D6E;
  --azul-osc:#091833;
  --amarillo:#FFE031;
  --gris:    #F5F5F5;
  --blanco:  #FFFFFF;
  --max-w:   1200px;
  --pad-t:   40px;
  --pad-m:   24px;
  --radius-btn:  50px;
  --radius-card: 16px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Inter', sans-serif;
  color: var(--negro);
  background: var(--blanco);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
p   { font-size: 16px; line-height: 1.8; color: var(--negro); }

/* ---- Logos ---- */
.nav-logo    { height: 40px; width: auto; object-fit: cover; }
.footer-logo { height: 50px; object-fit: cover; margin-bottom: 10px; }

/* ---- Hero image ---- */
.hero-img { width: 100%; max-width: 400px; }

/* ---- Hero highlights (palabras con fondo amarillo) ---- */
.hero-highlight {
  color: var(--negro);
  background-color: var(--amarillo);
  padding: 0px 15px;
  border-radius: 15px;
  display: inline-block;
}
.hero-highlight--back { position: relative; z-index: -1; }

/* ---- Secciones principales ---- */
#inicio      { padding-top: 70px; background: var(--blanco); overflow: hidden; }
#experiencia { padding: 120px 0 100px; }
#proyectos   { padding: 120px 0 100px; }

/* ---- Contenedor ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ---- Tipografía display ---- */
.display { font-family: 'Inter', sans-serif; line-height: 1.1; }

/* ============================================================
   BOTONES CTA
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amarillo);
  color: var(--negro);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-btn);
  padding: 15px 40px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:hover {
  background: #f5d400;
  transform: translateY(-2px);
}
.btn-outline {
  background: var(--gris);
  color: var(--negro);
}
.btn-outline:hover { background: var(--amarillo); color: var(--negro); }

/* ============================================================
   NAV
============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--azul-osc);
  min-height: 70px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
  transition: box-shadow var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 0;
  height: 70px;
  width: 100%;
}

.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; flex: 1; justify-content: center; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-menu a {
  color: var(--blanco);
  font-weight: 400; font-size: 14px;
  letter-spacing: .3px;
  transition: color var(--transition);
  position: relative; padding-bottom: 4px;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--amarillo);
  transition: width var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--amarillo); font-weight: 700; }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-cta { padding: 10px 28px; font-size: 14px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--blanco); transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0;
  width: 100%;
  background: var(--azul);
  padding: 24px var(--pad-m);
  z-index: 999;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--blanco); font-size: 16px;
  padding: 8px 0; text-align: center;
}
.mobile-menu .btn     { align-self: flex-start; color: var(--azul); }
.mobile-menu .nav-cv  { padding: 8px 25px; }

/* ============================================================
   SECCIONES — Base
============================================================ */
section { width: 100%; }
.section-bg-white { background: var(--blanco); }
.section-bg-gris  { background: var(--gris); }

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--negro); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(30px,4vw,40px);
  font-weight: 900; line-height: 1.1;
  color: var(--azul);
}

/* ============================================================
   HERO (index)
============================================================ */
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 90px 0 100px;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(36,61,110,.06);
  color: var(--azul);
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 30px; margin-bottom: 18px;
}
.hero-label span { width: 6px; height: 6px; background: var(--amarillo); border-radius: 50%; }

.hero-title {
  font-size: clamp(27px,4.5vw,64px);
  font-weight: 700; line-height: 1.20;
  color: var(--negro); margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--azul); }
.hero-sub { font-size: 17px; line-height: 1.75; margin-bottom: 32px; max-width: 600px; }

.hero-ctas  { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }

/* ---- Sobre mí preview (index) ---- */
.sobre-preview { background: var(--gris); padding: 100px 0; }
.sobre-preview-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 70px; align-items: center;
}
.sobre-preview .section-title { padding-bottom: 5px; }
.sobre-preview-inner > div > p { margin-bottom: 16px; }
.sobre-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.stat-card { background: var(--blanco); border-radius: var(--radius-card); padding: 28px; text-align: center; width: 150px;}
.stat-number { font-family: 'Inter', sans-serif; font-size: 45px; font-weight: 900; color: var(--azul); line-height: 1; display: block; }
.stat-label  { font-size: 13px; color: #777; margin-top: 6px; }

/* ---- Intro párrafo página proyectos ---- */
.proyectos-intro { color: #666; max-width: 680px; margin-bottom: 60px; }
.proyectos-cta   { text-align: center; margin-top: 52px; padding-bottom: 8px; max-width: var(--max-w); margin-left: auto; margin-right: auto; }

/* ---- Proyectos preview (index) ---- */
.proyectos-preview { background: var(--blanco); padding: 100px 0; }
.section-flex-header {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px;
}

/* ============================================================
   TARJETAS PROYECTO
============================================================ */
.proyectos-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2,1fr); gap: 28px;
}
.project-card {
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid #eee; background: var(--blanco);
  transition: var(--transition); cursor: pointer;
}
.project-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 48px rgba(36,61,110,.12); }
.project-thumb {
  height: 280px; position: relative; overflow: hidden;
}
.project-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.project-body   { padding: 28px; }
.project-type   { font-size: 11px; font-weight: 700; color: var(--azul); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.project-name   { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; color: var(--negro); margin-bottom: 12px; line-height: 1.2; }
.project-tools  { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-tag       { font-size: 11px; background: var(--gris); padding: 4px 10px; border-radius: 10px; }

/* ============================================================
   EXPERIENCIA
============================================================ */
.exp-inner { max-width: var(--max-w); margin: 0 auto; }

.exp-tabs {
  display: flex; gap: 4px; margin: 0px auto 16px; 
  background: #e8e8e8; border-radius: 40px; padding: 4px; width: fit-content;
}

.tab-btn {
  padding: 10px 28px; border-radius: 36px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; border: none;
  background: transparent; color: #777;
  transition: var(--transition); font-family: 'Inter', sans-serif;
}
.tab-btn.active { background: var(--azul); color: var(--blanco); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.tl-empresa { font-size: 12px; font-weight: 700; color: var(--azul); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.tl-cargo   { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 700; color: var(--negro); }
.tl-fecha   { font-size: 14px; color: #aaa; margin-bottom: 5px; }

/* ---- Cabecera centrada de experiencia ---- */
.exp-header { margin-bottom: 30px; text-align: center; }
.exp-header .section-label { display: flex; justify-content: center; }

/* ---- Timeline LinkedIn style ---- */
.tl-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tl-entry {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--blanco);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  transition: var(--transition);
}
.tl-entry:hover {
  box-shadow: 0 8px 32px rgba(36,61,110,.1);
  transform: translateX(4px);
}
.tl-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blanco);
}
.tl-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tl-body { display: flex; flex-direction: column; gap: 4px; }

/* ---- Edu Logo Cards (Académica v2) ---- */
.edu-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.edu-logo-card {
  background: var(--blanco);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid #eee;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.edu-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(36,61,110,.1);
}
.edu-logo-wrap {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 12px;
}
.edu-logo-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.edu-logo-wide {
  max-height: 52px !important;
  width: auto;
}
.edu-logo-fecha {
  font-size: 12px;
  font-weight: 700;
  color: var(--azul);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.edu-logo-titulo {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--negro);
  line-height: 1.35;
  margin-bottom: 8px;
  flex-grow: 1;
}
.edu-logo-inst {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
============================================================ */
#footer { background: var(--azul-osc); color: var(--blanco); }

.footer-deco-stripe { height: 16px; background: var(--azul); }
.footer-cols-zone { padding: 60px 0; }
.footer-cols-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
  padding-left: var(--pad-t); padding-right: var(--pad-t);
}
.footer-cols-inner .footer-col:first-child {
  padding-right: 36px;
}
.footer-cols-inner .footer-col + .footer-col {
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 36px;
}
.footer-col-contact a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col-contact a:hover { color: var(--amarillo); }
.footer-cv-link {
  color: var(--amarillo) !important;
  text-decoration: underline !important;
}
.footer-cv-link:hover { color: #fff !important; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amarillo); margin-bottom: 20px; }
.footer-col p  { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.footer-col p + p { margin-top: 8px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--amarillo); }

.footer-copy { padding: 28px 0; text-align: center; background-color: var(--negro);}
.footer-copy-inner { max-width: var(--max-w); margin: 0 auto; padding-left: var(--pad-t); padding-right: var(--pad-t); }
.footer-copy p { font-size: 14px; color: var(--blanco); line-height: 1.6; }
.footer-copy em { color: var(--amarillo); font-style: normal; }

/* ============================================================
   SOCIAL ICONS — FOOTER
============================================================ */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.footer-social-icon:hover {
  background: var(--amarillo);
  color: var(--negro);
  transform: translateY(-2px);
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--transition);
}
.wa-float:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

/* ============================================================
   NAV CV LINK
============================================================ */
.nav-cv {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-cv:hover {
  color: var(--amarillo);
  border-color: var(--amarillo);
}

/* ============================================================
   FRANJA ANIMADA
============================================================ */
@keyframes franja-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--scroll-dist)); }
}
.franja-wrapper {
  width: 100%; height: 55px;
  background: var(--amarillo);
  display: flex; align-items: center; overflow: hidden;
}
.franja-track {
  display: flex; width: max-content;
  animation: franja-scroll var(--scroll-dur, 20s) linear infinite;
  will-change: transform;
}
.franja-item {
  white-space: nowrap;
  font-size: 18px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--azul-osc);
}

/* ============================================================
   ANIMACIONES
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; }
.anim.visible { animation: fadeUp 0.65s ease forwards; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .2s; }
.anim-delay-3 { animation-delay: .3s; }
.anim-delay-4 { animation-delay: .4s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .container,
  .nav-inner, .hero-inner, .sobre-preview-inner,
  .section-flex-header, .proyectos-grid, .proyectos-cta,
  .exp-inner,
  .footer-cols-inner, .footer-copy-inner {
    padding-left: var(--pad-t);
    padding-right: var(--pad-t);
  }
  .footer-cols-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-cols-inner .footer-col:first-child { padding-right: 32px; }
  .footer-cols-inner .footer-col + .footer-col { padding-left: 32px; }
  .edu-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .sobre-preview-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; padding: 40px var(--pad-m) 50px; min-height: auto; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-content { text-align: center; }
  .hero-label { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .sobre-preview { padding: 50px 0; }
  .proyectos-preview { padding: 50px 0; }
  .sobre-preview-inner { grid-template-columns: 1fr; gap: 40px; }
  .sobre-stats { grid-template-columns: 1fr 1fr; }
  .proyectos-grid { grid-template-columns: 1fr; }
  .section-flex-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .edu-logo-grid { grid-template-columns: 1fr; }
  .tl-entry { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px; }
  .tl-logo-wrap { width: 44px; height: 44px; }
  .footer-cols-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols-inner .footer-col + .footer-col { border-left: none; border-top: 1px solid rgba(255,255,255,.12); padding-left: 0; padding-top: 40px; display: block; }
  .footer-cols-inner .footer-col:first-child { padding-right: 0; }
  .footer-socials { justify-content: flex-start; }

  .container,
  .nav-inner, .hero-inner, .sobre-preview-inner,
  .section-flex-header, .proyectos-grid, .proyectos-cta,
  .exp-inner,
  .footer-cols-inner, .footer-copy-inner {
    padding-left: var(--pad-m);
    padding-right: var(--pad-m);
  }

  #experiencia, #proyectos { padding: 90px 0 50px; }
}

/* ============================================================
   SOBRE MÍ — Layout 70/30
============================================================ */

/* ── Wrapper 70/30 ── */
.sm-page-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px var(--pad-t) 100px;
  gap: 48px;
  padding-top: 140px; /* nav offset */
}

/* ══════════════════════════════════
   COLUMNA IZQUIERDA — MAIN
══════════════════════════════════ */
.sm-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ── Hero block ── */
.sm-hero-block { display: flex; flex-direction: column; gap: 0; }

.sm-hero-title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  color: var(--negro);
  line-height: 1.1;
  margin: 0 0 24px;
}
.sm-hero-title em  { font-style: normal; color: var(--azul); }
.sm-highlight {
  background: var(--amarillo);
  color: var(--negro);
  padding: 2px 12px;
  border-radius: 12px;
  display: inline-block;
}
.sm-hero-sub {
  max-width: 540px;
}

/* ── Blockquote de historia ── */
.historia-quote {
  border-left: 5px solid var(--amarillo);
  padding-left: 18px;
  margin-left: 0;
}
.historia-quote strong { color: var(--azul); }

/* ── Frase destacada IA ── */
.sm-frase-destacada { font-style: italic; color: var(--azul); font-weight: 600; }

/* ── Historia block ── */
.sm-historia-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 12px;
  border-top: 2px solid var(--gris);
}

.sm-historia-paras { display: flex; flex-direction: column; gap: 16px; }

/* Imagen separadora entre bloques de historia */
.sm-historia-img-wrap {
  width: 100%;
  margin: 10px 0;
}
.sm-historia-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}

/* ── Disciplinas block ── */
.sm-disc-block { border-top: 2px solid var(--gris); padding-top: 12px; }
.sm-disc-block .section-title { margin: 8px 0 36px; }

.sm-disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sm-disc-card {
  background: var(--gris);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  border: 1px solid #eee;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sm-disc-card:hover {
  background: var(--azul);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(36,61,110,.16);
}
.sm-disc-card:hover .sm-disc-title,
.sm-disc-card:hover .sm-disc-desc { color: var(--blanco); }
.sm-disc-card:hover .sm-disc-tools span {
  background: rgba(255,255,255,.15);
  color: var(--blanco);
}
.sm-disc-icon  { font-size: 32px; line-height: 1; }
.sm-disc-title { font-size: 16px; font-weight: 700; color: var(--negro); transition: var(--transition); }
.sm-disc-desc  { font-size: 13px; line-height: 1.65; color: #666; flex-grow: 1; transition: var(--transition); }
.sm-disc-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sm-disc-tools span {
  font-size: 11px; font-weight: 700;
  background: var(--blanco); color: var(--azul);
  padding: 4px 10px; border-radius: 20px;
  transition: var(--transition);
}

/* ── CTA block ── */
.sm-cta-block {
  background: var(--amarillo);
  border-radius: var(--radius-card);
  padding: 30px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.sm-cta-text h2 {
  font-size: clamp(22px, 2.5vw, 20px);
  font-weight: 900;
  color: var(--negro);
  line-height: 1.15;
  margin-bottom: 3px;
}
.sm-cta-text p  { font-size: 16px; color:var(--negro) }
.sm-cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.sm-cta-block .btn           { background: var(--negro); color: var(--blanco); padding: 12px 35px;}
.sm-cta-block .btn:hover     { background: var(--azul); }
.sm-cta-block .btn-outline   { background: rgba(0,0,0,.1); color: var(--negro); }
.sm-cta-block .btn-outline:hover { background: rgba(0,0,0,.18); }

/* ══════════════════════════════════
   COLUMNA DERECHA — SIDEBAR STACK
══════════════════════════════════ */
.sm-sidebar {
  position: sticky;
  top: 90px; /* justo bajo el nav */
}
.sm-sidebar-inner {
  background: var(--gris);
  border-radius: var(--radius-card);
  border: 1px solid #e8e8e8;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sm-sidebar-label {
  font-size: 18px;
  font-weight: 800;
  color: var(--negro);
  margin-bottom: 6px;
}
.sm-sidebar-sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 28px;
  line-height: 1.5;
}
.sm-sidebar-group { margin-bottom: 24px; }
.sm-sidebar-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 12px;
}
.sm-sidebar-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.sm-sidebar-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-chip-sidebar {
  font-size: 12px;
  font-weight: 600;
  background: var(--blanco);
  color: var(--negro);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid #ddd;
  transition: var(--transition);
}

.sm-sidebar-inner .btn { width: 100%; justify-content: center; margin-top: 24px; }

.sm-sidebar-divider {
  height: 1px;
  background: #ddd;
  margin: 8px 0 24px;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .sm-page-wrap {
    grid-template-columns: 1fr 280px;
    padding-left: var(--pad-t);
    padding-right: var(--pad-t);
    gap: 36px;
  }
  .sm-disc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .sm-page-wrap {
    grid-template-columns: 1fr;
    padding: 100px var(--pad-m) 50px;
    gap: 56px;
  }
  .sm-sidebar { position: static; }
  .sm-disc-grid { grid-template-columns: 1fr; }
  .sm-cta-block { flex-direction: column; align-items: flex-start; }
  .sm-cta-actions { flex-direction: column; width: 100%; }
  .sm-cta-actions .btn { width: 100%; justify-content: center; }
}
