:root {
  --ink: #0f172a;
  --muted: #64748b;
  --green: #4B2E83;
  --green-dark: #2E1065;
  --teal: #0056B3;
  --mint: #F3E8FF;
  --paper: #FBFBFE;
  --line: #E2E8F0;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.topbar .container,
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar .container {
  min-height: 38px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 248, 0.94);
  border-bottom: 1px solid rgba(219, 230, 223, 0.86);
  backdrop-filter: blur(14px);
}

.nav .container {
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand img {
  width: 118px;
  height: auto;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  line-height: 1.1;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.nav-links a {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  color: #2c3d36;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 22px rgba(15, 92, 69, 0.2);
}

.btn-primary:hover {
  background: #0b4e3a;
}

.btn-secondary {
  color: var(--green);
  border-color: rgba(15, 92, 69, 0.24);
  background: var(--white);
}

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

.hero {
  min-height: calc(100vh - 114px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(251, 252, 248, 0.96) 0%, rgba(251, 252, 248, 0.88) 42%, rgba(251, 252, 248, 0.14) 72%),
    var(--hero-image);
  background-size: cover;
  background-position: center right;
}

.hero .container.hero-inner {
  width: min(690px, calc(100% - 40px));
  margin-left: max(20px, calc((100% - var(--max)) / 2));
  margin-right: auto;
}

.hero-inner {
  max-width: 690px;
  padding: 84px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  color: #40504a;
  font-size: 19px;
  line-height: 1.72;
}

.hero-actions,
.cta-actions,
.split-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}

.metric {
  min-height: 112px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(219, 230, 223, 0.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.metric:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(27, 154, 138, 0.42);
  background: linear-gradient(180deg, #ffffff, #eef8f4);
  box-shadow: 0 22px 58px rgba(15, 92, 69, 0.18);
}

.metric strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 94px 0;
}

.section-tight {
  padding: 64px 0;
}

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

.section-mint {
  background: #eef7f3;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2,
.page-intro h1 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p,
.page-intro p,
.split-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-green .section-head p,
.section-green .split-copy p,
.section-green .muted {
  color: rgba(255, 255, 255, 0.76);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover,
.mini:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 154, 138, 0.38);
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mint);
}

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

.card-body {
  padding: 24px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--mint);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.card p,
.feature p,
.timeline p,
.mini p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 30px;
}

.feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.feature-icon,
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  color: var(--green);
  background: var(--mint);
}

.feature h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 92px;
  padding: 0 16px;
  border: 1px solid rgba(15, 92, 69, 0.16);
  border-radius: 6px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.section-green .logo-strip span {
  color: #d7fff4;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.page-hero {
  padding: 74px 0;
  background:
    linear-gradient(90deg, rgba(7, 58, 45, 0.94), rgba(7, 58, 45, 0.72), rgba(7, 58, 45, 0.38)),
    var(--page-image);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-intro {
  max-width: 740px;
}

.page-intro p {
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

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

.product-card {
  display: grid;
  grid-template-columns: 42% 1fr;
}

.product-card .card-media {
  aspect-ratio: auto;
  min-height: 280px;
}

.ingredient-card .card-media {
  aspect-ratio: 16 / 9;
}

.timeline {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.timeline-item {
  position: relative;
  min-height: 170px;
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.timeline-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 24px;
  color: #80ded3;
  font-size: 14px;
  font-weight: 850;
}

.timeline-item h3 {
  font-size: 17px;
}

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

.mini {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.mini:hover .icon-box {
  color: var(--white);
  background: var(--green);
  transform: rotate(-4deg) scale(1.06);
}

.mini h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-panel {
  position: relative;
  overflow: hidden;
}

.form-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--teal));
}

.contact-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
  border-bottom: 0;
}

form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #2b3a35;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #cddbd3;
  border-radius: 6px;
  color: var(--ink);
  background: #fcfffd;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(27, 154, 138, 0.24);
  border-color: var(--teal);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding: 52px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(7, 58, 45, 0.96), rgba(15, 92, 69, 0.7)),
    url("assets/images/web-cta-inquiry.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.cta-visual {
  min-height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.cta-visual img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
}

.cta-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.function-card .card-media {
  aspect-ratio: 4 / 3;
}

.function-card h3 {
  min-height: 52px;
}

.showcase-frame {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.showcase-frame img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
}

.showcase-frame.contain img {
  padding: 18px;
  object-fit: contain;
  background: linear-gradient(135deg, #f8fcf9, #e7f4ef);
}

.scroll-wrap {
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

[data-cert-scroll].scroll-wrap {
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.scroll-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: scroll-left 42s linear infinite;
}

.scroll-wrap:hover .scroll-track {
  animation-play-state: paused;
}

.scroll-card {
  width: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.scroll-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 154, 138, 0.36);
  box-shadow: var(--shadow);
}

.scroll-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
}

.scroll-card strong,
.scroll-card span {
  display: block;
  padding: 0 16px;
}

.scroll-card strong {
  padding-top: 14px;
  color: var(--ink);
}

.scroll-card span {
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.cert-proof {
  display: block;
  width: 280px;
  min-height: 320px;
  transform-origin: center bottom;
}

.cert-proof:hover {
  transform: translateY(-8px) scale(1.06);
  z-index: 2;
}

.cert-proof img {
  width: 100%;
  height: 210px;
  padding: 14px;
  object-fit: contain;
  background: linear-gradient(135deg, #f9fcfa, #edf7f3);
  border-bottom: 1px solid var(--line);
}

.cert-proof div {
  padding: 16px 16px 18px;
}

.cert-proof strong,
.cert-proof span {
  padding-right: 0;
  padding-left: 0;
}

.cert-proof strong {
  padding-top: 0;
  font-size: 17px;
}

.cert-proof span {
  padding-bottom: 0;
  margin-top: 5px;
}

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

.flow-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.flow-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.flow-copy {
  padding: 18px;
}

.flow-copy span {
  color: #80ded3;
  font-size: 13px;
  font-weight: 850;
}

.flow-copy h3 {
  margin: 8px 0 8px;
  font-size: 18px;
}

.flow-copy p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.format-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.format-strip span {
  min-width: 0;
  padding: 0 10px;
  text-align: center;
  white-space: nowrap;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.footer {
  padding: 58px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #071f18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.75fr));
  gap: 28px;
}

.footer h3 {
  color: var(--white);
  font-size: 15px;
}

.footer a {
  display: block;
  margin: 10px 0;
}

.footer-brand img {
  width: 122px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: #128c7e;
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.34);
  font-weight: 850;
}

.whatsapp-float i {
  width: 20px;
  height: 20px;
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(251, 252, 248, 0.98), rgba(251, 252, 248, 0.86), rgba(251, 252, 248, 0.5)),
      var(--hero-image);
    background-size: cover;
    background-position: center;
  }

  .hero-metrics,
  .grid-3,
  .grid-4,
  .mini-grid,
  .timeline,
  .flow-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-image img {
    min-height: 320px;
  }

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

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .topbar {
    display: none;
  }

  .nav .container {
    min-height: 68px;
  }

  .nav-links {
    top: 68px;
  }

  .brand-mark {
    display: none;
  }

  .hero-inner {
    width: min(100% - 28px, var(--max));
    margin-right: auto;
    margin-left: auto;
    padding: 62px 0 92px;
  }

  .hero p,
  .section-head p,
  .page-intro p,
  .split-copy p {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .section-head h2,
  .page-intro h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-metrics,
  .grid-3,
  .grid-4,
  .mini-grid,
  .timeline,
  .flow-grid,
  .product-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 68px 0;
  }

  .cta-band,
  .contact-panel,
  .form-panel {
    padding: 24px;
  }

  .cta-visual,
  .cta-visual img,
  .showcase-frame,
  .showcase-frame img {
    min-height: 240px;
  }

  .scroll-card {
    width: 220px;
  }

  .format-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    min-height: 48px;
    padding: 0;
    font-size: 0;
  }

  .whatsapp-float i {
    width: 22px;
    height: 22px;
  }
}
