/* CTA band + footer + WhatsApp FAB */

html.ecs-root,
html.ecs-root body.ecs-site {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  box-shadow: none;
  scrollbar-gutter: auto;
}

body.ecs-site > * {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* —— CTA —— */
.ecs-cta-block.cta,
.cta.ecs-cta-block {
  background: linear-gradient(120deg, #ff6a1a 0%, #e8500c 100%) !important;
  color: #fff;
  padding: 88px 0;
}

.ecs-cta-block .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.ecs-cta-block .cta-text {
  flex: 1 1 320px;
  min-width: 0;
}

.ecs-cta-block .eyebrow,
.ecs-cta-block .eyebrow-light {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0;
}

.ecs-cta-block .eyebrow::before,
.ecs-cta-block .eyebrow-light::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #fff;
  flex-shrink: 0;
}

.ecs-cta-block h2 {
  margin: 12px 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  color: #fff !important;
  max-width: 620px;
  letter-spacing: -0.01em;
}

.ecs-cta-block p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: #fff !important;
  max-width: 520px;
  text-wrap: balance;
}

.ecs-cta-block .cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.ecs-cta-block .btn-cta,
.ecs-cta-block .btn-white,
.ecs-cta-block .btn-outline-white {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px !important;
  min-height: 52px;
  border-radius: 999px !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  box-sizing: border-box;
  border: 2px solid transparent;
  text-transform: none !important;
  position: static;
  overflow: visible;
  background-image: none !important;
}

.ecs-cta-block .btn-cta::before,
.ecs-cta-block .btn-cta::after,
.ecs-cta-block .btn-white::before,
.ecs-cta-block .btn-white::after,
.ecs-cta-block .btn-outline-white::before,
.ecs-cta-block .btn-outline-white::after {
  display: none !important;
  content: none !important;
}

.ecs-cta-block .btn-white {
  background: #fff !important;
  color: #0b1b33 !important;
  border-color: #fff !important;
}

.ecs-cta-block .btn-white:hover {
  background: #0b1b33 !important;
  color: #fff !important;
  border-color: #0b1b33 !important;
}

.ecs-cta-block .btn-white span {
  transition: transform 0.2s ease;
  display: inline-block;
}

.ecs-cta-block .btn-white:hover span {
  transform: translateX(4px);
}

.ecs-cta-block .btn-outline-white {
  border-color: rgba(255, 255, 255, 0.85) !important;
  color: #fff !important;
  background: transparent !important;
}

.ecs-cta-block .btn-outline-white:hover {
  background: #fff !important;
  color: #e8500c !important;
  border-color: #fff !important;
}

@media (max-width: 768px) {
  .ecs-cta-block .cta-actions {
    width: 100%;
  }

  .ecs-cta-block .btn-white,
  .ecs-cta-block .btn-outline-white {
    flex: 1;
    justify-content: center;
  }
}

/* —— Footer —— */
.ecs-footer.footer {
  background: #0b1b33 !important;
  color: #fff;
  padding: 72px 0 0;
}

.ecs-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.ecs-footer .f-brand .logo,
.ecs-footer .ecs-logo-footer,
.ecs-footer a .logo {
  height: 60px !important;
  width: auto !important;
  max-width: 280px !important;
  margin-bottom: 20px;
  background: #fff !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  box-sizing: content-box;
  filter: none !important;
  display: block !important;
  object-fit: contain;
}

.ecs-site .ecs-logo-header,
.ecs-site .navbar-brand .ecs-logo-header {
  height: 46px;
  width: auto;
  max-width: min(210px, 46vw);
  background: #fff !important;
  border-radius: 10px !important;
  padding: 6px 10px !important;
  box-sizing: content-box;
  object-fit: contain;
  filter: none !important;
}

.ecs-footer .f-brand p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 320px;
  text-wrap: balance;
}

.ecs-footer h4 {
  margin: 0 0 20px !important;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}

.ecs-footer nav,
.ecs-footer .f-contact,
.ecs-footer .footer-grid > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ecs-footer nav a,
.ecs-footer .f-contact a {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 16px;
}

.ecs-footer nav a:hover,
.ecs-footer .f-contact a:hover {
  color: #ff6a1a;
}

.ecs-footer .f-line {
  display: flex !important;
  align-items: flex-start;
  gap: 0;
}

.ecs-footer .f-line i {
  width: 1.15em;
  margin-top: 0.2em;
  margin-inline-end: 14px !important;
  color: var(--orange);
  flex-shrink: 0;
  text-align: center;
}

.ecs-footer .f-brand > a {
  display: inline-block !important;
  margin: 0 !important;
}

.ecs-footer .container > .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.ecs-footer .footer-bottom .legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ecs-footer .footer-bottom .legal a {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.ecs-footer .footer-bottom .legal a:hover {
  color: #ff6a1a;
}

.ecs-footer .ecs-copyright {
  display: none;
}

@media (max-width: 900px) {
  .ecs-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .ecs-footer.footer {
    padding-bottom: 88px;
  }

  .ecs-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* —— WhatsApp FAB (replaces orange chat bubble) —— */
.ecs-quick-contact {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 90;
}

.ecs-quick-toggle,
a.ecs-wa-fab {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #25d366 !important;
  color: #fff !important;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  display: grid !important;
  place-items: center;
  text-decoration: none !important;
}

.ecs-quick-panel {
  display: none !important;
}

@media (max-width: 767px) {
  .ecs-quick-contact,
  a.ecs-wa-fab {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 768px) {
  a.ecs-wa-fab {
    display: grid !important;
  }
}
