/**
 * Tema: BC TravelPress
 * Archivo: main.css
 * Descripción: Estilos base, variables de marca y tipografías.
 */

/* ==========================================================================
   1. VARIABLES (Custom Properties)
   ========================================================================== */
:root {
  /* Paleta de Colores Corporativa */
  --bc-orange: #df6208; /* Principal */
  --bc-yellow: #f3a105; /* Secundario / Hover */
  --bc-terracotta: #8c2904; /* Sombras / Bordes */
  --bc-light: #fdfdfd; /* Fondos / Texto contrastante */
  --bc-dark: #1a1a1a; /* Texto principal (Mejor contraste que #000 puro) */
  --bc-bg-body: #f4f6f8; /* Fondo general sutil */

  /* Tipografías */
  --font-heading: "Lobster", cursive;
  --font-body: "Nunito", sans-serif;

  /* Espaciados y Layout (Escala de 8px) */
  --spacing-xs: 0.5rem; /* 8px */
  --spacing-sm: 1rem; /* 16px */
  --spacing-md: 1.5rem; /* 24px */
  --spacing-lg: 2rem; /* 32px */
  --spacing-xl: 3rem; /* 48px */

  /* Bordes y Transiciones */
  --border-radius: 8px;
  --transition-fast: 0.2s ease-in-out;
}

/* ==========================================================================
   2. DECLARACIÓN DE FUENTES (@font-face) - Archivos TTF Locales
   ========================================================================== */

/* Lobster: Fuente estática regular */
@font-face {
  font-family: "Lobster";
  src: url("../fonts/Lobster/Lobster-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* Previene texto invisible mientras carga */
}

/* Nunito: Fuente Variable (Soporta múltiples pesos en un solo archivo) */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito/Nunito-VariableFont_wght.ttf") format("truetype");
  /* Al ser una fuente variable, declaramos el rango de pesos que soporta (usualmente 200 a 1000) */
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

/* Opcional: Si necesitas usar itálicas explícitamente en Nunito */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito/Nunito-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   3. RESET MODERNO Y ACCESIBILIDAD
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Base de 16px. Scroll suave si el usuario no tiene preferencias de reducción de movimiento */
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--bc-dark);
  background-color: var(--bc-bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   4. TIPOGRAFÍA BASE
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--bc-orange);
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
  font-weight: 400; /* Lobster ya es bastante gruesa por defecto */
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

p {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--bc-orange);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--bc-terracotta);
  text-decoration: underline;
}

/* ==========================================================================
   5. COMPONENTES GLOBALES (Botones)
   ========================================================================== */
.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bc-light);
  background-color: var(--bc-orange);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.bc-btn:hover,
.bc-btn:focus {
  background-color: var(--bc-yellow);
  color: var(--bc-dark); /* Mejor contraste en hover amarillo */
  text-decoration: none;
  transform: translateY(-2px); /* Micro-interacción */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bc-btn-outline {
  background-color: transparent;
  color: var(--bc-orange);
  border-color: var(--bc-orange);
}

.bc-btn-outline:hover {
  background-color: var(--bc-orange);
  color: var(--bc-light);
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN (Sticky, Light Theme & Multilang)
   ========================================================================== */

/* Contenedor principal para alinear el ancho máximo */
.bc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ⚡ Cabecera Sticky Optimizada */
.bc-site-header {
  background-color: var(
    --bc-light
  ); /* Fondo claro para resaltar el logo naranja */
  padding: var(--spacing-sm) 0;
  position: sticky; /* Comportamiento fijo nativo (WPO: 0 bytes de JS) */
  top: 0;
  z-index: 999; /* Capa superior segura */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: padding var(--transition-fast);
}

.bc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
}

/* 1. Logotipo */
.bc-header-logo img {
  max-width: 180px;
  height: auto;
  display: block;
}

/* 2. Navegación Nivel Superior */
.bc-primary-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-primary-menu > li > a {
  color: var(--bc-dark);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.bc-primary-menu > li.current-menu-item > a,
.bc-primary-menu > li:hover > a {
  color: var(--bc-orange);
  text-decoration: none;
}

/* ⚡ Flechas de submenú (CSS Puro) */
.bc-primary-menu .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  border-top: 5px solid currentColor;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-bottom: 0;
  transition: transform var(--transition-fast);
  transform-origin: center 2.5px;
}

.bc-primary-menu .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

.bc-primary-menu li.menu-item-has-children {
  position: relative;
}

/* 3. Submenús (Dropdowns) Nivel 2 */
.bc-primary-menu ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bc-light);
  min-width: 220px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  border-top: 3px solid var(--bc-orange);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);
  z-index: 100;
}

.bc-primary-menu li.menu-item-has-children:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bc-primary-menu ul.sub-menu li a {
  color: var(--bc-dark);
  padding: 10px 20px;
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast);
}

.bc-primary-menu ul.sub-menu li a:hover {
  color: var(--bc-orange);
  background-color: var(--bc-bg-body);
  text-decoration: none;
}

/* ⚡ 4. Submenús Nivel 3 (Prevención de Solapamiento) */
.bc-primary-menu ul.sub-menu ul.sub-menu {
  top: -3px; /* Alineado con el borde superior del padre */
  left: 100%; /* Desplegado a la derecha */
  border-radius: var(--border-radius);
  margin-left: 2px;
}

/* Evitar que los últimos submenús se salgan por la derecha de la pantalla */
.bc-primary-menu > li:nth-last-child(1) ul.sub-menu ul.sub-menu,
.bc-primary-menu > li:nth-last-child(2) ul.sub-menu ul.sub-menu {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 2px;
}

/* Flecha de Nivel 3 (apuntando al lado) */
.bc-primary-menu ul.sub-menu .menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bc-primary-menu ul.sub-menu .menu-item-has-children > a::after {
  transform: rotate(-90deg);
}

.bc-primary-menu ul.sub-menu .menu-item-has-children:hover > a::after {
  transform: rotate(-90deg); /* No rota al hacer hover en el Nivel 3 */
}

/* 5. Acciones del Header */
.bc-header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

/* ⚡ 6. Selector de Idiomas (Polylang) - CORREGIDO PARA MÓVILES (FLEX-SHRINK) */
.bc-lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-right: 1px solid #eaeaea; /* Línea separadora */
  padding-right: 15px;
}

.bc-lang-switcher li {
  line-height: 1;
}

.bc-lang-switcher li a {
  display: block;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition-fast);
}

.bc-lang-switcher li.current-lang a,
.bc-lang-switcher li a:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

.bc-lang-switcher img {
  width: 24px !important; 
  height: auto !important;
  min-width: 24px;
  flex-shrink: 0; /* Evita que la bandera se aplaste si falta espacio */
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Lupa de Búsqueda */
.bc-search-toggle {
  background: transparent;
  border: none;
  color: var(--bc-dark);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.bc-search-toggle:hover {
  color: var(--bc-orange);
  transform: scale(1.1);
}

/* Botón CTA (Píldora) */
.bc-btn-header {
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  box-shadow: 0 4px 15px rgba(223, 98, 8, 0.3);
}

.bc-btn-header:hover {
  box-shadow: 0 6px 20px rgba(223, 98, 8, 0.4);
}

/* ==========================================================================
   FULLSCREEN SEARCH OVERLAY (DISEÑO PREMIUM)
   ========================================================================== */
.bc-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(
    20,
    20,
    20,
    0.98
  ); /* Fondo casi negro puro para máximo contraste */
  backdrop-filter: blur(
    12px
  ); /* Desenfoca fuertemente el sitio detrás (Glassmorphism) */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Estado inicial oculto */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.bc-search-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ⚡ Botón de Cerrar (Estilo Minimalista) */
.bc-search-close {
  position: absolute;
  top: 2.5rem;
  right: 3rem;
  background: transparent;
  border: none;
  color: #666;
  font-size: 3.5rem; /* X gigante y elegante */
  font-weight: 300;
  cursor: pointer;
  transition:
    color var(--transition-fast),
    transform 0.4s ease;
  z-index: 2;
}

.bc-search-close:hover {
  color: var(--bc-orange);
  transform: rotate(90deg) scale(1.1); /* Micro-interacción fluida al pasar el mouse */
}

/* Contenedor Animado */
.bc-search-container {
  width: 100%;
  max-width: 1000px; /* Muy ancho para dar respiración al texto */
  padding: 0 var(--spacing-md);
  /* Efecto Zoom-in + Slide-up */
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bc-search-overlay.is-active .bc-search-container {
  transform: scale(1) translateY(0);
  opacity: 1;
  transition-delay: 0.1s; /* Retraso para que el fondo cargue antes que el formulario */
}

/* ⚡ Formulario y Línea Inferior */
.bc-custom-search-form {
  width: 100%;
}

.bc-search-input-group {
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15); /* Línea translúcida */
  padding-bottom: 10px;
  transition: border-color var(--transition-fast);
}

.bc-search-input-group:focus-within {
  border-color: var(
    --bc-orange
  ); /* Toda la línea se pinta de naranja al escribir */
}

.bc-search-icon-wrapper {
  font-size: 2.5rem;
  color: var(--bc-orange);
  margin-right: 25px;
}

/* ⚡ Input de Búsqueda Gigante */
.bc-search-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--bc-light);
  font-size: clamp(2rem, 5vw, 4.5rem); /* Texto colosal y responsive */
  font-weight: 800;
  font-family: var(--font-body);
  outline: none;
  padding: 0;
  box-shadow: none;
}

.bc-search-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 400;
}

/* Botón de Enviar Premium */
.bc-search-submit {
  background-color: var(--bc-orange);
  color: var(--bc-light);
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-left: 20px;
  transition: all var(--transition-fast);
  box-shadow: 0 5px 20px rgba(223, 98, 8, 0.2);
}

.bc-search-submit:hover {
  background-color: var(--bc-yellow);
  color: var(--bc-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(243, 161, 5, 0.4); /* Resplandor dorado en hover */
}

/* Texto de Ayuda */
.bc-search-helper {
  color: #777;
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 65px; /* Alineado con el inicio del texto, ignorando la lupa */
}

/* ==========================================================================
   RESPONSIVE HEADER (Tablet & Mobile)
   ========================================================================== */

.bc-mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--bc-dark);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.bc-mobile-menu-toggle:hover {
  color: var(--bc-orange);
}

@media (max-width: 991px) {
  /* ⚡ 1. Ajuste de Flexbox para evitar desbordamiento horizontal */
  .bc-header-inner {
    gap: 10px; /* Reducimos el espacio gigante por defecto */
  }

  .bc-header-actions {
    gap: 12px; /* Reducimos la separación entre iconos */
  }

  .bc-header-logo img {
    max-width: 130px; /* Logo ligeramente más compacto */
  }

  .bc-hide-mobile {
    display: none !important;
  }

  .bc-mobile-menu-toggle {
    display: block;
  }

  /* Menú Móvil Desplegable */
  .bc-header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bc-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eaeaea;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s;
    z-index: 998;
  }

  .bc-header-nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .bc-primary-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-sm) var(--spacing-md);
    gap: 0;
  }

  .bc-primary-menu > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .bc-primary-menu > li:last-child {
    border-bottom: none;
  }

  .bc-primary-menu > li > a {
    padding: 1rem 0;
    width: 100%;
    justify-content: space-between;
  }

  /* Acordeón Móvil (Nivel 2) */
  .bc-primary-menu ul.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    display: none;
    background-color: var(--bc-bg-body);
    margin-bottom: 1rem;
  }

  .bc-primary-menu li.menu-item-has-children.is-open > ul.sub-menu {
    display: block;
  }

  .bc-primary-menu li.menu-item-has-children.is-open > a::after {
    transform: rotate(180deg);
  }

  /* Acordeón Móvil (Nivel 3) */
  .bc-primary-menu ul.sub-menu ul.sub-menu {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin-left: 1rem;
    border-left: 2px solid rgba(223, 98, 8, 0.3);
    border-top: none;
    padding-left: 0.5rem;
  }

  .bc-primary-menu ul.sub-menu .menu-item-has-children > a::after {
    transform: rotate(0deg) !important;
  }

  .bc-primary-menu ul.sub-menu .menu-item-has-children.is-open > a::after {
    transform: rotate(180deg) !important;
  }

  /* ⚡ 2. Banderas de Idioma - Equilibrio perfecto */
  .bc-lang-switcher {
    border-right: none;
    padding-right: 0;
    gap: 8px; /* Las juntamos un poco más */
  }

  .bc-lang-switcher img {
    width: 25px !important; /* Tamaño ideal: legibles pero sin romper la cabecera */
    min-width: 25px;
  }
}

/* ⚡ Ajuste extremo para teléfonos muy pequeños (ej. pantallas de 360px o menos) */
@media (max-width: 400px) {
  .bc-header-logo img {
    max-width: 100px; /* Achicamos el logo al máximo legible */
  }
  .bc-header-actions {
    gap: 8px;
  }
  .bc-mobile-menu-toggle {
    font-size: 1.3rem;
  }
  .bc-search-toggle {
    font-size: 1.1rem;
  }
}

/* Responsive Búsqueda Fullscreen */
@media (max-width: 768px) {
  .bc-search-close {
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
  }

  .bc-search-input-group {
    flex-direction: column;
    border-bottom: none; 
    gap: 15px;
  }

  .bc-search-icon-wrapper {
    display: none; 
  }

  .bc-search-input {
    width: 100%;
    text-align: center; 
    font-size: 2.2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15); 
    padding-bottom: 10px;
  }

  .bc-search-input:focus {
    border-color: var(--bc-orange);
  }

  .bc-search-submit {
    width: 100%;
    margin-left: 0;
    margin-top: 15px;
    padding: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
  }

  .bc-search-helper {
    margin-left: 0;
    text-align: center;
    margin-top: 20px;
  }
}

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

.bc-site-footer {
  background-color: var(--bc-dark); /* Color oscuro del mockup */
  color: var(--bc-light);
  padding-top: var(--spacing-xl);
}

/* 1. Encabezado "Get In Touch" */
.bc-footer-heading {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.bc-badge {
  display: inline-block;
  background-color: rgba(223, 98, 8, 0.15); /* Naranja transparente */
  color: var(--bc-orange);
  padding: 0.3rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
}

.bc-footer-heading h2 {
  color: var(--bc-light);
  margin: 0;
}

/* 2. Fila de Contacto (Grid) */
.bc-footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.bc-contact-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.bc-contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.bc-icon-wrapper {
  background-color: var(--bc-orange);
  color: var(--bc-light);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bc-item-details strong {
  display: block;
  font-size: 0.9rem;
  color: var(--bc-light);
  margin-bottom: 2px;
}

.bc-item-details p,
.bc-item-details a {
  margin: 0;
  color: #a0a0a0;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bc-item-details a:hover {
  color: var(--bc-orange);
}

/* Redes Sociales */
.bc-footer-socials {
  display: flex;
  gap: 10px;
}

.bc-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--bc-light);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.bc-footer-socials a:hover {
  background-color: var(--bc-orange);
  transform: translateY(-3px);
}

/* Divisor */
.bc-footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: var(--spacing-lg) 0;
}

/* 3. Área Principal de Widgets (CSS Grid) */
.bc-footer-widgets {
  display: grid;
  /* ⚡ ESTRUCTURA 4 COLUMNAS: La primera un 50% más ancha para el párrafo largo */
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.bc-widget-title {
  color: var(--bc-light);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-body);
  font-weight: 700;
}

.bc-about-text {
  color: #a0a0a0;
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.bc-footer-logo img {
  max-width: 150px;
  filter: brightness(0) invert(1); /* Truco CSS: Vuelve blanco el logo naranja para mejor contraste, quítalo si tu logo ya es blanco */
}

/* Menús del Footer */
.bc-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bc-footer-menu li {
  margin-bottom: 0.8rem;
}

.bc-footer-menu a {
  color: #a0a0a0;
  text-decoration: none;
  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.bc-footer-menu a:hover {
  color: var(--bc-orange);
  padding-left: 5px; /* Micro-interacción */
}

/* 4. Copyright Bar */
.bc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-md) 0;
  background-color: #141414; /* Tono ligeramente más oscuro para separar */
}

.bc-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.bc-copyright {
  color: #888;
  font-size: 0.9rem;
}

/* Créditos del Desarrollador */
.bc-developer-credit {
  color: #888;
  font-size: 0.9rem;
}

.bc-developer-credit a {
  color: var(--bc-orange);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.bc-developer-credit a:hover {
  color: var(--bc-light);
}

/* ==========================================================================
   RESPONSIVE FOOTER
   ========================================================================== */
@media (max-width: 991px) {
  .bc-footer-widgets {
    /* En tablet, pasa a ser un grid de 2x2 para que nada se aplaste */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bc-footer-contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .bc-contact-items {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .bc-footer-widgets {
    grid-template-columns: 1fr; /* 1 columna en móvil */
    gap: 2.5rem; /* Más separación vertical entre bloques en móvil */
  }

  .bc-bottom-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   FRONT PAGE: HERO SLIDER
   ========================================================================== */

.bc-hero-section {
  position: relative;
  width: 100%;
  /* Altura fluida: 85% del viewport, mínimo 600px para que no se aplaste */
  height: 85vh;
  min-height: 600px;
  background-color: var(--bc-dark);
  overflow: hidden;
  /* Evita que el slider tape el menú si este hace dropdown */
  z-index: 1;
}

.bc-hero-slider,
.bc-hero-slider .splide__track,
.bc-hero-slider .splide__list,
.bc-hero-slider .splide__slide {
  height: 100%;
  width: 100%;
}

/* 1. Fondo e Imagen */
.bc-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
}

.bc-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.bc-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente para asegurar legibilidad: Oscuro abajo/izquierda, transparente arriba/derecha */
  background: linear-gradient(
    to right,
    rgba(26, 26, 26, 0.9) 0%,
    rgba(26, 26, 26, 0.4) 50%,
    rgba(26, 26, 26, 0.1) 100%
  );
  z-index: 1;
}

/* 2. Contenido (Texto) */
.bc-hero-content-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.bc-hero-content {
  max-width: 650px;
  color: var(--bc-light);
}

.bc-hero-badge {
  display: inline-block;
  background-color: var(--bc-yellow);
  color: var(--bc-dark);
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.bc-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--bc-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* Mejora lectura sobre fotos brillantes */
}

.bc-hero-meta {
  margin-bottom: var(--spacing-lg);
}

.bc-hero-price {
  display: inline-flex;
  flex-direction: column;
}

.bc-hero-price small {
  font-size: 1rem;
  color: #ddd;
}

.bc-hero-price strong {
  font-size: 2.5rem;
  color: var(--bc-orange);
  font-family: var(--font-heading); /* Uso del Lobster para el precio */
  line-height: 1;
}

.bc-btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* 3. Animaciones WPO al cambiar de Slide */
/* Estado inicial (invisible y movido hacia abajo) */
.bc-hero-badge,
.bc-hero-title,
.bc-hero-meta,
.bc-hero-actions {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado activo (Añadido por Splide JS) - Efecto cascada usando delay */
.splide__slide.is-active .bc-hero-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.splide__slide.is-active .bc-hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.splide__slide.is-active .bc-hero-meta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}
.splide__slide.is-active .bc-hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

/* 4. Controles (Flechas) */
.bc-custom-arrows .splide__arrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--bc-light);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.bc-custom-arrows .splide__arrow:hover {
  background: var(--bc-orange);
  transform: scale(1.1);
}

.bc-custom-arrows .splide__arrow svg {
  display: none;
} /* Ocultamos SVG nativo de Splide, usamos FA */

/* ==========================================================================
   FRONT PAGE: BUSCADOR SUPERPUESTO (Overlap)
   ========================================================================== */

.bc-search-overlap-section {
  position: relative;
  z-index: 10; /* Debe estar por encima del Hero */
  /* ⚡ Aquí ocurre la magia de la superposición */
  margin-top: -60px;
  margin-bottom: var(--spacing-xl);
}

.bc-search-box {
  background-color: var(--bc-light);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg) var(--spacing-xl);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Sombra elegante para despegarlo del fondo */
}

/* Usamos Grid para estructurar exactamente como en la imagen (5 columnas) */
.bc-tour-search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: var(--spacing-md);
  align-items: flex-end; /* Alinea los inputs y el botón por la base */
}

.bc-form-group {
  display: flex;
  flex-direction: column;
}

.bc-form-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bc-dark);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-body);
}

.bc-form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 1rem;
  color: #555;
  background-color: #fff;
  font-family: var(--font-body);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none; /* Limpia el estilo nativo de selects en iOS */
  -moz-appearance: none;
  appearance: none;
}

/* Custom Select Arrow */
select.bc-form-control {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

.bc-form-control:focus {
  border-color: var(--bc-orange);
  box-shadow: 0 0 0 3px rgba(223, 98, 8, 0.1);
}

.bc-btn-search {
  height: 48px; /* Iguala la altura de los inputs */
  padding: 0 2.5rem;
  font-size: 1.1rem;
  width: 100%;
}

/* ==========================================================================
   RESPONSIVE: BUSCADOR SUPERPUESTO
   ========================================================================== */
@media (max-width: 1024px) {
  .bc-tour-search-form {
    /* En tablets, pasamos a 3 columnas */
    grid-template-columns: repeat(2, 1fr) auto;
  }
}

@media (max-width: 768px) {
  .bc-search-overlap-section {
    margin-top: -40px; /* Reducimos la superposición en móviles */
    padding: 0 var(--spacing-sm);
  }

  .bc-search-box {
    padding: var(--spacing-md);
  }

  .bc-tour-search-form {
    /* En móviles, 1 sola columna apilada */
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .bc-form-submit {
    margin-top: var(--spacing-sm);
  }
}

/* ==========================================================================
   COMPONENTES GLOBALES (Reutilizables en todo el sitio)
   ========================================================================== */
.bc-section-padding {
  padding: var(--spacing-xl) 0;
}

.bc-text-center {
  text-align: center;
}

.bc-section-header {
  margin-bottom: var(--spacing-xl);
}

.bc-badge-light {
  /* Fondo naranja con 15% de opacidad y texto naranja puro */
  background-color: rgba(223, 98, 8, 0.15);
  color: var(--bc-orange);
}

/* Opcional: Si quieres que el título también tenga un acento de la marca al hacer hover */
.bc-destination-card:hover .bc-destination-name {
  transform: translateY(-5px);
  color: var(
    --bc-yellow
  ); /* Cambiado a amarillo/dorado para mayor contraste sobre foto oscura */
}

.bc-section-title {
  font-family: var(
    --font-body
  ); /* La imagen usa una fuente sans-serif en negrita, no cursiva */
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--bc-dark);
  margin-top: var(--spacing-xs);
}

/* ==========================================================================
   FRONT PAGE: DESTINOS (Tarjetas Splide)
   ========================================================================== */

.bc-destinations-section {
  background-color: var(--bc-bg-body); /* Fondo gris muy tenue/blanco */
}

.bc-destination-card {
  display: block;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  /* Proporción 4:5 ideal para retratos/móviles (WPO: Previene CLS) */
  aspect-ratio: 4 / 5;
  text-decoration: none;
  /* Aceleración de hardware para la animación de escala */
  transform: translateZ(0);
}

.bc-destination-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Gradiente oscuro solo en la base para hacer legible el texto */
.bc-destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  transition: height 0.3s ease;
}

.bc-destination-name {
  position: absolute;
  bottom: var(--spacing-sm);
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--bc-light);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  z-index: 2;
  margin: 0;
  padding: 0 var(--spacing-sm);
  transition: transform 0.3s ease;
}

/* Interacción Hover (Desktop) */
.bc-destination-card:hover .bc-destination-img {
  transform: scale(1.08); /* Zoom sutil a la foto */
}

.bc-destination-card:hover .bc-destination-overlay {
  height: 80%; /* Oscurece un poco más al interactuar */
}

.bc-destination-card:hover .bc-destination-name {
  transform: translateY(-5px);
  color: var(--bc-orange);
}

/* Ajustes de los controles de Splide para esta sección */
.bc-destinations-slider .splide__pagination {
  bottom: -2rem;
}
.bc-destinations-slider .splide__pagination__page.is-active {
  background: var(--bc-orange) ;
}

/* ==========================================================================
   FRONT PAGE: SOBRE NOSOTROS
   ========================================================================== */

.bc-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bc-about-text {
  color: #666; /* Texto descriptivo más suave para mejorar la jerarquía visual */
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

/* Lista de Características (Tarjetas con sombra) */
.bc-about-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bc-about-features li {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  font-weight: 700;
  color: var(--bc-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.bc-about-features li:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.bc-about-features li i {
  color: var(--bc-orange);
  font-size: 1.2rem;
}

/* ⚡ Imagen en forma de Arco (WPO & CSS) */
.bc-about-image-wrapper {
  position: relative;
  width: 100%;
  /* Reservamos el espacio para evitar CLS */
  aspect-ratio: 4 / 5;
}

.bc-arch-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen llene el contenedor sin deformarse */
  /* Crea un arco perfecto arriba, esquinas rectas abajo */
  border-radius: 500px 500px 0 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   RESPONSIVE: SOBRE NOSOTROS
   ========================================================================== */
@media (max-width: 991px) {
  .bc-about-grid {
    /* En tablets, apilamos la imagen y el texto */
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bc-about-image-wrapper {
    /* Limitamos el ancho de la imagen para que no sea absurdamente grande */
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .bc-about-features {
    /* En móviles pequeños, las características pasan a 1 sola columna */
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FRONT PAGE: QUIÉNES SOMOS & ESTADÍSTICAS
   ========================================================================== */

/* Tarjeta contenedora blanca con sombra flotante */
.bc-stats-card {
  background-color: var(--bc-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: var(--spacing-lg);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.bc-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ⚡ Círculo de progreso WPO (CSS Puro sin SVGs) */
.bc-progress-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  /* Dibuja el progreso usando la variable CSS --progress definida en el HTML */
  background: conic-gradient(var(--bc-orange) var(--progress), #edf2f7 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* El pseudo-elemento crea el "hueco" del anillo */
.bc-progress-circle::before {
  content: "";
  position: absolute;
  /* inset determina el grosor de la línea del anillo (8px) */
  inset: 8px;
  background-color: var(--bc-light);
  border-radius: 50%;
}

/* Texto del porcentaje */
.bc-progress-circle span {
  position: relative; /* Asegura que el texto se renderice por encima del pseudo-elemento blanco */
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--bc-dark);
  font-family: var(--font-body);
}

.bc-stat-label {
  font-weight: 700;
  color: var(--bc-dark);
  font-size: 0.95rem;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE: ESTADÍSTICAS
   ========================================================================== */
@media (max-width: 991px) {
  /* En tablets/móviles, invertimos el orden para que el texto/estadísticas 
       aparezcan primero y la imagen después, mejorando la retención de lectura */
  .bc-who-we-are-section .bc-about-grid {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 576px) {
  .bc-stats-card {
    padding: 1.5rem;
  }

  .bc-progress-circle {
    width: 90px;
    height: 90px;
  }

  .bc-progress-circle span {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   FRONT PAGE: SERVICIOS POPULARES (Dark Theme)
   ========================================================================== */

/* Ajustes auxiliares para modo oscuro */
.bc-services-section {
  background-color: #16181a; /* Un tono ligeramente diferente al --bc-dark base para dar profundidad */
}

.bc-text-white {
  color: var(--bc-light) !important;
}

.bc-badge-dark {
  background-color: rgba(255, 255, 255, 0.05); /* Fondo gris translúcido */
  color: var(
    --bc-orange
  ); /* Adaptado al color de tu marca en lugar del verde */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cuadrícula (4 columnas) */
.bc-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Tarjeta individual */
.bc-service-card {
  background-color: #1a1c1e; /* Más oscuro que el fondo para crear relieve negativo */
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bc-service-card:hover {
  transform: translateY(-8px);
  background-color: #1e2023; /* Se aclara ligeramente al hacer hover */
}

/* Ícono */
.bc-service-icon {
  font-size: 3.5rem;
  color: var(--bc-orange);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.bc-service-card:hover .bc-service-icon {
  transform: scale(1.1); /* Micro-interacción: el icono crece */
}

/* Si usas SVG exportado, asegúrate de que herede el color */
.bc-service-icon svg {
  width: 60px;
  height: 60px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* Textos de la tarjeta */
.bc-service-title {
  color: var(--bc-light);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 1rem;
}

.bc-service-text {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1; /* Empuja el enlace "Leer Más" siempre hacia abajo */
}

/* Enlace "Leer más" */
.bc-service-link {
  color: var(--bc-light);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.bc-service-link i {
  transition: transform var(--transition-fast);
}

.bc-service-link:hover {
  color: var(--bc-orange);
  text-decoration: none;
}

.bc-service-link:hover i {
  transform: translateX(5px); /* La flecha se mueve a la derecha */
}

/* ==========================================================================
   RESPONSIVE: SERVICIOS
   ========================================================================== */
@media (max-width: 1200px) {
  .bc-services-grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* 2 columnas en pantallas medianas / tablets */
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .bc-services-grid {
    grid-template-columns: 1fr; /* 1 columna en móviles */
  }

  .bc-service-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   COMPONENTE: TARJETA DE TOUR (Card Tour) Refactorizado
   ========================================================================== */

.bc-tour-card {
  background-color: var(--bc-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #f0f0f0; /* Define sutilmente los bordes sobre fondos blancos */
}

.bc-tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* A. Cabecera e Imagen */
.bc-tour-card-header {
  position: relative;
  width: 100%;
  height: 250px;
}

.bc-tour-card-thumb {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bc-tour-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bc-tour-card:hover .bc-tour-card-thumb img {
  transform: scale(1.08);
}

/* Badge de Precio Flotante */
.bc-tour-card-price {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--bc-orange);
  color: var(--bc-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(223, 98, 8, 0.4);
  z-index: 2;
}

.bc-price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.bc-price-amount {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-heading); /* Usa Lobster para dar toque Premium */
}

/* B. Cuerpo de la tarjeta */
.bc-tour-card-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Bloque Superpuesto (Rating) */
.bc-tour-card-meta-float {
  background-color: #ffffff;
  border-radius: 50px;
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start; /* Evita que ocupe todo el ancho */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  margin-top: -20px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.bc-tour-rating {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--bc-dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

.bc-tour-rating i {
  color: var(--bc-yellow); /* Estrella dorada */
}

.bc-tour-rating small {
  color: #888;
  font-weight: 400;
  font-size: 0.8rem;
  margin-left: 4px;
}

/* Textos Principales */
.bc-tour-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.bc-tour-card-title a {
  color: var(--bc-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bc-tour-card-title a:hover {
  color: var(--bc-orange);
}

/* ⚡ Grid de Metadatos del Tour */
.bc-tour-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columnas */
  gap: 12px 10px;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #eaeaea; /* Línea separadora sutil */
}

.bc-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
}

.bc-meta-item i {
  color: var(--bc-orange);
  font-size: 1rem;
  width: 18px; /* Fija el ancho del icono para que el texto de todas las columnas alinee perfecto */
  text-align: center;
}

.bc-tour-card-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Botón inferior */
.bc-tour-card-action {
  margin-top: auto;
  width: 100%;
}

.bc-btn-tour {
  width: 100%; /* Botón de ancho completo para facilitar el toque en móviles */
  border-radius: 6px; /* Diseño más corporativo que el redondeo al 100% */
  padding: 0.8rem 1rem;
}

/* ==========================================================================
   FRONT PAGE: TOURS RECIENTES
   ========================================================================== */

.bc-recent-tours-section {
  background-color: #ffffff; /* Regresamos a fondo blanco puro para hacer contraste con la sección oscura anterior */
}

/* ⚡ Prevención de Clipping en Sombras/Hover (WPO Fix) */
.bc-tours-slider .splide__track {
  /* Añadimos padding arriba y abajo para que las sombras y transformaciones de las tarjetas no se corten */
  padding: 1rem 0 2rem 0;
  /* Compensamos con margen negativo para no afectar el espaciado visual general */
  margin: -1rem 0 -2rem 0;
}

/* Forzar que todas las tarjetas tengan la misma altura si el resumen de texto varía */
.bc-tours-slider .splide__slide {
  height: auto;
  display: flex;
}

.bc-tours-slider .bc-tour-card {
  width: 100%;
}

/* Ajustes visuales de las flechas para este carrusel */
.bc-tours-slider .splide__arrow {
  background-color: var(--bc-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--bc-dark);
}

.bc-tours-slider .splide__pagination__page.is-active {
  background: var(--bc-orange) ;
}

.bc-tours-slider .splide__arrow:hover {
  background-color: var(--bc-orange);
  color: var(--bc-light);
}

/* Ocultar SVG nativo si usas FontAwesome como planteamos en el Hero */
.bc-tours-slider .splide__arrow svg {
  display: none;
}

.bc-tours-slider .splide__arrow--prev::before {
  content: "\f053"; /* FA Chevron Left */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bc-tours-slider .splide__arrow--next::before {
  content: "\f054"; /* FA Chevron Right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* ==========================================================================
   FRONT PAGE: FAQs & VIDEO OVERLAP
   ========================================================================== */

.bc-faq-section {
  position: relative;
  z-index: 10;
}

/* ⚡ El Contenedor Superpuesto */
.bc-faq-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(
    --bc-bg-body
  ); /* Fondo claro de la sección derecha del mockup */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  /* Superposición: Sube sobre la sección anterior y empuja la siguiente */
  margin-top: -30px;
  margin-bottom: var(--spacing-xl);
}

/* Columna de Video */
.bc-faq-video {
  position: relative;
  width: 100%;
  min-height: 400px; /* Asegura una altura decente en pantallas grandes */
  overflow: hidden;
}

.bc-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botón Play */
.bc-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: var(--bc-light);
  color: var(--bc-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 2;
  padding-left: 5px; /* Compensa visualmente el triángulo de Play para que parezca centrado */
}

.bc-play-btn:hover {
  background-color: var(--bc-orange);
  color: var(--bc-light);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Columna de Contenido */
.bc-faq-content {
  padding: 4rem;
}

/* ==========================================================================
   COMPONENTE: ACORDEÓN (WPO: Animación CSS Grid)
   ========================================================================== */

.bc-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bc-accordion-item {
  border-bottom: 1px solid #ddd;
}

.bc-accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bc-dark);
  text-align: left;
  transition: color var(--transition-fast);
}

.bc-accordion-header:hover,
.bc-accordion-item.is-active .bc-accordion-header {
  color: var(--bc-orange);
}

.bc-accordion-icon {
  font-size: 1rem;
  color: var(--bc-dark);
  transition: transform 0.3s ease;
}

/* ⚡ Animación WPO: Usamos CSS Grid de 0fr a 1fr para animar la altura sin JS */
.bc-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bc-accordion-item.is-active .bc-accordion-body {
  grid-template-rows: 1fr;
}

/* El contenido interno debe tener overflow hidden para que funcione el truco de Grid */
.bc-accordion-inner {
  overflow: hidden;
}

.bc-accordion-inner p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  padding-bottom: 1.5rem;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE: FAQs
   ========================================================================== */
@media (max-width: 991px) {
  .bc-faq-wrapper {
    grid-template-columns: 1fr; /* Apilado en tablets y móviles */
  }

  .bc-faq-content {
    padding: 2.5rem 1.5rem;
  }

  .bc-faq-video {
    min-height: 300px;
  }
}

/* ==========================================================================
   FRONT PAGE: CTA FINAL (Call to Action)
   ========================================================================== */

.bc-cta-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding: var(--spacing-xl) var(--spacing-sm);
  overflow: hidden;
  /* Separación del acordeón anterior */
  margin-top: var(--spacing-xl);
}

/* Imagen de fondo WPO */
.bc-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Filtro de superposición oscuro (65% de opacidad) */
.bc-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.65);
  z-index: 2;
}

/* Contenedor del texto y botón */
.bc-cta-content {
  position: relative;
  z-index: 3;
  max-width: 850px; /* Limita el ancho para que el texto salte a 2 o 3 líneas elegantes */
  margin: 0 auto;
}

.bc-cta-title {
  color: var(--bc-light);
  /* Se adapta dinámicamente: mínimo 2rem, ideal 4vw, máximo 3.5rem */
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: var(--spacing-xl);
  font-weight: 800;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Mejora el contraste sobre áreas claras de la foto */
}

/* ==========================================================================
   RESPONSIVE: CTA FINAL
   ========================================================================== */
@media (max-width: 768px) {
  .bc-cta-section {
    min-height: 350px;
  }
}

/* ==========================================================================
   COMPONENTE: TARJETA DE BLOG (Card Post)
   ========================================================================== */

.bc-post-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* Fundamental para alinear en CSS Grid */
  transition: transform var(--transition-fast);
}

.bc-post-card:hover {
  transform: translateY(-5px); /* Micro-interacción sutil */
}

/* A. Contenedor de la Imagen */
.bc-post-card-thumb {
  display: block;
  width: 100%;
  /* Reservamos espacio para evitar CLS. Proporción 16:10 típica de blog */
  aspect-ratio: 16 / 10;
  border-radius: var(
    --border-radius
  ); /* Bordes redondeados en las 4 esquinas según tu imagen */
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* Sombra suave para despegar la imagen */
}

.bc-post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bc-post-card:hover .bc-post-card-thumb img {
  transform: scale(1.05); /* Efecto zoom al hacer hover en toda la tarjeta */
}

/* B. Cuerpo del Post */
.bc-post-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Permite que este contenedor empuje el botón al fondo */
  padding-right: 1rem; /* Margen de respiro a la derecha si no hay bordes laterales */
}

/* 1. Meta (Fecha) */
.bc-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
}

.bc-post-meta i {
  font-size: 1rem;
  color: var(--bc-dark); /* Icono oscuro para contraste */
}

/* 2. Título */
.bc-post-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.bc-post-card-title a {
  color: var(--bc-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bc-post-card-title a:hover {
  color: var(--bc-orange);
}

/* 3. Botón de Acción */
.bc-post-card-action {
  margin-top: auto; /* Empuja el contenedor del botón hacia abajo */
  align-self: flex-start; /* Evita que el botón ocupe todo el ancho, lo mantiene pegado a la izquierda */
}

/* Ajuste específico para el botón del blog, hereda colores base de .bc-btn */
.bc-btn-post {
  border-radius: 50px; /* Bordes en píldora como en tu diseño */
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   FRONT PAGE: NOTICIAS Y BLOG
   ========================================================================== */

.bc-blog-section {
  background-color: #ffffff;
}

/* ⚡ Prevención de Clipping en Sombras/Hover para Splide */
.bc-blog-slider .splide__track {
  padding: 1rem 0 2rem 0;
  margin: -1rem 0 -2rem 0;
}

/* Flexbox para igualar alturas de las tarjetas */
.bc-blog-slider .splide__slide {
  height: auto;
  display: flex;
}

.bc-blog-slider .bc-post-card {
  width: 100%;
}

/* Ajustes visuales de las flechas (Reutilizando la lógica del slider de tours) */
.bc-blog-slider .splide__arrow {
  background-color: var(--bc-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--bc-dark);
}

.bc-blog-slider .splide__pagination__page.is-active {
  background: var(--bc-orange) ;
}

.bc-blog-slider .splide__arrow:hover {
  background-color: var(--bc-orange);
  color: var(--bc-light);
}

.bc-blog-slider .splide__arrow svg {
  display: none;
}

.bc-blog-slider .splide__arrow--prev::before {
  content: "\f053"; /* FA Chevron Left */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bc-blog-slider .splide__arrow--next::before {
  content: "\f054"; /* FA Chevron Right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* ==========================================================================
   GLOBAL: HERO INTERNO (Páginas, Singles, Archivos)
   ========================================================================== */

.bc-global-hero {
  position: relative;
  width: 100%;
  height: 40vh; /* Ocupa el 40% de la pantalla. Ni muy invasivo, ni muy pequeño */
  min-height: 350px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bc-dark);
}

.bc-global-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.bc-global-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente oscuro hacia el centro para que el texto resalte siempre */
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.3) 0%,
    rgba(26, 26, 26, 0.7) 100%
  );
  z-index: 1;
}

.bc-global-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.bc-global-hero-title {
  color: var(--bc-light);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

/* Migas de Pan (Breadcrumbs) */
.bc-breadcrumbs {
  color: #cccccc;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.bc-breadcrumbs a {
  color: var(--bc-light);
  transition: color var(--transition-fast);
}

.bc-breadcrumbs a:hover {
  color: var(--bc-orange);
  text-decoration: none;
}

.bc-breadcrumbs i {
  font-size: 0.7rem;
  margin: 0 8px;
  opacity: 0.6;
}

/* Estilos de compatibilidad para plugins SEO */
.bc-breadcrumbs p {
  margin: 0;
}
.bc-breadcrumbs span {
  color: var(--bc-orange);
}

/* ==========================================================================
   PAGE: SOBRE NOSOTROS (About Us)
   ========================================================================== */

/* 1. Historia y Contenido WP */
.bc-page-content {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.bc-page-content p {
  margin-bottom: 1.2rem;
}

.bc-quick-stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid #eaeaea;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.bc-q-stat {
  display: flex;
  flex-direction: column;
}

.bc-q-stat strong {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--bc-orange);
  line-height: 1;
}

.bc-q-stat span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bc-dark);
  text-transform: uppercase;
  margin-top: 5px;
}

/* 2. Misión y Visión (Grid de 2) */
.bc-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bc-mv-card {
  background-color: var(--bc-light);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast);
}

.bc-mv-card:hover {
  transform: translateY(-5px);
}

.bc-mv-card-dark {
  background-color: var(--bc-dark);
  color: var(--bc-light);
}

.bc-mv-icon {
  font-size: 3rem;
  color: var(--bc-orange);
  margin-bottom: 1.5rem;
}

.bc-mv-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: inherit; /* Hereda de la tarjeta (clara u oscura) */
}

.bc-mv-card p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0;
}

/* 3. Equipo (Team Grid) */
.bc-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bc-team-card {
  background: var(--bc-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast);
}

.bc-team-card:hover {
  transform: translateY(-10px);
}

.bc-team-photo {
  position: relative;
  aspect-ratio: 4/5; /* Mantiene proporción de retratos WPO */
  overflow: hidden;
}

.bc-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bc-team-card:hover .bc-team-photo img {
  transform: scale(1.05);
}

/* Redes sociales flotantes sobre la foto en hover */
.bc-team-socials {
  position: absolute;
  bottom: -50px; /* Oculto por defecto */
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px 0 15px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  transition: bottom 0.3s ease;
}

.bc-team-card:hover .bc-team-socials {
  bottom: 0;
}

.bc-team-socials a {
  color: var(--bc-light);
  font-size: 1.2rem;
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.bc-team-socials a:hover {
  color: var(--bc-orange);
  transform: scale(1.2);
}

.bc-team-info {
  padding: 1.5rem;
}

.bc-team-info h4 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
  color: var(--bc-dark);
}

.bc-team-info span {
  font-size: 0.9rem;
  color: var(--bc-orange);
  font-weight: 700;
}

/* 4. Banner CTA Final */
.bc-cta-banner {
  background-color: var(--bc-orange);
  /* Patrón sutil opcional mediante SVG o gradient */
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 100%
  );
  padding: 4rem 0;
}

.bc-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.bc-cta-text h2 {
  color: var(--bc-light);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.bc-cta-text p {
  color: var(--bc-light);
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
}

/* Variación de botón blanco para fondos de marca */
.bc-btn-white {
  background-color: var(--bc-light);
  color: var(--bc-orange);
}

.bc-btn-white:hover {
  background-color: var(--bc-dark);
  color: var(--bc-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   RESPONSIVE: ABOUT US
   ========================================================================== */
@media (max-width: 991px) {
  .bc-mission-grid {
    grid-template-columns: 1fr;
  }

  .bc-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bc-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .bc-quick-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .bc-team-grid {
    grid-template-columns: 1fr;
    max-width: 350px; /* Evita que las fotos sean gigantes en móviles */
    margin: 0 auto;
  }
}

/* ==========================================================================
   PAGE: CONTACTO & CONTACT FORM 7 STYLING
   ========================================================================== */

.bc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* El formulario toma un poco más de espacio */
  gap: 4rem;
  align-items: flex-start;
}

/* --- Información de Contacto (Izquierda) --- */
.bc-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.bc-contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--bc-light);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast);
}

.bc-contact-card:hover {
  transform: translateX(10px); /* Micro-interacción de deslizamiento */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.bc-contact-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(223, 98, 8, 0.1); /* Naranja transparente */
  color: var(--bc-orange);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.bc-contact-card h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: var(--bc-dark);
}

.bc-contact-card address,
.bc-contact-card a {
  color: #666;
  font-style: normal;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.bc-contact-card a:hover {
  color: var(--bc-orange);
}

.bc-wa-link {
  color: #25d366 !important; /* Verde de WhatsApp */
  font-weight: 700;
  display: inline-block;
  margin-top: 5px;
}

/* --- Formulario CF7 (Derecha) --- */
.bc-contact-form-inner {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.bc-contact-form-inner h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.bc-contact-form-inner p {
  color: #666;
  margin-bottom: 2rem;
}

/* Resets y Estilos Nativos para CF7 */
.bc-cf7-container .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 1.2rem;
}

.bc-cf7-container input[type="text"],
.bc-cf7-container input[type="email"],
.bc-cf7-container input[type="tel"],
.bc-cf7-container textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--bc-dark);
  background-color: #fafafa;
  transition: all var(--transition-fast);
  outline: none;
}

.bc-cf7-container input:focus,
.bc-cf7-container textarea:focus {
  border-color: var(--bc-orange);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(223, 98, 8, 0.1);
}

.bc-cf7-container textarea {
  min-height: 150px;
  resize: vertical;
}

/* Estilizar el botón de Submit de CF7 para que parezca botón del tema */
.bc-cf7-container input[type="submit"] {
  background-color: var(--bc-orange);
  color: var(--bc-light);
  border: none;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.bc-cf7-container input[type="submit"]:hover {
  background-color: var(--bc-yellow);
  color: var(--bc-dark);
  transform: translateY(-2px);
}

/* Mensajes de error/éxito de CF7 */
.bc-cf7-container .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 5px;
}

.bc-cf7-container .wpcf7-response-output {
  border-radius: 6px;
  padding: 1rem !important;
  margin-top: 1.5rem !important;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE: CONTACTO
   ========================================================================== */
@media (max-width: 991px) {
  .bc-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bc-contact-form-inner {
    padding: 2rem;
  }
}

/* ==========================================================================
   PAGE: 404 ERROR (Not Found)
   ========================================================================== */

.bc-error-404-section {
  background-color: var(--bc-bg-body);
}

.bc-404-content {
  max-width: 750px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Tipografía de Error (Usa la fuente Lobster de la marca) */
.bc-404-huge {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--bc-orange);
  line-height: 1;
  margin: 0 0 1rem 0;
  text-shadow: 4px 4px 0px rgba(223, 98, 8, 0.15); /* Sombra dura para estilo flat/moderno */
}

.bc-404-desc {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2.5rem;
}

/* Contenedor del Buscador 404 */
.bc-404-search {
  background: var(--bc-light);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  margin-bottom: 2.5rem;
}

.bc-404-search p {
  margin-bottom: 1.5rem;
  color: var(--bc-dark);
  font-size: 1.1rem;
}

/* ⚡ Re-contextualización del form (searchform.php) para el layout en línea (blanco) */
.bc-404-search .bc-custom-search-form .bc-search-input-group {
  border-bottom: 2px solid #eaeaea; /* Línea gris en lugar de blanca translúcida */
}

.bc-404-search .bc-custom-search-form .bc-search-input-group:focus-within {
  border-color: var(--bc-orange);
}

.bc-404-search .bc-custom-search-form .bc-search-input {
  color: var(--bc-dark); /* Texto oscuro */
  font-size: clamp(1.2rem, 3vw, 2rem); /* Más pequeño que en fullscreen */
}

.bc-404-search .bc-custom-search-form .bc-search-input::placeholder {
  color: #bbb;
}

.bc-404-search .bc-custom-search-form .bc-search-helper {
  display: none; /* Ocultamos el texto de ayuda extra en este contexto para mantenerlo limpio */
}

/* Botones de acción */
.bc-404-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive Extra */
@media (max-width: 576px) {
  .bc-404-search {
    padding: 1.5rem 1rem;
  }

  .bc-404-actions {
    flex-direction: column;
    width: 100%;
  }

  .bc-404-actions .bc-btn {
    width: 100%;
  }
}

/* ==========================================================================
   PAGE: BLOG (home.php) & FILTROS
   ========================================================================== */

.bc-blog-section {
  background-color: #fcfcfc; /* Fondo off-white para resaltar las tarjetas blancas */
}

/* 1. Layout Principal */
.bc-blog-layout {
  display: grid;
  grid-template-columns: 300px 1fr; /* Sidebar fijo 300px, Resto contenido */
  gap: 3rem;
  align-items: flex-start; /* Vital para que el sticky sidebar funcione */
}

/* 2. Sidebar (Filtros) */
.bc-blog-sidebar {
  background-color: var(--bc-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 130px; /* Compensa la altura del header sticky */
}

.bc-filter-group {
  margin-bottom: 1.5rem;
}

.bc-filter-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bc-dark);
  margin-bottom: 0.5rem;
}

.bc-filter-group select,
.bc-filter-group input[type="text"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: #555;
  background-color: #fff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.bc-filter-group select:focus,
.bc-filter-group input[type="text"]:focus {
  border-color: var(--bc-orange);
}

.bc-input-icon {
  position: relative;
}

.bc-input-icon input {
  padding-right: 2.5rem;
}

.bc-input-icon i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

.bc-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2rem;
}

.bc-btn-full {
  width: 100%;
  border-radius: 6px;
  padding: 0.8rem;
  text-align: center;
}

.bc-btn-reset {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.bc-btn-reset:hover {
  color: #e74c3c;
}

/* 3. Grid de Posts */
.bc-posts-grid {
  display: grid;
  grid-template-columns: repeat(
    2,
    1fr
  ); /* 2 columnas en el espacio del contenido */
  gap: 2rem;
}

/* 4. Tarjeta de Blog (Post Card) */
.bc-post-card {
  background-color: var(--bc-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.bc-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.bc-post-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.bc-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bc-post-card:hover .bc-post-thumb img {
  transform: scale(1.05);
}

.bc-post-cat-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: var(--bc-orange);
  color: var(--bc-light);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
}

.bc-post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bc-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}

.bc-post-meta i {
  color: var(--bc-orange);
}

.bc-post-title {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.bc-post-title a {
  color: var(--bc-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bc-post-title a:hover {
  color: var(--bc-orange);
}

.bc-post-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.bc-read-more {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bc-dark);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.bc-read-more i {
  transition: transform var(--transition-fast);
  color: var(--bc-orange);
}

.bc-read-more:hover {
  color: var(--bc-orange);
}

.bc-read-more:hover i {
  transform: translateX(5px);
}

/* 5. Paginación y Sin Resultados */
.bc-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.bc-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bc-light);
  color: var(--bc-dark);
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.bc-pagination .page-numbers.current,
.bc-pagination .page-numbers:hover {
  background-color: var(--bc-orange);
  color: var(--bc-light);
}

.bc-no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bc-light);
  border-radius: var(--border-radius);
}

.bc-no-results i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 1rem;
}

/* ==========================================================================
   RESPONSIVE: BLOG
   ========================================================================== */
@media (max-width: 1024px) {
  .bc-blog-layout {
    grid-template-columns: 250px 1fr; /* Sidebar más estrecho */
    gap: 2rem;
  }
}

@media (max-width: 991px) {
  .bc-blog-layout {
    grid-template-columns: 1fr; /* Sidebar pasa arriba en tablets/móviles */
  }

  .bc-blog-sidebar {
    position: static; /* Quita el sticky en móviles */
  }
}

@media (max-width: 768px) {
  .bc-posts-grid {
    grid-template-columns: 1fr; /* 1 columna de posts en móviles */
  }
}

/* ==========================================================================
   ARCHIVE: TOURS & FILTROS AVANZADOS
   ========================================================================== */

/* Grid específico para las tarjetas de tours en la página de archivo */
.bc-tours-archive-grid {
  display: grid;
  grid-template-columns: repeat(
    2,
    1fr
  ); /* 2 tarjetas por fila junto al sidebar */
  gap: 2rem;
}

/* Campos de Rango de Precio (Min - Max) */
.bc-price-range-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-price-range-inputs input[type="number"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: #555;
  background-color: #fff;
  outline: none;
  transition: border-color var(--transition-fast);
  /* Ocultar las flechitas nativas del input number para un look más limpio */
  -moz-appearance: textfield;
}

.bc-price-range-inputs input[type="number"]::-webkit-outer-spin-button,
.bc-price-range-inputs input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bc-price-range-inputs input[type="number"]:focus {
  border-color: var(--bc-orange);
}

.bc-price-separator {
  color: #888;
  font-weight: 700;
}

/* Modificamos la lista de paginación generada por 'type' => 'list' */
.bc-pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

/* ==========================================================================
   RESPONSIVE: ARCHIVE TOURS
   ========================================================================== */

/* Nota: .bc-blog-layout ya maneja el apilamiento del sidebar en < 991px */

@media (max-width: 768px) {
  .bc-tours-archive-grid {
    grid-template-columns: 1fr; /* 1 sola columna de tours en móviles */
  }
}

/* ==========================================================================
   PAGE: DEFAULT TEMPLATE (page.php) - ESTILOS ÚNICOS E INDEPENDIENTES
   ========================================================================== */

/* 1. Layout Base */
.bc-dp-grid {
  display: grid;
  grid-template-columns: 1fr 340px; /* Contenido principal + Sidebar fijo */
  gap: 3.5rem;
  align-items: flex-start;
}

/* 2. Contenedor del Contenido Principal */
.bc-dp-main {
  background-color: #ffffff;
  padding: 3.5rem 4rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  
  /* ⚡ FIX ANTI-DESBORDAMIENTO S20 FE */
  box-sizing: border-box;
  min-width: 0; /* Previene que el grid se expanda por contenido largo */
  overflow-wrap: break-word; /* Fuerza a romper enlaces o palabras gigantes */
  word-wrap: break-word;
}

/* 3. Estilizando the_content (Lectura Inmersiva) */
.bc-dp-content {
  color: #4a4a4a;
  font-size: 1.1rem;
  line-height: 1.85;
  font-family: var(--font-body);
}

.bc-dp-content h1,
.bc-dp-content h2,
.bc-dp-content h3,
.bc-dp-content h4 {
  color: var(--bc-dark);
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

/* H2 con estilo de sección interna */
.bc-dp-content h2 {
  font-size: 1.8rem;
  border-bottom: 2px solid #f4f6f8;
  padding-bottom: 0.8rem;
}

.bc-dp-content h3 {
  font-size: 1.4rem;
}

.bc-dp-content p {
  margin-bottom: 1.5rem;
}

.bc-dp-content ul,
.bc-dp-content ol {
  margin-bottom: 1.5rem;
  background-color: #fdfdfd;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  border-radius: 8px;
  border-left: 3px solid var(--bc-orange);
}

.bc-dp-content li {
  margin-bottom: 0.8rem;
}

.bc-dp-content a {
  color: var(--bc-orange);
  text-decoration: none;
  border-bottom: 1px solid var(--bc-orange);
  transition: all var(--transition-fast);
  font-weight: 600;
}

.bc-dp-content a:hover {
  color: var(--bc-dark);
  border-bottom-color: var(--bc-dark);
}

.bc-dp-content blockquote {
  margin: 2.5rem 0;
  padding: 2rem;
  background-color: #f8f9fa;
  border-left: 5px solid var(--bc-orange);
  font-style: italic;
  color: #555;
  border-radius: 0 12px 12px 0;
  font-size: 1.15rem;
}

.bc-dp-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 4. Sidebar (Pegajoso) */
.bc-dp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 120px;
}

/* Widgets Individuales */
.bc-dp-widget {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
}

.bc-dp-widget-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--bc-dark);
  position: relative;
  padding-bottom: 12px;
}

.bc-dp-widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--bc-orange);
  border-radius: 2px;
}

/* Widget Especial: CTA Naranja */
.bc-dp-widget-cta {
  background-color: var(--bc-orange);
  border: none;
  color: var(--bc-light);
  text-align: center;
  padding: 2.5rem 2rem;
}

.bc-dp-widget-cta h3 {
  color: var(--bc-light);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  margin-top: 0;
}

.bc-dp-widget-cta p {
  font-size: 1rem;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* 5. Listas de Tours/Posts en el Sidebar */
.bc-dp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bc-dp-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform var(--transition-fast);
}

.bc-dp-list li:hover {
  transform: translateX(5px);
}

.bc-dp-thumb {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.bc-dp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bc-dp-list li:hover .bc-dp-thumb img {
  transform: scale(1.15);
}

.bc-dp-info h4 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 700;
}

.bc-dp-info h4 a {
  color: var(--bc-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bc-dp-info h4 a:hover {
  color: var(--bc-orange);
}

.bc-dp-meta {
  font-size: 0.85rem;
  color: var(--bc-orange);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bc-dp-meta i {
  font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE: PAGE TEMPLATE
   ========================================================================== */
@media (max-width: 1024px) {
  .bc-dp-grid {
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
  }
  .bc-dp-main {
    padding: 2.5rem;
  }
}

@media (max-width: 991px) {
  .bc-dp-grid {
    grid-template-columns: 1fr;
  }
  .bc-dp-sidebar {
    position: static;
  }
}

/* Ajustes Extremos para Móviles Estrechos (S20 FE, etc.) */
@media (max-width: 768px) {
  .bc-dp-main {
    /* Menos padding a los lados para aprovechar el espacio en móviles estrechos */
    padding: 1.8rem 1rem; 
  }
  
  .bc-dp-content {
    font-size: 1rem; 
  }

  /* ⚡ Evitamos que las listas y blockquotes rompan el ancho de la pantalla */
  .bc-dp-content ul,
  .bc-dp-content ol {
    padding: 1.2rem 1rem 1.2rem 1.8rem; /* Reducimos drásticamente el padding izquierdo */
  }

  .bc-dp-content blockquote {
    padding: 1.2rem;
  }
  
  .bc-dp-widget {
    padding: 1.5rem; /* Widgets del sidebar más compactos */
  }
}

/* ==========================================================================
   PAGE: CODIGO ESSNA
   ========================================================================== */

.bc-essna-policy-box {
  background-color: #fff4ed;
  border-left: 4px solid var(--bc-orange);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.bc-essna-policy-box h4 {
  margin-top: 0;
  color: var(--bc-terracotta);
  font-size: 1.1rem;
}

.bc-essna-policy-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.bc-essna-certificate-wrapper {
  margin-top: 3rem;
  text-align: center;
}

.bc-essna-certificate-wrapper h3 {
  margin-bottom: 2rem;
}

.bc-essna-image {
  background-color: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: inline-block;
  border-radius: 8px;
  max-width: 100%;
}

.bc-essna-image img {
  height: auto;
  width: 100%;
  max-width: 800px; /* Tamaño máximo para que no se vea gigante */
}

.bc-essna-placeholder {
  padding: 4rem 2rem;
  border: 2px dashed #ccc;
  color: #999;
  border-radius: 12px;
}

.bc-essna-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   PAGE: LIBRO DE RECLAMACIONES
   ========================================================================== */

.bc-reclamaciones-notice {
  background-color: #fff9e6;
  border-left: 4px solid #f3a105;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: #856404;
  border-radius: 4px;
}

.bc-reclamaciones-form .bc-form-row {
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.bc-reclamaciones-form .bc-form-row p {
  color: var(--bc-orange);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  border-bottom: 1px inset #f0f0f0;
  padding-bottom: 5px;
}

.bc-reclamaciones-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--bc-dark);
}

.bc-reclamaciones-form input,
.bc-reclamaciones-form select,
.bc-reclamaciones-form textarea {
  margin-top: 5px;
}

/* Ajuste para el botón de envío legal */
.bc-reclamaciones-form input[type="submit"] {
  margin-top: 10px;
  background-color: var(--bc-dark); /* Color más serio para trámites legales */
}

.bc-reclamaciones-form input[type="submit"]:hover {
  background-color: var(--bc-orange);
}

/* ==========================================================================
   SINGLE POST (single.php) - Elementos Específicos del Blog
   ========================================================================== */

/* 1. Barra de Metadatos superior */
.bc-single-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eaeaea;
}

.bc-single-meta-bar .bc-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #666;
  font-weight: 600;
}

.bc-single-meta-bar .bc-meta-item i {
  color: var(--bc-orange);
}

.bc-single-meta-bar .bc-meta-item a {
  color: var(--bc-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bc-single-meta-bar .bc-meta-item a:hover {
  color: var(--bc-orange);
}

/* 2. Pie del artículo y Etiquetas (Tags) */
.bc-single-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eaeaea;
}

.bc-single-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bc-single-tags strong {
  color: var(--bc-dark);
  margin-right: 5px;
}

.bc-single-tags strong i {
  color: var(--bc-orange);
}

.bc-tag-link {
  background-color: #f0f0f0;
  color: #555;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.bc-tag-link:hover {
  background-color: var(--bc-orange);
  color: var(--bc-light);
  text-decoration: none;
}

/* 3. Widget de Autor */
.bc-author-widget {
  text-align: center;
}

.bc-author-widget::after {
  display: none; /* Quitamos la línea naranja inferior del título en este widget */
}

.bc-author-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  padding: 5px;
  border: 2px dashed #ddd;
  transition: border-color var(--transition-fast);
}

.bc-author-widget:hover .bc-author-avatar {
  border-color: var(--bc-orange);
}

.bc-author-avatar img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bc-author-bio {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* 4. Lista de Categorías (Sidebar) */
.bc-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bc-categories-list li {
  border-bottom: 1px dashed #eaeaea;
}

.bc-categories-list li:last-child {
  border-bottom: none;
}

.bc-categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: #555;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.bc-categories-list a:hover {
  color: var(--bc-orange);
  padding-left: 5px;
}

.bc-categories-list a span {
  background-color: #f4f6f8;
  color: #888;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ==========================================================================
   COMMENTS SECTION (comments.php / single.php)
   ========================================================================== */

.comments-area {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid #eaeaea;
}

.comments-title,
.comment-reply-title {
  font-size: 1.6rem;
  color: var(--bc-dark);
  margin-bottom: 2rem;
  font-weight: 800;
}

.comment-notes {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1.5rem;
  grid-column: 1 / -1; /* Ocupa todo el ancho en el Grid */
}

/* 1. Lista de Comentarios (Los que ya dejaron los usuarios) */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list li {
  margin-bottom: 2rem;
}

.comment-body {
  display: flex;
  gap: 20px;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #f9f9f9;
}

.comment-author-avatar img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.comment-meta {
  margin-bottom: 10px;
}

.comment-meta b {
  font-size: 1.15rem;
  color: var(--bc-dark);
}

.comment-metadata {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
  font-weight: 600;
}

.comment-content p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Botón Responder */
.reply a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bc-orange);
  text-transform: uppercase;
  background: rgba(223, 98, 8, 0.1);
  padding: 6px 15px;
  border-radius: 50px;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.reply a:hover {
  background: var(--bc-orange);
  color: var(--bc-light);
}

/* Respuestas Anidadas */
.children {
  list-style: none;
  padding-left: 4rem;
  margin-top: 2rem;
  border-left: 2px dashed #eaeaea;
}

/* 2. Formulario para dejar un nuevo comentario */
.comment-respond {
  background: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 4rem;
  border: 1px solid #f0f0f0;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 Columnas para Nombre e Email */
  gap: 20px;
}

.comment-form-comment {
  grid-column: 1 / -1; /* El área de mensaje ocupa las dos columnas */
}

.comment-form label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--bc-dark);
}

/* Campos de texto similares a CF7 */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--bc-dark);
  background-color: #fafafa;
  transition: all var(--transition-fast);
  outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--bc-orange);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(223, 98, 8, 0.1);
}

.comment-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* Botón de Enviar */
.form-submit {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.form-submit input[type="submit"] {
  background-color: var(--bc-orange);
  color: var(--bc-light);
  border: none;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-submit input[type="submit"]:hover {
  background-color: var(--bc-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 3. Responsive Comments */
@media (max-width: 768px) {
  .comment-form {
    grid-template-columns: 1fr; /* 1 columna en móvil */
  }

  .comment-body {
    flex-direction: column;
    padding: 1.5rem;
  }

  .children {
    padding-left: 1rem; /* Menos sangría en móvil para evitar que se aplasten */
  }

  .comment-respond {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   SINGLE TOUR (single-tour.php) - LANDING PAGE DE VENTAS
   ========================================================================== */

/* 1. Custom Hero Inmersivo */
.bc-st-hero {
  position: relative;
  width: 100%;
  height: 60vh; /* Altura imponente */
  min-height: 450px;
  display: flex;
  align-items: flex-end; /* Alinea el texto hacia abajo */
  padding-bottom: 4rem;
  overflow: hidden;
  background-color: var(--bc-dark);
}

.bc-st-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bc-st-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.95) 0%,
    rgba(26, 26, 26, 0.4) 60%,
    rgba(26, 26, 26, 0.1) 100%
  );
  z-index: 1;
}

.bc-st-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.bc-st-breadcrumbs {
  color: #bbb;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.bc-st-breadcrumbs a {
  color: var(--bc-light);
}

.bc-st-breadcrumbs a:hover {
  color: var(--bc-orange);
}

.bc-st-breadcrumbs i {
  font-size: 0.7rem;
  margin: 0 8px;
  opacity: 0.5;
}

.bc-st-title {
  color: var(--bc-light);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 1rem 0;
  line-height: 1.1;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.bc-st-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bc-st-badge {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--bc-light);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.bc-st-badge i {
  color: var(--bc-orange);
  margin-right: 5px;
}

/* 2. Barra de Quick Facts (Datos Rápidos) */
.bc-st-quick-facts {
  background-color: var(--bc-light);
  border-bottom: 1px solid #eaeaea;
  padding: 2rem 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.bc-qf-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.bc-qf-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bc-qf-item i {
  font-size: 2rem;
  color: var(--bc-orange);
  opacity: 0.8;
}

.bc-qf-item span {
  display: block;
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.bc-qf-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--bc-dark);
}

/* 3. Layout Principal */
.bc-st-layout {
  display: grid;
  grid-template-columns: 1fr 360px; /* Contenido + Sidebar Venta */
  gap: 4rem;
  align-items: flex-start;
}

.bc-st-section {
  margin-bottom: 4rem;
}

.bc-st-section-title {
  font-size: 1.8rem;
  color: var(--bc-dark);
  margin-bottom: 2rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #eaeaea;
  position: relative;
}

.bc-st-section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--bc-orange);
}

/* Estilos de the_content para el Tour */
.bc-st-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}

/* 4. Itinerario (Línea de Tiempo) */
.bc-st-timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px dashed #ddd;
  margin-left: 15px; /* Compensa la línea */
}

.bc-st-day {
  position: relative;
  margin-bottom: 3rem;
}

.bc-st-day:last-child {
  margin-bottom: 0;
}

/* Punto indicador del día */
.bc-st-day-marker {
  position: absolute;
  left: -50px; /* Alineado con la línea punteada */
  top: 0;
  width: 38px;
  height: 38px;
  background-color: var(--bc-orange);
  color: var(--bc-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  box-shadow: 0 0 0 5px #fdfdfd; /* Borde falso para cortar la línea */
}

.bc-st-day-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #f5f5f5;
}

.bc-st-day-content h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--bc-dark);
  margin-bottom: 1rem;
}

.bc-st-day-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ⚡ Convertimos el enlace de GLightbox en un contenedor animable */
.bc-st-timeline a.glightbox {
  display: block;
  position: relative;
  overflow: hidden; /* Fundamental para que el zoom no se salga de los bordes */
  border-radius: 8px;
  margin-bottom: 1rem;
  /* Fuerza a que el navegador use aceleración por hardware para una animación fluida */
  transform: translateZ(0);
}

/* Imagen principal del día */
.bc-st-timeline a.glightbox .bc-st-day-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0; /* El margen ahora lo maneja el enlace <a> */
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Cuadrícula de la galería */
.bc-st-day-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bc-st-day-gallery a.glightbox {
  margin-bottom: 0;
  border-radius: 6px;
}

.bc-st-day-gallery a.glightbox img {
  width: 100%;
  aspect-ratio: 1/1; /* Cuadrados perfectos */
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ⚡ LA MAGIA DEL HOVER: Capa superpuesta con el icono de Lupa */
.bc-st-timeline a.glightbox::after {
  content: "\f00e"; /* Código FontAwesome para la lupa con el símbolo '+' */
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    223,
    98,
    8,
    0.65
  ); /* Tu naranja corporativo translúcido */
  color: var(--bc-light);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Oculto por defecto */
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* ⚡ Activación al pasar el mouse (Hover) */
.bc-st-timeline a.glightbox:hover img {
  transform: scale(1.1); /* Zoom in de la foto */
}

.bc-st-timeline a.glightbox:hover::after {
  opacity: 1; /* Aparece la capa naranja con la lupa */
}

/* 5. Inclusiones (Qué incluye y qué no) */
.bc-st-inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bc-st-included,
.bc-st-not-included {
  padding: 2rem;
  border-radius: 12px;
}

.bc-st-included {
  background-color: #f1f8e9;
  border: 1px solid #c8e6c9;
}
.bc-st-not-included {
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
}

/* ⚡ Sobrescribir the_content li para Inclusiones a prueba de balas */
.bc-st-included ul,
.bc-st-not-included ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.bc-st-included li,
.bc-st-not-included li {
  position: relative;
  padding-left: 35px; /* Da espacio para el ícono absoluto */
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #444;
}

/* Base del ícono FontAwesome */
.bc-st-included li::before,
.bc-st-not-included li::before {
  /* Fallback múltiple por si tu tema carga FA de otra manera */
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900; /* CRÍTICO para que los íconos sólidos se vean */
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.2rem;
}

.bc-st-included li::before {
  content: "\f00c"; /* Código Unicode del Check */
  color: #2e7d32;
}

.bc-st-not-included li::before {
  content: "\f00d"; /* Código Unicode de la X */
  color: #c62828;
}

/* Recomendaciones */
.bc-st-recommendations {
  background-color: #fffde7;
  border-left: 4px solid var(--bc-yellow);
  padding: 2rem;
  border-radius: 0 8px 8px 0;
}

/* ==========================================================================
   SIDEBAR DE VENTAS (Booking Card)
   ========================================================================== */
.bc-st-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.bc-st-booking-card {
  background-color: var(--bc-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.bc-st-bc-header {
  background-color: var(--bc-dark);
  color: var(--bc-light);
  padding: 2rem;
  text-align: center;
}

.bc-st-price-label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-bottom: 5px;
}

.bc-st-price-amount {
  font-size: 3rem;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--bc-orange);
  line-height: 1;
}

.bc-st-price-amount span {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: #ccc;
}

.bc-st-bc-body {
  padding: 2rem;
}

.bc-st-bc-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Botón WA especial para Venta */
.bc-st-wa-btn {
  background-color: #25d366; /* Verde Oficial de WhatsApp */
  color: #fff;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.bc-st-wa-btn:hover {
  background-color: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
  color: #fff;
}

/* Trust Signals (Confianza) */
.bc-st-trust-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
  border-top: 1px solid #eaeaea;
  padding-top: 1.5rem;
}

.bc-st-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 12px;
  font-weight: 600;
}

.bc-st-trust-list i {
  color: var(--bc-orange);
  font-size: 1.1rem;
}

/* Widget Extra de Ayuda */
.bc-st-help-widget {
  background-color: #f8f9fa;
  border: 1px dashed #ccc;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.bc-st-help-widget h4 {
  color: var(--bc-dark);
  margin: 0 0 10px 0;
}

.bc-st-help-widget p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.bc-st-help-link {
  color: var(--bc-orange);
  font-weight: 800;
  text-decoration: underline;
  font-size: 0.95rem;
}

/* ==========================================================================
   RESPONSIVE: SINGLE TOUR
   ========================================================================== */
@media (max-width: 1024px) {
  .bc-st-layout {
    grid-template-columns: 1fr 320px;
    gap: 3rem;
  }
}

@media (max-width: 991px) {
  .bc-st-layout {
    grid-template-columns: 1fr;
  }
  .bc-st-sidebar {
    position: static;
    order: -1; /* Pone la tarjeta de venta ARRIBA de la descripción en móviles */
    margin-bottom: 2rem;
  }
  .bc-st-inclusions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bc-st-hero {
    height: 50vh;
    min-height: 350px;
  }
  .bc-qf-grid {
    justify-content: flex-start;
    gap: 30px;
  }
  .bc-st-day-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
