/* =========================
   BASE
========================= */

body{
    padding-top:80px;
    background:linear-gradient(135deg,#e70808,#ac0a0a,#810202);
    font-family:'Montserrat',sans-serif;
    color: #ffffff;
    display:flex;
    flex-direction:column;
    min-height:100vh;
}

main{
    flex:1;
    margin: 0;
    padding: 0;

}


/* ancho general de la web */
.container{
    max-width:1100px;
    margin:0 auto;
}


/* =========================
   TIPOGRAFÍA
========================= */

h1,h2,h3,h4{
    font-family:'Oswald',sans-serif;
}

.section-title{
    font-size:2rem;
    color:#ffffff;
    border-bottom:2px solid #e0e0e0;
    display:inline-block;
    padding-bottom:.5rem;
    margin-bottom:2rem;
}


/* =========================
   TEXTO
========================= */

.parrafo-centro{
    max-width:1100px;
    margin:0 auto;
    padding:0 15px;

    text-align:justify;
    text-align-last:left;

    font-size:18px;
    line-height:1.8;
    color:#ffffff;
}

.parrafo-centro-plus{
    max-width:1100px;
    margin:0 auto;
    padding:0 15px;

    font-size:18px;
    line-height:1.8;
    color:#ffffff;
}


/* =========================
   HERO
========================= */

.hero{
    padding:10px 0;
}

.hero-logo {
    display: block;       /* convierte la imagen en bloque para que los márgenes funcionen */
    margin: 40px auto 60px auto; /* 40px arriba, auto horizontal (centrado), 60px abajo */
    max-height: 120px;      /* evita que se desborde del contenedor */
    object-fit: contain;
}

.portada-img{
    max-width:420px;
    border-radius:12px;
}


/* =========================
   VIDEO
========================= */

.video-container {
    margin-top: 40px; /* espacio arriba, separa el video del título */
    margin-bottom: 30px; /* opcional, espacio debajo del video */
    position: relative; /* si tienes botones sobre el video */
}

.hero-video{
    width:100%;
    height:auto;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.sound-btn{
    position:absolute;
    bottom:15px;
    right:15px;

    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(6px);

    color:white;
    border:none;
    padding:10px 12px;
    border-radius:50%;

    font-size:18px;
    cursor:pointer;
    z-index:10;
}

.sound-btn:hover{
    background:rgba(0,0,0,0.8);
}


/* =========================
   MENÚ
========================= */

.menu-fixed{
    position:fixed;
    top:0;
    width:100%;

    background:#000;

    display:flex;
    align-items:center;
    justify-content:center;
    height: 70px;
    padding:18px 20px;
    z-index:2000;
}

.menu-center{
    display:flex;
    gap:30px;
    font-size:18px;
}

.menu-center a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
    white-space:nowrap;
    letter-spacing:.5px;
}

.menu-center a:hover{
    color:#ff0000;
}

/* idiomas */

.menu-right{
    position:absolute;
    right:20px;
    display:flex;
    gap:8px;
}

.btn-lang{
    border:2px solid #d10202;
    color:#fff;
    padding:4px 8px;
    text-decoration:none;
}

.btn-lang.active{
    background:#e40101;
    color:#000;
}

/* hamburguesa */

.menu-toggle{
    display:none;
    color:#da0303;
    font-size:22px;
    cursor:pointer;
}


/* =========================
   EMPRESAS LOGOS
========================= */

.empresa-logo{
    height:auto;
    max-width:150px;
    object-fit:contain;
    
    opacity:.85;
    transition:all .3s ease;
}

.empresa-logo:hover{
    opacity:1;
    transform:scale(1.1);
}


/* =========================
   TARJETAS BENEFICIOS
========================= */

.beneficio-card{

    background: rgb(255, 255, 255);
    border-radius: 12px;
    padding: 25px;

    display: flex;
    flex-direction: column;

    align-items: center;     /* centra horizontalmente */
    justify-content: flex-start; /* contenido arriba */

    text-align: center;

    min-height: 200px;
    height: 100%;

    transition: all 0.3s ease;
}

.beneficio-card img{
    max-height:70px;
    margin-bottom:15px;
    object-fit:contain;
}

.beneficio-card:hover{
    transform: translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

.beneficio-card h4{
    font-weight:700;
    margin-bottom:15px;
    font-size:1.5rem;
    color:#000000;
    text-align:left;
}

.beneficio-card p{

    font-size:1rem;
    line-height:1.6;
    color:#000000;

    text-align:justify;
    text-align-last:left;
}


/* =========================
   FORMULARIO
========================= */

.formulario-flat input,
.formulario-flat textarea{

    width:100%;
    padding:12px 15px;
    margin-bottom:15px;

    border:none;
    border-radius:8px;

    background:rgba(255,255,255,0.1);

    color:#ffffff;
    font-size:1rem;

    resize:none;
}

.formulario-flat input::placeholder,
.formulario-flat textarea::placeholder{
    color:#ffffff;
}

.formulario-flat input:focus,
.formulario-flat textarea:focus{
    outline:none;
    background:rgba(255,255,255,0.15);
}

.formulario-flat button{

    width:100%;
    padding:12px;

    border:none;
    border-radius:8px;

    background:#1c1c1c;
    color:#fff;

    font-weight:600;
    cursor:pointer;

    transition:.3s;
}

.formulario-flat button:hover{
    background:#000;
    transform:translateY(-2px);
}


/* =========================
   BLOQUE EDITORIAL (texto + imagen)
========================= */

.bloque-revista{

    max-width:1100px;
    margin-top: 40px;
    margin-bottom: 100px;
    padding:0 0px;

    font-size:1.1rem;
    line-height:1.8;

    text-align:justify;
    text-align-last:left;
}

.imagen-revista{

    float:right;

    width:480px;
    max-width:55%;

    margin-left:30px;
    margin-bottom:20px;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}


/* =========================
   FOOTER
========================= */

footer{
    background:#000;
    color:#fff;
    padding:20px 0;
    text-align:center;
}


/* =========================
   GRID CENTRADO
========================= */

.col-6.col-md-4{

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:150px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width:768px){

.hero{
    padding:10px 0;
}

.hero-logo{
    max-width:300px;
    width:70%;
}

.menu-fixed{
    justify-content:space-between;
}

.menu-toggle{
    display:block;
}

.menu-center{

    position:absolute;
    top:60px;
    left:0;

    width:100%;

    background:#000;

    flex-direction:column;
    align-items:center;

    gap:20px;
    padding:20px 0;

    display:none;
}

.menu-center.active{
    display:flex;
}

/* imagen editorial */

.imagen-revista{

    float:none;
    display:block;

    width:100%;
    max-width:100%;

    margin:20px 0;
}

}


.unete-card{
    position: relative;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    padding: 40px;
    color: white;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}


.unete-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.unete-card h1, h2{
    position: relative;
    z-index: 2;
}

.form-card{

    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px;

    display: flex;
    flex-direction: column;

    align-items: center;     /* centra horizontalmente */
    justify-content: flex-start; /* contenido arriba */

    text-align: center;

    min-height: 200px;
    height: 100%;

    transition: all 0.3s ease;
}


.tarifas-card{

    background: rgba(0,0,0);
    border-radius: 12px;
    padding: 25px;
    color: #fff;

    display: flex;
    flex-direction: column;

    align-items: center;     /* centra horizontalmente */
    justify-content: flex-start; /* contenido arriba */

    text-align: center;

    min-height: 100px;
    height: 100%;

    transition: all 0.3s ease;
}


/* =========================
   CALENDARIO
========================= */

#calendario{
    max-width:900px;
    margin:auto;
    background:rgb(255, 255, 255);
    padding:20px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}


/* cabecera (mes y botones) */

.fc .fc-toolbar-title{
    font-family:'Oswald',sans-serif;
    font-size:1.8rem;
    color:#1c1c1c;
}

.fc .fc-button{
    background:#1c1c1c;
    border:none;
    color:#fff;
    border-radius:6px;
    padding:6px 10px;
}

.fc .fc-button:hover{
    background:#000;
}

.fc .fc-button-primary:not(:disabled).fc-button-active{
    background:#ffffff;
    color:#000;
}

/* celdas del calendario */

.fc-theme-standard td,
.fc-theme-standard th{
    border:1px solid rgba(0,0,0,0.08);
}

.fc .fc-col-header-cell{
    background:rgba(0,0,0,0.05);
    font-weight:600;
}

/* número del día */

.fc-daygrid-day-number{
    color:#1c1c1c;
    font-weight:600;
}

/* eventos */

.fc-event{
    background:#000000;
    border:none;
    color:#000;
    font-weight:600;
    border-radius:6px;
    padding:2px 4px;
}

.fc-event:hover{
    background:#ff0000;
    cursor: pointer;
    
}

/* día actual */

.fc-day-today{
    background:rgba(255, 0, 0, 0.342) !important;
}

/* Cabecera días de la semana */
.fc-col-header-cell a {
    color: #1c1c1c;      /* mismo color que tu texto */
    text-decoration: none; /* quita subrayado */
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
}

.fc-col-header-cell {
    background: rgba(212, 175, 55, 0.1); /* dorado suave */
    border-bottom: 1px solid rgba(0,0,0,0.1);
}


/* =========================
   CALENDARIO RESPONSIVE
========================= */

#calendario{
    max-width:900px;
    margin:auto;
}

/* botones */

.fc .fc-button{
    font-size:14px;
    padding:6px 10px;
}

/* móvil */

@media (max-width:768px){

#calendario{
    padding:10px;
}

.fc-toolbar-title{
    font-size:1.2rem;
}

.fc .fc-button{
    font-size:12px;
    padding:4px 8px;
}

/* eventos más legibles */

.fc-event{
    font-size:12px;
}

/* cabecera días */

.fc-col-header-cell{
    font-size:12px;
}

}


/* Modal base */
.modal {
    display: none; /* oculto por defecto */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* fondo semi-transparente */
}

/* Contenido del modal */
.modal-content {
    background-color: #1c1c1c;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    color: #fff;
    text-align: center;
}

/* Cerrar */
.modal .close {
    color: #ff0000;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal .close:hover {
    color: #fff;
}

/* Título */
.modal-content h2 {
    margin-top: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
}

/* Fecha */
.modal-content p:first-of-type {
    font-weight: 600;
    color: #ff0000;
    margin-bottom: 15px;
}






.ajuntament{

    background-color: none;
}