/* RESET BÁSICO */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    color: #000000;
}

/* CONTENEDOR GENERAL */
.contenedor {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CABECERA */
.header {
    background: #ffffff;
}

/* Parte superior: logo + título */
.header-top {
    text-align: center;
    padding: 40px 20px 20px;
}

.logo {
    width: 98px;   /* Tamaño real */
    height: auto;
    display: block;
    margin: 0 auto 20px;
}


.titulo-principal {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}

.titulo-principal span {
    display: block;
    font-size: 34px;
    margin-top: 8px;
    font-weight: 700;
    color: #D61C38;
}

/* VÍDEO FULL WIDTH */
.video-full {
    width: 100%;
    background: #000000;
}

.video-full-inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    max-height: 80vh;
}

.video-full-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* SECCIÓN PLATOS */
.platos {
    padding: 50px 0;
    background: #ffffff;
}

.titulo-seccion {
    text-align: center;
    font-size: 30px;
    margin: 0 0 40px;
    font-weight: 700;
}

.platos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.plato-card {
    margin: 0;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
}

.plato-card img {
    width: 100%;
    height: auto;
    display: block;
}

.plato-card figcaption {
    padding: 10px 8px 14px;
    font-weight: 600;
    font-size: 14px;
}

/* BLOQUE INFO GRIS */
.bloque-info {
    background: #222222;
    color: #ffffff;
    padding: 50px 0;
}

.bloque-info-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.bloque-texto {
    flex: 1 1 280px;
}

.bloque-texto h2 {
    margin-top: 0;
    font-size: 26px;
    margin-bottom: 10px;
}

.bloque-texto h3 {
    margin: 0 0 18px;
    font-size: 18px;
    color: #D61C38;
}

.bloque-texto p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.bloque-imagen {
    flex: 1 1 280px;
    text-align: center;
}

.bloque-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* FOOTER */
.footer {
    background: #111111;
    color: #ffffff;
    font-size: 14px;
}

/* Parte superior del footer */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 20px 20px;
}

.footer-col {
    flex: 1 1 260px;
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}

.footer-col h5 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-col p {
    margin: 0 0 10px;
}

/* Botones del footer */
.btn-footer {
    display: inline-block;
    margin: 6px 0;
    padding: 10px 16px;
    background: #333333;
    color: #D61C38;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.btn-footer:hover {
    opacity: 0.9;
}

/* Enlaces lista servicios */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
}

.footer-links a:hover {
    color: #D61C38;
}

/* Legal */
.footer-legal {
    border-top: 1px solid #333333;
    margin-top: 20px;
    padding: 20px 0 30px;
}

.legal-text {
    margin: 0 0 12px;
    line-height: 1.6;
    font-size: 12px;
}

.copyright {
    margin: 0;
    font-size: 12px;
    text-align: center;
}

/* ===== Estilos para Tablas en Contenido Legal ===== */

/* Regla general para todas las tablas dentro de bloque-texto */
.bloque-texto table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

/* Bordes y padding para todas las celdas de encabezado y datos */
.bloque-texto table th,
.bloque-texto table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top; /* Asegura que el contenido se alinee arriba */
}

/* Alineación específica para los encabezados de fila (las "claves") */
.bloque-texto table th {
    text-align: right;
    font-weight: bold;
    padding-right: 8px; /* Ajuste para que el texto no pegue al borde derecho */
}

/* Estilo para los thead de las tablas si quieres un fondo diferente y alineaciones */
.bloque-texto table thead th {
    background-color: #f2f2f2;
    font-weight: bold;
    text-align: left; /* Por defecto para los thead si no se especifica otra cosa */
}

/* Alineación específica para los TH del thead que deben ir a la derecha (si los hay) */
/* Por ejemplo, en tu tabla de cookies, "Tipo" y "Titular" son los primeros TH del thead */
.bloque-texto table thead th:nth-child(1), /* Primer TH en THEAD */
.bloque-texto table thead th:nth-child(2) /* Segundo TH en THEAD */
{
    text-align: right;
}

/* Alineación específica para celdas TD de datos en las tablas de la Política de Cookies */
/* Si quieres que las primeras dos columnas de datos (Tipo, Titular) de la tabla de cookies detalladas
   y la primera columna (Titular) de la tabla de transferencias internacionales
   estén alineadas a la derecha. */
/* Este selector es más específico, si tienes más de una tabla, puedes necesitar IDs o clases */
.bloque-texto table:nth-of-type(2) tbody td:nth-child(1), /* Primera columna de la 2ª tabla tbody */
.bloque-texto table:nth-of-type(2) tbody td:nth-child(2), /* Segunda columna de la 2ª tabla tbody */
.bloque-texto table:nth-of-type(3) tbody td:nth-child(1)  /* Primera columna de la 3ª tabla tbody */
{
    text-align: right;
}

/* Si las tablas son pocas y fijas, también puedes darles un ID único a cada una
   (ej. id="tabla-cookies-detalladas", id="tabla-transferencias")
   y usar selectores como #tabla-cookies-detalladas tbody td:nth-child(1)
   para mayor claridad y robustez. */

/* Panel Cookies*/
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Color de fondo oscuro */
    color: white; /* Texto blanco */
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    display: flex; /* Para alinear contenido */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en pantallas pequeñas */
}

#cookie-banner p {
    margin: 0 15px 0 0; /* Espacio entre el texto y el botón */
    font-size: 14px;
}

#cookie-banner a {
    color: white;
    text-decoration: underline;
}

#cookie-banner button {
    background-color: #D61C38;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#cookie-banner button:hover {
    background-color: #D61C38 
}

/* Media query para pantallas más pequeñas */
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        padding: 10px;
    }
    #cookie-banner p {
        margin: 0 0 10px 0;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .titul