/* ─────────────────────────────────────────────
   Hero Reset & Alignment (Fixes Top Gap)
───────────────────────────────────────────── */

.dc-hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: hidden;
}

.dc-hero-main {
    display: flex;
    align-items: stretch;
    min-height: 650px;
    width: 100%;
    position: relative;
}

/* ─────────────────────────────────────────────
   Left Content Box
───────────────────────────────────────────── */

.dc-hero-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
    padding: 60px 80px 60px 60px;
    background: #FAFAFA;
}

/* ─────────────────────────────────────────────
   Right Image (Seamless Soft Edge Blend)
───────────────────────────────────────────── */

.dc-hero-image {
    width: 50%;
    position: relative;
    overflow: hidden;
    background: #FAFAFA; /* Matches content background for smooth transition */
}

.dc-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Soft Gradient Transition Overlay replacing the hard line */
.dc-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px; /* Width of the soft fade blend */
    height: 100%;
    background: linear-gradient(to right, #FAFAFA 0%, rgba(250, 250, 250, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* ─────────────────────────────────────────────
   Typography & Content
───────────────────────────────────────────── */

.dc-eyebrow {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #A67F68;
    background: rgba(166, 127, 104, 0.12);
    border: 1px solid rgba(166, 127, 104, 0.35);
}

.dc-title {
    margin: 0 0 20px;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.08;
    color: #222;
}

.dc-desc {
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 1.75;
    color: #666;
}

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */

.dc-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.dc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: .2s ease;
}

.dc-btn-primary {
    background: #A67F68;
    color: #fff !important;
}

.dc-btn-primary:hover {
    background: #8F6B56;
    color: #fff !important;
}

.dc-btn-secondary {
    background: #fff;
    color: #222 !important;
    border: 1px solid #ddd;
}

.dc-btn-secondary:hover {
    border-color: #A67F68;
    color: #A67F68 !important;
}

/* ─────────────────────────────────────────────
   Bottom Bar
───────────────────────────────────────────── */

.dc-hero-bottom {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 3;
    margin-top: auto;
    background: rgba(15, 12, 10, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dc-pills {
    display: flex;
    flex: 1;
}

.dc-pill {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
    padding: 18px 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    border-right: 1px solid rgba(255,255,255,.10);
    transition: .2s;
}

.dc-pill:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
}

.dc-pill-icon {
    color: #A67F68;
    font-size: 14px;
}

.dc-stats {
    display: flex;
    align-items: stretch;
    border-left: 1px solid rgba(255,255,255,.10);
}

.dc-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    padding: 16px 28px;
    border-right: 1px solid rgba(255,255,255,.10);
}

.dc-stat:last-child {
    border-right: none;
}

.dc-stat-number {
    display: block;
    margin-bottom: 4px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #A67F68;
}

.dc-stat-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,.50);
}

/* ─────────────────────────────────────────────
   Elementor Container Overrides
───────────────────────────────────────────── */

.elementor-widget-dealcraft_hero,
.elementor-widget-dealcraft_hero > .elementor-widget-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Removes top margin/padding on parent Elementor section */
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section.elementor-section-full_width > .elementor-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ─────────────────────────────────────────────
   Responsiveness
───────────────────────────────────────────── */

@media (max-width:1200px) {
    .dc-title {
        font-size: 46px;
    }
    .dc-hero-content {
        padding: 50px;
    }
}

@media (max-width:991px) and (min-width:768px) {
    .dc-hero-content {
        padding: 40px;
    }
    .dc-title {
        font-size: 42px;
    }
    .dc-desc {
        font-size: 16px;
    }
    .dc-btn {
        padding: 12px 18px;
    }
}

@media (max-width:767px) {
    .dc-hero-main {
        flex-direction: column;
    }
    .dc-hero-image {
        order: -1;
        width: 100%;
        height: 420px;
    }
    .dc-hero-image::before {
        width: 100%;
        height: 100px;
        background: linear-gradient(to top, #FAFAFA 0%, rgba(250, 250, 250, 0) 100%);
        top: auto;
        bottom: 0;
    }
    .dc-hero-content {
        width: 100%;
        padding: 40px 32px;
    }
    .dc-title {
        font-size: 38px;
    }
    .dc-hero-bottom {
        flex-direction: column;
    }
    .dc-pills {
        flex-wrap: wrap;
    }
    .dc-pill {
        flex: 0 0 50%;
    }
    .dc-stats {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.10);
    }
    .dc-stat {
        flex: 1;
    }
}

@media (max-width:600px) {
    .dc-title {
        font-size: 30px;
    }
    .dc-hero-content {
        padding: 28px 20px;
    }
    .dc-hero-image {
        height: 320px;
    }
    .dc-pill {
        flex: 0 0 100%;
    }
    .dc-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .dc-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        font-size: 13px;
    }
}