/* Estilos temáticos para las cards de servicios */

/* Modificar la altura de las imágenes en las cards */
.card-image {
  aspect-ratio: 16 / 9; /* Cambiar de 1:1 a 16:9 para hacerlas menos altas */
  position: relative;
  

  aspect-ratio: 4/3;
}

/* Atenuar las imágenes y añadir overlay corporativo */
.card-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: linear-gradient(
    135deg,
    rgba(0, 166, 182, 0.7) 0%,
    rgba(0, 138, 153, 0.6) 50%,
    rgba(0, 107, 117, 0.8) 100%
  );*/
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity:.6;
}

/* Atenuar la imagen de fondo */
.card-image img {
  /*filter: brightness(0.9) contrast(0.9) saturate(0.2);*/
  transition: filter 0.3s ease, transform 0.3s ease;
}



.channels {
    padding-bottom: 0;
}
.channel-cards {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.channel-card{
    border:none;
    box-shadow:none;
}

/* Efectos hover más sutiles */
.channel-card:hover .card-image::before {
  opacity: 0.3;
    mix-blend-mode: saturation;
}

.channel-card:hover .card-image img {
  filter: brightness(1) contrast(1) saturate(1);
  transform: scale(1.02); /* Reducir el scale del hover */
}

/* Ajustar el botón para que se vea mejor sobre el nuevo diseño */
.channel-card .btn {
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

  color:var(--primario);
  background:#fff;
  box-shadow:none;
    margin-top: 0;
    font-size:1.1rem;
    line-height: 1.4;
    padding-inline:0;
}

    .channel-card .btn span {
        display: block;
        color: var(--gris-1);
        margin-top: var(--spacing-xs);
        font-weight:400;

    }

/* Reducir la elevación del hover de toda la card */
.channel-card:hover {
  transform: translateY(-3px); /* Reducir de -5px a -3px */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); /* Sombra más sutil */

  box-shadow:none;
}

    .channel-card h3 {
        color: var(--primario);
        
        margin-top: 0;
        font-size: 1.1rem;
        line-height: 1.4;
        text-align:center;
        padding-top:.75rem;
        margin-bottom:0;
    }
        .channel-card h3 + span {
            font-size: 1.1rem;
            text-align:center;
             color: var(--gris-1);
            margin-top: var(--spacing-xs);
            font-weight:400;
        }



.channels h2 {
    text-align: center;
}

.channels .section-intro {
        margin: 0 auto var(--spacing-lg) auto;
}

.section-intro a:hover,
.section-intro a:focus {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}






/*.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primario);
    opacity: .5;
    mix-blend-mode: darken;
}*/


/*.header {
    background-color:#231f20;
}*/



/* Barra Superior */
.top-bar {
  background-color: #544e45;
  background: #9f6f24;
  background: #0E3293;
  background:var(--primario);
}
.top-bar-link {
    color:#fff;
}


/*.top-bar-link {
  color: #eee;
  
}*/

/*.top-bar-link:hover {
  color: #fff;
}*/



/*.top-bar-phone a {
  color: #eee;
 
}*/

/*.top-bar-phone a:hover {
  color: #fff;
}*/


@media (min-width: 992px){
    .page-hero h1 {
        max-width: 45%;
        max-width: 22ch;

        max-width: 15ch;
        margin-right: 0;
    }
}

.main-nav a {
    font-weight: 500;
    /*color: #544e45;*/
}

/*.main-nav a:hover {
  color: #fff;
}*/



/* Botón de Reservas en el menú */
.nav-button {
 
  /*border: 2px solid #544e45;*/
  border-radius: 4px;
  
  color: #544e45;
  
}

.nav-button:hover {
  background-color: var(--primario-oscuro);
  border-color:var(--primario-oscuro);
  color:#fff!important;

    background-color: var(--primario-casi-blanco);
    color: var(--primario)!important;
}


.nav-button:hover svg {
    color: #fff;
    color: var(--primario);
}


/* Dropdown menu styles */

/*.midropdown {
  position: absolute;
 
  background-color: #111;
  border-color:#000;
  
}*/




/*.midropdown a {
  
 
  color: #ddd;
  
}*/

/*.midropdown a:hover {
  background-color: #e30304;
  color: #fff;
}*/



/*.main-footer {
    background-color: var(--primario);    
}*/

.channels .section-intro .btn{
    margin: 0 auto;
    display: block;
    width: fit-content;
    transform: translateX(-10%);
    text-decoration:none;
}


.footer-section .titulo {
    border-color: var(--primario-muy-claro);
}



.events-social {
    margin-top:var(--spacing-xl);
}

.channel-cards {
    grid-template-columns: repeat(auto-fit, minmax(166px, 1fr));
    margin-top: var(--spacing-xl);
}






/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--gris-6);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    color: var(--primario);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--primario);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    line-height: 1.4; /* Aumentar interlineado */
    gap: var(--spacing-md); /* Añadir espacio entre título y símbolo */
}

.faq-question:hover {
    background-color: var(--gris-6);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: bold;
    color: var(--primario);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    /*padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;*/
    box-sizing: border-box; /* importante */
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease, padding 300ms ease;
}

.faq-answer.active {
    padding: var(--spacing-md);
    /*max-height: 200px;*/
}

.faq-answer p {
    color: var(--gris-1);
    line-height: 1.6;
    margin: 0;
}

    .faq-answer :is(ul, ol) {
        list-style:initial;
        padding-left: inherit;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .contact-form {
        padding: var(--spacing-md);
    }

    .faq-question {
        font-size: 16px;
        padding: var(--spacing-sm);
    }

    .faq-answer.active {
        padding: var(--spacing-sm);
    }

    .checkbox-group {
        align-items: flex-start;
    }

    .checkbox-group .error-message {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .contact-form h2 {
        font-size: 1.5rem;
    }

    .submit-btn {
        font-size: 16px;
        padding: 14px;
    }

    .faq-question {
        font-size: 15px;
    }
}

h1 span {
    font-size:.8em;
    font-size: .6em;
    display: block;
    margin-top: 0.6em;
    color: #eee;
}

 .botonera-inicio {
        
        margin-inline: auto;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

 .botonera-inicio a.btn{
        margin:0;
        margin-top:var(--spacing-xs);
    }
    .botonera-inicio a.btn-primary {
        background-color: #699e00;
    }
    .botonera-inicio a.btn-primary:hover {
        background-color: #111;
    }
@media (min-width: 992px) {
    .botonera-inicio {
        display:flex;
        justify-content:center;
        flex-wrap: nowrap;
        gap:var(--spacing-md);
        width: 488px;
        margin-right: 0;
    }
}

.calendar-events-container{
    padding-bottom:0;
    margin-bottom:0;
}
#disponibilidad {
    margin-bottom:var(--spacing-lg);
}


.page-hero {
    
    align-items: flex-start;
    
}
@media (min-width: 576px) {
    .page-hero {
        align-items: center;
    }
}
