/* =====================================================
   GLOBAL.CSS — site-wide baseline
   Page-specific CSS loads AFTER this and can override it.
   ===================================================== */


/* ---------- 0. FONT IMPORT ----------
   Helvetica is not on Google Fonts (it's a paid font).
   Inter is the closest clean match; real Helvetica is used
   as a fallback on devices that already have it (Mac/iPhone). */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');


/* ---------- 1. VARIABLES: edit here, whole site updates ---------- */
:root {
  /* Fonts */
  --font-main: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Layout */
  --container-width: 1300px;   /* Boxed max width */
  --container-padding: 20px;   /* Side gap on small screens */

  /* Colors */
  --color-text: #1a1a1a;
  --color-heading: #111111;
  --color-muted: #6b7280;
  --color-primary: #2563eb;
  --color-bg: #ffffff;

  /* Fluid font sizes: clamp(MOBILE, SCALE, DESKTOP) */
  --fs-h1: clamp(2rem, 1.4rem + 3vw, 3.5rem);        /* 32px → 56px */
  --fs-h2: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem);  /* 28px → 44px */
  --fs-h3: clamp(1.5rem, 1.2rem + 1.5vw, 2.125rem);  /* 24px → 34px */
  --fs-h4: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem); /* 20px → 26px */
  --fs-h5: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);/* 18px → 20px */
  --fs-h6: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);  /* 16px → 17px */
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);/* 16px → 17px */
  --fs-small: 0.875rem;                               /* 14px */
}


/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ---------- 3. CONTAINER: BOXED vs FULL WIDTH ----------
   Use ONE at a time. Comment one, uncomment the other. */

/* ===== OPTION A: BOXED (active) — max 1300px, centered ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ===== OPTION B: FULL WIDTH — edge to edge =====
.container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}
*/

/* ---------- Per-section helpers (use both on one page) ----------
   <div class="container">       → follows option above
   <div class="container-box">   → always boxed 1300px
   <div class="container-full">  → always edge to edge     */
.container-box  { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding); }
.container-full { width: 100%; max-width: 100%; padding: 0 var(--container-padding); }


/* ---------- 4. HEADINGS ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--color-heading);
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: break-word; /* long words won't overflow on mobile */
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 600; }
h5 { font-size: var(--fs-h5); font-weight: 600; }
h6 { font-size: var(--fs-h6); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }


/* ---------- 5. TEXT ---------- */
p { margin: 0 0 1em; }
small, .text-small { font-size: var(--fs-small); }
.text-muted { color: var(--color-muted); }
strong, b { font-weight: 600; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }


/* ---------- 6. ELEMENTOR: use the same font & headings ---------- */
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-main); }
.elementor-widget-text-editor { font-family: var(--font-main); font-size: var(--fs-body); }