/* ================== ROOT / RESET ================== */
:root {
  --color-primary: #2e7d32;
  --color-primary-dark: #1b5e20;
  --color-accent: #f9a825;
  --color-ink: #1a1a1a;
  --color-body: #4a4a4a;
  --color-muted: #7a7a7a;
  --color-line: #e5e7eb;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8f5;
  --color-dark: #111111;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  color: var(--color-ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================== BUTTONS ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: #fff; }
.btn-outline-light {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover { background: #fff; color: var(--color-ink); border-color: #fff; }

.link-arrow {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}
.link-arrow:hover { color: var(--color-primary-dark); letter-spacing: 0.02em; }


/* ================== HEADER ================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #FAF3E0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8e0ce;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 70px;
  width: auto;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.logo-text {
  font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
  display: flex; /* Aligns the two colored spans perfectly */
}

/* Match the Deep Forest Green */
.text-rasa {
  color: #1E4C32; 
}

/* Match the Cool Frost Blue */
.text-frost {
  color: #80B2CB; 
}

/* Main navigation */
.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav > ul > li {
  position: relative;
  flex-shrink: 0;
}

.main-nav a {
  display: block;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--color-primary);
  background: var(--color-bg-soft);
}

/* Products dropdown */
.main-nav .has-dropdown {
  position: relative;
}

.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1001;
  display: block;
  min-width: 230px;
  padding: 8px;
  margin: 0;
  background: #FAF3E0; 
  border: 1px solid #e8e0ce;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
}

.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav .dropdown li {
  width: 100%;
}

.main-nav .dropdown a {
  display: block;
  padding: 10px 12px;
  white-space: normal;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--color-ink);
}

/* Responsive navigation */
@media (max-width: 1100px) {
  .header-inner {
    gap: 12px;
  }

  .main-nav a {
    padding: 10px 8px;
    font-size: 0.82rem;
  }

  .logo-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 900px) {
  .header-inner {
    height: 72px;
  }

  /* Hamburger Button */
  .nav-toggle {
    display: flex; /* Changed to flex to align spans */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: transparent;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-ink);
    margin: 0;
  }

  /* Main Navigation Mobile Menu */
  .main-nav {
    display: block; /* Keep it block so it can animate */
    position: absolute;
    top: 100%; /* Drops down right below the header */
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  /* Open state - triggered by JS */
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Nav List */
  .main-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    margin: 0;
    gap: 4px;
  }

  .main-nav > ul > li {
    width: 100%;
    border-bottom: 1px solid var(--color-bg-soft);
  }
  
  .main-nav > ul > li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    padding: 14px 12px;
    font-size: 1rem;
  }

  /* Mobile Dropdown */
  .main-nav .dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0 16px;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    background: #FAF3E0; 
    border: 1px solid #e8e0ce;
    border-radius: 8px;
    margin-bottom: 8px;
  }

  .main-nav .has-dropdown:hover > .dropdown,
  .main-nav .has-dropdown:focus-within > .dropdown {
    display: block;
  }

  .main-nav .dropdown a {
    padding: 12px 12px;
    font-size: 0.95rem;
  }
}

/* ================== HAMBURGER ANIMATION ================== */
.nav-toggle span {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ================== HERO ================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 860px;
}
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollBounce 1.6s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(-6px); opacity: 0.4; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ================== SECTION / TYPOGRAPHY ================== */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.eyebrow.light { color: var(--color-accent); }
.lead { font-size: 1.05rem; color: var(--color-body); max-width: 720px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.section-head h2 { margin-bottom: 16px; }

/* ================== INTRO ================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.intro-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.process-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
}
.strip-step {
  font-weight: 600;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.strip-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
}
.strip-arrow { color: var(--color-muted); }

/* ================== CARDS ================== */
.why-freeze { background: var(--color-bg-soft); }
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: var(--color-body); }

/* ================== CATEGORY CARDS ================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.category-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.category-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.category-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .category-img img { transform: scale(1.05); }
.category-body { padding: 24px; }
.category-body h3 { margin-bottom: 8px; }
.category-body p { font-size: 0.92rem; margin-bottom: 14px; }

/* ================== SPLIT ================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-text h2 { margin-bottom: 20px; }
.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split-media img {
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}
.split-media img:first-child { margin-top: 32px; }

/* ================== CTA BAND ================== */
.cta-band { background: var(--color-dark); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner p { color: rgba(255,255,255,0.75); max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ================== FOOTER ================== */
.site-footer {
  background: #0d0d0d;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 115px;  width: auto; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ================== FORM ================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
}
.form-field textarea { resize: vertical; min-height: 130px; }

/* ================== PAGES GENERIC ================== */
.page-hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
  background: var(--color-bg-soft);
  text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { margin: 0 auto; }

/* ================== UTILS ================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }