/* ═══════════════════════════════════════════════════════════════════════════
   nrg4u.art — Complete Stylesheet
   "Tailor Your Own Desk" — Symbiosis between technology and nature
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─── */
:root {
  /* Primary Earth Tones */
  --color-bark: #3e2723;
  --color-walnut: #5d4037;
  --color-soil: #6d4c41;
  --color-clay: #8d6e63;
  --color-sand: #d7ccc8;
  --color-linen: #efebe9;
  --color-parchment: #faf8f6;

  /* Accent — Natural Green */
  --color-moss: #4a6741;
  --color-sage: #7c9a6e;
  --color-leaf: #a8c49a;

  /* Accent — Warm Amber */
  --color-amber: #ea6c26;
  --color-honey: #ee8a53;

  /* Neutrals */
  --color-charcoal: #1a1a1a;
  --color-graphite: #4a4a4a;
  --color-stone: #7a7a7a;
  --color-cloud: #e8e8e8;
  --color-white: #ffffff;

  /* Semantic Aliases */
  --text-primary: var(--color-charcoal);
  --text-secondary: var(--color-graphite);
  --text-muted: var(--color-stone);
  --text-heading: var(--color-bark);
  --bg-page: var(--color-white);
  --bg-section-alt: var(--color-parchment);
  --bg-card: var(--color-linen);
  --bg-cta: var(--color-amber);
  --bg-cta-hover: var(--color-honey);
  --border-light: var(--color-sand);
  --border-default: var(--color-cloud);
  --accent-primary: var(--color-moss);
  --accent-secondary: var(--color-amber);

  /* Font Families */
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  /* Font Sizes (fluid) */
  --text-hero: clamp(2.5rem, 4vw, 4rem);
  --text-h1: clamp(2.25rem, 3.5vw, 3.5rem);
  --text-h2: clamp(1.75rem, 2.5vw, 2.5rem);
  --text-h3: clamp(1.25rem, 2vw, 2rem);
  --text-h4: clamp(1.125rem, 1.5vw, 1.5rem);
  --text-body: clamp(1rem, 1.125vw, 1.25rem);
  --text-small: clamp(0.875rem, 1vw, 1rem);
  --text-xs: 0.75rem;
  --text-button: clamp(1rem, 1.25vw, 1.5rem);

  /* Font Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;

  /* Spacing (4-point grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-13: 3.25rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-50: 12.5rem;

  /* Semantic Spacing */
  --page-padding: var(--space-10);
  --section-gap: clamp(5rem, 10vw, 12.5rem);
  --card-gap: var(--space-5);
  --card-text-gap: var(--space-7);
  --text-stack-gap: var(--space-2);
  --cta-gap: var(--space-10);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lifted: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-nav: 0 1px 0 rgba(0, 0, 0, 0.05);

  /* Timing */
  --ease-natural: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-enter: cubic-bezier(0, 0, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;
}

/* ─── 2. BASE RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ─── 3. TYPOGRAPHY ─── */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-heading);
}

h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--text-heading);
}

h1 {
  font-size: var(--text-hero);
}
h2 {
  font-size: var(--text-h1);
}
h3 {
  font-size: var(--text-h2);
}
h4 {
  font-size: var(--text-h3);
}
h5 {
  font-size: var(--text-h4);
}
h6 {
  font-size: var(--text-body);
}

p {
  max-width: 65ch;
}

.lower {
  font-weight: var(--weight-semibold); /* 600 */
}

/* ─── 4. LAYOUT ─── */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}

section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

/* ─── 5. SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--color-bark);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  text-decoration: none;
  transition: top var(--duration-fast) var(--ease-natural);
}

.skip-link:focus {
  top: 16px;
}

/* ─── 6. NAVIGATION ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: var(--shadow-nav);
  transition: background var(--duration-normal) var(--ease-natural);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--space-4) var(--page-padding);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-8);
}

.nav-links a {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-natural);
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-cta {
  padding: var(--space-3) var(--space-6) !important;
  min-width: auto !important;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all var(--duration-normal) var(--ease-natural);
}

.nav-toggle span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle span::before {
  content: "";
  top: -8px;
}

.nav-toggle span::after {
  content: "";
  top: 8px;
}

/* Mobile Nav */
@media (max-width: 1023px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-page);
    flex-direction: column;
    align-items: center;
    padding: var(--space-8);
    gap: var(--space-6);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-natural);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ─── 7. BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  min-width: 10rem;
  background: var(--bg-cta);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--duration-normal) var(--ease-natural),
    transform var(--duration-fast) var(--ease-natural);
  min-height: 2.75rem;
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 1rem 2rem;
    min-width: 11rem;
    min-height: 3rem;
  }
}

@media (min-width: 1024px) {
  .btn-primary {
    padding: 1.25rem 2.5rem;
    min-width: 12.875rem;
  }
}

.btn-primary:hover {
  background: var(--bg-cta-hover);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  min-width: 10rem;
  background: var(--color-linen);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--duration-normal) var(--ease-natural);
  min-height: 2.75rem;
}

@media (min-width: 768px) {
  .btn-secondary {
    padding: 1rem 2rem;
    min-width: 11rem;
    min-height: 3rem;
  }
}

@media (min-width: 1024px) {
  .btn-secondary {
    padding: 1.25rem 2.5rem;
    min-width: 12.875rem;
  }
}

.btn-secondary:hover {
  background: var(--color-sand);
}

/* ─── 8. HERO SECTION ─── */
/* ─── 8. HERO SECTION ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  background: var(--color-linen);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
  display: flex;
  justify-content: center; /* Center the content block horizontally */
}

.hero-content {
  max-width: 800px; /* Slightly wider for better centered visuals */
  text-align: center;
  margin: 0 auto;
  padding-bottom: 300px;
}

.hero h1 {
  margin-bottom: var(--text-stack-gap);
  color: var(--color-bark); /* Ensure readable on light backgrounds */
}

.hero p {
  font-size: var(--text-body);
  color: var(--text-secondary); /* Darker text for better contrast */
  margin-bottom: var(--cta-gap);
  font-weight: 500; /* Slightly bolder for background readability */
}

/* Hero Slider (WebGL) - Background Position */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: 0; /* Full screen, no radius */
  overflow: hidden;
  background-image: url("../hero.png");
  background-size: cover;
  background-position: center;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 10%,
    rgba(0, 0, 0, 0) 40%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-slider canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Hero Ticker Animation */

/* ─── 9. USP / WHY NATURAL SECTION ─── */
.usp {
  background: var(--bg-section-alt);
  overflow: visible;
  min-height: 100vh;
}

.usp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: visible;
  margin-bottom: var(--space-10);
}

.usp h2 {
  max-width: 446px;
}

.usp-carousel-wrapper {
  position: relative;
  /* Clip overflow to show only one card on mobile/tablet */
  overflow: hidden;
  /* Break out of container padding on mobile/tablet */
  margin-left: calc(-1 * var(--page-padding));
  margin-right: calc(-1 * var(--page-padding));
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}

@media (min-width: 1024px) {
  .usp-carousel-wrapper {
    /* Allow peek of next card on desktop */
    overflow: visible;
    /* Reset the breakout on desktop */
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

.usp-carousel {
  display: flex;
  gap: var(--space-10);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-4) 0;
}

.usp-carousel::-webkit-scrollbar {
  display: none;
}

.usp-card {
  flex: 0 0 auto;
  /* Full viewport width minus left and right padding */
  width: calc(100vw - var(--page-padding) * 2);
  scroll-snap-align: center;
}

/* Only show peek layout on desktop (1024px and above) */
@media (min-width: 1024px) {
  .usp-carousel {
    justify-content: flex-start;
  }

  .usp-card {
    /* ~70% of container width on desktop */
    width: calc(70vw - var(--page-padding));
    max-width: 900px;
    scroll-snap-align: start;
  }
}

@media (min-width: 1440px) {
  .usp-card {
    /* Fixed large width on big screens */
    width: 65vw;
    max-width: 1000px;
  }
}

.usp-card img {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--card-text-gap);
}

.usp-card h4 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-1);
}

.usp-card p {
  font-size: var(--text-body);
  color: var(--text-secondary);
}

.usp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-10);
  flex-wrap: wrap;
  gap: var(--space-6);
}

.usp-nav {
  display: flex;
  gap: var(--space-4);
}

.usp-nav button {
  /* Match btn-primary height on mobile, 1:1 aspect ratio */
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: var(--color-linen);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) var(--ease-natural);
}

@media (min-width: 768px) {
  .usp-nav button {
    /* Match btn-primary height on tablet */
    width: 3rem;
    height: 3rem;
  }
}

.usp-nav button:hover {
  background: var(--color-sand);
}

.usp-nav button svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .usp-nav button svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* ─── 10. FEATURED PRODUCTS SECTION ─── */
.featured h2 {
  max-width: 446px;
  margin-bottom: var(--space-10);
}

.featured-grid {
  display: grid;
  gap: var(--card-gap);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: 561fr 779fr;
  }

  .featured-grid .featured-card:nth-child(3),
  .featured-grid .featured-card:nth-child(4) {
    grid-column: auto;
  }

  .featured-grid-row-2 {
    display: contents;
  }
}

.featured-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .featured-card {
    height: 363px;
  }
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-natural);
}

.featured-card:hover img {
  transform: scale(1.05);
}

.featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
}

.featured-card h4 {
  color: var(--color-white);
  font-size: var(--text-h4);
}

/* Row 2 different widths */
@media (min-width: 1024px) {
  .featured-grid-row-2 {
    display: grid;
    grid-template-columns: 734fr 606fr;
    gap: var(--card-gap);
    grid-column: 1 / -1;
  }
}

/* ─── 11. VIDEO SECTION ─── */
.video-section {
  text-align: center;
}

.video-section .section-header {
  max-width: 592px;
  margin: 0 auto var(--cta-gap);
}

.video-section h2 {
  margin-bottom: var(--text-stack-gap);
}

.video-section p {
  color: var(--text-secondary);
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  aspect-ratio: 1360 / 738;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease-natural),
    transform 0.6s var(--ease-natural);
}

.video-container.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-container:hover img {
  opacity: 0.6;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.play-button svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-left: 4px; /* Optical center adjustment */
}

.video-container:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

/* ─── 12. GALLERY SECTION ─── */
.gallery {
  overflow: hidden;
}

.gallery h2 {
  margin-bottom: var(--space-10);
  text-align: center;
}


.gallery-grid {
  column-count: 2;
  column-gap: var(--space-4);
}

@media (min-width: 768px) {
  .gallery-grid {
    column-count: 3;
    column-gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    column-count: 4;
  }
}


.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex; /* Allow content to size naturally */
  justify-content: center; /* Center image if smaller */
  break-inside: avoid;
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  /* Removed fixed height constraint */
}

.gallery-item img {
  width: auto;
  max-width: 100%; /* Ensure it doesn't overflow container */
  height: auto;
  max-height: 600px;
  object-fit: contain; /* Or cover, depending on preference, but contain respects aspect ratio better if fixed bounds */
  transition: transform var(--duration-slow) var(--ease-natural);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ─── 13. ABOUT SECTION ─── */
.about {
  position: relative;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 600px;
}

.about-content p {
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── 14. FAQ SECTION ─── */
.faq {
  background: var(--bg-section-alt);
}

.faq h2 {
  margin-bottom: var(--space-10);
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--bg-page);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--duration-fast) var(--ease-natural);
}

.faq-item:hover {
  box-shadow: var(--shadow-subtle);
}

.faq-item[open] {
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  padding: var(--space-6);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  list-style: none; /* Hide default marker */
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item h3 {
  font-size: var(--text-h4); /* Using body/h4 size for questions */
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-natural);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

/* Active State (Open) */
.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-6) var(--space-6);
  color: var(--text-secondary);
}

/* ─── 15. QUESTIONNAIRE / FORM ─── */
.questionnaire {
  text-align: center;
}

.questionnaire h2 {
  margin-bottom: var(--space-4);
}

.questionnaire > .container > p {
  margin: 0 auto var(--space-10);
  color: var(--text-secondary);
  font-size: var(--text-h4);
}

.questionnaire-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-weight: var(--weight-semibold);
  font-size: var(--text-small);
  color: var(--text-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  color: var(--text-primary);
  transition:
    border-color var(--duration-fast) var(--ease-natural),
    box-shadow var(--duration-fast) var(--ease-natural);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.1);
}

/* Validation Styles */
.form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid {
  border-color: var(--color-leaf);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #d32f2f;
}

.form-actions {
  margin-top: var(--space-4);
  display: flex;
  justify-content: center;
}

.form-actions button {
  width: 100%;
}

@media (min-width: 600px) {
  .form-actions button {
    width: auto;
    min-width: 200px;
  }
}

/* ─── 16. FOOTER ─── */
.site-footer {
  background: var(--color-bark);
  color: var(--color-sand);
  padding: var(--space-12) 0 var(--space-6);
}

.footer-content {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}



.footer-tagline {
  margin-top: var(--space-4);
  opacity: 0.8;
  max-width: 200px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links h5,
.footer-contact h5 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.footer-links a,
.footer-contact a {
  opacity: 0.8;
  transition:
    opacity var(--duration-fast),
    color var(--duration-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: var(--color-white);
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.social-links a {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity var(--duration-fast);
}

.social-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-size: var(--text-small);
  opacity: 0.6;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

/* ─── 17. UTILITIES ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--ease-natural),
    transform 0.8s var(--ease-natural);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for manual control if needed */
.delay-100 {
  transition-delay: 100ms;
}
.delay-200 {
  transition-delay: 200ms;
}
.delay-300 {
  transition-delay: 300ms;
}
