/* ============================================================
   ISP Windows & Door — Design Tokens
   Brand: Navy dark + Steel blue (logo) + Gold accent (3rd)
   Typography: Cormorant (display) + Montserrat (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ── BRAND COLORS (extracted from ISP logo gradient) ── */
  --navy-950: #060D16;
  --navy-900: #0B1929;
  --navy-800: #112236;
  --navy-700: #152744;
  --navy-600: #1A3050;
  --navy-500: #1E3A5F;
  --steel-700: #2C3E5A;
  --steel-600: #3D5A7A;
  --steel-500: #4E6F90;
  --steel-400: #6387A8;
  --steel-300: #7DA0BF;
  --steel-200: #A0BDD4;
  --steel-100: #C4D8E8;

  /* ── ACCENT — Premium warm gold (3rd color, elite harmony) ── */
  --gold-700: #9A7820;
  --gold-600: #B89130;
  --gold-500: #D4A843;   /* primary accent */
  --gold-400: #E0B95A;
  --gold-300: #EACA75;
  --gold-200: #F3DC9E;
  --gold-100: #FAF0D0;

  /* ── NEUTRALS ── */
  --white:    #FFFFFF;
  --gray-50:  #F8F9FC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* ── SEMANTIC ALIASES ── */
  --color-primary:        var(--navy-900);
  --color-primary-dark:   var(--navy-950);
  --color-primary-mid:    var(--navy-700);
  --color-secondary:      var(--steel-600);
  --color-accent:         var(--gold-500);
  --color-accent-hover:   var(--gold-400);
  --color-accent-dark:    var(--gold-600);
  --color-bg-page:        var(--gray-50);
  --color-bg-dark:        var(--navy-950);
  --color-bg-card-dark:   rgba(11, 25, 41, 0.88);
  --color-surface-glass:  rgba(255, 255, 255, 0.06);
  --color-surface-glass-hover: rgba(255, 255, 255, 0.10);
  --color-border-glass:   rgba(255, 255, 255, 0.10);
  --color-border-gold:    rgba(212, 168, 67, 0.35);
  --color-text-on-dark:   #E8EFF8;
  --color-text-muted-dark: #8CA3C0;
  --color-text-body:      var(--gray-700);
  --color-text-heading:   var(--gray-900);
  --color-success:        #22C55E;
  --color-error:          #EF4444;

  /* ── GRADIENTS ── */
  --gradient-dark:        linear-gradient(135deg, #060D16 0%, #0B1929 45%, #152744 100%);
  --gradient-dark-mid:    linear-gradient(135deg, #0B1929 0%, #1E3A5F 100%);
  --gradient-hero-overlay:linear-gradient(135deg, rgba(6,13,22,0.96) 0%, rgba(11,25,41,0.88) 55%, rgba(21,55,95,0.72) 100%);
  --gradient-card:        linear-gradient(135deg, rgba(11,25,41,0.94) 0%, rgba(30,58,95,0.78) 100%);
  --gradient-accent:      linear-gradient(135deg, var(--gold-600), var(--gold-500), var(--gold-400));
  --gradient-accent-soft: linear-gradient(135deg, rgba(212,168,67,0.15) 0%, rgba(212,168,67,0.05) 100%);
  --gradient-steel:       linear-gradient(135deg, var(--steel-700), var(--steel-600), var(--steel-500));
  --gradient-glass-card:  linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  --gradient-section-light: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);

  /* ── TYPOGRAPHY ── */
  --font-display: 'Cormorant', Georgia, serif;
  --font-body:    'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */
  --text-7xl:  4.5rem;    /* 72px */
  --text-8xl:  6rem;      /* 96px */

  /* ── SPACING ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --section-y: clamp(60px, 8vw, 120px);

  /* ── BORDER RADIUS ── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  40px;
  --radius-full: 9999px;

  /* ── SHADOWS ── */
  --shadow-xs:   0 1px 3px rgba(0,0,0,0.12);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.16);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.22);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.28);
  --shadow-xl:   0 16px 64px rgba(0,0,0,0.34);
  --shadow-gold: 0 4px 20px rgba(212,168,67,0.4);
  --shadow-gold-lg: 0 8px 40px rgba(212,168,67,0.28);
  --shadow-navy: 0 8px 40px rgba(6,13,22,0.6);
  --shadow-glass: 0 8px 32px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.08);

  /* ── TRANSITIONS ── */
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:    150ms;
  --dur-base:    300ms;
  --dur-slow:    500ms;
  --dur-slower:  700ms;

  /* ── LAYOUT ── */
  --container-max:   1280px;
  --container-wide:  1440px;
  --nav-height:      80px;
  --grid-gap:        clamp(16px, 2.5vw, 32px);

  /* ── STACKING ── */
  --z-dropdown: 200;
  --z-nav:      1000;
  --z-overlay:  1100;
  --z-modal:    1200;
}
