.hero-wrapper {
    background: #fefefe;
    width: 100%;
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 32px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
    padding: 80px 0 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    width: 100%;
}

.hero-heading {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 61px;
    line-height: 1;
    color: #222021;
    text-align: center;
    letter-spacing: -1.83px;
    z-index: 4;
    position: relative;
}

.underlined-text {
    position: relative;
    display: inline-block;
}

.underlined-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 16px;
    background-image: url('../images/597620418df560220c856f1f9dc41bf7bfb82987.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 21px;
    line-height: 1.42;
    color: #222021;
    text-align: center;
    z-index: 2;
}

.hero-button {
    background: #fee400;
    color: #222021;
    padding: 12px 24px;
    border-radius: 48px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.48px;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 228, 0, 0.3);
}

.hero-images {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}

.hero-image {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.hero-image-1 {
    width: calc((100% - 32px) / 3);
    height: 560px;
}

.hero-image-2 {
    width: calc((100% - 32px) / 3);
    height: 560px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.1);
}

.image-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: calc((100% - 32px) / 3);
}

.hero-image-3 {
    width: 100%;
    height: 240px;
}

.hero-image-4 {
    width: 100%;
    height: 304px;
}

/* Responsive design */
@media (max-width: 1200px) {
    .hero-container {
        padding: 0 24px;
    }

    .hero-images {
        gap: 12px;
    }

    .hero-image-1,
    .hero-image-2,
    .hero-image-3,
    .hero-image-4 {
        width: calc((100% - 24px) / 3);
    }

    .hero-image-1,
    .hero-image-2 {
        height: 420px;
    }

    .hero-image-3 {
        height: 180px;
    }

    .hero-image-4 {
        height: 228px;
    }
}

@media (max-width: 768px) {
    .hero {
        gap: 48px;
        padding: 80px 0 0;
    }

    .hero-content {
        height: auto;
        gap: 24px;
    }

    .hero-heading {
        font-size: 42px;
        letter-spacing: -1.26px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-images {
        flex-direction: column;
        gap: 12px;
    }

    .image-column {
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }

    .hero-image-1,
    .hero-image-2,
    .hero-image-3,
    .hero-image-4 {
        width: 100%;
        height: 240px;
    }

    .image-column .hero-image-3,
    .image-column .hero-image-4 {
        width: calc(50% - 6px);
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 16px;
    }

    .hero {
        padding: 60px 0 0;
        gap: 32px;
    }

    .hero-heading {
        font-size: 32px;
        letter-spacing: -0.96px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .image-column {
        flex-direction: column;
    }

    .image-column .hero-image-3,
    .image-column .hero-image-4 {
        width: 100%;
    }
}