.contact-toggle {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.contact-toggle i {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .24s ease;
}

.contact-toggle[aria-expanded="true"] i { transform: rotate(225deg) translate(-3px, -3px); }
.contact-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 4px; }
.contact-list[hidden] { display: none; }
.contact-list { animation: contact-reveal .24s ease both; }

@media (max-width: 760px) {
  body { padding-bottom: calc(162px + env(safe-area-inset-bottom)); }

  #contacto { padding: 22px; }
  #contacto > .eyebrow { margin-bottom: 6px; }
  #contacto h2 { margin: 0; }
  .contact-toggle { cursor: pointer; min-height: 58px; gap: 18px; }
  .contact-toggle i { margin-right: 5px; }
  .contact-list { padding-top: 8px; animation: contact-reveal .24s ease both; }

  .card-actions {
    position: fixed;
    z-index: 46;
    left: 4px;
    right: 4px;
    bottom: calc(66px + env(safe-area-inset-bottom));
    width: auto;
    margin: 0;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    background: rgba(7, 7, 6, .94);
    border: 1px solid rgba(244, 196, 48, .26);
    border-radius: 18px;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, .5);
    backdrop-filter: blur(18px);
  }

  .card-action-button {
    min-width: 0;
    min-height: 66px;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 7px;
    padding: 9px 8px;
    border-radius: 13px;
  }
  .card-action-button > span { font-size: 20px; }
  .card-action-button strong { overflow-wrap: normal; font-size: clamp(9px, 2.9vw, 12px); line-height: 1.08; }
  .card-action-button small { overflow-wrap: normal; font-size: clamp(7px, 2.2vw, 9px); line-height: 1.15; }
  .toast { bottom: calc(154px + env(safe-area-inset-bottom)); }
}

@media (max-width: 390px) {
  .card-action-button { grid-template-columns: 22px minmax(0, 1fr); column-gap: 5px; padding-inline: 6px; }
  .card-action-button > span { font-size: 18px; }
  .card-action-button strong { font-size: 9px; }
  .card-action-button small { font-size: 7px; }
}

@keyframes contact-reveal {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-toggle i,
  .contact-list { transition: none; animation: none; }
}
