/* ============================================
   GENERAL STYLES
============================================ */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #C9BDB1;
    padding-top: 80px; /* Ajusta este valor según la altura de tu header */
}

/* ============================================
   MAIN CONTENT
============================================ */
.entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.wp-block-group {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.wp-block-group + .wp-block-group {
    padding-top: 0;
}

.wp-block-columns {
    gap: 40px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.wp-block-group h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #333;
}

.wp-block-group h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #333;
}

.wp-block-group p,
.wp-block-column p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-section {
    background-color: #d6c7b3;
    padding: 60px 0;
}

.contact-info-columns {
    margin-top: 0;
    text-align: center;
}

.contact-info-columns h3 {
    margin-bottom: 1rem;
}

.wp-block-group a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wp-block-group a:hover {
    color: #0056b3;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-section,
.hero-banner,
.wp-block-cover {
    position: relative;
    width: 100%;
    height: 450px;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before,
.hero-banner::before,
.wp-block-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.wp-block-cover h1,
.hero-section h1,
.hero-banner h1 {
    color: white;
    font-size: 5rem;
    margin: 0;
    padding: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title,
.entry-title,
.wp-block-post-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.swiper {
    width: 100%;
    height: 600px; /* Ajusta esto según la altura que quieras */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-mobile {
    width: 100%;
    height: 75vh; /* 75% de la altura de la pantalla */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-mobile .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.swiper-mobile .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.full-width-columns {
    width: 100%;
    display: flex;
    min-height: 500px;
    margin: 0;
    padding: 0;
}

.image-column {
    background-image: url('ruta-a-tu-imagen.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.text-column {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f8f8f8;
}

.text-column h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.text-column p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}
/* Estilos base de la página de contacto */
.contact-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.contact-hero h1 {
    color: #d6c7b3;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-box {
    background: #d6c7b3;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

/* ... resto de estilos base ... */

/* Estilos para el formulario minimalista */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #000;
}

.form-description {
    font-size: 1rem;
    color: #333;
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.required {
    color: #000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 0.5rem 0;
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    border: 1px solid #000;
    padding: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #87CEEB;
}

/* Estilos para los checkboxes */
.checkbox-group {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #000;
    margin: 0;
}

.privacy-link {
    color: #87CEEB;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Botón de enviar */
.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: #87CEEB;
    color: #fff;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
}

.submit-button:hover {
    background-color: #70b4d4;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 1rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
}
.contact-page-container {
    background-color: #d6c7b3; /* mismo fondo que el body */
    padding: 2rem;           /* espacio interno, ajústalo a tu gusto */
}

/* Estilos personalizados para Contact Form 7 */
/* Estilos personalizados para Contact Form 7 */
.wpcf7 form {
    max-width: 600px; /* Ancho máximo en escritorio */
    width: 100%; /* Ocupa el 100% del ancho disponible */
    margin: 0 auto;
    padding: 2rem;
}

.wpcf7 label {
    display: block;
    font-size: 1rem;
    color: #000;
    margin-bottom: 0.5rem;
    width: 100%; /* Ocupa el 100% del ancho */
}

.wpcf7 .wpcf7-form-control {
    width: 100%; /* Ocupa el 100% del ancho */
    border: none;
    border-bottom: 1px solid #000;
    padding: 0.5rem 0;
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s ease;
}

.wpcf7 .wpcf7-form-control:focus {
    outline: none;
    border-color: #87CEEB;
}

/* Ajustar el textarea */
.wpcf7 textarea.wpcf7-form-control {
    min-height: 120px;
    border: 1px solid #000;
    padding: 0.5rem;
    width: 100%; /* Ocupa el 100% del ancho */
}

/* Estilos para los checkboxes */
.wpcf7 .wpcf7-form-control-wrap {
    margin-bottom: 1rem;
}

.wpcf7 input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

/* Botón de enviar */
.wpcf7 input.wpcf7-submit {
    width: 100%;
    padding: 1rem;
    background-color: #87CEEB;
    color: #fff;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
}

.wpcf7 input.wpcf7-submit:hover {
    background-color: #70b4d4;
}

/* Estilos para móviles */
@media (max-width: 768px) {
    .wpcf7 form {
        padding: 1rem; /* Menos padding en móviles */
    }

    .wpcf7 .wpcf7-form-control,
    .wpcf7 textarea.wpcf7-form-control {
        width: 100%; /* Ocupa el 100% del ancho en móviles */
    }
}

/* Ajustar espacio interno de las columnas */
.wp-block-columns.is-style-compact-columns {
    /* Si tu tema está usando gap (espacio entre columnas), puedes reducirlo */
    gap: 1rem; /* Ajusta a tu gusto */
    margin-bottom: 0; /* O reduce si quieres menos espacio debajo */
  }
  
  /* Ajustes de los títulos e íconos para que queden más pegados */
  .wp-block-columns.is-style-compact-columns h2,
  .wp-block-columns.is-style-compact-columns h3,
  .wp-block-columns.is-style-compact-columns .wp-block-heading {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    /* Ajusta según el espaciado que desees */
  }
  
  .wp-block-columns.is-style-compact-columns .wp-block-separator {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    /* Ajusta también el grosor, color, etc. si quieres */
  }
  
  /* Si quieres acercar más los iconos al texto */
  .wp-block-columns.is-style-compact-columns img,
  .wp-block-columns.is-style-compact-columns svg {
    margin: 0 0.25em; /* Ajusta según necesites */
    vertical-align: middle; /* Para alinearlos verticalmente al texto */
  }

/* Estilo para los separadores */
.wp-block-separator.separador {
    border-bottom: 1px solid #000000 !important;
    opacity: 0.2 !important;
    width: 100% !important;
    margin-top: 20px !important;
    margin-bottom: 10px;
}
.biosca-menu-columns.wp-block-columns,
.wp-block-columns.biosca-menu-section {
    height: 70px;
    gap: 0.15em !important; /* Reducimos el espacio entre columnas */
    margin-top: 0.15em !important; /* Reducimos el margen superior */
    margin-bottom: 0.15em !important; /* Reducimos el margen inferior */
}

/*AJUSTES VISUAL PARA ELEMENTOS ALÉRGENOS */

.alergenos-block {
    text-align: left; /* Fuerza el texto a alinearse a la izquierda */
  }
  
  /* Ajustes para cada línea de alérgenos */
  .alergeno-line {
    margin: 0.2rem 0;     /* Espacio vertical mínimo entre líneas */
    font-size: 0.9rem;    /* Reduce el tamaño de fuente */
    line-height: 1.2;     /* Hace el texto más compacto */
    font-weight: normal;  /* Por si tu tema aplica negrita por defecto */
  }
  
  /* Ajustes para el icono dentro de cada línea */
  .alergeno-line img {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 0.3em;
  }

/* Quita los bordes de tabla por defecto y hace que
   las celdas compartan bordes */
/* Evitar bordes dobles y forzar celdas a compartir bordes */
.tabla-personalizada table {
    border-collapse: collapse;
    width: 100%; /* Ajusta según necesites */
  }
  
  /* Quitar cualquier borde por defecto y permitir pseudo-elementos */
  .tabla-personalizada table th,
  .tabla-personalizada table td {
    border: none;
    position: relative; /* Necesario para posicionar líneas parciales */
    padding: 8px;
  }
  
  /* 1) Línea de abajo parcial (90% de ancho), excluyendo la última fila */
  .tabla-personalizada table tr:not(:last-child) th,
  .tabla-personalizada table tr:not(:last-child) td {
    /* Un poco más de padding abajo para que la línea no tape el texto */
    padding-bottom: 12px;
  }
  .tabla-personalizada table tr:not(:last-child) th::after,
  .tabla-personalizada table tr:not(:last-child) td::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;           /* Comienza al 5% de la celda */
    width: 90%;         /* Ocupa el 90% del ancho */
    border-bottom: 1px solid #ccc; /* Línea suave */
  }
  
  /* 2) Línea derecha parcial (90% de alto), excluyendo la última columna */
  .tabla-personalizada table th:not(:last-child),
  .tabla-personalizada table td:not(:last-child) {
    /* Un poco más de padding a la derecha para no tapar el texto */
    padding-right: 12px;
  }
  .tabla-personalizada table th:not(:last-child)::before,
  .tabla-personalizada table td:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 5%;           /* Empieza un 5% desde arriba */
    right: 0;          /* Se alinea al borde derecho */
    height: 90%;       /* Recorre el 90% de la altura */
    border-right: 1px solid #ccc;
  }