body {
    line-height: 1.5;
}

main
{
    padding-top: 97px;
    
}

.hero-image
{
    position: relative;
    width: 100%;
    height: 60vh;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);
    overflow: hidden;
}

.hero-image::after
{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.699);
    z-index: 0;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
}

.hero-content
{
    position: absolute;
    display: flex;
    justify-content: center;
    

    z-index: 2;
    text-align: center;
    flex-direction: column;
    
}

.hero-content h1
{
    color: var(--color--letter-white);

    font-size: var(--step-3);
    font-family: var(--letter--type);
    margin: 0px clamp(1rem, 3vw, 3rem);
}

.hero-content p
{
    font-size: var(--step-0);
    font-family: var(--letter--type-min);
    

    color: var(--color--letter-white);
    margin: clamp(1rem, 3vw, 3rem) clamp(2rem, 4vw, 5rem);
}


.section-content {
    margin-top: clamp(2rem, 4vh, 5rem);
    padding: clamp(1rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 4vh, 3rem);
    width: min(90%, 900px);
}

.box-title {
    width: min(90%, 900px);
    margin-bottom: clamp(1rem, 2vh, 2rem);
    text-align: center;
    position: relative;
}

.title-historia {
    font-size: var(--step-2);
    font-family: var(--letter--type);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color--principal);
}

.subtitle-historia {
    font-size: var(--step--2);
    font-family: var(--letter--type-min);
    color: var(--color--letter-black);
    text-align: center;
    margin: 0px clamp(1rem, 3vw, 3rem);
    margin-top: 0.5rem;
}

.box-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color--sky-blue);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.article {
    background: #fff;
    padding: clamp(1.2rem, 2vw, 2rem);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);

    display: flex;
    flex-direction: column;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


article h3 {
    font-family: var(--letter--type);
    font-size: var(--step-1);
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--color--principal);
}

.parrafo-content {
    font-size: var(--step-0);
    font-family: var(--letter--type-min);
    color: var(--color--letter-black);
    line-height: 1.6;
}

.box-img {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.img-content {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    object-fit: cover;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

    transition: transform 0.3s ease;
}

figcaption {
    margin-top: 0.5rem;
    font-size: var(--step--1);
    font-family: var(--letter--type-min);
    color: var(--color--letter-black);
    text-align: center;
}

@media (min-width: 1000px) {
    .box-content article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }

    .img-content:hover {
    transform: scale(1.01);
    }
}