/* ==========================================================================
   RENEW CLEANING SOLUTIONS — Design Tokens
   ========================================================================== */

:root {
  /* ---- Brand Colours ---- */
  --clr-primary:        #401477;
  --clr-primary-light:  #5A2395;
  --clr-primary-dark:   #2E0E55;
  --clr-primary-rgb:    64, 20, 119;

  --clr-gold:           #D7AA35;
  --clr-gold-light:     #E4C265;
  --clr-gold-dark:      #B8912B;
  --clr-gold-rgb:       215, 170, 53;

  --clr-navy:           #172B3A;
  --clr-navy-light:     #1E3A4F;
  --clr-navy-rgb:       23, 43, 58;

  --clr-white:          #FFFFFF;
  --clr-off-white:      #FAF9F7;
  --clr-lavender:       #F4F0FA;
  --clr-lavender-light: #F9F7FC;

  --clr-green:          #2E8B57;   /* Logo green — eco accent only */
  --clr-green-light:    #E8F5EE;

  /* Neutrals */
  --clr-grey-50:        #F8F8F8;
  --clr-grey-100:       #F0F0F0;
  --clr-grey-200:       #E4E4E4;
  --clr-grey-300:       #D1D1D1;
  --clr-grey-400:       #A0A0A0;
  --clr-grey-500:       #737373;
  --clr-grey-600:       #5A5A5A;
  --clr-grey-700:       #404040;
  --clr-grey-800:       #2D2D2D;
  --clr-grey-900:       #1A1A1A;

  /* Semantic */
  --clr-success:        #16A34A;
  --clr-error:          #DC2626;
  --clr-warning:        #F59E0B;

  /* ---- Typography ---- */
  --ff-primary:         'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-serif:           'Playfair Display', 'Georgia', serif;

  /* Fluid type scale — clamp(min, preferred, max) */
  --fs-xs:              clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm:              clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --fs-base:            clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  --fs-md:              clamp(1rem, 0.925rem + 0.4vw, 1.125rem);
  --fs-lg:              clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --fs-xl:              clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-2xl:             clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --fs-3xl:             clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --fs-4xl:             clamp(2.25rem, 1.75rem + 2.5vw, 3.25rem);
  --fs-5xl:             clamp(2.75rem, 2rem + 3.75vw, 4rem);

  --fw-regular:         400;
  --fw-medium:          500;
  --fw-semibold:        600;
  --fw-bold:            700;
  --fw-extrabold:       800;

  --lh-tight:           1.15;
  --lh-snug:            1.3;
  --lh-normal:          1.6;
  --lh-relaxed:         1.75;

  --ls-tight:           -0.02em;
  --ls-normal:          0;
  --ls-wide:            0.05em;
  --ls-wider:           0.1em;
  --ls-widest:          0.15em;

  /* ---- Spacing ---- */
  --sp-1:               0.25rem;   /*  4px */
  --sp-2:               0.5rem;    /*  8px */
  --sp-3:               0.75rem;   /* 12px */
  --sp-4:               1rem;      /* 16px */
  --sp-5:               1.25rem;   /* 20px */
  --sp-6:               1.5rem;    /* 24px */
  --sp-8:               2rem;      /* 32px */
  --sp-10:              2.5rem;    /* 40px */
  --sp-12:              3rem;      /* 48px */
  --sp-16:              4rem;      /* 64px */
  --sp-20:              5rem;      /* 80px */
  --sp-24:              6rem;      /* 96px */
  --sp-30:              7.5rem;    /* 120px */

  /* Section vertical padding */
  --section-py:         clamp(4rem, 3rem + 5vw, 7.5rem);
  --section-py-sm:      clamp(3rem, 2.5rem + 3vw, 5rem);

  /* ---- Layout ---- */
  --container-max:      1280px;
  --container-narrow:   960px;
  --container-wide:     1440px;
  --container-px:       clamp(1.25rem, 1rem + 2vw, 3rem);

  /* ---- Borders & Radii ---- */
  --radius-sm:          0.375rem;  /*  6px */
  --radius-md:          0.5rem;    /*  8px */
  --radius-lg:          0.75rem;   /* 12px */
  --radius-xl:          1rem;      /* 16px */
  --radius-2xl:         1.5rem;    /* 24px */
  --radius-full:        9999px;

  --border-light:       1px solid rgba(0, 0, 0, 0.06);
  --border-medium:      1px solid rgba(0, 0, 0, 0.1);
  --border-purple:      1px solid rgba(64, 20, 119, 0.15);

  /* ---- Shadows ---- */
  --shadow-xs:          0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm:          0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md:          0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:          0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl:          0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-purple:      0 4px 24px rgba(64, 20, 119, 0.15);
  --shadow-gold:        0 4px 16px rgba(215, 170, 53, 0.2);

  /* ---- Transitions ---- */
  --ease-out:           cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:        cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:        cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast:      150ms;
  --duration-base:      250ms;
  --duration-slow:      400ms;
  --duration-slower:    600ms;

  /* ---- Z-Index Scale ---- */
  --z-base:             1;
  --z-dropdown:         100;
  --z-sticky:           200;
  --z-overlay:          300;
  --z-modal:            400;
  --z-whatsapp:         500;
  --z-toast:            600;

  /* Header Dimensions */
  --header-info-h:      0px;
  --header-nav-h:       80px;
  --header-total-h:     var(--header-nav-h);
}

/* Dark footer context */
.footer-dark {
  --clr-text:           rgba(255, 255, 255, 0.85);
  --clr-text-muted:     rgba(255, 255, 255, 0.55);
  --clr-border:         rgba(255, 255, 255, 0.1);
}
