/*
TEMPLATE — CSS EDITORIAL CONDICIONAL
Fuente de los componentes editoriales: hero, resumen, índice, metadatos,
secciones, listas prácticas, CTA, infografía, imagen vertical y volver arriba.
Se carga después del CSS global compartido y sólo donde corresponde.
Las variables, cabecera, navegación y pie pertenecen al style.css del tema.
Modificar esta fuente directamente; no copiarla en cada página.
*/

.dv-section[id],
    .dv-infographic-wrap[id]{
      scroll-margin-top:88px;
    }

/* ================================================================
       HERO
       ================================================================ */

.dv-hero-wrap{
      width:100%;
      padding:var(--dv-frame-pad) var(--dv-frame-pad) 0;
    }

.dv-hero{
      --dv-hero-title-size:clamp(24px,calc(6.7cqw + 4px),68px);
      --dv-hero-text-width:60%;
      container-type:inline-size;
      aspect-ratio:16 / 9;
      min-height:0;
      position:relative;
      display:flex;
      align-items:center;
      width:100%;
      overflow:hidden;
      border-radius:var(--dv-radius-lg);
      background:#11151c;
      box-shadow:
        0 18px 36px rgba(17,21,28,.12),
        inset 0 1px 0 rgba(255,255,255,.05);
    }

.dv-hero__media{
      position:absolute;
      inset:0;
      z-index:0;
      width:100%;
      height:100%;
      margin:0 !important;
      overflow:hidden;
      pointer-events:none;
    }

.dv-hero__media img{
      display:block;
      width:100% !important;
      height:100% !important;
      max-width:none !important;
      object-fit:cover;
      object-position:50% 50%;
    }

.dv-hero::before{
      content:"";
      position:absolute;
      inset:0;
      z-index:1;
      pointer-events:none;
      background:
        linear-gradient(
          90deg,
          rgba(0,0,0,.96) 0%,
          rgba(0,0,0,.83) 36%,
          rgba(0,0,0,.28) 69%,
          rgba(0,0,0,.03) 100%
        );
    }

.dv-hero__content{
      box-sizing:border-box;
      width:var(--dv-hero-text-width);
      max-width:none;
      padding:5%;
      position:relative;
      z-index:2;
      margin:0;
      min-width:0;
      color:#fff;
    }

.dv-hero h1{
      min-width:0;
      max-width:100%;
      overflow-wrap:anywhere;
      margin:0;
      color:#fff;
      border-left:3px solid #bec9d4;
      padding-left:22px;
      font-size:var(--dv-hero-title-size);
      line-height:1.04;
      letter-spacing:-.025em;
      text-wrap:wrap;
      font-weight:800;
    }

.dv-hero__line{
      display:inline;
      white-space:normal;
    }

.dv-hero--long-title{
      --dv-hero-title-size:clamp(10px,4.8cqw,44px);
      --dv-hero-text-width:60%;
    }

.dv-hero--long-title h1{
      padding-left:2cqw;
      line-height:1.08;
      text-wrap:balance;
      overflow-wrap:normal;
      word-break:normal;
      hyphens:none;
    }

.dv-hero__accent,
    .dv-hero__action{
      color:#bec9d4;
      font-weight:800;
      text-decoration:none;
      background:none;
      padding:0;
      box-shadow:none;
      text-shadow:none;
      -webkit-text-fill-color:currentColor;
    }

.dv-hero__rule{
      display:none;
      width:90px;
      height:6px;
      margin-top:28px;
      border-radius:999px;
      background:var(--dv-silver-mid);
    }

/* ================================================================
       SUMMARY + INDEX
       ================================================================ */

.dv-summary{
      padding:52px var(--dv-content-pad) 48px;
    }

.dv-summary__shell{
      position:relative;
      padding-left:28px;
    }

.dv-summary__shell::before{
      content:"";
      position:absolute;
      left:0;
      top:4px;
      bottom:4px;
      width:3px;
      border-radius:999px;
      background:linear-gradient(
        180deg,
        var(--dv-black) 0%,
        var(--dv-silver) 100%
      );
    }

.dv-summary__label,
    .dv-summary__promise-title{
      margin:0;
      color:var(--dv-label);
      font-size:12px;
      font-weight:800;
      line-height:1.3;
      letter-spacing:.12em;
      text-transform:uppercase;
    }

.dv-summary__label{
      display:flex;
      align-items:center;
      gap:10px;
      margin-bottom:16px;
    }

.dv-summary__label::after{
      content:"";
      flex:0 0 34px;
      width:34px;
      height:1px;
      background:var(--dv-silver-light);
    }

.dv-summary__text{
      max-width:825px;
      margin:0;
      color:var(--dv-black-soft);
      font-size:clamp(19px,2vw,21px);
      line-height:1.63;
      letter-spacing:-.1px;
    }

.dv-summary__promise{
      margin-top:30px;
      padding-top:25px;
      border-top:1px solid var(--dv-border);
    }

.dv-summary__promise-title{
      margin-bottom:17px;
    }

.dv-promise-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
      align-items:stretch;
    }

.dv-promise{
      position:relative;
      isolation:isolate;
      display:grid;
      grid-template-columns:34px minmax(0,1fr);
      gap:12px;
      align-items:start;
      height:100%;
      min-width:0;
      padding:14px 18px;
      overflow:hidden;
      border:1px solid rgba(17,21,28,.075);
      border-radius:16px;
      background:#fff;
      box-shadow:var(--dv-card-shadow);
      color:inherit;
      text-decoration:none;
      cursor:pointer;
      -webkit-tap-highlight-color:transparent;
      transition:box-shadow .30s ease .06s;
    }

.dv-promise::before{
      content:"";
      position:absolute;
      inset:0;
      z-index:-1;
      border-radius:inherit;
      background:
        linear-gradient(
          108deg,
          rgba(255,255,255,0) 0%,
          rgba(247,248,250,.52) 42%,
          rgba(241,243,246,.78) 100%
        );
      opacity:0;
      transition:opacity .36s ease .08s;
    }

.dv-promise:hover,
    .dv-promise:focus-visible{
      box-shadow:var(--dv-card-shadow-hover);
    }

.dv-promise:hover::before,
    .dv-promise:focus-visible::before{
      opacity:1;
    }

.dv-promise:focus-visible{
      outline:none;
      box-shadow:
        var(--dv-card-shadow-hover),
        0 0 0 3px rgba(142,150,161,.13);
    }

.dv-promise:active{
      box-shadow:var(--dv-card-shadow);
    }

.dv-promise__number{
      width:34px;
      height:34px;
      display:grid;
      place-items:center;
      border:1px solid rgba(17,21,28,.045);
      border-radius:50%;
      background:linear-gradient(145deg,#fafbfc 0%,#eef1f4 100%);
      box-shadow:
        0 4px 10px rgba(17,21,28,.065),
        inset 0 1px 0 rgba(255,255,255,.98),
        inset 0 -1px 0 rgba(17,21,28,.025);
      color:#69717d;
      font-size:12px;
      font-weight:800;
      transition:
        background .30s ease .06s,
        color .30s ease .06s,
        box-shadow .30s ease .06s;
    }

.dv-promise:hover .dv-promise__number,
    .dv-promise:focus-visible .dv-promise__number{
      background:linear-gradient(145deg,#f2f4f6 0%,#e5e9ed 100%);
      box-shadow:
        0 6px 13px rgba(17,21,28,.085),
        inset 0 1px 0 rgba(255,255,255,.95),
        inset 0 -1px 0 rgba(17,21,28,.035);
      color:#4d5663;
    }

.dv-promise__content{
      display:block;
      min-width:0;
    }

.dv-promise__content strong{
      display:block;
      margin:0;
      color:var(--dv-black-soft);
      font-size:14px;
      line-height:1.32;
      transition:color .30s ease .06s;
    }

.dv-promise:hover .dv-promise__content strong,
    .dv-promise:focus-visible .dv-promise__content strong{
      color:#12171e;
    }

.dv-promise__content small{display:none;}

/* ================================================================
       META PILLS
       ================================================================ */

.dv-meta{
      padding:0 var(--dv-content-pad) 10px;
    }

.dv-pills{
      display:flex;
      flex-wrap:wrap;
      gap:12px;
    }

.dv-pill{
      display:inline-flex;
      align-items:center;
      gap:8px;
      max-width:100%;
      padding:8px 14px;
      border:1px solid var(--dv-border);
      border-radius:999px;
      background:#fff;
      color:#596270;
      font-size:14px;
      font-weight:700;
      line-height:1.35;
    }

.dv-pill::before{
      content:"";
      flex:0 0 7px;
      width:7px;
      height:7px;
      border-radius:50%;
      background:var(--dv-silver);
    }

.dv-pill strong{
      color:#596270;
    }

/* ================================================================
       CONTENT SECTIONS
       ================================================================ */

.dv-section{
      width:100%;
      padding:48px var(--dv-content-pad) 56px;
    }

.dv-section-heading{
      display:flex;
      align-items:flex-start;
      gap:18px;
      margin-bottom:26px;
    }

.dv-section-number{
      flex:0 0 46px;
      width:46px;
      height:46px;
      display:grid;
      place-items:center;
      border:1px solid rgba(255,255,255,.035);
      border-radius:50%;
      background:linear-gradient(145deg,#242b35 0%,#0f141b 100%);
      box-shadow:
        0 7px 16px rgba(17,21,28,.16),
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -1px 0 rgba(0,0,0,.25);
      color:var(--dv-silver-light);
      font-size:18px;
      font-weight:800;
    }

.dv-section h2{
      flex:1 1 auto;
      min-width:0;
      margin:0;
      color:var(--dv-black-soft);
      font-size:clamp(30px,3.7vw,38px);
      line-height:1.15;
      letter-spacing:-.55px;
      overflow-wrap:break-word;
    }

.dv-accent{
      color:#818994;
    }

.dv-section > p{
      margin:0 0 22px;
      color:#56606f;
      font-size:16px;
      line-height:1.75;
    }

/* Ritmo editorial compartido; no requiere CSS paralelo de Constructor. */

.dv-editorial-standard .dv-section p{
      line-height:1.72;
    }

.dv-editorial-standard .dv-section p + p,
    .dv-editorial-standard .dv-section .wp-block-list > li + li{
      margin-block-start:1.1rem;
    }

/* ================================================================
       PRACTICAL LIST
       ================================================================ */

.dv-bullet-box{
      margin-top:30px;
      padding:29px 32px;
      border:1px solid var(--dv-border);
      border-radius:var(--dv-radius-md);
      background:linear-gradient(180deg,#fbfcfd 0%,#f7f8fa 100%);
      box-shadow:var(--dv-card-shadow);
    }

.dv-bullet-box h3{
      margin:0 0 18px;
      color:var(--dv-black);
      font-size:23px;
      line-height:1.25;
    }

.dv-bullet-box ul{
      margin:0;
      padding:0;
      list-style:none;
    }

.dv-bullet-box li{
      position:relative;
      margin:14px 0;
      padding-left:29px;
      color:#4f5968;
      font-size:17px;
      line-height:1.58;
    }

.dv-bullet-box li::before{
      content:"";
      position:absolute;
      left:0;
      top:.69em;
      width:8px;
      height:8px;
      border-radius:50%;
      background:var(--dv-silver);
      box-shadow:0 0 0 5px rgba(142,150,161,.14);
    }

/* ================================================================
       PRACTICAL INSIGHT
       ================================================================ */

.dv-practical{
      display:grid;
      grid-template-columns:76px minmax(0,1fr);
      align-items:center;
      gap:26px;
      width:calc(100% - (var(--dv-frame-pad) * 2));
      margin:0 var(--dv-frame-pad) var(--dv-frame-pad);
      padding:39px 42px;
      border-radius:var(--dv-radius-md);
      background:linear-gradient(145deg,#151b24 0%,#0f141b 100%);
      box-shadow:
        0 18px 34px rgba(17,21,28,.15),
        inset 0 1px 0 rgba(255,255,255,.05);
      color:#fff;
    }

.dv-practical > div:last-child{
      min-width:0;
    }

.dv-practical__icon{
      width:64px;
      height:64px;
      display:grid;
      place-items:center;
      border-radius:50%;
      background:#252c36;
      color:var(--dv-silver-light);
      font-size:27px;
    }

.dv-practical h3{
      margin:0 0 8px;
      color:#fff;
      font-size:25px;
      line-height:1.25;
    }

.dv-practical p{
      margin:0;
      color:#aeb5c0;
      font-size:17px;
      line-height:1.65;
    }

.dv-practical strong{
      color:var(--dv-silver-light);
    }

/* ================================================================
       INFOGRAPHIC WRAPPER
       ================================================================ */

.dv-infographic-wrap{
      width:100%;
      padding:0 var(--dv-frame-pad) var(--dv-frame-pad);
    }

/* ================================================================
       CTA BANNER
       ================================================================ */

.dv-cta-banner{
      width:100%;
      padding:0 var(--dv-frame-pad) var(--dv-frame-pad);
    }

.dv-cta-banner__inner{
      position:relative;
      overflow:hidden;
      padding:35px 36px 37px;
      border:1px solid rgba(173,184,198,.25);
      border-radius:var(--dv-radius-lg);
      background:
        radial-gradient(circle at 12% 0%,rgba(128,146,170,.19) 0%,rgba(128,146,170,0) 38%),
        linear-gradient(132deg,#0d1218 0%,#1a222d 48%,#10161d 100%);
      box-shadow:
        0 18px 36px rgba(17,21,28,.18),
        0 5px 11px rgba(17,21,28,.09),
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -1px 0 rgba(0,0,0,.28);
      text-align:center;
      color:#fff;
    }

.dv-cta-banner__inner::before{
      content:"";
      position:absolute;
      inset:0;
      pointer-events:none;
      background:linear-gradient(110deg,rgba(255,255,255,.025),rgba(255,255,255,0) 42%,rgba(167,180,199,.045));
    }

.dv-cta-banner__inner > *{
      position:relative;
      z-index:1;
    }

.dv-cta-banner__inner h2{
      margin:0 0 10px;
      color:#f7f9fb;
      font-size:clamp(28px,3.4vw,34px);
      line-height:1.18;
      letter-spacing:-.4px;
    }

.dv-cta-banner__inner p{
      max-width:760px;
      margin:0 auto 24px;
      color:#bdc5cf;
      font-size:17px;
      line-height:1.48;
    }

.dv-cta-banner__button{
      position:relative;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width:252px;
      min-height:46px;
      padding:12px 24px;
      border:1px solid rgba(231,235,240,.38);
      border-radius:11px;
      background:linear-gradient(180deg,#7d8794 0%,#5d6774 46%,#444d59 100%);
      box-shadow:
        0 4px 0 rgba(9,12,16,.62),
        0 12px 24px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.28),
        inset 0 -1px 0 rgba(0,0,0,.28);
      color:#ffffff;
      text-decoration:none;
      text-shadow:0 1px 0 rgba(0,0,0,.45);
      font-size:14px;
      font-weight:800;
      line-height:1;
    }

.dv-cta-banner__button:hover,
    .dv-cta-banner__button:focus-visible{
      border-color:rgba(242,245,248,.56);
      background:linear-gradient(180deg,#8994a1 0%,#687381 46%,#4b5562 100%);
      box-shadow:
        0 4px 0 rgba(9,12,16,.62),
        0 13px 26px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.32),
        inset 0 -1px 0 rgba(0,0,0,.28);
    }

.dv-cta-banner__button:focus-visible{
      outline:2px solid rgba(255,255,255,.9);
      outline-offset:3px;
    }

/* ================================================================
       BACK TO TOP
       ================================================================ */

.dv-back-top{
      position:fixed;
      right:22px;
      bottom:22px;
      z-index:50;
      width:58px;
      height:58px;
      display:grid;
      place-items:center;
      border-radius:50%;
      background:
        radial-gradient(circle at 34% 25%,#2a3340 0%,#171e27 44%,#0e131a 100%);
      box-shadow:
        0 16px 34px rgba(17,21,28,.26),
        0 4px 9px rgba(17,21,28,.12),
        inset 0 1px 0 rgba(255,255,255,.10);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      color:inherit;
      text-decoration:none;
      transition:opacity .28s ease, visibility .28s ease;
    }

.dv-back-top.is-visible{
      opacity:1;
      visibility:visible;
      pointer-events:auto;
    }

.dv-back-top__ring{
      position:absolute;
      inset:5px;
      border:1px solid rgba(214,218,224,.18);
      border-radius:50%;
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.025),
        0 0 0 1px rgba(0,0,0,.08);
      pointer-events:none;
    }

.dv-back-top__core{
      position:relative;
      z-index:1;
      width:36px;
      height:36px;
      display:grid;
      place-items:center;
      border-radius:50%;
      background:
        linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.018));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -1px 0 rgba(0,0,0,.18);
      color:var(--dv-silver-light);
      font-size:19px;
      line-height:1;
      text-shadow:0 1px 0 rgba(0,0,0,.55);
    }

.dv-back-top:hover,
    .dv-back-top:focus-visible{
      box-shadow:
        0 20px 38px rgba(17,21,28,.30),
        0 5px 10px rgba(17,21,28,.14),
        inset 0 1px 0 rgba(255,255,255,.12);
    }

.dv-back-top:focus-visible{
      outline:2px solid #fff;
      outline-offset:2px;
    }

/* ================================================================
       DESKTOP GEOMETRY
       ================================================================ */

@media (min-width:1101px){
.dv-hero-wrap{
        padding-top:34px;
        padding-inline:var(--dv-content-pad);
      }

.dv-hero:not(.dv-hero--long-title){
        --dv-hero-text-width:70%;
        --dv-hero-title-size:clamp(21px,calc(6.7cqw + 1px),65px);
      }

.dv-hero h1{
        text-wrap:balance;
      }

.dv-practical{
        width:calc(100% - (var(--dv-content-pad) * 2));
        margin-inline:var(--dv-content-pad);
      }

.dv-cta-banner{
        padding-inline:var(--dv-content-pad);
      }
}

/* ================================================================
       TABLET / INTERMEDIATE
       ================================================================ */

@media (max-width:1100px) and (min-width:761px){
.dv-hero-wrap{
        padding:var(--dv-frame-pad) var(--dv-frame-pad) 0;
      }

.dv-summary{
        padding-top:46px;
      }

.dv-practical{
        padding:34px;
      }
}

/* ================================================================
       MOBILE
       ================================================================ */

@media (max-width:760px){
.dv-hero-wrap{
        padding:var(--dv-frame-pad) var(--dv-frame-pad) 0;
      }

.dv-hero{
        display:flex;
        align-items:center;
        padding:0;
        background:#11151c;
      }

.dv-hero:not(.dv-hero--long-title){
        --dv-hero-text-width:64%;
        --dv-hero-title-size:clamp(20px,calc(6.7cqw + 4px),52px);
      }

.dv-hero__content{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:flex-start;
        min-width:0;
      }

.dv-hero h1{
        border-left-width:2px;
        padding-left:12px;
      }

.dv-hero__rule{
        width:36px;
        height:3px;
        margin-top:10px;
      }

/* Párrafos normales: tamaño móvil explícito, independiente de escritorio. */

.dv-section > p{
        font-size:18px;
      }

.dv-editorial-standard .dv-section p + p,
      .dv-editorial-standard .dv-section .wp-block-list > li + li{
        margin-block-start:.9rem;
      }

.dv-summary{
        padding-top:40px;
        padding-bottom:38px;
      }

.dv-summary__shell{
        padding-left:20px;
      }

.dv-summary__text{
        font-size:18px;
      }

.dv-promise-grid{
        grid-template-columns:1fr;
        gap:9px;
      }

.dv-promise{
        height:auto;
        padding:14px 15px;
      }

.dv-section{
        padding-top:40px;
        padding-bottom:44px;
      }

.dv-section-heading{
        gap:14px;
      }

.dv-section-number{
        flex-basis:42px;
        width:42px;
        height:42px;
      }

.dv-bullet-box{
        padding:25px 21px;
      }

.dv-practical{
        padding:30px 25px;
        grid-template-columns:1fr;
        gap:18px;
      }

.dv-practical__icon{
        width:57px;
        height:57px;
      }

.dv-cta-banner__inner{
        padding:28px 22px 30px;
        border-radius:19px;
      }

.dv-cta-banner__inner p{
        font-size:15px;
        margin-bottom:20px;
      }

.dv-cta-banner__button{
        min-width:100%;
      }

.dv-back-top{
        right:16px;
        bottom:16px;
        width:52px;
        height:52px;
      }

.dv-back-top__core{
        width:32px;
        height:32px;
        font-size:17px;
      }
}

@media (max-width:420px){
.dv-pill{
        width:100%;
      }
}

/* ================================================================
       ACCESSIBILITY / REDUCED MOTION
       ================================================================ */

@media (prefers-reduced-motion:reduce){
.dv-promise,
      .dv-promise::before,
      .dv-promise__number,
      .dv-promise__content strong,
      .dv-back-top{
        transition:none !important;
        animation:none !important;
      }
}

/* Imagen editorial vertical centrada, sin alterar el hero. */

.dv-editorial-image--portrait figure{width:min(100%,560px);margin-inline:auto!important;}

.dv-editorial-image--portrait img{display:block;width:100%;height:auto;}
