:root {
    --marron-oscuro: #4b2c0d;
    --marron-principal: #724300;
    --beige: #f6ecda;
    --beige-claro: #f7f1e7;
    --beige-oscuro: #E6D7B8;
    --naranja-tierra: #b27a0b;
        }
        
/* Header con imagen completa */

body{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* HEADER */
.page-header {
    width: 100%;
    height: 80vh;
    position: relative;
    margin-bottom: 2rem;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.header-img-float{
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
    z-index: 111111111111;
    height: 13rem;
    width: 30rem;
    
}

/* SECCION 1 */

/* ===== SECCIÓN PÁRRAFO DESTACADO ===== */
.highlight-section {
    padding: 5rem 1rem 1rem ;
    background: var(--beige-claro);
    position: relative;
    overflow: hidden;
}

.highlight-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.highlight-text {
    color: var(--marron-principal);
    font-size: 1.4rem;
    line-height: 1.7;
    text-align: center;
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 2;
    padding: 1rem;
}

/* SECCION 2 */

.image-text-section {
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-text-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; /* Eliminamos el gap para que estén pegados */
    align-items: center;
    justify-items: center;
}

/* Contenido izquierdo: Texto */
.text-content {
    padding: 1.5rem;
    padding-left: 2.5rem;
    border-radius: 15px 0 0 15px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(75, 44, 13, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-content-impar{
    border-radius: 0 15px 15px 0;
}

.content-subtitle {
    font-size: 2rem;
    color: var(--naranja-tierra);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    margin-left: 0.5rem;
    font-weight: 400;
    position: relative;
}

.content-text-levels {
    color: var(--marron-principal);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    padding: 1rem 1rem;
    width: 100%;
}

.content-text-levels:last-child {
    margin-bottom: 0;
}

/* ul PARA LAS SECCIONES 4-7 */
.content-ul{
    padding: 1rem 2.5rem;
    line-height: 1.5;
    color: var(--marron-principal);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

/* Contenido derecho: Imagen */
.image-content {
    width: 105%;
    height: 100%;
    border-radius: 0 15px 15px 0;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(75, 44, 13, 0.1);
    z-index: 11;
    position: relative;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* SECCION 3 */
.gallery-inclined {
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.inclined-item {
    border-radius: 12px;
    overflow: hidden;
    transform: rotate(15deg);
    transition: transform 0.4s ease;
    height: 350px;
}

.inclined-item:nth-child(even) {
    transform: rotate(2deg);
}

.inclined-item:nth-child(3) {
    transform: rotate(-10deg);
}

.inclined-item:hover {
    transform: rotate(0deg);
}

.inclined-item:nth-child(even):hover {
    transform: rotate(0deg);
}

.inclined-item:nth-child(3):hover {
    transform: rotate(0deg);
}

.inclined-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

/* RESPONSIVE */


@media (max-width: 900px){

    .page-header {
        height: 50vh;
    }

    .content-subtitle{
        font-size: 1.8rem;
    }

    .content-text-levels {
        font-size: 0.8rem;
    }

    .content-ul{
        font-size: 1rem;
    }
}

@media (max-width: 800px) {
    .page-header {
        height: 40vh;
    }

    .header-image{
        height: 100%;
    }

    .header-img-float{
        top: 95%;
        height: 8rem;
        width: 20rem;
    }
    
    
    .highlight-section {
        padding: 4rem 1.5rem;
    }
    
    .highlight-text {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    
    .highlight-text::before {
        top: -1.5rem;
        left: -0.5rem;
        font-size: 3.5rem;
    }
    
    .highlight-text::after {
        bottom: -2.5rem;
        right: -0.5rem;
        font-size: 3.5rem;
    }

    .image-text-section {
        padding: 3rem 1rem;
    }
    
    .image-text-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .text-content {
        padding: 2.5rem;
        border-radius: 15px 15px 0 0;
        order: 2;
        position: relative;
        top: -20px;
        border-radius: 15px;
        
    }
    
    .image-content {
        border-radius: 0 0 15px 15px;
        order: 1;
        z-index: 1;
    width: 100%;

    }
    
    .content-subtitle {
        font-size: 1.8rem;
    }
    
    .content-text-levels {
        font-size: 1.05rem;
    }
    
    .content-image {
        height: 350px;
    }

    .content-ul{
        font-size: 0.8rem;
    }

    .gallery-inclined {
        gap: 1.2rem;
    }
    
    .inclined-item {
        height: 350px;
        transform: rotate(-2deg);
    }

    
    .inclined-item:nth-child(even) {
        transform: rotate(1deg);
    }
    
    .inclined-item:nth-child(3) {
        transform: rotate(-0.5deg);
    }

}

@media (max-width: 600px) {
    
    .page-header{
        height: 35vh;
    }

    .header-img-float{
        height: 6rem;
        width: 16rem;
    }

    .highlight-section {
        padding: 3.5rem 1rem;
    }
    
    .highlight-text {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .highlight-text::before {
        top: -1rem;
        left: 0;
        font-size: 3rem;
    }
    
    .highlight-text::after {
        bottom: -2rem;
        right: 0;
        font-size: 3rem;
    }

    .image-text-section {
        padding: 2.5rem 1rem;
    }
    
    .text-content {
        padding: 2rem;
    }
    
    .content-subtitle {
        font-size: 1.6rem;
        margin-top: 0.5rem;
    }
    
    .content-text-levels {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
    }
    
    .content-image {
        height: 300px;
    }

    .gallery-inclined {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        gap: 1rem;
        max-width: 500px;
        margin: 0 auto;
        padding: 1.5rem;
    }
    
    .inclined-item {
        height: auto;
        transform: rotate(-1deg);
    }
    
    .inclined-item:nth-child(even) {
        transform: rotate(1deg);
    }
    
    .inclined-item:nth-child(3) {
        transform: rotate(-0.5deg);
    }
    
    .inclined-item:hover {
        transform: rotate(0deg) scale(1.02);
    }

    
}

@media (max-width: 400px) {

    .page-header{
        height: 20vh;
    }

    .header-img-float{
        height: 4rem;
        width: 10rem;
    }

    
    .highlight-section {
        padding: 3rem 0.8rem;
    }

    
    .highlight-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .highlight-text::before {
        top: -0.8rem;
        font-size: 2.5rem;
    }
    
    .highlight-text::after {
        bottom: -1.5rem;
        font-size: 2.5rem;
    }

    .image-text-section {
        padding: 2rem 0.5rem;
    }
    
    .text-content {
        padding: 1.5rem;
        border-radius: 12px 12px 0 0;
    }
    
    .image-content {
        border-radius: 0 0 12px 12px;
    }
    
    .content-subtitle {
        font-size: 1.4rem;
    }
    
    .content-text-levels {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .content-image {
        height: 250px;
    }

    .gallery-inclined {
        gap: 0.3rem;
    }
    
    .inclined-item {
        height: auto;
        border-radius: 10px;
    }

}