@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 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; }

/* ============================================================
   BLOG LOOP — IDs nueva instalación
   ============================================================ */

.elementor-loop-container .e-loop-item .elementor-element-2023f0d.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-2023f0d.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-2023f0d > .e-con-inner {
  padding: 0 !important;
  gap: 0 !important;
}

/* Imagen */
.elementor-loop-container .e-loop-item .elementor-element-65f17ce6 {
  margin: 0 !important; padding: 0 !important;
  overflow: hidden !important; line-height: 0 !important;
}
.elementor-loop-container .e-loop-item .elementor-element-65f17ce6 a {
  display: block !important; overflow: hidden !important; line-height: 0 !important;
}
.elementor-loop-container .e-loop-item .elementor-element-65f17ce6 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-2023f0d.e-con:hover .elementor-element-65f17ce6 img {
  transform: scale(1.04) !important;
}

/* Fecha */
.elementor-loop-container .e-loop-item .elementor-element-3cce68e4 {
  padding: 20px 22px 0 !important; margin-bottom: 0 !important;
}
.elementor-loop-container .e-loop-item .elementor-element-3cce68e4 .elementor-post-info { margin: 0 !important; padding: 0 !important; }
.elementor-loop-container .e-loop-item .elementor-element-3cce68e4 .elementor-post-info__item--type-date,
.elementor-loop-container .e-loop-item .elementor-element-3cce68e4 .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-3cce68e4 .elementor-icon-list-icon { display: none !important; }

/* Título */
.elementor-loop-container .e-loop-item .elementor-element-7c291896 {
  padding: 10px 22px 0 !important; flex: 1 !important;
}
.elementor-loop-container .e-loop-item .elementor-element-7c291896 .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-2023f0d.e-con:hover .elementor-element-7c291896 .elementor-heading-title {
  color: var(--dstf-blue) !important;
}

/* Botón */
.elementor-loop-container .e-loop-item .elementor-element-792ba37a {
  padding: 14px 22px 22px !important;
}
.elementor-loop-container .e-loop-item .elementor-element-792ba37a .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-2023f0d.e-con:hover .elementor-element-792ba37a .elementor-button {
  gap: 8px !important; color: var(--dstf-navy) !important;
}
.elementor-loop-container .e-loop-item .elementor-element-792ba37a .elementor-button:hover {
  background: transparent !important; opacity: 1 !important;
}

@media (max-width: 767px) {
  .elementor-loop-container .e-loop-item .elementor-element-3cce68e4,
  .elementor-loop-container .e-loop-item .elementor-element-7c291896,
  .elementor-loop-container .e-loop-item .elementor-element-792ba37a {
    padding-left: 18px !important; padding-right: 18px !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 }
.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-749eac35.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-3379c617.e-con { flex: 1 1 0 !important; min-width: 0 !important; padding: 0 !important; }

/* Columna sidebar */
.elementor-element-3348f55a.e-con { flex: 0 0 320px !important; width: 320px !important; min-width: 0 !important; padding: 0 !important; overflow: visible !important; }
.elementor-element-3348f55a .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-3379c617 .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-3379c617 p,
.elementor-element-3379c617 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-3379c617 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-3379c617 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-3379c617 a { color: var(--dstf-blue) !important; text-decoration: underline !important; text-underline-offset: 3px !important; }
.elementor-element-3379c617 img { max-width: 100% !important; height: auto !important; border-radius: 12px !important; margin: 1.5em 0 !important; display: block !important; }
.elementor-element-3379c617 ul,
.elementor-element-3379c617 ol { padding-left: 1.4em !important; margin-bottom: 1.4em !important; color: var(--dstf-text) !important; }
.elementor-element-3379c617 li { margin-bottom: .5em !important; line-height: 1.7 !important; font-family: 'DM Sans', sans-serif !important; }
.elementor-element-3379c617 strong,
.elementor-element-3379c617 b { font-weight: 600 !important; color: var(--dstf-dark) !important; }
.elementor-element-3379c617 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-3379c617 .art-entradilla, span.TP__field.TP__field__post__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-3379c617 .wrap-listado-noticias { margin: 1.5em 0 !important; }
.elementor-element-3379c617 .wrap-listado-noticias img { border-radius: 12px !important; }

/* Responsive post layout */
@media (max-width: 1024px) {
  .elementor-element-3379c617.e-con { flex-direction: column !important; gap: 32px !important; }
  .elementor-element-3379c617.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; width:100% !important}
  .elementor-element-d819ad8.e-con { padding: 40px 16px 0px 16px !important; }
	.dstf-post-hero { padding: 120px 0 40px 0;}
	/*.dstf-post-sidebar{ margin-top:-40px; }*/
	.elementor-element-3348f55a.e-con{
		max-width:unset !important;
		width:100% !important;
		flex:unset !important;
	}
}


/* ============================================================
   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: 130px 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; }

.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;
}




/* ============================================================
   17. CERTIFICACIONES
   ============================================================ */

/* ── Sección principal ──────────────────────────────────── */

.dstf-cert-body {
  background: #fff;
  padding: clamp(64px, 8vw, 96px) 0;
}

/* Layout 1 columna */
.dstf-cert-body__layout {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}


/* ── Columna izquierda: texto ───────────────────────────── */

.dstf-cert-body__intro .dstf-tag {
  margin-bottom: 20px;
}

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


/* ── Grid 4 certificados en fila ────────────────────────── */

.dstf-cert-docs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card completa */
.dstf-cert-doc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none !important;
  transition: transform var(--dstf-ease);
}

.dstf-cert-doc:hover {
  transform: translateY(-3px);
}


/* Imagen + overlay ─────────────────────────────────────── */

.dstf-cert-doc__img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--dstf-border);
  background: var(--dstf-bg);
  aspect-ratio: 3 / 4;
}

.dstf-cert-doc__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dstf-ease);
}

.dstf-cert-doc:hover .dstf-cert-doc__img-wrap img {
  transform: scale(1.03);
}

.dstf-cert-doc__overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 47, 93, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity var(--dstf-ease);
}

.dstf-cert-doc:hover .dstf-cert-doc__overlay {
  opacity: 1;
}

.dstf-cert-doc__overlay span {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}


/* Label: nombre + subtítulo — pegado a la card, sin margin */
.dstf-cert-doc__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* Sin padding lateral: el ancho ya lo controla la grid */
}

.dstf-cert-doc__name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dstf-dark);
  line-height: 1.2;
  /* Evita que el texto se salga del contenedor */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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


/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 700px) {
  .dstf-cert-docs {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .dstf-cert-doc__name {
    font-size: 13px;
    white-space: normal;
  }
}



/* ============================================================
   18. RSE — GRID DE TARJETAS
   ============================================================ */

/* ── Sección principal ──────────────────────────────────── */

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


/* ── Grid 2 columnas ─────────────────────────────────────── */

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

/* Card 7: ocupa las 2 columnas pero mantiene ancho de una */
.dstf-rse-card--wide {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
  margin: 0 auto;
}


/* ── Card — imagen izquierda + texto derecha ─────────────── */

.dstf-rse-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid var(--dstf-border);
  border-radius: 18px;
  overflow: hidden;
  transition: box-shadow var(--dstf-ease), transform var(--dstf-ease);
}

.dstf-rse-card:hover {
  box-shadow: 0 12px 40px rgba(25, 47, 93, 0.1);
  transform: translateY(-3px);
}


/* ── Imagen ──────────────────────────────────────────────── */

.dstf-rse-card__img-wrap {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  align-self: center;
  margin: 20px 0 20px 20px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--dstf-bg);
  border: 1px solid var(--dstf-border);
}

.dstf-rse-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10px;
}


/* ── Cuerpo ──────────────────────────────────────────────── */

.dstf-rse-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
  min-width: 0;
}

.dstf-rse-card__body .dstf-tag {
  align-self: flex-start;
}

.dstf-rse-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-rse-card__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-text);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.dstf-rse-card__text strong {
  font-weight: 600;
  color: var(--dstf-dark);
}

.dstf-rse-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--dstf-blue);
  text-decoration: none !important;
  align-self: flex-start;
  margin-top: 4px;
  transition: gap var(--dstf-ease), color var(--dstf-ease);
}

.dstf-rse-card__link:hover {
  gap: 10px;
  color: var(--dstf-navy);
}

.dstf-rse-card__link svg {
  flex-shrink: 0;
  transition: transform var(--dstf-ease);
}

.dstf-rse-card__link:hover svg {
  transform: translateX(2px);
}


/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 700px) {
  .dstf-rse-grid {
    grid-template-columns: 1fr;
  }
  .dstf-rse-card--wide {
    grid-column: auto;
    max-width: 100%;
  }
  /* Imagen arriba en móvil */
  .dstf-rse-card {
    flex-direction: column;
  }
  .dstf-rse-card__img-wrap {
    align-self: stretch;
    width: calc(100% - 40px);
    height: 180px;
    margin: 20px 20px 0;
  }
}



/* ============================================================
   19. CLIENTES — Grid de logos
   ============================================================ */

/* ── Sección ─────────────────────────────────────────────── */

.dstf-clients-section {
  background: #fff;
  padding: clamp(64px, 8vw, 96px) 0;
}


/* ── Grid ────────────────────────────────────────────────── */

.dstf-clients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}


/* ── Celda ───────────────────────────────────────────────── */

.dstf-clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  border-right: 1px solid var(--dstf-border);
  border-bottom: 1px solid var(--dstf-border);
  transition: background var(--dstf-ease);
}

/* Eliminar borde derecho en última columna */
.dstf-clients__item:nth-child(5n) {
  border-right: none;
}

/* Eliminar borde inferior en última fila completa */
.dstf-clients__item:nth-last-child(-n+5):nth-child(5n+1),
.dstf-clients__item:nth-last-child(-n+5):nth-child(5n+1) ~ .dstf-clients__item {
  border-bottom: none;
}

.dstf-clients__item:hover {
  background: var(--dstf-bg);
}


/* ── Logo ────────────────────────────────────────────────── */

.dstf-clients__item img {
  max-width: 140px;
  max-height: 60px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  /* Escala de grises por defecto */
  filter: grayscale(100%) opacity(0.55);
  transition: filter var(--dstf-ease);
}

.dstf-clients__item:hover img {
  filter: grayscale(0%) opacity(1);
}


/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 960px) {
  .dstf-clients {
    grid-template-columns: repeat(4, 1fr);
  }
  .dstf-clients__item:nth-child(5n) {
    border-right: 1px solid var(--dstf-border);
  }
  .dstf-clients__item:nth-child(4n) {
    border-right: none;
  }
}

@media (max-width: 600px) {
  .dstf-clients {
    grid-template-columns: repeat(3, 1fr);
  }
  .dstf-clients__item:nth-child(4n) {
    border-right: 1px solid var(--dstf-border);
  }
  .dstf-clients__item:nth-child(3n) {
    border-right: none;
  }
  .dstf-clients__item {
    padding: 24px 16px;
  }
  .dstf-clients__item img {
    max-width: 100px;
    max-height: 48px;
  }
}


/* ============================================================
   20. HOJA DE REEMBOLSO — Tarjeta + Contact Form 7
   ============================================================ */


/* ── Sección exterior ────────────────────────────────────── */

.dstf-reembolso-section {
  background: var(--dstf-bg);
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}


/* ── Tarjeta contenedora ─────────────────────────────────── */

.dstf-form-wrap {
  background: #fff;
  border: 1px solid var(--dstf-border);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 4px 24px rgba(25, 47, 93, 0.07);
}

.dstf-form-wrap__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dstf-border);
}

.dstf-form-wrap__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  font-weight: 800 !important;
  color: var(--dstf-dark) !important;
  margin: 0 0 8px !important;
}

.dstf-form-wrap__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-muted);
  margin: 0;
  line-height: 1.6;
}

.dstf-form-wrap__desc strong { color: var(--dstf-blue); }


/* ════════════════════════════════════════════════════════════
   ESTRUCTURA DEL FORMULARIO
   ════════════════════════════════════════════════════════════ */

/* Reset columnas de BeTheme que interfieren */
.dstf-form-wrap .column {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Quitar floats del formulario */
.dstf-form-wrap .formulariohoja,
.dstf-form-wrap .gruposflex,
.dstf-form-wrap .grupoform1 {
  float: none !important;
  clear: both;
}


/* ── FILAS DE 4 COLUMNAS (datos estudio + hospital) ─────── */

/* Cada .distefar_seccion_form dentro de .grupoform1
   contiene 4 × .column.one-fourth → grid de 4 col */
.dstf-form-wrap .grupoform1 .distefar_seccion_form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 8px;
}

/* La primera celda (h5 de sección) ocupa todo el ancho */
.dstf-form-wrap .grupoform1 .distefar_seccion_form .column.one {
  grid-column: 1 / -1;
}

/* Quitar margin/padding de los p dentro de las celdas */
.dstf-form-wrap .grupoform1 .distefar_seccion_form p {
  margin: 0;
}


/* ── FILA DE CONFORMIDADES (3 × .column.one-third) ──────── */

.dstf-form-wrap .gruposflex > .column.one-third {
  display: inline-block;
  width: auto !important;
  margin-right: 24px !important;
  margin-bottom: 16px !important;
  vertical-align: middle;
}

/* El <p> envuelve [span→checkbox] + [label] como hermanos
   → flex para que queden en la misma línea */
.dstf-form-wrap .column.one-third p {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

/* display:contents aplana los span wrappers de CF7
   para que el checkbox sea hijo directo del flex */
.dstf-form-wrap .column.one-third .wpcf7-form-control-wrap,
.dstf-form-wrap .column.one-third .wpcf7-acceptance,
.dstf-form-wrap .column.one-third .wpcf7-list-item {
  display: contents !important;
}

.dstf-form-wrap .column.one-third input[type="checkbox"] {
  flex-shrink: 0 !important;
  margin: 0 !important;
  width: 17px !important;
  height: 17px !important;
  accent-color: var(--dstf-blue) !important;
  cursor: pointer !important;
}

.dstf-form-wrap .column.one-third p > label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--dstf-text) !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
  line-height: 1 !important;
}

/* ── SECCIÓN GASTOS — .grupoform (2 cols interiores) ─────── */

.dstf-form-wrap .grupoform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.dstf-form-wrap .grupoform > .distefar_seccion_form {
  min-width: 0;
}


/* ── GASTOS: pills ───────────────────────────────────────── */

.dstf-form-wrap .distefar_seccion_form table {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100%;
  border: none !important;
}

.dstf-form-wrap .distefar_seccion_form table tbody {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.dstf-form-wrap .distefar_seccion_form table tr {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: var(--dstf-bg);
  border: 1px solid var(--dstf-border);
  border-radius: 10px;
  padding: 10px 16px;
  gap: 16px;
}

.dstf-form-wrap .distefar_seccion_form table td {
  display: block !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}

/* Primera TD: nombre del gasto */
.dstf-form-wrap .distefar_seccion_form table td:first-child {
  font-weight: 600;
  color: var(--dstf-dark);
}

.dstf-form-wrap .distefar_seccion_form table td p {
  margin: 0;
  line-height: 1.3;
}

/* Segunda TD: radio Sí/No en línea */
.dstf-form-wrap .distefar_seccion_form table td:last-child {
  display: flex !important;
  align-items: center;
}

.dstf-form-wrap .distefar_seccion_form table .wpcf7-radio {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
}

.dstf-form-wrap .distefar_seccion_form table .wpcf7-list-item {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
}

.dstf-form-wrap .distefar_seccion_form table .wpcf7-list-item input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--dstf-blue) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.dstf-form-wrap .distefar_seccion_form table .wpcf7-list-item-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-text);
  cursor: pointer;
  white-space: nowrap;
}

/* Input de Km dentro de la tabla */
.dstf-form-wrap .distefar_seccion_form table input[type="number"] {
  max-width: 100px;
  padding: 6px 10px !important;
  background: #fff !important;
  border: 1px solid var(--dstf-border) !important;
  border-radius: 8px !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-dark);
}

/* Cabecera h5 de sección */
.dstf-form-wrap .distefar_seccion_form h5 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: var(--dstf-blue) !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  border: none !important;
  width: fit-content !important;
  margin: 20px 0 16px !important;
  display: block !important;
  text-align: left !important;
}


/* ── TICKETS E IMPORTE (2 col dentro de distefar_seccion_form) ── */

/* La segunda .distefar_seccion_form dentro de .grupoform
   contiene .column.one-second → grid de 2 col */
.dstf-form-wrap .grupoform .distefar_seccion_form:last-child {
  display: block; /* reset el flex heredado */
}

.dstf-form-wrap .grupoform .distefar_seccion_form .column.one-second {
  display: inline-block !important;
  width: calc(50% - 10px) !important;
  vertical-align: top !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.dstf-form-wrap .grupoform .distefar_seccion_form .column.one-second:first-of-type {
  margin-right: 16px !important;
}

.dstf-form-wrap .grupoform .distefar_seccion_form .column.one-second p {
  margin: 0 0 16px !important;
}

/* Alinear inputs de tickets/importe con el mismo estilo que los de arriba */
.dstf-form-wrap .grupoform .distefar_seccion_form .column.one-second input[type="number"] {
  width: 100% !important;
  padding: 10px 14px !important;
  background: var(--dstf-bg) !important;
  border: 1px solid var(--dstf-border) !important;
  border-radius: 10px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: var(--dstf-dark) !important;
  box-sizing: border-box !important;
  -moz-appearance: textfield !important;
}

.dstf-form-wrap .grupoform .distefar_seccion_form .column.one-second input[type="number"]:focus {
  border-color: var(--dstf-blue-mid) !important;
  box-shadow: 0 0 0 3px rgba(43, 86, 163, 0.1) !important;
  background: #fff !important;
}

.dstf-form-wrap .grupoform .distefar_seccion_form .column.one-second input[type="number"]::-webkit-inner-spin-button,
.dstf-form-wrap .grupoform .distefar_seccion_form .column.one-second input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
}


/* ── INPUTS, SELECTS, TEXTAREAS ──────────────────────────── */

.dstf-form-wrap .wpcf7 input[type="text"],
.dstf-form-wrap .wpcf7 input[type="email"],
.dstf-form-wrap .wpcf7 input[type="tel"],
.dstf-form-wrap .wpcf7 input[type="date"],
.dstf-form-wrap .wpcf7 input[type="number"],
.dstf-form-wrap .wpcf7 select,
.dstf-form-wrap .wpcf7 textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-dark);
  background: var(--dstf-bg);
  border: 1px solid var(--dstf-border);
  border-radius: 10px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color var(--dstf-ease), box-shadow var(--dstf-ease);
  box-shadow: none;
  outline: none;
  box-sizing: border-box;
}

.dstf-form-wrap .wpcf7 input[type="text"]:focus,
.dstf-form-wrap .wpcf7 input[type="email"]:focus,
.dstf-form-wrap .wpcf7 input[type="date"]:focus,
.dstf-form-wrap .wpcf7 input[type="number"]:focus,
.dstf-form-wrap .wpcf7 textarea:focus {
  border-color: var(--dstf-blue-mid);
  box-shadow: 0 0 0 3px rgba(43, 86, 163, 0.1);
  background: #fff;
}

.dstf-form-wrap .wpcf7 textarea {
  min-height: 80px;
  max-height: 160px;
  resize: vertical;
}

.dstf-form-wrap .wpcf7 input[type="number"] {
  -moz-appearance: textfield;
}
.dstf-form-wrap .wpcf7 input[type="number"]::-webkit-inner-spin-button,
.dstf-form-wrap .wpcf7 input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Labels */
.dstf-form-wrap .wpcf7 label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--dstf-dark);
  display: block;
  margin-bottom: 5px;
}


/* ── RGPD: checkboxes de pie ─────────────────────────────── */

/* Neutralizar los float: left inline */
.dstf-form-wrap [style*="float: left"] {
  float: none !important;
  display: inline-flex !important;
  align-items: flex-start !important;
  vertical-align: top !important;
  height: auto !important;
}

/* Cada bloque acceptance inline */
.dstf-form-wrap .wpcf7-acceptance {
  display: inline-flex !important;
  align-items: center !important;
}

.dstf-form-wrap .wpcf7-acceptance .wpcf7-list-item {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.dstf-form-wrap .wpcf7-acceptance input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  accent-color: var(--dstf-blue) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* El label de RGPD que va junto al checkbox */
.dstf-form-wrap .wpcf7-acceptance .wpcf7-list-item + label,
.dstf-form-wrap > div > p > label[for="acceptance-66"],
.dstf-form-wrap > div > p > label[for="acceptance-67"] {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--dstf-text);
  display: inline !important;
  margin: 0 !important;
  line-height: 1.5;
  vertical-align: middle;
}

/* Política desplegable */
.view_politica {
  display: none;
  background: var(--dstf-bg);
  border: 1px solid var(--dstf-border);
  border-radius: 8px;
  padding: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  line-height: 1.7;
  color: var(--dstf-text);
  margin: 8px 0 12px;
}

.politica {
  cursor: pointer !important;
  color: var(--dstf-blue) !important;
  text-decoration: underline !important;
}


/* ── UPLOAD DE ARCHIVOS (Drag & Drop CF7) ────────────────── */

.dstf-form-wrap .codedropz-upload-handler {
  background: var(--dstf-bg) !important;
  border: 2px dashed var(--dstf-border) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  text-align: center;
  transition: border-color var(--dstf-ease);
}

.dstf-form-wrap .codedropz-upload-handler:hover {
  border-color: var(--dstf-blue-mid) !important;
  background: #fff !important;
}

.dstf-form-wrap .codedropz-upload-handler h3 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--dstf-muted) !important;
  margin: 0 !important;
}

.dstf-form-wrap .dnd-upload-btn {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--dstf-blue) !important;
  background: rgba(43, 86, 163, 0.07) !important;
  border: 1px solid rgba(43, 86, 163, 0.2) !important;
  border-radius: 8px !important;
  padding: 7px 16px !important;
  cursor: pointer !important;
}


/* ── NOTA CAMPOS OBLIGATORIOS ────────────────────────────── */

.dstf-form-wrap .texto_requerido {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-style: italic;
  color: var(--dstf-muted);
  text-align: center;
  margin-top: 8px;
}


/* ── BOTÓN SUBMIT ────────────────────────────────────────── */

.dstf-form-wrap .botonenvio {
  text-align: center !important;
  margin-top: 24px;
}

.dstf-form-wrap .wpcf7 input[type="submit"],
.dstf-form-wrap .wpcf7 .wpcf7-submit {
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: #fff !important;
  background: var(--dstf-blue) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 15px 64px !important;
  cursor: pointer !important;
  transition: background var(--dstf-ease), transform var(--dstf-ease) !important;
  display: inline-block !important;
}

.dstf-form-wrap .wpcf7 input[type="submit"]:hover {
  background: var(--dstf-navy) !important;
  transform: translateY(-2px) !important;
}


/* ── VALIDACIÓN Y MENSAJES CF7 ───────────────────────────── */

/* Ocultar errores en tiempo real — solo mostrar tras intento de envío */
.dstf-form-wrap .wpcf7-not-valid-tip {
  display: none !important;
}

/* Mostrar cuando el formulario ha fallado la validación al enviar */
.dstf-form-wrap .wpcf7-form.invalid .wpcf7-not-valid-tip,
.dstf-form-wrap .wpcf7-form.failed .wpcf7-not-valid-tip {
  display: block !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #dc3545;
  margin-top: 4px;
}

/* Borde rojo solo tras intento de envío */
.dstf-form-wrap .wpcf7-form.invalid input.wpcf7-not-valid,
.dstf-form-wrap .wpcf7-form.invalid textarea.wpcf7-not-valid,
.dstf-form-wrap .wpcf7-form.failed input.wpcf7-not-valid,
.dstf-form-wrap .wpcf7-form.failed textarea.wpcf7-not-valid {
  border-color: #dc3545 !important;
}

.dstf-form-wrap .wpcf7 .wpcf7-response-output {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 20px;
  border-width: 1px !important;
}

.dstf-form-wrap .wpcf7 .wpcf7-mail-sent-ok {
  color: #0a6b2d;
  background: rgba(10, 107, 45, 0.06);
  border-color: rgba(10, 107, 45, 0.2) !important;
}

.dstf-form-wrap .wpcf7 .wpcf7-mail-sent-ng,
.dstf-form-wrap .wpcf7 .wpcf7-spam-blocked {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
  border-color: rgba(220, 53, 69, 0.2) !important;
}

.dstf-form-wrap .wpcf7 .wpcf7-validation-errors {
  color: #856404;
  background: rgba(133, 100, 4, 0.05);
  border-color: rgba(133, 100, 4, 0.2) !important;
}


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

@media (max-width: 960px) {
  .dstf-form-wrap .grupoform1 .distefar_seccion_form {
    grid-template-columns: repeat(2, 1fr);
  }
  .dstf-form-wrap .grupoform {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .dstf-form-wrap {
    padding: 24px 16px;
  }
  .dstf-form-wrap .grupoform1 .distefar_seccion_form {
    grid-template-columns: 1fr;
  }
  .dstf-form-wrap .gruposflex > .column.one-third {
    display: flex;
    width: 100% !important;
    margin-right: 0 !important;
  }
  .dstf-form-wrap .distefar_seccion_form .column.one-second {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
  }
  .dstf-form-wrap .wpcf7 input[type="submit"] {
    width: 100% !important;
    padding: 15px 24px !important;
  }
}


/* ============================================================
   19. CONTACTO
   ============================================================ */

/* ── Sección principal ──────────────────────────────────── */

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

/* ── Tarjetas de datos ──────────────────────────────────── */

.dstf-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.dstf-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--dstf-border);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow var(--dstf-ease), transform var(--dstf-ease);
}

.dstf-contact-card:hover {
  box-shadow: 0 8px 32px rgba(25, 47, 93, 0.09);
  transform: translateY(-3px);
}

.dstf-contact-card__icon {
  width: 46px;
  height: 46px;
  background: rgba(43, 86, 163, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--dstf-blue);
  transition: background var(--dstf-ease);
}

.dstf-contact-card:hover .dstf-contact-card__icon {
  background: rgba(43, 86, 163, 0.14);
}

.dstf-contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dstf-contact-card__label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dstf-muted);
}

.dstf-contact-card__value {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--dstf-dark);
  text-decoration: none !important;
  transition: color var(--dstf-ease);
}

.dstf-contact-card__value:hover {
  color: var(--dstf-blue);
}

.dstf-contact-card__value--muted {
  font-size: 13px;
  font-weight: 400;
  color: var(--dstf-muted);
}

.dstf-contact-card__note {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--dstf-muted);
  line-height: 1.4;
}

/* ── Layout principal ───────────────────────────────────── */

.dstf-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

/* ── Columna formulario ─────────────────────────────────── */

.dstf-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--dstf-border);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
}

.dstf-contact-form-wrap .dstf-tag {
  margin-bottom: 16px;
}

.dstf-contact-form-wrap__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  font-weight: 800 !important;
  color: var(--dstf-dark) !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

.dstf-contact-form-wrap__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ── CF7: reset del wpcf7 wrapper ───────────────────────── */

/* Quitar cualquier borde/fondo que pueda venir del plugin */
.dstf-contact-form-wrap .wpcf7 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.dstf-contact-form-wrap .wpcf7-form {
  background: transparent !important;
}

/* ── Columnas del formulario de contacto ────────────────── */

/* Fila con 2 campos: nombre + email en grid lado a lado */
.dstf-contact-form-wrap .column.one-second {
  display: inline-block;
  width: calc(50% - 10px);
  vertical-align: top;
}

.dstf-contact-form-wrap .column.one-second:first-of-type {
  margin-right: 14px;
}

.dstf-contact-form-wrap .column.one {
  display: block;
  width: 100%;
}

/* Gap entre todos los bloques de campo */
.dstf-contact-form-wrap .column {
  margin-bottom: 14px;
}

.dstf-contact-form-wrap .wpcf7 p {
  margin: 0;
}

/* ── Inputs y textarea ──────────────────────────────────── */

.dstf-contact-form-wrap .wpcf7 input[type="text"],
.dstf-contact-form-wrap .wpcf7 input[type="email"],
.dstf-contact-form-wrap .wpcf7 textarea {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: var(--dstf-dark) !important;
  background: var(--dstf-bg) !important;
  border: 1px solid var(--dstf-border) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color var(--dstf-ease), box-shadow var(--dstf-ease) !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.dstf-contact-form-wrap .wpcf7 input[type="text"]:focus,
.dstf-contact-form-wrap .wpcf7 input[type="email"]:focus,
.dstf-contact-form-wrap .wpcf7 textarea:focus {
  border-color: var(--dstf-blue-mid) !important;
  box-shadow: 0 0 0 3px rgba(43, 86, 163, 0.1) !important;
  background: #fff !important;
}

.dstf-contact-form-wrap .wpcf7 textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

/* ── Submit ─────────────────────────────────────────────── */

.dstf-contact-form-wrap .botonenvio {
  text-align: center;
  margin-top: 8px;
}

.dstf-contact-form-wrap .wpcf7 input[type="submit"] {
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: #fff !important;
  background: var(--dstf-blue) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 15px 56px !important;
  cursor: pointer !important;
  transition: background var(--dstf-ease), transform var(--dstf-ease) !important;
}

.dstf-contact-form-wrap .wpcf7 input[type="submit"]:hover {
  background: var(--dstf-navy) !important;
  transform: translateY(-2px) !important;
}

/* ── Checkboxes RGPD ────────────────────────────────────── */

.dstf-contact-form-wrap [style*="float: left"] {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  height: auto !important;
}

.dstf-contact-form-wrap .wpcf7-acceptance .wpcf7-list-item {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.dstf-contact-form-wrap .wpcf7-acceptance input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  accent-color: var(--dstf-blue) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.dstf-contact-form-wrap label,
.dstf-contact-form-wrap .column.one > div > div > p > label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--dstf-text) !important;
  line-height: 1.5 !important;
  cursor: pointer;
}

.dstf-contact-form-wrap .politica {
  color: var(--dstf-blue) !important;
  text-decoration: underline !important;
  cursor: pointer !important;
}

/* ── Política desplegable ───────────────────────────────── */

.dstf-contact-form-wrap .view_politica {
  background: var(--dstf-bg);
  border: 1px solid var(--dstf-border);
  border-radius: 8px;
  padding: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  line-height: 1.7;
  color: var(--dstf-text);
  margin: 8px 0 12px;
}

/* ── Nota campos obligatorios ───────────────────────────── */

.dstf-contact-form-wrap .texto_requerido p {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-style: italic;
  color: var(--dstf-muted);
  text-align: center;
  margin-top: 12px;
}

/* ── Mensajes de respuesta ──────────────────────────────── */

.dstf-contact-form-wrap .wpcf7-response-output {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 16px;
  border-width: 1px !important;
}

/* ── Validación ─────────────────────────────────────────── */

.dstf-contact-form-wrap .wpcf7-not-valid-tip {
  display: none !important;
}

.dstf-contact-form-wrap .wpcf7-form.invalid .wpcf7-not-valid-tip,
.dstf-contact-form-wrap .wpcf7-form.failed .wpcf7-not-valid-tip {
  display: block !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #dc3545;
  margin-top: 4px;
}

.dstf-contact-form-wrap .wpcf7-form.invalid input.wpcf7-not-valid,
.dstf-contact-form-wrap .wpcf7-form.invalid textarea.wpcf7-not-valid,
.dstf-contact-form-wrap .wpcf7-form.failed input.wpcf7-not-valid,
.dstf-contact-form-wrap .wpcf7-form.failed textarea.wpcf7-not-valid {
  border-color: #dc3545 !important;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .dstf-contact-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dstf-contact-layout {
    grid-template-columns: 1fr;
  }
  /* En móvil los dos campos van apilados */
  .dstf-contact-form-wrap .column.one-second {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 600px) {
  .dstf-contact-section {
    padding: clamp(48px, 10vw, 64px) 0;
  }
  .dstf-contact-form-wrap {
    padding: 24px 16px;
  }
  .dstf-contact-form-wrap .wpcf7 input[type="submit"] {
    width: 100% !important;
    padding: 15px 24px !important;
  }
}

/* ── Columna mapas ──────────────────────────────────────── */

.dstf-contact-map-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dstf-contact-sede {
  background: #fff;
  border: 1px solid var(--dstf-border);
  border-radius: 16px;
  padding: 20px 24px 0;
  overflow: hidden;
}

.dstf-contact-sede__head {
  margin-bottom: 10px;
}

.dstf-contact-sede__name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dstf-dark);
  margin: 0 0 4px;
}

.dstf-contact-sede__addr {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-text);
  line-height: 1.6;
  margin: 0 0 16px;
}

.dstf-contact-map {
  border-top: 1px solid var(--dstf-border);
  line-height: 0;
  margin: 0 -24px;
}

.dstf-contact-map iframe {
  display: block;
  width: 100%;
  border-radius: 0 0 14px 14px;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .dstf-contact-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dstf-contact-layout {
    grid-template-columns: 1fr;
  }
  /* En móvil los dos campos van apilados */
  .dstf-contact-form-wrap .column.one-second {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 600px) {
  .dstf-contact-section {
    padding: clamp(48px, 10vw, 64px) 0;
  }
  .dstf-contact-form-wrap {
    padding: 24px 16px;
  }
  .dstf-contact-form-wrap .wpcf7 input[type="submit"] {
    width: 100% !important;
    padding: 15px 24px !important;
  }
}

/* ============================================================
   21. ENCUESTA DE SATISFACCIÓN — Tarjeta + Contact Form 7 (id 317)
   Estructura: .dstf-page-hero (sección 15) + .dstf-encuesta-section
   El formulario CF7 usa: .distefar_seccion_form, table.encuesta,
   ul.valoracion, .empresa, .column.one-second, .botonenvio
   ============================================================ */

/* ── Sección exterior ────────────────────────────────────── */
.dstf-encuesta-section {
  background: var(--dstf-bg);
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}

/* ── Tarjeta contenedora ─────────────────────────────────── */
.dstf-encuesta-card {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--dstf-border);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 4px 24px rgba(25, 47, 93, 0.07);
}

.dstf-encuesta-card__header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dstf-border);
}
.dstf-encuesta-card__title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  font-weight: 800 !important;
  color: var(--dstf-dark) !important;
  margin: 0 0 8px !important;
}
.dstf-encuesta-card__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-muted);
  margin: 0;
  line-height: 1.6;
}
.dstf-encuesta-card__desc strong { color: var(--dstf-blue); }

/* ── Reset de wrappers heredados ─────────────────────────── */
.dstf-encuesta-card .distefar_seccion_form {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dstf-encuesta-card .column {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dstf-encuesta-card .wpcf7-form-control-wrap { display: block; }

/* ── Separadores ─────────────────────────────────────────── */
.dstf-encuesta-card hr {
  border: none;
  height: 1px;
  background: var(--dstf-border);
  margin: 28px 0;
}

/* ── Bloque de criterios de valoración (intro) ───────────── */
.dstf-encuesta-card .distefar_seccion_form > .column.one > p:first-child {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dstf-dark);
  text-align: left !important;
  margin: 0 0 14px;
}
.dstf-encuesta-card ul.valoracion {
  list-style: none;
  margin: 0 0 8px;
  padding: 18px 20px;
  background: var(--dstf-bg);
  border: 1px solid var(--dstf-border);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
}
.dstf-encuesta-card ul.valoracion li {
  position: relative;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dstf-text);
  padding-left: 18px;
}
.dstf-encuesta-card ul.valoracion li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--dstf-cyan);
}
.dstf-encuesta-card ul.valoracion li b { color: var(--dstf-blue); font-weight: 700; }

/* ── Campo Empresa / Cliente ─────────────────────────────── */
.dstf-encuesta-card .empresa {
  display: block !important;
  text-align: left;
  margin-top: 22px !important;
}
.dstf-encuesta-card .empresa label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--dstf-dark);
  margin-bottom: 6px;
}

/* ── Cabeceras de sección (h5) → píldora azul ────────────── */
.dstf-encuesta-card h5 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: var(--dstf-blue) !important;
  padding: 8px 22px !important;
  border-radius: 8px !important;
  border: none !important;
  width: fit-content !important;
  margin: 8px 0 18px !important;
  display: block !important;
  text-align: left !important;
  line-height: 1.4 !important;
}

/* ── Tabla de preguntas (table.encuesta) ─────────────────── */
.dstf-encuesta-card table.encuesta,
.dstf-encuesta-card table.encuesta tbody {
  display: block;
  width: 100%;
  border: none !important;
  border-collapse: collapse;
}
.dstf-encuesta-card table.encuesta tr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--dstf-border);
}
.dstf-encuesta-card table.encuesta tr:last-child { border-bottom: none; }
.dstf-encuesta-card table.encuesta td {
  display: block;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--dstf-dark);
  font-weight: 500;
}

/* Pregunta (primera celda) ocupa el espacio disponible */
.dstf-encuesta-card table.encuesta td:first-child:not([colspan]) {
  flex: 1 1 320px;
  min-width: 0;
}
/* Grupo de respuesta (radios) a la derecha */
.dstf-encuesta-card table.encuesta td:last-child:not([colspan]) {
  flex: 0 0 auto;
}
/* Filas a todo el ancho (comentarios, h5 de sub-sección) */
.dstf-encuesta-card table.encuesta td[colspan] {
  flex: 1 1 100%;
  width: 100%;
}
/* Fila que solo contiene un h5: sin línea ni padding extra */
.dstf-encuesta-card table.encuesta tr:has(h5) {
  border-bottom: none;
  padding: 18px 0 0;
}
.dstf-encuesta-card table.encuesta tr:has(h5) h5 { margin: 0 0 6px !important; }

/* Etiqueta "Comentarios:" sobre el textarea */
.dstf-encuesta-card table.encuesta td[colspan] {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--dstf-muted);
}

/* ── Grupo de radios 1-4 / Sí-No (segmentado) ────────────── */
.dstf-encuesta-card .wpcf7-radio {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
}
/* Cada opción (.wpcf7-list-item) es la caja segmentada.
   El marcado CF7 es: .wpcf7-list-item > input[radio] + span.wpcf7-list-item-label
   (sin <label> envolvente). */
.dstf-encuesta-card .wpcf7-radio .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
  min-width: 46px;
  padding: 8px 12px;
  border: 1px solid var(--dstf-border);
  border-radius: 9px;
  background: var(--dstf-bg);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dstf-text);
  transition: background var(--dstf-ease), border-color var(--dstf-ease), color var(--dstf-ease);
}
.dstf-encuesta-card .wpcf7-radio .wpcf7-list-item:hover {
  border-color: var(--dstf-blue-mid);
  color: var(--dstf-blue);
}
.dstf-encuesta-card .wpcf7-radio input[type="radio"] {
  width: 15px; height: 15px;
  accent-color: var(--dstf-blue);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}
.dstf-encuesta-card .wpcf7-radio .wpcf7-list-item-label {
  line-height: 1;
  cursor: pointer;
}
/* Estado seleccionado (navegadores con :has) */
.dstf-encuesta-card .wpcf7-radio .wpcf7-list-item:has(input:checked) {
  background: var(--dstf-blue);
  border-color: var(--dstf-blue);
  color: #fff;
}
.dstf-encuesta-card .wpcf7-radio .wpcf7-list-item:has(input:checked) input[type="radio"] {
  accent-color: #fff;
}

/* ── Inputs de texto y textareas ─────────────────────────── */
.dstf-encuesta-card input[type="text"],
.dstf-encuesta-card textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-dark);
  background: var(--dstf-bg);
  border: 1px solid var(--dstf-border);
  border-radius: 10px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color var(--dstf-ease), box-shadow var(--dstf-ease);
}
.dstf-encuesta-card input[type="text"]:focus,
.dstf-encuesta-card textarea:focus {
  border-color: var(--dstf-blue-mid);
  box-shadow: 0 0 0 3px rgba(43, 86, 163, 0.1);
  background: #fff;
}
.dstf-encuesta-card table.encuesta textarea,
.dstf-encuesta-card .text_coment {
  min-height: 46px;
  max-height: 130px;
  margin-top: 6px;
  resize: vertical;
}

/* ── Campos finales: "rellenada por" + "cargo" ───────────── */
.dstf-encuesta-card .distefar_seccion_form .column.one-second {
  display: inline-block !important;
  width: calc(50% - 10px) !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
}
.dstf-encuesta-card .distefar_seccion_form .column.one-second:first-of-type {
  margin-right: 16px !important;
}
.dstf-encuesta-card .column.one-second label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--dstf-dark);
  margin-bottom: 6px;
}

/* ── Botón de envío ──────────────────────────────────────── */
.dstf-encuesta-card .botonenvio {
  text-align: center !important;
  margin-top: 28px !important;
}
.dstf-encuesta-card input[type="submit"],
.dstf-encuesta-card .wpcf7-submit {
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: #fff !important;
  background: var(--dstf-blue) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 15px 72px !important;
  cursor: pointer !important;
  display: inline-block !important;
  transition: background var(--dstf-ease), transform var(--dstf-ease) !important;
}
.dstf-encuesta-card input[type="submit"]:hover,
.dstf-encuesta-card .wpcf7-submit:hover {
  background: var(--dstf-navy) !important;
  transform: translateY(-2px) !important;
}

/* ── Mensajes y validación CF7 ───────────────────────────── */
.dstf-encuesta-card .wpcf7-not-valid-tip {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #dc3545;
  margin-top: 4px;
}
.dstf-encuesta-card input.wpcf7-not-valid,
.dstf-encuesta-card textarea.wpcf7-not-valid {
  border-color: #dc3545 !important;
}
.dstf-encuesta-card .wpcf7-response-output {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0 0 !important;
  border-width: 1px !important;
}
.dstf-encuesta-card .wpcf7-mail-sent-ok {
  color: #0a6b2d;
  background: rgba(10, 107, 45, 0.06);
  border-color: rgba(10, 107, 45, 0.2) !important;
}
.dstf-encuesta-card .wpcf7-mail-sent-ng,
.dstf-encuesta-card .wpcf7-spam-blocked {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
  border-color: rgba(220, 53, 69, 0.2) !important;
}
.dstf-encuesta-card .wpcf7-validation-errors {
  color: #856404;
  background: rgba(133, 100, 4, 0.05);
  border-color: rgba(133, 100, 4, 0.2) !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .dstf-encuesta-card ul.valoracion { grid-template-columns: 1fr; }
  .dstf-encuesta-card table.encuesta tr {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .dstf-encuesta-card table.encuesta td:last-child:not([colspan]) {
    width: 100%;
  }
  .dstf-encuesta-card .wpcf7-radio { display: flex; width: 100%; justify-content: space-between; }
  .dstf-encuesta-card .wpcf7-radio .wpcf7-list-item { flex: 1; min-width: 0; }
}
@media (max-width: 600px) {
  .dstf-encuesta-card { padding: 24px 16px; }
  .dstf-encuesta-card .distefar_seccion_form .column.one-second {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 16px !important;
  }
  .dstf-encuesta-card input[type="submit"] {
    width: 100% !important;
    padding: 15px 24px !important;
  }
}


/* ============================================================
   22. PÁGINAS LEGALES — Subheader + tarjeta de contenido
   (Aviso Legal, Política de cookies, Más info cookies,
    Información detallada sobre Protección de Datos)
   ============================================================ */

.dstf-legal-section {
  background: var(--dstf-bg);
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}

.dstf-legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--dstf-border);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 4px 24px rgba(25, 47, 93, 0.07);
  font-family: 'DM Sans', sans-serif;
  color: var(--dstf-text);
  font-size: 15px;
  line-height: 1.75;
}

/* Títulos */
.dstf-legal-card h1,
.dstf-legal-card h2,
.dstf-legal-card h3,
.dstf-legal-card h4 {
  font-family: 'Outfit', sans-serif !important;
  color: var(--dstf-dark) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}
.dstf-legal-card h1 { font-size: clamp(24px, 3vw, 32px) !important; margin: 0 0 20px !important; }
.dstf-legal-card h2 {
  font-size: clamp(18px, 2.2vw, 22px) !important;
  margin: 36px 0 14px !important;
  padding-top: 22px;
  border-top: 1px solid var(--dstf-border);
}
.dstf-legal-card h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.dstf-legal-card h3 { font-size: 17px !important; margin: 26px 0 10px !important; }
.dstf-legal-card h4 { font-size: 15px !important; margin: 20px 0 8px !important; }

/* Párrafos y texto */
.dstf-legal-card p { margin: 0 0 16px; }
.dstf-legal-card strong, .dstf-legal-card b { color: var(--dstf-dark); font-weight: 700; }
.dstf-legal-card u { text-decoration-color: var(--dstf-cyan); text-underline-offset: 2px; }
.dstf-legal-card em, .dstf-legal-card i { color: var(--dstf-text); }
.dstf-legal-card sup { font-size: 11px; }

/* Enlaces */
.dstf-legal-card a {
  color: var(--dstf-blue) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  word-break: break-word;
  transition: color var(--dstf-ease);
}
.dstf-legal-card a:hover { color: var(--dstf-navy) !important; }

/* Listas */
.dstf-legal-card ul,
.dstf-legal-card ol { margin: 0 0 18px; padding-left: 22px; }
.dstf-legal-card li { margin-bottom: 8px; padding-left: 4px; }
.dstf-legal-card ul li::marker { color: var(--dstf-cyan); }
.dstf-legal-card ol li::marker { color: var(--dstf-blue); font-weight: 700; }
.dstf-legal-card ul ul,
.dstf-legal-card ol ol,
.dstf-legal-card ul ol,
.dstf-legal-card ol ul { margin: 8px 0; }

/* Separadores */
.dstf-legal-card hr {
  border: none; height: 1px; background: var(--dstf-border); margin: 28px 0;
}

/* Tablas (información básica de protección de datos) */
.dstf-legal-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 14px;
  border: 1px solid var(--dstf-border);
  border-radius: 10px;
  overflow: hidden;
}
.dstf-legal-card table td,
.dstf-legal-card table th {
  border: 1px solid var(--dstf-border);
  padding: 10px 14px;
  vertical-align: top;
  text-align: left;
}
.dstf-legal-card table tr:nth-child(even) td { background: var(--dstf-bg); }
.dstf-legal-card table td:first-child { font-weight: 600; color: var(--dstf-dark); width: 32%; }

/* Bloque destacado opcional */
.dstf-legal-card .dstf-legal-note {
  background: var(--dstf-bg);
  border-left: 3px solid var(--dstf-cyan);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 0 0 18px;
  font-size: 14px;
}

@media (max-width: 600px) {
  .dstf-legal-card { padding: 24px 18px; }
  .dstf-legal-card table td:first-child { width: auto; }
}


/* ============================================================
   23. ENCUESTA DE SATISFACCIÓN — GRAVITY FORMS (form id 1)
   Reemplaza al formulario CF7. Va dentro de .dstf-encuesta-card
   (hero + tarjeta de la sección 21). Estilo coherente dstf.
   ============================================================ */

/* Reset del wrapper GF dentro de la tarjeta */
.dstf-encuesta-card .gform_wrapper.gravity-theme,
.dstf-encuesta-card .gform_wrapper {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}
.dstf-encuesta-card .gform_heading { margin-bottom: 8px; }
.dstf-encuesta-card .gform_description { display: none; }
.dstf-encuesta-card .gform_required_legend {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-style: italic;
  color: var(--dstf-muted);
  margin: 0 0 12px;
  padding: 0;
}

/* Rejilla de campos: separación uniforme */
.dstf-encuesta-card .gform_fields {
  grid-row-gap: 18px !important;
  grid-column-gap: 16px !important;
}

/* ── Bloque HTML de introducción (criterios 1-4) ───────────── */
.dstf-encuesta-card .gfield--type-html {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dstf-text);
  background: var(--dstf-bg);
  border: 1px solid var(--dstf-border);
  border-radius: 12px;
  padding: 16px 20px;
  line-height: 1.6;
}
.dstf-encuesta-card .gfield--type-html ul {
  margin: 10px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px;
}
.dstf-encuesta-card .gfield--type-html li {
  position: relative; padding-left: 18px; font-size: 13px; line-height: 1.5;
}
.dstf-encuesta-card .gfield--type-html li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--dstf-cyan);
}
.dstf-encuesta-card .gfield--type-html li b,
.dstf-encuesta-card .gfield--type-html strong { color: var(--dstf-blue); }

/* ── Cabeceras de sección (gsection) → píldora azul ────────── */
.dstf-encuesta-card .gsection {
  border: none !important;
  margin: 10px 0 4px !important;
  padding: 0 !important;
}
.dstf-encuesta-card .gsection_title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: var(--dstf-blue) !important;
  padding: 8px 22px !important;
  border-radius: 8px !important;
  width: fit-content !important;
  margin: 0 !important;
  display: block !important;
  line-height: 1.4 !important;
}

/* ── Etiquetas de campo ────────────────────────────────────── */
.dstf-encuesta-card .gfield_label,
.dstf-encuesta-card legend.gfield_label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--dstf-dark) !important;
  margin-bottom: 6px !important;
  line-height: 1.5 !important;
}
.dstf-encuesta-card .gfield_required_asterisk { color: var(--dstf-cyan); }

/* ── Inputs de texto y textareas ───────────────────────────── */
.dstf-encuesta-card .gform_wrapper input[type="text"],
.dstf-encuesta-card .gform_wrapper input[type="email"],
.dstf-encuesta-card .gform_wrapper input[type="number"],
.dstf-encuesta-card .gform_wrapper textarea {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: var(--dstf-dark) !important;
  background: var(--dstf-bg) !important;
  border: 1px solid var(--dstf-border) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color var(--dstf-ease), box-shadow var(--dstf-ease) !important;
}
.dstf-encuesta-card .gform_wrapper input[type="text"]:focus,
.dstf-encuesta-card .gform_wrapper textarea:focus {
  border-color: var(--dstf-blue-mid) !important;
  box-shadow: 0 0 0 3px rgba(43, 86, 163, 0.1) !important;
  background: #fff !important;
  outline: none !important;
}
.dstf-encuesta-card .gfield--type-survey textarea,
.dstf-encuesta-card .gform_wrapper textarea {
  min-height: 46px !important;
  height: 70px !important;
  max-height: 140px !important;
  resize: vertical !important;
}

/* ── Preguntas con radio 1-4 / Sí-No (segmentado) ──────────── */
.dstf-encuesta-card .gfield--type-radio {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  border-bottom: 1px solid var(--dstf-border);
  padding-bottom: 16px !important;
}
.dstf-encuesta-card .gfield--type-radio > legend.gfield_label {
  flex: 1 1 300px;
  margin: 0 !important;
}
.dstf-encuesta-card .gfield--type-radio .ginput_container_radio { flex: 0 0 auto; margin-top: 0 !important; }
.dstf-encuesta-card .gfield--type-radio .gfield_radio {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
}
.dstf-encuesta-card .gfield--type-radio .gchoice {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
  min-width: 46px;
  padding: 8px 12px;
  border: 1px solid var(--dstf-border);
  border-radius: 9px;
  background: var(--dstf-bg);
  cursor: pointer;
  transition: background var(--dstf-ease), border-color var(--dstf-ease);
}
.dstf-encuesta-card .gfield--type-radio .gchoice:hover { border-color: var(--dstf-blue-mid); }
.dstf-encuesta-card .gfield--type-radio .gchoice input[type="radio"] {
  width: 15px; height: 15px; accent-color: var(--dstf-blue);
  cursor: pointer; margin: 0 !important; flex-shrink: 0;
}
.dstf-encuesta-card .gfield--type-radio .gchoice label {
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--dstf-text) !important;
  cursor: pointer; margin: 0 !important; padding: 0 !important; line-height: 1 !important;
}
.dstf-encuesta-card .gfield--type-radio .gchoice:has(input:checked) {
  background: var(--dstf-blue); border-color: var(--dstf-blue);
}
.dstf-encuesta-card .gfield--type-radio .gchoice:has(input:checked) label { color: #fff !important; }
.dstf-encuesta-card .gfield--type-radio .gchoice:has(input:checked) input[type="radio"] { accent-color: #fff; }

/* ── Ocultar campo de cálculo "Media global" (interno) ─────── */
.dstf-encuesta-card .gfield_calculation,
.dstf-encuesta-card #field_1_27 { display: none !important; }

/* ── Honeypot oculto (por si acaso) ────────────────────────── */
.dstf-encuesta-card .gform_validation_container,
.dstf-encuesta-card .gfield--type-honeypot { display: none !important; }

/* ── Botón de envío ────────────────────────────────────────── */
.dstf-encuesta-card .gform_footer {
  justify-content: center !important;
  margin-top: 24px !important;
  padding: 0 !important;
}
.dstf-encuesta-card .gform_footer .gform_button,
.dstf-encuesta-card .gform_button.button {
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: #fff !important;
  background: var(--dstf-blue) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 15px 72px !important;
  cursor: pointer !important;
  width: auto !important;
  transition: background var(--dstf-ease), transform var(--dstf-ease) !important;
}
.dstf-encuesta-card .gform_footer .gform_button:hover {
  background: var(--dstf-navy) !important;
  transform: translateY(-2px) !important;
}

/* ── Validación y mensajes ─────────────────────────────────── */
.dstf-encuesta-card .gform_validation_errors {
  font-family: 'DM Sans', sans-serif !important;
  border-radius: 10px !important;
  border: 1px solid rgba(220, 53, 69, 0.25) !important;
  box-shadow: none !important;
}
.dstf-encuesta-card .gfield_description.validation_message,
.dstf-encuesta-card .gfield_validation_message {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  color: #dc3545 !important;
  background: none !important;
  border: none !important;
  padding: 4px 0 0 !important;
}
.dstf-encuesta-card .gfield_error input[type="text"],
.dstf-encuesta-card .gfield_error textarea {
  border-color: #dc3545 !important;
}
.dstf-encuesta-card .gform_confirmation_message {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #0a6b2d;
  background: rgba(10, 107, 45, 0.06);
  border: 1px solid rgba(10, 107, 45, 0.2);
  border-radius: 10px;
  padding: 16px 20px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 700px) {
  .dstf-encuesta-card .gfield--type-html ul { grid-template-columns: 1fr; }
  .dstf-encuesta-card .gfield--type-radio {
    flex-direction: column;
    align-items: flex-start;
  }
  .dstf-encuesta-card .gfield--type-radio .ginput_container_radio { width: 100%; }
  .dstf-encuesta-card .gfield--type-radio .gfield_radio { width: 100%; justify-content: space-between; }
  .dstf-encuesta-card .gfield--type-radio .gchoice { flex: 1; min-width: 0; }
}
@media (max-width: 600px) {
  .dstf-encuesta-card .gform_footer .gform_button { width: 100% !important; padding: 15px 24px !important; }
}


/* ============================================================
   24. BLOG — PAGINACIÓN (Elementor Loop Grid)
   ============================================================ */
.elementor-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: clamp(32px, 5vw, 48px);
}
.elementor-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dstf-border);
  border-radius: 10px;
  background: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--dstf-text);
  text-decoration: none !important;
  transition: background var(--dstf-ease), border-color var(--dstf-ease), color var(--dstf-ease);
}
.elementor-pagination .page-numbers:hover {
  border-color: var(--dstf-blue-mid);
  color: var(--dstf-blue);
  background: var(--dstf-bg);
}
.elementor-pagination .page-numbers.current {
  background: var(--dstf-blue);
  border-color: var(--dstf-blue);
  color: #fff;
}
.elementor-pagination .page-numbers.dots {
  border: none;
  background: none;
  min-width: 24px;
  color: var(--dstf-muted);
}
.elementor-pagination .page-numbers.prev,
.elementor-pagination .page-numbers.next {
  font-size: 18px;
  font-weight: 700;
  color: var(--dstf-blue);
}
/* Texto solo para lectores de pantalla que añade Elementor ("Page") */
.elementor-pagination .page-numbers .elementor-screen-only,
.elementor-pagination .page-numbers .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
@media (max-width: 600px) {
  .elementor-pagination .page-numbers { min-width: 40px; height: 40px; font-size: 14px; }
}
