/* ============================================
   DINASTÍA VISIÓN WIDGET - ESTILOS
   Compatible Elementor 4.0.3 + PHP 8.3
   ============================================ */

.ddv-section {
    --ddv-bg: #0b1b2e;
    --ddv-bg-gradient: #0e2240;
    --ddv-gold: #d4a843;
    --ddv-gold-light: #f0c94e;
    --ddv-cyan: #4dd0e1;
    --ddv-cyan-glow: rgba(77, 208, 225, 0.4);
    --ddv-text-primary: #ffffff;
    --ddv-text-secondary: rgba(255, 255, 255, 0.85);
    --ddv-line: rgba(77, 208, 225, 0.3);
    --ddv-circle-bg: rgba(212, 168, 67, 0.08);
    --ddv-circle-border: rgba(212, 168, 67, 0.4);

    background: linear-gradient(135deg, var(--ddv-bg) 0%, var(--ddv-bg-gradient) 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.ddv-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(77, 208, 225, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.ddv-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ddv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .ddv-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .ddv-image-col {
        order: -1;
    }
}

/* ============================================
   COLUMNA DE TEXTO
   ============================================ */

.ddv-header {
    margin-bottom: 50px;
}

.ddv-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ddv-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.ddv-subtitle-dot {
    width: 8px;
    height: 8px;
    background: var(--ddv-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ddv-cyan-glow);
}

.ddv-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--ddv-text-primary);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.5px;
}

.ddv-title .ddv-highlight {
    color: var(--ddv-cyan);
}

.ddv-title-line {
    display: block;
}

/* Línea decorativa dorada */
.ddv-deco-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ddv-gold), var(--ddv-gold-light));
    margin-top: 25px;
    border-radius: 2px;
    position: relative;
}

.ddv-deco-line::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--ddv-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--ddv-gold);
}

/* ============================================
   LISTA DE ITEMS CON CONECTOR
   ============================================ */

.ddv-items-wrapper {
    position: relative;
    padding-left: 8px;
}

.ddv-connector {
    position: absolute;
    left: 31px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--ddv-line) 0%, var(--ddv-cyan) 50%, var(--ddv-line) 100%);
    opacity: 0.6;
}

.ddv-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    position: relative;
    animation: ddvFadeInUp 0.6s ease forwards;
    opacity: 0;
}

.ddv-item:nth-child(1) { animation-delay: 0.1s; }
.ddv-item:nth-child(2) { animation-delay: 0.2s; }
.ddv-item:nth-child(3) { animation-delay: 0.3s; }
.ddv-item:nth-child(4) { animation-delay: 0.4s; }

.ddv-item:last-child {
    margin-bottom: 0;
}

/* Círculo con icono */
.ddv-icon-circle {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    border: 2px solid var(--ddv-circle-border);
    background: var(--ddv-circle-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.ddv-item:hover .ddv-icon-circle {
    border-color: var(--ddv-gold);
    box-shadow: 0 0 25px rgba(212, 168, 67, 0.3);
    transform: scale(1.05);
}

.ddv-icon-circle svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--ddv-gold);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(212, 168, 67, 0.5));
    transition: all 0.3s ease;
}

.ddv-item:hover .ddv-icon-circle svg {
    stroke: var(--ddv-gold-light);
    filter: drop-shadow(0 0 8px rgba(212, 168, 67, 0.8));
}

/* Punto cian en el conector */
.ddv-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--ddv-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--ddv-cyan-glow);
    z-index: 1;
    opacity: 0.8;
}

/* Contenido del item */
.ddv-item-content {
    flex: 1;
    padding-top: 5px;
}

.ddv-item-text {
    font-size: 1.05rem;
    color: var(--ddv-text-secondary);
    line-height: 1.7;
    margin: 0 0 15px;
}

/* Divisor cian */
.ddv-item-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--ddv-cyan), transparent);
    border-radius: 1px;
    transition: width 0.4s ease;
}

.ddv-item:hover .ddv-item-divider {
    width: 70px;
}

/* ============================================
   COLUMNA DE IMAGEN
   ============================================ */

.ddv-image-col {
    position: relative;
}

.ddv-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ddv-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 27, 46, 0.2) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.ddv-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.ddv-image-wrapper:hover img {
    transform: scale(1.03);
}

/* Efecto de brillo en esquina */
.ddv-image-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(77, 208, 225, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes ddvFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ddv-header {
    animation: ddvFadeInUp 0.6s ease forwards;
}

.ddv-image-col {
    animation: ddvFadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .ddv-section {
        padding: 60px 15px;
    }

    .ddv-title {
        font-size: 1.8rem;
    }

    .ddv-icon-circle {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }

    .ddv-icon-circle svg {
        width: 24px;
        height: 24px;
    }

    .ddv-connector {
        left: 26px;
    }

    .ddv-item::before {
        left: 19px;
    }

    .ddv-item {
        gap: 18px;
    }
}
