:root{
  --bg:#f4f7fb;
  --surface:#ffffff;
  --surface-soft:#eef7f3;
  --surface-alt:#f8fbfd;
  --text:#11213c;
  --muted:#5f6f86;
  --line:#e4ebf3;
  --brand:#0e8b68;
  --brand-dark:#08634a;
  --brand-soft:#dff4ec;
  --shadow:0 18px 40px rgba(15,23,42,.08);
  --radius:24px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,Arial,Helvetica,sans-serif;background:linear-gradient(180deg,#f9fbfd 0%, #f3f6fb 100%);color:var(--text)}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{
  width:min(1180px, calc(100% - 64px));
  margin:0 auto;
}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid rgba(228,235,243,.8)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:88px}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand img{width:56px;height:56px;border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.brand-title{display:block;font-size:18px;font-weight:900;letter-spacing:.01em}
.brand-subtitle{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.menu-toggle{display:none;border:none;background:#fff;padding:10px 14px;border-radius:14px;box-shadow:var(--shadow);font-size:20px}
.main-nav{display:flex;align-items:center;gap:22px}
.main-nav>a,.dropdown-toggle{font-weight:700;color:var(--text);padding:8px 0;position:relative}
.main-nav>a.active,.dropdown-toggle.active,.main-nav>a:hover,.dropdown-toggle:hover{color:var(--brand)}
.main-nav>a.active::after,.dropdown-toggle.active::after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:3px;border-radius:999px;background:var(--brand)}
.nav-dropdown{position:relative}
.dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:230px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:10px}
.dropdown-menu a{display:block;padding:12px 14px;border-radius:12px;font-weight:700}
.dropdown-menu a:hover{background:var(--brand-soft);color:var(--brand)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border-radius:999px;background:linear-gradient(135deg,var(--brand),var(--brand-dark));color:#fff;font-weight:800;border:none;box-shadow:0 14px 28px rgba(14,139,104,.23);cursor:pointer}
.btn:hover{transform:translateY(-1px)}
.btn-outline{background:#fff;color:var(--brand);border:2px solid var(--brand);box-shadow:none}
.btn-nav{padding:11px 16px;font-size:14px}
.lang-switch{display:flex;gap:10px}
.lang-switch a{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:800}
.lang-switch a.active,.lang-switch a:hover{background:var(--brand-soft);color:var(--brand);border-color:#cbe9dd}
.page-shell{padding:34px 0 70px}
.eyebrow{display:inline-block;padding:10px 14px;background:var(--brand-soft);color:var(--brand);border-radius:999px;font-size:13px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;margin-bottom:18px}
.hero{padding:16px 0 10px}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}
.hero h1{font-size:64px;line-height:.98;margin:0 0 20px;letter-spacing:-.04em}
.hero p{font-size:24px;line-height:1.55;color:var(--muted);margin:0}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin:30px 0 24px}
.hero-points{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hero-point,.hero-card,.card,.price-card,.video-card,.info-card,.contact-card,.admin-card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.hero-point{padding:20px}
.hero-point strong{display:block;font-size:20px;margin-bottom:8px}
.hero-point span{display:block;color:var(--muted);line-height:1.5}
.hero-card{padding:30px;background:linear-gradient(180deg,#fff 0%, #eff8f4 100%)}
.hero-card h3{margin:0 0 14px;font-size:38px}
.hero-card ul{margin:0;padding-left:22px;line-height:1.8;font-size:20px}
.section-block{margin:54px 0}
.section-head{margin-bottom:22px}
.section-head h2{margin:0 0 12px;font-size:48px;line-height:1.05}
.section-head p{margin:0;color:var(--muted);font-size:22px;line-height:1.55}
.cards,.video-grid,.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card,.video-card,.price-card,.info-card,.contact-card,.admin-card{padding:30px}
.card h3,.video-card h3,.price-card h3,.info-card h3,.contact-card h3,.admin-card h3{margin:0 0 12px;font-size:30px}
.card p,.video-card p,.price-card p,.info-card p,.contact-card p,.admin-card p,.muted{color:var(--muted);line-height:1.65;font-size:18px}
.text-link{display:inline-block;margin-top:14px;color:var(--brand);font-weight:900}
.promo-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin:42px 0}
.promo-box{padding:30px;border-radius:var(--radius);background:linear-gradient(135deg,#0e8b68 0%, #0b5f48 100%);color:#fff;box-shadow:0 18px 36px rgba(14,139,104,.22)}
.promo-box h2{margin:0 0 12px;font-size:34px}
.promo-box p{margin:0;color:rgba(255,255,255,.93);font-size:18px;line-height:1.6}
.ad-carousel{position:relative;overflow:hidden;border-radius:28px;background:linear-gradient(180deg,#eef8f4 0%, #e7f2ee 100%);border:1px solid #d9ece4;box-shadow:var(--shadow);padding:24px}
.ad-track{display:flex;transition:transform .6s ease}
.ad-slide{min-width:100%;padding:24px 16px 28px;text-align:center}
.ad-slide h2{font-size:52px;margin:14px 0}
.ad-slide p{max-width:820px;margin:0 auto 18px;font-size:22px;line-height:1.6;color:#546577}
.ad-badges{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.ad-badge{padding:8px 12px;border-radius:999px;background:#fff;color:var(--brand);font-size:13px;font-weight:900;border:1px solid #d7ebe3}
.ad-dots{display:flex;justify-content:center;gap:10px;margin-top:8px}
.ad-dot{width:12px;height:12px;border-radius:999px;background:#bfded2;cursor:pointer}.ad-dot.active{background:var(--brand)}
.price{font-size:56px;font-weight:900;margin:12px 0;color:var(--text)} .price small{font-size:20px;color:var(--muted)}
.price-card.featured{border:2px solid #cbe8dd;transform:translateY(-6px)}
.notice{padding:16px 18px;border-radius:18px;background:#edf8f3;border:1px solid #d7ece3;color:#23463a}
.list{margin:18px 0 0;padding-left:20px}.list li{margin:8px 0;color:var(--muted);font-size:18px}
.video-card video{width:100%;aspect-ratio:16/9;background:#101010;border-radius:18px;object-fit:cover;margin:14px 0 0}
.video-meta{margin-top:14px;font-size:15px;color:var(--muted)}
.video-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:stretch;margin-bottom:28px}
.video-hero .video-highlight{padding:30px;background:linear-gradient(135deg,#0e8b68 0%, #0a6a50 100%);border-radius:var(--radius);color:#fff;box-shadow:0 18px 36px rgba(14,139,104,.22)}
.video-highlight h2{margin:0 0 12px;font-size:46px}.video-highlight p{font-size:20px;line-height:1.65;color:rgba(255,255,255,.92)}
.checklist{list-style:none;padding:0;margin:18px 0 0}.checklist li{margin:10px 0;padding-left:28px;position:relative}.checklist li::before{content:"✓";position:absolute;left:0;top:0;color:#7ff5cc;font-weight:900}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field-full{grid-column:1/-1}
.form label{display:block;font-weight:700;font-size:14px;color:var(--text)}
.form input,.form select,.form textarea{width:100%;margin-top:8px;padding:14px 16px;border-radius:16px;border:1px solid #d7e1eb;background:#fff;font-size:16px}
.form textarea{min-height:150px;resize:vertical}
.checkline{display:flex;gap:10px;align-items:flex-start;margin-top:8px}.checkline input{width:auto;margin-top:2px}
.btn[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}
.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}
.kpi{padding:24px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)} .kpi strong{display:block;font-size:40px}.kpi span{color:var(--muted)}
.site-footer{margin-top:54px;padding:46px 0 18px;background:#0f1728;color:#e9eef8}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:24px}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:10px 0}.footer-links a{color:#dce4ef}.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:22px;padding-top:18px;color:#aab5c7}
@media(max-width:1100px){.hero h1{font-size:50px}.section-head h2{font-size:40px}.ad-slide h2{font-size:42px}.hero-grid,.video-hero,.two-col{grid-template-columns:1fr}.cards,.pricing-grid,.video-grid{grid-template-columns:1fr 1fr}}
@media(max-width:860px){.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:88px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:18px 4%;flex-direction:column;align-items:flex-start;gap:14px}.main-nav.open{display:flex}.nav-dropdown{width:100%}.dropdown-menu{position:static;display:block;box-shadow:none;border:none;padding:8px 0 0 12px;background:transparent}.hero h1{font-size:42px}.hero p,.section-head p,.ad-slide p{font-size:18px}.hero-points,.cards,.video-grid,.pricing-grid,.promo-strip,.footer-grid,.form-grid,.kpi-row{grid-template-columns:1fr}}
@media(max-width:560px){.brand-title{font-size:16px}.brand-subtitle{display:none}.hero h1{font-size:36px}.section-head h2{font-size:34px}.video-highlight h2,.ad-slide h2{font-size:34px}.card h3,.video-card h3,.price-card h3,.info-card h3{font-size:24px}.price{font-size:42px}}


/* === AJUSTES MARZO 2026 === */
.site-header{
  background:linear-gradient(135deg, rgba(230,244,239,.96) 0%, rgba(244,249,247,.94) 55%, rgba(255,255,255,.92) 100%);
  border-bottom:1px solid rgba(196,224,212,.9);
}
.header-highlight-strip{
  background:linear-gradient(180deg,#edf7f3 0%, #f7fbf9 100%);
  border-bottom:1px solid #deebe5;
}
.highlight-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  padding:16px 0;
}
.highlight-chip{
  background:rgba(255,255,255,.9);
  border:1px solid #dbeae4;
  border-radius:18px;
  padding:16px 18px;
  box-shadow:0 10px 22px rgba(15,23,42,.04);
}
.highlight-chip strong{
  display:block;
  font-size:18px;
  margin-bottom:4px;
  color:var(--text);
}
.highlight-chip span{
  display:block;
  color:var(--muted);
  line-height:1.45;
  font-size:14px;
}
.featured-service{
  background:linear-gradient(180deg,#ffffff 0%, #eff8f4 100%);
  border-color:#d5ebe2;
}
.soft-box{
  background:linear-gradient(135deg,#1a7e69 0%, #0f6651 100%);
}
.service-callout{
  background:linear-gradient(180deg,#ffffff 0%, #f1f7f4 100%);
}
.admin-table{width:100%;border-collapse:collapse}
.admin-table th,
.admin-table td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:15px}
.admin-table th{font-size:14px;text-transform:uppercase;letter-spacing:.03em;color:#526173;background:#f8fbfd}
.admin-table tr:hover td{background:#fbfefd}
@media(max-width:860px){
  .highlight-grid{grid-template-columns:1fr;}
}

.admin-stat-card{
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  background:linear-gradient(180deg,#ffffff 0%, #eef8f4 100%);
}

.admin-stat-label{
  font-size:16px;
  color:#667085;
  margin-bottom:14px;
  font-weight:700;
}

.admin-stat-number{
  font-size:52px;
  line-height:1;
  font-weight:900;
  color:#0f8a68;
}

.admin-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:14px;
}

.admin-list-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border:1px solid #e6ebf2;
  border-radius:14px;
  background:#f9fbfd;
}

.admin-list-row span{
  color:#223046;
  font-weight:600;
}

.admin-list-row strong{
  color:#0f8a68;
  font-size:18px;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  min-width:950px;
}

.admin-table thead th{
  background:#eef7f3;
  color:#142033;
  text-align:left;
  padding:14px 12px;
  border-bottom:2px solid #dce9e2;
  font-size:14px;
}

.admin-table tbody td{
  padding:14px 12px;
  border-bottom:1px solid #e8edf3;
  font-size:14px;
  color:#334155;
}

.admin-table tbody tr:hover{
  background:#f8fbfd;
}

.hero,
.section-block{
  padding-left:8px;
  padding-right:8px;
}

.container{
padding-left:16px;
padding-right:16px;
}

.site-header{
  background:#eef8f4;
  border-bottom:1px solid #dbe9e3;
}

.header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
  min-height:96px;
}

.site-header .container.header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:22px;
  min-height:96px;
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:16px;
  justify-self:start;
  align-self:center;
  margin:0;
  padding:0;
  min-width:0;
}

.logo-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  margin:0;
  padding:0;
}

.site-logo{
  display:block;
  max-height:62px;
  width:auto;
  height:auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1.15;
  margin:0;
  min-width:0;
}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  flex-wrap:nowrap;
  min-width:0;
}

.main-nav > a,
.main-nav .dropdown-toggle{
  white-space:nowrap;
}

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  justify-self:end;
  flex-wrap:nowrap;
}




.brand-text strong{
  font-size:18px;
  line-height:1.1;
  color:#142033;
}

.brand-text span{
  font-size:13px;
  color:#5f6b7a;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:22px;
}

.main-nav a{
  color:#142033;
  font-weight:700;
  text-decoration:none;
}

.main-nav a.active{
  color:#0f8a68;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.btn-outline{
  border:2px solid #0f8a68;
  color:#0f8a68;
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  background:#fff;
}

.lang{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  color:#142033;
  border:1px solid #d8e2dd;
  background:#fff;
}

.lang.active{
  background:#dff1ea;
  color:#0f8a68;
}

.container{
  width:min(1180px, calc(100% - 64px));
  margin:0 auto;
}

.hero,
.section-block{
  padding-left:8px;
  padding-right:8px;
}

.ad-rotator{
  position:relative;
  max-width:100%;
  min-height:320px;
}

.ad-slide{
  display:none;
  text-align:center;
  padding:42px 28px;
  background:linear-gradient(180deg,#edf8f4 0%, #e7f4ef 100%);
  border:1px solid #dbece6;
  border-radius:26px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.ad-slide.active{
  display:block;
}

.ad-slide h2{
  font-size:46px;
  margin:12px 0 14px;
  color:#142033;
}

.ad-slide p{
  max-width:820px;
  margin:0 auto 22px;
  font-size:22px;
  line-height:1.6;
  color:#516170;
}

@media (max-width: 768px){
  .ad-slide h2{
    font-size:32px;
  }

  .ad-slide p{
    font-size:18px;
  }
}

/* ===== Carrusel publicitario robusto ===== */
.ad-carousel{
  position:relative;
  background:linear-gradient(180deg,#edf8f4 0%, #e7f4ef 100%);
  border:1px solid #dbece6;
  border-radius:26px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  padding:42px 28px 78px;
  min-height:340px;
  overflow:hidden;
}

.ad-slide{
  display:none;
  text-align:center;
  max-width:900px;
  margin:0 auto;
}

.ad-slide.is-active{
  display:block;
}

.ad-slide h2{
  font-size:46px;
  margin:12px 0 14px;
  color:#142033;
}

.ad-slide p{
  max-width:820px;
  margin:0 auto 22px;
  font-size:22px;
  line-height:1.6;
  color:#516170;
}

.ad-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:24px;
  display:flex;
  justify-content:center;
  gap:10px;
}

.ad-dot{
  width:14px;
  height:14px;
  border:none;
  border-radius:999px;
  background:#b8d8cd;
  cursor:pointer;
}

.ad-dot.is-active{
  background:#0f8a68;
}

@media (max-width:768px){
  .ad-slide h2{
    font-size:32px;
  }

  .ad-slide p{
    font-size:18px;
  }

  .ad-carousel{
    padding:28px 18px 68px;
    min-height:360px;
  }
}


/* ===== Ofertas de lanzamiento ===== */
.launch-offers{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
  margin-top: 12px;
}

.launch-card{
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(135deg,#0f8a68 0%, #0b5f48 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(15,138,104,.22);
}

.launch-card h3{
  margin: 0 0 12px;
  font-size: 30px;
}

.launch-card p{
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.92);
}

@media (max-width: 768px){
  .ad-carousel{
    padding: 26px 18px 62px;
    min-height: 360px;
  }

  .ad-carousel-slide h2{
    font-size: 32px;
  }

  .ad-carousel-slide p{
    font-size: 18px;
  }

  .launch-offers{
    grid-template-columns: 1fr;
  }

  .launch-card h3{
    font-size: 24px;
  }
}

.form-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.form-group label{
  font-weight:700;
  color:#142033;
}

.form-control{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid #d9e3ea;
  border-radius:12px;
  background:#fff;
  font-size:16px;
}

@media (max-width:768px){
  .form-row{
    grid-template-columns:1fr;
  }
}

.form-group label{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.heard-about-group{
  min-width: 280px;
}


.dashboard-charts-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.chart-card{
  min-height:420px;
}

.chart-card h3{
  margin-top:0;
  margin-bottom:18px;
}

.chart-card canvas{
  width:100% !important;
  height:320px !important;
}

@media (max-width:900px){
  .dashboard-charts-grid{
    grid-template-columns:1fr;
  }
}


/* ===== Actualización del header el 04-10-2026 ===== */

.header-actions .lang{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:64px;
  height:44px;
  padding:0 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  font-weight:800;
  line-height:1;
}

.header-actions .lang .flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  line-height:1;
}

.header-actions .lang .code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}


.header-actions .lang{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:64px;
  height:44px;
  padding:0 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #d8e2dc;
  color:#16324f;
  font-weight:800;
  line-height:1;
  transition:all .2s ease;
}

.header-actions .lang .flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  line-height:1;
}

.header-actions .lang .code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.header-actions .lang:hover{
  background:#fff;
  border-color:#0b7a5c;
  color:#0b7a5c;
  box-shadow:0 4px 12px rgba(11,122,92,.10);
}

.header-actions .lang.active{
  background:#fff;
  border:2px solid #0b7a5c;
  color:#0b7a5c;
  box-shadow:0 4px 12px rgba(11,122,92,.10);
}

/* ===== HOME FINAL ÚNICO ===== */
.page-shell{
  padding:0 0 70px !important;
}

.home-page{
  overflow-x:hidden !important;
}

.site-header{
  position:sticky !important;
  top:0 !important;
  z-index:80 !important;
  background:#eef8f4 !important;
}

.site-header .container.header-inner{
  width:min(1320px, calc(100% - 48px)) !important;
  margin:0 auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  min-height:88px !important;
}

.logo-wrap{
  justify-self:start !important;
  margin-left:0 !important;
  margin-right:auto !important;
}

.home-container{
  width:min(1320px, calc(100% - 48px)) !important;
  margin:0 auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

.home-page .hero,
.home-page .section-block{
  padding-left:0 !important;
  padding-right:0 !important;
}

/* CINTILLOS: visibles sin montarse */
.home-page .usa-time-bar{
  position:relative !important;
  top:auto !important;
  z-index:1 !important;
  margin:0 0 8px !important;
  background:linear-gradient(135deg,#e7f5ef 0%, #f2fbf7 100%) !important;
  border:1px solid #d5eae1 !important;
  border-radius:18px !important;
  box-shadow:var(--shadow) !important;
}

.home-page .usa-time-inner{
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) !important;
  align-items:center !important;
  gap:10px !important;
  padding:8px 14px !important;
}

.home-page .usa-time-date{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  white-space:nowrap !important;
  color:#16324f !important;
  font-size:14px !important;
  font-weight:700 !important;
}

.home-page .usa-time-zones{
  display:grid !important;
  grid-auto-flow:column !important;
  grid-auto-columns:max-content !important;
  gap:8px !important;
  align-items:center !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scrollbar-width:none !important;
}

.home-page .usa-time-zones::-webkit-scrollbar{
  display:none !important;
}

.home-page .usa-time-zones span{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  padding:5px 9px !important;
  border-radius:999px !important;
  background:#fff !important;
  border:1px solid #d8e2dc !important;
  color:#16324f !important;
  white-space:nowrap !important;
  font-size:14px !important;
  font-weight:700 !important;
}

.home-page .news-ticker-bar{
  position:relative !important;
  top:auto !important;
  z-index:1 !important;
  margin:0 0 18px !important;
  background:#08221a !important;
  color:#fff !important;
  border-radius:18px !important;
  overflow:hidden !important;
  box-shadow:var(--shadow) !important;
}

.home-page .news-ticker-inner{
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) !important;
  align-items:center !important;
  gap:12px !important;
  padding:10px 16px !important;
}

.home-page .news-ticker-label{
  white-space:nowrap !important;
  font-weight:900 !important;
}

.home-page .news-ticker-track{
  overflow:hidden !important;
  min-width:0 !important;
}

.home-page .news-ticker-marquee{
  display:inline-flex !important;
  gap:28px !important;
  align-items:center !important;
  white-space:nowrap !important;
  min-width:max-content !important;
  animation:newsTickerScroll 32s linear infinite !important;
}

.home-page .news-ticker-marquee a{
  color:#fff !important;
  text-decoration:none !important;
  font-weight:700 !important;
}

@keyframes newsTickerScroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* LAYOUT GENERAL */
.home-page .home-layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 300px !important;
  gap:18px !important;
  align-items:start !important;
}

.home-page .main-column{
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  overflow:hidden !important;
  padding-right:0 !important;
}

.home-page .main-column > *,
.home-page .main-column section,
.home-page .main-column .card,
.home-page .main-column .contact-card,
.home-page .main-column .search-card,
.home-page .main-column .home-featured,
.home-page .main-column .home-categories,
.home-page .main-column .institution-grid{
  max-width:100% !important;
  min-width:0 !important;
}

.home-page .right-rail{
  width:300px !important;
  min-width:300px !important;
  max-width:300px !important;
  justify-self:end !important;
  align-self:start !important;
  padding-right:0 !important;
  margin-top:0 !important;
}

.home-page .rail-sticky{
  position:sticky !important;
  top:108px !important;
  display:grid !important;
  gap:20px !important;
}

/* PANEL DERECHO: todos iguales */
.home-page .hero-card-rail,
.home-page .hero-mini-ad,
.home-page .ad-vertical,
.home-page .mini-ad,
.home-page .right-rail .card{
  width:100% !important;
  box-sizing:border-box !important;
  margin:0 !important;
  background:linear-gradient(180deg,#ffffff 0%, #edf8f3 100%) !important;
  border:1px solid #d7ebe3 !important;
  border-radius:22px !important;
  padding:16px !important;
  box-shadow:var(--shadow) !important;
}

.home-page .hero-card-rail{
  padding:20px !important;
}

.home-page .hero-mini-stack{
  display:grid !important;
  gap:20px !important;
  margin-top:16px !important;
}

.home-page .hero-mini-ad .btn,
.home-page .ad-vertical .btn,
.home-page .mini-ad .btn,
.home-page .right-rail .card .btn{
  margin-top:10px !important;
}

.home-page .ad-vertical .ad-box{
  margin:14px 0 6px !important;
  padding:18px !important;
  border-radius:18px !important;
  border:1px dashed #cfe5dc !important;
  background:#fff !important;
  display:flex !important;
  flex-direction:column !important;
  gap:6px !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:120px !important;
  text-align:center !important;
}

/* GRILLAS DEL HOME */
.home-page .community-two-col{
  display:grid !important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr) !important;
  gap:22px !important;
  align-items:stretch !important;
}

.home-page .community-two-col > *{
  min-width:0 !important;
}

.home-page .home-categories,
.home-page .home-featured,
.home-page .institution-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:18px !important;
}

.home-page .cards{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:22px !important;
}

.home-page .search-row{
  display:grid !important;
  grid-template-columns:2fr 1fr 1fr 1fr auto !important;
  gap:14px !important;
  align-items:end !important;
}

.home-page .search-row > div{
  min-width:0 !important;
}

.home-page .search-row input,
.home-page .search-row select,
.home-page .search-row button{
  width:100% !important;
}

/* CONTADORES */
.home-page .stats-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:18px !important;
}

.home-page .stat-card{
  background:rgba(255,255,255,.96) !important;
  border:1px solid var(--line) !important;
  border-radius:22px !important;
  box-shadow:var(--shadow) !important;
  padding:22px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  align-items:flex-start !important;
}

.home-page .stat-card strong{
  font-size:38px !important;
  line-height:1 !important;
  color:#0f8a68 !important;
}

.home-page .stat-card span{
  color:var(--muted) !important;
  font-size:15px !important;
  line-height:1.35 !important;
}

/* CARRUSEL INFERIOR */
.home-page .lower-ad-carousel{
  padding:28px 28px 74px !important;
}

.home-page .lower-ad-carousel .ad-track{
  display:flex !important;
  transition:transform .45s ease !important;
}

.home-page .lower-ad-carousel .ad-slide{
  display:grid !important;
  grid-template-columns:220px 1fr !important;
  gap:22px !important;
  align-items:center !important;
  min-width:100% !important;
  box-sizing:border-box !important;
  text-align:left !important;
  padding:0 !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}

.home-page .lower-ad-carousel .slide-media{
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:22px !important;
  box-shadow:var(--shadow) !important;
  padding:18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:220px !important;
}

.home-page .lower-ad-carousel .slide-media img{
  max-width:100% !important;
  max-height:170px !important;
  object-fit:contain !important;
}

.home-page .lower-ad-carousel .slide-copy h2{
  margin:10px 0 12px !important;
  font-size:34px !important;
}

.home-page .lower-ad-carousel .slide-copy p{
  margin:0 0 14px !important;
  color:var(--muted) !important;
  font-size:18px !important;
  line-height:1.6 !important;
}

.home-page .ad-carousel-arrow{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:46px !important;
  height:46px !important;
  border:none !important;
  border-radius:999px !important;
  background:rgba(8,34,26,.82) !important;
  color:#fff !important;
  font-size:28px !important;
  line-height:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  z-index:3 !important;
}

.home-page .ad-carousel-arrow.prev{left:14px !important;}
.home-page .ad-carousel-arrow.next{right:14px !important;}
.home-page .ad-carousel-arrow:hover{background:rgba(8,34,26,.95) !important;}

.home-page .ad-dots{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:24px !important;
  display:flex !important;
  justify-content:center !important;
  gap:10px !important;
}

.home-page .ad-dot{
  width:14px !important;
  height:14px !important;
  border:none !important;
  border-radius:999px !important;
  background:#b8d8cd !important;
  cursor:pointer !important;
}

.home-page .ad-dot.active,
.home-page .ad-dot.is-active{
  background:#0f8a68 !important;
}

@media (max-width:1100px){
  .site-header .container.header-inner,
  .home-container{
    width:min(100%, calc(100% - 24px)) !important;
  }

  .home-page .home-layout{
    grid-template-columns:1fr !important;
  }

  .home-page .right-rail{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }

  .home-page .rail-sticky{
    position:static !important;
    top:auto !important;
  }

  .home-page .community-two-col{
    grid-template-columns:1fr !important;
  }

  .home-page .stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .home-page .lower-ad-carousel .ad-slide{
    grid-template-columns:1fr !important;
    text-align:center !important;
  }
}

@media (max-width:860px){
  .home-page .usa-time-inner{
    grid-template-columns:1fr !important;
  }

  .home-page .usa-time-zones{
    grid-auto-flow:row !important;
    grid-template-columns:1fr !important;
  }

  .home-page .news-ticker-inner{
    grid-template-columns:1fr !important;
    gap:8px !important;
  }

  .home-page .news-ticker-label{
    text-align:center !important;
  }

  .home-page .community-two-col,
  .home-page .home-featured,
  .home-page .cards,
  .home-page .home-categories,
  .home-page .institution-grid,
  .home-page .search-row,
  .home-page .stats-grid,
  .home-page .image-slide{
    grid-template-columns:1fr !important;
  }

  .home-page .lower-ad-carousel{
    padding:22px 18px 68px !important;
  }

  .home-page .lower-ad-carousel .slide-copy h2{
    font-size:28px !important;
  }

  .home-page .lower-ad-carousel .slide-copy p{
    font-size:17px !important;
  }
}



/* ===== HEADER BARS FINAL ===== */

/* márgenes un poco menores */
.site-header .container.header-inner,
.home-container{
  width:min(1360px, calc(100% - 28px)) !important;
}


.header-sticky-bars{
  position: sticky;
  top: 88px;
  z-index: 72;
  background: linear-gradient(180deg, rgba(238,248,244,.96) 0%, rgba(238,248,244,.88) 100%);
  backdrop-filter: blur(8px);
  padding: 6px 0 0;
}


.header-bars-inner{
  display: grid;
  gap: 4px;
}

.usa-time-bar{
  position: relative !important;
  margin: 0 !important;
  background: linear-gradient(135deg,#edf8f4 0%, #f8fcfa 100%) !important;
  border: 1px solid #d8ebe3 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.06) !important;
}

.usa-time-inner{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:8px 12px !important;
  padding:6px 12px !important;
}

.usa-time-date{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  white-space:nowrap !important;
  text-align:center !important;
  font-size:13px !important;
}

.usa-time-zones{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  overflow:visible !important;
  padding-right:0 !important;
}

.usa-time-zones span{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  padding:4px 8px !important;
  font-size:12px !important;
  white-space: nowrap !important;
  background: rgba(255,255,255,.92);
  border: 1px solid #dfe8e3;
  border-radius: 999px;
}

.usa-time-zones span small{
  font-size:10px !important;
  color:#5f6f86;
}

.news-ticker-bar{
  position: relative !important;
  margin: 0 0 12px !important;
  background: linear-gradient(90deg,#06281e 0%, #083629 100%) !important;
  color:#fff !important;
  border-radius:18px !important;
  overflow:hidden !important;
  box-shadow: 0 12px 26px rgba(8,34,26,.18) !important;
  border: 1px solid rgba(255,255,255,.06);
}

.news-ticker-inner{
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) !important;
  align-items:center !important;
  gap:12px !important;
  padding:9px 16px !important;
}

.news-ticker-label{
  white-space:nowrap !important;
  font-weight:900 !important;
}

.news-ticker-track{
  overflow:hidden !important;
  min-width:0 !important;
}

.news-ticker-marquee{
  display:inline-flex !important;
  gap:28px !important;
  align-items:center !important;
  white-space:nowrap !important;
  min-width:max-content !important;
  animation:newsTickerScroll 32s linear infinite !important;
}

.news-ticker-marquee a{
  color:#fff !important;
  text-decoration:none !important;
  font-weight:700 !important;
}

.home-page .rail-sticky{
  top: 188px !important;
}

.info-icon{
  width:68px;
  height:68px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:#eef8f4;
  border:1px solid #d7ebe3;
  color:#0f8a68;
  font-size:34px;
  margin:0 0 16px;
  box-shadow:var(--shadow);
}

.home-page .section-block:nth-of-type(4) .section-head,
.home-page .section-block:nth-of-type(5) .section-head,
.home-page .section-block:nth-of-type(6) .section-head,
.home-page .section-block:nth-of-type(8) .section-head{
  text-align:center !important;
}

.home-page .section-block:nth-of-type(4) .section-head p,
.home-page .section-block:nth-of-type(5) .section-head p,
.home-page .section-block:nth-of-type(6) .section-head p,
.home-page .section-block:nth-of-type(8) .section-head p{
  margin-left:auto !important;
  margin-right:auto !important;
}

.home-page .cat-card .icon{
  font-size:42px !important;
  margin-bottom:16px !important;
}

.home-page .right-rail .mini-ad,
.home-page .right-rail .ad-vertical,
.home-page .right-rail .hero-card-rail{
  background:linear-gradient(180deg,#ffffff 0%, #edf8f3 100%) !important;
  border:1px solid #d7ebe3 !important;
  border-radius:22px !important;
  box-shadow:var(--shadow) !important;
}

.home-page .rail-sticky{
  gap:20px !important;
}

@media (max-width:1100px){
  .site-header .container.header-inner,
  .home-container{
    width:min(100%, calc(100% - 20px)) !important;
  }

  .header-sticky-bars{
    top: 88px;
  }

  .home-page .rail-sticky{
    top: auto !important;
  }
}

/* ===== EXPANDIR CINTILLOS AL ANCHO REAL ===== */

.header-sticky-bars .container{
  width: min(1360px, calc(100% - 28px)) !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.usa-time-inner{
  flex-wrap: nowrap !important;
}

.usa-time-zones span strong{
  font-weight:800 !important;
}

.usa-time-zones .tz-value{
  font-weight:900 !important;
}

.search-card{
  text-align:center;
}

.search-card .search-row{
  align-items:end;
}

.search-card input,
.search-card select{
  min-height:50px;
}




.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
}

.nav-dropdown-toggle {
  background: transparent;
  border: 0;
  padding: 8px 0;
  margin: 0;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  line-height: 1;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  color: var(--brand);
}

.nav-dropdown-toggle.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  padding: 10px 0;
  z-index: 9999;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #0f2b59;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
}

.nav-dropdown-menu a:hover {
  background: #f8fafc;
  color: var(--brand);
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

@media (max-width: 860px) {
  .nav-dropdown {
    width: 100%;
    display: block;
    height: auto;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-dropdown-toggle.active::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
}



/* ===== PANEL ADMIN REAL Y FIJO ===== */
.admin-panel-wrap{
  position: sticky;
  top: 146px;
  z-index: 45;
  background: linear-gradient(180deg, rgba(244,247,251,.98) 0%, rgba(244,247,251,.95) 100%);
  padding: 8px 0 12px;
  margin: 10px 0 22px;
}

.admin-panel-user-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  background:linear-gradient(135deg,#f4fbf8 0%, #edf8f3 100%);
  border:1px solid #dbece6;
  border-radius:14px;
  padding:8px 14px;
  margin-bottom:10px;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
}

.admin-panel-user-left{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.admin-panel-user-right{
  font-size:12px;
  color:#667085;
  line-height:1;
  white-space:nowrap;
}

.admin-avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:999px;
  background:#0f8a70;
  color:#fff;
  font-size:13px;
  font-weight:800;
  flex:0 0 auto;
}

.admin-role{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:#ffffff;
  color:#0f8a70;
  border:1px solid #d8ebe5;
  font-size:12px;
  font-weight:700;
  line-height:1;
}

.admin-panel-nav{
  display:flex;
  gap:10px;
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:4px;
  scrollbar-width:thin;
}

.admin-panel-nav a{
  white-space:nowrap;
  flex:0 0 auto;
}

.admin-panel-nav::-webkit-scrollbar{
  height:7px;
}

.admin-panel-nav::-webkit-scrollbar-thumb{
  background:#cfd8df;
  border-radius:999px;
}

@media (max-width:860px){
  .admin-panel-wrap{
    top:146px;
  }

  .admin-panel-user-card{
    padding:8px 12px;
  }

  .admin-panel-user-right{
    width:100%;
    white-space:normal;
    text-align:left;
  }
}


