/* ==========================================================================
   Volition Strength — estilos compartidos
   Componentes que se repiten en todas las páginas con formulario:
   tokens, botones, WhatsApp, CTA fijo móvil, formulario de contacto y
   banner de cookies. Lo específico de cada página sigue en su <style>.
   Toda página nueva debe incluir:  <link rel="stylesheet" href="/styles.css">
   ========================================================================== */

:root {
    --bg-primary: #080808;
    --bg-secondary: #0f0f0f;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --purple-core: #7B3FA0;
    --purple-light: #9B5FC0;
    --purple-glow: rgba(123, 63, 160, 0.3);
    --purple-subtle: rgba(123, 63, 160, 0.08);
    --text-primary: #f0ede8;
    --text-secondary: #8a8680;
    --text-muted: #5a5650;
    --silver: #c8c4be;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.06);
    --red: #ef4444;
    --green: #4ade80;
    --font-display: 'Dela Gothic One', cursive;
    --font-body: 'Instrument Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

/* === BOTONES === */
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; background: var(--purple-core); color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; font-family: inherit; border-radius: 4px; transition: all 0.3s ease; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--purple-light); transform: translateY(-2px); box-shadow: 0 8px 30px var(--purple-glow); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; background: transparent; color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.15); transition: all 0.3s ease; }
.btn-secondary:hover { border-color: var(--purple-core); background: var(--purple-subtle); }

/* === WHATSAPP === */
.btn-wa { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; background: #25D366; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: 4px; transition: all 0.3s ease; border: none; cursor: pointer; }
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.3); }
.btn-wa svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 997; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all 0.3s ease; text-decoration: none; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 900px) { .wa-float { bottom: 5.5rem; left: 1rem; right: auto; } }

/* === CTA FIJO EN MÓVIL (cada página decide cuándo mostrarlo) === */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; padding: 0.8rem 1rem; background: rgba(8,8,8,0.95); backdrop-filter: blur(15px); border-top: 1px solid var(--border); }
.sticky-cta a { display: block; text-align: center; padding: 0.9rem; background: var(--purple-core); color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.95rem; border-radius: 6px; transition: background 0.3s ease; }
.sticky-cta a:hover { background: var(--purple-light); }

/* === FORMULARIO DE CONTACTO === */
.contact-form { max-width: 600px; margin: 2.5rem auto 0; text-align: left; }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; font-size: 0.9rem; color: var(--silver); margin-bottom: 0.55rem; font-weight: 500; line-height: 1.4; }
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    border-radius: 4px;
    transition: border-color 0.25s ease, background 0.25s ease;
    -webkit-appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--purple-light); background: var(--bg-card-hover); }
.contact-form textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.contact-form .form-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-form .form-checkbox input[type="checkbox"] { margin: 0.2rem 0 0; width: auto; flex-shrink: 0; accent-color: var(--purple-core); cursor: pointer; }
.contact-form .form-checkbox label { margin: 0; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }
.contact-form .form-checkbox label a { color: var(--purple-light); text-decoration: underline; }
.contact-form .form-submit { width: 100%; justify-content: center; padding: 1.1rem 2rem; font-size: 1rem; margin-top: 0.5rem; }
@media (max-width: 600px) {
    .contact-form { margin-top: 2rem; }
    .contact-form .form-group { margin-bottom: 1.25rem; }
    .contact-form input[type="text"],
    .contact-form input[type="tel"],
    .contact-form textarea { padding: 0.75rem 0.9rem; font-size: 1rem; }
}

/* === BANNER DE COOKIES === */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998; padding: 1.2rem 2rem; background: rgba(20,20,20,0.97); backdrop-filter: blur(15px); border-top: 1px solid var(--border); display: none; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 0.85rem; color: var(--silver); line-height: 1.6; max-width: 600px; margin: 0; }
.cookie-banner p a { color: var(--purple-light); text-decoration: none; }
.cookie-banner p a:hover { text-decoration: underline; }
.cookie-btn { padding: 0.5rem 1.2rem; border-radius: 4px; font-size: 0.82rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s ease; font-family: var(--font-body); }
.cookie-btn-accept { background: var(--purple-core); color: var(--white); }
.cookie-btn-accept:hover { background: var(--purple-light); }
.cookie-btn-reject { background: rgba(255,255,255,0.08); color: var(--text-primary); border: 1px solid rgba(255,255,255,0.15); }
.cookie-btn-reject:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); }
