/* HERO SECTION */
.hero {
    display: flex;
    align-items: flex-start;
    padding: 24px 0 72px;
    background: radial-gradient(circle at 100% 0%, rgba(174, 199, 178, 0.38) 0%, transparent 50%),
                radial-gradient(circle at 0% 100%, rgba(39, 57, 90, 0.10) 0%, transparent 50%);
    min-height: calc(100vh - var(--dt-chrome-h, 123px));
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 68px;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary-color);
    font-style: italic;
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(174, 199, 178, 0.45);
    z-index: -1;
}

.hero-content p {
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    overflow: visible;
}

.hero-image-wrap {
    position: relative;
    border-radius: 30px;
    overflow: visible;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    transform: rotate(3deg);
    transition: var(--transition);
}

.hero-image-photo {
    border-radius: 30px;
    overflow: hidden;
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    z-index: 2;
    pointer-events: none;
}

.hero-image-wrap:hover {
    transform: rotate(0deg) scale(1.03);
}

.hero-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 30px;
    transform: scale(1.05);
}

/* FLOATING ELEMENTS — sit fully on the photo so they are not clipped */
.floating-badge {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    bottom: 24px;
    left: 20px;
    animation: float 4s ease-in-out infinite;
}

.floating-badge.top-right {
    top: 28px;
    right: 20px;
    left: auto;
    bottom: auto;
    animation-delay: 1s;
}

.badge-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.badge-text h4 {
    font-size: 16px;
    margin: 0 0 2px 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.badge-text p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.2;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 16px 0 48px;
    }
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content h1 {
        font-size: 52px;
    }
    .hero-content p {
        margin: 0 auto 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .floating-badge {
        padding: 10px 14px;
        gap: 10px;
        bottom: 16px;
        left: 12px;
    }
    .floating-badge.top-right {
        right: 12px;
        top: 16px;
    }
}

.elementor-widget-dt-home-hero,
.elementor-widget-dt-home-hero > .elementor-widget-container,
.elementor-element[data-widget_type="dt-home-hero.default"] {
    overflow: visible !important;
}

.elementor-widget-dt-home-hero > .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}
