/*
Theme Name: Automatízalo
Theme URI: https://automatizalo.com.mx
Author: Pablo García Betancourt
Author URI: https://automatizalo.com.mx
Description: Tema oficial de Automatízalo Agency. Plataforma de servicios de automatización con IA basada en n8n. Reserva de llamadas, sistema bilingüe ES/EN y multi-moneda MXN/USD. Compatible con WooCommerce (servicios como productos $0).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: automatizalo
Tags: services, ai, automation, n8n, custom
*/

/* ============================================================
   AUTOMATÍZALO — Sistema de diseño global
   Todos los page-templates importan sus propios estilos.
   Aquí solo helpers globales y variables base.
   ============================================================ */

:root {
    /* Paleta de marca (inspirada en logo) */
    --az-navy: #1E3A5F;
    --az-navy-dark: #142845;
    --az-steel: #5B7A9D;
    --az-cyan: #00D4FF;
    --az-cyan-soft: #6FE2FF;
    --az-bg: #F8F9FA;
    --az-bg-alt: #FFFFFF;
    --az-text: #1A2332;
    --az-text-soft: #4A5868;
    --az-muted: #8895A7;
    --az-border: #E5E9EF;
    --az-success: #10B981;
    --az-danger: #EF4444;
    --az-warning: #F59E0B;

    /* Tipografía */
    --az-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --az-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing/radius */
    --az-radius: 12px;
    --az-radius-lg: 20px;
    --az-shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
    --az-shadow: 0 8px 24px rgba(30, 58, 95, 0.10);
    --az-shadow-lg: 0 16px 40px rgba(30, 58, 95, 0.14);
}

/* Helpers globales */
.logo-img { display: block; max-height: 48px; width: auto; }

/* Forzar fuente Inter en todo body por si algún plugin la sobrescribe */
body {
    font-family: var(--az-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--az-text);
    background: var(--az-bg);
}

/* Botón base reutilizable */
.az-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--az-navy);
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--az-radius);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    line-height: 1.2;
}
.az-btn:hover { background: var(--az-navy-dark); transform: translateY(-1px); box-shadow: var(--az-shadow); }
.az-btn-primary { background: linear-gradient(135deg, var(--az-cyan), var(--az-steel)); color: var(--az-navy-dark) !important; }
.az-btn-primary:hover { box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3); }
.az-btn-outline { background: transparent; color: var(--az-navy) !important; border: 2px solid var(--az-navy); }
.az-btn-outline:hover { background: var(--az-navy); color: #fff !important; }

/* Selector de idioma global */
.az-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 4px;
    font-size: 12px;
    font-weight: 600;
}
.az-lang-switch a {
    padding: 4px 10px;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    transition: all .15s ease;
}
.az-lang-switch a.active { background: var(--az-cyan); color: var(--az-navy-dark); }
.az-lang-switch a:not(.active):hover { background: rgba(255,255,255,.12); }
