/* =========================================================
   ProHosty / shiv27 design tokens
   Shared by the PHP frontend (this file) and the WHMCS child
   theme (same block copied into templates/shiv27_child/css/custom.css).
   Change a value here, re-copy to WHMCS, and both themes stay in sync.
   ========================================================= */
:root {
  /* Brand (from the existing ProHosty palette) */
  --brand-50:  #f4f7ff;
  --brand-100: #e8efff;
  --brand-200: #c7d8ff;
  --brand-500: #2b78f6;
  --brand-600: #035ded;   /* primary */
  --brand-700: #004bc3;   /* primary hover */
  --brand-800: #1934a7;   /* gradient end */
  --brand-900: #031974;   /* navy / secondary */
  --brand-950: #001b79;   /* footer */

  --indigo-400: #8b8bf0;  /* illustration accent only */
  --indigo-600: #5b5bd6;

  /* Neutrals */
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --line:    #e2e8f0;
  --surface: #ffffff;
  --surface-2: #f8fafc;

  /* Status */
  --success: #16a34a;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --whatsapp: #25d366;

  /* Gradient (the only one used) */
  --gradient-brand: linear-gradient(135deg, #031974 0%, #1934a7 60%, #035ded 100%);

  /* Typography */
  --font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: var(--font-sans);
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.5rem;
  --leading-tight: 1.15;
  --leading-normal: 1.6;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --container: 1200px;
  --gutter: 16px;
  --section-y: 64px;
  --hero-y: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;   /* buttons, inputs */
  --radius-lg: 16px;   /* cards */
  --radius-xl: 24px;   /* hero media */
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 20px rgba(3, 25, 116, 0.08);
  --shadow-lg: 0 16px 40px rgba(3, 25, 116, 0.12);
  --ring: 0 0 0 3px rgba(3, 93, 237, 0.25);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 180ms;

  /* Controls */
  --control-h: 44px;
  --control-h-sm: 36px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --section-y: 80px;
    --hero-y: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; }
}
