/* Baltic Clean — unified navigation & footer chrome */

/* FAB stack: callback above chat (all pages, incl. mobile) */
:root {
  --bc-chat-fab-size: 3.75rem;
  --bc-chat-fab-offset: 1.25rem;
  --bc-fab-stack-gap: 0.75rem;
  --bc-callback-fab-size: 3.25rem;
}
@media (max-width: 768px) {
  :root {
    --bc-chat-fab-size: 3.5rem;
    --bc-chat-fab-offset: 1rem;
    --bc-fab-stack-gap: 0.625rem;
  }
}
#bc-chat-fab {
  position: fixed !important;
  bottom: max(var(--bc-chat-fab-offset), env(safe-area-inset-bottom, 0px)) !important;
  right: max(var(--bc-chat-fab-offset), env(safe-area-inset-right, 0px)) !important;
  width: var(--bc-chat-fab-size) !important;
  height: var(--bc-chat-fab-size) !important;
  z-index: 10070 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#bc-chat-fab.bc-hidden {
  display: none !important;
}
.bc-callback-fab,
#bc-callback-fab {
  position: fixed !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  left: auto !important;
  right: max(var(--bc-chat-fab-offset), env(safe-area-inset-right, 0px)) !important;
  bottom: calc(
    var(--bc-chat-fab-offset) + var(--bc-chat-fab-size) + var(--bc-fab-stack-gap) + env(safe-area-inset-bottom, 0px)
  ) !important;
  width: var(--bc-callback-fab-size) !important;
  height: var(--bc-callback-fab-size) !important;
  z-index: 10065 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Font Awesome — must override Tailwind font-sans / preflight (incl. ::before glyphs) */
.fa, .fas, .far, .fal, .fad, .fa-solid, .fa-regular, .fa-light, .fa-thin,
i[class^="fa-"], i[class*=" fa-"],
.fa::before, .fas::before, .far::before, .fal::before, .fad::before,
.fa-solid::before, .fa-regular::before, .fa-light::before, .fa-thin::before,
i[class^="fa-"]::before, i[class*=" fa-"]::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa, .fas, .far, .fal, .fad, .fa-solid, .fa-regular, .fa-light, .fa-thin,
i[class^="fa-"], i[class*=" fa-"] {
  display: inline-block;
  line-height: 1;
}
.fab, .fa-brands, i.fab,
.fab::before, .fa-brands::before, i.fab::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}
.far, .fa-regular, .far::before, .fa-regular::before {
  font-weight: 400 !important;
}

/* Self-contained footer layout (works without Tailwind) */
.bc-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
}
.bc-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .bc-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bc-footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
}
.bc-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.bc-footer-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.bc-footer-logo .bc-logo-img {
  width: 100%;
  height: 100%;
  box-shadow: none;
}
.bc-footer-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.bc-footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.bc-footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #2dd4bf;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.bc-footer-contact:hover { color: #5eead4; }
.bc-footer-address {
  font-size: 0.75rem;
  margin-top: 0.75rem;
  color: #64748b;
}
.bc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bc-footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.2rem 0;
  color: #94a3b8;
  text-decoration: none;
}
.bc-footer-links li a i {
  width: 1rem;
  text-align: center;
  color: #14b8a6;
  font-size: 0.75rem;
}
.bc-footer-chips { margin-bottom: 1rem; }
.bc-footer-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: #2dd4bf;
  text-decoration: none;
}
.bc-footer-more:hover { color: #5eead4; }
.bc-footer-social-title { margin-top: 1.5rem !important; }
.bc-footer-rights {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}
.bc-footer-counter {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #64748b;
}
.bc-soc-wa { background: #16a34a !important; }
.bc-soc-tg { background: #3b82f6 !important; }
.bc-soc-vb { background: #7c3aed !important; }

.bc-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.bc-nav-link i {
  font-size: 0.85rem;
  opacity: 0.85;
  width: 1rem;
  text-align: center;
}

.bc-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
}
.bc-mobile-nav a i {
  width: 1.25rem;
  text-align: center;
  color: #0f766e;
}

/* Language dropdown */
.bc-lang-dropdown { position: relative; z-index: 10060; }
.bc-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f766e;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.bc-lang-trigger:hover,
.bc-lang-open .bc-lang-trigger {
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.15);
}
.bc-lang-chevron {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.2s;
}
.bc-lang-open .bc-lang-chevron { transform: rotate(180deg); }
.bc-lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 11rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 0.35rem;
  list-style: none;
  margin: 0;
  z-index: 10070;
}
.bc-lang-menu li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.85rem;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.bc-lang-menu li a:hover { background: #f0fdfa; color: #0f766e; }
.bc-lang-menu li a.bc-lang-active,
.bc-lang-menu li a[aria-current="page"] {
  background: #ccfbf1;
  color: #0f766e;
  font-weight: 600;
}

/* Mobile menu */
#header { z-index: 10050 !important; }
.bc-mobile-menu {
  position: relative;
  z-index: 10045;
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.bc-mobile-menu.bc-mobile-open { display: block !important; }
body.bc-menu-open { overflow: hidden; }
.bc-mobile-nav a,
.bc-mobile-nav > a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.25rem;
  color: #374151;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 0.5rem;
  min-height: 44px;
}
.bc-mobile-nav a:hover { background: #f0fdfa; color: #0f766e; }
.bc-mobile-nav a i { width: 1.25rem; text-align: center; color: #0f766e; }
.bc-mobile-call { display: flex !important; }

@media (min-width: 1024px) {
  .bc-mobile-menu { display: none !important; }
}

.bc-lang-switch a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Animations & polish */
.bc-site-header {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
}
.bc-site-header.bc-scrolled {
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.12);
}
.bc-logo-img {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
}
.bc-logo-img--footer {
  width: 2.75rem;
  height: 2.75rem;
}
.bc-logo-link {
  text-decoration: none;
  transition: transform 0.25s ease;
}
.bc-logo-link:hover { transform: scale(1.02); }
.bc-btn-glow {
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bc-btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.45);
}
.bc-nav-link {
  transition: color 0.2s, transform 0.2s;
}
.bc-nav-link:hover { transform: translateY(-1px); }
.bc-mobile-menu {
  animation: bcMenuSlide 0.28s ease;
}
@keyframes bcMenuSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.bc-lang-menu {
  animation: bcMenuSlide 0.22s ease;
}
.bc-page-hero {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  padding: 3rem 0;
  margin-bottom: 1rem;
}
.bc-page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; }
.bc-page-hero .lead { opacity: 0.95; max-width: 48rem; margin: 0 auto; }
.bc-animate-in {
  animation: bcFadeUp 0.6s ease both;
}
@keyframes bcFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.bc-reveal-pending {
  opacity: 0;
  transform: translateY(28px);
}
.bc-reveal-visible {
  animation: bcRevealIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--bc-reveal-delay, 0s);
}
@keyframes bcRevealIn {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
html.bc-page-ready body {
  animation: bcPageIn 0.4s ease both;
}
@keyframes bcPageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.bc-card,
.card,
.seo-block {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.bc-card:hover,
.card:hover,
.seo-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.15);
}
.bc-footer {
  animation: bcFadeUp 0.5s ease both;
}

/* Hero & interactive animations */
.bc-page-hero h1 {
  animation: bcHeroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.bc-page-hero .lead {
  animation: bcHeroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
@keyframes bcHeroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.bc-logo-img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.bc-logo-link:hover .bc-logo-img {
  transform: scale(1.08) rotate(-3deg);
}
.district-chip,
.bc-district-chip {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.district-chip:hover,
.bc-district-chip:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.2);
}
.bc-btn-glow {
  animation: bcBtnGlow 3s ease-in-out infinite;
}
@keyframes bcBtnGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35); }
  50% { box-shadow: 0 6px 22px rgba(15, 118, 110, 0.55); }
}
#related-services a {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
#related-services a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.12);
}

/* Callback modal */
.bc-callback-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.bc-callback-overlay.bc-callback-open {
  opacity: 1;
}
.bc-callback-overlay[hidden] {
  display: none !important;
}
.bc-callback-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 25px 60px rgba(15, 118, 110, 0.25);
  border: 2px solid rgba(15, 118, 110, 0.15);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.bc-callback-open .bc-callback-dialog {
  transform: scale(1) translateY(0);
}
.bc-callback-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: #f0fdfa;
  color: #0d9488;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.bc-callback-close:hover {
  background: #ccfbf1;
  transform: rotate(90deg);
}
.bc-callback-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #fff;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  animation: bcPhoneRing 2s ease-in-out infinite;
}
@keyframes bcPhoneRing {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(0); }
}
.bc-callback-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.bc-callback-sub {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.bc-callback-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bc-callback-form input[type="text"],
.bc-callback-form input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bc-callback-form input:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}
.bc-callback-submit {
  width: 100%;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bc-callback-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
}
.bc-callback-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.bc-callback-success {
  text-align: center;
  color: #0d9488;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 0;
}
.bc-callback-success.hidden,
.bc-callback-form.hidden {
  display: none !important;
}
.bc-callback-spin {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bcSpin 0.7s linear infinite;
}
@keyframes bcSpin {
  to { transform: rotate(360deg); }
}
.bc-callback-fab {
  /* position/size via FAB stack vars above */
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: bcFabPulse 2.5s ease-in-out infinite;
}
.bc-callback-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.55);
}
@keyframes bcFabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45); }
  50% { box-shadow: 0 8px 32px rgba(37, 99, 235, 0.65), 0 0 0 8px rgba(59, 130, 246, 0.15); }
}
body.bc-callback-active {
  overflow: hidden;
}


@media (prefers-reduced-motion: reduce) {
  .bc-mobile-menu, .bc-lang-menu, .bc-animate-in, .bc-footer,
  .bc-reveal-visible, html.bc-page-ready body { animation: none; }
  .bc-reveal-pending { opacity: 1; transform: none; }
  .bc-nav-link:hover, .bc-logo-link:hover, .bc-btn-glow:hover,
  .bc-card:hover, .card:hover, .seo-block:hover,
  .district-chip:hover, .bc-district-chip:hover,
  .bc-logo-link:hover .bc-logo-img { transform: none; }
  .bc-btn-glow, .bc-callback-fab, .bc-callback-icon,
  .bc-page-hero h1, .bc-page-hero .lead { animation: none; }
}

/* Unified footer */
.bc-footer {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #94a3b8;
}
.bc-footer h4 {
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bc-footer h4 i { color: #14b8a6; font-size: 0.9rem; }
.bc-footer a {
  transition: color 0.2s, transform 0.2s;
}
.bc-footer a:hover { color: #fff; }
.bc-footer ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.2rem 0;
}
.bc-footer ul li a i {
  width: 1rem;
  text-align: center;
  color: #14b8a6;
  font-size: 0.75rem;
}

.bc-footer-social {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
}
.bc-footer-social-title + .bc-footer-social,
h4 + .bc-footer-social {
  flex-direction: row !important;
}
.bc-footer-social a {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bc-footer-social a:hover { transform: scale(1.08); }

#bc-consent-fab {
  left: max(1rem, env(safe-area-inset-left, 0px)) !important;
  right: auto !important;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 9997 !important;
}

.bc-district-chip {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.25);
  color: #99f6e4;
  margin: 0.2rem 0.2rem 0.2rem 0;
  transition: all 0.2s;
}
.bc-district-chip:hover {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}

.bc-area-chip {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: #f0fdfa;
  color: #115e59;
  border: 1px solid #ccfbf1;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bc-area-chip:hover {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}

.bc-legal-bar {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.bc-legal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bc-legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(15, 118, 110, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #ccfbf1 !important;
  text-decoration: none !important;
}
.bc-legal-pill:hover {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff !important;
}
.bc-legal-pill i { font-size: 0.85rem; }

@media (max-width: 768px) {
  .bc-footer .grid { gap: 2rem; }
  .bc-legal-bar { flex-direction: column; text-align: center; }
  .bc-legal-pills { justify-content: center; }
}