/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;700&display=swap');

body {
    min-height: 100vh;
    background: #1b1b1b;
    padding: 40px 20px;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.main-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 7rem;
    color: white;
    font-weight: bold;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-image {
    width: 27%;
    margin-right: auto;
    transform: rotate(-20deg);
}

.content-section {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-top: 40px;
}

.image-container {
    flex-shrink: 0;
}

.framed-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    border: 15px solid white;
    border-bottom: 25px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.text-content {
    flex: 1;
}

.text-content p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 50px auto 15px auto;
    text-align: center;
    font-family: 'Lato', sans-serif;
    max-width: 70ch;
}

.container2 {
    margin: 0 auto;
    overflow: hidden;
}

.header2 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    gap: 30px;
}

.header-image2 {
    width: 22%;
    object-fit: cover;
}

h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 7rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    text-align: center;
    margin: 0;
}

.main-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.services-column {
    flex: 1;
}

.services-list {
    list-style: disc;
    padding-left: 60px;
}

.services-list li {
    color: white;
    font-family: 'Lato', sans-serif;
    margin: 15px 0;
    padding: 20px 25px;
    font-size: 1.5em;
    list-style-position: inside;
}

.tools-column {
    flex: 1;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    height: 400px;
    background: #c2d0e1;
    padding: 20px;
    border-radius: 8px;
}

.tool-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.tool-item img {
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}


.tool-item:nth-child(1) img {
    width: 45%;
}

.tool-item:nth-child(2) img {
    width: 30%;
}

.tool-item:nth-child(3) img {
    width: 55%;
}

.tool-item:nth-child(4) img {
    width: 90%;
}

.tool-item:nth-child(5) img {
    width: 30%;
}

.tool-item:nth-child(6) img {
    width: 100%;
}

.tool-item:nth-child(7) img {
    width: 50%;
}

.tool-item:nth-child(8) img {
    width: 35%;
}

.tool-item:nth-child(9) img {
    width: 60%;
}


@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .main-title,
    h1 {
        font-size: 5.4rem;
    }

    .framed-image {
        width: 350px;
        height: 450px;
    }
}


@media (max-width: 1199px) and (min-width: 992px) {

    .main-title,
    h1 {
        font-size: 5.4rem;
    }

    .header-image {
        width: 25%;
    }

    .header-image2 {
        width: 20%;
    }
}


@media (max-width: 991px) and (min-width: 769px) {
    body {
        padding: 30px 15px;
    }

    .main-title,
    h1 {
        font-size: 5rem;
    }

    .header-section {
        gap: 30px;
        margin-bottom: 40px;
    }

    .header-image {
        width: 30%;
    }

    .header-image2 {
        width: 25%;
    }

    .content-section {
        gap: 40px;
    }

    .framed-image {
        width: 280px;
        height: 370px;
    }

    .main-content {
        padding: 50px 30px;
        gap: 50px;
    }

    .services-list li {
        font-size: 1.3em;
        padding: 18px 20px;
    }

    .tools-grid {
        height: 380px;
        padding: 18px;
    }
}


@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .header-section {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .main-title {
        font-size: 3.5rem;
        position: static;
        transform: none;
    }

    .header-image {
        width: 200px;
        margin: 0;
        transform: rotate(-15deg);
    }

    .content-section {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .framed-image {
        width: 250px;
        height: 320px;
        border: 8px solid white;
        border-bottom: 8px solid white;
    }

    .text-content p {
        margin: 20px auto 15px auto;
        font-size: 1rem;
        max-width: 90%;
    }

    .header2 {
        flex-direction: column;
        padding: 40px 15px 30px;
        gap: 20px;
    }

    .header-image2 {
        width: 180px;
    }

    h1 {
        font-size: 3.5rem;
    }

    .main-content {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .services-list li {
        font-size: 1.2em;
        padding: 15px 18px;
        margin: 12px 0;
    }

    .tools-grid {
        height: 350px;
        padding: 15px;
        gap: 12px;
    }
}


@media (max-width: 480px) {
    body {
        padding: 15px 10px;
    }

    .main-title,
    h1 {
        font-size: 2.5rem;
    }

    .header-image {
        width: 150px;
    }

    .header-image2 {
        width: 140px;
    }

    .framed-image {
        width: 220px;
        height: 280px;
        border: 10px solid white;
        border-bottom: 15px solid white;
    }

    .text-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 95%;
    }

    .header2 {
        padding: 30px 10px 20px;
    }

    .main-content {
        padding: 30px 15px;
        gap: 30px;
    }

    .services-list li {
        font-size: 1.1em;
        padding: 12px 15px;
        margin: 10px 0;
    }

    .tools-grid {
        height: 300px;
        padding: 12px;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }

    .tool-item {
        padding: 8px;
    }

    
    .tool-item:nth-child(1) img,
    .tool-item:nth-child(2) img,
    .tool-item:nth-child(3) img,
    .tool-item:nth-child(4) img,
    .tool-item:nth-child(5) img,
    .tool-item:nth-child(6) img,
    .tool-item:nth-child(7) img,
    .tool-item:nth-child(8) img,
    .tool-item:nth-child(9) img {
        width: 60%;
    }
}


@media (max-width: 360px) {

    .main-title,
    h1 {
        font-size: 2rem;
    }

    .header-image {
        width: 120px;
    }

    .header-image2 {
        width: 120px;
    }

    .framed-image {
        width: 200px;
        height: 250px;
    }

    .tools-grid {
        height: 280px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }
}