/* vales.css */

/* Portada */
.vales-portada {
    width: 100%;
    background: #0eb3f0;
    line-height: 0;
}

.vales-portada .container {
    line-height: 0;
}

.vales-portada img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main */
.vales-main {
    background: #0eb3f0;
    padding: 60px 0 80px;
}

/* Sección base */
.vales-seccion {
    background: rgba(0, 60, 120, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    padding: 36px 44px;
    margin-bottom: 28px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.3s ease;
}

.vales-seccion:hover {
    background: rgba(0, 60, 120, 0.32);
}

.vales-seccion p {
    font-family: var(--font-main);
    font-size: 1rem;
    color: #fff;
    line-height: 1.8;
}

/* Título H2 cursiva centrado */
.vales-titulo-h2 {
    font-family: var(--font-main);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    font-style: italic;
    color: #233e77;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 14px;
}

.vales-titulo-h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: rgba(35, 62, 119, 0.5);
    border-radius: 2px;
}

/* Título grande destacado */
.vales-titulo-grande {
    font-family: var(--font-main);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    font-style: italic;
    color: #233e77;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 14px;
}

.vales-titulo-grande::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: rgba(35, 62, 119, 0.5);
    border-radius: 2px;
}

/* Listas */
.vales-lista {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vales-lista li {
    font-family: var(--font-main);
    font-size: 0.97rem;
    color: #fff;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    border-left: 3px solid rgba(35,62,119,0.5);
    word-break: break-word;
    overflow-wrap: break-word;
}

.vales-lista li i {
    color: #233e77;
    font-size: 0.55rem;
    margin-top: 7px;
    flex-shrink: 0;
}

.vales-lista li strong {
    word-break: break-all;
}

/* Contenedor de texto dentro del li */
.vales-lista li > span {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Sección destacada */
.vales-destacada {
    background: rgba(0, 50, 110, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Modalidades grid */
.vales-modalidades {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vales-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px 28px;
}

.vales-card h3 {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 800;
    color: #233e77;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(35,62,119,0.25);
}

.vales-card h3 i {
    font-size: 1.2rem;
    color: #233e77;
}

.vales-card .vales-lista li {
    background: rgba(255,255,255,0.08);
}

/* Beneficios grid */
.vales-beneficios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.vales-beneficio {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.vales-beneficio:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-3px);
}

.vales-beneficio i {
    font-size: 1.5rem;
    color: #233e77;
    flex-shrink: 0;
    margin-top: 2px;
    width: 28px;
    text-align: center;
}

.vales-beneficio span {
    font-family: var(--font-main);
    font-size: 0.92rem;
    color: #fff;
    line-height: 1.65;
}

/* Importante */
.vales-importante {
    background: rgba(35, 62, 119, 0.18);
    border: 2px solid rgba(35, 62, 119, 0.4);
    text-align: center;
}

.vales-importante p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.vales-importante .vales-titulo-grande i {
    color: #f97316;
}

/* Responsive */
@media (max-width: 768px) {
    .vales-main { padding: 30px 0 50px; }

    .vales-seccion { padding: 24px 20px; }

    .vales-modalidades,
    .vales-beneficios-grid {
        grid-template-columns: 1fr;
    }
}
