
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    font-family: Roboto;
    background-color: #f0f0f0;
    padding: 60px 40px; /* Reduce el padding vertical */
    display: flex;
    justify-content: center;
    flex: 1; /* Esto hace que main ocupe el espacio disponible */
}


.container{
    display: grid;
    grid-template-columns: 450px auto;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}
.service-image{
    /*width: 350px;
    height: 400px;*/
    width: 450px;
    height: 450px;
    overflow: hidden;
    border-radius: 16px;
}
.service-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s all ease;
}
.service-image:hover img{
    transform: scale(1.1);
}

.service-info{
    width: 450px;
    height: 450px;
    max-width: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 10px;
}
.title {
    font-size: 40px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
    min-height: 2em;
    border-bottom: 1.5px solid #E8AE30;
}
.description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 2.8em;
}

strong{
    color: #333;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-button {
    width: 60%;
}

.button{
    width: 100%;
    padding: 12px;
    color: white;
    background: #E8AE30;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

.button:hover{
    background: #272525;
}

/* Tablet grande - max-width: 1024px */
@media (max-width: 1024px) {
    main {
        padding: 40px;
    }
    
    .container {
        gap: 60px;
        max-width: 900px;
        grid-template-columns: 300px auto;
    }
    
    .service-image {
        max-width: 300px;
        height: 350px;
    }
    
    .service-info {
        width: 380px;
        height: 350px;
    }
    
    .title {
        font-size: 36px;
        margin-bottom: 15px;
        min-height: 2.4em;
    }
    
    .description {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .price {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .button {
        padding: 11px;
        font-size: 13px;
    }
}

/* Tablet - max-width: 768px */
@media (max-width: 768px) {
    main {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 500px;
    }
    
    .service-image {
        width: 350px;
        max-width: 100%;
        height: 350px;
        margin: 0 auto;
    }
    
    .service-info {
        width: 100%;
        height: auto;
        gap: 15px;
    }
    
    .title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .description {
        font-size: 15px;
        margin-bottom: 15px;
        min-height: auto;
    }
    
    .price {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .link-button{
        width: 100%;
    }

    .button {
        padding: 14px;
        font-size: 14px;
    }
}

/* Mobile - max-width: 375px */
@media (max-width: 375px) {
    main {
        padding: 20px 15px;
    }
    
    .container {
        gap: 30px;
    }
    
    .service-image {
        height: 300px;
        width: 300px;
        border-radius: 12px;
    }
    
    .service-info {
        gap: 12px;
    }
    
    .title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .description {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .price {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .link-button{
        width: 100%;
    }
    
    .button {
        padding: 12px;
        font-size: 13px;
        border-radius: 5px;
    }
}