/* ============================================
   BIOCYCLIC AGRICULTURE CERTIFICATION USA
   styles.css — Design Tokens + Component Styles
   ============================================ */

/* --- Google Fonts loaded via HTML <link> --- */

/* === BASE RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(201, 168, 76, 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

button { cursor: pointer; background: none; border: none; }
a { text-decoration: none; color: inherit; }

a, button, [role="button"], input, textarea, select {
  transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* === DESIGN TOKENS === */
:root, [data-theme="light"] {
  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Colors — Light Mode */
  --color-bg:          #FAF7F0;
  --color-surface:     #F5F1E8;
  --color-surface-2:   #EDE8DC;
  --color-primary:     #2D5016;
  --color-primary-hover: #3A6820;
  --color-accent:      #C9A84C;
  --color-accent-hover: #B8963A;
  --color-text:        #1A1A1A;
  --color-text-muted:  #5A5A52;
  --color-text-faint:  #9A9A8E;
  --color-text-inverse:#FAF7F0;
  --color-dark-green:  #1E3A0A;
  --color-border:      #D8D2C2;
  --color-divider:     #E2DDD0;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(45, 80, 22, 0.06);
  --shadow-md: 0 4px 12px rgba(45, 80, 22, 0.08);
  --shadow-lg: 0 12px 32px rgba(45, 80, 22, 0.12);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* === DARK MODE === */
[data-theme="dark"] {
  --color-bg:          #141410;
  --color-surface:     #1C1C16;
  --color-surface-2:   #24241C;
  --color-primary:     #5DA03A;
  --color-primary-hover: #72B84E;
  --color-accent:      #D4B85E;
  --color-accent-hover: #E0C870;
  --color-text:        #E8E4DA;
  --color-text-muted:  #A8A498;
  --color-text-faint:  #6A6A5E;
  --color-text-inverse:#141410;
  --color-dark-green:  #0F1E05;
  --color-border:      #363628;
  --color-divider:     #2A2A20;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:          #141410;
    --color-surface:     #1C1C16;
    --color-surface-2:   #24241C;
    --color-primary:     #5DA03A;
    --color-primary-hover: #72B84E;
    --color-accent:      #D4B85E;
    --color-accent-hover: #E0C870;
    --color-text:        #E8E4DA;
    --color-text-muted:  #A8A498;
    --color-text-faint:  #6A6A5E;
    --color-text-inverse:#141410;
    --color-dark-green:  #0F1E05;
    --color-border:      #363628;
    --color-divider:     #2A2A20;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

/* === LAYOUT UTILITIES === */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

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

.container--default {
  max-width: var(--content-default);
}

.section-padding {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: background 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

[data-theme="dark"] .nav {
  background: rgba(20, 20, 16, 0.92);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-4);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-primary);
  white-space: nowrap;
  line-height: 1.2;
}

.nav__brand svg {
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding-block: var(--space-1);
}

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

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

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

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

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.theme-toggle:hover {
  color: var(--color-primary);
  background: var(--color-surface);
}

/* Mobile menu toggle */
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 300ms var(--ease-out), opacity 200ms;
}

.nav__mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px);
}

.nav__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px);
}

@media (max-width: 768px) {
  .nav__mobile-toggle { display: flex; z-index: 110; position: relative; }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #FAF7F0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms var(--ease-out);
    z-index: 105;
  }

  [data-theme="dark"] .nav__links {
    background: #141410;
  }

  .nav__links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    font-size: var(--text-xl);
    font-family: var(--font-display);
    font-weight: 600;
  }

  .nav__actions {
    z-index: 110;
    position: relative;
  }
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 10, 0.92) 0%,
    rgba(45, 80, 22, 0.85) 50%,
    rgba(30, 58, 10, 0.90) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-block: var(--space-16);
}

.hero__headline {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #FAF7F0;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero__subheadline {
  font-size: var(--text-lg);
  color: rgba(250, 247, 240, 0.85);
  margin-bottom: var(--space-8);
  max-width: 600px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Interior page hero */
.hero--interior {
  min-height: 50vh;
}

.hero--interior .hero__headline {
  font-size: var(--text-2xl);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn--primary {
  background: var(--color-accent);
  color: #1A1A1A;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn--secondary {
  background: transparent;
  color: #FAF7F0;
  border-color: rgba(250, 247, 240, 0.4);
}

.btn--secondary:hover {
  background: rgba(250, 247, 240, 0.1);
  border-color: rgba(250, 247, 240, 0.7);
}

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

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--dark {
  background: var(--color-dark-green);
  color: #FAF7F0;
  border-color: var(--color-dark-green);
}

.btn--dark:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* === SECTIONS === */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

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

.section--dark {
  background: var(--color-dark-green);
  color: #FAF7F0;
}

.section--dark .section__overline {
  color: var(--color-accent);
}

.section--dark .section__title {
  color: #FAF7F0;
}

.section__overline {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.section__subtitle + .section__body {
  margin-top: var(--space-8);
}

.section__body {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
  max-width: 72ch;
}

.section__body p + p {
  margin-top: var(--space-4);
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(45, 80, 22, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

[data-theme="dark"] .card__icon {
  background: rgba(93, 160, 58, 0.12);
}

.card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
}

.card__text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* === SEAL SECTION === */
.seal-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

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

.seal-badge {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4);
  background: rgba(201, 168, 76, 0.06);
}

.seal-badge__label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.seal-badge__icon {
  font-size: 2.5rem;
  margin-block: var(--space-2);
}

.seal-badge__sublabel {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .seal-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* === FEATURED FARM / ABOUT === */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.featured-grid--reverse {
  direction: rtl;
}

.featured-grid--reverse > * {
  direction: ltr;
}

.featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

@media (max-width: 768px) {
  .featured-grid,
  .featured-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* === PROCESS STEPS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.step {
  position: relative;
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FAF7F0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.step__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin-top: var(--space-8);
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-6);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-divider);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

.faq-question__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 300ms var(--ease-out);
}

.faq-item.active .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease-out), padding 300ms var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: var(--space-4);
}

.faq-answer p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* === FORMS === */
.form {
  max-width: 640px;
  margin-top: var(--space-8);
}

.form__group {
  margin-bottom: var(--space-5);
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.12);
}

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

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5A52' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
}

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

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

/* === BULLET LIST === */
.bullet-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-6);
}

.bullet-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.bullet-list li strong {
  color: var(--color-primary);
}

/* === PRODUCT LISTING === */
.product-listing {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.product-item {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  align-items: center;
}

.product-item__badge {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(45, 80, 22, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

[data-theme="dark"] .product-item__badge {
  background: rgba(93, 160, 58, 0.12);
}

.product-item__info h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.product-item__info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.product-item__info a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-item__info a:hover {
  color: var(--color-accent-hover);
}

/* === FOOTER === */
.footer {
  background: var(--color-dark-green);
  color: rgba(250, 247, 240, 0.8);
  padding-block: var(--space-16) var(--space-8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #FAF7F0;
  margin-bottom: var(--space-3);
}

.footer__tagline {
  font-size: var(--text-sm);
  font-style: italic;
  color: rgba(250, 247, 240, 0.6);
  margin-bottom: var(--space-4);
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(250, 247, 240, 0.7);
  transition: color var(--transition-interactive);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(250, 247, 240, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(250, 247, 240, 0.4);
}

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

/* === STORY PAGE — TIMELINE === */
.timeline-section {
  position: relative;
  padding-left: var(--space-10);
  margin-top: var(--space-8);
}

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

.timeline-item {
  position: relative;
  margin-bottom: var(--space-12);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-10) - 5px);
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
}

.timeline-item__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.timeline-item__text {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.timeline-item__text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.timeline-item__text a:hover {
  color: var(--color-accent-hover);
}

/* === SIGNATURE / CLOSING === */
.signature {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary);
  font-style: italic;
  margin-top: var(--space-8);
}

/* === BLOCKQUOTE / CALLOUT === */
.callout {
  border-left: 4px solid var(--color-accent);
  padding: var(--space-6) var(--space-8);
  background: var(--color-surface);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-block: var(--space-8);
}

.callout p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
  font-style: italic;
}

/* === CONTACT DETAILS === */
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-block: var(--space-8);
}

.contact-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  align-items: center;
}

.contact-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(45, 80, 22, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

[data-theme="dark"] .contact-card__icon {
  background: rgba(93, 160, 58, 0.12);
}

.contact-card__info h3 {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.contact-card__info a,
.contact-card__info p {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-primary);
}

.contact-card__info a:hover {
  color: var(--color-accent);
}

/* === SCROLL ANIMATIONS === */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* Fallback for browsers without scroll-driven animations — use IntersectionObserver JS */
.js-fade {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* === COST / TIMELINE CALLOUT === */
.info-bar {
  display: flex;
  gap: var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.info-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.info-bar__item strong {
  color: var(--color-primary);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
  }

  .hero__headline {
    font-size: clamp(2rem, 1rem + 5vw, 3rem);
  }

  .hero__buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .product-item {
    flex-direction: column;
    text-align: center;
  }
}

/* Gold divider accent */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-block: var(--space-4);
  border-radius: 2px;
}

.gold-divider--center {
  margin-inline: auto;
}

/* Inline link styling */
.link-inline {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.link-inline:hover {
  color: var(--color-accent-hover);
}
