body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #d8f3dc, #f8f9fa);
    color: #333;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Contenedor principal */
.container {
    max-width: 850px;
    background-color: #ffffff;
    padding: 45px;
    margin: 50px 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 15px;
    position: relative;
    animation: fadeIn 1s ease;
}

/* Detalle decorativo superior */
.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #1b4332, #2d6a4f, #52b788);
    border-radius: 15px 15px 0 0;
}

/* Título principal */
h1 {
    color: #1b4332;
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

/* Línea decorativa bajo el título */
h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #52b788;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Imagen */
.image-wrapper {
    text-align: center;
    margin: 35px 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Texto */
p {
    text-align: justify;
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 20px;
}

/* Primera letra estilo editorial */
p::first-letter {
    font-size: 2rem;
    font-weight: bold;
    color: #2d6a4f;
    float: left;
    margin-right: 8px;
    line-height: 1;
}

/* Animación suave de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}