:root{--pink:#e84b88;--hot:#ff146f;--orange:#ff9a3d;--teal:#20c8c7;--dark:#101119;--muted:#646674;--paper:#fff8f1;--white:#fff;--shadow:0 20px 60px rgba(16,17,25,.14);--radius:28px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--dark);background:linear-gradient(135deg,#fff 0%,#fff4f8 48%,#fff7ed 100%)}
a{color:inherit;text-decoration:none}
.hero{min-height:90vh;padding:26px clamp(18px,4vw,70px);background:radial-gradient(circle at 15% 20%,rgba(232,75,136,.22),transparent 30%),radial-gradient(circle at 90% 10%,rgba(32,200,199,.22),transparent 26%),linear-gradient(135deg,#fff,#fff1f6)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px}
.logo{width:210px;height:auto;display:block;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain}
.nav-actions{display:flex;gap:10px;flex-wrap:wrap}
.nav-actions a{padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.7);font-weight:800}
.hero-content{display:grid;grid-template-columns:1.2fr .8fr;gap:44px;align-items:center;max-width:1180px;margin:80px auto 0}
.badge,.eyebrow{display:inline-flex;padding:8px 14px;border-radius:999px;background:#111;color:#fff;font-weight:900;letter-spacing:.03em;text-transform:uppercase;font-size:.78rem}
h1{font-size:clamp(2.7rem,7vw,6rem);line-height:.9;margin:22px 0;text-transform:uppercase;letter-spacing:-.06em}
h2{font-size:clamp(2rem,4vw,3.5rem);line-height:.95;margin:12px 0}
p{font-size:1.08rem;line-height:1.65;color:var(--muted)}
.hero-buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.btn{border:0;border-radius:999px;padding:15px 22px;font-weight:950;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:.2s}
.primary{background:linear-gradient(135deg,var(--hot),var(--orange));color:white;box-shadow:0 14px 30px rgba(255,20,111,.28)}
.secondary{background:#fff;color:#111;box-shadow:0 12px 30px rgba(0,0,0,.08)}
.danger{background:#111;color:#fff}
.full{width:100%;font-size:1rem}
.hero-card{background:white;border-radius:var(--radius);padding:30px;text-align:center;box-shadow:var(--shadow);transform:rotate(1.5deg)}
.hero-card img{width:min(100%,360px);border-radius:22px}
.hero-card h2{color:var(--hot);font-size:3rem}
.section{max-width:1180px;margin:0 auto;padding:72px clamp(18px,4vw,32px)}
.section-title{text-align:center;max-width:760px;margin:0 auto 36px}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.course-card{border-radius:var(--radius);padding:32px;color:white;box-shadow:var(--shadow);min-height:270px;display:flex;flex-direction:column;justify-content:space-between}
.course-card.pink{background:linear-gradient(135deg,#15151d,var(--hot))}
.course-card.orange{background:linear-gradient(135deg,#15151d,var(--orange))}
.time{display:inline-flex;width:max-content;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.17);font-weight:950}
.course-card h3{font-size:2.2rem;line-height:.95;margin:20px 0 8px}
.course-card p{color:rgba(255,255,255,.85)}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.info-grid div{background:white;border-radius:22px;padding:22px;box-shadow:0 10px 30px rgba(0,0,0,.07)}
.info-grid strong,.info-grid span{display:block}
.info-grid span{color:var(--muted);margin-top:8px}
.form-section{display:grid;grid-template-columns:.75fr 1.25fr;gap:34px;align-items:start}
.form-card,.admin-card{background:white;border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
label{display:block;font-weight:850;margin-bottom:18px}
input,select,textarea{width:100%;margin-top:8px;border:2px solid #f0e7df;border-radius:16px;padding:14px 15px;font:inherit;background:#fff;color:#111}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--pink)}
.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.checkbox{display:flex;gap:10px;align-items:flex-start;font-weight:700;color:#333}
.checkbox input{width:auto;margin-top:4px}
.status{margin-top:18px;border-radius:18px;padding:0;font-weight:900;line-height:1.45;color:var(--hot)}
.status.success{padding:18px 20px;color:#0f5132;background:#d1e7dd;border:1px solid #badbcc}
.status.error{padding:18px 20px;color:#842029;background:#f8d7da;border:1px solid #f5c2c7}
.status.is-loading{padding:18px 20px;color:#664d03;background:#fff3cd;border:1px solid #ffecb5}
.admin-login{display:flex;gap:12px}
.admin-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.hidden{display:none}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse;min-width:780px}
th,td{text-align:left;padding:13px;border-bottom:1px solid #eee}
th{background:#fff4f8}
.whatsapp-float{position:fixed!important;right:22px!important;bottom:24px!important;width:64px!important;height:64px!important;border-radius:50%!important;background:#25D366!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;box-shadow:0 16px 36px rgba(0,0,0,.26)!important;z-index:9999!important;transition:transform .2s ease,box-shadow .2s ease}
.whatsapp-float:hover{transform:translateY(-4px) scale(1.05);box-shadow:0 20px 44px rgba(0,0,0,.30)}
.whatsapp-float svg,.whatsapp-icon{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important;display:block!important;fill:#fff!important;flex-shrink:0!important}
.back-to-top{position:fixed!important;right:31px!important;bottom:102px!important;width:48px!important;height:48px!important;border:0!important;border-radius:50%!important;background:#111!important;color:#fff!important;font-size:26px!important;line-height:48px!important;font-weight:950!important;box-shadow:0 14px 30px rgba(0,0,0,.24)!important;cursor:pointer!important;opacity:1;pointer-events:auto;transform:translateY(0);transition:transform .2s ease,opacity .2s ease;z-index:9998!important}
.back-to-top.is-hidden{opacity:0;pointer-events:none;transform:translateY(12px)}
.back-to-top:hover{transform:translateY(-4px)}
.hidden-admin{display:none}
.admin-access{display:none!important}
.admin-access:hover{background:#111!important}
@media(max-width:820px){
  .hero{padding:18px}
  .topbar{align-items:flex-start}
  .nav-actions{justify-content:flex-end}
  .hero-content,.form-section{grid-template-columns:1fr;margin-top:45px}
  .cards,.info-grid,.two-cols{grid-template-columns:1fr}
  .logo{width:165px}
  h1{font-size:3.2rem}
  .section{padding:48px 18px}
  .admin-login{flex-direction:column}
  .whatsapp-float{right:16px!important;bottom:18px!important;width:58px!important;height:58px!important}
  .whatsapp-float svg,.whatsapp-icon{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important}
  .back-to-top{right:21px!important;bottom:88px!important;width:44px!important;height:44px!important;line-height:44px!important;font-size:24px!important}
}


/* Patch final logo transparent AS Latinos */
.logo{
  width:210px!important;
  height:auto!important;
  display:block!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  object-fit:contain!important;
}
@media(max-width:820px){
  .logo{width:165px!important;}
}
