body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    color: #333;
}

/* ---------------------------- */
/* SECCIÓN PRINCIPAL (HERO)     */
/* ---------------------------- */
.hero {
    background: url("../assets/img/notaria.jpg") center/cover no-repeat;
    height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 2.7rem;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* ---------------------------- */
/* SECCIÓN SERVICIOS            */
/* ---------------------------- */
.servicios {
    padding: 40px 20px;
    text-align: center;
}

.servicios h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

/* COLUMNA VERTICAL */
.item-servicio {
    background: white;
    border: 1px solid #ccc;
    width: 300px;
    padding: 70px 20px 20px;
    margin: 20px auto;
    border-radius: 10px;
    position: relative;
}

/* Íconos distintos para cada caja (Opción B) */
.item-servicio:nth-child(2)::before { /* 1 */
    background-image: url("https://cdn-icons-png.flaticon.com/512/1827/1827272.png");
}
.item-servicio:nth-child(3)::before { /* 2 */
    background-image: url("https://cdn-icons-png.flaticon.com/512/2517/2517179.png");
}
.item-servicio:nth-child(4)::before { /* 3 */
    background-image: url("https://cdn-icons-png.flaticon.com/512/1827/1827314.png");
}
.item-servicio:nth-child(5)::before { /* 4 */
    background-image: url("https://cdn-icons-png.flaticon.com/512/1827/1827370.png");
}
.item-servicio:nth-child(6)::before { /* 5 */
    background-image: url("https://cdn-icons-png.flaticon.com/512/1827/1827319.png");
}

/* Estilos para los íconos */
.item-servicio::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Texto interno */
.item-servicio h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.precio {
    font-weight: bold;
    color: #0043a4;
    margin-top: 10px;
}

.nota {
    font-size: 0.85rem;
    color: #444;
    margin-top: 20px;
}

/* ---------------------------- */
/* FOOTER                       */
/* ---------------------------- */
footer {
    background: #222;
    padding: 15px;
    color: white;
    text-align: center;
}