/* Alfa Adicciones · Modal de confirmación CF7 · sólo /contacto/. */
.aa-contact-confirmation {
  width: min(100% - 28px, 520px);
  max-width: 520px;
  max-height: min(90dvh, 760px);
  padding: 0;
  border: 1px solid #dce2e5;
  border-radius: 22px;
  overflow: auto;
  background: #fff;
  color: #303640;
  box-shadow: 0 28px 90px rgba(21, 38, 40, .25);
}
.aa-contact-confirmation::backdrop {
  background: rgba(17, 33, 34, .70);
  backdrop-filter: blur(4px);
}
.aa-contact-confirmation-open { overflow: hidden; }
.aa-contact-confirmation__panel { position: relative; }
.aa-contact-confirmation__brand {
  padding: 25px 28px 22px;
  border-bottom: 1px solid #e1e8e5;
  background: #f4f9f6;
}
.aa-contact-confirmation__brand img { display: block; width: 154px; height: auto; max-width: 100%; }
.aa-contact-confirmation__x {
  position: absolute; top: 16px; right: 16px;
  display: grid; place-items: center;
  width: 40px; height: 40px; margin: 0;
  border: 1px solid #dce2e5; border-radius: 50%;
  background: #fff; color: #303640; font-size: 25px; line-height: 1;
  cursor: pointer;
}
.aa-contact-confirmation__body { padding: 27px 29px 30px; }
.aa-contact-confirmation__symbol {
  display: grid; place-items: center;
  width: 51px; height: 51px; margin-bottom: 18px;
  border-radius: 15px; background: #e4f8f0; color: #00875b;
  font-size: 26px; font-weight: 800;
}
.aa-contact-confirmation h2 {
  margin: 0 0 11px; color: #2f3740;
  font-size: clamp(22px, 4.4vw, 28px); font-weight: 700; line-height: 1.2;
}
.aa-contact-confirmation p {
  margin: 0 0 18px; color: #5b6670; font-size: 15px; line-height: 1.65;
}
.aa-contact-confirmation .aa-contact-confirmation__note {
  padding: 13px 15px; margin: 0 0 22px;
  border-left: 3px solid #01bf81; border-radius: 9px;
  background: #f4f8f6; color: #4a6260; font-size: 13px; line-height: 1.6;
}
.aa-contact-confirmation__actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; }
.aa-contact-confirmation__actions > * {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 17px;
  border-radius: 11px; font-size: 14px; font-weight: 700; line-height: 1.25;
  text-decoration: none !important; cursor: pointer;
}
.aa-contact-confirmation__close { border: 0; background: #00875b; color: #fff !important; }
.aa-contact-confirmation__book { border: 1px solid #badccc; background: #fff; color: #006f4a !important; }
.aa-contact-confirmation__close:hover { background: #006f4a; }
.aa-contact-confirmation__book:hover { background: #edf8f3; }
.aa-contact-confirmation :is(button,a):focus-visible { outline: 3px solid #00875b; outline-offset: 3px; }
@media (max-width: 560px) {
  .aa-contact-confirmation { width: calc(100% - 24px); border-radius: 17px; }
  .aa-contact-confirmation__brand { padding: 20px 21px; }
  .aa-contact-confirmation__body { padding: 23px 21px 25px; }
  .aa-contact-confirmation__actions { display: grid; grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .aa-contact-confirmation, .aa-contact-confirmation * { scroll-behavior: auto !important; }
}
