/* ============================================================
   MPellets.eu — Nordic Industrial Luxury
   Main Stylesheet
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============================================================
   1. CSS Custom Properties
   ============================================================ */
:root {
  /* Colors */
  --forest: #1B3A2D;
  --forest-light: #2D5A27;
  --forest-rgb: 27, 58, 45;
  --amber: #D4A84B;
  --amber-light: #E8C97A;
  --amber-rgb: 212, 168, 75;
  --cream: #F5F0E8;
  --warm-white: #FAFAF5;
  --charcoal: #2A2A28;
  --charcoal-rgb: 42, 42, 40;
  --text: #333330;
  --text-light: #6B6B65;
  --border: #E0DDD5;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Sizing */
  --max-width: 1200px;
  --header-height: 80px;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-pill: 100px;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --section-padding: clamp(80px, 10vw, 120px);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease);
  --transition-slow: 0.6s var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);

  /* Glassmorphism */
  --glass-bg: rgba(250, 250, 245, 0.75);
  --glass-border: rgba(224, 221, 213, 0.5);
}


/* ============================================================
   2. Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background-color: var(--amber);
  color: var(--charcoal);
}


/* ============================================================
   3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  max-width: 65ch;
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-light);
}

.text-small {
  font-size: 0.875rem;
}

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.875em;
  letter-spacing: -0.02em;
}

.text-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
}

.text-amber {
  color: var(--amber);
}

.text-forest {
  color: var(--forest);
}


/* ============================================================
   4. Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

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

.section--cream,
.section-cream {
  background-color: var(--cream);
}

.section--white,
.section-white {
  background-color: var(--warm-white);
}

.section-dark {
  background-color: var(--charcoal);
  color: rgba(245, 240, 232, 0.7);
}

.section--dark {
  background-color: var(--forest);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--warm-white);
}

.section--dark p {
  color: rgba(245, 240, 232, 0.8);
}

.section-header {
  margin-bottom: var(--space-2xl);
  max-width: 700px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header .text-label {
  margin-bottom: var(--space-sm);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid--asymmetric {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .grid--asymmetric {
    grid-template-columns: 1.2fr 1fr;
  }

  .grid--asymmetric.reversed {
    grid-template-columns: 1fr 1.2fr;
  }

  .grid--asymmetric.reversed > :first-child {
    order: 2;
  }

  .grid--asymmetric.reversed > :last-child {
    order: 1;
  }
}


/* ============================================================
   5. Page Transition
   ============================================================ */
.page-transition {
  animation: pageIn 0.6s var(--ease-out) forwards;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   6. Header & Navigation
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .header__inner {
    padding: 0 var(--space-lg);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--charcoal);
  z-index: 1001;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  color: var(--amber);
}

.header--hero .logo,
.header--hero .nav__link,
.header--hero .hamburger span {
  color: var(--warm-white);
}

.header--hero.scrolled .logo,
.header--hero.scrolled .nav__link,
.header--hero.scrolled .hamburger span {
  color: var(--charcoal);
}

/* Navigation */
.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--amber);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  z-index: 1001;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease, width 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--warm-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--charcoal);
  transition: color var(--transition);
}

.mobile-menu__link:hover {
  color: var(--amber);
}


/* ============================================================
   7. Language Switcher
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  background-color: rgba(224, 221, 213, 0.4);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.lang-switcher__btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-light);
  transition: all var(--transition);
  line-height: 1;
}

.lang-switcher__btn:hover {
  color: var(--text);
}

.lang-switcher__btn.active {
  background-color: var(--warm-white);
  color: var(--forest);
  box-shadow: var(--shadow-sm);
}

.header--hero .lang-switcher {
  background-color: rgba(255, 255, 255, 0.15);
}

.header--hero .lang-switcher__btn {
  color: rgba(255, 255, 255, 0.6);
}

.header--hero .lang-switcher__btn.active {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--warm-white);
}

.header--hero.scrolled .lang-switcher {
  background-color: rgba(224, 221, 213, 0.4);
}

.header--hero.scrolled .lang-switcher__btn {
  color: var(--text-light);
}

.header--hero.scrolled .lang-switcher__btn.active {
  background-color: var(--warm-white);
  color: var(--forest);
}


/* ============================================================
   8. Hero Sections
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--forest);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Parallax-ready wrapper */
.hero__bg--parallax {
  will-change: transform;
}

/* Grain texture overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* Gradient overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    135deg,
    rgba(var(--forest-rgb), 0.88) 0%,
    rgba(var(--forest-rgb), 0.6) 40%,
    rgba(var(--forest-rgb), 0.3) 70%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
  width: 100%;
}

@media (min-width: 768px) {
  .hero__content {
    padding: calc(var(--header-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  }
}

.hero__content h1 {
  color: var(--warm-white);
  margin-bottom: var(--space-md);
  max-width: 12ch;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(245, 240, 232, 0.8);
  max-width: 50ch;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: var(--space-md);
  display: block;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Staggered hero animations */
.hero__label {
  animation: fadeInUp 0.8s var(--ease-out) 0.2s backwards;
}

.hero__content h1 {
  animation: fadeInUp 0.8s var(--ease-out) 0.4s backwards;
}

.hero__subtitle {
  animation: fadeInUp 0.8s var(--ease-out) 0.6s backwards;
}

.hero__actions {
  animation: fadeInUp 0.8s var(--ease-out) 0.8s backwards;
}

/* Compact hero variant (for sub-pages) */
.hero--compact {
  min-height: 50vh;
}

.hero--compact .hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(var(--forest-rgb), 0.85) 0%,
    rgba(var(--forest-rgb), 0.7) 100%
  );
}


/* ============================================================
   9. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background-color: var(--amber);
  color: var(--charcoal);
}

.btn--primary:hover {
  background-color: var(--amber-light);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.btn--secondary {
  background-color: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}

.btn--secondary:hover {
  background-color: var(--forest);
  color: var(--warm-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--warm-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--warm-white);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--ghost:active {
  transform: translateY(0);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

.btn__icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}


/* ============================================================
   10. Product Cards
   ============================================================ */
.product-card {
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--cream);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  background-color: var(--amber);
  color: var(--charcoal);
  border-radius: var(--radius);
}

.product-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: var(--space-xs);
}

.product-card__desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  flex: 1;
}

.product-card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.product-card__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card__spec-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.product-card__spec-value {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}


/* ============================================================
   11. Feature Grid
   ============================================================ */
.feature {
  text-align: left;
  padding: var(--space-lg);
}

.feature__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--amber-rgb), 0.12);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  color: var(--amber);
  transition: all var(--transition);
}

.feature__icon svg,
.feature__icon img {
  width: 28px;
  height: 28px;
}

.feature:hover .feature__icon {
  background-color: var(--amber);
  color: var(--charcoal);
  transform: scale(1.08);
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.feature__text {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}


/* ============================================================
   12. Stats / Numbers
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
  padding: var(--space-md);
}

.stat__number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__suffix {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--amber-light);
}

.stat__label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-light);
  font-weight: 500;
}

.section--dark .stat__label {
  color: rgba(245, 240, 232, 0.65);
}


/* ============================================================
   13. Spec Table
   ============================================================ */
.spec-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-table table {
  width: 100%;
}

.spec-table thead {
  background-color: var(--forest);
}

.spec-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-white);
  padding: 14px 20px;
  text-align: left;
}

.spec-table td {
  padding: 14px 20px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tbody tr:nth-child(even) {
  background-color: rgba(245, 240, 232, 0.5);
}

.spec-table tbody tr {
  transition: background-color var(--transition);
}

.spec-table tbody tr:hover {
  background-color: rgba(var(--amber-rgb), 0.08);
}

.spec-table .spec-value {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--charcoal);
}

.spec-table .spec-highlight {
  color: var(--forest);
  font-weight: 600;
}


/* ============================================================
   14. Contact Form
   ============================================================ */
.form {
  max-width: 640px;
}

.form--centered {
  margin: 0 auto;
}

.form__group {
  position: relative;
  margin-bottom: var(--space-md);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 18px 20px;
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: var(--warm-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(var(--forest-rgb), 0.1);
}

.form__textarea {
  min-height: 160px;
  resize: vertical;
}

/* Floating labels */
.form__label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-light);
  pointer-events: none;
  transition: all 0.25s var(--ease);
  background-color: var(--warm-white);
  padding: 0 4px;
}

.form__textarea ~ .form__label {
  top: 18px;
  transform: translateY(0);
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label,
.form__textarea:focus ~ .form__label,
.form__textarea:not(:placeholder-shown) ~ .form__label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.05em;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6B65' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form__submit {
  margin-top: var(--space-sm);
}

.form__note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: var(--space-sm);
}


/* ============================================================
   15. Market Cards (Home Page)
   ============================================================ */
.market-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

@media (min-width: 768px) {
  .market-card {
    aspect-ratio: 4 / 5;
  }
}

.market-card__image {
  position: absolute;
  inset: 0;
}

.market-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.market-card:hover .market-card__image img {
  transform: scale(1.1);
}

.market-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--charcoal-rgb), 0.85) 0%,
    rgba(var(--charcoal-rgb), 0.3) 50%,
    transparent 100%
  );
  transition: opacity var(--transition);
}

.market-card:hover .market-card__overlay {
  background: linear-gradient(
    to top,
    rgba(var(--charcoal-rgb), 0.9) 0%,
    rgba(var(--charcoal-rgb), 0.45) 50%,
    rgba(var(--charcoal-rgb), 0.1) 100%
  );
}

.market-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 2;
}

.market-card__flag {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.market-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--warm-white);
  margin-bottom: var(--space-xs);
}

.market-card__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 30ch;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}

.market-card:hover .market-card__desc {
  transform: translateY(0);
  opacity: 1;
}

.market-card__arrow {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--warm-white);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all 0.4s var(--ease);
}

.market-card:hover .market-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}


/* ============================================================
   16. Footer
   ============================================================ */
.footer {
  background-color: var(--charcoal);
  color: rgba(245, 240, 232, 0.7);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--warm-white);
  margin-bottom: var(--space-sm);
}

.footer__logo span {
  color: var(--amber);
}

.footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__link {
  font-size: 0.9375rem;
  color: rgba(245, 240, 232, 0.6);
  transition: color var(--transition), padding-left var(--transition);
}

.footer__link:hover {
  color: var(--amber);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.4);
}

.footer__certifications {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__certifications img {
  height: 32px;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.footer__certifications img:hover {
  opacity: 0.9;
}


/* ============================================================
   17. Scroll Animations
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for groups */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.15s; }
.stagger > *:nth-child(4) { transition-delay: 0.2s; }
.stagger > *:nth-child(5) { transition-delay: 0.25s; }
.stagger > *:nth-child(6) { transition-delay: 0.3s; }
.stagger > *:nth-child(7) { transition-delay: 0.35s; }
.stagger > *:nth-child(8) { transition-delay: 0.4s; }


/* ============================================================
   18. Keyframe Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* ============================================================
   19. CTA Banner
   ============================================================ */
.cta-banner {
  background-color: var(--forest);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--amber-rgb), 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--warm-white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(245, 240, 232, 0.75);
  margin: 0 auto var(--space-lg);
}


/* ============================================================
   20. Image with Caption
   ============================================================ */
.image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-block__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  color: var(--warm-white);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}


/* ============================================================
   21. Testimonial
   ============================================================ */
.testimonial {
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--amber);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial__text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber-light);
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--charcoal);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--text-light);
}


/* ============================================================
   22. Timeline
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--amber);
  border: 3px solid var(--warm-white);
  box-shadow: 0 0 0 2px var(--amber);
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.timeline__text {
  font-size: 0.9375rem;
  color: var(--text-light);
}


/* ============================================================
   23. Breadcrumb
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  margin-bottom: var(--space-md);
}

.breadcrumb__separator {
  color: var(--text-light);
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--text-light);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb__current {
  color: var(--text);
  font-weight: 500;
}

.hero .breadcrumb a {
  color: rgba(245, 240, 232, 0.6);
}

.hero .breadcrumb a:hover {
  color: var(--amber);
}

.hero .breadcrumb__current {
  color: var(--warm-white);
}

.hero .breadcrumb__separator {
  color: rgba(245, 240, 232, 0.4);
}


/* ============================================================
   24. Accordion / FAQ
   ============================================================ */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid var(--border);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__trigger {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition);
}

.accordion__trigger:hover {
  background-color: rgba(var(--amber-rgb), 0.06);
}

.accordion__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
  color: var(--amber);
}

.accordion__item.open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.accordion__inner {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}


/* ============================================================
   25. Certification Badges
   ============================================================ */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 10px 16px;
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.cert-badge:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-sm);
}

.cert-badge img {
  height: 24px;
  width: auto;
}


/* ============================================================
   26. Process Steps
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  counter-reset: step;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(var(--amber-rgb), 0.15);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.process-step__text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
}


/* ============================================================
   27. Notification / Alert Bar
   ============================================================ */
.alert-bar {
  background-color: var(--forest);
  color: var(--warm-white);
  text-align: center;
  padding: 10px var(--space-md);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.alert-bar a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.alert-bar a:hover {
  color: var(--amber-light);
}


/* ============================================================
   28. Cookie Consent
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 480px;
  background-color: var(--charcoal);
  color: rgba(245, 240, 232, 0.8);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  animation: fadeInUp 0.5s var(--ease-out);
}

.cookie-banner p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-xs);
}


/* ============================================================
   29. Back to Top Button
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--forest);
  color: var(--warm-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--amber);
  color: var(--charcoal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}


/* ============================================================
   30. Loading / Skeleton States
   ============================================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--cream) 25%,
    var(--border) 50%,
    var(--cream) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ============================================================
   31. Responsive Breakpoints
   ============================================================ */

/* -- Tablet (768px) -- */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }

  .hero__content h1 {
    max-width: 100%;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .stats {
    gap: var(--space-sm);
  }

  .stat__number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: var(--space-xl) var(--space-md);
  }
}

/* -- Desktop (1024px) -- */
@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

/* -- Large screens -- */
@media (min-width: 1400px) {
  :root {
    --max-width: 1320px;
  }
}


/* ============================================================
   32. Print Styles
   ============================================================ */
@media print {
  .header,
  .footer,
  .back-to-top,
  .cookie-banner,
  .hamburger,
  .mobile-menu {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__bg,
  .hero__overlay {
    display: none;
  }

  .hero__content h1 {
    color: #000;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }
}


/* ============================================================
   33. Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-in-up,
  .fade-in-left,
  .fade-in-right,
  .fade-in,
  .scale-in {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   34. Divider
   ============================================================ */
.divider {
  width: 60px;
  height: 3px;
  background-color: var(--amber);
  border: none;
  margin: var(--space-md) 0;
  border-radius: 2px;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

.divider--wide {
  width: 100px;
}


/* ============================================================
   35. Tag / Pill
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(var(--amber-rgb), 0.1);
  color: var(--amber);
}

.tag--green {
  background-color: rgba(var(--forest-rgb), 0.1);
  color: var(--forest);
}

.tag--outline {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-light);
}


/* ============================================================
   36. Icon Row (for certification / partner logos)
   ============================================================ */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.icon-row img {
  height: 40px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.icon-row img:hover {
  opacity: 1;
  filter: grayscale(0%);
}


/* ============================================================
   37. Tooltip
   ============================================================ */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--warm-white);
  background-color: var(--charcoal);
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


/* ============================================================
   38. Map Container
   ============================================================ */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* ============================================================
   39. Focus & Accessibility
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.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;
}

/* Skip to content link */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-sm);
  padding: 10px 20px;
  background-color: var(--amber);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: var(--space-sm);
}


/* ============================================================
   40. Alpine & Greenhouses Page Components
   ============================================================ */

/* --- Solution Grid (two-column: features + visual) --- */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.solution-features {
  /* container for check list */
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
}

.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--forest);
  margin-top: 2px;
}

.check-icon svg {
  display: inline-block;
}

.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-box {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.solution-box svg {
  display: block;
}

/* --- Benefits Grid (dark section, 4 cols) --- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-item {
  position: relative;
  padding-top: var(--space-md);
}

.benefit-accent {
  width: 40px;
  height: 3px;
  background-color: var(--amber);
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--warm-white);
  margin-bottom: var(--space-xs);
}

.benefit-desc {
  font-size: 0.9375rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
}

/* --- CTA Banner enhancements --- */
.cta-subtitle {
  font-size: 1.0625rem;
  color: rgba(245, 240, 232, 0.75);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}


/* ============================================================
   41. Contact Page Components
   ============================================================ */

/* --- Contact Grid (form + info) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* --- Contact Form --- */
.contact-form-wrapper {
  /* wrapper */
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: var(--warm-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(var(--forest-rgb), 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6B65' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
  cursor: pointer;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: var(--space-xs);
}

/* Form success message */
.form-success {
  text-align: center;
  padding: var(--space-xl);
}

.form-success svg {
  color: var(--forest);
  margin: 0 auto var(--space-md);
  display: block;
}

.form-success p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--forest);
}

/* --- Contact Info (right column) --- */
.contact-info-wrapper {
  /* wrapper */
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.contact-info-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--forest-rgb), 0.08);
  border-radius: var(--radius);
  color: var(--forest);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.contact-info-value {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.5;
}

a.contact-info-value:hover {
  color: var(--forest);
}

/* Map container */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  display: block;
  width: 100%;
}


/* ============================================================
   42. Shared Page Styles (hero variants, dark section override)
   ============================================================ */

/* Ensure .section--dark uses charcoal, not forest */
.section--dark {
  background-color: var(--charcoal);
}

/* Hero background image support */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero variant styles for inner pages */
.hero--alpine,
.hero--greenhouses,
.hero--contact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page hero (used on products, about) */
.page-hero {
  position: relative;
  background-color: var(--forest);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--forest-rgb), 0.82), rgba(var(--forest-rgb), 0.7));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--warm-white);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.page-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(245, 240, 232, 0.8);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Product image styling (hyphenated class) */
.product-image {
  overflow: hidden;
  background-color: var(--cream);
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Products grid layout */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Product card (hyphenated class) */
.product-card {
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.product-info {
  padding: var(--space-lg);
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: var(--space-xs) 0;
  font-size: 0.9375rem;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.spec-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--charcoal);
  text-align: right;
}

/* Delivery grid */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .delivery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.delivery-card {
  background-color: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition);
}

.delivery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.delivery-icon {
  margin-bottom: var(--space-md);
}

.delivery-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.delivery-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Override SVG display: block for inline icons */
.check-icon svg,
.contact-info-icon svg,
.feature-icon svg,
.benefit-item svg {
  display: inline-block;
}

/* Features grid (used on home, alpine, greenhouses) */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition);
}

.section--cream .feature-card {
  background-color: var(--warm-white);
}

.section--white .feature-card {
  background-color: var(--cream);
}

.feature-card:hover {
  border-color: rgba(var(--amber-rgb), 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--forest-rgb), 0.08);
  border-radius: var(--radius);
  color: var(--forest);
  margin-bottom: var(--space-md);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  display: inline-block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Hero content (hyphenated class names used in HTML) */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--warm-white);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(var(--forest-rgb), 0.85) 0%, rgba(var(--forest-rgb), 0.6) 50%, rgba(var(--forest-rgb), 0.4) 100%);
}

/* Section title + intro (hyphenated versions) */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 640px;
}

/* CTA title (hyphenated) */
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--warm-white);
  margin-bottom: var(--space-sm);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Footer (hyphenated class names used in HTML) */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

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

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: var(--space-sm);
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(245, 240, 232, 0.6);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover {
  color: var(--amber);
  padding-left: 4px;
}

.footer-col p {
  font-size: 0.9375rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--warm-white);
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.4);
}

/* Header inner (hyphenated) */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .header-inner {
    padding: 0 var(--space-lg);
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Logo icon + text */
.logo-icon {
  display: flex;
  align-items: center;
  color: var(--amber);
}

.logo-icon svg {
  display: inline-block;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--charcoal);
}

/* Navigation links */
.nav {
  display: none;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--forest);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  background-color: rgba(var(--charcoal-rgb), 0.05);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 5px 10px;
  border: none;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}

.lang-btn.active {
  background-color: var(--forest);
  color: var(--warm-white);
}

.lang-btn:hover:not(.active) {
  color: var(--charcoal);
  background-color: rgba(var(--charcoal-rgb), 0.08);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--amber);
  color: var(--charcoal);
  border-color: var(--amber);
}

.btn-primary:hover {
  background-color: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(245, 240, 232, 0.4);
}

.btn-outline:hover {
  background-color: var(--warm-white);
  color: var(--charcoal);
  border-color: var(--warm-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

/* Animate on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll.visible,
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }

/* Stats grid (hyphenated) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: var(--space-md);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--amber);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--amber);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: var(--space-xs);
}

/* Stats section background */
.stats-section {
  background-color: var(--cream);
  padding: var(--space-2xl) 0;
}

/* Why section */
.why-section {
  background-color: var(--warm-white);
  padding: var(--section-padding) 0;
}

/* Markets section */
.markets-section {
  background-color: var(--cream);
  padding: var(--section-padding) 0;
}

.markets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.market-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background-color: var(--forest);
}

@media (min-width: 768px) {
  .market-card {
    aspect-ratio: 4 / 5;
  }
}

.market-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--charcoal-rgb), 0.85) 0%, rgba(var(--charcoal-rgb), 0.3) 50%, transparent 100%);
  transition: opacity var(--transition);
}

.market-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 2;
}

.market-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--warm-white);
  margin-bottom: var(--space-xs);
}

.market-card-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
  max-width: 30ch;
}

.market-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber);
}

.market-card-link svg {
  display: inline-block;
  width: 16px;
  height: 16px;
}
