/* =========================
   HERO SECTION
========================= */

.hero {
    padding: var(--section-padding) 0;

    background: linear-gradient(
        180deg,
        var(--color-light) 0%,
        var(--color-background) 100%
    );

    position: relative;
    overflow: hidden;

}

/* =========================
   CONTAINER
========================= */

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 90px;
}

/* =========================
   CONTENT
========================= */

.hero-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    max-width: 900px;
}

/* =========================
   TITLE
========================= */

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;

    color: var(--color-primary);

    max-width: 900px;

    margin-bottom: 30px;
}

/* =========================
   DESCRIPTION
========================= */

.hero-text {
    max-width: 760px;

    font-size: 1.1rem;
    color: var(--color-text);

    text-align: justify;

    margin-top: 10px;
    margin-bottom: 35px;
}

/* =========================
   ACTIONS
========================= */

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

/* =========================
   BUTTON SYSTEM
========================= */

.btn {
    display: inline-block;

    padding: 12px 22px;

    border-radius: 10px;

    text-decoration: none;
    font-weight: 500;

    position: relative;
    overflow: hidden;

    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast),
        color var(--transition-fast);
}

/* PRIMARY */

.btn.primary {
    background: var(--color-primary-solid);
    color: #ffffff;

    box-shadow:
        0 10px 25px rgba(var(--color-primary-rgb), 0.25);
}

.btn.primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 35px rgba(var(--color-primary-rgb), 0.35);
}

/* SECONDARY */

.btn.secondary {
    background: transparent;

    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn.secondary:hover {
    background: rgba(var(--color-primary-rgb), 0.08);
    transform: translateY(-2px);
}

/* =========================
   TRUST BADGES
========================= */

.hero-badges {
    display: flex;
    flex-direction: column;

    gap: 10px;

    font-size: 0.95rem;
    color: var(--color-text-dark);
}

/* =========================
   IMAGE
========================= */

.hero-image {
    flex: 1;

    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    height: auto;

    border-radius: 22px;

    object-fit: cover;

    box-shadow:
        var(--shadow-image);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.hero-image img:hover {
    transform: translateY(-6px) scale(1.01);

    box-shadow:
        var(--shadow-image-hover);
}

/* =========================
   HERO ENTRANCE ANIMATION
========================= */

.hero-title,
.hero-text,
.hero-actions,
.hero-badges,
.hero-image {
    opacity: 0;
    transform: translateY(18px);

    animation:
        heroFadeUp 0.9s ease forwards;
}

.hero-title  { animation-delay: 0.10s; }
.hero-text   { animation-delay: 0.25s; }
.hero-actions{ animation-delay: 0.40s; }
.hero-image  { animation-delay: 0.45s; }
.hero-badges { animation-delay: 0.60s; }

@keyframes heroFadeUp {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 992px) {

    .hero-container {
        flex-direction: column;
        gap: 50px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-badges {
        align-items: center;
    }
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width: 576px) {

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {

    .hero-title,
    .hero-text,
    .hero-actions,
    .hero-badges,
    .hero-image,
    .btn,
    .hero-image img {

        animation: none !important;
        transition: none !important;

        opacity: 1;
        transform: none;
    }
}