/* ============================================================
   DunamisSoft Marketing Site — aligned with appDunamis
   ============================================================ */

:root {
  /* Aliases → tokens oficiales de appDunamis (template.css) */
  --ds-teal: var(--dunamis-primary-color);
  --ds-teal-light: var(--dunamis-primary-color2);
  --ds-teal-dark: var(--dunamis-color-hover);
  --ds-teal-deep: var(--dunamis-color-bg);
  --ds-gold: var(--dunamis-secondary-color);
  --ds-gold-hover: var(--dunamis-color-focus);
  --ds-heading: var(--heading-color);
  --ds-text: var(--dunamis-color-text);
  --ds-text-muted: color-mix(in srgb, var(--dunamis-color-text) 62%, #fff);
  --ds-bg: var(--dunamis-color-text-bg);
  --ds-bg-alt: var(--bg-light);
  --ds-bg-dark: var(--footer-bg);
  --ds-border: var(--border-color-light);
  --ds-primary-soft: color-mix(in srgb, var(--dunamis-primary-color) 12%, transparent);
  --ds-primary-medium: color-mix(in srgb, var(--dunamis-primary-color) 18%, transparent);
  --ds-gold-soft: color-mix(in srgb, var(--dunamis-secondary-color) 12%, transparent);
  --ds-radius: var(--border-radius);
  --ds-radius-lg: var(--border-radius-full);
  --ds-shadow: 0 4px 24px color-mix(in srgb, var(--dunamis-color-hover) 10%, transparent);
  --ds-shadow-lg: 0 12px 40px color-mix(in srgb, var(--dunamis-color-hover) 18%, transparent);
  --ds-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ds-header-height: 68px;
  --ds-topbar-height: 42px;
}

/* ---- Base ---- */
body.ds-site {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ds-text);
  background: var(--ds-bg);
  padding-top: calc(var(--ds-topbar-height) + var(--ds-header-height)) !important;
  overflow-x: hidden;
}

body.ds-site main.content,
body.ds-site .content {
  padding: 0 !important;
  margin: 0 !important;
}

#slide.ds-ecf-banner,
#slide.ds-hero,
#slide.ds-hero-static {
  margin-top: 0 !important;
}

/* Override legacy template.css navbar color rules */
.ds-header-shell .navbar a.nav-link,
.ds-header-shell .ds-navbar-brand {
  color: inherit;
}

body.ds-site p {
  text-align: inherit !important;
  line-height: 1.7;
}

body.ds-site .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* ---- Header shell (nav + top fijo) ---- */
.ds-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  flex-direction: column;
}

.ds-header-shell .ds-topbar {
  flex-shrink: 0;
  width: 100%;
}

/* ---- Top bar ---- */
.ds-topbar {
  height: var(--ds-topbar-height);
  background: linear-gradient(90deg, var(--dunamis-color-hover) 0%, var(--dunamis-color-bg) 55%, #3a7a79 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--dunamis-secondary-color) 22%, transparent);
  font-size: 0.8125rem;
  color: #fff;
}

.ds-topbar a,
.ds-topbar a:link,
.ds-topbar a:visited,
.ds-topbar a:hover,
.ds-topbar a:active,
.ds-topbar i,
.ds-topbar span {
  color: inherit !important;
}

.ds-topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ds-topbar-left,
.ds-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.ds-topbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.65rem 0.2rem 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.75rem;
  transition: background var(--ds-transition), border-color var(--ds-transition), color var(--ds-transition);
}

.ds-topbar-chip span {
  color: #ffffff !important;
}

.ds-topbar-chip:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--dunamis-secondary-color);
  color: #ffffff !important;
}

.ds-topbar-chip-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dunamis-secondary-color);
  color: var(--heading-color) !important;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.ds-topbar-chip-icon i {
  color: var(--heading-color) !important;
}

.ds-topbar-social {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.25rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.ds-topbar-social-btn,
.ds-topbar-social-btn:link,
.ds-topbar-social-btn:visited {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff !important;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  transition: color var(--ds-transition), background var(--ds-transition), transform var(--ds-transition);
}

.ds-topbar-social-btn i,
.ds-topbar-social-btn [class*="fa"],
.ds-topbar-social-btn [class*="bi"] {
  color: #ffffff !important;
}

.ds-topbar-social-btn:hover {
  color: var(--heading-color) !important;
  background: var(--dunamis-secondary-color);
  transform: translateY(-1px);
}

.ds-topbar-social-btn:hover i,
.ds-topbar-social-btn:hover [class*="fa"],
.ds-topbar-social-btn:hover [class*="bi"] {
  color: var(--heading-color) !important;
}

.ds-topbar-link,
.ds-topbar-link:link,
.ds-topbar-link:visited,
.ds-topbar-login,
.ds-topbar-login:link,
.ds-topbar-login:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  transition: background var(--ds-transition), border-color var(--ds-transition), color var(--ds-transition), transform var(--ds-transition);
}

.ds-topbar-link span,
.ds-topbar-link i,
.ds-topbar-login span,
.ds-topbar-login i {
  color: #ffffff !important;
}

.ds-topbar-link:hover,
.ds-topbar-login:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.ds-topbar-login i {
  font-size: 0.85rem;
}

.ds-topbar-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.ds-topbar-btn,
.ds-topbar-btn:link,
.ds-topbar-btn:visited,
.ds-topbar-register,
.ds-topbar-register:link,
.ds-topbar-register:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 30px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--dunamis-secondary-color);
  color: var(--heading-color) !important;
  text-decoration: none !important;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--dunamis-secondary-color) 40%, transparent);
  transition: background var(--ds-transition), transform var(--ds-transition), box-shadow var(--ds-transition);
}

.ds-topbar-btn span,
.ds-topbar-btn i,
.ds-topbar-register span,
.ds-topbar-register i {
  color: var(--heading-color) !important;
}

.ds-topbar-btn:hover,
.ds-topbar-register:hover {
  background: #f5c842;
  color: var(--heading-color) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--dunamis-secondary-color) 50%, transparent);
}

.ds-topbar-btn i,
.ds-topbar-register i {
  font-size: 0.85rem;
}

@media (max-width: 575.98px) {
  :root {
    --ds-topbar-height: 44px;
  }

  .ds-topbar-inner {
    gap: 0.4rem;
  }

  .ds-topbar-left {
    gap: 0.25rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .ds-topbar-right {
    flex-shrink: 0;
  }

  .ds-topbar-social {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    gap: 0.2rem;
  }

  /* En móvil: menos redes para dejar espacio a los CTAs */
  .ds-topbar-social-btn:nth-child(n+4) {
    display: none;
  }

  .ds-topbar-social-btn,
  .ds-topbar-social-btn:link,
  .ds-topbar-social-btn:visited {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }

  .ds-topbar-auth {
    gap: 0.35rem;
  }

  .ds-topbar-login,
  .ds-topbar-register {
    height: 32px;
    padding: 0 0.65rem;
    font-size: 0.7rem;
  }

  .ds-topbar-register span {
    display: inline;
  }

  /* Texto corto en pantallas muy angostas */
  .ds-topbar-register span {
    font-size: 0.7rem;
  }
}

@media (max-width: 379.98px) {
  .ds-topbar-login span {
    display: none;
  }

  .ds-topbar-login {
    width: 32px;
    padding: 0;
  }

  .ds-topbar-register span {
    max-width: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ---- Header / Navbar ---- */
#site-header.ds-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  height: var(--ds-header-height) !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0;
  width: 100%;
  overflow: visible;
  background: color-mix(in srgb, var(--dunamis-color-text-bg) 98%, var(--dunamis-primary-color2));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow var(--ds-transition);
}

.ds-header .container {
  max-width: 100%;
  overflow: visible;
}

.ds-header-shell.scrolled #site-header.ds-header {
  box-shadow: var(--ds-shadow);
}

/* Navbar layout */
.ds-navbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  height: var(--ds-header-height);
  padding: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  gap: 0.5rem;
}

.ds-navbar-brand {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 220px;
  margin-right: 1rem;
  padding: 0;
  line-height: 0;
}

.ds-navbar-brand img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.ds-navbar .navbar-collapse,
.ds-navbar-collapse {
  flex-grow: 1;
  align-items: center;
}

.ds-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0 auto !important;
}

.ds-header-shell .ds-nav-menu .nav-link {
  color: var(--heading-color) !important;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.45rem 0.85rem !important;
  border-radius: var(--border-radius);
  white-space: nowrap;
  transition: color var(--ds-transition), background var(--ds-transition);
  letter-spacing: 0.01em;
}

.ds-header-shell .ds-nav-menu .nav-link:hover,
.ds-header-shell .ds-nav-menu .nav-link.active {
  color: var(--dunamis-color-hover) !important;
  background: var(--ds-primary-soft);
}

.ds-nav-menu .dropdown-toggle::after {
  margin-left: 0.35em;
  vertical-align: 0.15em;
  border-width: 0.35em;
  opacity: 0.6;
}

/* Services mega-dropdown */
.ds-services-menu {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-lg);
  padding: 0.75rem !important;
  margin-top: 0.65rem !important;
  min-width: 420px;
  animation: dsDropIn 0.2s ease;
}

@keyframes dsDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ds-services-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.ds-services-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ds-text) !important;
  transition: background var(--ds-transition), color var(--ds-transition);
}

.ds-services-menu .dropdown-item i {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ds-primary-soft);
  color: var(--dunamis-color-bg);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background var(--ds-transition);
}

.ds-services-menu .dropdown-item:hover {
  background: var(--ds-primary-soft);
  color: var(--dunamis-color-hover) !important;
}

.ds-services-menu .dropdown-item:hover i {
  background: var(--dunamis-primary-color);
  color: var(--dunamis-color-text-bg);
}

/* Navbar actions (search + CTA) */
.ds-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.ds-search-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--ds-transition);
  flex-shrink: 0;
}

.ds-search-toggle:hover,
.ds-search-toggle[aria-expanded="true"] {
  background: var(--ds-primary-soft);
  border-color: var(--dunamis-primary-color);
  color: var(--dunamis-color-hover);
}

.btn-ds-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dunamis-primary-color);
  color: #ffffff !important;
  border: none;
  border-radius: var(--border-radius);
  padding: 0.5rem 1.15rem;
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background var(--ds-transition), transform var(--ds-transition);
  letter-spacing: 0.02em;
}

.btn-ds-nav-cta:hover {
  background: var(--dunamis-color-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Expandable search panel */
.ds-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--ds-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
  animation: dsSearchSlide 0.25s ease;
}

@keyframes dsSearchSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ds-search-panel-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ds-search-panel-icon {
  color: var(--ds-text-muted);
  font-size: 1rem;
  flex-shrink: 0;
}

.ds-search-panel .form-control {
  border: none;
  box-shadow: none;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  background: transparent;
  flex: 1;
}

.ds-search-panel .form-control:focus {
  box-shadow: none;
  outline: none;
}

.ds-search-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: var(--ds-bg-alt);
  color: var(--ds-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--ds-transition);
}

.ds-search-close:hover {
  background: var(--ds-border);
  color: var(--ds-heading);
}

.ds-search-panel .suggestion-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 10;
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-lg);
}

.ds-search-results {
  margin-top: 0.5rem;
}

/* Custom hamburger — always reserved on the right in mobile */
.ds-navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 0.35rem;
  width: 42px;
  height: 42px;
  margin-left: auto;
  flex: 0 0 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  background: var(--ds-bg-alt);
  position: relative;
  z-index: 5;
  transition: background var(--ds-transition), border-color var(--ds-transition);
}

.ds-navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid color-mix(in srgb, var(--dunamis-primary-color) 35%, transparent);
  outline-offset: 2px;
}

.ds-navbar-toggler:hover {
  background: var(--ds-primary-soft);
  border-color: var(--dunamis-primary-color);
}

.ds-navbar-toggler span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--dunamis-color-bg);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ds-navbar-toggler[aria-expanded="true"] span:nth-child(1),
.ds-navbar-toggler:not(.collapsed) span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ds-navbar-toggler[aria-expanded="true"] span:nth-child(2),
.ds-navbar-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}

.ds-navbar-toggler[aria-expanded="true"] span:nth-child(3),
.ds-navbar-toggler:not(.collapsed) span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991.98px) {
  .ds-navbar-toggler {
    display: flex !important;
  }
}

@media (min-width: 992px) {
  .ds-navbar-toggler {
    display: none !important;
  }
}

/* ---- Buttons ---- */
.btn-ds-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--dunamis-primary-color) 0%, var(--dunamis-color-bg) 100%);
  color: var(--dunamis-color-text-bg) !important;
  border: none;
  border-radius: var(--border-radius-full);
  padding: 0.65rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform var(--ds-transition), box-shadow var(--ds-transition), background var(--ds-transition);
  box-shadow: 0 4px 14px var(--ds-primary-medium);
  text-decoration: none !important;
}

.btn-ds-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--dunamis-color-bg) 0%, var(--dunamis-color-hover) 100%);
  box-shadow: 0 8px 24px var(--ds-primary-medium);
  color: var(--dunamis-color-text-bg) !important;
}

.btn-ds-primary:active {
  transform: translateY(0);
}

.btn-ds-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--dunamis-color-hover) !important;
  border: 2px solid var(--dunamis-primary-color);
  border-radius: var(--border-radius-full);
  padding: 0.55rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--ds-transition);
  text-decoration: none !important;
}

.btn-ds-outline:hover {
  background: var(--dunamis-primary-color);
  color: var(--dunamis-color-text-bg) !important;
  border-color: var(--dunamis-primary-color);
}

.btn-ds-gold {
  background: var(--dunamis-secondary-color) !important;
  color: var(--heading-color) !important;
  box-shadow: 0 4px 14px var(--ds-gold-soft);
}

.btn-ds-gold:hover {
  background: var(--dunamis-color-focus) !important;
  box-shadow: 0 8px 24px var(--ds-gold-soft);
  color: var(--heading-color) !important;
}

/* Override legacy orange button → colores app */
.boton-empieza {
  background: linear-gradient(135deg, var(--dunamis-primary-color) 0%, var(--dunamis-color-bg) 100%) !important;
  color: var(--dunamis-color-text-bg) !important;
  padding: 0.75rem 2rem !important;
  border-radius: var(--border-radius-full) !important;
  border: none !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 4px 14px var(--ds-gold-soft) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.boton-empieza:hover {
  background: linear-gradient(135deg, var(--dunamis-color-bg) 0%, var(--dunamis-color-hover) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--ds-gold-soft) !important;
}

.boton-empieza:before {
  display: none !important;
}

/* ---- Sections ---- */
.ds-section {
  padding: 5rem 0;
}

.ds-section-alt {
  background: var(--ds-bg-alt);
}

.ds-section-dark {
  background: linear-gradient(135deg, var(--dunamis-color-hover) 0%, var(--dunamis-color-bg) 50%, var(--dunamis-primary-color) 100%);
  color: var(--dunamis-color-text-bg);
}

.ds-section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dunamis-primary-color);
  margin-bottom: 0.75rem;
}

.ds-section-dark .ds-section-label {
  color: var(--dunamis-secondary-color);
}

.ds-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ds-heading);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.ds-section-dark .ds-section-title {
  color: #fff;
}

.ds-section-subtitle {
  font-size: 1.0625rem;
  color: var(--ds-text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.ds-section-dark .ds-section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* ---- Hero / Slider ---- */
.ds-hero {
  position: relative;
  min-height: calc(100vh - var(--ds-topbar-height) - var(--ds-header-height));
  max-height: 720px;
  overflow: hidden;
}

.ds-hero .jd-slider,
.ds-hero .slide-inner,
.ds-hero .slide-area,
.ds-hero .slide-area li {
  height: 100%;
  min-height: calc(100vh - var(--ds-topbar-height) - var(--ds-header-height));
  max-height: 720px;
}

.ds-hero .slide-area li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-hero .slideOpt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, color-mix(in srgb, var(--footer-bg) 72%, transparent) 0%, color-mix(in srgb, var(--dunamis-color-hover) 45%, transparent) 60%, transparent 100%);
}

.ds-hero .slideText {
  max-width: 600px;
  padding: 2rem;
}

.ds-hero .slideText h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.ds-hero .slideText h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ds-hero .slideText h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.ds-hero-static {
  background: linear-gradient(135deg, var(--dunamis-color-hover) 0%, var(--dunamis-color-bg) 40%, var(--dunamis-primary-color) 100%);
  min-height: calc(100vh - var(--ds-topbar-height) - var(--ds-header-height));
  max-height: 720px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ds-hero-static::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--ds-gold-soft);
  top: -200px;
  right: -100px;
}

.ds-hero-static::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -150px;
  left: -100px;
}

.ds-hero-static .hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.ds-hero-static h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.ds-hero-static .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* ---- Hero banner slider (full) ---- */
.ds-ecf-banner.ds-hero-slider {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, color-mix(in srgb, var(--dunamis-primary-color) 16%, transparent), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, color-mix(in srgb, var(--dunamis-secondary-color) 10%, transparent), transparent 50%),
    linear-gradient(180deg, #f7fbfb 0%, #ffffff 45%, #f4faf9 100%);
  overflow: hidden;
}

.ds-hero-stage {
  position: relative;
  min-height: clamp(520px, 72vh, 700px);
  display: flex;
  flex-direction: column;
}

.ds-hero-slides {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(480px, 66vh, 640px);
}

.ds-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
  display: flex;
  align-items: center;
}

.ds-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: relative;
}

.ds-hero-slide-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  width: 100%;
  padding: clamp(2.75rem, 6vh, 4.5rem) 0 1.5rem;
}

.ds-hero-copy {
  max-width: 36rem;
}

.ds-ecf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--dunamis-primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.ds-ecf-title {
  margin: 0 0 1rem;
  line-height: 0.95;
}

.ds-ecf-title-main {
  display: block;
  font-size: clamp(2.6rem, 7vw, 4.25rem);
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.ds-ecf-title-sub {
  display: block;
  font-size: clamp(1.1rem, 2.8vw, 1.55rem);
  font-weight: 700;
  color: var(--dunamis-color-bg);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 0.35rem;
}

.ds-ecf-pill {
  display: inline-block;
  background: var(--dunamis-secondary-color);
  color: var(--heading-color);
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 1.15rem;
  border-radius: 10px;
  margin-bottom: 1.15rem;
}

.ds-ecf-lead {
  font-size: 1.05rem;
  color: var(--ds-text);
  max-width: 34rem;
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.ds-ecf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.ds-ecf-whatsapp {
  border-color: #25d366 !important;
  color: #128c7e !important;
}

.ds-ecf-whatsapp:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
}

.ds-ecf-incluye-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0 0 1.5rem;
}

.ds-ecf-incluye-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dunamis-primary-color);
}

.ds-ecf-incluye-compact ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ds-ecf-incluye-compact li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--heading-color);
  background: var(--ds-primary-soft);
  border: 1px solid color-mix(in srgb, var(--dunamis-primary-color) 20%, transparent);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
}

/* Captura real del app (derecha) */
.ds-hero-card-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.ds-hero-screen {
  margin: 0;
  width: min(100%, 680px);
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 18px 48px color-mix(in srgb, var(--dunamis-color-hover) 16%, transparent);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.ds-hero-screen:hover {
  box-shadow: 0 22px 56px color-mix(in srgb, var(--dunamis-color-hover) 22%, transparent);
  transform: translateY(-2px);
}

.ds-hero-screen-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, #f4f7f7 0%, #eef3f3 100%);
  border-bottom: 1px solid var(--ds-border);
}

.ds-hero-screen-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d5dde0;
  flex-shrink: 0;
}

.ds-hero-screen-chrome span:nth-child(1) { background: #ff5f57; }
.ds-hero-screen-chrome span:nth-child(2) { background: #febc2e; }
.ds-hero-screen-chrome span:nth-child(3) { background: #28c840; }

.ds-hero-screen-chrome em {
  margin-left: 0.55rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dunamis-color-bg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ds-hero-zoom-hint {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ds-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.ds-hero-screen-frame,
button.ds-hero-screen-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.2;
  min-height: 320px;
  max-height: min(52vh, 420px);
  padding: 0;
  margin: 0;
  border: none;
  background: #e8efef;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

button.ds-hero-screen-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, color-mix(in srgb, #000 8%, transparent));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

button.ds-hero-screen-frame:hover::after,
button.ds-hero-screen-frame:focus-visible::after {
  opacity: 1;
}

.ds-hero-screen-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  transition: transform 0.35s ease;
}

button.ds-hero-screen-frame:hover img,
button.ds-hero-screen-frame:focus-visible img {
  transform: scale(1.02);
}

/* Lightbox ampliar captura */
body.ds-lightbox-open {
  overflow: hidden;
}

.ds-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: color-mix(in srgb, #0b1c1c 82%, transparent);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ds-lightbox[hidden] {
  display: none !important;
}

.ds-lightbox-figure {
  margin: 0;
  max-width: min(96vw, 1280px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.ds-lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 2.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.ds-lightbox-figure figcaption {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  opacity: 0.9;
}

.ds-lightbox-close,
.ds-lightbox-nav {
  position: absolute;
  border: none;
  background: color-mix(in srgb, #fff 12%, transparent);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}

.ds-lightbox-close:hover,
.ds-lightbox-nav:hover {
  background: color-mix(in srgb, #fff 28%, transparent);
}

.ds-lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 1.15rem;
}

.ds-lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.ds-lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 767.98px) {
  .ds-lightbox-prev,
  .ds-lightbox-next {
    display: none;
  }

  .ds-hero-zoom-hint {
    display: none;
  }
}

.ds-banner-promo {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  display: flex;
  flex-direction: column;
}

.ds-banner-promo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.ds-banner-promo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  background: var(--dunamis-color-bg);
}

.ds-banner-promo-gold .ds-banner-promo-icon {
  background: var(--dunamis-secondary-color);
  color: var(--heading-color);
}

.ds-banner-promo-green .ds-banner-promo-icon {
  background: #25d366;
}

.ds-banner-promo-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--ds-primary-soft);
  color: var(--dunamis-color-hover);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}

.ds-banner-promo-gold .ds-banner-promo-badge {
  background: color-mix(in srgb, var(--dunamis-secondary-color) 22%, #fff);
  color: var(--heading-color);
}

.ds-banner-promo h3 {
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.3;
}

.ds-banner-promo p {
  color: var(--ds-text-muted);
  flex: 1;
}

.ds-banner-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  background: var(--dunamis-primary-color);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: background var(--ds-transition), transform var(--ds-transition);
}

.ds-banner-promo-cta:hover {
  background: var(--dunamis-color-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.ds-banner-promo-gold .ds-banner-promo-cta {
  background: var(--dunamis-secondary-color);
  color: var(--heading-color) !important;
}

.ds-banner-promo-gold .ds-banner-promo-cta:hover {
  background: #f5c842;
  color: var(--heading-color) !important;
}

.ds-banner-promo-green .ds-banner-promo-cta {
  background: #128c7e;
}

.ds-hero-controls {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.35rem 0 1.35rem;
  margin: 0 auto;
}

.ds-banner-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ds-border);
  background: #fff;
  color: var(--heading-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ds-shadow);
  transition: background var(--ds-transition), border-color var(--ds-transition);
}

.ds-banner-slider-btn:hover {
  background: var(--ds-primary-soft);
  border-color: var(--dunamis-primary-color2);
}

.ds-banner-slider-dots {
  display: flex;
  gap: 0.4rem;
}

.ds-banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--dunamis-primary-color2);
  opacity: 0.45;
  cursor: pointer;
  padding: 0;
}

.ds-banner-dot.is-active {
  opacity: 1;
  background: var(--dunamis-color-bg);
  width: 22px;
  border-radius: 999px;
}

.ds-ecf-strip {
  margin-top: 0;
  background: var(--heading-color);
  color: #fff;
  position: relative;
  z-index: 2;
}

@media (max-width: 991.98px) {
  .ds-hero-stage {
    min-height: 0;
  }

  .ds-hero-slides {
    min-height: 0;
  }

  .ds-hero-slide-inner {
    grid-template-columns: 1fr;
    padding: 2.25rem 0 1rem;
    text-align: center;
  }

  .ds-hero-copy {
    max-width: none;
  }

  .ds-ecf-lead,
  .ds-ecf-incluye-compact,
  .ds-ecf-actions {
    justify-content: center;
  }

  .ds-ecf-incluye-compact {
    justify-content: center;
  }

  .ds-ecf-actions {
    justify-content: center;
  }

  .ds-hero-card-wrap {
    justify-content: center;
  }

  .ds-hero-screen {
    width: 100%;
    max-width: 640px;
  }

  .ds-hero-screen-frame,
  button.ds-hero-screen-frame {
    min-height: 220px;
    max-height: 320px;
  }

  .ds-hero-controls {
    padding: 0.5rem 0 1.15rem;
  }
}

.ds-ecf-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 0;
  font-size: 0.875rem;
}

.ds-ecf-strip-msg {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--dunamis-secondary-color);
}

.ds-ecf-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 500;
}

.ds-ecf-strip-item:hover {
  color: var(--dunamis-secondary-color) !important;
}

@media (max-width: 991.98px) {
  .ds-ecf-strip-inner {
    justify-content: center;
    text-align: center;
  }
}

/* Sección promociones */
.ds-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.ds-promo-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.4rem;
  transition: box-shadow var(--ds-transition), transform var(--ds-transition);
}

.ds-promo-card:hover {
  box-shadow: var(--ds-shadow);
  transform: translateY(-3px);
}

.ds-promo-card-teal {
  background: linear-gradient(160deg, color-mix(in srgb, var(--dunamis-primary-color) 12%, #fff), #fff 55%);
  border-color: color-mix(in srgb, var(--dunamis-primary-color) 25%, transparent);
}

.ds-promo-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--dunamis-secondary-color);
  color: var(--heading-color);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.ds-promo-tag-soft {
  background: var(--ds-primary-soft);
  color: var(--dunamis-color-hover);
}

.ds-promo-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.ds-promo-card p {
  font-size: 0.9rem;
  color: var(--ds-text-muted);
  margin-bottom: 1rem;
}

.btn-sm {
  padding: 0.45rem 0.95rem !important;
  font-size: 0.8125rem !important;
}

@media (max-width: 991.98px) {
  .ds-promo-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Feature cards ---- */
.ds-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.ds-feature-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: clamp(2rem, 3vw, 2.75rem) clamp(1.5rem, 2.2vw, 2rem);
  text-align: center;
  transition: transform var(--ds-transition), box-shadow var(--ds-transition);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ds-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ds-shadow-lg);
}

.ds-feature-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--ds-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.35rem;
  color: var(--dunamis-color-bg);
  flex-shrink: 0;
}

.ds-feature-card h4 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: var(--ds-heading);
  margin-bottom: 0.9rem;
  line-height: 1.3;
}

.ds-feature-card p {
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--ds-text-muted);
  margin: 0;
  max-width: 22rem;
}

@media (max-width: 1199.98px) {
  .ds-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .ds-feature-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ds-feature-card {
    min-height: 0;
    padding: 1.85rem 1.35rem;
  }

  .ds-feature-icon {
    width: 76px;
    height: 76px;
    font-size: 2rem;
  }
}

/* ---- Service cards ---- */
.ds-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ds-service-card {
  background: #fff;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ds-border);
  transition: transform var(--ds-transition), box-shadow var(--ds-transition);
  display: flex;
  flex-direction: column;
}

.ds-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ds-shadow-lg);
}

.ds-service-card .card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f4f3 0%, #f4f8f7 100%);
}

.ds-service-card .card-image--app {
  background: #eef6f5;
}

.ds-service-card .card-image img,
.ds-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.ds-service-card .card-image--app img,
.ds-service-img-app {
  object-fit: cover;
  object-position: top center;
}

.ds-service-list-thumb {
  flex: 0 0 180px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--ds-radius-lg);
  background: linear-gradient(145deg, #e8f4f3 0%, #f4f8f7 100%);
}

.ds-service-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-service-list-thumb .ds-service-img-app {
  object-position: top center;
}

.ds-service-detail-img {
  border-radius: var(--ds-radius-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  width: 100%;
  background: #eef6f5;
}

.ds-service-card:hover .card-image img {
  transform: scale(1.05);
}

.ds-service-card .card-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.ds-service-card .card-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dunamis-primary-color);
  margin-bottom: 0.5rem;
}

.ds-service-card h5 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ds-heading);
  margin-bottom: 0.5rem;
}

.ds-service-card p {
  font-size: 0.875rem;
  color: var(--ds-text-muted);
  margin-bottom: 0;
}

.ds-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--dunamis-color-hover) !important;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none !important;
  transition: color var(--ds-transition), gap var(--ds-transition);
}

.ds-service-link:hover {
  color: var(--dunamis-primary-color) !important;
  gap: 0.5rem;
}

.ds-service-link i {
  font-size: 0.9em;
  transition: transform var(--ds-transition);
}

.ds-service-link:hover i {
  transform: translateX(3px);
}

/* ---- Customers logo strip ---- */
.ds-customers-strip {
  padding: 2rem 0 2.25rem;
  background: var(--ds-bg-alt);
  border-top: 1px solid var(--ds-border);
}

.ds-customers-strip-head {
  text-align: center;
  margin-bottom: 1.15rem;
}

.ds-customers-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.ds-customers-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2.5rem;
  animation: ds-customers-scroll 55s linear infinite;
}

.ds-customers-marquee:hover .ds-customers-track {
  animation-play-state: paused;
}

@keyframes ds-customers-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ds-customer-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 88px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none !important;
  color: var(--ds-heading) !important;
  box-shadow: none;
  transition: opacity var(--ds-transition), transform var(--ds-transition);
  overflow: hidden;
}

.ds-customer-logo:hover {
  border-color: transparent;
  box-shadow: none;
  opacity: 1;
  transform: scale(1.04);
}

.ds-customer-logo-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.ds-customer-logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
  opacity: 0.92;
  transition: opacity var(--ds-transition);
}

.ds-customer-logo:hover img {
  opacity: 1;
}

.ds-customer-logo-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--ds-heading);
}

.ds-customer-logo.is-fallback {
  background: transparent;
  padding: 0.35rem;
}

@media (max-width: 767px) {
  .ds-customer-logo {
    width: 150px;
    height: 68px;
    padding: 0;
  }

  .ds-customer-logo-name {
    font-size: 0.9rem;
  }

  .ds-customers-track {
    gap: 1.25rem;
    animation-duration: 42s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-customers-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
  }

  .ds-customers-marquee {
    mask-image: none;
  }
}

/* ---- Legacy customer grid (unused) ---- */
.ds-customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.ds-customer-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: box-shadow var(--ds-transition);
}

.ds-customer-card:hover {
  box-shadow: var(--ds-shadow);
}

.ds-customer-card .logo-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ds-customer-card .logo-wrap img {
  max-height: 64px;
  max-width: 100%;
  object-fit: contain;
}

.ds-customer-card h6 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ds-heading);
  margin-bottom: 0.25rem;
}

.ds-customer-card small {
  display: block;
  font-size: 0.75rem;
  color: var(--ds-text-muted);
  line-height: 1.4;
}

/* ---- CTA section ---- */
.ds-cta {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--ds-primary-soft) 100%);
  border-radius: var(--ds-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--ds-border);
}

.ds-cta-full {
  background: linear-gradient(135deg, var(--dunamis-color-hover) 0%, var(--dunamis-color-bg) 100%);
  color: var(--dunamis-color-text-bg);
  border: none;
}

.ds-cta-full .ds-section-title {
  color: #fff;
}

/* ---- Footer ---- */
footer.ds-footer,
.ds-footer {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(ellipse 70% 70% at 0% 100%, color-mix(in srgb, var(--dunamis-primary-color) 12%, transparent), transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 0%, color-mix(in srgb, var(--dunamis-secondary-color) 8%, transparent), transparent 50%),
    linear-gradient(180deg, #f7fbfb 0%, #ffffff 55%, #f3f8f8 100%);
  color: var(--ds-text);
  padding: 0;
  margin-top: 0;
  border-top: 1px solid var(--ds-border);
  text-align: left;
}

.ds-footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dunamis-color-bg), var(--dunamis-primary-color), var(--dunamis-secondary-color));
  opacity: 0.95;
  pointer-events: none;
}

.ds-footer-main {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 7vh, 5rem) 0 2.5rem;
}

.ds-footer-logo {
  display: inline-block;
  margin-bottom: 1.15rem;
  max-width: 100%;
}

.ds-footer-logo img {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: min(200px, 100%);
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.ds-footer-lead {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ds-text-muted);
  max-width: 22rem;
  margin: 0 0 1.5rem;
}

.ds-footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ds-footer-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--dunamis-color-bg) !important;
  font-size: 0.9rem !important;
  font-weight: 700;
  padding: 0.55rem 0.15rem;
  border-bottom: 1px solid color-mix(in srgb, var(--dunamis-primary-color) 55%, transparent);
  transition: color var(--ds-transition), border-color var(--ds-transition);
}

.ds-footer-link-btn:hover {
  color: var(--dunamis-color-hover) !important;
  border-color: var(--dunamis-secondary-color);
}

.ds-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ds-footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ds-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dunamis-color-bg) !important;
  font-size: 1.05rem;
  box-shadow: var(--ds-shadow);
  transition: background var(--ds-transition), color var(--ds-transition), border-color var(--ds-transition), transform var(--ds-transition);
}

.ds-footer-social a:hover {
  background: var(--dunamis-primary-color);
  border-color: var(--dunamis-primary-color);
  color: #fff !important;
  transform: translateY(-2px);
}

.ds-footer-social a.is-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

/* Títulos: texto + subrayado (block, alineación predecible) */
.ds-footer-heading {
  display: block;
  width: 100%;
  color: var(--ds-heading) !important;
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0 0 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
}

.ds-footer-heading::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: var(--dunamis-secondary-color);
}

.ds-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.ds-footer-list li {
  margin-bottom: 0.65rem;
}

.ds-footer-list a {
  color: var(--ds-text-muted) !important;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: color var(--ds-transition), padding-left var(--ds-transition);
  display: inline-block;
  line-height: 1.35;
  max-width: 100%;
  word-break: break-word;
}

.ds-footer-list a:hover {
  color: var(--dunamis-color-bg) !important;
  padding-left: 4px;
}

.ds-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ds-footer-contact {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow);
  text-decoration: none !important;
  transition: background var(--ds-transition), border-color var(--ds-transition), transform var(--ds-transition);
  min-width: 0;
  text-align: left;
}

.ds-footer-contact:hover {
  background: var(--ds-primary-soft);
  border-color: color-mix(in srgb, var(--dunamis-primary-color) 35%, transparent);
  transform: translateY(-1px);
}

.ds-footer-contact > span:last-child {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.ds-footer-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--ds-primary-soft);
  color: var(--dunamis-color-bg) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.ds-footer-contact small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ds-text-muted);
  margin-bottom: 0.15rem;
  text-align: left;
}

.ds-footer-contact strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ds-heading) !important;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
}

.ds-footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--ds-border);
  background: color-mix(in srgb, var(--dunamis-primary-color) 6%, #fff);
}

.ds-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.15rem 0;
  min-width: 0;
}

.ds-footer-bottom p,
.ds-footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ds-text-muted);
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ds-footer-copy strong {
  color: var(--ds-heading);
  font-weight: 700;
}

.ds-footer-bottom-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.ds-footer-bottom-sep {
  color: color-mix(in srgb, var(--ds-text-muted) 55%, transparent);
  font-weight: 400;
  user-select: none;
}

.ds-footer-bottom-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dunamis-color-bg) !important;
  text-decoration: none !important;
}

.ds-footer-bottom-nav a:hover {
  color: var(--dunamis-color-hover) !important;
}

.ds-footer h6 {
  color: var(--ds-heading);
  font-weight: 700;
}

.ds-footer a {
  text-decoration: none !important;
}

@media (max-width: 991.98px) {
  .ds-footer-main {
    padding: 2.75rem 0 1.75rem;
  }

  .ds-footer-main > .row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 2rem;
  }

  .ds-footer-brand {
    margin-bottom: 0.25rem;
    text-align: center;
  }

  .ds-footer-brand .ds-footer-lead {
    max-width: none;
    font-size: 0.92rem;
    margin-left: auto;
    margin-right: auto;
  }

  .ds-footer-brand .ds-footer-cta-row,
  .ds-footer-brand .ds-footer-social {
    justify-content: center;
  }

  .ds-footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Móvil: títulos + subrayado centrados */
@media (max-width: 767.98px) {
  .ds-footer-main {
    padding: 2.25rem 0 1.5rem;
  }

  .ds-footer-main > .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 2rem;
  }

  .ds-footer-col {
    min-width: 0;
    text-align: center;
  }

  .ds-footer .ds-footer-heading,
  .ds-footer-heading {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    margin: 0 auto 1rem !important;
  }

  .ds-footer .ds-footer-heading::after,
  .ds-footer-heading::after {
    display: block !important;
    width: 32px !important;
    height: 3px !important;
    margin: 0.5rem auto 0 !important;
  }

  .ds-footer-list {
    text-align: center;
  }

  .ds-footer-list li {
    margin-bottom: 0.55rem;
  }

  .ds-footer-list a {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .ds-footer-list a:hover {
    padding-left: 0;
  }

  .ds-footer-col-contact {
    text-align: center;
  }

  .ds-footer-contacts {
    text-align: left;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .ds-footer-contact {
    padding: 0.75rem 0.85rem;
    gap: 0.7rem;
    text-align: left;
  }

  .ds-footer-contact-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .ds-footer-contact strong {
    font-size: 0.8125rem;
  }

  .ds-footer-bottom {
    padding-bottom: 4.75rem;
  }

  .ds-footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.55rem;
    padding: 1.1rem 0.5rem 1rem;
  }

  .ds-footer-bottom p,
  .ds-footer-copy {
    font-size: 0.78rem;
    padding-right: 0;
    text-align: center;
  }

  .ds-footer-bottom-nav {
    justify-content: center;
    gap: 0.35rem 0.55rem;
  }

  .ds-footer-cta-row .btn-ds-primary {
    width: 100%;
    max-width: 16rem;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .ds-footer-logo img {
    max-height: 40px;
    max-width: min(168px, 70vw);
  }

  .ds-footer-copy-extra {
    display: inline;
  }

  .ds-footer-bottom p,
  .ds-footer-copy {
    padding-right: 0;
  }

  .ds-footer-social a {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .ds-footer-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ---- Page headers (inner pages) ---- */
.ds-page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dunamis-color-hover) 0%, var(--dunamis-color-bg) 55%, var(--dunamis-primary-color) 100%);
  padding: clamp(3rem, 7vh, 4.5rem) 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.ds-page-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #fff !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ds-page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.55;
}

.ds-page-hero .ds-section-label {
  color: var(--dunamis-secondary-color);
}

/* Contact hero */
.ds-contact-hero {
  padding: clamp(3.25rem, 8vh, 5rem) 0;
}

.ds-contact-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, color-mix(in srgb, var(--dunamis-secondary-color) 22%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 70% at 90% 80%, color-mix(in srgb, #fff 14%, transparent), transparent 50%);
  pointer-events: none;
}

.ds-contact-hero-inner {
  position: relative;
  z-index: 1;
}

.ds-contact-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: color-mix(in srgb, #fff 14%, transparent);
  border: 1px solid color-mix(in srgb, #fff 22%, transparent);
  color: var(--dunamis-secondary-color);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.ds-contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ds-contact-hero-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: background var(--ds-transition), border-color var(--ds-transition);
}

.ds-contact-hero-wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff !important;
}

/* ---- About tabs ---- */
.ds-tabs .resp-tabs-list li {
  background: var(--ds-bg-alt) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius) !important;
  color: var(--ds-text) !important;
  font-weight: 500 !important;
  margin-right: 0.5rem !important;
  transition: all var(--ds-transition) !important;
}

.ds-tabs .resp-tab-active,
.ds-tabs .resp-tabs-list li.resp-tab-active {
  background: var(--dunamis-primary-color) !important;
  color: var(--dunamis-color-text-bg) !important;
  border-color: var(--dunamis-primary-color) !important;
}

.ds-tabs .resp-tabs-container {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 2rem !important;
  margin-top: 1rem;
  background: #fff;
}

/* ---- About: ¿Quiénes somos? ---- */
.ds-about-panel {
  padding: 0.25rem 0;
}

.ds-about-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, #f0faf9 0%, #fff 55%, #f8fbfa 100%);
  border: 1px solid color-mix(in srgb, var(--dunamis-primary-color) 12%, transparent);
  border-radius: var(--ds-radius-lg);
}

.ds-about-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
}

.ds-about-heading {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.ds-about-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ds-text-muted);
  margin-bottom: 1.25rem;
  text-align: justify;
}

.ds-about-tagline {
  margin: 0;
  padding: 0.9rem 1.15rem;
  background: color-mix(in srgb, var(--dunamis-primary-color) 7%, #fff);
  border-left: 4px solid var(--dunamis-primary-color);
  border-radius: 0 var(--ds-radius) var(--ds-radius) 0;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.55;
}

.ds-about-card {
  height: 100%;
  padding: 1.35rem 1.25rem;
  background: var(--ds-bg-alt, #f8fafb);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  transition: box-shadow var(--ds-transition), transform var(--ds-transition);
}

.ds-about-card:hover {
  box-shadow: var(--ds-shadow);
  transform: translateY(-2px);
}

.ds-about-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--dunamis-primary-color) 12%, #fff);
  color: var(--dunamis-primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.ds-about-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.55rem;
}

.ds-about-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ds-text-muted);
  margin: 0;
}

.ds-about-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ds-about-values li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--ds-text-muted);
}

.ds-about-values i {
  color: var(--dunamis-primary-color);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .ds-about-logo-wrap {
    max-width: 360px;
    margin-inline: auto;
  }
}

/* ---- Service detail page ---- */
.ds-service-detail .feature-box {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  height: 100%;
  transition: box-shadow var(--ds-transition);
}

.ds-service-detail .feature-box:hover {
  box-shadow: var(--ds-shadow-lg);
}

.ds-service-detail .feature-box img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.ds-service-detail .w3l-right-book li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.ds-service-detail .w3l-right-book .fa-check {
  color: var(--dunamis-primary-color);
  margin-top: 0.25rem;
}

/* ---- Contact page ---- */
.ds-contact-section {
  padding-top: clamp(2.5rem, 5vh, 3.75rem);
  padding-bottom: clamp(2.5rem, 5vh, 3.75rem);
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, color-mix(in srgb, var(--dunamis-primary-color) 10%, transparent), transparent 55%),
    #fff;
}

.ds-contact-alert {
  border-radius: 14px;
  border: none;
  font-weight: 600;
  padding: 0.95rem 1.15rem;
}

.ds-contact-aside {
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, color-mix(in srgb, var(--dunamis-primary-color) 18%, transparent), transparent 55%),
    linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
  border: 1px solid var(--ds-border);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.35rem);
  box-shadow: var(--ds-shadow);
}

.ds-contact-aside-title {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--ds-heading);
  margin: 0 0 0.75rem;
}

.ds-contact-aside-lead {
  color: var(--ds-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.65;
  font-size: 1rem;
}

.ds-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ds-contact-channel {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--ds-border);
  background: #fff;
  text-decoration: none !important;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--dunamis-color-hover) 6%, transparent);
  transition: border-color var(--ds-transition), transform var(--ds-transition), background var(--ds-transition), box-shadow var(--ds-transition);
}

.ds-contact-channel:hover {
  border-color: color-mix(in srgb, var(--dunamis-primary-color) 45%, transparent);
  background: var(--ds-primary-soft);
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow);
}

.ds-contact-channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--ds-primary-soft);
  color: var(--dunamis-color-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.ds-contact-channel.is-whatsapp .ds-contact-channel-icon {
  background: color-mix(in srgb, #25d366 16%, #fff);
  color: #128c7e;
}

.ds-contact-channel.is-whatsapp:hover {
  border-color: #25d366;
  background: color-mix(in srgb, #25d366 8%, #fff);
}

.ds-contact-channel small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ds-text-muted);
  margin-bottom: 0.2rem;
}

.ds-contact-channel strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ds-heading);
  line-height: 1.35;
  word-break: break-word;
}

.ds-contact-aside-note {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--dunamis-color-bg);
  font-weight: 700;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--ds-primary-soft);
}

.ds-contact-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: 20px;
  padding: clamp(1.85rem, 3.2vw, 2.5rem);
  box-shadow: var(--ds-shadow-lg);
  position: relative;
  overflow: hidden;
}

.ds-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dunamis-color-bg), var(--dunamis-primary-color), var(--dunamis-secondary-color));
}

.ds-contact-card-head {
  margin-bottom: 1.5rem;
}

.ds-contact-card-head h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ds-heading);
  margin: 0 0 0.4rem;
}

.ds-contact-card-head p {
  margin: 0;
  color: var(--ds-text-muted);
  font-size: 0.98rem;
}

.ds-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ds-heading);
  margin-bottom: 0.4rem;
}

.ds-contact-card .form-control {
  border: 1px solid var(--ds-border);
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
  font-size: 0.95rem;
  background: #fafcfc;
  transition: border-color var(--ds-transition), box-shadow var(--ds-transition), background var(--ds-transition);
}

.ds-contact-card .form-control:focus {
  border-color: var(--dunamis-primary-color);
  background: #fff;
  box-shadow: 0 0 0 4px var(--ds-primary-soft);
}

.ds-contact-form-hint {
  font-size: 0.8rem;
  color: var(--ds-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ds-contact-form .ds-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ds-contact-map-section {
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
}

.ds-contact-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow-lg);
}

.ds-contact-map iframe {
  display: block;
  min-height: 380px;
  width: 100%;
}

.ds-contact-info .cont-top {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ds-contact-info .cont-left span {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: var(--ds-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dunamis-color-bg);
  font-size: 1.125rem;
}

/* View toggle — colores app */
.ds-view-toggle .btn-ds-primary {
  background: var(--dunamis-primary-color);
  box-shadow: none;
}

.ds-view-toggle .btn-ds-primary:hover,
.ds-view-toggle .btn-ds-primary.active {
  background: var(--dunamis-color-hover);
  transform: none;
  box-shadow: none;
}

.ds-view-toggle .btn-ds-outline {
  color: var(--dunamis-color-bg) !important;
  border-color: var(--dunamis-primary-color2);
}

.ds-view-toggle .btn-ds-outline:hover,
.ds-view-toggle .btn-ds-outline.active {
  background: var(--ds-primary-soft);
  color: var(--dunamis-color-hover) !important;
  border-color: var(--dunamis-primary-color);
}

/* ---- Utilities ---- */
.ds-text-brand {
  color: var(--dunamis-color-hover);
}

.separador-seccion {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--dunamis-primary-color), var(--dunamis-secondary-color));
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* ---- Responsive header ---- */
@media (max-width: 991.98px) {
  :root {
    --ds-header-height: 60px;
  }

  body.ds-site {
    padding-top: calc(var(--ds-topbar-height) + var(--ds-header-height)) !important;
  }

  .ds-navbar-brand {
    max-width: calc(100% - 52px);
  }

  .ds-navbar-brand img {
    max-height: 36px;
    max-width: min(200px, calc(100vw - 96px));
  }

  /* Panel menú móvil */
  .ds-header-shell .ds-navbar .navbar-collapse,
  .ds-header-shell .ds-navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1040;
    background: #fff;
    border-bottom: 1px solid var(--ds-border);
    box-shadow: 0 12px 28px rgba(15, 40, 40, 0.12);
    padding: 0.75rem 1rem 1.15rem;
    max-height: calc(100vh - var(--ds-topbar-height) - var(--ds-header-height) - 8px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    float: none !important;
    text-align: left !important;
    margin: 0 !important;
    border-radius: 0 0 14px 14px;
  }

  .ds-header-shell .ds-navbar .navbar-collapse.show,
  .ds-header-shell .ds-navbar-collapse.show,
  .ds-header-shell .ds-navbar .navbar-collapse.collapsing {
    display: block !important;
  }

  /* Lista vertical limpia, todo alineado a la izquierda */
  .ds-header-shell .ds-nav-menu.navbar-nav,
  .ds-header-shell .ds-nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 0 0.85rem !important;
    padding: 0 !important;
    gap: 0.2rem;
    text-align: left !important;
  }

  .ds-header-shell .ds-nav-menu > .nav-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    text-align: left !important;
  }

  .ds-header-shell .ds-nav-menu .nav-link,
  .ds-header-shell .navbar-expand-lg .navbar-nav .nav-link {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0.8rem 0.95rem !important;
    text-align: left !important;
    white-space: normal;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    float: none !important;
  }

  .ds-header-shell .ds-nav-menu .nav-link.active {
    background: var(--ds-primary-soft);
    color: var(--dunamis-color-hover) !important;
  }

  .ds-header-shell .ds-nav-menu .dropdown-toggle {
    width: 100% !important;
    justify-content: space-between;
  }

  .ds-header-shell .ds-nav-menu .dropdown-toggle::after {
    margin-left: auto;
    margin-right: 0.15rem;
    opacity: 0.55;
  }

  .ds-header-shell .ds-nav-menu .dropdown-menu,
  .ds-header-shell .navbar-nav .dropdown-menu {
    text-align: left !important;
    position: static !important;
    float: none !important;
    transform: none !important;
    inset: auto !important;
  }

  .ds-services-menu {
    min-width: auto !important;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--ds-border);
    border-radius: 10px;
    margin: 0.15rem 0 0.35rem !important;
    padding: 0.4rem !important;
  }

  .ds-services-menu::before {
    display: none !important;
  }

  .ds-services-menu-grid {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .ds-services-menu .dropdown-item {
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
  }

  /* Acciones: buscar + CTA en fila ordenada */
  .ds-header-shell .ds-navbar-actions {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--ds-border);
    gap: 0.55rem;
  }

  .ds-header-shell .ds-search-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 10px;
  }

  .ds-header-shell .btn-ds-nav-cta {
    flex: 1 1 auto;
    min-height: 46px;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
  }

  .ds-search-panel {
    position: static;
    box-shadow: none;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

  .ds-section {
    padding: 3rem 0;
  }

  .ds-hero .slideOpt {
    background: linear-gradient(180deg, color-mix(in srgb, var(--footer-bg) 75%, transparent) 0%, color-mix(in srgb, var(--dunamis-color-hover) 55%, transparent) 100%);
    align-items: flex-end;
    padding-bottom: 3rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --ds-topbar-height: 44px;
  }

  .ds-navbar-brand img {
    max-height: 32px;
    max-width: min(168px, calc(100vw - 88px));
  }
}

@media (max-width: 575.98px) {
  .ds-services-grid,
  .ds-customers-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Scroll animations ---- */
.ds-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ds-animate.ds-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Noticias ---- */
.ds-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.ds-news-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--ds-transition), box-shadow var(--ds-transition);
}

.ds-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-lg);
}

.ds-news-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ds-primary-soft);
  color: var(--dunamis-color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.ds-news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
}

.ds-news-cat {
  background: color-mix(in srgb, var(--dunamis-secondary-color) 18%, #fff);
  color: var(--heading-color);
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.ds-news-card-meta time {
  color: var(--ds-text-muted);
}

.ds-news-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.ds-news-card p {
  font-size: 0.9rem;
  color: var(--ds-text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.ds-news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--dunamis-color-hover) !important;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none !important;
}

.ds-news-link:hover {
  color: var(--dunamis-primary-color) !important;
}

/* ---- Novedades ---- */
.ds-updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.ds-update-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.35rem;
  transition: box-shadow var(--ds-transition), border-color var(--ds-transition);
}

.ds-update-card:hover {
  box-shadow: var(--ds-shadow);
  border-color: var(--dunamis-primary-color2);
}

.ds-update-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ds-update-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dunamis-primary-color), var(--dunamis-color-bg));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ds-update-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dunamis-color-hover);
  background: var(--ds-primary-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.ds-update-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.ds-update-card p {
  font-size: 0.875rem;
  color: var(--ds-text-muted);
  margin: 0;
}

/* ---- Educación ---- */
.ds-edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.ds-edu-card,
.ds-edu-detail {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.5rem;
}

.ds-edu-card:hover {
  box-shadow: var(--ds-shadow);
}

.ds-edu-card-head,
.ds-edu-detail-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.ds-edu-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ds-gold-soft);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--dunamis-secondary-color) 35%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ds-edu-module {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dunamis-primary-color);
  margin-bottom: 0.25rem;
}

.ds-edu-card h3,
.ds-edu-detail h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
}

.ds-edu-steps {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--ds-text);
  font-size: 0.9rem;
}

.ds-edu-steps li {
  margin-bottom: 0.4rem;
}

.ds-edu-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.ds-edu-filter-btn {
  border: 1px solid var(--ds-border);
  background: #fff;
  color: var(--heading-color);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ds-transition);
}

.ds-edu-filter-btn:hover,
.ds-edu-filter-btn.active {
  background: var(--dunamis-primary-color);
  border-color: var(--dunamis-primary-color);
  color: #fff;
}

.ds-edu-detail-list {
  display: grid;
  gap: 1.25rem;
}

.ds-edu-steps-full {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.ds-edu-steps-full li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--ds-text);
}

.ds-edu-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dunamis-color-bg);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ds-edu-tip {
  background: color-mix(in srgb, var(--dunamis-secondary-color) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--dunamis-secondary-color) 35%, transparent);
  border-radius: var(--ds-radius);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--heading-color);
}

.ds-edu-tip i {
  color: var(--dunamis-secondary-color);
  margin-right: 0.25rem;
}

@media (max-width: 575.98px) {
  .ds-news-grid,
  .ds-updates-grid,
  .ds-edu-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Banner ¿Por qué DunamisSoft? (slide alto) ---- */
.ds-why-banner {
  padding: 0;
}

.ds-why-slider {
  position: relative;
  min-height: clamp(460px, 62vh, 620px);
  background:
    radial-gradient(ellipse 70% 80% at 10% 20%, color-mix(in srgb, var(--dunamis-primary-color) 28%, transparent), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 80%, color-mix(in srgb, var(--dunamis-secondary-color) 18%, transparent), transparent 50%),
    linear-gradient(135deg, var(--dunamis-color-hover) 0%, var(--dunamis-color-bg) 50%, #2f6665 100%);
  color: #fff;
  overflow: hidden;
}

.ds-why-slides {
  position: relative;
  min-height: clamp(460px, 62vh, 620px);
}

.ds-why-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
  display: flex;
  align-items: center;
}

.ds-why-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.ds-why-slide-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
  padding: 3.5rem 0 4.5rem;
  width: 100%;
}

.ds-why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--dunamis-secondary-color);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.ds-why-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.ds-why-title .ds-text1-logo {
  color: #fff;
}

.ds-why-title .ds-text2-logo {
  color: var(--dunamis-secondary-color);
}

.ds-why-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.35rem;
  max-width: 34rem;
}

.ds-why-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.ds-why-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.ds-why-points i {
  color: var(--dunamis-secondary-color);
}

.ds-why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ds-why-outline {
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
}

.ds-why-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.ds-why-slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-why-visual-orb {
  width: clamp(180px, 28vw, 280px);
  height: clamp(180px, 28vw, 280px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--dunamis-secondary-color);
}

.ds-why-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  z-index: 2;
}

.ds-why-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ds-transition);
}

.ds-why-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ds-why-dots {
  display: flex;
  gap: 0.4rem;
}

.ds-why-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.ds-why-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--dunamis-secondary-color);
}

@media (max-width: 991.98px) {
  .ds-why-slide-inner {
    grid-template-columns: 1fr;
    padding: 2.75rem 0 4.25rem;
    text-align: center;
  }

  .ds-why-title {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .ds-why-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .ds-why-points,
  .ds-why-actions {
    justify-content: center;
  }

  .ds-why-slide-visual {
    order: -1;
  }

  .ds-why-visual-orb {
    width: 140px;
    height: 140px;
    font-size: 3rem;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.04);
  }
}

.ds-founder-profile {
  margin: 0;
  max-width: 380px;
}

.ds-founder-photo {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin-inline: auto;
}

.ds-founder-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: 0.02em;
}

/* ---- Ley 32-23 hook (home) ---- */
.ds-ley32-hook {
  background: linear-gradient(135deg, #ecfdf9 0%, #d5f5ef 50%, #ccfbf1 100%);
  color: var(--heading-color);
  padding: 2rem 0;
  border-top: 1px solid rgba(13, 148, 136, 0.12);
  border-bottom: 3px solid var(--ds-gold, #d4a853);
}

.ds-ley32-hook-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}

.ds-ley32-hook-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  color: #0f766e;
}

.ds-ley32-hook-badge i {
  color: var(--ds-gold, #c9972e);
}

.ds-ley32-hook-content h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f4c47;
}

.ds-ley32-hook-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
}

.ds-ley32-hook-content p strong {
  color: #0f766e;
  font-weight: 700;
}

.ds-ley32-hook-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 200px;
}

.ds-ley32-hook .btn-ds-outline {
  color: var(--dunamis-primary-color, #0d9488);
  border-color: rgba(13, 148, 136, 0.45);
  background: rgba(255, 255, 255, 0.65);
}

.ds-ley32-hook .btn-ds-outline:hover {
  background: #fff;
  color: var(--dunamis-primary-color, #0d9488);
  border-color: var(--dunamis-primary-color, #0d9488);
}

/* ---- Noticia destacada ---- */
.ds-news-card--featured {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
  position: relative;
}

.ds-news-featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--dunamis-primary-color, #0d9488);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

/* ---- Artículo de noticia ---- */
.ds-page-hero--article {
  text-align: left;
}

.ds-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  margin-bottom: 1rem;
}

.ds-article-back:hover {
  color: #fff !important;
}

.ds-article-meta {
  opacity: 0.8;
  font-size: 0.95rem;
}

.ds-article-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--heading-color);
  font-weight: 500;
  margin-bottom: 2rem;
}

.ds-article-pdf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  background: var(--ds-section-alt, #f8fafb);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.ds-article-pdf-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ds-article-pdf > div:nth-child(2) {
  flex: 1;
  min-width: 180px;
}

.ds-article-highlights {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.06) 0%, rgba(13, 148, 136, 0.02) 100%);
  border-left: 4px solid var(--dunamis-primary-color, #0d9488);
  border-radius: 0 var(--ds-radius-lg) var(--ds-radius-lg) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.ds-article-highlights h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ds-article-highlights ul {
  margin: 0;
  padding-left: 1.2rem;
}

.ds-article-highlights li {
  margin-bottom: 0.5rem;
  color: var(--ds-text-muted);
  line-height: 1.55;
}

.ds-article-highlights li:last-child {
  margin-bottom: 0;
}

.ds-article h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  color: var(--heading-color);
}

.ds-article p {
  color: var(--ds-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.ds-article-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--ds-section-alt, #f8fafb);
  border-radius: var(--ds-radius-lg);
  border: 1px solid var(--ds-border);
}

.ds-article-cta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ds-article-cta p {
  color: var(--ds-text-muted);
  margin-bottom: 1.25rem;
}

@media (max-width: 991px) {
  .ds-ley32-hook-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ds-ley32-hook-badge {
    justify-self: center;
  }

  .ds-ley32-hook-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
  }
}

/* ---- Conversion: plans / cases / FAQ / e-CF ---- */
.ds-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.ds-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow var(--ds-transition), transform var(--ds-transition);
}

.ds-plan-card:hover {
  box-shadow: var(--ds-shadow);
  transform: translateY(-3px);
}

.ds-plan-card.is-featured {
  border-color: color-mix(in srgb, var(--dunamis-primary-color) 35%, transparent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--dunamis-primary-color) 10%, #fff), #fff 50%);
  box-shadow: var(--ds-shadow);
}

.ds-plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--dunamis-secondary-color);
  color: var(--heading-color);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.ds-plan-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.35rem;
}

.ds-plan-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dunamis-primary-color);
  margin-bottom: 0.15rem;
}

.ds-plan-period {
  font-size: 0.8rem;
  color: var(--ds-text-muted);
  margin-bottom: 0.75rem;
}

.ds-plan-desc {
  font-size: 0.9rem;
  color: var(--ds-text-muted);
  margin-bottom: 1rem;
  flex: 0 0 auto;
}

.ds-plan-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}

.ds-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--ds-text-muted);
  margin-bottom: 0.45rem;
}

.ds-plan-list i {
  color: var(--dunamis-primary-color);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.ds-plan-card > a {
  width: 100%;
  justify-content: center;
}

.ds-casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ds-caso-card,
.ds-caso-detail {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.4rem;
  transition: box-shadow var(--ds-transition), transform var(--ds-transition);
}

.ds-caso-card:hover,
.ds-caso-detail:hover {
  box-shadow: var(--ds-shadow);
  transform: translateY(-3px);
}

.ds-caso-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ds-primary-soft);
  color: var(--dunamis-primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.ds-caso-sector {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dunamis-primary-color);
  margin-bottom: 0.45rem;
}

.ds-caso-card h3,
.ds-caso-detail h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.55rem;
}

.ds-caso-card p,
.ds-caso-result {
  font-size: 0.9rem;
  color: var(--ds-text-muted);
  margin-bottom: 0.85rem;
}

.ds-caso-company {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ds-text-muted);
  margin-bottom: 0.65rem;
}

.ds-caso-quote {
  border-left: 3px solid var(--dunamis-primary-color);
  padding: 0.65rem 0.85rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--heading-color);
  background: var(--ds-bg-alt);
  border-radius: 0 var(--ds-radius) var(--ds-radius) 0;
}

.ds-faq-list {
  display: grid;
  gap: 0.75rem;
}

.ds-faq-item {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 0.85rem 1rem;
}

.ds-faq-item summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--heading-color);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ds-faq-item summary::-webkit-details-marker {
  display: none;
}

.ds-faq-item summary::after {
  content: "+";
  color: var(--dunamis-primary-color);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.ds-faq-item[open] summary::after {
  content: "–";
}

.ds-faq-item p {
  margin: 0.75rem 0 0.15rem;
  font-size: 0.925rem;
  color: var(--ds-text-muted);
  line-height: 1.65;
}

.ds-convert-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--dunamis-primary-color) 8%, #fff), #fff);
  border: 1px solid color-mix(in srgb, var(--dunamis-primary-color) 18%, transparent);
  border-radius: var(--ds-radius-lg);
}

.ds-convert-cta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--heading-color);
}

.ds-convert-cta p {
  margin: 0;
  color: var(--ds-text-muted);
  font-size: 0.925rem;
}

.ds-demo-aside {
  padding: 0.25rem 0;
}

.ds-demo-points {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
}

.ds-demo-points li {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  color: var(--ds-text-muted);
}

.ds-demo-points i {
  color: var(--dunamis-primary-color);
  margin-top: 0.15rem;
}

.ds-demo-aside-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--ds-bg-alt);
  border-radius: var(--ds-radius);
  font-size: 0.875rem;
  color: var(--ds-text-muted);
}

.ds-ecf-checklist {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.5rem;
}

.ds-ecf-checklist h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ds-ecf-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-ecf-checklist li {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  color: var(--ds-text-muted);
}

.ds-ecf-checklist i {
  color: var(--dunamis-primary-color);
}

.ds-ecf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ds-ecf-step {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.25rem;
  text-align: center;
}

.ds-ecf-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dunamis-primary-color);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ds-ecf-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.ds-ecf-step p {
  font-size: 0.85rem;
  color: var(--ds-text-muted);
  margin: 0;
}

.ds-whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff !important;
  font-size: 1.65rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none !important;
  transition: transform var(--ds-transition), box-shadow var(--ds-transition);
}

.ds-whatsapp-float:hover {
  color: #fff !important;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

@media (max-width: 767.98px) {
  .ds-whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
}

@media (max-width: 991.98px) {
  .ds-plans-grid,
  .ds-casos-grid,
  .ds-ecf-steps {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .ds-plans-grid,
  .ds-casos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ds-ecf-steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Agenda / compare / status / trust / video ---- */
.ds-agenda-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.25rem;
  height: 100%;
}

.ds-agenda-date {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  color: var(--ds-text-muted);
}

.ds-agenda-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dunamis-primary-color);
  margin-bottom: 0.4rem;
}

.ds-agenda-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--heading-color);
}

.ds-agenda-card p {
  font-size: 0.9rem;
  color: var(--ds-text-muted);
  margin-bottom: 0.85rem;
}

.ds-compare-wrap {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: #fff;
}

.ds-compare-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ds-compare-table th,
.ds-compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--ds-border);
  text-align: left;
  vertical-align: top;
}

.ds-compare-table th {
  background: var(--ds-bg-alt);
  font-weight: 700;
  color: var(--heading-color);
  white-space: nowrap;
}

.ds-compare-table td.is-highlight {
  background: color-mix(in srgb, var(--dunamis-primary-color) 8%, #fff);
  font-weight: 600;
  color: var(--heading-color);
}

.ds-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.ds-status-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 0.9rem 1rem;
}

.ds-status-item small {
  display: block;
  color: var(--ds-text-muted);
}

.ds-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
}

.ds-status-dot.is-operational {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.ds-changelog-item {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.ds-changelog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  color: var(--ds-text-muted);
}

.ds-changelog-ver {
  font-weight: 700;
  color: var(--dunamis-primary-color);
}

.ds-changelog-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.ds-changelog-item ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ds-text-muted);
}

.ds-trust-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.25rem;
  height: 100%;
  color: inherit;
  transition: box-shadow var(--ds-transition), transform var(--ds-transition);
}

a.ds-trust-card:hover {
  box-shadow: var(--ds-shadow);
  transform: translateY(-2px);
  color: inherit;
}

.ds-trust-card i {
  font-size: 1.4rem;
  color: var(--dunamis-primary-color);
  margin-bottom: 0.65rem;
  display: inline-block;
}

.ds-trust-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.ds-trust-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ds-text-muted);
}

.ds-sla-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.ds-sla-item {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 1rem;
}

.ds-sla-item small {
  display: block;
  color: var(--ds-text-muted);
  margin-bottom: 0.35rem;
}

.ds-team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.5rem 1.25rem;
  height: 100%;
}

.ds-team-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: block;
  background: #000;
}

.ds-team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dunamis-primary-color), var(--dunamis-color-bg));
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}

.ds-team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.ds-team-card > span {
  display: block;
  font-size: 0.85rem;
  color: var(--dunamis-primary-color);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.ds-team-card p {
  font-size: 0.9rem;
  color: var(--ds-text-muted);
}

.ds-quote-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.25rem;
  height: 100%;
}

.ds-quote-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.ds-quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ds-primary-soft);
  color: var(--dunamis-primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.ds-quote-head small {
  display: block;
  color: var(--ds-text-muted);
  font-size: 0.78rem;
}

.ds-quote-card p {
  font-size: 0.92rem;
  color: var(--ds-text-muted);
  margin-bottom: 0.75rem;
}

.ds-video-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  height: 100%;
}

.ds-video-embed {
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.ds-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ds-video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(145deg, #0f766e, #134e4a);
  color: #fff;
}

.ds-video-placeholder i {
  font-size: 2.2rem;
}

.ds-video-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.ds-video-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.ds-video-body p {
  font-size: 0.9rem;
  color: var(--ds-text-muted);
  margin-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
  .ds-status-grid,
  .ds-sla-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .ds-status-grid,
  .ds-sla-grid {
    grid-template-columns: 1fr;
  }
}
