/* === BASADRE THEME === */
:root {
  --bas-primary: #0A2B5E;
  --bas-secondary: #1A5276;
  --bas-accent: #D4AC0D;
  --bas-dark: #071F45;
  --bas-light: #F5F7FA;
  --bas-text: #333;
  --bas-white: #fff;
  --bas-font-heading: 'Poppins', sans-serif;
  --bas-font-body: 'Open Sans', sans-serif;
  --bas-radius: 8px;
  --bas-shadow: 0 4px 15px rgba(0,0,0,0.08);
  --bas-transition: .3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--bas-font-body);
  color: var(--bas-text);
  background: var(--bas-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--bas-font-heading);
  color: var(--bas-primary);
  line-height: 1.2;
}
a { color: var(--bas-primary); text-decoration: none; transition: color var(--bas-transition); }
a:hover { color: var(--bas-accent); }
img { max-width: 100%; height: auto; }
.elementor-widget-image img { max-height: none; }

/* ===== HEADER LAYOUT ===== */
.elementor-21,
.elementor-229 {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
  background: #0A2B5E;
}
.elementor-21 .elementor-container,
.elementor-229 .elementor-container {
  display: flex !important;
  align-items: center !important;
  min-height: 86px;
  gap: 20px;
  padding: 0 200px;
}

/* Fix each column's wrap to center content vertically */
.elementor-21 .elementor-column .elementor-widget-wrap,
.elementor-229 .elementor-column .elementor-widget-wrap {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}

/* Logo column */
.elementor-21 .elementor-container .elementor-column:first-child,
.elementor-229 .elementor-container .elementor-column:first-child {
  flex: 0 0 auto !important;
  width: auto !important;
}

/* Menu column */
.elementor-21 .elementor-container .elementor-column:nth-child(2),
.elementor-229 .elementor-container .elementor-column:nth-child(2) {
  flex: 1 !important;
  min-width: 0;
}
/* Menu: centered */
.elementor-21 .elementor-container .elementor-column:nth-child(2) .elementor-widget-wrap,
.elementor-229 .elementor-container .elementor-column:nth-child(2) .elementor-widget-wrap {
  justify-content: center;
}
.elementor-21 .bas-menu,
.elementor-229 .bas-menu {
  display: flex;
  justify-content: center;
  width: 100%;
}
.elementor-21 .bas-menu-list,
.elementor-229 .bas-menu-list {
  justify-content: center;
}

/* Logo sizing */
.elementor-21 .elementor-widget-image img,
.elementor-229 .elementor-widget-image img {
  width: auto !important;
  max-width: 220px !important;
  max-height: 70px !important;
  object-fit: contain;
  display: block;
}

/* Container */
.header-container, .footer-container, .page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.site-header {
  background: var(--bas-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}
.header-brand img { max-height: 60px; width: auto; }
.site-title { color: var(--bas-white); font-size: 24px; font-weight: 700; }
.site-title:hover { color: var(--bas-accent); }

/* Primary Menu */
.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.primary-menu > li { position: relative; }
.primary-menu > li > a {
  display: block;
  padding: 10px 14px;
  color: var(--bas-white);
  font-family: var(--bas-font-heading);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--bas-transition);
  white-space: nowrap;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
  color: var(--bas-accent);
}

/* Dropdowns */
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99;
  display: none;
  min-width: 220px;
  background: var(--bas-white);
  border-radius: var(--bas-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--bas-text);
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: all var(--bas-transition);
}
.primary-menu .sub-menu a:hover {
  background: var(--bas-primary);
  color: var(--bas-accent);
  padding-left: 25px;
}
.primary-menu .sub-menu li:last-child a { border-bottom: none; }

/* Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--bas-white);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--bas-transition);
}

/* === FOOTER === */
.site-footer {
  background: var(--bas-dark);
  color: #ccc;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-brand img { max-height: 50px; margin-bottom: 15px; }
.footer-desc { font-size: 14px; line-height: 1.7; }
.footer-nav h4, .footer-contact h4 {
  color: var(--bas-white);
  font-size: 18px;
  margin: 0 0 15px;
}
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li { margin-bottom: 8px; }
.footer-menu a { color: #ccc; font-size: 14px; transition: color var(--bas-transition); }
.footer-menu a:hover { color: var(--bas-accent); }

.footer-contact p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 8px;
}
.footer-contact .fas {
  color: var(--bas-accent);
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 13px; color: #888; }

/* Social Icons */
.social-icons { margin-top: 15px; }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--bas-white);
  margin-right: 8px;
  font-size: 16px;
  transition: all var(--bas-transition);
}
.social-icons a:hover {
  background: var(--bas-accent);
  color: var(--bas-white);
  transform: translateY(-2px);
}

/* === CUSTOM MENU (Widget) === */
.bas-menu { position: relative; }

/* === SINGLE PROGRAMA === */
.prog-single { overflow-x: hidden; }

/* Back link */
.prog-back {
  background: #F5F7FA;
  padding: 12px 200px;
  border-bottom: 1px solid #e8e8e8;
}
.prog-back a {
  color: #0A2B5E;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.prog-back a:hover { color: #D4AC0D; }

/* Hero */
.prog-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}
.prog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,31,69,0.92) 0%, rgba(10,43,94,0.6) 100%);
}
.prog-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 200px 60px;
}
.prog-hero-inner { max-width: 1200px; margin: 0 auto; }
.prog-hero h1 {
  color: #fff;
  font-size: clamp(28px,3.5vw,44px);
  font-weight: 800;
  margin: 15px 0 0;
  line-height: 1.15;
}
.prog-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin: 10px 0 0;
  font-weight: 300;
}
.prog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.prog-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .3s; }
.prog-breadcrumb a:hover { color: #F7DC6F; }

/* Container */
.prog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Info Row */
.prog-info-row {
  background: #fff;
  padding: 0 200px;
  border-bottom: 1px solid #eee;
}
.prog-info-row .prog-container {
  display: flex;
  flex-wrap: wrap;
}
.prog-info-card {
  flex: 1;
  min-width: 140px;
  padding: 28px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid #f0f0f0;
  transition: background .3s;
}
.prog-info-card:last-child { border-right: none; }
.prog-info-card:hover { background: #F5F7FA; }
.prog-info-icon svg { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.prog-info-text strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.prog-info-text span { font-size: 14px; font-weight: 600; color: #0A2B5E; }

/* Sections */
.prog-section { padding: 70px 200px; }
.prog-section-light { background: #fff; }
.prog-section-gray { background: #F5F7FA; }
.prog-section-title {
  color: #0A2B5E;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  padding-left: 18px;
  border-left: 4px solid #D4AC0D;
}
.prog-title-center { text-align: center; border-left: none; padding-left: 0; }

/* Grid 2 columns */
.prog-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.prog-text { font-size: 15px; line-height: 1.9; color: #555; margin-top: 20px; }
.prog-text ul { padding-left: 20px; }
.prog-text li { margin-bottom: 8px; }

/* Image card */
.prog-image-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.prog-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.prog-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
  font-family: Poppins, sans-serif;
}
.prog-btn-gold { background: #D4AC0D; color: #fff; }
.prog-btn-gold:hover { background: #C49C0C; color: #fff; }
.prog-btn-blue { background: #0A2B5E; color: #fff; }
.prog-btn-blue:hover { background: #071F45; color: #fff; }
.prog-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.prog-btn-outline:hover { border-color: #fff; color: #fff; }
.prog-btn-lg { padding: 14px 35px; font-size: 16px; text-transform: uppercase; }
.prog-btn + .prog-btn { margin-left: 12px; margin-top: 15px; }

/* Tabs */
.prog-tabs {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
}
.prog-tabs-nav {
  display: flex;
  border-bottom: 2px solid #eee;
  overflow: hidden;
  gap: 0;
  position: relative;
  background: #fafafa;
}
.prog-tabs-underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: #D4AC0D;
  transition: left .3s ease, width .3s ease;
  border-radius: 2px;
}
.prog-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 22px 36px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: Poppins, sans-serif !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 1 !important;
  color: #888 !important;
  transition: color .3s !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border-radius: 0 !important;
  letter-spacing: normal !important;
  line-height: normal !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  text-transform: none !important;
  text-decoration: none !important;
}
.prog-tab-btn svg { transition: transform .3s !important; flex-shrink: 0 !important; fill: #888 !important; }
.prog-tab-btn:hover { color: #0A2B5E !important; }
.prog-tab-btn:hover svg { transform: scale(1.15) !important; fill: #0A2B5E !important; }
.prog-tabs-nav .prog-tab-btn.active { color: #0A2B5E !important; }
.prog-tab-btn.active svg { fill: #D4AC0D !important; }
.prog-tabs-body { padding: 35px; }
.prog-tab-content {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  animation: fadeTab .4s ease;
}
@keyframes fadeTab {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.prog-tab-content ul { padding-left: 20px; }
.prog-tab-content li { margin-bottom: 10px; }
.prog-tab-content li::marker { color: #D4AC0D; }

/* Related */
.prog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}
.prog-related-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: all .3s;
  display: block;
}
.prog-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.prog-related-img { height: 180px; overflow: hidden; }
.prog-related-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.prog-related-card:hover .prog-related-img img { transform: scale(1.06); }
.prog-related-body { padding: 18px; }
.prog-related-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: #0A2B5E;
}
.prog-related-meta { font-size: 13px; color: #888; }

/* CTA */
.prog-cta {
  background: linear-gradient(135deg, #0A2B5E 0%, #071F45 100%);
  padding: 70px 200px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.prog-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212,172,13,0.06) 0%, transparent 60%);
}
.prog-cta .prog-container { position: relative; z-index: 2; }
.prog-cta h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 10px;
}
.prog-cta p { color: rgba(255,255,255,0.7); font-size: 17px; margin: 0 0 28px; }
.prog-cta-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Scroll reveal */
.prog-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.prog-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .prog-back { padding: 12px 20px; }
  .prog-hero-content { padding: 80px 20px 40px; }
  .prog-info-row { padding: 0 20px; }
  .prog-section { padding: 40px 20px; }
  .prog-cta { padding: 50px 20px; }
  .prog-grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .prog-related-grid { grid-template-columns: 1fr; }
  .prog-tab-btn { padding: 16px 20px !important; font-size: 15px !important; gap: 6px !important; }
  .prog-tab-btn svg { width: 16px; height: 16px; }
  .prog-tabs-body { padding: 20px; }
}
.bas-menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.bas-menu--vertical .bas-menu-list { flex-direction: column; }
.bas-menu-item { position: relative; }
.bas-menu-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-family: var(--bas-font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--bas-white);
  text-decoration: none;
  transition: color .3s ease;
  white-space: nowrap;
}
.bas-menu-item > a:hover,
.bas-current > a { color: var(--bas-accent) !important; }
.bas-arrow { font-size: 10px; transition: transform .3s; }
.bas-menu-item:hover > a .bas-arrow { transform: rotate(180deg); }

/* Dropdown */
.bas-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  display: none;
  min-width: 220px;
  background: var(--bas-white);
  border-radius: var(--bas-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.bas-menu--vertical .sub-menu {
  position: static;
  box-shadow: none;
  padding-left: 16px;
}
.bas-menu-item:hover > .sub-menu { display: block; }
.bas-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--bas-text);
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  transition: all .3s ease;
}
.bas-menu .sub-menu a:hover {
  background: var(--bas-primary);
  color: var(--bas-accent);
  padding-left: 25px;
}
.bas-menu .sub-menu li:last-child a { border-bottom: none; }
.bas-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/* Toggle */
.bas-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.bas-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--bas-white);
  margin: 5px 0;
  border-radius: 3px;
  transition: transform .3s, opacity .3s;
}

/* Mobile */
@media (max-width: 768px) {
  .bas-menu-toggle { display: block; }
  .bas-menu-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bas-primary);
    flex-direction: column;
    padding: 8px 0;
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
  }
  .bas-menu-list.open { display: flex; }
  .bas-menu-item > a { padding: 12px 20px; }
  .bas-menu .sub-menu {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.12);
    border-radius: 0;
    display: none;
  }
  .bas-menu-item.open > .sub-menu { display: block; }
  .bas-menu .sub-menu a {
    padding-left: 32px;
    color: rgba(255,255,255,0.85);
    border-bottom-color: rgba(255,255,255,0.08);
  }
  .bas-menu .sub-menu a:hover { background: rgba(255,255,255,0.1); }
  .bas-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .bas-menu-toggle.active span:nth-child(2) { opacity: 0; }
  .bas-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--bas-radius);
  font-family: var(--bas-font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  transition: all var(--bas-transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--bas-primary); color: var(--bas-white); }
.btn-primary:hover { background: var(--bas-dark); }
.btn-accent { background: var(--bas-accent); color: var(--bas-white); }
.btn-accent:hover { background: #C49C0C; }

/* === CARDS === */
.bas-docente-card, .bas-programa-card {
  background: var(--bas-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--bas-shadow);
  transition: transform var(--bas-transition), box-shadow var(--bas-transition);
}
.bas-docente-card:hover, .bas-programa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.bas-docente-card img, .bas-programa-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.bas-docente-avatar {
  height: 150px;
  background: var(--bas-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--bas-white);
  font-weight: 700;
}
.bas-docente-body, .bas-programa-body {
  padding: 20px;
  text-align: center;
}
.bas-docente-body h3, .bas-programa-body h3 {
  margin: 0 0 5px;
  font-size: 18px;
  color: var(--bas-primary);
}
.bas-docente-body .titulo { color: #666; font-size: 14px; margin: 0 0 5px; }
.bas-docente-body .especialidad { color: #888; font-size: 13px; margin: 0; }
.bas-docente-body .email {
  display: inline-block;
  margin-top: 10px;
  color: var(--bas-primary);
  font-size: 13px;
}
.bas-programa-body { text-align: left; }
.bas-programa-body p { font-size: 14px; color: #666; margin: 0 0 5px; }
.bas-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background: var(--bas-primary);
  color: var(--bas-white);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--bas-transition);
}
.bas-btn:hover { background: var(--bas-dark); color: var(--bas-white); }

/* === ARCHIVE === */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}
.archive-card {
  background: var(--bas-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--bas-shadow);
  transition: transform var(--bas-transition);
}
.archive-card:hover { transform: translateY(-3px); }
.archive-card .card-thumb img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-title { margin: 0 0 8px; font-size: 20px; }
.card-title a { color: var(--bas-primary); }
.card-title a:hover { color: var(--bas-accent); }
.card-meta { color: #888; font-size: 13px; margin-bottom: 10px; }
.card-excerpt { color: #666; font-size: 14px; margin-bottom: 15px; }
.card-link { color: var(--bas-primary); font-weight: 600; font-size: 14px; }

/* === 404 === */
.error-404 {
  text-align: center;
  padding: 100px 20px;
}
.error-title { font-size: 120px; margin: 0; color: var(--bas-primary); }

/* === HERO === */
/* === HERO === */
.bas-hero-wrapper {
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  width:100%;
}
/* Force hero section full width */
.elementor-section:first-child { padding:0 !important; }
.elementor-section:first-child > .elementor-container { max-width:100% !important; width:100% !important; }
.elementor-section:first-child .elementor-column { width:100% !important; }
.elementor-section:first-child .elementor-widget-wrap { padding:0 !important; }
.elementor-section:first-child .elementor-widget { width:100%; }
.elementor-section:first-child .elementor-widget-text-editor { padding:0 !important; }
.bas-hero-slides { position:absolute; inset:0; }
.bas-hero-slide {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
  opacity:0; transition:opacity 1s ease;
  will-change:transform, opacity;
}
@supports not (background-attachment:fixed) {
  .bas-hero-slide { background-attachment:scroll; }
}
.bas-hero-slide.active { opacity:1; }
.bas-hero-overlay {
  position:absolute; inset:0;
  background: rgba(7,31,69,0.75);
  z-index:1;
}
.bas-hero-content {
  position:relative; z-index:5;
  max-width:800px; padding:0 20px;
}
.bas-hero-wrapper h1 {
  font-size: clamp(32px, 5vw, 64px); margin:0 0 5px;
  color:#fff; font-weight:800; line-height:1.1;
}
.bas-hero-wrapper h2 {
  font-size: clamp(24px, 3.5vw, 40px); margin:0 0 15px;
  color:#F7DC6F; font-weight:600;
}
.bas-hero-desc {
  font-size: clamp(14px, 1.5vw, 18px); color:#fff;
  margin-bottom:30px; line-height:1.6;
}
.bas-hero-btn {
  display:inline-block; padding:14px 35px;
  background:var(--bas-accent); color:#fff !important;
  border-radius:8px; font-size:16px; font-weight:600;
  text-transform:uppercase; text-decoration:none;
  transition:all .3s;
}
.bas-hero-btn:hover { background:#C49C0C; transform:translateY(-3px); box-shadow:0 8px 25px rgba(212,172,13,0.3); }
.bas-hero-dots {
  position:absolute; bottom:30px; left:50%;
  transform:translateX(-50%); z-index:10;
  display:flex; gap:12px;
}
body .bas-hero-dot {
  width:14px !important; height:14px !important;
  min-width:14px !important; max-width:14px !important;
  min-height:14px !important; max-height:14px !important;
  border-radius:50% !important;
  border:2px solid rgba(255,255,255,0.7) !important;
  background:transparent !important;
  cursor:pointer !important;
  padding:0 !important; margin:0 !important;
  transition:all .3s ease !important;
  font-size:0 !important; line-height:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  outline:none;
  box-shadow:none !important;
}
body .bas-hero-dot:hover {
  border-color:#fff !important;
  transform:scale(1.2);
}
body .bas-hero-dot.active {
  background:#fff !important; border-color:#fff !important;
  box-shadow:0 0 10px rgba(255,255,255,0.5) !important;
}
body .bas-hero-dot:focus-visible { outline:2px solid var(--bas-accent) !important; outline-offset:2px !important; }
@media (max-width: 768px) {
  .bas-hero-wrapper { min-height:400px; padding-top:70px; }
  .bas-hero-btn { padding:10px 20px !important; font-size:14px !important; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bas-docentes-grid, .bas-programas-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .primary-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bas-primary);
    flex-direction: column;
    padding: 10px 0;
  }
  .primary-menu.active { display: flex; }
  .primary-menu .sub-menu {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.1);
    display: none;
  }
  .primary-menu li.open > .sub-menu { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .bas-docentes-grid, .bas-programas-grid { grid-template-columns: 1fr !important; }
}

/* === SERVICE CARDS === */
.elementor-widget-icon-box {
  transition: all .3s ease;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}
.elementor-widget-icon-box:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
  background: #FFFFFF;
}
.elementor-widget-icon-box .elementor-icon-box-wrapper {
  padding: 15px 10px;
  border-radius: 12px;
  transition: all .3s ease;
}
.elementor-widget-icon-box .elementor-icon-box-icon {
  transition: all .3s ease;
}
.elementor-widget-icon-box:hover .elementor-icon-box-icon {
  transform: scale(1.1);
}
.elementor-widget-icon-box:hover .elementor-icon-box-title a {
  color: #D4AC0D !important;
}

/* === PROGRAM CARDS === */
.bas-prog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all .3s ease;
  cursor: pointer;
}
.bas-prog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.bas-prog-img {
  overflow: hidden;
  height: 220px;
}
.bas-prog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.bas-prog-card:hover .bas-prog-img img {
  transform: scale(1.08);
}
.bas-prog-body {
  padding: 20px;
  text-align: left;
}
.bas-prog-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--bas-primary);
  font-family: var(--bas-font-heading);
  transition: color .3s ease;
}
.bas-prog-card:hover .bas-prog-title {
  color: #D4AC0D;
}
.bas-prog-duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}
.bas-prog-duration span { text-align: left; }
.bas-prog-titulacion {
  font-size: 13px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.bas-prog-titulacion svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.bas-prog-titulacion strong { color: var(--bas-primary); }
.bas-prog-btn {
  display: block;
  width: 100%;
  padding: 12px 28px;
  background: var(--bas-primary);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--bas-font-heading);
  text-decoration: none;
  text-align: center;
  transition: all .3s ease;
  box-sizing: border-box;
}
.bas-prog-btn:hover {
  background: #D4AC0D;
  color: #fff;
}

/* === NEWS CARDS === */
.bas-news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:25px; }
.bas-empty { text-align:center; color:#888; padding:40px 0; }
.bas-news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.bas-news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.bas-news-thumb { display:block; overflow:hidden; height:200px; }
.bas-news-thumb img {
  width:100%; height:100%; object-fit:cover;
  transition: transform .4s;
}
.bas-news-card:hover .bas-news-thumb img { transform: scale(1.06); }
.bas-news-body { padding:20px 20px 0; display:flex; flex-direction:column; flex:1; }
.bas-news-date { font-size:13px; color:#888; margin-bottom:8px; }
.bas-news-title { margin:0 0 10px; font-size:18px; font-weight:600; }
.bas-news-title a { color:#0A2B5E; text-decoration:none; transition:color .3s; }
.bas-news-title a:hover { color:#D4AC0D; }
.bas-news-excerpt { font-size:14px; color:#666; line-height:1.6; margin:0 0 15px; flex:1; }
.bas-news-btn {
  display:inline-block; padding:8px 20px; margin-bottom:20px;
  background:#0A2B5E; color:#fff; border-radius:6px;
  font-size:13px; font-weight:600; text-decoration:none;
  transition:all .3s; align-self:flex-start;
}
.bas-news-btn:hover { background:#D4AC0D !important; color:#fff !important; }

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

/* === DOCENTES GRID === */
.bas-docentes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}
.bas-docente-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all .3s;
  text-align: center;
}
.bas-docente-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.bas-docente-card > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.bas-docente-avatar {
  height: 140px;
  background: linear-gradient(135deg, #0A2B5E, #1A5276);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #fff;
  font-weight: 700;
  font-family: Poppins, sans-serif;
}
.bas-docente-body { padding: 20px; }
.bas-docente-body h3 {
  margin: 0 0 5px;
  color: #0A2B5E;
  font-size: 18px;
  font-weight: 600;
  font-family: Poppins, sans-serif;
}
.bas-docente-body .titulo {
  margin: 0 0 5px;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}
.bas-docente-body .especialidad {
  margin: 0 0 5px;
  color: #888;
  font-size: 13px;
}
.bas-docente-body .email {
  display: inline-block;
  margin-top: 10px;
  color: #0A2B5E;
  font-size: 13px;
  text-decoration: none;
  transition: color .3s;
}
.bas-docente-body .email:hover { color: #D4AC0D; }

/* === COMUNICADOS === */
.bas-com-list { display:grid; grid-template-columns:repeat(3,1fr); gap:25px; }
@media (max-width:768px) { .bas-com-list { grid-template-columns:1fr; } }
.bas-com-item {
  background:#fff; border-radius:12px; padding:22px 25px;
  box-shadow:0 2px 10px rgba(0,0,0,0.06); transition:all .3s;
}
.bas-com-item:hover { transform:translateX(4px); box-shadow:0 4px 20px rgba(0,0,0,0.1); }
.bas-com-date { font-size:13px; color:#888; margin-bottom:4px; display:block; }
.bas-com-title { margin:0 0 8px; font-size:18px; font-weight:600; }
.bas-com-title a { color:#0A2B5E; text-decoration:none; transition:color .3s; }
.bas-com-title a:hover { color:#D4AC0D; }
.bas-com-excerpt { font-size:14px; color:#666; line-height:1.6; margin:0 0 10px; }
.bas-com-link { color:#0A2B5E; font-weight:600; font-size:14px; text-decoration:none; transition:color .3s; }
.bas-com-link:hover { color:#D4AC0D; }

/* === SINGLE POST === */
.post-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,31,69,0.9) 0%, rgba(10,43,94,0.5) 100%);
}
.post-hero-content { position:relative; z-index:2; width:100%; padding:80px 200px 60px; }
.post-hero-inner { max-width:800px; margin:0 auto; }
.post-breadcrumb {
  display:flex; align-items:center; gap:8px; font-size:13px; color:rgba(255,255,255,0.5); margin-bottom:10px;
}
.post-breadcrumb a { color:rgba(255,255,255,0.6); text-decoration:none; transition:color .3s; }
.post-breadcrumb a:hover { color:#F7DC6F; }
.post-cats { margin-bottom:10px; }
.post-cat {
  display:inline-block; padding:4px 12px; margin:0 4px 4px 0;
  background:rgba(212,172,13,0.2); border:1px solid rgba(212,172,13,0.3);
  border-radius:20px; color:#F7DC6F; font-size:12px; font-weight:500; text-decoration:none;
}
.post-hero h1 {
  color:#fff; font-size:clamp(26px,3.5vw,42px); font-weight:800;
  margin:0 0 15px; line-height:1.15;
}
.post-meta { display:flex; gap:20px; font-size:14px; color:rgba(255,255,255,0.7); }

/* Content layout */
.post-section { padding:60px 200px; background:#fff; }
.post-section-gray { background:#F5F7FA; }
.post-container { max-width:1200px; margin:0 auto; }
.post-layout { display:grid; grid-template-columns:1fr 300px; gap:50px; }
.post-body { font-size:16px; line-height:1.9; color:#444; }
.post-body h2 { font-size:26px; margin:30px 0 15px; color:#0A2B5E; }
.post-body h3 { font-size:22px; margin:25px 0 12px; color:#0A2B5E; }
.post-body p { margin-bottom:18px; }
.post-body img { border-radius:12px; margin:20px 0; }
.post-body ul, .post-body ol { margin-bottom:18px; padding-left:25px; }
.post-body li { margin-bottom:8px; }
.post-tags { margin-top:30px; padding:15px 0; border-top:1px solid #eee; font-size:14px; }
.post-tags a { color:#0A2B5E; text-decoration:none; margin-left:5px; }
.post-tags a:hover { color:#D4AC0D; }
.post-share { display:flex; align-items:center; gap:12px; margin:20px 0; font-size:14px; }
.post-share a {
  display:inline-block; padding:6px 16px; border-radius:6px;
  background:#0A2B5E; color:#fff; text-decoration:none; font-weight:500; font-size:13px;
}
.post-share a:hover { background:#D4AC0D; }
.post-nav {
  display:flex; justify-content:space-between; margin-top:30px; padding-top:20px; border-top:2px solid #eee;
}
.post-nav a { color:#0A2B5E; text-decoration:none; font-weight:600; transition:color .3s; }
.post-nav a:hover { color:#D4AC0D; }

/* Sidebar */
.post-sidebar .sidebar-widget {
  background:#F5F7FA; border-radius:12px; padding:25px; margin-bottom:25px;
}
.post-sidebar h3 {
  font-size:18px; font-weight:700; color:#0A2B5E; margin:0 0 15px; padding-bottom:10px; border-bottom:2px solid #D4AC0D;
}
.sidebar-posts { list-style:none; margin:0; padding:0; }
.sidebar-posts li { margin-bottom:12px; }
.sidebar-posts a {
  display:flex; gap:12px; align-items:center; text-decoration:none; color:#333; transition:color .3s;
}
.sidebar-posts a:hover { color:#D4AC0D; }
.sidebar-posts img { width:60px; height:60px; border-radius:8px; object-fit:cover; flex-shrink:0; }
.sidebar-title { font-size:14px; font-weight:500; line-height:1.3; }
.sidebar-cats { list-style:none; margin:0; padding:0; }
.sidebar-cats li { padding:8px 0; border-bottom:1px solid #eee; font-size:14px; }
.sidebar-cats li:last-child { border-bottom:none; }
.sidebar-cats a { color:#555; text-decoration:none; transition:color .3s; }
.sidebar-cats a:hover { color:#D4AC0D; }
.sidebar-cats .count { float:right; color:#888; font-size:12px; }

/* Related */
.post-related-title { font-size:28px; font-weight:700; color:#0A2B5E; margin:0 0 25px; text-align:center; }
.post-related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:25px; }
.post-related-card {
  background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,0.08);
  text-decoration:none; color:inherit; transition:all .3s;
}
.post-related-card:hover { transform:translateY(-4px); box-shadow:0 8px 25px rgba(0,0,0,0.12); }
.post-related-img { height:200px; overflow:hidden; }
.post-related-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.post-related-card:hover .post-related-img img { transform:scale(1.06); }
.post-related-body { padding:18px; }
.post-related-date { font-size:13px; color:#888; }
.post-related-body h3 { margin:5px 0 0; font-size:17px; font-weight:600; color:#0A2B5E; }

@media (max-width:768px) {
  .post-hero-content { padding:80px 20px 40px; }
  .post-section { padding:40px 20px; }
  .post-layout { grid-template-columns:1fr; }
  .post-related-grid { grid-template-columns:1fr; }
}

/* === ARCHIVE / CATEGORY === */
.archive-hero {
  min-height: 260px; display:flex; align-items:center; position:relative;
  background: #0A2B5E;
}
.archive-hero-overlay { position:absolute; inset:0; background:rgba(7,31,69,0.7); }
.archive-hero-content { position:relative; z-index:2; width:100%; padding:100px 200px 50px; text-align:center; }
.archive-hero h1 { color:#fff; font-size:38px; font-weight:700; margin:0; }
.archive-hero .archive-desc { color:rgba(255,255,255,0.8); font-size:16px; margin:10px 0 0; }

.archive-section { padding:60px 200px; background:#F5F7FA; min-height:300px; }
.archive-container { max-width:1200px; margin:0 auto; }
.archive-posts-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:25px;
}
.archive-card {
  background:#fff; border-radius:14px; overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,0.08); transition:all .3s;
}
.archive-card:hover { transform:translateY(-4px); box-shadow:0 8px 25px rgba(0,0,0,0.12); }
.archive-card-img { display:block; overflow:hidden; height:220px; }
.archive-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.archive-card:hover .archive-card-img img { transform:scale(1.06); }
.archive-card-body { padding:20px; }
.archive-card-cats { margin-bottom:8px; }
.archive-card-title { margin:0 0 8px; font-size:20px; font-weight:700; }
.archive-card-title a { color:#0A2B5E; text-decoration:none; transition:color .3s; }
.archive-card-title a:hover { color:#D4AC0D; }
.archive-card-meta { font-size:13px; color:#888; margin-bottom:10px; }
.archive-card-excerpt { font-size:14px; color:#666; line-height:1.6; margin-bottom:15px; }
.archive-card-link { color:#0A2B5E; font-weight:600; font-size:14px; text-decoration:none; transition:color .3s; }
.archive-card-link:hover { color:#D4AC0D; }

.archive-empty { text-align:center; padding:60px 20px; color:#888; }
.archive-btn {
  display:inline-block; margin-top:15px; padding:12px 30px;
  background:#0A2B5E; color:#fff; border-radius:8px; text-decoration:none; font-weight:600;
}

.archive-pagination { margin-top:40px; text-align:center; }
.archive-pagination ul { display:inline-flex; list-style:none; margin:0; padding:0; gap:5px; flex-wrap:wrap; justify-content:center; }
.archive-pagination li { display:inline; }
.archive-pagination a, .archive-pagination span {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:40px; height:40px; padding:0 12px;
  background:#fff; border-radius:8px; color:#0A2B5E; text-decoration:none;
  font-size:14px; font-weight:500; box-shadow:0 2px 8px rgba(0,0,0,0.06);
  transition:all .3s;
}
.archive-pagination a:hover { background:#0A2B5E; color:#fff; }
.archive-pagination .current span { background:#0A2B5E; color:#fff; }

@media (max-width:768px) {
  .archive-hero-content { padding:80px 20px 40px; }
  .archive-section { padding:40px 20px; }
  .archive-posts-grid { grid-template-columns:1fr; }
}

/* === SERVICIOS DIGITALES CARDS === */
.elementor-26 section[data-id="b109b063"] .elementor-widget-wrap > .elementor-widget-icon-box {
  background:#fff !important;
  border-radius:16px !important;
  padding:35px 25px 30px !important;
  box-shadow:0 4px 20px rgba(0,0,0,0.06) !important;
  transition:all .4s cubic-bezier(.25,.8,.25,1) !important;
  border:1px solid rgba(0,0,0,0.04) !important;
}
.elementor-26 section[data-id="b109b063"] .elementor-widget-wrap > .elementor-widget-icon-box:hover {
  transform:translateY(-6px) !important;
  box-shadow:0 12px 40px rgba(10,43,94,0.12) !important;
  border-color:rgba(10,43,94,0.08) !important;
}
.elementor-26 section[data-id="b109b063"] .elementor-icon-box-icon {
  margin-bottom:12px !important;
}
.elementor-26 section[data-id="b109b063"] .elementor-icon-box-icon .elementor-icon {
  transition:all .4s ease !important;
}
.elementor-26 section[data-id="b109b063"] .elementor-widget-icon-box:hover .elementor-icon-box-icon .elementor-icon {
  transform:scale(1.1) !important;
}
.elementor-26 section[data-id="b109b063"] .elementor-icon-box-title {
  margin-bottom:10px !important;
}
.elementor-26 section[data-id="b109b063"] .elementor-icon-box-description {
  font-size:14px !important;
  line-height:1.7 !important;
}
@media (max-width:768px) {
  .elementor-26 section[data-id="b109b063"] .elementor-widget-wrap > .elementor-widget-icon-box {
    padding:25px 20px !important;
  }
}

/* === ENLACES DE INTERÉS === */
.elementor-26 section[data-id="69fd1167"] .elementor-widget-wrap > .elementor-widget-image {
  background:#fff !important;
  border-radius:16px !important;
  padding:30px 20px 20px !important;
  box-shadow:0 4px 20px rgba(0,0,0,0.06) !important;
  border:1px solid rgba(0,0,0,0.04) !important;
  transition:all .4s cubic-bezier(.25,.8,.25,1) !important;
  text-align:center;
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.elementor-26 section[data-id="69fd1167"] .elementor-widget-wrap > .elementor-widget-image:hover {
  transform:translateY(-6px) !important;
  box-shadow:0 12px 40px rgba(10,43,94,0.12) !important;
  border-color:rgba(10,43,94,0.08) !important;
}
.elementor-26 section[data-id="69fd1167"] .elementor-image {
  display:flex;
  flex-direction:column;
  align-items:center;
}
.elementor-26 section[data-id="69fd1167"] .elementor-image img {
  transition:all .4s ease;
  filter:grayscale(0.4) opacity(0.7);
}
.elementor-26 section[data-id="69fd1167"] .elementor-image:hover img {
  transform:scale(1.12);
  filter:grayscale(0) opacity(1);
}
@media (max-width:768px) {
  .elementor-26 section[data-id="69fd1167"] .elementor-widget-wrap > .elementor-widget-image {
    padding:20px 15px !important;
    min-height:140px;
  }
}

/* === STATS COUNTERS === */
.bas-stats-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
  margin-top:30px;
}
.bas-stat-item {
  background:#fff;
  border-radius:16px;
  padding:35px 20px 30px;
  text-align:center;
  box-shadow:0 4px 20px rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.04);
  transition:all .4s cubic-bezier(.25,.8,.25,1);
  position:relative;
  overflow:hidden;
}
.bas-stat-item::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
  background:linear-gradient(90deg,var(--bas-primary),var(--bas-accent));
}
.bas-stat-item:hover {
  transform:translateY(-6px);
  box-shadow:0 12px 40px rgba(10,43,94,0.12);
}
.bas-stat-icon {
  font-size:32px;
  color:var(--bas-accent);
  margin-bottom:12px;
}
.bas-stat-number {
  font-size:42px;
  font-weight:800;
  color:var(--bas-primary);
  font-family:var(--bas-font-heading);
  line-height:1;
  display:inline;
}
.bas-stat-suffix {
  font-size:42px;
  font-weight:800;
  color:var(--bas-primary);
  font-family:var(--bas-font-heading);
  display:inline;
  line-height:1;
}
.bas-stat-label {
  font-size:14px;
  color:#666;
  margin-top:8px;
  font-weight:500;
}
@media (max-width:768px) {
  .bas-stats-grid { grid-template-columns:repeat(2,1fr); }
  .bas-stat-number, .bas-stat-suffix { font-size:32px; }
}

/* === TESTIMONIALS === */
.bas-testimonials {
  overflow:hidden;
  position:relative;
  padding:0 0 40px;
  max-width:750px;
  margin:0 auto;
}
.bas-testimonials-track {
  display:flex;
  transition:transform .5s cubic-bezier(.25,.8,.25,1);
}
.bas-testimonial-card {
  flex:0 0 100%;
  background:#fff;
  border-radius:16px;
  padding:40px 35px 35px;
  text-align:center;
  box-shadow:0 4px 20px rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.04);
  margin:0;
}
.bas-testimonial-icon {
  font-size:28px;
  color:var(--bas-accent);
  margin-bottom:15px;
  opacity:0.4;
}
.bas-testimonial-text {
  font-size:16px;
  line-height:1.8;
  color:#555;
  font-style:italic;
  margin:0 0 20px;
}
.bas-testimonial-author {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.bas-testimonial-avatar {
  font-size:40px;
  color:#ccc;
}
.bas-testimonial-author strong {
  display:block;
  color:var(--bas-primary);
  font-size:15px;
}
.bas-testimonial-author span {
  display:block;
  color:#888;
  font-size:13px;
}
.bas-testimonials-dots {
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:20px;
}
body .bas-testimonial-dot {
  width:14px !important; height:14px !important;
  min-width:14px !important; max-width:14px !important;
  min-height:14px !important; max-height:14px !important;
  border-radius:50% !important;
  border:2px solid var(--bas-primary) !important;
  background:transparent !important;
  cursor:pointer !important;
  padding:0 !important; margin:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:0 !important; line-height:0 !important;
  transition:all .3s ease !important;
  outline:none;
  box-shadow:none !important;
}
body .bas-testimonial-dot:hover { transform:scale(1.2); }
body .bas-testimonial-dot.active { background:var(--bas-primary) !important; border-color:var(--bas-primary) !important; }

/* === SCROLL REVEAL ANIMATIONS === */
.bas-reveal {
  opacity:0;
  transform:translateY(30px);
  transition:opacity .6s ease, transform .6s ease;
}
.bas-reveal.revealed {
  opacity:1;
  transform:translateY(0);
}
@media (max-width:768px) {
  .bas-testimonial-card { padding:25px 20px; }
}

/* === SERVICIOS DIGITALES GRID === */
.bas-servicios-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.bas-servicio-card {
  display:block;
  background:#fff;
  border-radius:16px;
  padding:30px 20px 25px;
  text-align:center;
  box-shadow:0 4px 20px rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.04);
  transition:all .4s cubic-bezier(.25,.8,.25,1);
  text-decoration:none !important;
  color:inherit !important;
}
.bas-servicio-card:hover {
  transform:translateY(-6px);
  box-shadow:0 12px 40px rgba(10,43,94,0.12);
  border-color:rgba(10,43,94,0.08);
}
.bas-servicio-icon {
  width:56px; height:56px;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 15px;
  background:var(--bas-primary);
  border-radius:14px;
  font-size:24px;
  color:#fff;
  transition:all .4s ease;
}
.bas-servicio-card:hover .bas-servicio-icon {
  background:var(--bas-accent);
  transform:scale(1.1) rotate(5deg);
}
.bas-servicio-card h3 {
  margin:0 0 8px;
  font-size:18px; font-weight:600;
  color:var(--bas-primary);
}
.bas-servicio-card p {
  margin:0;
  font-size:14px; color:#666;
  line-height:1.6;
}
@media (max-width:768px) {
  .bas-servicios-grid { grid-template-columns:1fr; }
}
