:root {
  /* Units */
  --u: 0.25rem;

  /* Font Families */
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;

  /* Colors (HSL) */
  --background: 36 30% 98%;
  --foreground: 150 25% 15%;

  --card: 60 15% 98%;
  --card-foreground: 150 25% 15%;

  --popover: 60 20% 99%;
  --popover-foreground: 150 25% 15%;

  --primary: 152 45% 32%;
  --primary-foreground: 60 20% 99%;

  --secondary: 140 35% 90%;
  --secondary-foreground: 150 25% 25%;

  --muted: 120 10% 94%;
  --muted-foreground: 150 15% 45%;

  --accent: 25 95% 53%;
  --accent-foreground: 60 20% 99%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 60 20% 99%;

  --border: 140 15% 88%;
  --input: 140 15% 88%;
  --ring: 152 45% 32%;

  --radius: 0.75rem;

  /* Extended Palette */
  --leaf: 142 55% 42%;
  --leaf-foreground: 60 20% 99%;
  --moss: 158 30% 25%;
  --moss-foreground: 60 20% 99%;
  --sand: 38 35% 92%;
  --sand-foreground: 30 25% 25%;
  --earth: 30 20% 35%;
  --earth-foreground: 60 20% 99%;
  --sky: 195 55% 88%;
  --sky-foreground: 195 45% 25%;

  /* New Colors for Refactoring */
  --surface: 210 17% 98%; /* #f8f9fa */
  --primary-light: 142 55% 96%; /* #f0fdf4 */
  --success: 142 76% 36%; /* #16a34a */
  --success-dark: 142 72% 29%; /* #15803d */
  --success-darker: 142 72% 20%; /* #166534 */
  --warning-bg: 48 96% 89%; /* #fef3c7 */
  --warning-fg: 38 92% 50%; /* #d97706 */

  /* Color Variables for Usage */
  --color-background: hsl(var(--background));
  --color-foreground: hsl(var(--foreground));
  --color-primary: hsl(var(--primary));
  --color-primary-foreground: hsl(var(--primary-foreground));
  --color-secondary: hsl(var(--secondary));
  --color-secondary-foreground: hsl(var(--secondary-foreground));
  --color-muted: hsl(var(--muted));
  --color-text-muted: hsl(var(--muted-foreground));
  --color-text-main: hsl(var(--foreground));
  --color-border: hsl(var(--border));
  --color-link: hsl(var(--primary));

  --color-surface: hsl(var(--surface));
  --color-primary-light: hsl(var(--primary-light));
  --color-success: hsl(var(--success));
  --color-success-dark: hsl(var(--success-dark));
  --color-success-darker: hsl(var(--success-darker));
  --color-warning-bg: hsl(var(--warning-bg));
  --color-warning-fg: hsl(var(--warning-fg));

  /* Gradients */
  --gradient-green: linear-gradient(135deg, hsl(152 45% 32%) 0%, hsl(142 55% 42%) 100%);
  --gradient-nature: linear-gradient(180deg, hsl(60 20% 99%) 0%, hsl(140 20% 95%) 100%);
  /* Updated hero gradient to be darker/richer */
  --gradient-hero: linear-gradient(135deg, hsl(152 45% 32% / 0.9) 0%, hsl(142 55% 42% / 0.85) 50%, hsl(158 30% 25% / 0.9) 100%);
  --gradient-warm: linear-gradient(135deg, hsl(25 95% 53%) 0%, hsl(35 90% 50%) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsl(150 25% 15% / 0.05);
  --shadow-md: 0 4px 6px -1px hsl(150 25% 15% / 0.08), 0 2px 4px -1px hsl(150 25% 15% / 0.04);
  --shadow-lg: 0 10px 15px -3px hsl(150 25% 15% / 0.08), 0 4px 6px -2px hsl(150 25% 15% / 0.04);
  --shadow-green: 0 10px 30px -10px hsl(152 45% 32% / 0.35);
  --shadow-accent: 0 10px 30px -10px hsl(25 65% 55% / 0.35);

  /* Spacing */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(1rem, 2vw, 1.5rem);
  --space-md: clamp(2rem, 4vw, 3rem);
  --space-lg: clamp(3rem, 6vw, 6rem);
  --space-xl: clamp(4rem, 8vw, 9rem);

  /* Fixed spacing for components */
  --gap-xs: 0.5rem;
  --gap-sm: 1rem;
  --gap-md: 1.5rem;
  --gap-lg: 2rem;
  --gap-xl: 3rem;

  /* Typography */
  --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.25rem;

  /* Fluid Typography */
  --text-fluid-h1: clamp(1.75rem, 4vw + 1rem, 3.5rem);
  --text-fluid-h2: clamp(1.5rem, 3.5vw + 1rem, 3rem);
  --text-fluid-h3: clamp(1.5rem, 3vw + 1rem, 2.5rem);
  --text-fluid-p: clamp(1rem, 2vw, 1.125rem);

  --container-width: 1280px;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

h1 { font-size: var(--text-fluid-h1); }
h2 { font-size: var(--text-fluid-h2); }
h3 { font-size: var(--text-fluid-h3); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0;
  color: var(--color-text-main);
}

h1 {
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-warm);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-secondary-foreground);
}

.btn-secondary:hover {
  opacity: 0.8;
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
}

.btn-outline:hover {
  background: var(--color-secondary);
}

.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.bg-secondary { background-color: var(--color-secondary); }

/* Animation Classes */
.animate-fade-up { animation: fadeUp 0.6s ease-out forwards; opacity: 0; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding-block: 0.5rem;
}

.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-main);
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: hsl(var(--accent));
}

/* Bottom Nav (Mobile) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--color-border);
  padding: 0.5rem 0;
  z-index: 50;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.bottom-nav ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
}

.bottom-nav-link svg {
  width: 1.5rem;
  height: 1.5rem;
}

.bottom-nav-link:hover, .bottom-nav-link:active {
  color: hsl(var(--accent));
  background: var(--color-secondary);
}

/* Desktop styles */
@media (min-width: 900px) {
  .desktop-nav {
    display: block;
  }

  .bottom-nav {
    display: none;
  }
}

/* Add padding to body to prevent content from being hidden behind bottom nav on mobile */
@media (max-width: 899px) {
  body {
    padding-bottom: 5rem;
  }
}

/* Footer */
.page-footer {
  background: hsl(var(--moss));
  color: hsl(var(--moss-foreground));
  padding-block: 4rem 2rem;
  margin-top: auto;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: hsl(var(--accent));
}

.footer-slogan {
  font-size: 0.9rem;
  color: hsl(var(--moss-foreground));
  line-height: 1.6;
  max-width: 300px;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: hsl(var(--moss-foreground));
  transition: opacity 0.2s;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: hsl(var(--accent));
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: hsl(var(--moss-foreground));
  opacity: 0.9;
}

.footer-contact-item svg {
  color: hsl(var(--accent));
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: hsl(var(--moss-foreground));
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: hsl(var(--accent));
  color: white;
}

.page-footer .copyright {
  font-size: 0.875rem;
  color: hsl(var(--moss-foreground));
  opacity: 0.6;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Hero System (Unified) */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-section--home {
    min-height: 90vh;
}

.hero-section--page {
    min-height: 40vh;
    padding-block: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker, richer overlay */
    background: linear-gradient(135deg, hsl(var(--primary) / 0.85), hsl(var(--leaf) / 0.8), hsl(var(--moss) / 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-block: 2rem;
    text-align: left;
}

.hero-text-block {
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-title {
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-description-short,
.hero-description {
    font-size: var(--text-fluid-p);
    line-height: 1.6;
    opacity: 0.9;
    color: white;
    margin-bottom: 2rem;
}

.hero-description-short {
    display: block;
}

.hero-description {
    display: none;
}

@media (min-width: 768px) {
    .hero-description-short {
        display: none;
    }
    .hero-description {
        display: block;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    padding-block: 4rem;
    background-color: var(--color-secondary);
}

.cta-content {
    max-width: 800px;
    text-align: left;
}

.cta-title {
    font-size: var(--text-fluid-h2);
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.cta-subtitle {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.cta-text-block {
    margin-bottom: 2rem;
}

.cta-description-short,
.cta-description {
    font-size: var(--text-fluid-p);
    color: var(--color-text-muted);
}

.cta-description-short { display: block; }
.cta-description { display: none; }

@media(min-width: 768px) {
    .cta-description-short { display: none; }
    .cta-description { display: block; }
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.cta-email {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    transition: color 0.2s;
}

.cta-email:hover {
    color: var(--color-foreground);
}

/* Hero Video Styles */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
