/* ==========================================================================
   EDEN CAREER GUIDANCE & HR SOLUTIONS — JOB PORTAL
   Design System Tokens & Base
   ========================================================================== */

:root {
  /* ---- Brand Palette ---- */
  --green-50:  #F2F7F3;
  --green-100: #E0EBE3;
  --green-200: #BCD6C6;
  --green-300: #93BBA6;
  --green-400: #5E9377;
  --green-500: #1E5A35;   /* Primary green */
  --green-600: #174828;
  --green-700: #123A20;
  --green-800: #0E2E19;
  --green-900: #0A2413;

  --red-50:  #FDEBEB;
  --red-100: #FAD5D4;
  --red-500: #E53935;     /* Accent red */
  --red-600: #C62828;
  --red-700: #A02020;

  /* ---- Neutrals ---- */
  --ink:       #222222;   /* Primary text */
  --gray-600:  #666666;   /* Secondary text */
  --gray-400:  #999999;   /* Muted text */
  --gray-200:  #EAEAEA;   /* Border */
  --gray-100:  #F5F5F5;   /* Subtle surface */
  --surface:   #FFFFFF;   /* Background */

  /* ---- Typography (system stack for performance) ---- */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --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.375rem;
  --text-5xl:  3rem;

  --leading-tight:   1.15;
  --leading-snug:    1.35;
  --leading-normal:  1.6;

  --tracking-wide:  0.04em;

  /* ---- 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;

  /* ---- Radii ---- */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 999px;

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 3px rgba(34, 34, 34, 0.06);
  --shadow-md: 0 4px 14px rgba(34, 34, 34, 0.08);
  --shadow-lg: 0 12px 32px rgba(34, 34, 34, 0.10);
  --shadow-green: 0 6px 18px rgba(30, 90, 53, 0.22);

  /* ---- Transitions ---- */
  --transition-fast:  150ms ease;
  --transition-base:  250ms ease;

  /* ---- Layout ---- */
  --container-max:     1200px;
  --container-padding: 1.25rem;
  --header-height:     72px;

  /* ---- Z-index ---- */
  --z-header:   100;
  --z-dropdown: 120;
  --z-mobile:   130;
  --z-whatsapp: 200;
  --z-modal:    300;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--ink);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover { color: var(--green-700); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: var(--leading-tight);
  font-weight: 700;
  text-wrap: balance;
}

.heading-xl {
  font-size: var(--text-4xl);
  line-height: 1.12;
}
@media (min-width: 768px) { .heading-xl { font-size: var(--text-5xl); } }

.heading-lg { font-size: var(--text-3xl); }
.heading-md { font-size: var(--text-2xl); }
.heading-sm { font-size: var(--text-xl); }

@media (min-width: 768px) {
  .heading-lg { font-size: var(--text-4xl); }
  .heading-md { font-size: var(--text-3xl); }
}

.lead {
  font-size: var(--text-lg);
  color: var(--gray-600);
}

.text-center { text-align: center; }
.text-green { color: var(--green-500); }
.text-red { color: var(--red-500); }
.text-muted { color: var(--gray-600); }
.text-small { font-size: var(--text-sm); }

/* ==========================================================================
   Layout utilities
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
@media (min-width: 768px) {
  .section { padding-top: var(--space-20); padding-bottom: var(--space-20); }
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-10);
}

.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--green-500);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-head h2 { margin-bottom: var(--space-3); }
.section-head p { color: var(--gray-600); }

.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Grid helpers
   ========================================================================== */

.grid-2 { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }

@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Accessibility helpers
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--green-500);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }
