/* Contacto de ONE: correo, número provisional y acceso flotante. */
.one-contact-bar { background: var(--mist); border-bottom: 1px solid var(--line); }
.one-contact-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 44px; }
.one-contact-inner > .one-contact-item:last-child { justify-self: end; }
.one-contact-tagline { margin: 0; color: var(--accent-ink); font-size: 12px; font-weight: 500; line-height: 1.4; text-align: center; }
.one-contact-item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--primary-deep); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.one-contact-item svg { width: 18px; height: 18px; }
a.one-contact-item:hover { text-decoration: underline; text-underline-offset: 3px; }
.one-page #inicio { scroll-margin-top: 114px; }
.one-whatsapp { position: fixed; z-index: 20; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); border: 0; }
.one-whatsapp-toggle { display: flex; align-items: center; justify-content: center; gap: 0; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: var(--accent-ink); color: var(--surface); cursor: pointer; list-style: none; line-height: 1; box-shadow: 0 8px 24px #071d4526; }
.one-whatsapp .one-whatsapp-toggle::after { content: none; }
.one-whatsapp-toggle::-webkit-details-marker { display: none; }
.one-whatsapp-toggle:hover { background: var(--primary-deep); }
.one-whatsapp-toggle:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.one-whatsapp-toggle .one-whatsapp-icon { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.one-whatsapp-card { position: absolute; right: 0; bottom: 72px; width: min(272px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.one-whatsapp-card > span { display: block; margin-bottom: 12px; color: var(--accent-ink); font-size: 14px; font-weight: 600; }
.one-whatsapp-card strong { display: block; color: var(--ink); font-size: 22px; font-weight: 500; line-height: 1.3; }
.one-whatsapp-card p { margin-top: 12px; padding: 0; font-size: 13px; }

@media (max-width: 1120px) {
  .one-page #inicio { scroll-margin-top: 108px; }
  .one-header .nav-links { max-height: calc(100dvh - 122px); }
}
@media (max-width: 760px) {
  .one-contact-inner { grid-template-columns: 1fr 1fr; gap: 0 12px; padding-bottom: 10px; }
  .one-contact-tagline { grid-column: 1 / -1; grid-row: 2; }
  .one-contact-inner > .one-contact-item:last-child { grid-column: 2; grid-row: 1; }
  .one-page #inicio { scroll-margin-top: 135px; }
  .one-header .nav-links { max-height: calc(100dvh - 149px); }
  .one-whatsapp { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .one-page .site-footer { padding-bottom: 96px; }
}
@media (max-width: 380px) {
  .one-contact-inner { column-gap: 12px; }
  .one-contact-item { gap: 6px; font-size: 12px; }
  .one-contact-item svg { width: 16px; height: 16px; }
}
