/* Hero Home 2026 - Mobile First */

.dh-hero-2026 {
    width: 100%;
    position: relative;
    background-color: #FFF8F8;
    background-image:
        radial-gradient(60% 60% at 100% 0%, rgba(223, 0, 47, 0.08) 0%, rgba(223, 0, 47, 0) 60%),
        radial-gradient(50% 50% at 100% 100%, rgba(223, 0, 47, 0.06) 0%, rgba(223, 0, 47, 0) 60%);
    overflow: hidden;
}

.dh-hero-2026__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 16px 48px;
}

.dh-hero-2026__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
    position: relative;
}

.dh-hero-2026__overline {
    display: inline-block;
    align-self: flex-start;
    padding: 5px 12px;
    background: #FDE7E8;
    color: #DF002F;
    border-radius: 100px;
    font-family: var(--font-lato, 'Lato');
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.68px;
    width: fit-content;
}

.dh-hero-2026__title {
    color: #111B29;
    font-family: var(--font-lato, 'Lato');
    font-size: 36px;
    font-weight: 700;
    line-height: 110%;
    margin: 0;
    letter-spacing: -0.5px;
}

.dh-hero-2026__highlight {
    color: #DF002F;
}

.dh-hero-2026__description {
    color: #111B29;
    opacity: 0.75;
    font-family: var(--font-lato, 'Lato');
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    margin: 0;
    max-width: 560px;
}

.dh-hero-2026__features {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.dh-hero-2026__feature {
    background: #FFFFFF;
    border: 1px solid #F2D9DC;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(17, 27, 41, 0.04);
}

.dh-hero-2026__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #DF002F;
}

.dh-hero-2026__feature-icon svg {
    width: 24px;
    height: 24px;
}

.dh-hero-2026__feature-title {
    color: #111B29;
    font-family: var(--font-lato, 'Lato');
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.dh-hero-2026__feature-description {
    color: #111B29;
    opacity: 0.7;
    font-family: var(--font-lato, 'Lato');
    font-size: 13px;
    font-weight: 500;
    line-height: 140%;
    margin: 0;
}

.dh-hero-2026__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.dh-hero-2026__cta {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 200px;
    padding: 16px 28px;
    font-family: var(--font-lato, 'Lato');
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.dh-hero-2026__cta.dh-btn--primary {
    background-color: #DF002F;
    color: #FFFFFF;
    border: 1.5px solid #DF002F;
}

.dh-hero-2026__cta.dh-btn--primary:hover {
    background-color: #B80027;
    border-color: #B80027;
}

.dh-hero-2026__cta.dh-btn--secondary {
    background-color: #FFFFFF;
    color: #111B29;
    border: 1.5px solid #E5E7EB;
}

.dh-hero-2026__cta.dh-btn--secondary:hover {
    background-color: #F9FAFB;
    border-color: #D1D5DB;
}

.dh-hero-2026__cta-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.dh-hero-2026__media {
    width: 100%;
    position: relative;
}

.dh-hero-2026__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.dh-hero-2026__image--desktop {
    display: none;
}

.dh-hero-2026__image--mobile {
    display: block;
}

/* Tablet */
@media (min-width: 768px) {
    .dh-hero-2026__inner {
        padding: 64px 32px 72px;
        gap: 48px;
    }

    .dh-hero-2026__title {
        font-size: 48px;
    }

    .dh-hero-2026__features {
        grid-template-columns: repeat(5, 1fr);
    }

    .dh-hero-2026__actions {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .dh-hero-2026__cta {
        width: auto;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    /* El hero rompe el max-width de .dh-container para permitir bleed a la
       derecha; padding manejado dentro del propio __inner. Misma especificidad
       que las reglas siguientes para que las cascadas funcionen bien. */
    .dh-hero-2026 .dh-hero-2026__inner.dh-container {
        max-width: 100%;
        width: 100%;
        margin: 0;
        display: grid;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
        align-items: stretch;
        gap: 16px;
        /* Sin padding vertical: la imagen sangra hasta el borde del fondo.
           El "respiro" del texto se gestiona dentro de __content. */
        padding: 0 0 0 60px;
    }

    .dh-hero-2026__content {
        gap: 24px;
        max-width: 780px;
        align-self: center;
        padding-block: 64px;
    }

    .dh-hero-2026__media {
        width: 100%;
        align-self: end;
        display: flex;
        justify-content: flex-end;
    }

    .dh-hero-2026__title {
        font-size: 44px;
        line-height: 108%;
    }

    .dh-hero-2026__highlight {
        white-space: nowrap;
    }

    .dh-hero-2026__description {
        font-size: 17px;
    }

    .dh-hero-2026__image {
        border-radius: 0;
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
        object-position: right bottom;
    }

    .dh-hero-2026__image--desktop {
        display: block;
    }

    .dh-hero-2026__image--mobile {
        display: none;
    }
}

@media (min-width: 1280px) {
    .dh-hero-2026 .dh-hero-2026__inner.dh-container {
        padding: 0 0 0 max(60px, calc((100vw - 1240px) / 2));
        gap: 20px;
    }

    .dh-hero-2026__content {
        padding-block: 80px;
    }

    .dh-hero-2026__title {
        font-size: 52px;
    }
}

@media (min-width: 1440px) {
    .dh-hero-2026 .dh-hero-2026__inner.dh-container {
        padding-left: max(100px, calc((100vw - 1240px) / 2));
    }
}

/* header.php imprime un <div class="breadcrumbs-box"> antes de cualquier
   contenido del template; en este template no queremos ese hueco. */
body.page-template-template-home-2026 .breadcrumbs-box {
    display: none;
}

/* Reset defensivo: BlankSlate (theme parent) podría añadir margin/padding
   en los wrappers superiores. Nos aseguramos que el hero pegue al header. */
body.page-template-template-home-2026 #container,
body.page-template-template-home-2026 #content,
body.page-template-template-home-2026 .dh-main {
    margin: 0;
    padding: 0;
}

