@import url("/typography-tokens.css");
/* Activo Uno's official contact controls. Existing page content stays intact. */
body.a1-contact-ready {
  --a1-contact-green: #153d32;
  --a1-contact-action: #008e2e;
  --a1-contact-dock-height: 66px;
  --a1-contact-safe: env(safe-area-inset-bottom, 0px);
}
.a1-commercial-contact,
.a1-contact-inline {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--a1-font-secondary);
  line-height: var(--a1-leading-secondary);
  box-sizing: border-box;
}
.a1-commercial-contact *,
.a1-contact-inline * {
  box-sizing: border-box;
}
.a1-commercial-contact a,
.a1-contact-inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  font-weight: var(--a1-weight-action-secondary);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  line-height: var(--a1-leading-button);
  transition: background-color .18s ease, box-shadow .18s ease;
}
.a1-commercial-contact svg,
.a1-contact-inline svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.a1-commercial-contact a:focus-visible,
.a1-contact-inline a:focus-visible {
  outline: 3px solid #9acc4d;
  outline-offset: 3px;
}
.a1-contact-strip {
  position: relative;
  z-index: 41;
  background: #f3f6ef;
  color: var(--a1-contact-green);
  border-bottom: 1px solid #dbe5d5;
}
.a1-contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  max-width: 1440px;
  min-height: 52px;
  margin: 0 auto;
  padding: 4px 4.5%;
}
.a1-contact-strip__intro {
  margin-right: auto;
  font-size: var(--a1-font-label);
  font-weight: var(--a1-weight-label);
  letter-spacing: .03em;
}
.a1-contact-strip .a1-contact-phone {
  color: var(--a1-contact-green);
  white-space: nowrap;
}
.a1-contact-strip .a1-contact-main {
  padding: 10px 17px;
  border-radius: 6px;
  background: var(--a1-contact-green);
  color: #fff;
}
.a1-contact-strip .a1-contact-main:hover {
  background: #0c2c23;
}
.a1-contact-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 46;
  width: 56px;
  height: 56px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--a1-contact-action);
  color: #fff;
  box-shadow: 0 4px 20px #153d3229;
}
.a1-contact-floating:hover {
  background: #007426;
}
.a1-contact-floating svg {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
.a1-contact-floating span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.a1-contact-dock {
  display: none;
}
body.a1-contact-ready .floating-contact {
  display: none;
}
.a1-contact-inline {
  width: 100%;
  margin: 0 0 22px;
  padding: 16px 0;
  border-top: 1px solid #b3c6b880;
  border-bottom: 1px solid #b3c6b880;
  color: var(--a1-contact-green);
}
.a1-contact-inline .a1-contact-inline__label {
  margin: 0 0 9px;
  font-size: var(--a1-font-label);
  font-weight: var(--a1-weight-label);
  color: inherit;
}
.a1-contact-inline__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}
.a1-contact-inline .a1-contact-inline__phone {
  color: inherit;
  white-space: nowrap;
}
.a1-contact-inline .a1-contact-inline__whatsapp {
  padding: 10px 14px;
  border: 1px solid #c5d5bb;
  border-radius: 6px;
  background: #f3f6ef;
  color: #153d32;
}
.a1-contact-inline--footer {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  color: inherit;
}
body.a1-contact-ready:has(.om-shortlist, .compare-tray) .a1-contact-floating {
  bottom: calc(var(--a1-contact-tray-height, 90px) + 40px);
}
body.a1-contact-ready:has(.om-shortlist, .compare-tray) .ecosystem-assistant-open {
  bottom: calc(var(--a1-contact-tray-height, 90px) + 40px);
}
@media (max-width: 760px) {
  body.a1-contact-ready {
    padding-bottom: calc(var(--a1-contact-dock-height) + var(--a1-contact-safe));
  }
  .a1-contact-strip__inner {
    justify-content: space-between;
    min-height: 58px;
    padding: 5px 12px;
    gap: 10px;
  }
  .a1-contact-strip__intro {
    display: none;
  }
  .a1-contact-strip .a1-contact-phone {
    font-weight: var(--a1-weight-action-secondary); font-size: var(--a1-font-button);
    gap: 6px;
  }
  .a1-contact-strip .a1-contact-main {
    font-weight: var(--a1-weight-action-secondary); max-width: 152px;
    padding: 7px 10px;
    font-size: var(--a1-font-button);
    gap: 7px;
  }
  .a1-contact-strip .a1-contact-main span {
    max-width: 98px;
  }
  /* On mobile the permanent WhatsApp icon is part of the fixed contact bar. */
  .a1-contact-floating {
    display: none !important;
  }
  .a1-contact-dock {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr 1fr;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 46;
    height: calc(var(--a1-contact-dock-height) + var(--a1-contact-safe));
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + var(--a1-contact-safe)) max(12px, env(safe-area-inset-left, 0px));
    gap: 10px;
    border-top: 1px solid #dbe5d5;
    background: #fff;
    box-shadow: 0 -4px 18px #153d3212;
  }
  .a1-contact-dock a {
    font-weight: var(--a1-weight-action-secondary); min-width: 0;
    min-height: 48px;
    border-radius: 6px;
    font-size: var(--a1-font-button);
    letter-spacing: .03em;
  }
  .a1-contact-dock .a1-contact-dock__call {
    color: #153d32;
    background: #f3f6ef;
    border: 1px solid #b9cba9;
  }
  .a1-contact-dock .a1-contact-dock__whatsapp {
    color: #fff;
    background: #008e2e;
    border: 1px solid #008e2e;
  }
  body.a1-contact-ready .ecosystem-assistant-open {
    bottom: calc(var(--a1-contact-dock-height) + var(--a1-contact-safe) + 12px);
  }
  body.a1-contact-ready dialog.ecosystem-assistant {
    top: 0;
    bottom: calc(var(--a1-contact-dock-height) + var(--a1-contact-safe));
    max-height: calc(100dvh - var(--a1-contact-dock-height) - var(--a1-contact-safe) - 24px);
  }
  body.a1-contact-ready .header nav.mobile-open {
    max-height: calc(100dvh - 164px - var(--a1-contact-dock-height) - var(--a1-contact-safe));
  }
  body.a1-contact-ready .om-shortlist,
  body.a1-contact-ready .compare-tray {
    bottom: calc(var(--a1-contact-dock-height) + var(--a1-contact-safe) + 8px);
  }
  body.a1-contact-ready:has(.om-shortlist, .compare-tray) {
    padding-bottom: calc(var(--a1-contact-dock-height) + var(--a1-contact-safe) + var(--a1-contact-tray-height, 90px) + 16px);
  }
  body.a1-contact-ready:has(.om-shortlist, .compare-tray) .ecosystem-assistant-open {
    bottom: calc(var(--a1-contact-dock-height) + var(--a1-contact-safe) + var(--a1-contact-tray-height, 90px) + 20px);
  }
  body.a1-contact-ready .a1-measurement-panel {
    bottom: calc(var(--a1-contact-dock-height) + var(--a1-contact-safe) + 8px);
    max-height: calc(100dvh - var(--a1-contact-dock-height) - var(--a1-contact-safe) - 36px);
  }
}
@media (max-width: 359px) {
  .a1-contact-strip__inner {
    padding-left: 8px;
    padding-right: 8px;
    gap: 6px;
  }
  .a1-contact-strip .a1-contact-main {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media print {
  .a1-commercial-contact {
    display: none !important;
  }
  body.a1-contact-ready {
    padding-bottom: 0;
  }
}
