:root {
  --bg: #f4f5f1;
  --paper: #ffffff;
  --ink: #1a1e1b;
  --muted: #58605b;
  --line: #d3dbd4;
  --brand: #0f766e;
  --brand-dark: #0c5b55;
  --accent: #b45309;
  --shadow: 0 18px 40px rgba(23, 33, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 90% 0%, #e2eee9 0, transparent 36%),
    radial-gradient(circle at 10% 90%, #efe8dc 0, transparent 34%), var(--bg);
}

.texture {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.12;
  background-image: radial-gradient(rgba(0, 0, 0, 0.2) 0.35px, transparent 0.35px);
  background-size: 3px 3px;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(102, 120, 107, 0.25);
  background: rgba(244, 247, 242, 0.86);
}

.nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  letter-spacing: -0.03em;
}

.logo-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
}

.logo-main {
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.logo-sub {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-left: 3px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  text-decoration: none;
  color: #263029;
  font-weight: 700;
  font-size: 0.94rem;
}

.list-btn {
  border: 1px solid #beccc2;
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  cursor: pointer;
}

.list-btn span {
  margin-left: 8px;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--brand);
  color: #fff;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid #c7d4cc;
  border-radius: 999px;
  background: #f7fbf9;
}

.lang-btn {
  border: none;
  border-radius: 999px;
  padding: 6px 9px;
  background: transparent;
  color: #1f3028;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-btn.active {
  background: #14463f;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: url("https://commons.wikimedia.org/wiki/Special:FilePath/Chemistry_laboratory.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(8, 32, 30, 0.85) 20%, rgba(8, 32, 30, 0.35) 70%);
}

.hero-content {
  color: #eef4f0;
  padding: 74px 0;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #8de3d8;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  max-width: 17ch;
}

.hero p {
  max-width: 66ch;
  color: #deebe4;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 11px 17px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid #afc6bc;
  color: #254139;
}

.hero .btn-ghost {
  color: #e5f4ec;
  border-color: rgba(225, 241, 233, 0.55);
}

.hero-stats {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-stats article {
  border: 1px solid rgba(194, 224, 209, 0.35);
  border-radius: 12px;
  background: rgba(17, 49, 42, 0.55);
  padding: 12px;
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero-stats span {
  font-size: 0.88rem;
  color: #d7ebe2;
}

.trust-strip {
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

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

.trust-grid article {
  background: #ffffff;
  border: 1px solid #d1ddd4;
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 70px 0;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-alt {
  border-top: 1px solid #d7e0d8;
  border-bottom: 1px solid #d7e0d8;
  background: linear-gradient(180deg, rgba(230, 238, 231, 0.66), rgba(230, 238, 231, 0.4));
}

.section-head {
  max-width: 860px;
  margin-bottom: 22px;
}

.section-head .eyebrow {
  color: var(--brand-dark);
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-btn {
  border: 1px solid #bfd0c4;
  background: #fff;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.active {
  background: #123f38;
  color: #fff;
  border-color: #123f38;
}

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

.catalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #cfdbd2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(27, 37, 31, 0.1);
}

.catalog-media {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #e6ece7;
}

.catalog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.catalog-top {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.tag {
  display: inline-block;
  background: #e8f6f4;
  color: #0f6058;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.note {
  margin: 2px 0 8px;
  font-size: 0.79rem;
  font-weight: 700;
  color: #7a4a1a;
  line-height: 1.35;
  min-height: 2.2em;
}

.catalog-card h3 {
  font-size: 1.04rem;
  line-height: 1.28;
  margin: 6px 0 8px;
  min-height: 2.56em;
}

.catalog-card p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.48;
  color: var(--muted);
  min-height: 0;
}

.catalog-desc {
  min-height: 4.2em;
}

.catalog-use {
  margin: 0 0 10px;
  padding-left: 18px;
  color: #4f5a54;
  font-size: 0.9rem;
  line-height: 1.45;
  min-height: 6.4em;
}

.catalog-use li {
  margin: 4px 0;
}

.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 8px 0;
}

.meta span {
  border: 1px solid #dce4de;
  background: #f8fbf9;
  border-radius: 8px;
  padding: 7px;
  font-size: 0.86rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.section-detail {
  background: #f8faf7;
  border-top: 1px solid #d9e3dc;
  border-bottom: 1px solid #d9e3dc;
}

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

.story-card {
  border: 1px solid #cfdcd3;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(23, 34, 29, 0.08);
}

.story-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: #e6ece7;
}

.story-body {
  padding: 12px 13px 14px;
}

.story-body p {
  margin: 0 0 10px;
  color: var(--muted);
}

.story-list {
  margin: 0;
  padding-left: 18px;
}

.story-list li {
  margin: 6px 0;
}

.link-btn {
  text-decoration: none;
  color: #26342d;
  border: 1px solid #c8d6cb;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.86rem;
  font-weight: 700;
}

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

.app-card {
  border: 1px solid #ccdad1;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}

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

.app-card .app-body {
  padding: 10px 11px 12px;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.table-wrap {
  overflow: auto;
  border: 1px solid #ccd9cf;
  border-radius: 14px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 730px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid #e2ebe5;
  text-align: left;
  vertical-align: top;
  padding: 11px 12px;
}

th {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f4faf6;
}

.footnote {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.doc-card {
  border: 1px solid #ced9d0;
  border-radius: 13px;
  padding: 12px;
  background: #fff;
}

.doc-card p {
  color: var(--muted);
  margin: 0 0 8px;
}

.doc-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.doc-meta span {
  border: 1px solid #cfdbd2;
  background: #f7fbf8;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.75rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid #ced9d1;
  border-radius: 12px;
  background: #fff;
  padding: 11px 13px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.rfq-section {
  background: linear-gradient(180deg, rgba(234, 243, 239, 0.7), rgba(234, 243, 239, 0.44));
  border-top: 1px solid #cfddd4;
}

.rfq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: start;
}

.rfq-layout p {
  color: var(--muted);
}

.rfq-form {
  border: 1px solid #cdd9d0;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rfq-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.93rem;
}

.rfq-form input,
.rfq-form textarea {
  border: 1px solid #cfdbd2;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  background: #fcfffd;
}

.rfq-form .full {
  grid-column: 1 / -1;
}

.rfq-msg {
  margin: 0;
  color: #0a5b53;
  font-weight: 700;
  grid-column: 1 / -1;
}

.quote-drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: min(420px, 95vw);
  height: 100vh;
  background: #fff;
  border-left: 1px solid #cfdbd2;
  box-shadow: -14px 0 34px rgba(0, 0, 0, 0.16);
  z-index: 90;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}

.quote-drawer.open {
  transform: translateX(0);
}

.drawer-head,
.drawer-foot {
  padding: 13px;
  border-bottom: 1px solid #e2e9e4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.drawer-head button {
  border: none;
  border-radius: 10px;
  padding: 7px 11px;
  cursor: pointer;
  background: #eef4f0;
  font-weight: 700;
}

.drawer-items {
  flex: 1;
  overflow: auto;
  padding: 12px;
}

.item-row {
  border: 1px solid #d8e2dc;
  border-radius: 11px;
  padding: 9px;
  margin-bottom: 8px;
}

.item-row h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.item-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.item-controls {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.item-controls input {
  width: 80px;
  border: 1px solid #cedad2;
  border-radius: 8px;
  padding: 6px;
}

.item-controls button {
  border: none;
  background: transparent;
  color: #a03e19;
  font-weight: 800;
  cursor: pointer;
}

.drawer-foot {
  border-top: 1px solid #e2e9e4;
  border-bottom: none;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: #188a4b;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 12px 25px rgba(24, 138, 75, 0.34);
}

.site-footer {
  background: #1e2a24;
  color: #d8e3db;
  padding: 42px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 15px;
}

.site-footer .logo {
  color: #f5fff8;
}

.site-footer .logo-main {
  font-size: 1.9rem;
}

.site-footer .logo-sub {
  color: #c7d7cc;
}

.copy {
  margin-top: 20px;
  text-align: center;
  color: #9db0a4;
  font-size: 0.88rem;
}

@media (max-width: 1040px) {
  nav {
    display: none;
  }

  .hero-stats,
  .trust-grid,
  .catalog-grid,
  .product-story-grid,
  .docs-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .hero {
    min-height: 540px;
  }

  .section {
    padding: 52px 0;
  }

  .hero-stats,
  .trust-grid,
  .catalog-grid,
  .product-story-grid,
  .app-grid,
  .docs-grid,
  .footer-grid,
  .rfq-layout,
  .rfq-form {
    grid-template-columns: 1fr;
  }

  .rfq-form .full {
    grid-column: auto;
  }

  .catalog-media {
    height: 220px;
  }
}
