
.sesion {
    display: flex;
    justify-content: center;
    align-items: center; /* en flex se usa esto, no place-items */

    background-color: black;
    color: white;

    width: 90%;
    margin: 40px auto; /* 👈 esto lo centra horizontalmente */

    padding: 20px; /* espacio interno */
    border-radius: 12px; /* 👈 bordes redondeados */

    text-align: center; /* opcional */
}

.cerrarsesion{

}
.cerrarsesion button {
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

/* Hover (cuando pasas el ratón) */
.cerrarsesion button:hover {
    background: linear-gradient(135deg, #ff1a1a, #990000);
    transform: scale(1.05);
}

/* Click */
.cerrarsesion button:active {
    transform: scale(0.95);
}

/* Sombra */
.cerrarsesion button {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.beneficios {
    padding: 10px 20px;
    text-align: center;
}

.beneficios h2 {
    font-size: 34px;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 1px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.beneficio {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Hover efecto pro */
.beneficio:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Línea decorativa */
.beneficio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #000;
    opacity: 0;
    transition: 0.3s;
}

.beneficio:hover::before {
    opacity: 1;
}

.icono {
    font-size: 40px;
    margin-bottom: 20px;
}

.beneficio h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.beneficio p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
/* HERO */

.hero {
    height: 35vh;   /* antes 50vh */
    min-height: 220px;

    background:
            linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
            url('/Vistas/Recursos/imagenesPublicas/img.png');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width:700px;
}

.hero h1 {
    font-size:48px;
    margin-bottom:20px;
    font-weight:800;
}

.hero p {
    font-size:18px;
    color:#d1d5db;
    margin-bottom:30px;
}

/* BOTÓN HERO */

.btn-hero {
    display:inline-block;
    background:#ef4444;
    color:white;
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-hero:hover {
    background:#dc2626;
    transform:scale(1.05);
}

.destacados .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.destacados .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.destacados .card img {
    height: 200px;
    object-fit: cover;
}

.precio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: bold;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
}
.titulo-destacados {
    position: relative;
}

.titulo-destacados h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 10px 0;
}

.titulo-destacados .light {
    color: #6b7280;
    font-weight: 400;
}

.titulo-destacados .highlight {
    color: #ef4444;
    position: relative;
}

.titulo-destacados .highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #ef4444;
    border-radius: 2px;
}

.titulo-destacados .subtitulo {
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
}

.titulo-destacados .linea {
    width: 60px;
    height: 4px;
    background: #ef4444;
    margin: 0 auto 15px;
    border-radius: 2px;
}
.titulo-bretones {
    font-size: 34px;
    font-weight: 800;
}

.titulo-bretones span {
    color: #ef4444;
}