@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/*
 * Distefar del Sur — CSS personalizado
 * Tema hijo: betheme-child
 * Archivo: /wp-content/themes/betheme-child/distefar-custom.css
 *
 * Encolado desde functions.php:
 *   wp_enqueue_style('distefar-custom',
 *     get_stylesheet_directory_uri() . '/distefar-custom.css',
 *     array(), '1.0.0');
 *
 * Secciones:
 *   01. Variables y utilidades globales
 *   02. Cabecera flotante
 *   03. Sidebar menú móvil (popup)
 *   04. Hero homepage
 *   05. Trust bar
 *   06. Sobre nosotros
 *   07. Stats
 *   08. Blog — cabecera y tarjetas loop
 *   09. Footer
 *   10. Post individual — hero
 *   11. Post individual — layout contenido + sidebar
 *   12. Post individual — CTA inferior
 *   13. Blog archive — búsqueda REST API
 *   14. Blog archive — CTA banner
 *   15. Páginas interiores — subheader
 *   16. Ensayos Clínicos — servicios zigzag
 */


/* ============================================================
   01. VARIABLES Y UTILIDADES GLOBALES
   ============================================================ */

:root {
  --dstf-navy:     #192F5D;
  --dstf-blue:     #2856A3;
  --dstf-blue-mid: #3B6EC4;
  --dstf-cyan:     #1AABCE;
  --dstf-white:    #FFFFFF;
  --dstf-bg:       #F4F7FC;
  --dstf-border:   #DDE5F0;
  --dstf-text:     #3A4A5C;
  --dstf-dark:     #0D1B2A;
  --dstf-muted:    #7B8EA6;
  --dstf-ease:     .28s cubic-bezier(.4, 0, .2, 1);
}

/* Fuentes */

/* Container */
.dstf-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
  width: 100%;
}

/* Tag pill reutilizable */
.dstf-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dstf-blue);
  background: rgba(43, 86, 163, .1);
  padding: 5px 14px;
  border-radius: 100px;
}

/* Botones reutilizables */
.dstf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--dstf-ease);
}
.dstf-btn--white {
  background: #fff;
  color: var(--dstf-navy) !important;
}
.dstf-btn--white:hover {
  background: rgba(26, 171, 206, .12);
  color: var(--dstf-navy) !important;
  transform: translateY(-1px);
}
.dstf-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .35);
}
.dstf-btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .6);
}
.dstf-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--dstf-blue) !important;
  background: transparent;
  border: 2px solid var(--dstf-blue);
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: var(--dstf-ease);
  white-space: nowrap;
}
.dstf-btn-outline:hover {
  background: var(--dstf-blue);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(43, 86, 163, .25);
}
.dstf-btn-outline svg {
  transition: transform var(--dstf-ease);
  flex-shrink: 0;
}
.dstf-btn-outline:hover svg {
  transform: translateX(3px);
}

/* Animaciones comunes */
@keyframes dstf-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}
@keyframes dstf-spin {
  to { transform: rotate(360deg); }
}
@keyframes dstf-bounce {
  0%, 80%, 100% { transform: scale(.6); opacity: .4; }
  40%           { transform: scale(1);  opacity: 1;  }
}
@keyframes dstf-sub-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0);    }
}


/* ============================================================
   02. CABECERA FLOTANTE
   ============================================================ */

/* Contenedor externo fixed de Elementor */
.elementor-location-header > .elementor-element[data-settings*='"position":"fixed"'] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 16px clamp(12px, 2vw, 24px) 0 !important;
  pointer-events: none !important;
}

/* Inner flotante */
.dstf-header-wrap {
  pointer-events: all !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, .93) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(221, 229, 240, .75) !important;
  box-shadow: 0 4px 24px rgba(25, 47, 93, .08), 0 1px 4px rgba(25, 47, 93, .05) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  min-height: 68px !important;
  padding: 20px clamp(16px, 2.5vw, 28px) !important;
  gap: 8px !important;
  transition: box-shadow .3s ease, background .3s ease, border-color .3s ease !important;
}
.dstf-header-wrap.dstf-scrolled {
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 8px 40px rgba(25, 47, 93, .13), 0 2px 8px rgba(25, 47, 93, .07) !important;
  border-color: var(--dstf-border) !important;
}
.dstf-header-wrap.e-con > .e-con-inner {
  padding: 0 !important;
  gap: 8px !important;
  min-height: 68px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}
@media (max-width: 1025px) {
  .dstf-header-wrap { padding: 10px !important; }
}

/* Logo */
.dstf-header-wrap .elementor-element-6681154 {
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}
.dstf-header-wrap .elementor-element-6681154 .elementor-widget-container {
  padding: 0 !important;
  line-height: 0 !important;
}
.dstf-header-wrap .elementor-element-6681154 img {
  height: 62px !important;
  width: auto !important;
  display: block !important;
}
@media (max-width: 1025px) {
  .dstf-header-wrap .elementor-element-6681154 img { height: 52px !important; }
}

/* Nav menu */
.dstf-nav.elementor-widget-nav-menu {
  margin-left: auto !important;
  flex-shrink: 1 !important;
  padding: 0 !important;
}
.dstf-nav .elementor-widget-container { padding: 0 !important; }

/* Quitar pointer-underline */
.dstf-nav .elementor-nav-menu--main.e--pointer-underline .elementor-item::before,
.dstf-nav .elementor-nav-menu--main.e--pointer-underline .elementor-item::after,
.dstf-nav .elementor-nav-menu--main .elementor-item::before,
.dstf-nav .elementor-nav-menu--main .elementor-item::after {
  display: none !important;
  content: none !important;
}

/* Lista principal */
.dstf-nav .elementor-nav-menu--main {
  display: flex !important;
  align-items: center !important;
}
.dstf-nav .elementor-nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dstf-nav .elementor-nav-menu > li { position: relative !important; }
.dstf-nav .elementor-nav-menu > li > a.elementor-item {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--dstf-text) !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: color .2s, background .2s !important;
  line-height: 1.2 !important;
}
.dstf-nav .elementor-nav-menu > li > a.elementor-item:hover,
.dstf-nav .elementor-nav-menu > li.current-menu-item > a,
.dstf-nav .elementor-nav-menu > li.current-menu-ancestor > a {
  color: var(--dstf-blue) !important;
  background: rgba(43, 86, 163, .07) !important;
}

/* Sub-arrow */
.dstf-nav .elementor-nav-menu > li > a .sub-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
}
.dstf-nav .elementor-nav-menu > li > a .sub-arrow svg {
  width: 10px !important;
  height: 10px !important;
  fill: currentColor !important;
  opacity: .55 !important;
  transition: transform .2s !important;
  display: block !important;
}
.dstf-nav .elementor-nav-menu > li.smHover > a .sub-arrow svg,
.dstf-nav .elementor-nav-menu > li:hover > a .sub-arrow svg {
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}

/* Banderas */
.dstf-nav .elementor-nav-menu > li.banderas > a {
  padding: 6px 7px !important;
  border-radius: 6px !important;
}
.dstf-nav .elementor-nav-menu > li.banderas img {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Dropdown */
.dstf-nav .elementor-nav-menu > li > ul.sub-menu.elementor-nav-menu--dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-4px) !important;
  min-width: 250px !important;
  background: #fff !important;
  border: 1px solid var(--dstf-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 48px rgba(25, 47, 93, .13), 0 2px 8px rgba(25, 47, 93, .06) !important;
  padding: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .2s cubic-bezier(.4, 0, .2, 1), transform .2s cubic-bezier(.4, 0, .2, 1), visibility .2s !important;
  z-index: 9999 !important;
  display: block !important;
}
.dstf-nav .elementor-nav-menu > li:hover > ul.sub-menu.elementor-nav-menu--dropdown,
.dstf-nav .elementor-nav-menu > li.smHover > ul.sub-menu.elementor-nav-menu--dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  transform: translateX(-50%) translateY(0) !important;
  display: block !important;
}
.dstf-nav .elementor-nav-menu--dropdown li { list-style: none !important; }
.dstf-nav .elementor-nav-menu--dropdown li a.elementor-sub-item {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--dstf-text) !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  display: block !important;
  white-space: normal !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  transition: color .2s, background .2s !important;
  border: none !important;
}
.dstf-nav .elementor-nav-menu--dropdown li a.elementor-sub-item:hover {
  color: var(--dstf-blue) !important;
  background: rgba(43, 86, 163, .06) !important;
}
.dstf-nav .elementor-nav-menu--dropdown li + li { border-top: none !important; }

/* Puente anti-gap hover */
.dstf-nav .elementor-nav-menu > li.menu-item-has-children::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  height: 14px !important;
  background: transparent !important;
  z-index: 9998 !important;
}

/* Desktop: ocultar hamburger */
@media (min-width: 1025px) {
  .dstf-nav .elementor-menu-toggle { display: none !important; }
  .dstf-nav nav.elementor-nav-menu--dropdown.elementor-nav-menu__container { display: none !important; }
  .dstf-nav .elementor-nav-menu--main { display: flex !important; }
}

/* Tablet/móvil: hamburger */
@media (max-width: 1024px) {
  .dstf-nav .elementor-nav-menu--main { display: none !important; }
  .dstf-nav .elementor-menu-toggle {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    border: 1px solid var(--dstf-border) !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: background .2s, border-color .2s !important;
  }
  .dstf-nav .elementor-menu-toggle:hover {
    background: rgba(43, 86, 163, .06) !important;
    border-color: var(--dstf-blue) !important;
  }
  .dstf-nav .elementor-menu-toggle svg {
    width: 20px !important;
    height: 20px !important;
    fill: var(--dstf-navy) !important;
  }
  .dstf-nav nav.elementor-nav-menu--dropdown.elementor-nav-menu__container[aria-hidden="false"],
  .dstf-nav nav.elementor-nav-menu--dropdown.elementor-nav-menu__container[style*="--menu-height: "]:not([style*="--menu-height: 0"]) {
    display: block !important;
  }
  .dstf-nav nav.elementor-nav-menu--dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    border: 1px solid var(--dstf-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 48px rgba(25, 47, 93, .14) !important;
    padding: 8px !important;
    z-index: 9999 !important;
    overflow: hidden !important;
  }
  .dstf-nav nav.elementor-nav-menu--dropdown .elementor-nav-menu > li > a {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--dstf-dark) !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: none !important;
  }
  .dstf-nav nav.elementor-nav-menu--dropdown .elementor-nav-menu > li > a:hover {
    color: var(--dstf-blue) !important;
    background: rgba(43, 86, 163, .06) !important;
  }
  .dstf-nav nav.elementor-nav-menu--dropdown .sub-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 0 4px 12px !important;
    background: transparent !important;
  }
  .dstf-nav nav.elementor-nav-menu--dropdown .sub-menu li a {
    font-size: 14px !important;
    color: var(--dstf-muted) !important;
    padding: 9px 14px !important;
    border-radius: 8px !important;
  }
  .dstf-nav nav.elementor-nav-menu--dropdown .sub-menu li a:hover {
    color: var(--dstf-blue) !important;
    background: rgba(43, 86, 163, .05) !important;
  }
  .dstf-nav nav.elementor-nav-menu--dropdown .banderas a { display: inline-flex !important; width: auto !important; }
  .dstf-nav nav.elementor-nav-menu--dropdown .banderas img { width: 22px !important; height: 22px !important; border-radius: 50% !important; }
  .dstf-header-cta.elementor-widget-button { display: none !important; }
}

/* CTA button */
.dstf-header-cta.elementor-widget-button { flex-shrink: 0 !important; margin: 0 0 0 8px !important; padding: 0 !important; }
.dstf-header-cta .elementor-widget-container { padding: 0 !important; }
.dstf-header-cta .elementor-button {
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--dstf-blue) !important;
  border: 2px solid var(--dstf-blue) !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s !important;
  box-shadow: none !important;
}
.dstf-header-cta .elementor-button:hover {
  background: var(--dstf-navy) !important;
  border-color: var(--dstf-navy) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(43, 86, 163, .35) !important;
}
.dstf-header-cta .elementor-button-content-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}


/* ============================================================
   03. SIDEBAR MENÚ MÓVIL (popup Elementor)
   ============================================================ */

/* Reset popup */
.elementor-popup-modal .dialog-widget-content { box-shadow: none !important; border-radius: 0 !important; }
.elementor-popup-modal .elementor-section-wrap,
.elementor-popup-modal .elementor-container,
.elementor-popup-modal .e-con-inner,
.elementor-popup-modal .elementor-widget-container { padding: 0 !important; margin: 0 !important; }
.elementor-popup-modal .elementor-widget-html { padding: 0 !important; margin: 0 !important; }

/* Sidebar */
.dstf-sidebar {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  overflow: hidden;
}
.dstf-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--dstf-border);
  flex-shrink: 0;
}
.dstf-sidebar__logo-link { display: inline-block; line-height: 0; }
.dstf-sidebar__logo { height: 38px !important; width: auto; display: block; }
.dstf-sidebar__close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--dstf-border);
  background: transparent;
  color: var(--dstf-dark);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.dstf-sidebar__close:hover { background: var(--dstf-bg); border-color: var(--dstf-blue); }
.dstf-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--dstf-border) transparent;
}
.dstf-sidebar__nav::-webkit-scrollbar { width: 4px; }
.dstf-sidebar__nav::-webkit-scrollbar-thumb { background: var(--dstf-border); border-radius: 2px; }
.dstf-sidebar__link {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600 !important;
  color: var(--dstf-dark);
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: color .2s, background .2s;
}
.dstf-sidebar__link:hover { color: var(--dstf-blue); background: rgba(43, 86, 163, .06); }
.dstf-sidebar__divider { height: 1px; background: var(--dstf-border); margin: 4px 2px; }
.dstf-sidebar__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600 !important;
  color: var(--dstf-dark) !important;
  padding: 12px 14px;
  border-radius: 10px;
  background: transparent !important;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color .2s, background .2s;
  box-shadow:unset !important;
}
.dstf-sidebar__toggle:hover,
.dstf-sidebar__toggle--open { color: var(--dstf-blue); background: rgba(43, 86, 163, .06) !important; }
.dstf-sidebar__toggle-icon { flex-shrink: 0; transition: transform .25s cubic-bezier(.4, 0, .2, 1); color: currentColor; opacity: .6; }
.dstf-sidebar__toggle--open .dstf-sidebar__toggle-icon { transform: rotate(180deg); opacity: 1; }
.dstf-sidebar__sub {
  padding: 2px 0 6px 14px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dstf-sidebar__sub:not([hidden]) { animation: dstf-sub-open .25s cubic-bezier(.4, 0, .2, 1) forwards; }
.dstf-sidebar__sub[hidden] { display: none !important; }
.dstf-sidebar__sub-link {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400 !important;
  color: var(--dstf-muted);
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  line-height: 1.4;
  transition: color .2s, background .2s;
}
.dstf-sidebar__sub-link:hover { color: var(--dstf-blue); background: rgba(43, 86, 163, .05); }
.dstf-sidebar__footer {
  border-top: 1px solid var(--dstf-border);
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.dstf-sidebar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dstf-blue);
  color: #fff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background .25s, transform .25s;
}
.dstf-sidebar__cta:hover { background: var(--dstf-navy); transform: translateY(-1px); }
.dstf-sidebar__contact { display: flex; flex-direction: column; gap: 8px; }
.dstf-sidebar__contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--dstf-muted) !important;
  text-decoration: none !important;
  transition: color .2s;
}
.dstf-sidebar__contact-row svg { flex-shrink: 0; color: var(--dstf-cyan); }
.dstf-sidebar__contact-row:hover { color: var(--dstf-blue) !important; }
.dstf-sidebar__lang { display: flex; gap: 8px; }
.dstf-sidebar__lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--dstf-border);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--dstf-muted) !important;
  text-decoration: none !important;
  transition: border-color .2s, color .2s;
}
.dstf-sidebar__lang-btn img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.dstf-sidebar__lang-btn--active,
.dstf-sidebar__lang-btn:hover { border-color: var(--dstf-blue); color: var(--dstf-blue) !important; }

/* Hamburger en header */
.dstf-hamburger.elementor-widget-button { display: none !important; flex-shrink: 0; margin: 0 !important; padding: 0 !important; }
.dstf-hamburger .elementor-widget-container { padding: 0 !important; }
.dstf-hamburger .elementor-button {
  width: 40px !important; height: 40px !important; padding: 0 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: transparent !important;
  border: 1px solid var(--dstf-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: background .2s, border-color .2s !important;
}
.dstf-hamburger .elementor-button:hover { background: rgba(43, 86, 163, .06) !important; border-color: var(--dstf-blue) !important; }
.dstf-hamburger .elementor-button-icon svg,
.dstf-hamburger .elementor-button-icon i { font-size: 18px !important; color: var(--dstf-navy) !important; width: 20px !important; height: 20px !important; }
.dstf-hamburger .elementor-button-text { display: none !important; }
@media (max-width: 1024px) { .dstf-hamburger.elementor-widget-button { display: flex !important; } }


/* ============================================================
   04. HERO HOMEPAGE
   ============================================================ */

.dstf-hero {
  position: relative;
  background: rgba(25, 47, 93, .9);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}
.dstf-hero .elementor-widget-container { padding: 0 !important; }
.dstf-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}
.dstf-hero__glow {
  position: absolute;
  width: min(700px, 80vw); height: min(700px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 86, 163, .55) 0%, transparent 70%);
  right: -20%; top: -30%;
  pointer-events: none;
}
.dstf-hero__glow2 {
  position: absolute;
  width: min(400px, 60vw); height: min(400px, 60vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 171, 206, .18) 0%, transparent 70%);
  left: -10%; bottom: -20%;
  pointer-events: none;
}
.dstf-hero__cross {
  position: absolute;
  right: 6%; top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 25vw, 340px);
  height: clamp(160px, 25vw, 340px);
  opacity: .05;
  pointer-events: none;
}
.dstf-hero__cross::before,
.dstf-hero__cross::after { content: ''; position: absolute; background: #fff; border-radius: 4px; }
.dstf-hero__cross::before { left: 50%; top: 0; bottom: 0; width: 18%; transform: translateX(-50%); }
.dstf-hero__cross::after  { top: 50%; left: 0; right: 0; height: 18%; transform: translateY(-50%); }
.dstf-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.dstf-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 171, 206, .15);
  border: 1px solid rgba(26, 171, 206, .3);
  border-radius: 100px;
  padding: 5px 16px 5px 8px;
  margin-bottom: 22px;
}
.dstf-hero__badge span:last-child {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--dstf-cyan);
  letter-spacing: .1em; text-transform: uppercase;
}
.dstf-hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dstf-cyan);
  flex-shrink: 0;
  animation: dstf-pulse 2s infinite;
}
.dstf-hero__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(30px, 4.2vw, 58px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.1 !important;
  margin-bottom: 20px !important;
}
.dstf-hero__title em { font-style: normal; color: var(--dstf-cyan); }
.dstf-hero__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255, 255, 255, .7);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 460px;
}
.dstf-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.dstf-hero__stats { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap; }
.dstf-hero__stat-val { font-family: 'Outfit', sans-serif; font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: #fff; line-height: 1; }
.dstf-hero__stat-val span { color: var(--dstf-cyan); }
.dstf-hero__stat-label { font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; }
.dstf-hero__stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.12); flex-shrink: 0; }
.dstf-hero__cards { display: flex; flex-direction: column; gap: 12px; }
.dstf-hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  transition: var(--dstf-ease);
  cursor: pointer;
}
.dstf-hero__card:hover { background: rgba(255,255,255,.1); border-color: rgba(26,171,206,.4); transform: translateX(4px); }
.dstf-hero__card-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(26,171,206,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--dstf-cyan);
  flex-shrink: 0;
  transition: var(--dstf-ease);
}
.dstf-hero__card:hover .dstf-hero__card-icon { background: rgba(26,171,206,.3); }
.dstf-hero__card-title { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.dstf-hero__card-text { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.dstf-hero__card-body { flex: 1; }
.dstf-hero__card-arrow { font-size: 16px; color: rgba(255,255,255,.25); flex-shrink: 0; transition: var(--dstf-ease); }
.dstf-hero__card:hover .dstf-hero__card-arrow { color: var(--dstf-cyan); transform: translateX(3px); }

@media (max-width: 1024px) {
  .dstf-hero__inner { grid-template-columns: 1fr; }
  .dstf-hero__cards, .dstf-hero__cross { display: none; }
  .dstf-hero { padding: 60px 0; }
}
@media (max-width: 680px) {
  .dstf-hero { padding: 100px 0 40px; min-height: 100svh; }
  .dstf-hero__title { font-size: clamp(26px, 7vw, 36px) !important; }
  .dstf-hero__stats { gap: 14px; }
  .dstf-hero__stat-div { display: none; }
  .dstf-hero__actions { flex-direction: column; }
  .dstf-btn { width: 100%; justify-content: center; }
}


/* ============================================================
   05. TRUST BAR
   ============================================================ */

.dstf-trust { background: #fff; border-bottom: 1px solid var(--dstf-border); }
.dstf-trust__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dstf-trust__inner::-webkit-scrollbar { display: none; }
.dstf-trust__item {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  opacity: .6;
  transition: opacity var(--dstf-ease);
  cursor: default;
}
.dstf-trust__item:hover { opacity: 1; }
.dstf-trust__icon {
  width: 36px; height: 36px;
  background: rgba(43,86,163,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--dstf-blue);
}
.dstf-trust__icon svg { width: 17px; height: 17px; }
.dstf-trust__label { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 600; color: var(--dstf-navy); white-space: nowrap; }
.dstf-trust__div { width: 1px; height: 26px; background: var(--dstf-border); flex-shrink: 0; }

@media (max-width: 680px) {
  .dstf-trust__inner { justify-content: flex-start; padding: 16px 0; }
}


/* ============================================================
   06. SOBRE NOSOTROS
   ============================================================ */

.dstf-about { background: #fff; padding: clamp(64px, 8vw, 104px) 0; }
.dstf-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.dstf-about__media { position: relative; }
.dstf-about__img-wrap {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dstf-navy), var(--dstf-blue-mid));
  display: flex; align-items: center; justify-content: center;
}
/* Imagen real: descomenta cuando la tengas
.dstf-about__img-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
*/
.dstf-about__img-placeholder { text-align: center; color: rgba(255,255,255,.3); padding: 20px; }
.dstf-about__img-placeholder p { font-family: 'Outfit', sans-serif; font-size: 12px; margin-top: 10px; color: rgba(255,255,255,.3); }
.dstf-about__badge {
  position: absolute;
  bottom: -22px; right: -18px;
  background: #fff;
  border: 1px solid var(--dstf-border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(25,47,93,.11);
  display: flex; align-items: center; gap: 14px;
  min-width: 200px;
}
.dstf-about__badge-num { font-family: 'Outfit', sans-serif; font-size: 30px; font-weight: 800; color: var(--dstf-blue); line-height: 1; white-space: nowrap; }
.dstf-about__badge-text { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--dstf-muted); line-height: 1.45; max-width: 100px; }
.dstf-about__content { padding-bottom: 22px; }
.dstf-about__content .dstf-tag { margin-bottom: 18px; }
.dstf-about__title { font-family: 'Outfit', sans-serif !important; font-size: clamp(24px, 2.8vw, 38px) !important; font-weight: 800 !important; color: var(--dstf-dark) !important; line-height: 1.2 !important; margin-bottom: 20px !important; }
.dstf-about__text { font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--dstf-text); line-height: 1.75; margin-bottom: 14px; }
.dstf-about__text strong { font-weight: 600; color: var(--dstf-dark); }
.dstf-about__text:last-of-type { margin-bottom: 0; }
.dstf-about__links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.dstf-about__link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--dstf-border);
  border-radius: 12px;
  flex: 1; min-width: 190px;
  text-decoration: none !important;
  transition: var(--dstf-ease);
  background: #fff;
}
.dstf-about__link:hover { border-color: var(--dstf-blue); background: rgba(43,86,163,.04); transform: translateY(-2px); box-shadow: 0 2px 12px rgba(25,47,93,.07); }
.dstf-about__link-icon {
  width: 40px; height: 40px;
  background: rgba(43,86,163,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--dstf-blue);
  transition: var(--dstf-ease);
}
.dstf-about__link:hover .dstf-about__link-icon { background: var(--dstf-blue); color: #fff; }
.dstf-about__link-label { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: var(--dstf-dark); line-height: 1.3; }
.dstf-about__link-sub { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--dstf-muted); margin-top: 2px; }

@media (max-width: 1024px) {
  .dstf-about__inner { grid-template-columns: 1fr; }
  .dstf-about__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .dstf-about__badge { right: 10px; bottom: -18px; }
  .dstf-about__content { padding-bottom: 0; padding-top: 28px; }
}
@media (max-width: 680px) {
  .dstf-about { padding: clamp(48px, 8vw, 64px) 0; }
  .dstf-about__badge { right: 8px; bottom: -14px; padding: 12px 14px; min-width: 0; }
  .dstf-about__badge-num { font-size: 24px; }
  .dstf-about__links { flex-direction: column; }
  .dstf-about__link { min-width: 0; flex: none; width: 100%; }
}


/* ============================================================
   07. STATS
   ============================================================ */

.dstf-stats { background: var(--dstf-navy); padding: clamp(52px, 6vw, 80px) 0; }
.dstf-stats__inner {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  align-items: center;
  gap: 0;
}
.dstf-stats__div { width: 1px; height: 70px; background: rgba(255,255,255,.12); justify-self: center; }
.dstf-stats__item { text-align: center; }
.dstf-stats__num { font-family: 'Outfit', sans-serif; font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 10px; letter-spacing: -.02em; }
.dstf-stats__num sup { font-size: .45em; font-weight: 700; vertical-align: baseline; margin-left: 10px; }
.dstf-stats__ac { color: var(--dstf-cyan); }
.dstf-stats__label { font-family: 'DM Sans', sans-serif; font-size: clamp(12px, 1.1vw, 14px); color: rgba(255,255,255,.5); line-height: 1.5; max-width: 160px; margin: 0 auto; }

@media (max-width: 900px) {
  .dstf-stats__inner { grid-template-columns: 1fr 1fr; gap: 0; }
  .dstf-stats__div { display: none; }
  .dstf-stats__item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .dstf-stats__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .dstf-stats__item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  .dstf-stats__inner { grid-template-columns: 1fr; }
  .dstf-stats__item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.08); padding: 20px 16px; }
  .dstf-stats__item:last-child { border-bottom: none; }
  .dstf-stats__label { max-width: 100%; }
}


/* ============================================================
   08. BLOG — CABECERA Y TARJETAS LOOP
   ============================================================ */

/* Cabecera sección blog */
.dstf-blog-header { text-align: center; margin-bottom: clamp(36px, 5vw, 52px); }
.dstf-blog-header .dstf-tag { margin-bottom: 14px; }
.dstf-blog-header__title { font-family: 'Outfit', sans-serif !important; font-size: clamp(26px, 3.5vw, 42px) !important; font-weight: 800 !important; color: var(--dstf-dark) !important; line-height: 1.2 !important; margin-bottom: 12px !important; }
.dstf-blog-header__desc { font-family: 'DM Sans', sans-serif; font-size: 17px; color: var(--dstf-muted); max-width: 520px; margin: 0 auto; line-height: 1.65; }
.dstf-blog-footer { text-align: center; margin-top: clamp(32px, 4vw, 48px); }

@media (max-width: 680px) {
  .dstf-blog-header__desc { font-size: 15px; }
}

/* Loop grid - gap */
.elementor-loop-container { gap: clamp(16px, 2vw, 24px) !important; }
.elementor-loop-container.elementor-grid { gap: 24px !important; }

/* Tarjeta genérica (por si el template cambia de IDs) */
.elementor-loop-container .elementor-post {
  background: #fff !important;
  border: 1px solid var(--dstf-border) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  transition: transform var(--dstf-ease), box-shadow var(--dstf-ease) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
}
.elementor-loop-container .elementor-post:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 32px rgba(25,47,93,.11) !important;
}
.elementor-loop-container .elementor-post .elementor-post__thumbnail__link,
.elementor-loop-container .elementor-post .e-loop-item-template-post-thumbnail {
  display: block; aspect-ratio: 16/9; overflow: hidden;
}
.elementor-loop-container .elementor-post .elementor-post__thumbnail__link img,
.elementor-loop-container .elementor-post .e-loop-item-template-post-thumbnail img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block;
  transition: transform .45s cubic-bezier(.4,0,.2,1) !important;
}
.elementor-loop-container .elementor-post:hover .elementor-post__thumbnail__link img,
.elementor-loop-container .elementor-post:hover .e-loop-item-template-post-thumbnail img {
  transform: scale(1.04) !important;
}
.elementor-loop-container .elementor-post .elementor-post-date,
.elementor-loop-container .elementor-post time {
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: .07em !important; text-transform: uppercase !important;
  color: var(--dstf-muted) !important; margin-bottom: 10px !important; display: block;
}
.elementor-loop-container .elementor-post .elementor-post__title a {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important; font-weight: 700 !important;
  color: var(--dstf-dark) !important; line-height: 1.4 !important;
  text-decoration: none !important; transition: color .2s !important;
}
.elementor-loop-container .elementor-post:hover .elementor-post__title a { color: var(--dstf-blue) !important; }
.elementor-loop-container .elementor-post .elementor-post__read-more,
.elementor-loop-container .elementor-post .elementor-button {
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important; font-weight: 600 !important;
  color: var(--dstf-blue) !important;
  text-decoration: none !important;
  display: inline-flex !important; align-items: center !important; gap: 5px !important;
  background: transparent !important; border: none !important; padding: 0 !important;
  box-shadow: none !important; transition: gap .2s !important; margin-top: auto !important;
}
.elementor-loop-container .elementor-post:hover .elementor-post__read-more,
.elementor-loop-container .elementor-post:hover .elementor-button { gap: 8px !important; }

/* IDs reales del loop template actual */
.elementor-loop-container .e-loop-item .elementor-element-47e2ec3.e-con {
  background: #fff !important;
  border: 1px solid var(--dstf-border) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  padding: 0 !important;
  transition: transform var(--dstf-ease), box-shadow var(--dstf-ease), border-color var(--dstf-ease) !important;
}
.elementor-loop-container .e-loop-item .elementor-element-47e2ec3.e-con:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 32px rgba(25,47,93,.12) !important;
  border-color: #c8d7ee !important;
}
.elementor-loop-container .e-loop-item .elementor-element-47e2ec3 > .e-con-inner { padding: 0 !important; gap: 0 !important; }
.elementor-loop-container .e-loop-item .elementor-element-03a7a1b { margin: 0 !important; padding: 0 !important; overflow: hidden !important; line-height: 0 !important; }
.elementor-loop-container .e-loop-item .elementor-element-03a7a1b a { display: block !important; overflow: hidden !important; line-height: 0 !important; }
.elementor-loop-container .e-loop-item .elementor-element-03a7a1b img { width: 100% !important; aspect-ratio: 16/9 !important; object-fit: cover !important; display: block !important; transition: transform .45s cubic-bezier(.4,0,.2,1) !important; }
.elementor-loop-container .e-loop-item .elementor-element-47e2ec3.e-con:hover .elementor-element-03a7a1b img { transform: scale(1.04) !important; }
.elementor-loop-container .e-loop-item .elementor-element-60407f2,
.elementor-loop-container .e-loop-item .elementor-element-37456a8,
.elementor-loop-container .e-loop-item .elementor-element-b0ca4cc { padding-left: 22px !important; padding-right: 22px !important; }
.elementor-loop-container .e-loop-item .elementor-element-60407f2 { padding-top: 20px !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
.elementor-loop-container .e-loop-item .elementor-element-37456a8 { padding-top: 10px !important; padding-bottom: 0 !important; flex: 1 !important; }
.elementor-loop-container .e-loop-item .elementor-element-b0ca4cc { padding-top: 14px !important; padding-bottom: 22px !important; }
.elementor-loop-container .e-loop-item .elementor-element-60407f2 .elementor-post-info { margin: 0 !important; padding: 0 !important; }
.elementor-loop-container .e-loop-item .elementor-element-60407f2 .elementor-post-info__item--type-date,
.elementor-loop-container .e-loop-item .elementor-element-60407f2 .elementor-post-info__item--type-date time {
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important;
  color: var(--dstf-muted) !important; line-height: 1 !important;
}
.elementor-loop-container .e-loop-item .elementor-element-60407f2 .elementor-icon-list-icon { display: none !important; }
.elementor-loop-container .e-loop-item .elementor-element-37456a8 .elementor-heading-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important; font-weight: 700 !important;
  line-height: 1.4 !important; color: var(--dstf-dark) !important;
  margin: 0 !important; transition: color .2s !important;
}
.elementor-loop-container .e-loop-item .elementor-element-47e2ec3.e-con:hover .elementor-element-37456a8 .elementor-heading-title { color: var(--dstf-blue) !important; }
.elementor-loop-container .e-loop-item .elementor-element-b0ca4cc .elementor-button {
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important; font-weight: 600 !important;
  color: var(--dstf-blue) !important;
  background: transparent !important; border: none !important; box-shadow: none !important;
  padding: 0 !important; border-radius: 0 !important; text-decoration: none !important;
  display: inline-flex !important; align-items: center !important;
  gap: 4px !important; transition: gap .2s, color .2s !important;
}
.elementor-loop-container .e-loop-item .elementor-element-47e2ec3.e-con:hover .elementor-element-b0ca4cc .elementor-button { gap: 8px !important; color: var(--dstf-navy) !important; }
.elementor-loop-container .e-loop-item .elementor-element-b0ca4cc .elementor-button-content-wrapper { display: inline-flex !important; align-items: center !important; gap: inherit !important; }
.elementor-loop-container .e-loop-item .elementor-element-b0ca4cc .elementor-button:hover { background: transparent !important; opacity: 1 !important; }

/* Load more */
.e-loop__load-more.elementor-button-wrapper { display: flex !important; justify-content: center !important; margin-top: clamp(32px, 4vw, 48px) !important; }
.e-loop__load-more .elementor-button {
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important; font-weight: 600 !important;
  color: var(--dstf-blue) !important;
  background: transparent !important;
  border: 2px solid var(--dstf-blue) !important;
  border-radius: 8px !important; padding: 13px 32px !important;
  text-decoration: none !important;
  display: inline-flex !important; align-items: center !important; gap: 8px !important;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s !important;
  box-shadow: none !important; cursor: pointer !important;
}
.e-loop__load-more .elementor-button:hover { background: var(--dstf-blue) !important; color: #fff !important; transform: translateY(-1px) !important; box-shadow: 0 8px 24px rgba(43,86,163,.25) !important; }
.e-load-more-spinner { display: none !important; }
.e-loop__load-more.e-load-more-pagination-loading .e-load-more-spinner { display: flex !important; align-items: center !important; }
.e-load-more-spinner svg { width: 14px !important; height: 14px !important; fill: currentColor !important; animation: dstf-spin .8s linear infinite !important; }
.e-loop__load-more.e-load-more-pagination-loading .elementor-button { color: var(--dstf-blue) !important; background: rgba(43,86,163,.06) !important; cursor: wait !important; transform: none !important; box-shadow: none !important; }
.e-loop__load-more.e-load-more-pagination-end { display: none !important; }

@media (max-width: 767px) {
  .elementor-loop-container.elementor-grid { gap: 16px !important; }
  .elementor-loop-container .e-loop-item .elementor-element-60407f2,
  .elementor-loop-container .e-loop-item .elementor-element-37456a8,
  .elementor-loop-container .e-loop-item .elementor-element-b0ca4cc { padding-left: 18px !important; padding-right: 18px !important; }
}


/* ============================================================
   09. FOOTER
   ============================================================ */

.dstf-footer { background: var(--dstf-navy); color: rgba(255,255,255,.6); }
.dstf-footer .elementor-widget-container { padding: 0 !important; margin: 0 !important; }
.dstf-footer__main { padding: clamp(52px, 7vw, 80px) 0 clamp(36px, 5vw, 56px); }
.dstf-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
}
.dstf-footer__logo-link { display: inline-block; margin-bottom: 4px; }
.dstf-footer__logo {
  height: 66px !important; width: auto; display: block;
  filter: brightness(0) invert(1);
  opacity: .75; transition: opacity .25s;
}
.dstf-footer__logo:hover { opacity: 1; }
.dstf-footer__desc { font-family: 'DM Sans', sans-serif; font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.5); margin: 16px 0 24px; max-width: 280px; }
.dstf-footer__social { display: flex; gap: 8px; }
.dstf-footer__social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: background .25s, border-color .25s, color .25s;
  text-decoration: none !important;
}
.dstf-footer__social-btn:hover { background: var(--dstf-blue); border-color: var(--dstf-blue); color: #fff; }
.dstf-footer__col-title { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.dstf-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.dstf-footer__link { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none !important; transition: color .22s, padding-left .22s; display: inline-block; }
.dstf-footer__link:hover { color: var(--dstf-cyan); padding-left: 4px; }
.dstf-footer__contact-list { display: flex; flex-direction: column; gap: 16px; }
.dstf-footer__contact-row { display: flex; align-items: flex-start; gap: 10px; }
.dstf-footer__contact-icon {
  width: 28px; height: 28px;
  background: rgba(26,171,206,.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--dstf-cyan); margin-top: 1px;
}
.dstf-footer__contact-body { display: flex; flex-direction: column; gap: 2px; }
.dstf-footer__contact-label { font-family: 'Outfit', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.35); line-height: 1; margin-bottom: 2px; }
.dstf-footer__contact-val { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.55; display: block; text-decoration: none !important; }
.dstf-footer__contact-val--link:hover { color: var(--dstf-cyan); }
.dstf-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.dstf-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.dstf-footer__copy { font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,.35); margin: 0; line-height: 1.5; }
.dstf-footer__copy a { color: var(--dstf-cyan); text-decoration: none !important; transition: opacity .2s; }
.dstf-footer__copy a:hover { opacity: .8; }
.dstf-footer__legal { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(12px, 2vw, 24px); }
.dstf-footer__legal-link { font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,.35); text-decoration: none !important; transition: color .22s; }
.dstf-footer__legal-link:hover { color: var(--dstf-cyan); }

@media (max-width: 1024px) {
  .dstf-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .dstf-footer__desc { max-width: 100%; }
}
@media (max-width: 680px) {
  .dstf-footer__main { padding: 44px 0 32px; }
  .dstf-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .dstf-footer__brand { grid-column: 1 / -1; }
  .dstf-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .dstf-footer__grid { grid-template-columns: 1fr; }
}


/* ============================================================
   10. POST INDIVIDUAL — HERO
   ============================================================ */

.dstf-post-hero {
  position: relative;
  background: var(--dstf-navy);
  padding: 170px 0 80px 0;
  overflow: hidden;
}
.dstf-post-hero__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}
.dstf-post-hero__glow {
  position: absolute;
  width: min(500px, 70vw); height: min(500px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,86,163,.5) 0%, transparent 70%);
  right: -15%; top: -40%;
  pointer-events: none;
}
.dstf-post-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.dstf-post-hero__breadcrumb { display: flex; align-items: center; gap: 4px; margin-bottom: 20px; }
.dstf-post-hero__breadcrumb svg { color: rgba(255,255,255,.25); flex-shrink: 0; }
.dstf-post-hero__bc-link { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none !important; transition: color .2s; }
.dstf-post-hero__bc-link:hover { color: rgba(255,255,255,.8); }
.dstf-post-hero__bc-current { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.55); }
.dstf-post-hero__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.dstf-post-hero__cat {
  font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--dstf-cyan); background: rgba(26,171,206,.15);
  border: 1px solid rgba(26,171,206,.3);
  padding: 4px 12px; border-radius: 100px;
}
.dstf-post-hero__sep { color: rgba(255,255,255,.2); font-size: 12px; }
.dstf-post-hero__read-time { display: flex; align-items: center; gap: 5px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.45); }
.dstf-post-hero__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(24px, 3.5vw, 46px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.15 !important;
  margin-bottom: 28px !important;
}
.dstf-post-hero__byline { display: flex; align-items: center; gap: 12px; }
.dstf-post-hero__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(26,171,206,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--dstf-cyan); flex-shrink: 0;
}
.dstf-post-hero__author { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); line-height: 1; }
.dstf-post-hero__date { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.45); margin-top: 3px; }

/* Ocultar widgets nativos usados solo como fuente de datos */
.dstf-post-data-source {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}


/* ============================================================
   11. POST INDIVIDUAL — LAYOUT CONTENIDO + SIDEBAR
   ============================================================ */

/* Contenedor padre: dos columnas */
.elementor-element-d819ad8.e-con {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: clamp(32px, 4vw, 64px) !important;
  padding: 80px 0 0 0 !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  background: #fff !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.elementor-element-4071838 > .e-con-inner { padding: 0 !important; }
.elementor-element-4071838.e-con-boxed { padding: 0 !important; background: #fff !important; }

/* Columna contenido */
.elementor-element-5154346.e-con { flex: 1 1 0 !important; min-width: 0 !important; padding: 0 !important; }

/* Columna sidebar */
.elementor-element-5d6947c.e-con { flex: 0 0 320px !important; width: 320px !important; min-width: 0 !important; padding: 0 !important; overflow: visible !important; }
.elementor-element-5d6947c .elementor-widget-container { overflow: visible !important; }

/* Sidebar sticky */
.dstf-post-sidebar { position: sticky !important; top: 100px !important; display: flex; flex-direction: column; gap: 16px; }

/* Cards del sidebar */
.dstf-psb__card { border-radius: 16px; overflow: hidden; border: 1px solid var(--dstf-border); }
.dstf-psb__card--cta { background: var(--dstf-navy); border-color: transparent; position: relative; }
.dstf-psb__cta-glow {
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,86,163,.6) 0%, transparent 70%);
  right: -60px; top: -60px; pointer-events: none;
}
.dstf-psb__cta-body { position: relative; z-index: 1; padding: 24px; }
.dstf-psb__cta-icon { width: 44px; height: 44px; background: rgba(26,171,206,.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--dstf-cyan); margin-bottom: 14px; }
.dstf-psb__cta-title { font-family: 'Outfit', sans-serif !important; font-size: 17px !important; font-weight: 700 !important; color: #fff !important; line-height: 1.3 !important; margin-bottom: 10px !important; }
.dstf-psb__cta-text { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 18px; }
.dstf-psb__cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: #fff; color: var(--dstf-navy) !important;
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  padding: 11px 18px; border-radius: 8px;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}
.dstf-psb__cta-btn:hover { background: #E8F0FC; transform: translateY(-1px); }
.dstf-psb__card--service { background: #fff; padding: 22px; }
.dstf-psb__svc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dstf-psb__svc-icon { width: 32px; height: 32px; background: rgba(43,86,163,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--dstf-blue); flex-shrink: 0; }
.dstf-psb__svc-eyebrow { font-family: 'Outfit', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dstf-blue); }
.dstf-psb__svc-title { font-family: 'Outfit', sans-serif !important; font-size: 15px !important; font-weight: 700 !important; color: var(--dstf-dark) !important; line-height: 1.3 !important; margin-bottom: 14px !important; }
.dstf-psb__svc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.dstf-psb__svc-list li a {
  display: flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: var(--dstf-text) !important; text-decoration: none !important;
  padding: 7px 10px; border-radius: 7px;
  transition: color .2s, background .2s;
}
.dstf-psb__svc-list li a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--dstf-cyan); flex-shrink: 0; }
.dstf-psb__svc-list li a:hover { color: var(--dstf-blue) !important; background: rgba(43,86,163,.06); }
.dstf-psb__svc-link { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: var(--dstf-blue) !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.dstf-psb__svc-link:hover { gap: 8px; }
.dstf-psb__card--contact { background: var(--dstf-bg); border-color: transparent; padding: 20px 22px; }
.dstf-psb__contact-title { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dstf-muted); margin-bottom: 14px; }
.dstf-psb__contact-row { display: flex; align-items: center; gap: 10px; text-decoration: none !important; margin-bottom: 12px; transition: opacity .2s; }
.dstf-psb__contact-row:last-child { margin-bottom: 0; }
.dstf-psb__contact-row:hover { opacity: .8; }
.dstf-psb__contact-icon { width: 30px; height: 30px; background: rgba(26,171,206,.15); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--dstf-cyan); flex-shrink: 0; }
.dstf-psb__contact-label { font-family: 'Outfit', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--dstf-muted); line-height: 1; }
.dstf-psb__contact-val { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--dstf-dark); font-weight: 500; margin-top: 2px; }

/* Estilos del contenido del post */
.elementor-element-b165dab .elementor-widget-container { font-family: 'DM Sans', sans-serif !important; font-size: 16px !important; line-height: 1.8 !important; color: var(--dstf-text) !important; }
.elementor-element-b165dab p,
.elementor-element-b165dab div:not([class]) { font-family: 'DM Sans', sans-serif !important; font-size: 16px !important; line-height: 1.8 !important; color: var(--dstf-text) !important; margin-bottom: 1.4em !important; }
.elementor-element-b165dab h2 { font-family: 'Outfit', sans-serif !important; font-size: clamp(20px, 2vw, 26px) !important; font-weight: 700 !important; color: var(--dstf-dark) !important; margin: 2em 0 .75em !important; line-height: 1.3 !important; }
.elementor-element-b165dab h3 { font-family: 'Outfit', sans-serif !important; font-size: clamp(17px, 1.6vw, 21px) !important; font-weight: 700 !important; color: var(--dstf-dark) !important; margin: 1.75em 0 .6em !important; line-height: 1.3 !important; }
.elementor-element-b165dab a { color: var(--dstf-blue) !important; text-decoration: underline !important; text-underline-offset: 3px !important; }
.elementor-element-b165dab img { max-width: 100% !important; height: auto !important; border-radius: 12px !important; margin: 1.5em 0 !important; display: block !important; }
.elementor-element-b165dab ul,
.elementor-element-b165dab ol { padding-left: 1.4em !important; margin-bottom: 1.4em !important; color: var(--dstf-text) !important; }
.elementor-element-b165dab li { margin-bottom: .5em !important; line-height: 1.7 !important; font-family: 'DM Sans', sans-serif !important; }
.elementor-element-b165dab strong,
.elementor-element-b165dab b { font-weight: 600 !important; color: var(--dstf-dark) !important; }
.elementor-element-b165dab blockquote { border-left: 3px solid var(--dstf-cyan) !important; margin: 1.8em 0 !important; padding: 14px 20px !important; background: rgba(26,171,206,.06) !important; border-radius: 0 8px 8px 0 !important; font-style: italic !important; color: var(--dstf-text) !important; }
.elementor-element-b165dab .art-entradilla { font-size: 18px !important; color: var(--dstf-text) !important; font-style: italic !important; border-left: 3px solid var(--dstf-cyan) !important; padding-left: 16px !important; margin-bottom: 2em !important; }
.elementor-element-b165dab .wrap-listado-noticias { margin: 1.5em 0 !important; }
.elementor-element-b165dab .wrap-listado-noticias img { border-radius: 12px !important; }

/* Responsive post layout */
@media (max-width: 1024px) {
  .elementor-element-d819ad8.e-con { flex-direction: column !important; gap: 32px !important; }
  .elementor-element-5d6947c.e-con { flex: 1 1 auto !important; width: 100% !important; }
  .dstf-post-sidebar { position: static !important; display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .dstf-psb__card--cta { grid-column: 1 / -1 !important; }
}
@media (max-width: 680px) {
  .dstf-post-sidebar { grid-template-columns: 1fr !important; }
  .elementor-element-d819ad8.e-con { padding: 40px 16px 0px 16px !important; }
	.dstf-post-hero { padding: 110px 0 40px 0; }
	/*.dstf-post-sidebar{ margin-top:-40px; }*/
}


/* ============================================================
   12. POST INDIVIDUAL — CTA INFERIOR
   ============================================================ */

.dstf-post-cta {
  position: relative;
  background: var(--dstf-navy);
  border-radius: 20px; overflow: hidden;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: clamp(36px, 4vw, 52px) clamp(24px, 4vw, 52px);
}
.dstf-post-cta__glow {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,86,163,.5) 0%, transparent 70%);
  right: -100px; top: -100px; pointer-events: none;
}
.dstf-post-cta__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 28px;
  align-items: center;
}
.dstf-post-cta__icon-wrap { width: 52px; height: 52px; background: rgba(26,171,206,.18); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--dstf-cyan); flex-shrink: 0; }
.dstf-post-cta__title { font-family: 'Outfit', sans-serif !important; font-size: clamp(17px, 2vw, 22px) !important; font-weight: 700 !important; color: #fff !important; margin-bottom: 6px !important; line-height: 1.3 !important; }
.dstf-post-cta__text { font-family: 'DM Sans', sans-serif; font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; margin: 0; }
.dstf-post-cta__actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.dstf-post-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  padding: 11px 20px; border-radius: 8px;
  text-decoration: none !important; white-space: nowrap;
  transition: background .25s, transform .25s, color .25s;
}
.dstf-post-cta__btn--primary { background: #fff; color: var(--dstf-navy) !important; }
.dstf-post-cta__btn--primary:hover { background: #E8F0FC; transform: translateY(-1px); }
.dstf-post-cta__btn--ghost { background: transparent; color: rgba(255,255,255,.65) !important; border: 1.5px solid rgba(255,255,255,.22); }
.dstf-post-cta__btn--ghost:hover { border-color: rgba(255,255,255,.55); color: #fff !important; }

@media (max-width: 680px) {
  .dstf-post-cta__inner { grid-template-columns: 1fr; text-align: center; }
  .dstf-post-cta__icon-wrap { margin: 0 auto; }
  .dstf-post-cta__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}


/* ============================================================
   13. BLOG ARCHIVE — BÚSQUEDA REST API
   ============================================================ */

.dstf-search { margin-bottom: clamp(28px, 4vw, 40px); }
.dstf-search__wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dstf-search__input-wrap { position: relative; width: 100%; max-width: 560px; }
.dstf-search__icon { position: absolute; left: 16px; top: 36%; transform: translateY(-50%); color: var(--dstf-muted); pointer-events: none; transition: color .2s; }
.dstf-search__input-wrap:focus-within .dstf-search__icon { color: var(--dstf-blue); }
.dstf-search__input {
  width: 100% !important; height: 52px !important;
  padding: 0 48px !important;
  font-family: 'DM Sans', sans-serif !important; font-size: 15px !important;
  color: var(--dstf-dark) !important; background: #fff !important;
  border: 1.5px solid var(--dstf-border) !important;
  border-radius: 12px !important; outline: none !important;
  box-shadow: 0 2px 8px rgba(25,47,93,.05) !important;
  transition: border-color .22s, box-shadow .22s !important;
  -webkit-appearance: none !important; appearance: none !important;
}
.dstf-search__input::placeholder { color: #B0BECE !important; }
.dstf-search__input:focus { border-color: var(--dstf-blue) !important; box-shadow: 0 0 0 3px rgba(43,86,163,.1), 0 2px 8px rgba(25,47,93,.05) !important; }
.dstf-search__input::-webkit-search-cancel-button { display: none !important; }
.dstf-search__clear {
  position: absolute; right: 14px; top: 36%; transform: translateY(-50%);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; border: none;
  background: rgba(43,86,163,.08); color: var(--dstf-blue);
  cursor: pointer; transition: background .2s; padding: 0;
}
.dstf-search__clear:hover { background: rgba(43,86,163,.16); }
.dstf-search__clear[hidden] { display: none !important; }
.dstf-search__status { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--dstf-muted); min-height: 18px; text-align: center; }

.dstf-search-results[hidden] { display: none !important; }
.dstf-search-results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.dstf-search-results__empty { text-align: center; padding: 48px 20px; }
.dstf-search-results__empty[hidden] { display: none !important; }
.dstf-search-results__empty p { font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--dstf-muted); }
.dstf-src__loading { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; padding: 40px 0; }
.dstf-src__loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--dstf-blue); animation: dstf-bounce .8s ease-in-out infinite; }
.dstf-src__loading span:nth-child(2) { animation-delay: .15s; }
.dstf-src__loading span:nth-child(3) { animation-delay: .3s; }
.dstf-src__card {
  background: #fff; border: 1px solid var(--dstf-border);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dstf-ease), box-shadow var(--dstf-ease);
}
.dstf-src__card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(25,47,93,.12); border-color: #c8d7ee; }
.dstf-src__img { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--dstf-navy), var(--dstf-blue-mid)); display: flex; align-items: center; justify-content: center; }
.dstf-src__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.dstf-src__card:hover .dstf-src__img img { transform: scale(1.04); }
.dstf-src__img-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(255,255,255,.2); }
.dstf-src__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dstf-src__date { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--dstf-muted); display: block; margin-bottom: 8px; }
.dstf-src__title { font-family: 'Outfit', sans-serif !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.4 !important; margin-bottom: 10px !important; flex: 1 !important; }
.dstf-src__title a { color: var(--dstf-dark) !important; text-decoration: none !important; transition: color .2s !important; }
.dstf-src__card:hover .dstf-src__title a { color: var(--dstf-blue) !important; }
.dstf-src__excerpt { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--dstf-muted); line-height: 1.65; margin-bottom: 14px; }
.dstf-src__link { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: var(--dstf-blue) !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; margin-top: auto; }
.dstf-src__card:hover .dstf-src__link { gap: 8px; }

@media (max-width: 900px) { .dstf-search-results__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dstf-search-results__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dstf-search__input { font-size: 16px !important; } }


/* ============================================================
   14. BLOG ARCHIVE — CTA BANNER
   ============================================================ */

.dstf-blog-cta {
  position: relative;
  background: var(--dstf-navy);
  border-radius: 20px; overflow: hidden;
  margin: clamp(40px, 5vw, 64px) 0;
  padding: clamp(44px, 5vw, 64px) clamp(28px, 5vw, 64px);
}
.dstf-blog-cta__glow {
  position: absolute;
  width: min(500px, 70vw); height: min(500px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,86,163,.55) 0%, transparent 70%);
  right: -10%; top: -50%; pointer-events: none;
}
.dstf-blog-cta__cross {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: clamp(120px, 18vw, 220px); height: clamp(120px, 18vw, 220px);
  opacity: .05; pointer-events: none;
}
.dstf-blog-cta__cross::before,
.dstf-blog-cta__cross::after { content: ''; position: absolute; background: #fff; border-radius: 3px; }
.dstf-blog-cta__cross::before { left: 50%; top: 0; bottom: 0; width: 18%; transform: translateX(-50%); }
.dstf-blog-cta__cross::after  { top: 50%; left: 0; right: 0; height: 18%; transform: translateY(-50%); }
.dstf-blog-cta__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas: "content actions" "stats stats";
  gap: 32px 48px;
  align-items: center;
}
.dstf-blog-cta__content { grid-area: content; }
.dstf-blog-cta__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dstf-cyan); margin-bottom: 14px;
}
.dstf-blog-cta__eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--dstf-cyan); border-radius: 1px; }
.dstf-blog-cta__title { font-family: 'Outfit', sans-serif !important; font-size: clamp(22px, 2.8vw, 34px) !important; font-weight: 800 !important; color: #fff !important; line-height: 1.2 !important; margin-bottom: 12px !important; }
.dstf-blog-cta__desc { font-family: 'DM Sans', sans-serif; font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 480px; margin: 0; }
.dstf-blog-cta__actions { grid-area: actions; display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.dstf-blog-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  padding: 13px 24px; border-radius: 8px;
  text-decoration: none !important; white-space: nowrap; cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s, color .25s;
}
.dstf-blog-cta__btn--primary { background: #fff; color: var(--dstf-navy) !important; }
.dstf-blog-cta__btn--primary:hover { background: #E8F0FC; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.dstf-blog-cta__btn--ghost { background: transparent; color: rgba(255,255,255,.7) !important; border: 1.5px solid rgba(255,255,255,.25); }
.dstf-blog-cta__btn--ghost:hover { border-color: rgba(255,255,255,.6); color: #fff !important; transform: translateY(-1px); }
.dstf-blog-cta__stats { grid-area: stats; display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.dstf-blog-cta__stat-val { font-family: 'Outfit', sans-serif; font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.dstf-blog-cta__stat-val span { color: var(--dstf-cyan); }
.dstf-blog-cta__stat-label { font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,.45); }
.dstf-blog-cta__stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.12); flex-shrink: 0; }

@media (max-width: 900px) {
  .dstf-blog-cta__inner { grid-template-columns: 1fr; grid-template-areas: "content" "actions" "stats"; gap: 24px; }
  .dstf-blog-cta__actions { flex-direction: row; flex-wrap: wrap; }
  .dstf-blog-cta__desc { max-width: 100%; }
}
@media (max-width: 560px) {
  .dstf-blog-cta { border-radius: 14px; padding: 36px 22px; }
  .dstf-blog-cta__actions { flex-direction: column; }
  .dstf-blog-cta__stat-sep { display: none; }
  .dstf-blog-cta__stats { gap: 16px; }
}


/* ============================================================
   15. PÁGINAS INTERIORES — SUBHEADER
   ============================================================ */

.dstf-page-hero {
  position: relative;
  background: var(--dstf-navy);
  padding: 170px 0 70px;
  overflow: hidden;
}
.dstf-page-hero__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}
.dstf-page-hero__glow {
  position: absolute;
  width: min(600px, 70vw); height: min(600px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,86,163,.45) 0%, transparent 70%);
  right: -15%; top: -40%;
  pointer-events: none;
}
.dstf-page-hero__inner { position: relative; z-index: 2; max-width: 960px; }
.dstf-page-hero__breadcrumb { display: flex; align-items: center; gap: 4px; margin-bottom: 20px; }
.dstf-page-hero__breadcrumb-link { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none !important; transition: color .2s; }
.dstf-page-hero__breadcrumb-link:hover { color: rgba(255,255,255,.8); }
.dstf-page-hero__breadcrumb-sep { color: rgba(255,255,255,.25); display: flex; align-items: center; }
.dstf-page-hero__breadcrumb-current { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.55); }
.dstf-page-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(26,171,206,.15); border: 1px solid rgba(26,171,206,.3); border-radius: 100px; padding: 5px 14px 5px 8px; margin-bottom: 20px; }
.dstf-page-hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dstf-cyan); flex-shrink: 0; animation: dstf-pulse 2s infinite; }
.dstf-page-hero__badge span:last-child { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600; color: var(--dstf-cyan); letter-spacing: .1em; text-transform: uppercase; }
.dstf-page-hero__title { font-family: 'Outfit', sans-serif !important; font-size: clamp(30px, 4vw, 52px) !important; font-weight: 800 !important; color: #fff !important; line-height: 1.15 !important; margin-bottom: 18px !important; }
.dstf-page-hero__title em { font-style: normal; color: var(--dstf-cyan); }
.dstf-page-hero__desc { font-family: 'DM Sans', sans-serif; font-size: clamp(15px, 1.5vw, 17px); color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 28px; max-width: 620px; }
.dstf-page-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dstf-page-hero__tag {
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.6) !important;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: 6px 14px; border-radius: 100px;
  text-decoration: none !important;
  transition: color .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.dstf-page-hero__tag:hover { color: var(--dstf-cyan) !important; background: rgba(26,171,206,.12); border-color: rgba(26,171,206,.3); }

@media (max-width: 680px) {
  .dstf-page-hero { padding: 110px 0 60px; }
  .dstf-page-hero__tags { gap: 6px; }
  .dstf-page-hero__tag { font-size: 11px; padding: 5px 11px; }
}


/* ============================================================
   16. ENSAYOS CLÍNICOS — SERVICIOS ZIGZAG
   ============================================================ */

.dstf-services { background: #fff; }
.dstf-svc { padding: clamp(64px, 8vw, 100px) 0; position: relative; }
.dstf-svc--alt { background: var(--dstf-bg); }
.dstf-svc__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.dstf-svc__inner--normal .dstf-svc__content { order: 1; }
.dstf-svc__inner--normal .dstf-svc__media   { order: 2; }
.dstf-svc__inner--reverse .dstf-svc__media   { order: 1; }
.dstf-svc__inner--reverse .dstf-svc__content { order: 2; }
.dstf-svc__num { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--dstf-cyan); display: block; margin-bottom: 10px; }
.dstf-svc__content .dstf-tag { margin-bottom: 14px; display: inline-block; }
.dstf-svc__title { font-family: 'Outfit', sans-serif !important; font-size: clamp(22px, 2.6vw, 34px) !important; font-weight: 800 !important; color: var(--dstf-dark) !important; line-height: 1.2 !important; margin-bottom: 16px !important; }
.dstf-svc__lead { font-family: 'DM Sans', sans-serif; font-size: 16px; color: var(--dstf-text); line-height: 1.75; margin-bottom: 28px; }
.dstf-svc__blocks { display: flex; flex-direction: column; gap: 20px; }
.dstf-svc__block { display: flex; align-items: flex-start; gap: 14px; }
.dstf-svc__block-icon { width: 40px; height: 40px; background: rgba(43,86,163,.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--dstf-blue); margin-top: 2px; transition: background .25s; }
.dstf-svc__block:hover .dstf-svc__block-icon { background: rgba(43,86,163,.14); }
.dstf-svc__block-icon svg { width: 18px; height: 18px; }
.dstf-svc__block-title { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; color: var(--dstf-dark); margin-bottom: 5px; line-height: 1.3; }
.dstf-svc__block-text { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--dstf-muted); line-height: 1.7; margin: 0; }
.dstf-svc__two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.dstf-svc__benefit-title { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dstf-blue); margin-bottom: 10px; }
.dstf-svc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.dstf-svc__list li { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--dstf-text); padding-left: 16px; position: relative; line-height: 1.5; }
.dstf-svc__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--dstf-cyan); }
.dstf-svc__result { display: flex; align-items: flex-start; gap: 10px; background: rgba(26,171,206,.08); border-left: 3px solid var(--dstf-cyan); border-radius: 0 8px 8px 0; padding: 12px 14px; margin-bottom: 24px; }
.dstf-svc__result svg { flex-shrink: 0; color: var(--dstf-cyan); margin-top: 1px; }
.dstf-svc__result span { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--dstf-text); line-height: 1.6; }
.dstf-svc__cta { display: inline-flex; align-items: center; gap: 6px; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; color: var(--dstf-blue) !important; text-decoration: none !important; transition: gap .2s, color .2s; }
.dstf-svc__cta:hover { color: var(--dstf-navy) !important; gap: 10px; }
.dstf-svc__media { position: relative; }
.dstf-svc__img-wrap { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--dstf-navy), var(--dstf-blue-mid)); display: flex; align-items: center; justify-content: center; }
/* Imagen real: descomenta cuando la tengas
.dstf-svc__img-wrap img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.dstf-svc__media:hover .dstf-svc__img-wrap img { transform: scale(1.03); }
*/
.dstf-svc__img-placeholder { text-align: center; color: rgba(255,255,255,.25); padding: 20px; }
.dstf-svc__img-placeholder svg { display: block; margin: 0 auto 12px; }
.dstf-svc__img-placeholder p { font-family: 'Outfit', sans-serif; font-size: 12px; letter-spacing: .04em; }
.dstf-svc__media-badge { position: absolute; bottom: -14px; left: 24px; background: #fff; border: 1px solid var(--dstf-border); border-radius: 100px; padding: 8px 16px; display: flex; align-items: center; gap: 7px; font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 600; color: var(--dstf-blue); box-shadow: 0 4px 16px rgba(25,47,93,.1); white-space: nowrap; }
.dstf-svc__media-badge svg { color: var(--dstf-cyan); flex-shrink: 0; }

@media (max-width: 900px) {
  .dstf-svc__inner--normal,
  .dstf-svc__inner--reverse { grid-template-columns: 1fr; gap: 36px; }
  .dstf-svc__inner--normal .dstf-svc__media,
  .dstf-svc__inner--reverse .dstf-svc__media { order: 1 !important; }
  .dstf-svc__inner--normal .dstf-svc__content,
  .dstf-svc__inner--reverse .dstf-svc__content { order: 2 !important; }
  .dstf-svc__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .dstf-svc__two-col { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .dstf-svc { padding: clamp(48px, 10vw, 64px) 0; }
  .dstf-svc__media-badge { left: 16px; bottom: -12px; font-size: 11px; padding: 6px 12px; }
}


.dstf-footer__link, .dstf-footer__contact-val, .dstf-footer__copy a,.dstf-footer__legal-link, .dstf-sidebar__contact-row{
	font-family: 'DM Sans', sans-serif !important;
	font-weight:400 !important;
}


/* ============================================================
   DISTEFAR — Página Certificaciones
   Añadir a: distefar-custom.css (sección 17)
   ============================================================ */


/* ── INTRO — política de calidad ─────────────────────────── */

.dstf-cert-intro {
  background: #fff;
  padding: clamp(64px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--dstf-border);
}

.dstf-cert-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
}

/* Contenido */
.dstf-cert-intro__content .dstf-tag { margin-bottom: 18px; }

.dstf-cert-intro__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(24px, 2.8vw, 36px) !important;
  font-weight: 800 !important;
  color: var(--dstf-dark) !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
}

.dstf-cert-intro__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--dstf-text);
  line-height: 1.75;
  margin-bottom: 14px;
}
.dstf-cert-intro__text:last-child { margin-bottom: 0; }

/* Stats */
.dstf-cert-intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--dstf-border);
  border: 1px solid var(--dstf-border);
  border-radius: 16px;
  overflow: hidden;
}

.dstf-cert-intro__stat {
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dstf-cert-intro__stat:first-child { border-radius: 14px 0 0 0; }
.dstf-cert-intro__stat:nth-child(2) { border-radius: 0 14px 0 0; }
.dstf-cert-intro__stat:nth-child(3) { border-radius: 0 0 0 14px; }
.dstf-cert-intro__stat:last-child  { border-radius: 0 0 14px 0; }

.dstf-cert-intro__stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--dstf-blue);
  line-height: 1;
}
.dstf-cert-intro__stat-num span {
  color: var(--dstf-cyan);
}
.dstf-cert-intro__stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--dstf-muted);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .dstf-cert-intro__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .dstf-cert-intro__stats {
    grid-template-columns: 1fr;
  }
}


/* ── GRID DE CERTIFICACIONES ─────────────────────────────── */

.dstf-cert-grid-section {
  background: var(--dstf-bg);
  padding: clamp(64px, 8vw, 96px) 0;
}

.dstf-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Card base */
.dstf-cert-card {
  background: #fff;
  border: 1px solid var(--dstf-border);
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  transition:
    transform var(--dstf-ease),
    box-shadow var(--dstf-ease),
    border-color var(--dstf-ease);
}
.dstf-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(25, 47, 93, .1);
  border-color: #c8d7ee;
}

/* Card featured (ISO 9001 e ISO 14001) */
.dstf-cert-card--featured {
  border-color: rgba(43, 86, 163, .25);
  background: linear-gradient(135deg, #fff 85%, rgba(43, 86, 163, .03));
}
.dstf-cert-card--featured:hover {
  border-color: var(--dstf-blue);
  box-shadow: 0 12px 40px rgba(43, 86, 163, .14);
}

/* Sello / placeholder */
.dstf-cert-card__seal-wrap {
  flex-shrink: 0;
}
.dstf-cert-card__seal-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(43, 86, 163, .07);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dstf-blue);
  transition: background var(--dstf-ease);
}
.dstf-cert-card:hover .dstf-cert-card__seal-placeholder {
  background: rgba(43, 86, 163, .12);
}
/* Variante verde para ISO 14001 */
.dstf-cert-card__seal-placeholder--green {
  background: rgba(26, 171, 206, .08);
  color: #1a9a6e;
}
.dstf-cert-card:hover .dstf-cert-card__seal-placeholder--green {
  background: rgba(26, 171, 206, .16);
}

/* Imagen real del sello (cuando la sustituyas) */
.dstf-cert-card__seal-wrap img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
}

/* Cuerpo */
.dstf-cert-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dstf-cert-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dstf-cert-card__badge {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dstf-blue);
  background: rgba(43, 86, 163, .09);
  padding: 4px 10px;
  border-radius: 100px;
}
.dstf-cert-card__badge--green {
  color: #1a9a6e;
  background: rgba(26, 171, 206, .1);
}

.dstf-cert-card__org {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--dstf-muted);
}

.dstf-cert-card__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--dstf-dark) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.dstf-cert-card__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-text);
  line-height: 1.7;
  margin: 0;
}
.dstf-cert-card__desc strong {
  font-weight: 600;
  color: var(--dstf-dark);
}

/* Meta (iconos + etiquetas) */
.dstf-cert-card__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.dstf-cert-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--dstf-muted);
}
.dstf-cert-card__meta-item svg {
  color: var(--dstf-cyan);
  flex-shrink: 0;
}


/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .dstf-cert-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .dstf-cert-card {
    flex-direction: column;
    gap: 16px;
    padding: 22px;
  }
  .dstf-cert-card__seal-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }
}
