html.alento-contact-open { overflow: hidden; }

.alento-contact {
  width: min(580px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(130, 193, 190, 0.35);
  border-radius: 24px;
  background: #fff;
  color: var(--color-text, #2d3748);
  box-shadow: 0 24px 80px rgba(45, 55, 72, 0.2);
}
.alento-contact::backdrop { background: rgba(31, 48, 52, 0.55); backdrop-filter: blur(3px); }
.alento-contact[open] { animation: alento-contact-enter 180ms ease-out; }
.alento-contact [hidden] { display: none !important; }
.alento-contact__header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 28px 64px 18px 28px;
  background: #fff;
}
.alento-contact__header h2 { margin: 0 0 8px; font-size: 1.6rem; }
.alento-contact__header p { margin: 0; color: var(--color-text-light, #4a5568); font-size: 0.92rem; line-height: 1.5; }
.alento-contact__close {
  position: absolute;
  top: 18px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f7f6;
  color: #236f6c;
  cursor: pointer;
}
.alento-contact__close:hover { background: #e1eeec; }
.alento-contact__close svg { width: 22px; height: 22px; }
.alento-contact__form { padding: 0 28px 26px; }
.alento-contact__fields { display: grid; gap: 14px; border: 0; padding: 0; margin: 0; min-width: 0; }
.alento-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.alento-contact__field { min-width: 0; }
.alento-contact__field label { display: block; margin-bottom: 5px; font-size: 0.86rem; font-weight: 600; }
.alento-contact__field input,
.alento-contact__field select,
.alento-contact__field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd5df;
  border-radius: 10px;
  background: #fff;
  color: #2d3748;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.alento-contact__field textarea { min-height: 92px; resize: vertical; }
.alento-contact__field input::placeholder,
.alento-contact__field textarea::placeholder { color: #697584; opacity: 1; }
.alento-contact :is(input, select, textarea, button, a):focus-visible { outline: 3px solid #236f6c; outline-offset: 2px; }
.alento-contact__submit {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: #236f6c;
  color: #fff;
  font: 500 1rem 'Poppins', sans-serif;
  cursor: pointer;
}
.alento-contact__submit:hover { background: #1b5a58; }
.alento-contact__submit:disabled { opacity: 0.65; cursor: wait; }
.alento-contact__note { margin: 12px 0 0; color: #4a5568; font-size: 0.8rem; line-height: 1.5; }
.alento-contact__status { margin: 14px 0 0; font-size: 0.92rem; line-height: 1.5; }
.alento-contact__status:empty { display: none; }
.alento-contact__status[data-state="error"] { color: #9f1d1d; }
.alento-contact__status[data-state="success"] { color: #185b44; }
.alento-contact__status a { display: inline-block; margin-top: 6px; text-decoration: underline; font-weight: 600; }
@keyframes alento-contact-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
  .alento-contact { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 20px; }
  .alento-contact__header { padding: 22px 58px 16px 20px; }
  .alento-contact__header h2 { font-size: 1.35rem; }
  .alento-contact__close { top: 12px; right: 10px; }
  .alento-contact__form { padding: 0 20px 22px; }
  .alento-contact__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .alento-contact[open] { animation: none; } }
