/* ============================================
   Nutrishuttle — Launchpad for a Healthy Life
   Design system matching reference layout
   ============================================ */

:root {
  --green-900: #3a0d14;
  --green-800: #4a1018;
  --green-700: #5c1520;
  --green-600: #6b1c2a;
  --green-500: #8b2436;
  --green-400: #a63a4c;
  --green-300: #c46b78;
  --green-100: #f3d6db;
  --green-50: #faf0f2;

  --cream: #faf8f3;
  --cream-dark: #f3efe6;
  --white: #ffffff;
  --text: #2a1619;
  --text-muted: #6b5558;
  --text-light: #9a8487;
  --border: rgba(74, 16, 24, 0.12);
  --shadow-sm: 0 2px 12px rgba(58, 13, 20, 0.07);
  --shadow-md: 0 8px 30px rgba(58, 13, 20, 0.12);
  --shadow-lg: 0 20px 50px rgba(58, 13, 20, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --nav-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-h1: "Anton", sans-serif;
  --font-h2: "Comic Sans MS", "Comic Sans", "Comic Neue", cursive;
  --font-h3: "Canva Student Font", "Canva Student", Andika, sans-serif;
}

h1 {
  font-family: var(--font-h1);
  font-weight: 400;
}

h2 {
  font-family: var(--font-h2);
}

h3 {
  font-family: var(--font-h3);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ---------- Utilities ---------- */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-h2);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  color: var(--green-800);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title span {
  display: block;
}

.section-desc {
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 14px;
  font-size: 1.02rem;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

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

.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.btn-primary:hover {
  background: var(--green-700);
  box-shadow: 0 6px 20px rgba(74, 16, 24, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--green-800);
  border-color: rgba(13, 61, 46, 0.25);
}

.btn-outline:hover {
  border-color: var(--green-800);
  background: rgba(13, 61, 46, 0.04);
}

.btn-light {
  background: var(--white);
  color: var(--green-800);
}

.btn-light:hover {
  background: var(--cream);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002; /* above mobile drawer so logo + hamburger stay tappable */
  height: var(--nav-h);
  /* Very transparent at top — hero shows through */
  background: transparent;
  border: none;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 0.35s ease, box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.header.scrolled {
  /* Solid / frosted bar after scroll */
  background: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(10, 51, 40, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Official brand mark — dark rounded square (matches brand lockup) */
.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #3a0d14;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(10, 51, 40, 0.2);
  overflow: hidden;
  line-height: 1.05;
  padding: 6px 4px 5px;
}

.logo-mark .lm-leaf {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 12px;
  height: 12px;
  color: #6bcf9a;
}

.logo-mark .lm-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-align: center;
  color: #fff;
  line-height: 1.02;
  margin-top: 2px;
}

.logo-mark .lm-tag {
  font-family: var(--font-body);
  font-size: 0.28rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
  text-align: center;
  max-width: 46px;
  line-height: 1.2;
}

/* Logo — blue by default; white variant on dark hero */
.logo-full {
  height: 48px;
  width: auto;
  max-width: min(240px, 58vw);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo .logo-full-white {
  display: none;
}

/* Dark hero + transparent nav → white logo */
.header.nav-dark:not(.scrolled):not(.menu-open) .logo-full-blue {
  display: none;
}

.header.nav-dark:not(.scrolled):not(.menu-open) .logo-full-white {
  display: block;
}

/* After scroll or mobile menu open → blue logo on solid bar */
.header.scrolled .logo-full-blue,
.header.menu-open .logo-full-blue {
  display: block;
}

.header.scrolled .logo-full-white,
.header.menu-open .logo-full-white {
  display: none;
}

.logo-full-footer {
  height: 48px;
  max-width: min(240px, 60vw);
}

@media (max-width: 600px) {
  .logo-full,
  .logo-full-footer {
    height: 34px;
    max-width: min(148px, 46vw);
  }
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(10, 51, 40, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-800);
  letter-spacing: -0.015em;
}

.logo-text span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Footer: light text on dark green */
.footer .logo-text strong {
  color: var(--white);
}

.footer .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer .logo-mark {
  background: #2a0a10;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-900);
  border-radius: 8px;
  border: none;
  transition: color 0.3s ease;
  position: relative;
  text-shadow: none;
  filter: none;
  box-shadow: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-700);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--green-700);
  border-radius: 2px;
  box-shadow: none;
}

/* Transparent nav over dark hero → light text */
.header.nav-dark:not(.scrolled):not(.menu-open) .nav-links a {
  color: #ffffff;
}

.header.nav-dark:not(.scrolled):not(.menu-open) .nav-links a:hover,
.header.nav-dark:not(.scrolled):not(.menu-open) .nav-links a.active {
  color: #ffffff;
}

.header.nav-dark:not(.scrolled):not(.menu-open) .nav-links a.active::after {
  background: #ffffff;
}

.header.nav-dark:not(.scrolled):not(.menu-open) .nav-toggle span {
  background: #ffffff;
}

/* Transparent nav over light hero → blue text (matches logo) */
.header.nav-light:not(.scrolled):not(.menu-open) .nav-links a {
  color: #0b3d91;
}

.header.nav-light:not(.scrolled):not(.menu-open) .nav-links a:hover,
.header.nav-light:not(.scrolled):not(.menu-open) .nav-links a.active {
  color: #0a2f73;
}

.header.nav-light:not(.scrolled):not(.menu-open) .nav-links a.active::after {
  background: #0b3d91;
}

.header.nav-light:not(.scrolled):not(.menu-open) .nav-toggle span {
  background: #0b3d91;
}

.nav-cta {
  flex-shrink: 0;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Dark hero + transparent nav → white button (matches white logo/links) */
.header.nav-dark:not(.scrolled):not(.menu-open) .nav-cta.btn-primary {
  background: #ffffff;
  color: #0a2f73;
  border-color: #ffffff;
}

.header.nav-dark:not(.scrolled):not(.menu-open) .nav-cta.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Light hero + transparent nav → blue button (matches blue logo/links) */
.header.nav-light:not(.scrolled):not(.menu-open) .nav-cta.btn-primary {
  background: #0b3d91;
  color: #ffffff;
  border-color: #0b3d91;
}

.header.nav-light:not(.scrolled):not(.menu-open) .nav-cta.btn-primary:hover {
  background: #0a2f73;
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.28);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  margin-right: -6px;
  cursor: pointer;
  z-index: 1002;
  background: transparent;
  border: none;
  border-radius: 10px;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.nav-toggle.open span,
.header.menu-open .nav-toggle span,
.header.scrolled .nav-toggle span {
  background: var(--green-800);
}

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

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

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

/* ---------- Hero — full-width product banners (loop) ---------- */
.hero {
  margin: 0;
  /* Start under fixed transparent nav so banner shows through */
  padding: 0;
  width: 100%;
  background: #1a0a08;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.hero-wrap,
.hero-slider {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  /* banner aspect (~1672x941) so height stays stable while slides fade */
  aspect-ratio: 1672 / 941;
  background: #1a0a08;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  line-height: 0;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.25s ease, transform 0.25s ease;
  /* larger tap target on touch devices */
  box-shadow: 0 0 0 8px transparent;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* ---------- Products Section ---------- */
.products-section {
  background: var(--white);
  border-radius: 0;
  position: relative;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.products-section .container {
  width: min(1400px, 94%);
}

.products-section .products-grid-home {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 16px 14px 20px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  background: var(--white);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--white);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 4px;
}

.product-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Homepage — larger tiles, photo clear, text on the image */
.product-card-cover {
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 22px;
  border: none;
  background: var(--cream);
  box-shadow: none;
}

.product-card-cover:hover {
  background: var(--cream);
  border: none;
  box-shadow: none;
  transform: none;
}

.product-card-cover .product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

.product-card-cover .product-card-img img {
  object-fit: cover;
  object-position: center;
}

.product-card-cover:hover .product-card-img img {
  transform: none;
}

.product-card-cover .product-card-copy {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(250, 240, 242, 0.82);
  border: 1px solid rgba(74, 16, 24, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  pointer-events: none;
}

.product-card-cover h3 {
  color: var(--green-800);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
  text-shadow: none;
}

.product-card-cover p {
  display: none;
}

.products-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Homepage About ---------- */
.about-home {
  --ah-forest: #3a0d14;
  --ah-gold: #d9b65d;
  --ah-sage: #e8b4bc;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(139, 36, 54, 0.45) 0%, transparent 58%),
    linear-gradient(165deg, #2a0a10 0%, var(--ah-forest) 48%, #5c1520 100%);
  color: #f8f4ea;
  padding: 104px 0 112px;
}

.about-home-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 182, 93, 0.12), transparent 68%);
  pointer-events: none;
}

.about-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.about-home-eyebrow {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ah-sage);
}

.about-home-title {
  margin: 0 0 22px;
  font-family: var(--font-h1);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.about-home-title span {
  color: var(--ah-gold);
}

.about-home-lead {
  margin: 0 0 32px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(248, 244, 234, 0.78);
  max-width: 46ch;
}

.about-home-pillars {
  display: grid;
  gap: 18px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.about-home-pillars li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.about-home-pillars span {
  font-family: var(--font-h1);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--ah-gold);
  padding-top: 3px;
}

.about-home-pillars h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.about-home-pillars p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(248, 244, 234, 0.62);
}

.about-home-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--ah-gold);
  color: #1a1408;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 10px 28px rgba(217, 182, 93, 0.22);
}

.about-home-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.about-home-cta:hover {
  background: #e5c56e;
  color: #1a1408;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(217, 182, 93, 0.3);
}

.about-home-cta:hover svg {
  transform: translateX(3px);
}

.about-home-visual {
  position: relative;
  min-height: 420px;
}

.about-home-photo {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1402 / 1122;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.about-home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-home-float {
  position: absolute;
  left: 0;
  bottom: 36px;
  width: min(46%, 210px);
  margin: 0;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #3a0d14;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  background: #4a1018;
}

.about-home-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-home-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 180px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(58, 13, 20, 0.86);
  border: 1px solid rgba(217, 182, 93, 0.35);
  backdrop-filter: blur(10px);
}

.about-home-badge strong {
  display: block;
  font-family: var(--font-h1);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ah-gold);
  margin-bottom: 4px;
}

.about-home-badge span {
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(248, 244, 234, 0.72);
}

/* ---------- About — Vision & Mission ---------- */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

.about-intro .section-title {
  margin-bottom: 16px;
}

.about-intro p {
  color: var(--text-muted);
  max-width: 440px;
  font-size: 1.02rem;
}

.about-cards {
  display: grid;
  gap: 20px;
}

.vision-card,
.mission-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 26px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.vision-card:hover,
.mission-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-600);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.vision-card h3,
.mission-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 10px;
}

.vision-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.vision-card p strong {
  display: block;
  color: var(--green-800);
  font-weight: 600;
  margin-bottom: 6px;
}

.mission-card li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mission-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-400);
  font-weight: 600;
  font-size: 0.8rem;
}

.sustain-features {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-intro p {
    max-width: none;
  }
}

.card-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green-300);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.card-link:hover {
  color: var(--white);
}

.card-link svg {
  width: 14px;
  height: 14px;
}

/* ---------- Trust / Stats Section ---------- */
.trust-section {
  background: var(--cream);
}

.trust-header {
  text-align: center;
  margin-bottom: 56px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.trust-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.trust-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--green-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.trust-feature-icon svg {
  width: 22px;
  height: 22px;
}

.trust-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 4px;
}

.trust-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ---------- Creative Leadership (circular portraits) ---------- */
.leadership-creative {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(82, 183, 136, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  border-radius: 28px;
  padding: 40px 32px 44px;
  border: 1px solid rgba(13, 61, 46, 0.08);
  box-shadow:
    0 4px 24px rgba(10, 51, 40, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.leadership-creative::before,
.leadership-creative::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.45;
}

.leadership-creative::before {
  width: 140px;
  height: 140px;
  top: -40px;
  right: -30px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.25), transparent 70%);
}

.leadership-creative::after {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: -20px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.15), transparent 70%);
}

.leadership-creative-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--green-800);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
  position: relative;
}

.leadership-creative-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  margin: 12px auto 0;
}

.leadership-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(28px, 5vw, 56px);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.leadership-person {
  display: block;
  text-align: center;
  width: 140px;
  transition: transform 0.35s ease;
  color: inherit;
}

.leadership-person:nth-child(2) {
  transform: translateY(-8px);
}

.leadership-person:hover {
  transform: translateY(-6px);
}

.leadership-person:nth-child(2):hover {
  transform: translateY(-14px);
}

.leadership-ring {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
}

.leadership-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--green-300),
    var(--green-100),
    var(--green-400)
  );
  opacity: 0.85;
  /* no continuous spin — was wasting GPU */
  z-index: 0;
}

.leadership-ring::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}

.leadership-ring img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid #e8f5ee;
  box-shadow: 0 8px 24px rgba(13, 61, 46, 0.12);
  display: block;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.leadership-person:hover .leadership-ring img {
  border-color: var(--green-300);
  box-shadow: 0 12px 32px rgba(45, 106, 79, 0.22);
}

.leadership-person h3,
.leadership-person h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-800);
  margin: 0 0 6px;
  line-height: 1.3;
}

.leadership-person .role-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid rgba(82, 183, 136, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
}

@keyframes leadership-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .leadership-ring::before {
    animation: none;
  }

  .leadership-person,
  .leadership-person:nth-child(2),
  .leadership-person:hover,
  .leadership-person:nth-child(2):hover {
    transform: none;
  }
}

/* Compact variant for homepage side panel */
.leadership-creative.compact {
  padding: 28px 22px 32px;
}

.leadership-creative.compact .leadership-creative-title {
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.leadership-creative.compact .leadership-person {
  width: 100px;
}

.leadership-creative.compact .leadership-ring {
  width: 84px;
  height: 84px;
}

.leadership-creative.compact .leadership-person h3,
.leadership-creative.compact .leadership-person h4 {
  font-size: 0.8rem;
}

.leadership-creative.compact .leadership-row {
  gap: 16px;
}

/* ---------- Featured CEO profile ---------- */
.ceo-profile {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 48px;
  box-shadow:
    0 18px 50px rgba(58, 13, 20, 0.08),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

.ceo-portrait,
.ceo-copy {
  min-width: 0;
}

.ceo-portrait {
  position: relative;
}

.ceo-portrait figure {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f4f1ea;
  box-shadow: 0 16px 40px rgba(58, 13, 20, 0.12);
}

.ceo-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 12%;
}

.ceo-portrait-label {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(250, 240, 242, 0.82);
  border: 1px solid rgba(74, 16, 24, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  color: var(--green-800);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.ceo-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 8px;
}

.ceo-copy .section-label {
  margin-bottom: 0;
  letter-spacing: 0.16em;
}

.ceo-company {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c41e3a;
}

.ceo-copy h2 {
  font-family: var(--font-h1);
  font-weight: 400;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--green-800);
  margin: 0 0 8px;
}

.ceo-org {
  margin: 0 0 22px;
  font-size: 0.92rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--green-500);
}

.ceo-bio p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.78;
  margin: 0 0 15px;
}

.ceo-bio p:last-child {
  margin-bottom: 0;
}

.ceo-bio strong {
  color: var(--green-800);
  font-weight: 600;
}

.ceo-quote {
  margin: 6px 0 18px;
  padding: 14px 4px 14px 18px;
  border-left: 3px solid var(--green-400);
  quotes: none;
}

.ceo-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  color: var(--green-800);
}

.ceo-quote span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.ceo-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.ceo-focus li {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid rgba(139, 36, 54, 0.12);
  padding: 6px 11px;
  border-radius: 999px;
}

/* Legacy aliases (kept for safety) */
.leadership-block {
  /* uses .leadership-creative when applied together */
}

.leaders {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.leader {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.leader-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--green-100);
  box-shadow: var(--shadow-sm);
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 2px;
}

.leader span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Partners strip ---------- */
.partners {
  background: var(--white);
  padding: 28px 0 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-family: var(--font-h2);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--green-800);
  margin: 0 0 12px;
}

.partners-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 40px;
  width: min(1100px, 92%);
  margin: 0 auto;
}

.partner-logo {
  height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  flex-shrink: 0;
}

.recognise-label {
  margin-top: 20px;
  margin-bottom: 12px;
}

.recognise-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.recognise-badge {
  min-width: 200px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  text-align: center;
}

.recognise-badge img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin: 0 auto;
  filter: none;
}

/* ---------- Why / Features cards ---------- */
.why-section {
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-50);
  color: var(--green-600);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.why-card-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Space / CTA banner ---------- */
.space-banner {
  background: linear-gradient(
      120deg,
      rgba(58, 13, 20, 0.92) 0%,
      rgba(74, 16, 24, 0.85) 50%,
      rgba(107, 28, 42, 0.8) 100%
    ),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1400&q=80")
      center/cover;
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.space-banner h2 {
  font-family: var(--font-h2);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.space-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1rem;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--cream) 100%);
  text-align: center;
}

.page-hero:not(:has(h1)) {
  padding: calc(var(--nav-h) + 24px) 0 8px;
  background: var(--cream);
}

.page-hero h1 {
  font-family: var(--font-h1);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--green-800);
  font-weight: 400;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.breadcrumb span {
  color: var(--green-600);
  font-weight: 500;
}

.page-hero-anchors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.page-hero-anchors a {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-700);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.page-hero-anchors a:hover {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.subsection-title {
  font-family: var(--font-h2);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-800);
}

/* ---------- Content blocks ---------- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-block-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.content-block-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.content-block-text h2 {
  font-family: var(--font-h2);
  font-size: 2rem;
  color: var(--green-800);
  margin-bottom: 16px;
  font-weight: 600;
}

.content-block-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ---------- Product detail cards ---------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-detail-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.product-detail-card .img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}

.product-detail-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

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

.product-detail-card .body {
  padding: 22px;
}

.product-detail-card h3 {
  font-size: 1.15rem;
  color: var(--green-800);
  margin-bottom: 10px;
  font-weight: 600;
}

.product-detail-card ul {
  margin-bottom: 0;
}

.product-detail-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0 4px 18px;
  position: relative;
}

.product-detail-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-400);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--green-100);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.contact-info-card h4 {
  font-size: 0.95rem;
  color: var(--green-800);
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info-card a:hover {
  color: var(--green-600);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
  font-family: var(--font-h3);
  font-size: 1.5rem;
  color: var(--green-800);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
  background: var(--white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-message {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: none;
}

.form-message.success {
  display: block;
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-100);
}

.form-message.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ---------- Team grid (simple / advisory) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.team-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--green-100);
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1rem;
  color: var(--green-800);
  margin-bottom: 4px;
}

.team-card span {
  font-size: 0.85rem;
  color: var(--green-500);
  font-weight: 500;
}

/* ---------- Team sections: full-width page flow (not a floating card) ---------- */
.team-section {
  width: 100%;
  padding: 80px 0;
}

/* Continues page cream/white — same as rest of site */
.team-section-light {
  background: var(--cream);
}

/* Full-bleed dark band — edge to edge, part of the page */
.team-section-dark {
  background: #0b0b0b;
  padding: 72px 0 80px;
}

.team-showcase-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.team-showcase-header .section-label {
  color: var(--green-500);
}

.team-showcase-header .section-title {
  margin-bottom: 14px;
  color: var(--green-800);
}

.team-showcase-header .section-desc {
  margin-inline: auto;
  color: var(--text-muted);
}

.team-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
}

/* Portrait card + floating mini info box (reference style) */
.team-showcase-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #e8e8e8;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.team-showcase-card .photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.team-showcase-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  transition: transform 0.45s ease;
}

.team-showcase-card:hover .photo img {
  transform: scale(1.04);
}

/*
 * Mini box — compact glass panel over the photo
 * (matches the second reference: name, role, bio, arrow, socials)
 */
.team-showcase-card .info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(30, 32, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  z-index: 2;
  /* keep panel compact */
  max-height: 48%;
  display: flex;
  flex-direction: column;
}

.team-showcase-card .info-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
}

.team-showcase-card .info h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.team-showcase-card .info .role {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 400;
  margin: 3px 0 8px;
}

.team-showcase-card .info p {
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-showcase-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.team-showcase-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: none;
}

.team-showcase-arrow svg {
  width: 13px;
  height: 13px;
}

.team-social {
  display: flex;
  gap: 7px;
  margin-top: auto;
}

.team-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.25s ease;
}

.team-social a:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.team-social a svg {
  width: 11px;
  height: 11px;
}

.team-group-label {
  text-align: center;
  margin: 0 0 28px;
}

.team-group-label h3 {
  font-family: var(--font-h3);
  font-size: 1.45rem;
  font-weight: 600;
  color: #ffffff;
}

.team-group-label p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

.team-section-dark .team-group-label h3 {
  color: #ffffff;
}

.team-section-dark .team-group-label p {
  color: rgba(255, 255, 255, 0.55);
}

.team-showcase-advisors {
  margin-top: 4px;
}

.team-showcase-advisors .team-grid {
  margin-top: 0;
  max-width: 800px;
  margin-inline: auto;
}

.team-section-dark .team-showcase-advisors .team-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-section-dark .team-showcase-advisors .team-card h3 {
  color: #fff;
}

.team-section-dark .team-showcase-advisors .team-card span {
  color: rgba(255, 255, 255, 0.6);
}

.team-section-dark .team-showcase-advisors .team-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.team-showcase-cta {
  text-align: center;
  margin-top: 40px;
}

.team-showcase-cta .btn {
  background: var(--green-600);
  color: #fff;
  border-color: var(--green-600);
  border-radius: 999px;
}

.team-showcase-cta .btn:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}

@media (max-width: 900px) {
  .team-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .team-section {
    padding: 56px 0;
  }

  .team-section-dark {
    padding: 48px 0 56px;
  }

  .team-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .team-showcase-card {
    aspect-ratio: 3 / 3.9;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text strong {
  color: var(--white);
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--green-500);
  color: var(--white);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--green-300);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--green-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--green-300);
}

.footer-credit {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.footer-credit img {
  display: inline-block;
  height: 26px;
  width: auto;
  max-width: 130px;
  max-height: 26px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 3px 8px;
  box-sizing: content-box;
}

.footer-credit:hover img {
  opacity: 0.9;
}

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

.footer-contact a:hover {
  color: var(--green-300);
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Contact form popup ---------- */
body.popup-open {
  overflow: hidden;
}

.form-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.form-popup[hidden] {
  display: none;
}

.form-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 10, 16, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.form-popup-card {
  position: relative;
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.32s ease;
}

.form-popup.is-open .form-popup-backdrop,
.form-popup.is-open .form-popup-card {
  opacity: 1;
}

.form-popup.is-open .form-popup-card {
  transform: none;
}

.form-popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.form-popup-icon svg {
  width: 28px;
  height: 28px;
}

.form-popup-card[data-status="success"] .form-popup-icon {
  background: #e8f6ee;
  color: #1b7a45;
}

.form-popup-card[data-status="error"] .form-popup-icon {
  background: #fde8ea;
  color: #b42318;
}

.form-popup-card[data-status="warning"] .form-popup-icon {
  background: #fff4e0;
  color: #b45309;
}

.form-popup-card[data-status="sending"] .form-popup-icon {
  background: #f3e8d4;
  color: #8a6a1f;
}

.form-popup-card[data-status="sending"] .form-popup-icon svg {
  animation: popup-spin 1s linear infinite;
}

.form-popup-card h3 {
  font-family: var(--font-h3);
  font-size: 1.35rem;
  color: var(--green-800);
  margin-bottom: 8px;
}

.form-popup-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.form-popup-card[data-status="success"] {
  border-top: 4px solid #1b7a45;
}

.form-popup-card[data-status="error"] {
  border-top: 4px solid #b42318;
}

.form-popup-card[data-status="warning"] {
  border-top: 4px solid #d97706;
}

.form-popup-card[data-status="sending"] {
  border-top: 4px solid #c4a35a;
}

.form-popup-btn {
  min-width: 120px;
}

@keyframes popup-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-popup-backdrop,
  .form-popup-card,
  .form-popup-card[data-status="sending"] .form-popup-icon svg {
    transition: none;
    animation: none;
  }
}

/* ---------- Scroll reveal ---------- */
/* Content visible immediately — no hide/show delay */
.reveal,
.reveal.visible,
.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3,
.reveal-delay-4 {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-800);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 999;
  cursor: pointer;
}

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

.back-to-top:hover {
  background: var(--green-600);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(58, 13, 20, 0.45);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

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

.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  height: 100dvh;
  background: var(--cream);
  padding: calc(var(--nav-h) + 20px) 24px 40px;
  padding-bottom: max(40px, env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open .mobile-panel {
  transform: translateX(0);
}

.mobile-panel a {
  display: block;
  padding: 16px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green-800);
  border-bottom: 1px solid var(--border);
}

.mobile-panel .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products-section .products-grid-home {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

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

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

@media (max-width: 900px) {
  :root {
    --nav-h: 64px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /*
   * Mobile: solid cream navbar ABOVE the hero (not over it).
   * Full banner stays visible; logo stays blue on cream.
   */
  .header,
  .header.scrolled,
  .header.menu-open,
  .header.nav-dark,
  .header.nav-light {
    background: #faf8f3;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 2px 12px rgba(10, 51, 40, 0.08);
    border-bottom: 1px solid rgba(13, 61, 46, 0.08);
  }

  .header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  /* Force blue logo on solid mobile bar (beat desktop nav-dark white rules) */
  .header .logo-full-blue,
  .header.nav-dark .logo-full-blue,
  .header.nav-light .logo-full-blue,
  .header.nav-dark:not(.scrolled):not(.menu-open) .logo-full-blue,
  .header.nav-light:not(.scrolled):not(.menu-open) .logo-full-blue,
  .header.scrolled .logo-full-blue,
  .header.menu-open .logo-full-blue {
    display: block !important;
  }

  .header .logo-full-white,
  .header.nav-dark .logo-full-white,
  .header.nav-light .logo-full-white,
  .header.nav-dark:not(.scrolled):not(.menu-open) .logo-full-white,
  .header.nav-light:not(.scrolled):not(.menu-open) .logo-full-white,
  .header.scrolled .logo-full-white,
  .header.menu-open .logo-full-white {
    display: none !important;
  }

  .header .nav-toggle span,
  .header.nav-dark .nav-toggle span,
  .header.nav-light .nav-toggle span,
  .header.nav-dark:not(.scrolled):not(.menu-open) .nav-toggle span,
  .header.nav-light:not(.scrolled):not(.menu-open) .nav-toggle span {
    background: var(--green-800) !important;
  }

  .logo-full {
    height: 36px;
    max-width: min(160px, 50vw);
  }

  /* Hero starts BELOW solid nav — full image, no overlay */
  .hero {
    margin-top: var(--nav-h);
  }

  /* Keep original banner proportions so left headline isn’t cropped off */
  .hero-wrap,
  .hero-slider {
    aspect-ratio: 1672 / 941;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-slide {
    object-fit: cover;
    object-position: center center;
  }

  .hero-dots {
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 10px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }

  .about-home-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-home-photo {
    margin-left: 0;
    aspect-ratio: 1402 / 1122;
  }

  .about-home-float {
    left: 16px;
    bottom: 20px;
  }

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

  .ceo-profile {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 18px;
  }

  .ceo-portrait figure {
    max-width: 420px;
    margin-inline: auto;
  }

  .content-block,
  .content-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

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

@media (max-width: 600px) {
  :root {
    --nav-h: 58px;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    width: 100%;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .logo-full,
  .logo-full-footer {
    height: 32px;
    max-width: min(138px, 44vw);
  }

  /* Keep full banner frame on phones too (no side crop) */
  .hero-wrap,
  .hero-slider {
    aspect-ratio: 1672 / 941;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-slide {
    object-position: center center;
  }

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

  .products-section .products-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-cover h3 {
    font-size: 0.85rem;
  }

  .product-card-cover .product-card-copy {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px 10px;
  }

  .about-home {
    padding: 72px 0 80px;
  }

  .about-home-visual {
    min-height: 0;
  }

  .about-home-float {
    width: 38%;
    bottom: 14px;
    left: 12px;
  }

  .about-home-badge {
    right: 10px;
    bottom: 10px;
    max-width: 150px;
    padding: 10px 12px;
  }

  .trust-features {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-top {
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }

  .space-banner {
    padding: 48px 24px;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}

/* ---------- Product detail pages ---------- */
.product-spotlight {
  padding: 40px 0 80px;
}

.product-spotlight-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.product-spotlight-media {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
}

.product-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 12px;
}

.product-spotlight h1 {
  color: var(--green-800);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  margin-bottom: 16px;
}

.product-spotlight-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 48ch;
}

.product-spotlight-points {
  margin: 0 0 28px;
}

.product-spotlight-points li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: var(--text);
  font-size: 0.95rem;
}

.product-spotlight-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}

.product-more {
  background: var(--white);
  padding: 72px 0 90px;
}

.product-more-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.product-more-card {
  display: block;
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-more-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-more-card h3 {
  padding: 12px 12px 14px;
  font-size: 0.88rem;
  color: var(--green-800);
  text-align: center;
}

a.product-detail-card {
  color: inherit;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .product-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .product-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
