/*
Theme Name: Tranjoy B2B
Theme URI: https://tranjoydiatomite.com/
Author: Tranjoy
Description: A responsive B2B theme for Tranjoy diatomite products and manufacturing.
Version: 1.2.2
Text Domain: tranjoy
*/

:root {
  --green: #047857;
  --green-dark: #036746;
  --gold: #b9a281;
  --ink: #3d3d3d;
  --muted: #67625b;
  --cream: #faf8f5;
  --white: #ffffff;
  --line: #e2ddd5;
  --footer: #26352f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.site-main { min-height: 60vh; }
.shell { width: min(100% - 48px, 1200px); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 104px); }
.heading { max-width: 720px; margin-bottom: 40px; }
.heading h2,
.about-copy h2,
.quote-copy h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}
.heading > p:last-child,
.about-copy > p,
.quote-copy > p { color: var(--muted); }
.kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.product-section .kicker,
.about-section .kicker,
.process-section .kicker,
.certificates-section .kicker,
.partners-section .kicker,
.testimonials-section .kicker,
.news-section .kicker {
  margin-bottom: 12px;
  color: var(--green);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}
.product-section .heading h2,
.about-section .about-copy h2,
.process-section .heading h2,
.certificates-section .heading h2,
.partners-section .heading h2,
.testimonials-section .heading h2,
.news-section .heading h2 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 600;
  line-height: 1.4;
}
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-secondary { border-color: var(--green); background: transparent; color: var(--green); }
.btn-secondary:hover { background: #edf8f3; color: var(--green-dark); }
.btn-outline { border-color: rgba(255, 255, 255, .8); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); }
.text-link { color: var(--green); font-size: 14px; font-weight: 700; }
.text-link:hover { color: var(--green-dark); }
.section-action { margin: 34px 0 0; text-align: center; }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
}
.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { color: var(--green); font-size: 22px; font-weight: 800; letter-spacing: .12em; }
.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu a { color: #58544f; font-size: 14px; font-weight: 650; }
.menu a:hover { color: var(--green); }
.menu .btn { color: var(--white); }
.menu-toggle {
  display: none;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--green);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}
.menu-toggle-icon { position: relative; }
.menu-toggle-icon::before { position: absolute; top: -6px; left: 0; }
.menu-toggle-icon::after { position: absolute; top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  display: flex;
  min-height: min(700px, calc(100vh - 82px));
  align-items: center;
  overflow: hidden;
  background: #27332f;
  color: var(--white);
}
.hero-image,
.hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image {
  right: auto;
  left: -12%;
  width: 112%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}
.hero-overlay {
  left: 42%;
  width: 58%;
  background: transparent;
}
.hero-content { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.hero-copy {
  width: min(52%, 620px);
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero .eyebrow { color: #e0d3bd; }
.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: 1.03;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .62);
}
.hero-subtitle { max-width: 600px; margin: 24px 0 0; color: rgba(255, 255, 255, .96); font-size: clamp(18px, 2.2vw, 26px); text-shadow: 0 2px 10px rgba(0, 0, 0, .62); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.product-section,
.certificates-section,
.news-section { background: var(--white); }
.product-grid,
.testimonial-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.product-section .card,
.testimonials-section .card { background: var(--cream); }
.product-image-wrap { aspect-ratio: 1.2; overflow: hidden; background: #eee8df; }
.product-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.product-card:hover .product-image-wrap img { transform: scale(1.03); }
.card-body { padding: 22px; }
.card h3 { margin: 0 0 10px; color: var(--ink); font-size: 19px; line-height: 1.35; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
}
.about-copy p { margin: 0 0 16px; }
.about-copy .btn { margin-top: 10px; }
.about-media { position: relative; margin: 0; }
.about-media::before {
  position: absolute;
  top: -16px;
  right: -16px;
  bottom: 16px;
  left: 16px;
  border: 1px solid var(--gold);
  content: "";
}
.about-media img { position: relative; display: block; width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.about-media figcaption {
  position: relative;
  width: fit-content;
  margin: -20px 0 0 auto;
  padding: 11px 16px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
}

.process-section { background: var(--cream); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-step { min-width: 0; }
.process-marker {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}
.process-step .card { height: calc(100% - 56px); background: var(--white); }
.process-step .card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.process-step .card-body { padding: 18px; }
.process-step h3 { font-size: 17px; }
.process-step p { margin-bottom: 0; font-size: 13px; }

.certificate-grid,
.partner-grid {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.certificate-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.certificate-card {
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}
.certificate-card img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: contain;
  object-position: center;
}
.certificate-card span {
  width: 100%;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.partners-section { background: var(--cream); }
.partner-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-grid li {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: var(--white);
}
.partner-grid li:last-child { border-right: 0; }
.partner-grid img { display: block; width: 100%; max-width: 180px; max-height: 92px; object-fit: contain; }

.testimonials-section { background: var(--white); }
.testimonial-grid .card { min-height: 280px; }
.testimonial-grid .card-body { display: flex; height: 100%; flex-direction: column; }
.testimonial-grid blockquote { flex: 1; margin: 0 0 24px; color: var(--ink); font-size: 16px; line-height: 1.7; }
.testimonial-grid strong { color: var(--green); font-size: 14px; }
.testimonial-grid .card-body > span { color: var(--muted); font-size: 12px; }

.article-visual {
  display: flex;
  min-height: 144px;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(135deg, #d8cbb8, #78988a);
}
.article-visual span {
  padding: 6px 9px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.article-date { color: #8a8176 !important; font-size: 12px !important; }

.quote-section { border-top: 1px solid var(--line); background: #f4f7f4; }
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .95fr);
  align-items: stretch;
  gap: clamp(36px, 5vw, 64px);
}
.quote-copy { display: flex; flex-direction: column; }
.quote-copy > p { max-width: 620px; margin: 0; }
.factory-contact-panel {
  margin-top: 32px;
  border: 1px solid #d8dfda;
  border-top: 4px solid var(--green);
  background: var(--white);
}
.factory-contact-heading { display: grid; gap: 5px; padding: 24px 26px 20px; border-bottom: 1px solid var(--line); }
.factory-contact-heading span,
.quote-form-heading span,
.footer-address > span,
.footer-contact > span {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.factory-contact-heading strong { color: var(--ink); font-size: 18px; line-height: 1.35; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.contact-detail { display: grid; gap: 5px; min-width: 0; padding: 20px 26px; }
.contact-detail + .contact-detail { border-left: 1px solid var(--line); }
.contact-detail-address { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
.contact-detail-address + .contact-detail { border-left: 0; }
.contact-details dt { color: #79756e; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.contact-details dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.contact-details a { color: var(--green-dark); font-weight: 700; }
.contact-details a:hover { text-decoration: underline; }
.quote-form-panel { border: 1px solid #d8dfda; background: var(--white); box-shadow: 0 18px 45px rgba(38, 53, 47, .08); }
.quote-form-heading { display: grid; gap: 5px; padding: 24px clamp(24px, 4vw, 34px) 20px; border-bottom: 1px solid var(--line); }
.quote-form-heading strong { color: var(--ink); font-size: 20px; line-height: 1.35; }
.rfq-form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 34px); background: var(--white); }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; padding: 12px; border: 1px solid #c9d0cb; border-radius: 3px; background: #fbfcfb; color: var(--ink); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--green); outline: 2px solid rgba(4, 120, 87, .18); }
.rfq-form .btn { border: 0; cursor: pointer; }
.form-success { padding: 14px 16px; border-left: 3px solid var(--green); background: #edf8f3; color: var(--green-dark); }
.form-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-hero {
  padding-block: clamp(54px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
  background: #f1f5f1;
}
.page-hero .shell { max-width: 1200px; }
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}
.page-hero .shell > p:last-child { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.breadcrumbs { margin-bottom: 28px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { color: #77726a; font-size: 12px; font-weight: 650; }
.breadcrumbs li:not(:last-child)::after { margin-left: 8px; color: #aaa39a; content: "/"; }
.breadcrumbs a:hover { color: var(--green); }

.content-prose { max-width: 760px; }
.content-prose h1,
.content-prose h2,
.content-prose h3 { color: var(--ink); line-height: 1.2; letter-spacing: 0; }
.content-prose h1 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 52px); }
.content-prose h2 { margin: 0 0 20px; font-size: clamp(28px, 3vw, 40px); }
.content-prose h3 { margin: 30px 0 10px; font-size: 21px; }
.content-prose p { margin: 0 0 18px; color: var(--muted); }
.content-prose a:not(.btn) { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.content-prose ul,
.content-prose ol { padding-left: 22px; color: var(--muted); }

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
  gap: clamp(42px, 7vw, 88px);
}
.product-detail-media { overflow: hidden; border: 1px solid var(--line); background: #eee8df; }
.product-detail-media img { display: block; width: 100%; aspect-ratio: 1.1; object-fit: cover; }
.product-detail-copy h2 { margin: 0 0 18px; font-size: clamp(29px, 3.2vw, 42px); line-height: 1.15; }
.product-detail-copy h3 { margin: 26px 0 10px; color: var(--green-dark); font-size: 17px; }
.product-detail-copy > p { color: var(--muted); }
.feature-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 22px; color: var(--muted); }
.feature-list li::before { position: absolute; top: .68em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green); content: ""; }
.sample-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.product-specification-section { border-top: 1px solid var(--line); background: var(--white); }
.product-data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.data-panel { border-top: 4px solid var(--green); background: var(--cream); }
.data-panel h3 { margin: 0; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.3; }
.specification-list { margin: 0; }
.specification-list > div { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr); gap: 20px; padding: 15px 24px; border-bottom: 1px solid var(--line); }
.specification-list dt { color: #77726a; font-size: 12px; font-weight: 750; }
.specification-list dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.data-note { margin: 0; padding: 16px 24px 20px; color: var(--muted); font-size: 12px; }
.product-evidence-section { background: #f1f5f1; }
.product-evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-evidence-grid article { padding: 28px; border: 1px solid #d8dfda; background: var(--white); }
.product-evidence-grid h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.25; }
.product-evidence-grid article > p:not(.kicker) { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.product-document-section { background: var(--white); }
.product-document-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.product-document-grid figure { display: grid; grid-template-rows: minmax(250px, 1fr) auto; margin: 0; padding: 14px; border: 1px solid var(--line); background: var(--cream); }
.product-document-grid a { display: flex; align-items: center; justify-content: center; min-width: 0; }
.product-document-grid img { display: block; width: 100%; height: 250px; object-fit: contain; }
.product-document-grid figcaption { padding: 14px 4px 2px; color: var(--ink); font-size: 12px; font-weight: 750; text-align: center; }
.product-video-section { background: var(--cream); }
.video-placeholder { display: flex; min-height: 300px; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(34px, 6vw, 72px); border: 1px solid #cad6cf; background: #eaf0ec; }
.video-placeholder > div { max-width: 680px; }
.video-placeholder h2 { margin: 0 0 14px; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.15; }
.video-placeholder p:not(.kicker) { margin: 0; color: var(--muted); }
.video-placeholder > span { flex: 0 0 auto; padding: 14px 18px; border: 1px solid #adc8bb; color: var(--green-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.product-faq-section { border-top: 1px solid var(--line); background: #f1f5f1; }
.related-section { border-top: 1px solid var(--line); background: var(--white); }
.related-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-product { display: grid; gap: 8px; padding: 24px; border: 1px solid var(--line); background: var(--cream); }
.related-product strong { color: var(--green-dark); font-size: 18px; }
.related-product span { color: var(--muted); font-size: 13px; }
.related-product:hover { border-color: #adc8bb; background: #f3f8f5; }

.process-page-intro { margin-bottom: 42px; }
.process-page-grid h2 { margin: 0 0 10px; font-size: 17px; line-height: 1.35; }
.certificates-intro { margin-bottom: 42px; }
.certificate-document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.certificate-document { margin: 0; padding: 18px; border: 1px solid var(--line); background: var(--white); }
.certificate-document a { display: block; background: #f5f3ef; }
.certificate-document img { display: block; width: 100%; height: auto; object-fit: contain; }
.certificate-document figcaption { display: grid; gap: 4px; padding-top: 16px; }
.certificate-document strong { color: var(--ink); font-size: 16px; }
.certificate-document span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.faq-preview { border-top: 1px solid var(--line); background: #f1f5f1; }
.faq-preview-grid { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); align-items: start; gap: clamp(40px, 7vw, 90px); }
.faq-preview h2 { margin: 0 0 16px; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.15; }
.faq-preview-grid > div:first-child > p:not(.kicker) { margin: 0 0 24px; color: var(--muted); }
.faq-shell .content-prose { margin-bottom: 36px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); background: var(--white); }
.faq-list summary { position: relative; padding: 19px 52px 19px 20px; color: var(--ink); cursor: pointer; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 18px; right: 20px; color: var(--green); content: "+"; font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 14px; }

.blog-list { display: grid; gap: 0; max-width: 920px; }
.blog-list-item { padding: 34px 0; border-bottom: 1px solid var(--line); }
.blog-list-item:first-child { padding-top: 0; }
.blog-list-item h2 { margin: 5px 0 12px; font-size: clamp(23px, 3vw, 34px); line-height: 1.2; }
.blog-list-item h2 a:hover { color: var(--green); }
.blog-list-item > p:not(.article-date) { max-width: 760px; margin: 0 0 14px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: clamp(44px, 7vw, 90px); }
.article-content { max-width: 760px; }
.article-aside { display: grid; gap: 14px; padding: 26px; border-top: 4px solid var(--green); background: var(--white); box-shadow: 0 14px 34px rgba(38, 53, 47, .08); }
.article-aside h2 { margin: 0; font-size: 23px; line-height: 1.25; }
.article-aside p:not(.kicker) { margin: 0; color: var(--muted); font-size: 14px; }
.article-aside .btn { margin-top: 6px; }
.article-aside .text-link { margin-top: 3px; }
.not-found { min-height: 60vh; display: flex; align-items: center; }
.not-found .content-prose { text-align: left; }

.site-footer { padding: 44px 0; background: var(--footer); color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr 1.25fr 1fr; align-items: start; gap: clamp(28px, 4vw, 52px); }
.footer-brand { display: grid; gap: 8px; }
.footer-brand strong { color: var(--white); font-size: 22px; letter-spacing: .12em; }
.footer-brand span,
.footer-brand p,
.footer-address,
.footer-contact a { color: rgba(255, 255, 255, .72); font-size: 12px; line-height: 1.7; }
.footer-brand p { margin: 2px 0 0; }
.footer-address { margin: 0; font-style: normal; }
.footer-address > span,
.footer-contact > span,
.footer-links > span { display: block; margin-bottom: 7px; color: #a8cfbd; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; justify-items: start; gap: 6px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: 12px; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: grid; justify-items: start; }
.footer-contact a:hover { color: var(--white); }
.footer-quote { margin-top: 12px; padding-bottom: 2px; border-bottom: 1px solid #a8cfbd; color: #d5eadf !important; font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .55); font-size: 11px; }
.footer-bottom a { color: rgba(255, 255, 255, .75); }

@media (max-width: 980px) {
  .header-inner { gap: 18px; }
  .menu { gap: 15px; }
  .menu a { font-size: 12px; }
  .certificate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-grid li { border-bottom: 1px solid var(--line); }
  .partner-grid li:nth-child(3n) { border-right: 0; }
  .partner-grid li:nth-last-child(-n + 2) { border-bottom: 0; }
}

@media (max-width: 800px) {
  .header-inner { min-height: 72px; gap: 18px; }
  .brand { font-size: 18px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .menu {
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 38px rgba(38, 53, 47, .14);
  }
  .menu.is-open { display: flex; }
  .menu a { padding: 11px 12px; font-size: 14px; }
  .menu .btn { min-height: 42px; margin-top: 6px; padding: 10px 12px; }
  .hero { min-height: 600px; }
  .hero-overlay {
    left: 25%;
    width: 75%;
    background: transparent;
  }
  .hero-copy { width: min(66%, 560px); padding: 38px; }
  .product-grid,
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-grid,
  .article-grid,
  .about-grid,
  .quote-grid,
  .product-detail,
  .product-data-grid,
  .product-evidence-grid,
  .faq-preview-grid,
  .article-layout { grid-template-columns: 1fr; }
  .about-grid,
  .quote-grid,
  .product-detail,
  .faq-preview-grid,
  .article-layout { gap: 44px; }
  .related-product-grid { grid-template-columns: 1fr; }
  .article-aside { max-width: 520px; }
  .product-document-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 1200px); }
  .section { padding-block: 58px; }
  .header-inner { min-height: 68px; }
  .menu { right: 16px; left: 16px; }
  .hero { min-height: 580px; }
  .hero-image {
    left: -12%;
    width: 112%;
    object-position: 70% center;
  }
  .hero-overlay {
    left: 8%;
    width: 92%;
    background: transparent;
  }
  .hero-copy { width: 88%; margin-left: auto; padding: 30px 24px; text-align: right; }
  .hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .hero-subtitle { margin-left: auto; }
  .actions { justify-content: flex-end; }
  .actions .btn { width: 100%; }
  .product-grid,
  .process-grid,
  .testimonial-grid,
  .article-grid,
  .certificate-grid,
  .partner-grid { grid-template-columns: 1fr; }
  .certificate-card { min-height: 0; }
  .certificate-card img { height: auto; max-height: 580px; }
  .partner-grid li,
  .partner-grid li:nth-child(3n),
  .partner-grid li:nth-last-child(-n + 2) { min-height: 130px; border-right: 0; border-bottom: 1px solid var(--line); }
  .partner-grid li:last-child { border-bottom: 0; }
  .partner-grid img { max-width: 210px; max-height: 86px; }
  .certificate-document-grid { grid-template-columns: 1fr; }
  .specification-list > div { grid-template-columns: 1fr; gap: 5px; }
  .product-document-grid { grid-template-columns: 1fr 1fr; }
  .product-document-grid figure { grid-template-rows: minmax(210px, 1fr) auto; }
  .product-document-grid img { height: 210px; }
  .video-placeholder { min-height: 0; align-items: flex-start; flex-direction: column; }
  .about-media::before { right: -8px; left: 8px; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-detail-address { grid-column: auto; }
  .contact-detail + .contact-detail { border-top: 1px solid var(--line); border-left: 0; }
  .factory-contact-heading,
  .contact-detail { padding-inline: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}
