/* =========================================================================
   Kamla Agro Industries — Design System
   Display: Fraunces · Body: Inter Tight · Mono: JetBrains Mono
   Brand: harvest orange + field green on cream, plum-ink dark accents
   ========================================================================= */

:root {
  /* brand */
  --orange-700: #b0481a;
  --orange-600: #c4541a;
  --orange-500: #e2671c;
  --orange-400: #ef8338;
  --green-700: #1f6b33;
  --green-600: #2e7d32;
  --green-500: #3c9d4e;
  --green-400: #5bae5e;
  --harvest-300: #f2b544;
  --harvest-200: #f7cd72;
  --plum-900: #221e26;
  --plum-800: #2a2430;
  --plum-700: #3a3343;
  --plum-600: #534862;

  /* surfaces (light theme) */
  --paper: #fdfaf3;
  --paper-2: #f6f1e6;
  --card: #ffffff;
  --line: #e7ded0;
  --ink: #2b2630;
  --muted: #6b6470;
  --muted-2: #938b98;
  --on-dark: #fdfaf3;

  /* roles */
  --bg: var(--paper);
  --surface: var(--card);
  --text: var(--ink);
  --accent: var(--orange-500);
  --accent-2: var(--green-600);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(42, 36, 48, .06);
  --shadow: 0 18px 50px -22px rgba(42, 36, 48, .30);
  --shadow-lg: 0 40px 90px -34px rgba(42, 36, 48, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 84px;
}

[data-theme="dark"] {
  --bg: #1b1820;
  --surface: #262030;
  --card: #262030;
  --paper-2: #221d2b;
  --line: #3a3343;
  --ink: #efe9f1;
  --text: #efe9f1;
  --muted: #b3aabd;
  --muted-2: #8d8499;
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .7);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

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

a {
  color: inherit;
  text-decoration: none
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0
}

em {
  font-style: italic;
  color: var(--accent)
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px
}

/* ---------- shared section helpers ---------- */
.section-pad {
  padding: 26px 0
}

.section-pad-lg {
  padding: 34px 0
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 0;
  position: relative;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block
}

.on-dark .eyebrow,
.eyebrow.on-dark {
  color: var(--harvest-300)
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin: 14px 0 0
}

.section-title.on-dark,
.on-dark .section-title {
  color: var(--on-dark)
}

.section-sub {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 60ch;
  margin-top: 18px
}

.on-dark .section-sub {
  color: rgba(253, 250, 243, .72)
}

.section-header {
  max-width: 760px
}

.section-header.centered {
  margin-inline: auto;
  text-align: center
}

.section-header.centered .section-sub {
  margin-inline: auto
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(226, 103, 28, .7)
}

.btn-primary:hover {
  background: var(--orange-600)
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(6px)
}

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

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

.btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 8%, transparent)
}

/* ---------- progress + loader + back to top ---------- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--orange-500), var(--green-500));
  transition: width .1s linear
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .5s var(--ease), visibility .5s
}

#loader.done {
  opacity: 0;
  visibility: hidden
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px
}

.loader-logo {
  height: 74px;
  width: auto;
  animation: floaty 2.4s ease-in-out infinite
}

.loader-bar {
  width: 180px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden
}

.loader-fill {
  height: 100%;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange-500), var(--green-500));
  animation: load 1.1s var(--ease) infinite
}

@keyframes load {
  0% {
    transform: translateX(-120%)
  }

  100% {
    transform: translateX(360%)
  }
}

@keyframes floaty {
  50% {
    transform: translateY(-8px)
  }
}

#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--plum-800);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  box-shadow: var(--shadow);
  transition: .3s var(--ease)
}

#back-to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

#back-to-top:hover {
  background: var(--accent)
}

/* ---------- navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 800;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: .3s var(--ease)
}

.navbar.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm)
}

.nav-container {
  max-width: var(--maxw);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding-inline: 24px
}

.nav-logo img {
  height: 62px;
  width: auto
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  margin-left: 8px
}

.nav-links>li>a {
  display: inline-block;
  padding: 10px 11px;
  border-radius: 10px;
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .005em;
  color: var(--text);
  transition: .2s
}

.nav-links>li>a:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent)
}

.nav-links>li>a.active {
  color: var(--accent)
}

.nav-dropdown {
  position: relative
}

.nav-dropdown>a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .6rem;
  margin-left: 7px;
  opacity: .6
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 290px;
  margin: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s var(--ease)
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--text)
}

.dropdown-menu li a:hover {
  background: var(--paper-2);
  color: var(--accent)
}

.nav-contact-lang {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto
}

.nav-translate {
  position: relative
}

.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: .78rem;
  background: var(--paper-2);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: .2s
}

.nav-lang-btn:hover {
  border-color: var(--accent)
}

.nav-lang-btn .chevron {
  font-size: .6rem;
  transition: .2s
}

.nav-translate.open .chevron {
  transform: rotate(180deg)
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 210px;
  max-height: 320px;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s var(--ease);
  z-index: 30
}

.nav-translate.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none
}

.lang-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px 12px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text)
}

.lang-dropdown button:hover {
  background: var(--paper-2)
}

.lang-dropdown button.active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-weight: 600
}

.nav-socials {
  display: flex;
  gap: 7px
}

.nav-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .85rem;
  background: var(--paper-2);
  color: var(--muted);
  border: 1px solid var(--line);
  transition: .2s
}

.nav-social:hover {
  transform: translateY(-2px);
  color: #fff
}

.nav-social.wa:hover {
  background: #25d366;
  border-color: #25d366
}

.nav-social.yt:hover {
  background: #ff0000;
  border-color: #ff0000
}

.nav-social.fb:hover {
  background: #1877f2;
  border-color: #1877f2
}

.nav-social.ig:hover {
  background: #e1306c;
  border-color: #e1306c
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green-600) 12%, transparent);
  color: var(--green-700);
  transition: .2s;
  white-space: nowrap;
}

[data-theme="dark"] .nav-phone {
  color: var(--green-400)
}

.nav-phone:hover {
  background: var(--green-600);
  color: #fff
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: .95rem;
  transition: .2s
}

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

#theme-toggle {
  margin-left: 4px
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper-2);
  cursor: pointer;
  align-items: center;
  justify-content: center
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .25s
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0
}

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

.nav-mobile-extras {
  display: none
}

/* ---------- hero ---------- */
#hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 85% -10%, color-mix(in srgb, var(--green-600) 16%, transparent), transparent 60%),
    radial-gradient(80% 80% at 0% 110%, color-mix(in srgb, var(--orange-500) 14%, transparent), transparent 55%),
    var(--bg)
}

.hero-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 32px 24px 36px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--green-700);
  box-shadow: var(--shadow-sm)
}

[data-theme="dark"] .hero-badge {
  color: var(--green-400)
}

.hero-badge i {
  color: var(--green-500)
}

.hero-title {
  font-size: clamp(1.45rem, 3.1vw, 2.4rem);
  margin: 12px 0 0;
  font-weight: 600
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 46ch;
  margin: 22px 0 0
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 30px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line)
}

.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text)
}

.hero-stat-label {
  font-size: .78rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: .04em
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.hero-logo-above {
  width: auto;
  max-width: 280px;
  height: auto;
  margin: 0 auto
}

.hero-visual {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: rotate(.5deg)
}

.hero-video-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 14px 16px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.95rem, 2vw, 1.2rem);
  letter-spacing: -.01em;
  color: #fff;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent);
  pointer-events: none
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15)
}

/* ---------- marquee ---------- */
.marquee-strip {
  background: var(--plum-800);
  color: var(--on-dark);
  overflow: hidden;
  padding: 15px 0;
  border-block: 1px solid rgba(255, 255, 255, .06)
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marq 38s linear infinite
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  white-space: nowrap;
  color: rgba(253, 250, 243, .82)
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--harvest-300);
  flex: none
}

@keyframes marq {
  to {
    transform: translateX(-50%)
  }
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center
}

.about-visual {
  position: relative
}

.about-leaf {
  position: absolute;
  top: -22px;
  left: -18px;
  font-size: 2.2rem;
  z-index: 3;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15));
  animation: floaty 3.6s ease-in-out infinite
}

.about-img-main {
  position: relative;
  aspect-ratio: 4/3.6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line)
}

.about-img-badge-tl {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 24, 32, .6);
  color: #fff;
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600
}

.about-img-badge-tl i {
  color: var(--harvest-300)
}

.about-badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid var(--bg)
}

.about-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1
}

.about-badge-label {
  font-size: .72rem;
  letter-spacing: .04em;
  opacity: .92
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0 28px
}

.about-feat {
  display: flex;
  gap: 13px
}

.about-feat-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--green-600) 12%, transparent);
  color: var(--green-600);
  font-size: 1rem
}

.about-feat h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px
}

.about-feat p {
  font-size: .86rem;
  color: var(--muted);
  margin: 0
}

/* ---------- why (dark band) ---------- */
#why {
  background:
    radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--green-700) 40%, transparent), transparent 60%),
    var(--plum-900);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  margin-inline: auto;
  max-width: calc(var(--maxw) + 48px)
}

#why .container {
  padding-block: 0
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px
}

.why-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: .3s var(--ease)
}

.why-card:hover {
  background: rgba(255, 255, 255, .07);
  transform: translateY(-4px)
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--orange-500), var(--green-500));
  color: #fff;
  margin-bottom: 18px
}

.why-card h3 {
  font-size: 1.22rem;
  color: var(--on-dark);
  margin-bottom: 10px
}

.why-card p {
  color: rgba(253, 250, 243, .66);
  font-size: .94rem;
  margin: 0
}

/* ---------- stats band ---------- */
#stats {
  background: var(--plum-800);
  color: var(--on-dark);
  padding: 48px 0
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.stat-item {
  text-align: center;
  padding: 14px
}

.stat-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, .07);
  color: var(--harvest-300)
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  display: inline-flex
}

.stat-unit {
  color: var(--harvest-300)
}

.stat-label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  color: rgba(253, 250, 243, .6);
  text-transform: uppercase
}

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

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .32s var(--ease);
  display: flex;
  flex-direction: column
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line))
}

.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-2)
}

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

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

.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--harvest-300);
  color: var(--plum-900)
}

.product-card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.product-card-cat {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600)
}

.product-card-name {
  font-size: 1.12rem;
  margin: 8px 0 10px;
  line-height: 1.2
}

.product-card-desc {
  font-size: .9rem;
  color: var(--muted);
  margin: 0 0 18px
}

.product-card-footer {
  margin-top: auto
}

.product-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent)
}

.product-card:hover .product-card-btn {
  gap: 12px
}

/* ---------- video ---------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 38px;
  align-items: center
}

.video-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px
}

.video-point {
  display: flex;
  gap: 15px
}

.video-point-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: color-mix(in srgb, var(--orange-500) 13%, transparent);
  color: var(--orange-500)
}

.video-point h4 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 3px
}

.video-point p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0
}

.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line)
}

.yt-lite {
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  background: #000;
  overflow: hidden
}

.yt-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
  opacity: .92
}

.yt-lite:hover img {
  opacity: 1;
  transform: scale(1.03)
}

.yt-lite iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none
}

.yt-lite.loaded iframe {
  display: block
}

.yt-lite.loaded img,
.yt-lite.loaded .yt-play-btn {
  display: none
}

.yt-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(226, 103, 28, .92);
  display: grid;
  place-items: center;
  transition: .25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4)
}

.yt-lite:hover .yt-play-btn {
  transform: scale(1.08);
  background: var(--orange-500)
}

.yt-play-btn span {
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px
}

/* ---------- certs ---------- */
#certs {
  padding: 48px 0
}

.certs-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center
}

.cert-item img {
  height: 58px;
  width: auto;
  border-radius: 8px;
  filter: saturate(1.05)
}

.cert-item span {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--muted)
}

.certs-divider {
  width: 1px;
  height: 54px;
  background: var(--line)
}

/* ---------- testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: .3s var(--ease)
}

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

.testimonial-stars {
  color: var(--harvest-300);
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  font-size: .92rem
}

.testimonial-text {
  font-size: .98rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 22px
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-500), var(--green-600));
  font-family: var(--font-display)
}

.testimonial-name {
  font-weight: 700;
  font-size: .96rem
}

.testimonial-loc {
  font-size: .8rem;
  color: var(--muted)
}

/* ---------- CTA banner ---------- */
.cta-banner-wrap {
  padding: 24px 0 56px
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 36px clamp(24px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--plum-900), var(--green-700));
  color: #fff;
  box-shadow: var(--shadow-lg)
}

.cta-banner::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange-500) 50%, transparent), transparent 70%)
}

.cta-banner>* {
  position: relative;
  z-index: 1
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: #fff;
  margin: 10px 0 8px
}

.cta-banner p {
  color: rgba(255, 255, 255, .82);
  max-width: 46ch;
  margin: 0
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 230px
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--harvest-300);
  color: var(--plum-900);
  font-weight: 700;
  transition: .25s var(--ease)
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  background: var(--harvest-200)
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  font-weight: 600;
  transition: .25s var(--ease)
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, .18)
}

/* ---------- footer ---------- */
footer {
  background: var(--plum-900);
  color: var(--on-dark);
  padding: 48px 0 28px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px
}

.footer-brand p {
  color: rgba(253, 250, 243, .6);
  font-size: .92rem;
  margin: 18px 0 0;
  max-width: 34ch
}

.footer-brand img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4))
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .95rem;
  background: rgba(255, 255, 255, .07);
  color: rgba(253, 250, 243, .8);
  transition: .2s
}

.social-link:hover {
  transform: translateY(-3px);
  background: var(--accent);
  color: #fff
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--harvest-300);
  margin-bottom: 18px;
  font-weight: 700
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px
}

.footer-col ul a {
  color: rgba(253, 250, 243, .62);
  font-size: .92rem;
  transition: .2s
}

.footer-col ul a:hover {
  color: #fff;
  padding-left: 4px
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-family: var(--font-body);
  font-size: .9rem
}

.newsletter-form input::placeholder {
  color: rgba(253, 250, 243, .4)
}

.newsletter-form button {
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  transition: .2s
}

.newsletter-form button:hover {
  background: var(--orange-600)
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .09)
}

.footer-bottom p {
  color: rgba(253, 250, 243, .5);
  font-size: .84rem;
  margin: 0
}

.footer-bottom-links {
  display: flex;
  gap: 20px
}

.footer-bottom-links a {
  color: rgba(253, 250, 243, .5);
  font-size: .84rem;
  transition: .2s
}

.footer-bottom-links a:hover {
  color: var(--harvest-300)
}

/* ---------- inner page hero + breadcrumb ---------- */
.page-hero {
  position: relative;
  padding: 44px 0 40px;
  overflow: hidden;
  background: radial-gradient(90% 120% at 90% -20%, color-mix(in srgb, var(--green-600) 14%, transparent), transparent 60%),
    radial-gradient(70% 90% at -10% 120%, color-mix(in srgb, var(--orange-500) 12%, transparent), transparent 55%),
    var(--paper-2)
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 14px 0 0
}

.page-hero p {
  color: var(--muted);
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1.06rem
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  font-family: var(--font-mono);
  color: var(--muted)
}

.breadcrumb a {
  color: var(--accent)
}

.breadcrumb a:hover {
  text-decoration: underline
}

.breadcrumb .sep {
  opacity: .5
}

.breadcrumb [aria-current] {
  color: var(--text)
}

/* ---------- legal prose ---------- */
.legal-prose h2 {
  font-size: 1.4rem;
  margin: 38px 0 12px;
  color: var(--text)
}

.legal-prose h2:first-child {
  margin-top: 0
}

.legal-prose p {
  color: var(--muted);
  margin: 0 0 14px
}

.legal-prose ul {
  color: var(--muted);
  margin: 0 0 16px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px
}

.legal-prose a {
  color: var(--accent);
  text-decoration: underline
}

.legal-prose strong {
  color: var(--text)
}

/* ---------- gallery ---------- */
.gallery-block {
  margin-top: 44px
}

.gallery-head {
  text-align: center;
  margin-bottom: 38px
}

.gallery-head h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem)
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid var(--line)
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease)
}

.gallery-item:hover img {
  transform: scale(1.07)
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 14px;
  font-size: .86rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 17, 24, .82));
  opacity: 0;
  transform: translateY(8px);
  transition: .3s var(--ease)
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: none
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(15, 12, 18, .92);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s var(--ease)
}

.lightbox.open {
  opacity: 1;
  visibility: visible
}

.lightbox-stage {
  position: relative;
  max-width: 90vw;
  max-height: 86vh
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: var(--shadow-lg)
}

.lightbox-caption {
  text-align: center;
  color: #fff;
  margin-top: 14px;
  font-size: .92rem
}

.lightbox-counter {
  position: absolute;
  top: -34px;
  left: 0;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-mono);
  font-size: .8rem
}

.lightbox-btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: .2s
}

.lightbox-btn:hover {
  background: var(--accent)
}

.lightbox-close {
  top: -34px;
  right: 0
}

.lightbox-prev {
  left: -66px;
  top: calc(50% - 23px)
}

.lightbox-next {
  right: -66px;
  top: calc(50% - 23px)
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  gap: 48px;
  align-items: start
}

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

.contact-info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start
}

.contact-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: color-mix(in srgb, var(--green-600) 12%, transparent);
  color: var(--green-600)
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px
}

.contact-info-value {
  font-weight: 500;
  line-height: 1.5
}

.contact-info-value a:hover {
  color: var(--accent)
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 6px
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm)
}

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

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text)
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: .2s
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent)
}

.form-submit {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: .25s var(--ease)
}

.form-submit:hover {
  background: var(--orange-600);
  transform: translateY(-2px)
}

.form-submit:disabled {
  opacity: .6;
  cursor: wait;
  transform: none
}

/* ---------- product detail page ---------- */
.product-detail {
  padding: 44px 0 30px
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start
}

.pd-media {
  position: sticky;
  top: calc(var(--nav-h) + 24px)
}

.pd-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--paper-2)
}

.pd-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.pd-cat {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600)
}

.pd-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 10px 0 0
}

.pd-lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 18px 0 0
}

.pd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0
}

.pd-tag {
  font-size: .78rem;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--muted)
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0
}

.pd-section {
  margin-top: 36px
}

.pd-section h3 {
  font-size: 1.3rem;
  margin-bottom: 14px
}

.pd-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.pd-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: .96rem
}

.pd-features i {
  color: var(--green-600);
  margin-top: 4px
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 13px 16px;
  font-size: .92rem;
  border-bottom: 1px solid var(--line)
}

.spec-table th {
  width: 42%;
  background: var(--paper-2);
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-body)
}

.spec-table td {
  color: var(--muted)
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none
}

.pd-note {
  font-size: .82rem;
  color: var(--muted-2);
  margin-top: 10px
}

/* products index intro */
.prod-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px
}

/* ---------- reveal animations ---------- */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.reveal {
  transform: translateY(28px)
}

.reveal-left {
  transform: translateX(-36px)
}

.reveal-right {
  transform: translateX(36px)
}

.reveal.in,
.reveal-left.in,
.reveal-right.in {
  opacity: 1;
  transform: none
}

/* ---------- google translate cleanup ---------- */
.goog-te-banner-frame {
  display: none !important
}

.goog-te-banner-frame.skiptranslate {
  display: none !important
}

iframe.skiptranslate {
  display: none !important;
  visibility: hidden !important
}

.skiptranslate>iframe {
  display: none !important
}

body {
  top: 0 !important;
  position: static !important
}

#google_translate_element {
  display: none !important
}

.goog-tooltip,
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important
}

/* ---------- responsive ---------- */
@media (max-width:1024px) {

  .about-grid,
  .video-grid,
  .contact-grid,
  .pd-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 28px;
    margin-top: -50px;

  }

  .pd-media {
    position: static
  }

  .why-grid,
  .testimonials-grid,
  .gallery-grid,
  .prod-index-grid {
    grid-template-columns: repeat(2, 1fr)
  }

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

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

  .about-features {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:860px) {

  :root {
    --nav-h: 60px;
  }

  .nav-container {
    padding-inline: 12px;
    gap: 8px;
    height: var(--nav-h);
  }

  .nav-contact-lang {
    flex-direction: row-reverse;
    gap: 6px;
  }

  .nav-lang-btn {
    padding: 6px 10px;
    font-size: .75rem;
    gap: 4px;
  }

  .nav-contact-lang .nav-socials {
    display: none
  }

  /* keep the phone number in the header on small screens, compact */
  .nav-contact-lang .nav-phone {
    display: inline-flex;
    padding: 6px 10px;
    font-size: .75rem;
    gap: 4px
  }

  #theme-toggle {
    display: none
  }

  .hamburger {
    display: flex;
    margin-left: 2px;
    width: 36px;
    height: 36px;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 14px;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    max-height: calc(100vh - var(--nav-h));
    overflow: auto
  }

  .nav-logo img {
    height: 42px
  }

  .nav-links.open {
    transform: none
  }

  .nav-links>li>a {
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 1rem
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--paper-2);
    margin: 4px 0 6px;
    padding: 4px
  }

  .nav-mobile-extras {
    display: flex;
    justify-content: center;
    padding: 10px 0 4px
  }

  .nav-contact-lang {
    margin-left: auto;
    gap: 8px
  }
}

@media (max-width:680px) {
  .section-pad {
    padding: 20px 0
  }

  .section-pad-lg {
    padding: 26px 0
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px
  }

  .why-grid,
  .products-grid,
  .testimonials-grid,
  .gallery-grid,
  .prod-index-grid,
  .about-features,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start
  }

  .cta-banner-actions {
    width: 100%
  }

  .lightbox-prev {
    left: 6px
  }

  .lightbox-next {
    right: 6px
  }

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

@media (max-width:480px) {

  /* make room for the phone number: collapse lang button to its globe icon */
  .nav-contact-lang {
    gap: 6px
  }

  .nav-lang-btn #lang-label,
  .nav-lang-btn .chevron {
    display: none
  }

  .nav-contact-lang .nav-phone {
    padding: 7px 10px;
    font-size: .78rem
  }

  .nav-logo img {
    height: 44px
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none
  }
}

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