/* ==========================================================================
   KROTAR — Delivery section, interactive area selector
   Same pattern as assets/css/marketing-digital.css (independent file/classes
   on purpose, so neither section's styles can affect the other): a vertical
   list of areas acts as a selector on the left, a single reused card on the
   right swaps its content on hover/focus. Reuses existing tokens only
   (--color-cyan, --duration-fast, --ease-premium, .glass-card, .service-title,
   .service-desc, .service-link) — no new colors, fonts or effects. No
   ambient-glow here on purpose: reviews.css already establishes this section
   as deliberately "sober... no dominant blue wash", so this redesign keeps
   that same quieter lighting rather than importing Marketing Digital's glow.
   ========================================================================== */

.dv-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}

.dv-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Doubles the gap between "DELIVERY BAJO CONTROL" and the sidebar+card
   composition below it — scoped to #resenas so the shared .section-heading
   spacing used elsewhere is untouched. Sidebar and card move down together
   since both are just grid items in .dv-layout; nothing here targets one
   without the other. */
#resenas .section-heading {
    margin-bottom: 4rem;
}

.dv-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: var(--space-6);
    align-items: start;
    /* Adjacent margins collapse to the larger of the two — .reviews-subheading
       (reviews.css) already carries margin-top: var(--space-8) (4rem), so
       this must exceed that to actually add extra room instead of being
       silently absorbed by it. */
    margin-bottom: 5rem;
}

.dv-service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.dv-service-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    padding: 0.9rem 1.1rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-body);
    cursor: pointer;
    transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease,
        background var(--duration-fast) ease;
}

.dv-service-item:hover,
.dv-service-item:focus-visible {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.03);
}

.dv-service-item.is-active {
    color: var(--color-text);
    border-left-color: var(--color-cyan);
    background: rgba(255, 255, 255, 0.04);
}

.dv-card {
    padding: var(--space-6);
}

.dv-card .service-title {
    display: block;
    margin-bottom: var(--space-3);
}

.dv-card .service-desc {
    display: block;
    margin-bottom: var(--space-4);
}

.dv-card-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: var(--space-5);
}

.dv-card-bullets li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--color-text-body);
}

.dv-card-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-cyan);
}

.dv-card .dv-card-title,
.dv-card .dv-card-desc,
.dv-card .dv-card-bullets,
.dv-card .service-link {
    transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
}

/* Real CTA, not a plain text link: bottom-right of the card, with a solid
   filled surface (not a near-transparent tinted border) so it reads
   immediately as a button, not a label. Same strong fill as .btn-cta-accent
   (style.css) — one shared visual language for every primary CTA on the
   page. Scoped to .dv-card only — the base .service-link (services-grid
   cards, Marketing Digital's own card) keeps its plain-link treatment. */
.dv-card .service-link {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-top: var(--space-3);
    padding: 0.75rem 1.4rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(0, 145, 255, 0.92) 0%, rgba(0, 61, 150, 0.96) 100%);
    border: 1px solid rgba(0, 217, 255, 0.7);
    border-radius: var(--radius-pill);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.24),
        0 8px 22px rgba(0, 20, 90, 0.4),
        0 0 22px rgba(0, 145, 255, 0.25);
    transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease, box-shadow var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.dv-card .service-link:hover,
.dv-card .service-link:focus-visible {
    color: #ffffff;
    border-color: rgba(0, 217, 255, 0.9);
    background:
        linear-gradient(180deg, rgba(0, 174, 239, 0.98) 0%, rgba(0, 91, 255, 1) 100%);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        0 12px 28px rgba(0, 20, 90, 0.45),
        0 0 34px rgba(0, 174, 239, 0.4);
    transform: translateY(-2px);
}

.dv-card.is-updating .dv-card-title,
.dv-card.is-updating .dv-card-desc,
.dv-card.is-updating .dv-card-bullets,
.dv-card.is-updating .service-link {
    opacity: 0;
    transform: translateY(6px);
}

@media (max-width: 860px) {
    .dv-layout {
        grid-template-columns: 1fr;
    }
}
