/* ==========================================================================
   DESIGN TOKENS - SWITCH LUCE E GAS
   Tavolozza colori istituzionale, tipografia, spaziature e ombre
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Primary Colors (Estratti direttamente dal logo ufficiale Switch Luce & Gas) */
  --color-navy: #172F44;          /* Tonalità corporate "SWITCH LUCE & GAS" */
  --color-navy-dark: #0E1E2C;
  --color-navy-subtle: #EDF3F8;
  
  /* Colori Tipografici & Energetici Chiave */
  --color-luce: #EC7540;          /* Arancione caldo energia / luce */
  --color-luce-hover: #D95D28;
  --color-luce-subtle: #FFF3EC;
  --color-gas: #254492;           /* Blu reale profondo gas naturale */
  --color-gas-hover: #1C3575;
  --color-gas-subtle: #EDF3FC;

  /* Spettro Cromativo Nastro "S" Multi-color */
  --color-yellow: #F2BB2E;        /* Giallo ambra / sole */
  --color-yellow-subtle: #FEF9EB;
  --color-coral: #E62E6B;         /* Magenta / Corallo */
  --color-coral-subtle: #FDF0F4;
  --color-purple: #4A2E80;        /* Viola / Indaco */
  --color-purple-subtle: #F4EFFC;
  --color-green: #48AB93;         /* Verde acqua / Teal eco */
  --color-green-dark: #358B76;
  --color-green-subtle: #EDF9F5;
  --color-teal: #48AB93;

  /* Gradienti Istituzionali Ispirati al Logo Ufficiale */
  --gradient-brand-rainbow: linear-gradient(90deg, #F2BB2E 0%, #EC7540 20%, #E62E6B 40%, #4A2E80 60%, #254492 80%, #48AB93 100%);
  --gradient-luce: linear-gradient(135deg, #EC7540 0%, #F2BB2E 100%);
  --gradient-gas: linear-gradient(135deg, #254492 0%, #48AB93 100%);
  --gradient-green: linear-gradient(135deg, #48AB93 0%, #254492 100%);
  --gradient-navy: linear-gradient(135deg, #172F44 0%, #254492 100%);
  --gradient-hero-ribbon: linear-gradient(135deg, #F2BB2E 0%, #EC7540 20%, #E62E6B 40%, #4A2E80 60%, #254492 80%, #48AB93 100%);

  /* Neutral Surface Colors */
  --color-bg-page: #F8FAFC;
  --color-bg-surface: #FFFFFF;
  --color-bg-alt: #EEF2F6;
  --color-text-main: #0A2540;
  --color-text-muted: #52667A;
  --color-text-subtle: #8497A9;
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;

  /* Status Colors */
  --color-success: #10B981;
  --color-success-bg: #D1FAE5;
  --color-warning: #F59E0B;
  --color-warning-bg: #FEF3C7;
  --color-danger: #EF4444;
  --color-danger-bg: #FEE2E2;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 6px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 8px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 16px 36px rgba(10, 37, 64, 0.12);
  --shadow-xl: 0 24px 56px rgba(10, 37, 64, 0.15);
  --shadow-glow-luce: 0 0 24px rgba(255, 106, 0, 0.28);
  --shadow-glow-gas: 0 0 24px rgba(0, 145, 255, 0.28);
  --shadow-glow-rainbow: 0 4px 20px rgba(121, 40, 202, 0.2);

  /* Containers */
  --container-width: 1240px;
  --container-narrow: 960px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-blue-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}
