/* Componentes compartidos: botones, cabecera, marca, pie y botón flotante de WhatsApp. */

/* ---- Botones ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0.875rem 1.4rem; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); white-space: nowrap; border: 2px solid transparent; cursor: pointer; transition: background var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn svg { width: 16px; height: 16px; }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: #2A2622; border-color: #2A2622; }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { background: var(--paper-3); border-color: var(--paper-3); transform: translateY(-1px); }
.btn-outline-paper { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline-paper:hover { background: var(--paper); color: var(--ink); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ---- Cabecera ---- */
.nav { padding: 1.5rem 0 0.5rem; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* ---- Marca ---- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; }
.brand img { height: 40px; width: auto; }

/* ---- Pie ---- */
.ft { background: var(--paper); color: var(--ink-2); padding: 3rem 0 2rem; border-top: 1px solid var(--rule); }
.ft-in { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.ft nav, .ft .social { display: flex; flex-wrap: wrap; gap: 0 1.25rem; font-size: var(--text-sm); align-items: center; }
.ft nav a, .ft .social a { display: inline-flex; align-items: center; min-height: 44px; }
.ft nav a:hover, .ft .social a:hover { color: var(--ink); }
.ft .legal { width: 100%; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: var(--text-xs); color: var(--ink-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* ---- Botón flotante de WhatsApp ---- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; background: var(--wa-green); color: var(--ink); padding: 12px 18px 12px 14px; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); box-shadow: 0 12px 28px rgba(0,0,0,.22), 0 2px 4px rgba(0,0,0,.1); transition: transform var(--dur-short) var(--ease-out); }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }

@media (max-width: 480px) {
  .wa-float { padding: 14px; }
  .wa-float .lbl { display: none; }
}
