body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e0f7fa, #ffc2ef);
    color: #333;
    line-height: 1.7;
}

header {
    background-color: #38c172;
    color: white;
    text-align: center;
    padding: 60px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em;
    font-weight: 600;
    margin: 0;
}

main {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.servicios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px;
}

.servicio {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 2px dashed #20c997;
}

.servicio a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.servicio i {
    font-size: 3em;
    color: #20c997;
    margin-bottom: 15px;
}

.servicio h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #20c997;
}

.servicio p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

.volver-inicio {
    text-align: center;
    margin-top: 40px;
}

.volver-inicio a {
    display: inline-flex;
    align-items: center;
    background-color: #20c997;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.volver-inicio a:hover {
    background-color: #1a9c78;
}

.volver-inicio i {
    margin-right: 10px;
}