/* ==========================================================================
   TOP CANALIZADOR — Webxtek Enhancement Layer (/assets/css/style.css)
   Preserves 100% Authentic Prohauz Design + Unbreakable Navbar +
   Hover Language Selector + Pre-Footer CTA (No Forms) +
   Minimalist Centered Footer + GDPR Modal + WhatsApp Widget
   ========================================================================== */

/* Keep Prohauz Logo Compact & Prevent Navbar From Ever Wrapping Onto 2 Lines */
.mainHeader .logo img,
.btVerticalHeaderTop .logo img {
  height: 58px !important;
  max-height: 58px !important;
  width: auto !important;
  object-fit: contain;
}

.btStickyHeaderActive .mainHeader .logo img {
  height: 50px !important;
  max-height: 50px !important;
  width: auto !important;
}

@media (min-width: 993px) {
  .mainHeaderInner .btLogoArea .port {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }
  .mainHeaderInner .btLogoArea .port::after {
    display: none !important;
  }
  .mainHeaderInner .btLogoArea .logo {
    float: none !important;
    flex-shrink: 0 !important;
  }
  .mainHeaderInner .btLogoArea .menuPort {
    float: none !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
}

/* Instant CSS Hover Support for Prohauz Submenus & Language Selector (100% Opaque White Dropdown) */
.menuPort nav > ul > li.menu-item-has-children:hover > ul.sub-menu,
.menuPort nav > ul > li.lang-menu-item:hover > ul.sub-menu,
.menuPort nav > ul > li.on > ul.sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  background-color: #ffffff !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18) !important;
}

.btMenuHorizontal .menuPort > nav > ul > li:not(.btMenuWideDropdown) > ul li:first-child > a,
.menuPort nav > ul > li.menu-item-has-children > ul.sub-menu li a,
.menuPort nav > ul > li.lang-menu-item > ul.sub-menu.lang-submenu li a {
  color: #181818 !important;
  background-color: #ffffff !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.btMenuHorizontal .menuPort > nav > ul > li:not(.btMenuWideDropdown) > ul li:first-child > a:hover,
.btMenuHorizontal .menuPort > nav > ul > li:not(.btMenuWideDropdown) > ul li a:hover,
.menuPort nav > ul > li.menu-item-has-children > ul.sub-menu li a:hover {
  color: #005299 !important;
  background-color: #f4f8fc !important;
  -webkit-box-shadow: inset 4px 0 0 0 #51acfb !important;
  box-shadow: inset 4px 0 0 0 #51acfb !important;
}

/* Language Selector inside Prohauz Navbar (.menuPort) */
.menuPort nav > ul > li.lang-menu-item > a {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.menuPort nav > ul > li.lang-menu-item > a::before,
.menuPort nav > ul > li.lang-menu-item > a::after {
  display: none !important;
}

.menuPort nav > ul > li.lang-menu-item > a img.lang-flag-img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.btStickyHeaderActive .menuPort nav > ul > li.lang-menu-item > a img.lang-flag-img {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.menuPort nav > ul > li.lang-menu-item > a .lang-chevron {
  font-size: 10px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.menuPort nav > ul > li.lang-menu-item:hover > a .lang-chevron,
.menuPort nav > ul > li.lang-menu-item.on > a .lang-chevron {
  transform: rotate(180deg);
}

.menuPort nav > ul > li.lang-menu-item > ul.sub-menu.lang-submenu {
  min-width: 185px;
  right: 0;
  left: auto;
  padding: 6px 0;
  border-radius: 4px;
  background-color: #ffffff !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18) !important;
}

.menuPort nav > ul > li.lang-menu-item > ul.sub-menu.lang-submenu li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 18px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  color: #181818 !important;
  border-bottom: none !important;
}

.menuPort nav > ul > li.lang-menu-item > ul.sub-menu.lang-submenu li a img.lang-flag-img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.menuPort nav > ul > li.lang-menu-item > ul.sub-menu.lang-submenu li a.active-lang {
  color: #005299 !important;
  background: rgba(81, 172, 251, 0.12) !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

/* Ensure all fade-in elements are visible */
.bt_bb_animation_fade_in {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Pre-Footer Large CTA Section (Prohauz Native Style — ZERO Contact Forms) */
.pre-footer-cta-section {
  position: relative;
  background-color: #003466;
  background-image: linear-gradient(120deg, rgba(0, 42, 84, 0.94) 0%, rgba(0, 82, 153, 0.89) 100%), url('/assets/img/background_02.jpg');
  background-size: cover;
  background-position: center;
  padding: 76px 0;
  color: #ffffff;
}

.pre-footer-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.pre-footer-cta-copy {
  max-width: 680px;
}

.pre-footer-cta-copy .pf-super {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #51acfb;
  margin-bottom: 10px;
}

.pre-footer-cta-copy h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 16px;
}

.pre-footer-cta-copy h2 b {
  font-weight: 700;
  color: #51acfb;
}

.pre-footer-cta-copy p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.pre-footer-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  flex-shrink: 0;
}

.pre-footer-phone-row {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.pre-footer-phone-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #51acfb;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.pre-footer-phone-row:hover .pre-footer-phone-circle {
  background: #ef4c37;
  transform: scale(1.05);
}

.pre-footer-phone-number {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pre-footer-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ==========================================================================
   MINIMALIST CENTERED FOOTER (Webxtek Standard: HelderConta / Tyreserv / Taberna)
   ========================================================================== */
.taberna-centered-footer {
  background-color: #071526;
  color: rgba(255, 255, 255, 0.78);
  padding: 36px 20px 32px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Roboto", sans-serif;
}

.taberna-centered-footer .footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.taberna-centered-footer .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

.taberna-centered-footer .footer-legal-links a,
.taberna-centered-footer .footer-legal-links button.cookie-settings-trigger {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.taberna-centered-footer .footer-legal-links a:hover,
.taberna-centered-footer .footer-legal-links button.cookie-settings-trigger:hover {
  color: #51acfb;
}

.taberna-centered-footer .footer-sep {
  color: rgba(255, 255, 255, 0.3);
}

.taberna-centered-footer .footer-copy {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.taberna-centered-footer .footer-crafted {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
}

.taberna-centered-footer .footer-crafted a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.taberna-centered-footer .footer-crafted a:hover {
  color: #51acfb;
}

/* ==========================================================================
   CENTERED GDPR COOKIE MODAL (.cookie-banner-overlay)
   ========================================================================== */
.cookie-banner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 38, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.cookie-banner-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-modal-box {
  background: #ffffff;
  color: #252525;
  max-width: 500px;
  width: 100%;
  border-radius: 5px;
  padding: 32px 30px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.cookie-modal-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(81, 172, 251, 0.14);
  color: #005299;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cookie-modal-box h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #252525;
  margin: 0 0 12px;
}

.cookie-modal-box p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #555555;
  margin: 0 0 22px;
}

.cookie-modal-box p a {
  color: #005299;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cookie-btn {
  flex: 1;
  padding: 13px 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}

.cookie-btn-essential {
  background: #f2f5f8;
  color: #252525;
  border-color: #d5dde6;
}

.cookie-btn-essential:hover {
  background: #e5ebf1;
}

.cookie-btn-accept {
  background: #005299;
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background: #ef4c37;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET WITH PULSE RINGS, BADGE & TOOLTIP + BACK TO TOP
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 14px;
}

.whatsapp-tooltip {
  position: relative;
  background: #ffffff;
  color: #1e293b;
  padding: 12px 34px 12px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  font-family: "Roboto", sans-serif;
  font-size: 13.5px;
  line-height: 1.4;
  max-width: 250px;
  border: 1px solid rgba(0, 82, 153, 0.12);
  transform-origin: right center;
  animation: waTooltipFloat 3.5s ease-in-out infinite;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.whatsapp-tooltip.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px) scale(0.95);
  animation: none;
}

.whatsapp-tooltip strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  color: #005299;
  margin-bottom: 2px;
}

.whatsapp-tooltip-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-btn svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
  position: relative;
  z-index: 2;
}

.wa-pulse,
.wa-pulse-2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  pointer-events: none;
  animation: waPulseAnim 2.4s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

.wa-pulse-2 {
  animation-delay: 1.2s;
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #ef4c37;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  z-index: 3;
}

@keyframes waPulseAnim {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(1.55); opacity: 0; }
}

@keyframes waTooltipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Back to Top Button (42px clear vertical gap above WhatsApp & clear of pulse ring) */
#back-to-top {
  position: fixed;
  bottom: 126px;
  right: 31px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #005299;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(0, 52, 102, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99985;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

#back-to-top svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-btn:hover {
    transform: scale(1.07);
  }
  #back-to-top:hover {
    background: #ef4c37;
    transform: translateY(-2px);
  }
}

@media (max-width: 991px) {
  .pre-footer-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .pre-footer-cta-copy {
    text-align: center;
  }
  .pre-footer-cta-actions {
    align-items: center;
  }
  .pre-footer-phone-row {
    justify-content: center;
  }
  .pre-footer-btn-group {
    justify-content: center;
  }
  .pre-footer-cta-copy h2 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .whatsapp-tooltip {
    display: none;
  }
  .cookie-modal-actions {
    flex-direction: column;
  }
}

/* ==========================================================================
   GOOGLE REVIEWS CAROUSEL (PROHAUZ DARK BACKGROUND STYLE)
   ========================================================================== */
.prohauz-google-reviews-wrap {
  width: 100%;
  padding-bottom: 54px;
}

.google-reviews-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 14px 20px;
  background: rgba(10, 26, 48, 0.72);
  border: 1px solid rgba(81, 172, 251, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.google-reviews-badge-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.google-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.google-brand-pill svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.google-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.google-rating-score {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: #ffffff;
}

.google-rating-stars {
  color: #fbbc04;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}

.google-rating-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.reviews-carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(81, 172, 251, 0.38);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.reviews-nav-btn:hover {
  background: #51acfb;
  border-color: #51acfb;
  transform: translateY(-1px);
}

.reviews-nav-btn svg {
  width: 18px;
  height: 18px;
}

.reviews-carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.reviews-carousel-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  min-height: 235px;
  background: rgba(10, 26, 48, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(81, 172, 251, 0.28);
  border-radius: 8px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.review-card:hover {
  border-color: #51acfb;
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-photo {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 2px solid #51acfb;
  flex-shrink: 0;
  background: #0d223d;
}

.review-author-info {
  min-width: 0;
}

.review-author-info strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-author-info span {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-google-g {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
}

.review-stars {
  color: #fbbc04;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #51acfb;
  font-weight: 600;
}

.review-verified svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.review-quote {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.58;
  margin: 0;
}

.reviews-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.reviews-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.reviews-dot.active {
  width: 26px;
  background: #51acfb;
}

@media (max-width: 1080px) {
  .review-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}

@media (max-width: 820px) {
  .review-card {
    flex: 0 0 100%;
  }
  .google-reviews-topbar {
    justify-content: center;
    text-align: center;
  }
}
