/* =====================================================================
   Blue Circle · capa visual moderna para la parte pública.
   Se carga DESPUÉS de style.css (plantilla Squadfree) y solo la retoca:
   si se quita esta hoja, la web vuelve a verse como antes.
   ===================================================================== */
:root {
  --bc-azul: #2167C9;
  --bc-azul-osc: #174a93;
  --bc-marino: #0b2545;
  --bc-cielo: #e8f1fc;
  --bc-arena: #f7f3ec;
  --bc-texto: #1f2a37;
  --bc-gris: #64748b;
  --bc-borde: #e3e8ef;
  --bc-verde: #12805c;
  --bc-naranja: #c2610c;
  --bc-radio: 18px;
  --bc-sombra: 0 10px 30px rgba(11, 37, 69, .08);
  --bc-sombra-fuerte: 0 18px 40px rgba(11, 37, 69, .16);
}

body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--bc-texto);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: "Poppins", sans-serif; color: var(--bc-marino); letter-spacing: -.01em; }
a { color: var(--bc-azul); }
a:hover { color: var(--bc-azul-osc); }
img { max-width: 100%; }

/* ---------- Cabecera ---------- */
#header { padding: 12px 0; box-shadow: 0 2px 18px rgba(11, 37, 69, .18); }
#header.header-scrolled { padding: 8px 0; }
/* El menú tiene 7 opciones y aplastaba el logo hasta hacerlo desaparecer: el logo no se encoge */
#header .logo { flex: 0 0 auto; margin-right: 18px; }
#header .logo img { height: 48px; width: auto; max-height: none; transition: height .3s; }
#header.header-scrolled .logo img { height: 42px; }
#main { margin-top: 72px; }

@media (min-width: 992px) {
  .navbar > ul > li { padding: 0 0 0 4px; }
  .navbar > ul > li > a,
  .navbar > ul > li > a:focus {
    padding: 8px 14px;
    border-radius: 999px;
    font-family: "Poppins", sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
    transition: background .2s, color .2s;
  }
  .navbar > ul > li > a:hover,
  .navbar > ul > li > a.active,
  .navbar > ul > li > a.active:focus { background: rgba(255, 255, 255, .16); color: #fff; }
  .navbar > ul > li:last-child > a {
    background: #fff;
    color: var(--bc-azul);
    font-weight: 600;
    margin-left: 6px;
  }
  .navbar > ul > li:last-child > a:hover { background: var(--bc-cielo); }
}
/* El menú tiene 7 opciones: en pantallas medianas se compacta un poco */
@media (min-width: 992px) and (max-width: 1260px) {
  .navbar > ul > li { padding-left: 2px; }
  .navbar > ul > li > a, .navbar > ul > li > a:focus { padding: 7px 8px; font-size: 13px; }
  #header .logo { margin-right: 8px; }
}

/* Selector de idioma de Google: abajo a la izquierda, sin tapar el logo */
#google_translate_element {
  top: auto !important;
  bottom: 18px;
  left: 18px;
  border-radius: 999px !important;
  padding: 2px 8px !important;
  border: 1px solid var(--bc-borde) !important;
  box-shadow: var(--bc-sombra) !important;
}

/* ---------- Cabecera interior (antes "breadcrumbs" gris) ---------- */
.breadcrumbs {
  background: linear-gradient(120deg, var(--bc-marino), var(--bc-azul));
  color: #fff;
  padding: 26px 0;
  min-height: 0;
}
.breadcrumbs h2, .breadcrumbs h3 { color: #fff; font-weight: 600; margin: 0; }
.breadcrumbs h2 { font-size: 26px; }
.breadcrumbs ol li, .breadcrumbs ol li a, .breadcrumbs ol li + li::before { color: rgba(255, 255, 255, .85); }

/* ---------- Botones ---------- */
.btn-more-info,
.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bc-azul);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 16px rgba(33, 103, 201, .28);
}
.btn-more-info:hover, .bc-btn:hover { background: var(--bc-azul-osc); color: #fff; transform: translateY(-1px); }
.bc-btn.blanco { background: #fff; color: var(--bc-azul); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.bc-btn.blanco:hover { background: var(--bc-cielo); color: var(--bc-azul-osc); }
.bc-btn.borde { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .8); box-shadow: none; }
.bc-btn.borde:hover { background: rgba(255, 255, 255, .14); }
.bc-btn.peq { padding: 8px 16px; font-size: 14px; }
.bc-btn.ancho { width: 100%; }
.bc-btn:disabled, .bc-btn.off { background: #cbd5e1; color: #475569; box-shadow: none; cursor: not-allowed; transform: none; }

/* ---------- Bloques comunes ---------- */
.bc-seccion { padding: 56px 0; }
.bc-seccion.gris { background: var(--bc-arena); }
.bc-titulo-sec { text-align: center; margin-bottom: 30px; }
.bc-titulo-sec h2 { font-size: 30px; font-weight: 700; margin-bottom: 6px; }
.bc-titulo-sec p { color: var(--bc-gris); margin: 0; }
.bc-tarjeta {
  background: #fff;
  border: 1px solid var(--bc-borde);
  border-radius: var(--bc-radio);
  box-shadow: var(--bc-sombra);
  padding: 24px;
}
.bc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.bc-chip i { font-size: 18px; }

/* ---------- Página de actividad ---------- */
.ac-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--bc-marino) center / cover no-repeat;
  overflow: hidden;
}
.ac-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, .15) 0%, rgba(11, 37, 69, .55) 55%, rgba(11, 37, 69, .9) 100%);
}
.ac-hero .container { position: relative; padding-top: 70px; padding-bottom: 44px; }
.ac-miga { font-size: 14px; margin-bottom: 10px; opacity: .9; }
.ac-miga a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ac-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 700; margin: 0 0 10px; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.ac-hero .ac-lead { font-size: 18px; max-width: 720px; margin: 0 0 18px; color: rgba(255, 255, 255, .93); }
.ac-datos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ac-acciones { display: flex; flex-wrap: wrap; gap: 10px; }

.ac-opciones { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.ac-opcion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--bc-borde);
  border-radius: var(--bc-radio);
  padding: 22px;
  box-shadow: var(--bc-sombra);
  color: var(--bc-texto);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ac-opcion:hover { transform: translateY(-3px); box-shadow: var(--bc-sombra-fuerte); border-color: var(--bc-azul); color: var(--bc-texto); }
.ac-opcion .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--bc-cielo); color: var(--bc-azul); display: grid; place-items: center; font-size: 24px; }
.ac-opcion h3 { font-size: 18px; font-weight: 600; margin: 4px 0 0; }
.ac-opcion .precio { color: var(--bc-gris); font-size: 14px; }
.ac-opcion .precio b { color: var(--bc-marino); font-size: 20px; }
.ac-opcion .ir { margin-top: auto; padding-top: 6px; color: var(--bc-azul); font-weight: 600; font-size: 15px; }

.ac-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
@media (max-width: 991px) { .ac-cuerpo { grid-template-columns: minmax(0, 1fr); } }
.ac-cuerpo > *, .ag-rejilla > * { min-width: 0; } /* el carrusel no debe ensanchar la columna */
.ac-texto { font-size: 16.5px; }
.ac-texto h1, .ac-texto h2, .ac-texto h3, .ac-texto h4 { margin-top: 1.4em; font-weight: 600; }
.ac-texto h2 { font-size: 26px; }
.ac-texto h3, .ac-texto h4 { font-size: 20px; }
.ac-texto p:empty, .ac-texto p:has(> br:only-child) { display: none; }
.ac-texto img { border-radius: 14px; height: auto; }
.ac-texto strong { color: var(--bc-marino); }

/* Texto largo de la actividad: formato de lectura */
.ac-texto { color: #334155; font-size: 17px; line-height: 1.8; max-width: 72ch; }
.ac-texto p { margin: 0 0 1.05em; }
.ac-texto p.ac-entrada { font-size: 20px; line-height: 1.6; color: var(--bc-marino); font-weight: 600; font-family: "Poppins", sans-serif; }
.ac-texto h2 {
  position: relative;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  margin: 1.8em 0 .7em;
  padding-left: 16px;
}
.ac-texto h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px; background: var(--bc-azul); }
.ac-texto ul { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.ac-texto ul li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bc-cielo);
  color: var(--bc-azul-osc);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.ac-texto ul li::before { content: "✓"; font-weight: 700; }
.ac-texto a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Restos del maquetador de la web antigua (WordPress/Elementor): sin márgenes raros */
.ac-texto [class^="elementor"], .ac-texto [class*=" elementor"] { margin: 0; padding: 0; }

/* Preguntas frecuentes convertidas en desplegables */
.ac-faq-lista { display: grid; gap: 10px; margin: 6px 0 1.6em; }
.ac-faq-lista details {
  background: #fff;
  border: 1px solid var(--bc-borde);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(11, 37, 69, .05);
  overflow: hidden;
}
.ac-faq-lista details[open] { border-color: #b9d3f5; }
.ac-faq-lista summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 52px 15px 18px;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--bc-marino);
  line-height: 1.45;
}
.ac-faq-lista summary::-webkit-details-marker { display: none; }
.ac-faq-lista summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bc-cielo);
  color: var(--bc-azul);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 600;
}
.ac-faq-lista details[open] summary::after { content: "−"; background: var(--bc-azul); color: #fff; }
.ac-faq-lista .resp { padding: 0 18px 16px; font-size: 16px; line-height: 1.7; color: #475569; }

.ac-lateral { position: sticky; top: 100px; }
.ac-lateral h3 { font-size: 20px; margin: 0 0 14px; }
.ac-lista-datos { list-style: none; padding: 0; margin: 0 0 18px; }
.ac-lista-datos li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--bc-borde); }
.ac-lista-datos li:last-child { border-bottom: 0; }
.ac-lista-datos i { font-size: 20px; color: var(--bc-azul); width: 24px; text-align: center; }
.ac-lista-datos span { color: var(--bc-gris); }
.ac-lista-datos b { margin-left: auto; color: var(--bc-marino); }
.ac-contacto { margin-top: 14px; font-size: 14px; color: var(--bc-gris); text-align: center; }
.ac-contacto a { font-weight: 600; }

/* Galería */
.ac-galeria .portfolio-details-slider { border-radius: var(--bc-radio); overflow: hidden; box-shadow: var(--bc-sombra); background: #000; }
.ac-galeria .swiper-slide { display: flex; align-items: center; justify-content: center; }
.ac-galeria .swiper-slide img,
.ac-galeria .swiper-slide video { width: 100%; height: clamp(260px, 52vw, 560px); object-fit: cover; display: block; }
.portfolio-details .portfolio-details-slider .swiper-pagination { margin-top: 0; position: absolute; bottom: 14px; }
.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet { background: rgba(255, 255, 255, .7); border-color: #fff; }

/* Preguntas frecuentes y texto largo dentro de tarjeta */
.ac-faq { max-width: 880px; margin: 0 auto; }

/* ---------- Página de reserva (calendario + horarios) ---------- */
.ag-cabecera { background: linear-gradient(120deg, var(--bc-marino), var(--bc-azul)); color: #fff; padding: 30px 0 26px; }
.ag-cabecera .ac-miga a { color: #fff; }
.ag-cabecera h1 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; margin: 0; }
.ag-cabecera p { margin: 6px 0 0; color: rgba(255, 255, 255, .88); }
.ag-pestanas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ag-pestanas a {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .25);
}
.ag-pestanas a:hover { background: rgba(255, 255, 255, .24); }
.ag-pestanas a.activa { background: #fff; color: var(--bc-azul); border-color: #fff; }

.ag-rejilla { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 30px; align-items: start; }
@media (max-width: 991px) { .ag-rejilla { grid-template-columns: minmax(0, 1fr); } }

.ag-cal { padding: 18px; }
.ag-cal-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ag-cal-cab h2 { font-size: 19px; font-weight: 600; margin: 0; text-transform: capitalize; }
.ag-cal-cab a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bc-cielo); color: var(--bc-azul); font-size: 22px; text-decoration: none; }
.ag-cal-cab a:hover { background: var(--bc-azul); color: #fff; }
.ag-cal-cab a.off { visibility: hidden; }
.ag-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.ag-dias .sem { font-size: 12px; font-weight: 700; color: var(--bc-gris); padding: 4px 0; text-transform: uppercase; }
.ag-dias .d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; font-weight: 600; font-size: 15px; color: #b8c2cf; text-decoration: none; position: relative; }
.ag-dias a.d { color: var(--bc-azul); background: var(--bc-cielo); }
.ag-dias a.d:hover { background: var(--bc-azul); color: #fff; }
.ag-dias .d.hoy::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ag-dias .d.sel, .ag-dias a.d.sel { background: var(--bc-azul); color: #fff; box-shadow: 0 6px 14px rgba(33, 103, 201, .35); }
.ag-leyenda { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--bc-gris); flex-wrap: wrap; }
.ag-leyenda i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 5px; }

.ag-proximos { margin-top: 18px; }
.ag-proximos h3 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.ag-proximos div { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-proximos a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--bc-borde); font-size: 13.5px; font-weight: 600; text-decoration: none; background: #fff; }
.ag-proximos a:hover, .ag-proximos a.sel { border-color: var(--bc-azul); background: var(--bc-azul); color: #fff; }

.ag-dia-titulo { font-size: 22px; font-weight: 600; margin: 0 0 4px; text-transform: none; }
.ag-dia-sub { color: var(--bc-gris); margin: 0 0 18px; }
.ag-franjas { display: grid; gap: 12px; }
.ag-franja { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; }
.ag-franja .hora { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 20px; color: var(--bc-marino); white-space: nowrap; }
.ag-franja .hora small { display: block; font-size: 13px; font-weight: 500; color: var(--bc-gris); }
.ag-franja .info { font-size: 14px; color: var(--bc-gris); }
.ag-franja .info b { display: block; font-size: 20px; color: var(--bc-marino); }
.ag-plazas { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--bc-verde); }
.ag-plazas.pocas { color: var(--bc-naranja); }
.ag-plazas.llena { color: #b42318; }
@media (max-width: 575px) {
  .ag-franja { grid-template-columns: 1fr auto; }
  .ag-franja .bc-btn, .ag-franja .bc-btn.off { grid-column: 1 / -1; width: 100%; }
}
.ag-vacio { text-align: center; padding: 40px 24px; color: var(--bc-gris); }
.ag-vacio i { font-size: 44px; color: #b8c2cf; display: block; margin-bottom: 8px; }
.ag-vacio b { display: block; color: var(--bc-marino); font-size: 18px; margin-bottom: 6px; }
.ag-ayuda { margin-top: 18px; display: flex; gap: 12px; align-items: center; background: var(--bc-cielo); border-radius: 14px; padding: 14px 18px; font-size: 14.5px; }
.ag-ayuda i { font-size: 26px; color: var(--bc-azul); }

/* ---------- Pie ---------- */
#footer { background: var(--bc-marino); }
#footer .footer-top { background: var(--bc-marino); padding: 56px 0 24px; border-top: 0; }
#footer .footer-top .footer-info { background: rgba(255, 255, 255, .05); border-top: 4px solid var(--bc-azul); border-radius: var(--bc-radio); color: rgba(255, 255, 255, .82); margin-top: 0; }
#footer .footer-top .footer-info h3 { color: #fff; font-size: 20px; overflow-wrap: anywhere; }
#footer .footer-top .footer-info strong { color: #fff; }
#footer .footer-top h4 { color: #fff; }
#footer .footer-top .footer-links ul a { color: rgba(255, 255, 255, .8); }
#footer .footer-top .footer-links ul a:hover { color: #fff; }
#footer .footer-top .footer-links ul i { color: #7fb0f0; }
#footer .footer-top .social-links a { background: var(--bc-azul); border-radius: 50%; }
#footer .footer-top .social-links a:hover { background: #fff; color: var(--bc-azul); }
#footer .copyright { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; color: rgba(255, 255, 255, .7); }
.bc-pie-contacto { display: grid; gap: 10px; }
.bc-pie-contacto a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.bc-pie-contacto a:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.bc-pie-contacto i { font-size: 22px; color: #7fb0f0; }
.back-to-top { border-radius: 50%; }

/* Botón flotante de WhatsApp */
.bc-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 996;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.bc-whatsapp:hover { color: #fff; transform: scale(1.07); }
