/* =====================================================
   MUNDO LOGÍSTICO — Formación práctica en Comercio Exterior
   Estilo: futurista / oscuro, paleta tomada del isotipo real
===================================================== */

:root{
  --navy-950:#050d1a;
  --navy-900:#081527;
  --navy-850:#0a1c35;
  --navy-800:#0d2440;
  --navy-700:#123256;
  --navy-600:#00366e;
  --blue-500:#1a5f9e;
  --teal-500:#06a9b0;
  --teal-400:#1fd0d6;
  --teal-300:#7fe8e6;
  --ink:#eaf6fb;
  --ink-soft:#c3d9ea;
  --muted:#7f9ab8;
  --line:rgba(127,232,230,.16);
  --line-strong:rgba(127,232,230,.32);
  --marfil:#fffff0;
  --marfil-glass:rgba(255,255,240,.14);
  --marfil-glass-strong:rgba(255,255,240,.22);
  --marfil-line:rgba(255,255,240,.28);
  --azul-glass:rgba(26,95,158,.22);
  --azul-glass-strong:rgba(26,95,158,.32);
  --azul-line:rgba(93,164,224,.35);
  --zafiro:#0f52ba;
  --zafiro-glass:rgba(15,82,186,.55);
  --zafiro-glass-soft:rgba(15,82,186,.30);
  --radius:16px;
  --radius-sm:10px;
  --glow: 0 0 0 1px rgba(31,208,214,.25), 0 12px 40px rgba(6,169,176,.12);
  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'JetBrains Mono', monospace;
}

*{box-sizing:border-box;}

html{scroll-behavior:smooth;background:#050d1a;}

html,body{width:100%;overflow-x:hidden;}

body{
  margin:0;
  font-family:var(--font-body);
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(6,169,176,.16), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(26,95,158,.20), transparent 55%),
    var(--navy-950);
  color:var(--ink-soft);
  line-height:1.6;
}

img{max-width:100%;height:auto;display:block;}

a{color:inherit;text-decoration:none;}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--ink);
  margin:0 0 .6rem;
  letter-spacing:.2px;
}

h1{font-size:clamp(2.1rem,4.2vw,3.4rem);line-height:1.08;font-weight:700;}
h2{font-size:clamp(1.6rem,3vw,2.3rem);font-weight:600;}
h3{font-size:1.25rem;font-weight:600;}

p{margin:0 0 1rem;}

.container{max-width:1180px;margin:0 auto;padding:0 24px;}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--teal-300);
  background:rgba(6,169,176,.08);
  border:1px solid var(--line);
  padding:.35rem .85rem;
  border-radius:999px;
}

.eyebrow::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--teal-400);
  box-shadow:0 0 8px var(--teal-400);
}

.section{padding:5.5rem 0;position:relative;}
.section-tight{padding:3.5rem 0;}

.section-head{max-width:640px;margin:0 auto 3rem;text-align:center;}
.section-head p{color:var(--muted);}

.divider{
  height:0;
  background:transparent;
  margin:0 auto;
  max-width:1180px;
}

/* ============ BOTONES ============ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.85rem 1.7rem;
  border-radius:999px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.95rem;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn-primary{
  background:linear-gradient(135deg, var(--teal-500), var(--blue-500));
  color:#04121f;
  box-shadow:0 8px 26px rgba(6,169,176,.28);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(6,169,176,.4);}
.btn-outline{
  background:transparent;
  border-color:var(--line-strong);
  color:var(--ink);
}
.btn-outline:hover{border-color:var(--teal-400);color:var(--teal-300);transform:translateY(-2px);}
.btn-sm{padding:.55rem 1.2rem;font-size:.85rem;}
.btn-block{width:100%;justify-content:center;}

/* ============ NAVBAR ============ */
.nav{
  position:sticky;top:0;z-index:60;
  background:var(--zafiro-glass);
  backdrop-filter:blur(14px);
  border-bottom:none;
}
.nav-inner{
  width:100%;margin:0;padding:.85rem 32px;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.brand{display:flex;align-items:center;gap:.65rem;}
.brand img{height:44px;width:auto;}
.brand-logo-full{height:44px;width:auto;}
@media (max-width:480px){.brand-logo-full{height:38px;}}
.brand-text{font-family:var(--font-display);font-weight:700;font-size:1.02rem;color:var(--ink);line-height:1.1;}
.brand-text span{display:block;font-family:var(--font-mono);font-size:.62rem;letter-spacing:.14em;color:var(--teal-300);font-weight:500;}

.nav-links{display:flex;align-items:center;gap:1.9rem;}
.nav-links a{
  font-size:.88rem;font-weight:500;color:var(--ink-soft);
  position:relative;padding:.3rem 0;transition:color .2s ease;
}
.nav-links a::after{
  content:"";position:absolute;left:0;bottom:-2px;width:0;height:1px;
  background:var(--teal-400);transition:width .25s ease;
}
.nav-links a:hover{color:var(--ink);}
.nav-links a:hover::after,.nav-links a.active::after{width:100%;}
.nav-links a.active{color:var(--teal-300);}

.nav-cta{display:flex;align-items:center;gap:.75rem;}
.nav-toggle{display:none;background:none;border:1px solid var(--line-strong);color:var(--ink);border-radius:8px;padding:.4rem .6rem;font-size:1.1rem;cursor:pointer;}
.nav-link-acceso{display:none;}

@media (max-width:920px){
  .nav-links{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:flex-start;gap:0;
    background:rgba(15,82,186,.72) !important;
    backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
    border-bottom:none;
    padding:0 24px;max-height:0;overflow:hidden;
    transition:max-height .3s ease, padding .3s ease;
  }
  .nav-links.open{max-height:420px;padding:1rem 24px;}
  .nav-links a{padding:.7rem 0;width:100%;border-bottom:none;}
  .nav-link-acceso{
    display:flex;align-items:center;gap:.4rem;
    margin-top:.4rem;padding-top:1rem !important;
    border-top:1px solid var(--marfil-line);color:var(--teal-300);font-weight:600;
  }
  .nav-toggle{display:inline-block;}
  .nav-cta .btn-outline{display:none;}
}

/* ============ HERO / ORBIT SIGNATURE ============ */
.hero{position:relative;padding:5rem 0 4rem;overflow:visible;}
.hero-grid{
  display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;
}
/* Desktop: texto a la izquierda, logo a la derecha */
.hero-card{order:1;}
.hero-logo-wrap{order:2;}
@media (max-width:920px){
  .hero-grid{grid-template-columns:1fr;}
  /* Mobile / tablet: logo arriba, texto abajo */
  .hero-logo-wrap{order:1;}
  .hero-card{order:2;}
}

/* Tarjeta translúcida azul detrás del texto de presentación */
.hero-card{
  background:var(--azul-glass);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid var(--azul-line);
  border-radius:var(--radius);
  padding:2.4rem 2.6rem;
  box-shadow:0 12px 40px rgba(0,0,0,.22);
}
@media (max-width:560px){.hero-card{padding:1.6rem 1.4rem;}}

.hero-kicker{margin-bottom:1.3rem;}
.hero h1{margin-bottom:1.2rem;}
.hero h1 .accent{
  background:linear-gradient(120deg, var(--teal-300), var(--teal-500) 60%, var(--blue-500));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-lead{font-size:1.08rem;color:var(--ink-soft);max-width:520px;}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem;}

.hero-stats{display:flex;gap:2.2rem;margin-top:2.8rem;flex-wrap:wrap;}
.hero-stats .stat b{
  display:block;font-family:var(--font-mono);font-size:1.5rem;color:var(--teal-300);
}
.hero-stats .stat span{font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;}

.orbit-wrap{position:relative;width:100%;aspect-ratio:1/1;max-width:480px;margin:0 auto;}
.orbit-ring{
  position:absolute;inset:0;border-radius:50%;
  border:1px dashed var(--line-strong);
  animation:spin 34s linear infinite;
}
.orbit-ring.r2{inset:11%;border-style:solid;border-color:var(--line);animation-duration:26s;animation-direction:reverse;}
.orbit-ring.r3{inset:24%;border-color:rgba(31,208,214,.22);animation-duration:44s;}
@keyframes spin{to{transform:rotate(360deg);}}
.orbit-node{
  position:absolute;width:12px;height:12px;border-radius:50%;
  background:var(--teal-400);box-shadow:0 0 14px var(--teal-400), 0 0 28px rgba(31,208,214,.5);
  top:-6px;left:50%;
}
.orbit-core{
  position:absolute;inset:34%;border-radius:50%;
  background:radial-gradient(circle at 35% 30%, rgba(31,208,214,.35), rgba(0,54,110,.55) 70%);
  border:1px solid var(--line-strong);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 60px rgba(6,169,176,.25);
}
.orbit-core img{width:90%;filter:drop-shadow(0 0 18px rgba(6,169,176,.5));}

.hero-logo-wrap{
  position:relative;width:160%;max-width:1520px;margin:0 -50% 0 -10%;
  display:flex;align-items:center;justify-content:center;
  align-self:center;
}
.hero-logo-wrap::before{
  content:'';position:absolute;inset:8%;border-radius:50%;
  background:radial-gradient(circle, var(--zafiro-glass-soft), transparent 70%);
  filter:blur(6px);
}
.hero-logo-wrap img{
  position:relative;width:100%;max-width:1440px;height:auto;
  filter:drop-shadow(0 0 40px rgba(15,82,186,.45));
}
@media (max-width:920px){
  .hero-logo-wrap{
    width:100%;max-width:480px;margin:0 auto 1.5rem;
    align-self:center;
  }
  .hero-logo-wrap img{max-width:480px;}
}
.hero-badge{
  position:absolute;right:6%;bottom:6%;z-index:2;
  background:var(--zafiro-glass);backdrop-filter:blur(10px);
  border:1px solid var(--line-strong);border-radius:var(--radius);
  padding:.9rem 1.2rem;text-align:center;box-shadow:var(--glow);
  display:flex;flex-direction:column;gap:.15rem;max-width:220px;
}
.hero-badge-promo{font-size:.68rem;font-weight:700;letter-spacing:.03em;color:var(--acento,#1a5f9e);text-transform:uppercase;}
.hero-badge-label{font-size:.7rem;font-weight:700;letter-spacing:.05em;color:var(--ink-soft);}
.hero-badge-precio{font-family:var(--font-display);font-weight:700;font-size:1.3rem;color:var(--ink);}
.hero-badge-detalle{font-size:.74rem;color:var(--ink-soft);}

/* ============ CARDS GENERALES ============ */
.grid{display:grid;gap:1.6rem;}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
@media (max-width:980px){.grid-4{grid-template-columns:repeat(2,1fr);}.grid-3{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.grid-4,.grid-3,.grid-2{grid-template-columns:1fr;}}

.card{
  background:linear-gradient(180deg, var(--navy-850), var(--navy-900));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.8rem;
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position:relative;
}
.card:hover{transform:translateY(-6px);border-color:var(--line-strong);box-shadow:var(--glow);}

.card-icon{
  width:48px;height:48px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(6,169,176,.12);border:1px solid var(--line);
  color:var(--teal-300);font-size:1.35rem;margin-bottom:1.1rem;
}

.card-modalidad .tag{
  display:inline-block;font-family:var(--font-mono);font-size:.68rem;
  letter-spacing:.08em;color:var(--teal-300);background:rgba(6,169,176,.1);
  border:1px solid var(--line);padding:.2rem .6rem;border-radius:999px;margin-bottom:.9rem;
}
.card ul{list-style:none;margin:1rem 0 0;padding:0;}
.card ul li{
  display:flex;gap:.55rem;align-items:flex-start;font-size:.88rem;color:var(--ink-soft);
  padding:.35rem 0;border-top:1px solid var(--line);
}
.card ul li:first-child{border-top:none;padding-top:0;}
.card ul li i{color:var(--teal-400);margin-top:.15rem;}

.pill-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem;}
.pill{
  font-family:var(--font-mono);font-size:.68rem;letter-spacing:.05em;
  padding:.25rem .65rem;border-radius:999px;border:1px solid var(--line);
  color:var(--muted);
}

/* ============ PROGRAMA CARD (programas.html) ============ */
.programa-card{
  background:linear-gradient(180deg, var(--navy-850), var(--navy-900));
  border:1px solid var(--line);border-radius:var(--radius);
  padding:2rem;display:flex;flex-direction:column;gap:1rem;height:100%;
}
.programa-card .badge-top{
  display:flex;justify-content:space-between;align-items:center;
}
.programa-card .duracion{
  font-family:var(--font-mono);font-size:.75rem;color:var(--muted);
}
.programa-card h3{margin-bottom:.2rem;}
.programa-card .modalidades-mini{display:flex;gap:.4rem;flex-wrap:wrap;margin:.4rem 0 .2rem;}
.mini-tag{
  font-size:.68rem;font-family:var(--font-mono);color:var(--teal-300);
  border:1px solid var(--line);padding:.15rem .5rem;border-radius:6px;
}
.programa-card .footer-card{margin-top:auto;display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid var(--line);}

/* ============ TESTIMONIOS ============ */
.testimonio{
  background:var(--navy-900);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.7rem;position:relative;
}
.testimonio::before{content:"“";position:absolute;top:.6rem;left:1.2rem;font-family:var(--font-display);font-size:2.6rem;color:var(--line-strong);}
.testimonio p{position:relative;z-index:1;font-style:italic;color:var(--ink-soft);}
.testimonio .autor{display:flex;align-items:center;gap:.7rem;margin-top:1rem;}
.avatar{
  width:38px;height:38px;border-radius:50%;
  background:linear-gradient(135deg, var(--teal-500), var(--blue-500));
  display:flex;align-items:center;justify-content:center;font-family:var(--font-mono);font-weight:700;color:#04121f;font-size:.85rem;
}
.autor .nombre{font-weight:600;color:var(--ink);font-size:.9rem;}
.autor .rol{font-size:.76rem;color:var(--muted);}

/* ============ CTA banda ============ */
.cta-band{
  background:linear-gradient(120deg, rgba(6,169,176,.14), rgba(0,54,110,.35));
  border:1px solid var(--line-strong);border-radius:24px;
  padding:3rem;text-align:center;
  position:relative;overflow:hidden;
}
.cta-band::after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(600px 260px at 90% 0%, rgba(31,208,214,.16), transparent 70%);
  pointer-events:none;
}
.cta-band h2{position:relative;}
.cta-band .btn{position:relative;}

/* ============ PROMO banda (insignia "Inscribite por") ============ */
.promo-band{
  background:linear-gradient(120deg, rgba(6,169,176,.14), rgba(0,54,110,.35));
  border:1px solid var(--line-strong);border-radius:24px;
  padding:2.2rem 3rem;text-align:center;
  position:relative;overflow:hidden;
}
.promo-band::after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(600px 260px at 10% 0%, rgba(212,169,79,.16), transparent 70%);
  pointer-events:none;
}
.promo-band-tag{
  position:relative;display:inline-block;text-transform:uppercase;
  font-size:.72rem;font-weight:700;letter-spacing:.06em;
  color:var(--ambar,#d4a94f);margin-bottom:.5rem;
}
.promo-band-label{
  position:relative;font-weight:700;letter-spacing:.06em;
  font-size:.85rem;color:var(--ink-soft);text-transform:uppercase;
}
.promo-band-precio{
  position:relative;font-family:var(--font-display);font-weight:700;
  font-size:2.4rem;color:var(--ink);margin:.15rem 0;
}
.promo-band-detalle{position:relative;font-size:.9rem;color:var(--ink-soft);}

/* ============ FOOTER ============ */
footer{
  background:var(--marfil-glass);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-top:none;
  padding:3.5rem 0 1.5rem;margin-top:4rem;
}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:2.5rem;}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}
.footer-grid h6{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-300);margin-bottom:1rem;}
.footer-grid a, .footer-grid p{font-size:.87rem;color:var(--muted);display:block;margin-bottom:.55rem;}
.footer-grid a:hover{color:var(--teal-300);}
.footer-brand{display:flex;align-items:center;gap:.6rem;margin-bottom:1rem;}
.footer-brand img{height:68px;}
.footer-bottom{
  border-top:none;margin-top:2.5rem;padding-top:1.4rem;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;
  font-size:.78rem;color:var(--muted);
}
.social-row{display:flex;gap:.7rem;}
.social-row a{
  width:34px;height:34px;border-radius:9px;border:1px solid var(--marfil-line);
  display:flex;align-items:center;justify-content:center;color:var(--ink-soft);
  transition:.2s;
}
.social-row a:hover{border-color:var(--teal-400);color:var(--teal-300);}

/* ============ WHATSAPP FLOAT ============ */
.wa-float{
  position:fixed;right:24px;bottom:24px;z-index:70;
  width:56px;height:56px;border-radius:50%;
  background:linear-gradient(135deg,#1fd6a3,#0d8f6f);
  display:flex;align-items:center;justify-content:center;color:#04241a;font-size:1.5rem;
  box-shadow:0 10px 30px rgba(20,180,130,.35);
  animation:float 3s ease-in-out infinite;
}
@keyframes float{0%,100%{transform:translateY(0);}50%{transform:translateY(-6px);}}

/* ============ SCROLL REVEAL ============ */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease, transform .7s ease;}
.reveal.visible{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none;}}

/* ============ PAGE HEADER (paginas internas) ============ */
.page-header{padding:3.4rem 0 2.6rem;text-align:center;position:relative;}
.page-header .eyebrow{margin-bottom:1rem;}
.breadcrumb{font-family:var(--font-mono);font-size:.75rem;color:var(--muted);margin-bottom:1rem;}
.breadcrumb a{color:var(--teal-300);}

/* ============ FORM ELEMENTS ============ */
.form-card{
  background:var(--navy-900);border:1px solid var(--line);border-radius:var(--radius);
  padding:2rem;
}
label{display:block;font-size:.82rem;color:var(--ink-soft);margin-bottom:.4rem;font-weight:500;}
.field{margin-bottom:1.2rem;}
input, select, textarea{
  width:100%;background:var(--navy-850);border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:.75rem .95rem;color:var(--ink);
  font-family:var(--font-body);font-size:.92rem;outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus{border-color:var(--teal-400);box-shadow:0 0 0 3px rgba(31,208,214,.15);}
input::placeholder, textarea::placeholder{color:var(--muted);}
textarea{resize:vertical;min-height:110px;}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237fe8e6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center;}

.auth-shell{
  min-height:100vh;display:flex;align-items:center;justify-content:center;padding:3rem 1.2rem;
  position:relative;overflow:hidden;
}
.auth-card{
  width:100%;max-width:440px;background:var(--navy-900);
  border:1px solid var(--line-strong);border-radius:20px;padding:2.4rem;
  box-shadow:0 20px 60px rgba(0,0,0,.4);position:relative;z-index:1;
}
.auth-logo{display:flex;flex-direction:column;align-items:center;gap:.6rem;margin-bottom:1.6rem;}
.auth-logo img{height:52px;}
.auth-links{display:flex;justify-content:space-between;font-size:.82rem;margin-top:1.2rem;}
.auth-links a{color:var(--teal-300);}

/* ============ PANEL PRIVADO ============ */
.panel-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh;}
@media (max-width:880px){.panel-shell{grid-template-columns:1fr;}}
.panel-side{
  background:var(--navy-900);border-right:1px solid var(--line);
  padding:1.6rem 1.2rem;position:sticky;top:0;height:100vh;
}
@media (max-width:880px){.panel-side{position:relative;height:auto;border-right:none;border-bottom:1px solid var(--line);}}
.panel-side .brand{margin-bottom:1.8rem;padding:0 .4rem;}
.panel-nav a{
  display:flex;align-items:center;gap:.7rem;padding:.7rem .8rem;border-radius:10px;
  font-size:.88rem;color:var(--ink-soft);margin-bottom:.3rem;
}
.panel-nav a i{width:18px;text-align:center;color:var(--teal-300);}
.panel-nav a:hover{background:rgba(6,169,176,.08);color:var(--ink);}
.panel-nav a.active{background:rgba(6,169,176,.14);color:var(--ink);border:1px solid var(--line);}
.panel-main{padding:2.4rem 2.6rem;}
@media (max-width:640px){.panel-main{padding:1.6rem 1.2rem;}}
.panel-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem;}
.user-chip{display:flex;align-items:center;gap:.7rem;font-size:.85rem;}

.stat-card{
  background:var(--navy-850);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.4rem;
}
.stat-card b{display:block;font-family:var(--font-mono);font-size:1.6rem;color:var(--teal-300);}
.stat-card span{font-size:.78rem;color:var(--muted);}

.progress-track{height:8px;border-radius:999px;background:var(--navy-800);overflow:hidden;border:1px solid var(--line);}
.progress-fill{height:100%;background:linear-gradient(90deg,var(--teal-500),var(--teal-300));border-radius:999px;}

.modulo-row{
  display:flex;align-items:center;gap:1rem;padding:1rem 0;border-top:1px solid var(--line);
}
.modulo-row:first-child{border-top:none;}
.modulo-check{
  width:30px;height:30px;border-radius:50%;border:1px solid var(--line-strong);
  display:flex;align-items:center;justify-content:center;font-size:.85rem;flex-shrink:0;
}
.modulo-check.done{background:rgba(6,169,176,.18);color:var(--teal-300);border-color:var(--teal-400);}
.modulo-check.pending{color:var(--muted);}

/* ============ AGENDA / TABLERO DE SALIDAS ============ */
.board{
  background:linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border:1px solid var(--line-strong);
  border-radius:20px;
  padding:0;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
}
.board-head{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;
  padding:1.3rem 1.8rem;
  background:rgba(6,169,176,.06);
  border-bottom:1px solid var(--line);
}
.board-head .live{
  display:flex;align-items:center;gap:.5rem;font-family:var(--font-mono);font-size:.72rem;color:var(--teal-300);letter-spacing:.1em;text-transform:uppercase;
}
.blink-dot{width:7px;height:7px;border-radius:50%;background:#34e37a;box-shadow:0 0 8px #34e37a;animation:blink 1.6s ease-in-out infinite;}
@keyframes blink{0%,100%{opacity:1;}50%{opacity:.25;}}

.board-filters{display:flex;gap:.5rem;padding:1rem 1.8rem;flex-wrap:wrap;border-bottom:1px solid var(--line);}
.filtro-chip{
  font-family:var(--font-mono);font-size:.74rem;letter-spacing:.04em;
  padding:.45rem 1rem;border-radius:999px;border:1px solid var(--line);
  color:var(--ink-soft);cursor:pointer;transition:.2s;background:transparent;
}
.filtro-chip:hover{border-color:var(--line-strong);}
.filtro-chip.active{background:rgba(6,169,176,.16);border-color:var(--teal-400);color:var(--teal-300);}

.board-table-wrap{overflow-x:auto;}
.board-table{width:100%;border-collapse:collapse;min-width:760px;}
.board-table thead th{
  text-align:left;font-family:var(--font-mono);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);padding:.9rem 1.8rem;border-bottom:1px solid var(--line);
}
.board-table tbody td{
  padding:1.1rem 1.8rem;border-bottom:1px solid var(--line);font-size:.9rem;color:var(--ink-soft);vertical-align:middle;
}
.board-table tbody tr{transition:background .2s ease;}
.board-table tbody tr:hover{background:rgba(6,169,176,.05);}
.board-table tbody tr:last-child td{border-bottom:none;}

.fecha-cell b{color:var(--ink);font-family:var(--font-mono);display:block;font-size:.95rem;}
.fecha-cell span{font-size:.74rem;color:var(--muted);}

.flip{
  display:inline-flex;font-family:var(--font-mono);font-weight:700;font-size:1rem;
  background:var(--navy-950);border:1px solid var(--line-strong);border-radius:6px;
  padding:.3rem .55rem;color:var(--teal-300);min-width:2.4rem;justify-content:center;
}

.estado-badge{
  display:inline-flex;align-items:center;gap:.4rem;font-family:var(--font-mono);
  font-size:.7rem;letter-spacing:.05em;padding:.3rem .7rem;border-radius:999px;
  text-transform:uppercase;
}
.estado-badge.disponible{background:rgba(52,227,122,.14);color:#7cf0a8;}
.estado-badge.pocas{background:rgba(255,183,77,.14);color:#ffc266;}
.estado-badge.completo{background:rgba(255,99,99,.14);color:#ff9b9b;}
.estado-dot{width:6px;height:6px;border-radius:50%;background:currentColor;}

.cupos-bar{width:100px;height:6px;border-radius:999px;background:var(--navy-800);overflow:hidden;margin-top:.4rem;border:1px solid var(--line);}
.cupos-bar div{height:100%;border-radius:999px;}

.board-legend{
  display:flex;gap:1.6rem;flex-wrap:wrap;padding:1.2rem 1.8rem;font-size:.78rem;color:var(--muted);
}
.board-legend span{display:flex;align-items:center;gap:.4rem;}
.legend-dot{width:8px;height:8px;border-radius:50%;}

/* ============ FAQ ============ */
.faq-item{border-top:1px solid var(--line);padding:1.3rem 0;}
.faq-item:first-child{border-top:none;}
.faq-q{
  display:flex;justify-content:space-between;align-items:center;cursor:pointer;
  font-weight:600;color:var(--ink);font-size:1rem;
}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;color:var(--muted);font-size:.9rem;}
.faq-item.open .faq-a{max-height:220px;padding-top:.8rem;}
.faq-q i{transition:transform .25s ease;color:var(--teal-300);}
.faq-item.open .faq-q i{transform:rotate(45deg);}

/* ============ TIMELINE (metodologia) ============ */
.timeline{position:relative;padding-left:2.2rem;}
.timeline::before{content:"";position:absolute;left:9px;top:6px;bottom:6px;width:1px;background:var(--line-strong);}
.timeline-item{position:relative;padding-bottom:2rem;}
.timeline-item:last-child{padding-bottom:0;}
.timeline-item::before{
  content:"";position:absolute;left:-2.2rem;top:.15rem;width:18px;height:18px;border-radius:50%;
  background:var(--navy-950);border:2px solid var(--teal-400);box-shadow:0 0 12px rgba(31,208,214,.5);
}

/* ============ UTILIDADES ============ */
.text-center{text-align:center;}
.mt-2{margin-top:2rem;}
.mb-0{margin-bottom:0;}
.flex-between{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;}
