/* ====================================================================
   MELLYRA INGREDIENTS — "Botanical Laboratory"
   Warm bone paper, deep forest ink, fresh lime accent.
   Fraunces (display) · Instrument Sans (body) · IBM Plex Mono (labels)
   ==================================================================== */

:root {
  --paper: #f5f2e9;
  --paper-warm: #efeadd;
  --ink: #1c2a18;
  --ink-soft: #3a4a34;
  --ink-faint: #6b755f;
  --forest: #16240f;
  --forest-2: #1e3217;
  --green: #4d7c34;
  --lime: #a3cc4a;
  --lime-bright: #c0e35f;
  --cream-on-dark: #ece8d9;
  --line: rgba(28, 42, 24, 0.14);
  --line-dark: rgba(236, 232, 217, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--forest); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------ eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
}
.eyebrow.light { color: var(--lime); }
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(163, 204, 74, 0.25);
  flex-shrink: 0;
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-cta {
  background: var(--forest);
  color: var(--lime-bright);
  box-shadow: 0 4px 18px rgba(22, 36, 15, 0.22);
}
.btn-cta:hover {
  background: var(--lime);
  color: var(--forest);
  box-shadow: 0 8px 28px rgba(163, 204, 74, 0.4);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(28, 42, 24, 0.04); }
.btn-arrow { transition: transform 0.25s; display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ================================================================ NAV */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.35s;
}
.nav.scrolled {
  background: rgba(245, 242, 233, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.scrolled .nav-inner { padding-top: 10px; padding-bottom: 10px; }

.nav-logo { color: var(--ink); flex-shrink: 0; }
.nav-logo .logo-svg { height: 44px; width: auto; transition: height 0.35s; }
.nav.scrolled .nav-logo .logo-svg { height: 36px; }

.nav-links {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.6, 0, 0.2, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
/* secondary login button sits beside the primary CTA, kept lighter so the
   "Request a Quote" call-to-action stays dominant */
.nav-login {
  padding: 10px 18px;
  font-size: 0.9rem;
  gap: 8px;
}
.nav-login svg { opacity: 0.85; }
.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.lang-switch i { font-style: normal; opacity: 0.4; }
.lang-switch .active { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.lang-switch:hover span:not(.active) { color: var(--green); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  align-items: center;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 1.4rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }

/* =============================================================== HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% 18%, rgba(163, 204, 74, 0.16), transparent 60%),
    radial-gradient(800px 700px at 8% 90%, rgba(77, 124, 52, 0.1), transparent 55%),
    var(--paper);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* keeps the headline legible over the footage: paper stays opaque on the left
   (where the copy sits) and clears toward the right to reveal the time-lapse */
.hero-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, var(--paper) 4%, rgba(245, 242, 233, 0.82) 34%, rgba(245, 242, 233, 0.22) 66%, rgba(245, 242, 233, 0) 100%),
    linear-gradient(to bottom, rgba(245, 242, 233, 0.55) 0%, rgba(245, 242, 233, 0) 22%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; }

.hero-eyebrow { margin-bottom: 1.6rem; }

.hero-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 460;
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 15ch;
}
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: inline-block; will-change: transform; }
.hero-accent {
  font-style: italic;
  font-weight: 360;
  color: var(--green);
  position: relative;
}
.hero-accent::after {
  content: "";
  position: absolute;
  left: 2%; bottom: 0.04em;
  width: 96%; height: 0.14em;
  background: var(--lime);
  opacity: 0.55;
  z-index: -1;
  border-radius: 2px;
  transform-origin: left center;
}

.hero-subtitle {
  margin-top: 1.8rem;
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  color: var(--ink-soft);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.4rem;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(3rem, 7vh, 5.5rem);
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--line);
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--ink);
}
.stat-suffix { color: var(--green); }
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: var(--ink-faint);
  max-width: 21ch;
}

.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scroll-hint-line {
  width: 44px; height: 1px;
  background: var(--ink-faint);
  position: relative;
  overflow: hidden;
}
.scroll-hint-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  animation: scrollLine 2.2s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* ============================================================ MARQUEE */
.marquee {
  background: var(--forest);
  color: var(--cream-on-dark);
  overflow: hidden;
  padding: 16px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -14px 0 0;
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 1.05rem;
  white-space: nowrap;
}
.marquee-sep { color: var(--lime); font-size: 0.8rem; }

/* ============================================================ SECTIONS */
.section { padding: clamp(80px, 11vw, 140px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-title {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.section-subtitle {
  margin-top: 1.1rem;
  font-size: 1.03rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* data-reveal initial state is set by JS so no-JS users see everything */

/* =========================================================== PRODUCTS */
.products { background: var(--paper); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  position: relative;
  background: #fbf9f2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.3, 1.2, 0.4, 1), box-shadow 0.35s, border-color 0.35s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 124, 52, 0.45);
  box-shadow: 0 18px 40px -18px rgba(28, 42, 24, 0.3);
}
.product-tag { color: var(--green); }
.product-name {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.22rem;
  line-height: 1.2;
}
.product-desc { font-size: 0.9rem; color: var(--ink-soft); flex-grow: 1; }
.product-examples {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.7rem;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  line-height: 1.7;
}
.product-corner {
  position: absolute;
  top: 0; right: 0;
  width: 56px; height: 56px;
  background: radial-gradient(circle at top right, rgba(163, 204, 74, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover .product-corner { opacity: 1; }

.products-cta {
  display: inline-block;
  margin-top: 2.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--green);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}
.products-cta:hover { color: var(--ink); border-color: var(--lime); }

/* ========================================================== INDUSTRIES */
.industries { background: var(--paper-warm); }

.industry-list { border-top: 1px solid var(--line); }
.industry-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.3s;
}
.industry-row:hover { background: rgba(163, 204, 74, 0.09); padding-left: 20px; }
.industry-num { color: var(--green); }
.industry-name {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
}
.industry-desc { font-size: 0.95rem; color: var(--ink-soft); }

/* ================================================================ WHY */
.why {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(163, 204, 74, 0.12), transparent 55%),
    var(--forest);
  color: var(--cream-on-dark);
  position: relative;
  overflow: hidden;
}
.why .section-title { color: var(--cream-on-dark); }
.why .section-subtitle { color: rgba(236, 232, 217, 0.72); }
.why-leaf {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: clamp(220px, 28vw, 420px);
  color: var(--lime);
  opacity: 0.1;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  background: var(--forest-2);
  padding: clamp(26px, 3.5vw, 44px);
  transition: background 0.35s;
}
.why-item:hover { background: #243d1b; }
.why-num { color: var(--lime); display: block; margin-bottom: 1.4rem; }
.why-item-title {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
}
.why-item-desc { font-size: 0.95rem; color: rgba(236, 232, 217, 0.7); }

/* ============================================================ PORTFOLIO */
.portfolio { background: var(--paper); padding-bottom: 0; }

.portfolio-pin { overflow: hidden; }
.portfolio-track {
  display: flex;
  gap: 22px;
  padding: 0 var(--gutter) clamp(80px, 10vw, 130px);
  width: max-content;
}
.case-card {
  width: clamp(310px, 36vw, 460px);
  background: #fbf9f2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.case-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.case-tag { color: var(--green); }
.case-index { color: var(--ink-faint); }
.case-title {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  line-height: 1.18;
}
.case-image {
  width: 100%;
  height: 172px; /* fixed height keeps every card aligned regardless of image */
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-warm);
  border: 1px solid var(--line);
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-desc { font-size: 0.94rem; color: var(--ink-soft); flex-grow: 1; }
.case-result {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(163, 204, 74, 0.14);
  border: 1px solid rgba(163, 204, 74, 0.4);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}
.case-result-mark {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================= PROCESS */
.process { background: var(--paper-warm); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.process-num-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
}
.process-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 2.2rem;
  color: var(--green);
  line-height: 1;
}
.process-line { flex-grow: 1; height: 1px; background: var(--line); }
.process-step:last-child .process-line { display: none; }
.process-title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}
.process-desc { font-size: 0.9rem; color: var(--ink-soft); }

/* =============================================================== QUOTE */
.quote {
  background:
    radial-gradient(800px 600px at 12% 20%, rgba(163, 204, 74, 0.1), transparent 55%),
    var(--forest);
  color: var(--cream-on-dark);
}
.quote .section-title { color: var(--cream-on-dark); }
.quote .section-subtitle { color: rgba(236, 232, 217, 0.72); }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.quote-contact { margin-top: 3rem; display: grid; gap: 12px; }
.quote-contact h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 4px;
}
.quote-contact-link {
  font-size: 1.05rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}
.quote-contact-link:hover { color: var(--lime-bright); border-color: var(--lime); }
.quote-location {
  font-size: 0.88rem;
  color: rgba(236, 232, 217, 0.62);
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 34ch;
  line-height: 1.5;
  transition: color 0.25s;
}
.quote-location svg { margin-top: 3px; flex-shrink: 0; color: var(--lime); }
.quote-location:hover { color: var(--lime-bright); }

.quote-form-wrap {
  background: rgba(245, 242, 233, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 3vw, 40px);
  backdrop-filter: blur(4px);
  position: relative;
}
.quote-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(236, 232, 217, 0.65);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.96rem;
  color: var(--cream-on-dark);
  background: rgba(245, 242, 233, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
}
.form-field 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='%23a3cc4a' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-field select option { color: var(--ink); background: var(--paper); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(245, 242, 233, 0.09);
  box-shadow: 0 0 0 3px rgba(163, 204, 74, 0.18);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.quote .btn-cta { background: var(--lime); color: var(--forest); }
.quote .btn-cta:hover { background: var(--lime-bright); box-shadow: 0 8px 30px rgba(163, 204, 74, 0.35); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-error { color: #f0b3a0; font-size: 0.88rem; }

.quote-success { text-align: center; padding: 40px 12px; }
.success-mark {
  width: 64px;
  margin: 0 auto 1.4rem;
  color: var(--lime);
}
.success-mark path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: drawCheck 0.7s 0.25s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
.success-mark circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: drawCheck 0.9s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.quote-success h3 {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}
.quote-success p { color: rgba(236, 232, 217, 0.7); max-width: 40ch; margin: 0 auto; }

/* ============================================================== FOOTER */
.footer {
  background: var(--forest);
  color: var(--cream-on-dark);
  border-top: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  padding-top: clamp(56px, 7vw, 90px);
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}
.footer-brand .logo-svg { height: 52px; width: auto; color: var(--cream-on-dark); }
.footer-tagline { margin-top: 1.2rem; color: rgba(236, 232, 217, 0.6); font-size: 0.94rem; max-width: 30ch; }
.footer-social { display: flex; gap: 12px; margin-top: 1.2rem; }
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 232, 217, 0.1);
  color: var(--cream-on-dark);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover { background: var(--lime); color: var(--forest); transform: translateY(-3px); }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { color: var(--lime); margin-bottom: 6px; }
.footer-col a, .footer-col p {
  font-size: 0.94rem;
  color: rgba(236, 232, 217, 0.75);
  width: fit-content;
}
.footer-col a:hover { color: var(--lime-bright); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
  padding-bottom: 26px;
  position: relative;
  z-index: 1;
}
.footer-bottom p { color: rgba(236, 232, 217, 0.45); font-size: 0.66rem; }
.footer-wordmark {
  position: absolute;
  left: 50%;
  bottom: -0.26em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(7rem, 19vw, 17rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(163, 204, 74, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions .lang-switch { display: none; }
  .nav-actions .nav-login { display: none; }
  .nav-cta { padding: 10px 18px; font-size: 0.85rem; }
  .nav-logo .logo-svg { height: 36px; }
  .nav-burger { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .scroll-hint { display: none; }
  .industry-row { grid-template-columns: 48px 1fr; }
  .industry-desc { grid-column: 2; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

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