/* ============================================================
   Budapest Free Tour - Official Color Theme
   Source of truth for site colors
   Brand: black, white, grayscale only
   ============================================================ */

:root {
  /* Core backgrounds */
  --bg-dark: #050505;
  --bg-card: #121212;
  --bg-alt: #0a0a0a;
  --bg-soft: #181818;
  --bg-hover: #222222;

  /* Text */
  --text: #ffffff;
  --text-muted: #b8b8b8;
  --text-dim: #737373;
  --text-invert: #000000;

  /* Brand / accents */
  --accent: #ffffff;
  --accent-hover: #d4d4d4;
  --bft-brand-orange: #ffffff;

  /* Legacy variables forced to grayscale */
  --blue: #d4d4d4;
  --red: #b8b8b8;
  --green: #e5e5e5;
  --yellow: #a3a3a3;

  /* Lines / borders / surfaces */
  --line-soft: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.14);
  --line-strong: rgba(255,255,255,.34);
  --surface-glass: rgba(255,255,255,.08);
  --surface-glass-strong: rgba(255,255,255,.14);

  /* Header / overlay */
  --header-bg: rgba(0,0,0,.42);
  --header-bg-solid: rgba(0,0,0,.94);
  --hero-overlay-top: rgba(0,0,0,.56);
  --hero-overlay-mid: rgba(0,0,0,.74);
  --hero-overlay-bottom: rgba(0,0,0,.98);

  /* Language dots, still grayscale */
  --lang-en: #f5f5f5;
  --lang-es: #d4d4d4;
  --lang-de: #a3a3a3;
  --lang-it: #737373;
  --lang-default: #b8b8b8;

  --shadow: 0 10px 40px rgba(0,0,0,.45);
}

/* Global */
html,
body {
  background: var(--bg-dark);
  color: var(--text);
}

a {
  color: var(--text);
}

a:hover {
  color: var(--accent-hover);
}

/* Header / nav */
#main-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line-soft);
}

#main-header.header-solid {
  background: var(--header-bg-solid);
  box-shadow: var(--shadow);
}

.nav-links a,
.footer-links a,
.lang-btn {
  color: var(--text-dim);
}

.nav-links a:hover,
.nav-links a.active,
.footer-links a:hover,
.lang-btn:hover,
.lang-btn.active {
  color: var(--text);
  background: var(--surface-glass);
}

.nav-toggle span {
  background: var(--text);
}

/* Logo */
.bft-logo-main,
.bft-logo-accent,
.logo-accent {
  color: var(--text) !important;
}

.bft-logo-sub {
  color: rgba(255,255,255,.68);
}

/* Hero */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    var(--hero-overlay-top) 0%,
    var(--hero-overlay-mid) 52%,
    var(--hero-overlay-bottom) 100%
  );
}

/* Sections / cards */
.section-alt,
.cta-section {
  background: var(--bg-alt);
}

.footer {
  background: #0f0f0f;
}

.calendar-container,
.exp-card,
.tour-card,
.route-block,
.review-card,
.faq-item,
.contact-form-wrap,
.contact-map-card,
.modal-content {
  background: var(--bg-card);
  border-color: var(--line);
}

.exp-card:hover,
.tour-card:hover {
  border-color: var(--line-strong);
}

/* Buttons */
.btn {
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.btn-primary,
.nav-cta {
  background: var(--text) !important;
  color: var(--text-invert) !important;
  border-color: var(--text) !important;
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--text-invert) !important;
  border-color: var(--accent-hover) !important;
}

.btn-outline {
  background: transparent !important;
  color: var(--text) !important;
  border: 2px solid var(--text) !important;
}

.btn-outline:hover {
  background: var(--text) !important;
  color: var(--text-invert) !important;
}

.btn-ghost {
  background: transparent !important;
  color: var(--accent-hover) !important;
  border-color: var(--line-strong) !important;
}

.btn-ghost:hover {
  color: var(--text) !important;
  border-color: var(--text) !important;
  background: var(--surface-glass) !important;
}

.btn-danger {
  background: #262626 !important;
  color: var(--text) !important;
  border-color: var(--text-dim) !important;
}

.btn-danger:hover {
  background: #404040 !important;
}

/* Badges */
.badge {
  background: var(--surface-glass);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.bft-mini-icon {
  display: inline-block;
  vertical-align: -1px;
  margin-right: 8px;
}

.bft-mini-diamond {
  width: 8px;
  height: 8px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 1px;
}

/* Solid icons */
.exp-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface-glass);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.exp-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  display: block;
}

.bft-inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05em;
  height: 1.05em;
  margin-right: 8px;
  vertical-align: -.15em;
  color: currentColor;
}

.bft-inline-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.bft-icon-back::before {
  content: '';
  width: .65em;
  height: .65em;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  display: block;
  margin-left: .2em;
}

/* Route */
.stop-number {
  background: var(--text);
  color: var(--text-invert);
}

.route-stop {
  background: rgba(255,255,255,.045);
}

.route-point {
  position: relative;
  padding-left: 22px;
}

.route-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text);
}

.route-point-end::before {
  background: #8c8c8c;
}

/* Calendar */
.cal-day.available {
  color: var(--text);
  background: #2a2a2a;
}

.cal-day.available:hover {
  background: #3a3a3a;
  color: var(--text);
}

.cal-day.selected {
  background: var(--text);
  color: var(--text-invert);
}

.cal-day.today {
  outline: 1px solid rgba(255,255,255,.7);
}

/* Slots */
.slot-btn {
  border-color: rgba(255,255,255,.68) !important;
  color: var(--text) !important;
  background: transparent !important;
}

.slot-btn:hover:not(.locked) {
  background: var(--text) !important;
  color: var(--text-invert) !important;
  filter: none;
}

.slot-btn.locked {
  border-color: rgba(255,255,255,.25) !important;
  color: #777 !important;
  background: transparent !important;
}

.slots-error {
  color: var(--accent-hover) !important;
}

/* Forms / modal */
.form-group input,
.form-group textarea,
.form-group select {
  border-color: var(--line);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--text);
}

.form-error {
  color: var(--accent-hover);
}

.booking-summary strong {
  color: var(--text);
}

/* Success / alerts */
.success-icon {
  background: var(--text);
  color: var(--text-invert);
}

.success-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.alert-success,
.alert-error {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.status-confirmed,
.status-cancelled {
  color: var(--text);
}

/* Reviews without colored stars */
.rating-number,
.rating-stars,
.review-stars {
  color: var(--text);
}

.rating-dots {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.rating-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.62);
  background: transparent;
  display: inline-block;
}

.rating-dot.filled {
  background: var(--text);
  border-color: var(--text);
}

.review-stars .rating-dot {
  width: 7px;
  height: 7px;
}

/* FAQ / CTA */
.faq-item summary:hover {
  color: var(--text);
}

.cta-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* Language colors forced from this file */
.lang-dot {
  background: var(--lang-default) !important;
}

.lang-dot-en,
.dot-en {
  background: var(--lang-en) !important;
}

.lang-dot-es,
.dot-es {
  background: var(--lang-es) !important;
}

.lang-dot-de,
.dot-de {
  background: var(--lang-de) !important;
}

.lang-dot-it,
.dot-it {
  background: var(--lang-it) !important;
}

/* Text links */
.text-link-muted {
  color: var(--accent-hover) !important;
  text-decoration: none;
}

.text-link-muted:hover {
  color: var(--text) !important;
}

/* Admin grayscale override */
.admin-nav,
.admin-card,
.login-form,
.admin-page .modal-content {
  background: var(--bg-card);
  border-color: var(--line);
}

.admin-logo,
.login-form h1,
.stat-number,
.admin-table code {
  color: var(--text);
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.login-form input:focus {
  border-color: var(--text);
}

.btn-block,
.btn-unblock {
  background: #262626 !important;
  color: var(--text) !important;
  border: 1px solid var(--text-dim) !important;
}

.btn-block:hover,
.btn-unblock:hover {
  background: #404040 !important;
}

.res-group {
  border-left-color: var(--text);
}

.res-group.res-blocked {
  border-left-color: #777;
  background: #181818;
}

.acal-sel {
  background: #2a2a2a;
}

.acal-sel a,
.acal-d a:hover {
  color: var(--text) !important;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    background: rgba(0,0,0,.98);
  }
}

/* ============================================================
   BFT HERO SPLIT PATCH
   Desktop: text left, image/video right
   Mobile: keeps classic full-screen hero
   ============================================================ */

@media (min-width: 981px) {
  #hero {
    height: calc(100vh - 70px);
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #f4f4f4;
    overflow: hidden;
  }

  #hero::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 56%;
    background:
      linear-gradient(
        90deg,
        #f4f4f4 0%,
        #f4f4f4 68%,
        rgba(244,244,244,.94) 84%,
        rgba(244,244,244,0) 100%
      );
    z-index: 3;
    pointer-events: none;
  }

  .hero-poster,
  .hero-video {
    filter: saturate(.92) brightness(1.02) contrast(.96);
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 46% !important;
    width: 54% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
  }

  .hero-poster {
    background-position: center center !important;
    background-size: cover !important;
    z-index: 1;
  }

  .hero-video {
    z-index: 2;
  }

  .hero-overlay {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 46% !important;
    width: 54% !important;
    background:
      linear-gradient(
        90deg,
        rgba(244,244,244,.86) 0%,
        rgba(244,244,244,.42) 18%,
        rgba(0,0,0,.14) 100%)
      ) !important;
    z-index: 2;
  }

  .hero-content {
    position: relative;
    z-index: 4;
    width: min(39vw, 560px);
    max-width: 500px;
    margin: 0 0 0 clamp(42px, 7vw, 140px);
    padding: 0;
    text-align: left;
    color: #050505;
  }

  .hero-badges {
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 30px;
  }

  .badge {
    background: rgba(0,0,0,.045) !important;
    color: #111 !important;
    border: 1px solid rgba(0,0,0,.18) !important;
    backdrop-filter: blur(10px);
  }

  .hero-content h1 {
    color: #050505 !important;
    text-align: left;
    text-shadow: none !important;
    font-size: clamp(32px, 3.25vw, 56px);
    line-height: .92;
    letter-spacing: .01em;
    max-width: 500px;
    margin: 0 0 26px;
  }

  .hero-sub {
    color: #333 !important;
    text-align: left;
    max-width: 500px;
    margin: 0 0 36px;
    font-size: clamp(17px, 1.15vw, 20px);
    line-height: 1.55;
  }

  .hero-btns {
    justify-content: flex-start;
    gap: 18px;
  }

  .hero-btns .btn-primary {
    background: #050505 !important;
    color: #fff !important;
    border-color: #050505 !important;
  }

  .hero-btns .btn-primary:hover {
    background: #2a2a2a !important;
    color: #fff !important;
    border-color: #2a2a2a !important;
  }

  .hero-btns .btn-outline {
    background: transparent !important;
    color: #050505 !important;
    border-color: #050505 !important;
  }

  .hero-btns .btn-outline:hover {
    background: #050505 !important;
    color: #fff !important;
  }

  .hero-scroll {
    display: none !important;
  }

  /* Header estilo limpio sobre hero claro */
  #main-header {
    background: rgba(244,244,244,.88) !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
    backdrop-filter: blur(18px);
  }

  #main-header.header-solid {
    background: rgba(244,244,244,.96) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,.08) !important;
  }

  .bft-logo-main,
  .bft-logo-accent,
  .logo-accent {
    color: #050505 !important;
    text-shadow: none !important;
  }

  .bft-logo-sub {
    color: rgba(0,0,0,.58) !important;
  }

  .nav-links a,
  .lang-btn {
    color: #555 !important;
  }

  .nav-links a:hover,
  .nav-links a.active,
  .lang-btn:hover,
  .lang-btn.active {
    color: #050505 !important;
    background: rgba(0,0,0,.06) !important;
  }

  .nav-cta {
    background: #050505 !important;
    color: #fff !important;
    border-color: #050505 !important;
  }

  .nav-cta:hover {
    background: #2a2a2a !important;
    color: #fff !important;
    border-color: #2a2a2a !important;
  }
}

/* Tablet: split menos extremo */
@media (min-width: 981px) and (max-width: 1180px) {
  .hero-content {
    margin-left: 42px;
    width: 46vw;
  }

  .hero-content h1 {
    font-size: clamp(40px, 4.2vw, 62px);
  }

  .hero-sub {
    font-size: 18px;
  }
}

/* Mobile: mantener hero oscuro legible */
@media (max-width: 980px) {
  #hero {
    min-height: 720px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badges,
  .hero-btns {
    justify-content: center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(0,0,0,.55) 0%,
        rgba(0,0,0,.76) 55%,
        rgba(0,0,0,.98) 100%
      ) !important;
  }
}


/* ============================================================
   BFT HERO SPLIT REFINEMENT
   Más parecido a Tulum VIP: texto izquierdo + imagen clara derecha
   ============================================================ */

@media (min-width: 981px) {
  #hero {
    height: calc(100vh - 70px) !important;
    min-height: 660px !important;
    background: #f4f4f4 !important;
  }

  #hero::before {
    width: 62% !important;
    background:
      linear-gradient(
        90deg,
        #f4f4f4 0%,
        #f4f4f4 48%,
        rgba(244,244,244,.96) 62%,
        rgba(244,244,244,.72) 76%,
        rgba(244,244,244,.22) 90%,
        rgba(244,244,244,0) 100%
      ) !important;
    z-index: 3 !important;
  }

  .hero-poster,
  .hero-video {
    left: 44% !important;
    width: 56% !important;
    filter: saturate(.98) brightness(1.12) contrast(.94) !important;
    object-position: center center !important;
  }

  .hero-overlay {
    left: 44% !important;
    width: 56% !important;
    background:
      linear-gradient(
        90deg,
        rgba(244,244,244,.55) 0%,
        rgba(244,244,244,.18) 22%,
        rgba(244,244,244,.02) 48%,
        rgba(0,0,0,.04) 100%
      ) !important;
    z-index: 2 !important;
  }

  .hero-content {
    width: min(42vw, 620px) !important;
    max-width: 620px !important;
    margin-left: clamp(52px, 7vw, 140px) !important;
  }

  .hero-badges {
    max-width: 620px !important;
    margin-bottom: 28px !important;
  }

  .hero-content h1 {
    max-width: 560px !important;
    font-size: clamp(30px, 2.85vw, 50px) !important;
    line-height: .96 !important;
    margin-bottom: 26px !important;
  }

  .hero-sub {
    max-width: 570px !important;
    font-size: clamp(17px, 1.12vw, 20px) !important;
    line-height: 1.55 !important;
    margin-bottom: 34px !important;
  }

  .hero-btns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .hero-btns .btn {
    min-width: 230px !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 981px) and (max-width: 1220px) {
  .hero-content {
    width: min(45vw, 560px) !important;
    margin-left: 42px !important;
  }

  .hero-content h1 {
    font-size: clamp(28px, 3vw, 44px) !important;
    max-width: 500px !important;
  }

  .hero-btns {
    flex-wrap: wrap !important;
  }
}


/* ============================================================
   BFT HERO LEFT FADE PATCH
   Hace que la imagen del hero se desvanezca hacia la izquierda
   ============================================================ */
@media (min-width: 981px) {
  #hero::before {
    width: 58% !important;
    background:
      linear-gradient(
        90deg,
        #f4f4f4 0%,
        #f4f4f4 67%,
        rgba(244,244,244,.98) 75%,
        rgba(244,244,244,.88) 82%,
        rgba(244,244,244,.56) 89%,
        rgba(244,244,244,.18) 96%,
        rgba(244,244,244,0) 100%
      ) !important;
    z-index: 3 !important;
  }

  .hero-poster,
  .hero-video {
    left: 44% !important;
    width: 56% !important;
    object-position: center center !important;
    filter: saturate(.98) brightness(1.10) contrast(.95) !important;
  }

  .hero-overlay {
    left: 44% !important;
    width: 56% !important;
    background:
      linear-gradient(
        90deg,
        rgba(244,244,244,1) 0%,
        rgba(244,244,244,.98) 8%,
        rgba(244,244,244,.90) 16%,
        rgba(244,244,244,.72) 24%,
        rgba(244,244,244,.46) 33%,
        rgba(244,244,244,.22) 44%,
        rgba(244,244,244,.08) 56%,
        rgba(244,244,244,0) 70%,
        rgba(0,0,0,.02) 100%
      ) !important;
    z-index: 2 !important;
  }
}


/* ============================================================
   BFT FOOTER LOGO FIX
   El header puede usar logo negro en hero claro,
   pero el footer siempre debe usar logo blanco.
   ============================================================ */

.footer .bft-logo-main,
.footer .bft-logo-word,
.footer .bft-logo-accent,
.footer .logo-accent,
footer .bft-logo-main,
footer .bft-logo-word,
footer .bft-logo-accent,
footer .logo-accent {
  color: #ffffff !important;
  text-shadow: none !important;
}

.footer .bft-logo-sub,
footer .bft-logo-sub {
  color: rgba(255,255,255,.72) !important;
}

.footer .bft-logo-link,
footer .bft-logo-link {
  opacity: 1 !important;
  filter: none !important;
}

.footer .footer-brand,
footer .footer-brand {
  color: #ffffff !important;
}


/* ============================================================
   BFT FOOTER LOGO FIX
   El header puede usar logo negro en hero claro,
   pero el footer siempre debe usar logo blanco.
   ============================================================ */

.footer .bft-logo-main,
.footer .bft-logo-word,
.footer .bft-logo-accent,
.footer .logo-accent,
footer .bft-logo-main,
footer .bft-logo-word,
footer .bft-logo-accent,
footer .logo-accent {
  color: #ffffff !important;
  text-shadow: none !important;
}

.footer .bft-logo-sub,
footer .bft-logo-sub {
  color: rgba(255,255,255,.72) !important;
}

.footer .bft-logo-link,
footer .bft-logo-link {
  opacity: 1 !important;
  filter: none !important;
}

.footer .footer-brand,
footer .footer-brand {
  color: #ffffff !important;
}


/* ============================================================
   BFT LEGAL FOOTER + LEGAL PAGES
   ============================================================ */

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 20px 0 0;
}

.footer-legal-links a,
.footer-links a {
  color: var(--text-muted) !important;
  text-decoration: none;
}

.footer-legal-links a:hover,
.footer-links a:hover {
  color: var(--text) !important;
}

.footer-legal-links-center {
  justify-content: center;
  margin-bottom: 18px;
}

.legal-page-section {
  background: var(--bg-dark);
}

.legal-page-container {
  max-width: 980px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
}

.legal-header {
  text-align: left;
  margin-bottom: 32px;
}

.legal-header h1 {
  margin-bottom: 8px;
}

.legal-header p {
  color: var(--text-dim);
}

.legal-content {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.legal-content h2 {
  color: var(--text);
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 34px 0 12px;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0 0 18px 20px;
  padding: 0;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--text) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .footer-legal-links {
    justify-content: center;
  }

  .legal-card {
    padding: 24px;
  }
}


/* ============================================================
   BFT FOOTER COLUMNS + LOCATION FLAG
   ============================================================ */

.footer-content {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.35fr) minmax(140px, .7fr) minmax(250px, .95fr) auto !important;
  gap: 34px 52px !important;
  align-items: flex-start !important;
}

.footer-nav-col,
.footer-legal-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: flex-start !important;
}

.footer-legal-col a,
.footer-nav-col a,
.footer-links a {
  display: inline-block;
  color: var(--text-muted) !important;
  text-decoration: none !important;
}

.footer-legal-col a:hover,
.footer-nav-col a:hover,
.footer-links a:hover {
  color: var(--text) !important;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted) !important;
  font-size: 15px;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .footer-content {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-map {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .footer-nav-col,
  .footer-legal-col,
  .footer-brand,
  .footer-map {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}


/* ============================================================
   BFT FOOTER BOTTOM CENTER FIX
   ============================================================ */

.footer-bottom {
  text-align: center !important;
}

.footer-bottom-inner {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 22px 34px !important;
  flex-wrap: wrap !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.footer-bottom-inner p {
  margin: 0 !important;
}

.footer-location {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* ============================================================
   BFT SLOT FLAGS + SMALLER MONTH LABEL
   ============================================================ */

/* Hacer más pequeño el texto del mes, ej. Giugno 2026 */
#calMonthLabel {
  font-size: clamp(16px, 1.35vw, 22px) !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  letter-spacing: -.01em !important;
}

/* Banderas dentro de los horarios */
.slot-with-flag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.slot-flag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  line-height: 1 !important;
}

.slot-flag-svg {
  width: 1.15em !important;
  height: auto !important;
  display: block !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 2px !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18) inset !important;
}

.slot-label-text {
  display: inline-block !important;
  white-space: nowrap !important;
}

/* ============================================================
   BFT CALENDAR MONTH SMALL FIX
   ============================================================ */

#calMonthLabel,
.cal-month-label,
.calendar-nav #calMonthLabel,
.calendar-nav .cal-month-label {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  max-width: 105px !important;
  text-align: center !important;
  white-space: normal !important;
}

.calendar-nav {
  gap: 12px !important;
}

.calendar-nav .btn,
.calendar-nav button {
  font-size: 13px !important;
}

@media (max-width: 768px) {
  #calMonthLabel,
  .cal-month-label,
  .calendar-nav #calMonthLabel,
  .calendar-nav .cal-month-label {
    font-size: 15px !important;
    max-width: 90px !important;
  }
}

