:root {
  --wa-panel-bg: #f5f7fb;
  --wa-panel-border: #dce3ef;
  --wa-text: #1c2434;
  --wa-muted: #606b80;
  --wa-success: #14b56b;
  --wa-success-dark: #0f9d5c;
  --wa-danger: #d43b3b;
  --wa-focus: #1e6bd6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--body-text);
  background: var(--page-bg);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLDz8Z11lFc-K.woff2) format('woff2');
  unicode-range: U +0900 -097F, U +1CD0 -1CF9, U +200C -200D, U +20A8, U +20B9, U +20F0, U +25CC, U + A830-A839, U + A8E0-A8FF, U +11B00 -11B09;
}

.floating-whatsapp {
  position: fixed;
  right: 15px;
  bottom: 10px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(140deg, #28dd73 0%, #1fb862 100%);
  box-shadow: 0 10px 22px rgba(8, 95, 47, 0.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  transition: transform 220ms ease;
}

.floating-whatsapp svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}


@media (max-width: 768px) {
  .floating-whatsapp {
    width: 44px;
    height: 44px;
  }

  .floating-whatsapp svg {
    width: 23px;
    height: 23px;
  }
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
}


.wa-popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.wa-popup[hidden] {
  display: none;
}

.wa-popup.is-open,
.wa-popup.is-closing {
  opacity: 1;
}

.wa-popup.is-open {
  pointer-events: auto;
}

.wa-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 38, 0.48);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.wa-popup__panel {
  position: relative;
  width: min(100%, 400px);
  max-height: min(90vh, 760px);
  margin: 0 12px 12px;
  overflow: auto;
  background: var(--wa-panel-bg);
  border: 1px solid var(--wa-panel-border);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(8, 22, 54, 0.35);
  border: none;
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.985);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 240ms ease;
}

.wa-popup.is-open .wa-popup__backdrop,
.wa-popup.is-closing .wa-popup__backdrop {
  opacity: 1;
}

.wa-popup.is-open .wa-popup__panel,
.wa-popup.is-closing .wa-popup__panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.wa-popup.is-closing .wa-popup__backdrop {
  opacity: 0;
}

.wa-popup.is-closing .wa-popup__panel {
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.99);
}

.wa-popup__header {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 1rem 1rem 0.92rem;
  color: #fff;
  background: linear-gradient(110deg, #0f8f7d 0%, #0f7f7c 55%, #166f7f 100%);
  border-radius: 18px 0 0 0;
}

.wa-popup__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
}

.wa-popup__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wa-popup__agent {
  line-height: 1.1;
}

.wa-popup__agent-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.wa-popup__agent-role {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 6px;
}

.wa-popup__status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 0.42rem;
  background: #2eff8e;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
}

.wa-popup__close {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.wa-popup__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.wa-popup__body {
  padding: 1.05rem 1rem 1.2rem;
}

.wa-popup__welcome {
  margin: 0 0 0.95rem;
  padding: 0.84rem 0.95rem;
  border-radius: 14px;
  background: #e5e8ee;
  color: #2f3646;
  font-size: 0.8rem;
  line-height: 1.5;
}

.wa-field input,
.wa-field select,
.wa-phone-wrap input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #9eacbf;
  border-radius: 4px;
  padding: 0.72rem 0.88rem;
  font: inherit;
  font-size: 0.8rem;
  color: var(--wa-text);
  background: #fff;
  outline: none;
}

.wa-field {
  margin-bottom: 0.72rem;
}

.wa-field input:not([type="checkbox"]):focus,
.wa-field select:focus,
.wa-phone-wrap input:focus {
  border-color: var(--wa-focus);
  box-shadow: 0 0 0 3px rgba(30, 107, 214, 0.12);
}

.wa-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #636d80 50%), linear-gradient(135deg, #636d80 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.wa-phone-wrap .iti {
  width: 100%;
}

.wa-phone-wrap .iti__selected-country-primary {
  min-height: 46px;
  border-right: 1px solid #d3dbea;
  padding-inline: 10px;
}

.wa-phone-wrap .iti--separate-dial-code .iti__selected-dial-code {
  color: #455063;
}

.wa-field-error {
  max-height: 0;
  margin: 0;
  color: var(--wa-danger);
  font-size: 0.82rem;
  line-height: 1.2;
  opacity: 0;
  transform: translate3d(0, -3px, 0);
  overflow: hidden;
  transition: max-height 220ms ease, opacity 180ms ease, transform 220ms ease, margin 220ms ease;
}

.wa-field-error:not(:empty) {
  max-height: 42px;
  margin-top: 0.32rem;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.wa-field.has-error input,
.wa-field.has-error select,
.wa-field.has-error .iti__tel-input {
  border-color: var(--wa-danger);
}

.wa-consent {
  margin-top: 0.2rem;
}

.wa-consent label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.56rem;
  align-items: start;
  color: #6b7382;
  font-size: 0.63rem;
  line-height: 1.38;
}

.wa-consent input[type="checkbox"] {
  margin-top: 0.14rem;
  width: 15px;
  height: 15px;
  accent-color: #0f9d5c;
  outline: none;
  box-shadow: none;
}

.wa-consent input[type="checkbox"]:focus,
.wa-consent input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: none;
}

.wa-consent a {
  color: #2f4b86;
  font-weight: 600;
}

.wa-submit {
  margin-top: 0.7rem;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font: inherit;
  font-size: 1.12rem;
  font-weight: 600;
  background: linear-gradient(115deg, var(--wa-success) 0%, var(--wa-success-dark) 100%);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(10, 120, 65, 0.25);
}

.wa-submit:hover {
  filter: saturate(1.06);
}

.wa-submit[disabled] {
  opacity: 0.76;
  cursor: wait;
}

.wa-submit__icon {
  margin-right: 0.36rem;
  font-size: 1.15rem;
}

.wa-guarantee {
  text-align: center;
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2a4388;
}

.wa-guarantee__icon {
  font-size: 1.05rem;
  vertical-align: middle;
  margin-right: 0.35rem;
}

.wa-form-message {
  min-height: 18px;
  margin: 0.5rem 0 0;
  color: #2155a9;
  font-size: 0.82rem;
}

@keyframes wa-slide-up {
  from {
    transform: translate3d(0, 18px, 0);
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .wa-popup {
    place-items: end stretch;
  }

  .wa-popup__panel {
    width: calc(100% - 10px);
    margin: 0 5px 8px;
    border-radius: 14px;
  }

  .wa-popup__header {
    border-radius: 14px 14px 0 0;
    padding-inline: 0.72rem;
  }

  .wa-popup__agent-name {
    font-size: 1.48rem;
  }

  .wa-popup__agent-role {
    font-size: 1rem;
  }

  .wa-guarantee {
    font-size: 0.7rem;
    display: none;
  }
}