/* HASDEY Digital Growth Hub — Design System */
:root {
  --hasdey-red: #C41E3A;
  --hasdey-red-dark: #9B1830;
  --hasdey-red-light: #E8365A;
  --hasdey-red-50: rgba(196,30,58,0.08);
  --hasdey-red-100: rgba(196,30,58,0.15);
  --white: #FFFFFF;
  --cream: #FFF8F0;
  --cream-dark: #F5EDE0;
  --warm-gray: #F9F5F0;
  --charcoal: #2D2D2D;
  --charcoal-light: #4A4A4A;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;
  --border: #E8E0D8;
  --border-light: #F0EBE5;
  --success: #2E7D32;
  --success-bg: #E8F5E9;
  --warning: #F57F17;
  --warning-bg: #FFF8E1;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.15);
  --shadow-red: 0 4px 20px rgba(196,30,58,0.25);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --section-py: clamp(3rem, 8vw, 6rem);
  --section-px: clamp(1rem, 4vw, 2rem);
  --nav-height: 72px;
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --z-nav: 1000;
  --z-modal: 1100;
  --z-toast: 1200;
  --z-whatsapp: 900;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.container--narrow { max-width: var(--max-width-narrow); }
.container--wide { max-width: var(--max-width-wide); }

section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-cream { background: var(--cream); }
.section-warm { background: var(--warm-gray); }
.section-charcoal {
  background: var(--charcoal);
  color: var(--white);
}
.section-red {
  background: var(--hasdey-red);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hasdey-red);
  margin-bottom: 0.75rem;
}

.section-cream .section-label,
.section-charcoal .section-label,
.section-red .section-label {
  color: var(--hasdey-red-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-cream .section-title,
.section-charcoal .section-title { color: inherit; }

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-cream .section-subtitle,
.section-charcoal .section-subtitle { color: rgba(255,255,255,0.8); }

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { margin-bottom: 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

.text-red { color: var(--hasdey-red); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.font-heading { font-family: var(--font-heading); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.badge--red {
  background: var(--hasdey-red-50);
  color: var(--hasdey-red);
}

.badge--outline {
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--hasdey-red);
  border-radius: var(--radius-full);
  margin: 1rem auto;
}

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

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