
.sqm-header {
  width: 100%;
  background: #ffffff;
  padding: 28px 32px;
  position: sticky;
  top: 0;
  z-index: 999999;
  font-family: inherit;
}

.sqm-header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.sqm-logo img {
  width: 170px !important;
  height: auto !important;
  display: block;
}

.sqm-menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.sqm-menu a {
  color: #555879;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  padding: 0 28px;
  border-right: 1px solid rgba(85,88,121,0.14);
}

.sqm-menu a:last-child {
  border-right: none;
}

.sqm-menu a:hover {
  color: #7dbc1f;
}

.sqm-button,
.sqm-mobile-button {
  background: #7dbc1f;
  color: #ffffff !important;
  text-decoration: none;
  padding: 18px 42px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.sqm-button:hover,
.sqm-mobile-button:hover {
  background: #6dac18;
  color: #ffffff !important;
}

.sqm-mobile-button {
  display: none;
}

.sqm-menu-toggle {
  display: none;
}

.sqm-menu-icon {
  display: none;
  width: 32px;
  height: 24px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.sqm-menu-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background: #283583;
  border-radius: 999px;
}

/* Mobile */
@media (max-width: 900px) {
  .sqm-header {
    padding: 16px 20px;
    z-index: 999999;
  }

  .sqm-logo img {
    width: 145px !important;
  }

  .sqm-menu-icon {
    display: flex;
    margin-left: auto;
  }

  .sqm-button {
    display: none;
  }

  .sqm-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    padding: 18px 20px 24px;
    box-shadow: 0 16px 28px rgba(0,0,0,0.16);
    z-index: 999998;
  }

  .sqm-menu-toggle:checked ~ .sqm-menu {
    display: flex;
  }

  .sqm-menu a {
    width: 100%;
    text-align: center;
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid rgba(85,88,121,0.12);
    font-size: 16px;
  }

  .sqm-menu a:last-child {
    border-bottom: none;
  }

  .sqm-mobile-button {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 14px;
    padding: 14px 34px !important;
    border-bottom: none !important;
  }
}





.sqm-program {
  --sqm-bg: #1f2f73;
  --sqm-panel: #344889;
  --sqm-panel-hover: #3c5198;
  --sqm-active: #61be4f;
  --sqm-text: #ffffff;
  --sqm-text-soft: rgba(255,255,255,0.78);
  --sqm-badge: rgba(255,255,255,0.12);
  --sqm-outline: rgba(255,255,255,0.10);
  --sqm-number: rgba(255,255,255,0.18);

  font-family: 'Poppins', sans-serif;
  width: 100%;
  background: var(--sqm-bg);
  border-radius: 28px;
  padding: 22px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.sqm-program * {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.sqm-program::before,
.sqm-program::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}

.sqm-program::before {
  width: 220px;
  height: 220px;
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: 999px;
  right: -90px;
  top: 70px;
}

.sqm-program::after {
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
  left: -50px;
  bottom: -40px;
}

.sqm-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.sqm-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sqm-item {
  width: 100%;
  border: 1px solid var(--sqm-outline);
  background: var(--sqm-panel);
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

.sqm-item:hover {
  background: var(--sqm-panel-hover);
  transform: translateY(-1px);
}

.sqm-item.active {
  background: var(--sqm-active);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.sqm-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.sqm-icon {
  font-size: 26px;
  line-height: 1;
  width: 34px;
  text-align: center;
  flex-shrink: 0;
}

.sqm-copy {
  min-width: 0;
}

.sqm-kicker {
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.58);
  margin-bottom: 4px;
}

.sqm-item.active .sqm-kicker {
  color: rgba(255,255,255,0.72);
}

.sqm-name {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--sqm-text);
  word-break: break-word;
}

.sqm-number {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  background: var(--sqm-number);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.sqm-item.active .sqm-number {
  background: rgba(255,255,255,0.22);
}

.sqm-check {
  font-size: 18px;
}

.sqm-right {
  background: #344889;
  border: 1px solid var(--sqm-outline);
  border-radius: 30px;
  padding: 48px 50px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.sqm-right::before {
  content: "";
  position: absolute;
  right: -30px;
  top: 120px;
  width: 120px;
  height: 120px;
  border: 2px dashed rgba(255,255,255,0.08);
  border-radius: 999px;
}

.sqm-right::after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 120px;
  height: 120px;
  background:
    linear-gradient(135deg, transparent 48%, rgba(97,190,79,0.22) 49%, rgba(97,190,79,0.22) 51%, transparent 52%),
    linear-gradient(45deg, transparent 48%, rgba(97,190,79,0.22) 49%, rgba(97,190,79,0.22) 51%, transparent 52%);
  transform: rotate(12deg);
  opacity: .9;
}

.sqm-panel {
  display: none;
  position: relative;
  z-index: 2;
}

.sqm-panel.active {
  display: block;
}

.sqm-panel-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 28px;
}

.sqm-panel-kicker {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sqm-active);
  margin-bottom: 16px;
}

.sqm-panel-title {
  font-size: 54px;
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  margin: 0 0 24px;
}

.sqm-panel-text {
  font-size: 17px;
  line-height: 1.9;
  font-weight: 400;
  color: var(--sqm-text-soft);
  max-width: 620px;
  margin-bottom: 30px;
}

.sqm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sqm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sqm-badge);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.sqm-pill-icon {
  font-size: 14px;
  opacity: .95;
}

/* TABLET */
@media (max-width: 1024px) {
  .sqm-grid {
    grid-template-columns: 1fr;
  }

  .sqm-right {
    padding: 38px 34px;
  }

  .sqm-panel-title {
    font-size: 42px;
  }

  .sqm-panel-text {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .sqm-program {
    padding: 16px;
    border-radius: 22px;
  }

  .sqm-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .sqm-right {
    order: 1;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .sqm-left {
    order: 2;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .sqm-left::-webkit-scrollbar {
    display: none;
  }

  .sqm-item {
    min-width: 260px;
    max-width: 260px;
    padding: 16px;
    border-radius: 18px;
    flex-shrink: 0;
  }

  .sqm-item-left {
    gap: 12px;
    align-items: center;
  }

  .sqm-icon {
    font-size: 22px;
    width: 26px;
  }

  .sqm-kicker {
    font-size: 11px;
  }

  .sqm-name {
    font-size: 16px;
    line-height: 1.3;
  }

  .sqm-number {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 16px;
  }

  .sqm-panel-icon {
    font-size: 44px;
    margin-bottom: 18px;
  }

  .sqm-panel-kicker {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .sqm-panel-title {
    font-size: 34px;
    margin-bottom: 16px;
  }

  .sqm-panel-text {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .sqm-pill {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 14px;
  }
}



.sq-footer {
  background: #283583;
  color: #ffffff;
  padding: 48px 24px 24px;
  font-family: inherit;
}

/* Layout */
.sq-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.sq-footer-logo img {
  width: 200px !important;
  height: auto !important;
}

/* Menú */
.sq-footer-menu {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.sq-footer-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.sq-footer-menu a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Bottom */
.sq-footer-bottom {
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
  text-align: center;
}

.sq-footer-bottom p {
  margin: 0;
  font-size: 14px;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 768px) {
  .sq-footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .sq-footer-menu {
    justify-content: center;
    gap: 16px 24px;
  }

  .sq-footer-logo img {
    max-width: 100px;
  }
}


html { scroll-behavior: smooth; }
body { margin: 0; color: #283583; font-family: Poppins, Arial, sans-serif; }
img { max-width: 100%; }
.sqm-white { color: #fff; }
.sqm-site-links { display: flex; justify-content: center; gap: 1.5rem; padding: 1rem; font: 500 12px Poppins, Arial, sans-serif; }
.sqm-site-links a { color: inherit; }
.sqm-item { cursor: pointer; }
.sqm-item:focus-visible, a:focus-visible { outline: 3px solid #80b927; outline-offset: 3px; }
.opal-icon-arrow-right::before { content: '→'; font-family: Arial, sans-serif; font-style: normal; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
