/* ======================================================
   RESIDENCIAL
====================================================== */

.res-hero {
    position: relative;
    overflow: hidden;

    background: #1f4a6e;
}

.res-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;

    color: #ffffff;

    letter-spacing: -0.5px;
    max-width: 620px;
}

.res-title span {
    display: inline-block;
    color: #f5a623;

    position: relative;
}

/* 🔥 efecto subrayado elegante */
.res-title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;

    width: 100%;
    height: 8px;

    background: rgba(245,166,35,0.25);
    z-index: -1;

    border-radius: 4px;
}

.res-intro {
    font-size: 1.1rem;
    line-height: 1.6;

    color: rgba(255,255,255,0.85);

    margin-top: 18px;
    max-width: 520px;
}

.res-hero-img {
    width: 100%;
    height: 420px;

    object-fit: cover;

    border-radius: 20px;

    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

/* TEXTO */
.res-text {
    max-width: 720px;
    color: var(--color-muted);
}

/* FEATURES */
.res-feature {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* USOS */
.res-use-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-shadow: var(--shadow-md);
}

/* GALERÍA */
.res-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* VIDEO */
.res-video video {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* MOBILE */
@media (max-width: 768px) {
    .res-hero-img {
        margin-top: 1.5rem;
    }
}
/* TIMELINE */
.res-timeline {
    background: #f7f9fc;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.timeline-item.reverse {
    flex-direction: row-reverse;
}

.timeline-img img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    max-width: 480px;
}

.timeline-step {
    display: inline-block;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: .5rem;
}

.timeline-content h4 {
    font-weight: 700;
    margin-bottom: .5rem;
}

/* VIDEO */
.res-video-section video {
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* MOBILE */
@media (max-width: 768px) {
    .timeline-item,
    .timeline-item.reverse {
        flex-direction: column;
        text-align: center;
    }
}
