:root {
  --site-green: #3a7c4a;
  --site-green-dark: #234d2a;
  --site-blue-soft: #d2e9fc;
}

/* Static-render safety: ensure all mirrored builder elements remain visible */
.transition,
.layout-element.transition {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.php-contact-form-wrap {
  max-width: 920px;
  margin: 24px auto 40px;
  padding: 20px;
  border-radius: 12px;
  background: #e9f8e9;
  box-shadow: 0 10px 24px rgba(16, 28, 20, 0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.php-contact-form-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.php-contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.php-contact-form label,
.php-contact-form legend {
  font-family: Montserrat, "Open Sans", Arial, sans-serif;
  font-size: 14px;
  color: #0d141a;
  font-weight: 600;
}

.php-contact-form input[type="text"],
.php-contact-form input[type="email"],
.php-contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #c5ddc9;
  border-radius: 8px;
  background: #fff;
  font-family: Montserrat, "Open Sans", Arial, sans-serif;
  font-size: 14px;
  color: #0d141a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.php-contact-form input:focus,
.php-contact-form textarea:focus {
  border-color: var(--site-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 124, 74, 0.15);
}

.php-contact-form fieldset {
  border: 1px solid #c5ddc9;
  border-radius: 8px;
  padding: 12px;
  background: #f6fff7;
}

.php-contact-form fieldset label {
  display: block;
  margin-top: 8px;
  font-weight: 500;
}

.php-contact-form button {
  border: 2px solid var(--site-green);
  border-radius: 30px;
  background: var(--site-green);
  color: #fff;
  font-family: Montserrat, "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  cursor: pointer;
  width: fit-content;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.php-contact-form button:hover {
  transform: translateY(-1px);
  background: #fff;
  color: var(--site-green);
}

.php-form-alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: Montserrat, "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.php-form-alert--ok {
  color: #155724;
  background: #d4edda;
  border: 1px solid #b5dfbd;
}

.php-form-alert--error {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #f8b4b4;
}

@media (max-width: 767px) {
  .php-contact-form-wrap {
    margin: 16px;
    padding: 14px;
    border-radius: 10px;
  }
}

.php-whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.php-whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  filter: saturate(1.05);
}

.php-whatsapp-float svg {
  width: 58px;
  height: 58px;
}

.php-whatsapp-float svg circle {
  fill: #25d366;
}

.php-whatsapp-float svg path {
  fill: #ffffff;
}

@media (max-width: 767px) {
  .php-whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .php-whatsapp-float svg {
    width: 54px;
    height: 54px;
  }
}
