:root {
  --ink: #173b2d;
  --ink-soft: #40584b;
  --leaf: #7cc65d;
  --leaf-light: #cfe8b6;
  --gold: #d7a63d;
  --sky: #c8dbe4;
  --paper: #f7faf5;
  --white: #ffffff;
  --line: #dbe7dd;
  --shadow: 0 24px 70px rgba(23, 59, 45, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

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

button,
summary {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 245, 0.9);
  border-bottom: 1px solid rgba(219, 231, 221, 0.7);
  backdrop-filter: blur(18px);
}

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

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(3, 44px);
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-switcher button {
  min-width: 0;
  height: 34px;
  color: var(--ink-soft);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switcher button.active {
  color: var(--white);
  background: var(--ink);
}

.section-pad {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding-top: clamp(42px, 6vw, 82px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 34, 24, 0.93) 0%, rgba(9, 34, 24, 0.78) 38%, rgba(9, 34, 24, 0.28) 68%, rgba(9, 34, 24, 0.1) 100%),
    url("assets/speedfert-hero-circular-value.jpg") center / cover no-repeat;
  transform: scale(1.01);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  content: "";
  background: linear-gradient(0deg, rgba(23, 59, 45, 0.78), transparent);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: var(--leaf-light);
}

.eyebrow {
  margin: 0 0 16px;
  color: #62766b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(3.35rem, 7vw, 7rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.8vw, 4.85rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.22;
  text-wrap: balance;
}

p,
li,
figcaption,
summary,
dd {
  overflow-wrap: normal;
  text-wrap: pretty;
  hyphens: none;
}

.hero-lede,
.solution-text > p,
.product-showcase p,
.section-heading p,
.contact-section p,
.compliance-panel p {
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  max-width: 66ch;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 32px rgba(23, 59, 45, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.36);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 46px 0 0;
}

.metric-strip div {
  min-height: 112px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.metric-strip dt {
  margin-bottom: 6px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.metric-strip dd {
  margin: 0;
  color: var(--leaf-light);
  font-weight: 700;
}

.hero-visual {
  align-self: end;
  min-height: 430px;
}

.value-card {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(420px, 100%);
  padding: 28px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.value-card span,
.value-card strong {
  display: block;
}

.value-card strong {
  margin: 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}

.value-kicker,
.value-card span:last-child {
  color: var(--leaf-light);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cert-ribbon {
  position: absolute;
  right: clamp(14px, 2vw, 34px);
  bottom: -34px;
  width: min(360px, 78%);
  padding: 18px 20px;
  color: var(--white);
  background: var(--ink);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(23, 59, 45, 0.22);
}

.cert-ribbon strong,
.cert-ribbon span {
  display: block;
}

.cert-ribbon span {
  margin-top: 4px;
  color: var(--leaf-light);
  font-size: 0.92rem;
}

.intro-band {
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.intro-band p {
  max-width: 1100px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.6vw, 2.35rem);
  line-height: 1.25;
}

.mission-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 90px);
  background: #eef5ec;
}

.mission-grid {
  display: grid;
  gap: 14px;
}

.mission-grid article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mission-grid span {
  grid-row: span 2;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.mission-grid p {
  max-width: 66ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 90px);
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article,
.application-grid article,
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-grid article {
  min-height: 190px;
  padding: 24px;
}

.feature-index {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.feature-grid p,
.application-grid p,
.faq-list p {
  color: var(--ink-soft);
}

.innovation-section {
  background: linear-gradient(180deg, #f7faf5, #edf5eb);
}

.innovation-head {
  max-width: 1080px;
  margin-bottom: 36px;
}

.innovation-head p {
  max-width: 72ch;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
}

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

.innovation-grid article {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.innovation-grid p {
  max-width: 36ch;
  color: var(--ink-soft);
}

.innovation-stat {
  color: var(--white);
  background: var(--ink) !important;
}

.innovation-stat strong {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.95;
}

.innovation-stat span {
  display: block;
  color: var(--leaf-light);
  font-weight: 800;
  text-wrap: balance;
}

.product-showcase {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(90deg, transparent 0 61%, rgba(200, 219, 228, 0.48) 61%),
    var(--paper);
}

.showcase-copy {
  position: sticky;
  top: 120px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.product-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(23, 59, 45, 0.08);
}

.product-media {
  position: relative;
  display: grid;
  height: clamp(300px, 26vw, 390px);
  padding: 0;
  place-items: center;
  background: #f8fbf7;
}

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

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(23, 59, 45, 0.18);
  opacity: 0.96;
}

.product-card figcaption {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 20px 22px 22px;
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.product-card figcaption strong {
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  font-weight: 800;
  line-height: 1.22;
  text-wrap: balance;
}

.product-card figcaption span {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.models-section {
  background: var(--white);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 820px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

th,
td {
  padding: 19px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

thead th {
  color: var(--white);
  background: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody td:first-child {
  color: var(--ink);
  font-weight: 850;
}

.applications-section {
  background: var(--paper);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
}

.application-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
}

.application-grid article:nth-child(2) {
  border-top: 5px solid var(--gold);
}

.application-grid article:nth-child(4) {
  border-top: 5px solid var(--sky);
}

.compliance-band {
  background: linear-gradient(135deg, var(--ink), #244f3b);
}

.compliance-panel {
  max-width: 1060px;
  color: var(--white);
}

.compliance-panel .eyebrow,
.compliance-panel p {
  color: var(--leaf-light);
}

.compliance-panel h2 {
  max-width: 900px;
  color: var(--white);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.check-list li {
  min-height: 96px;
  padding: 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  padding: 0;
  background: var(--paper);
}

.faq-list summary {
  position: relative;
  min-height: 62px;
  padding: 20px 64px 20px 22px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 22px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  content: "+";
  background: var(--ink);
  border-radius: 50%;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 820px;
  padding: 0 22px 22px;
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(215, 166, 61, 0.18), transparent 40%),
    var(--ink);
}

.contact-section .eyebrow,
.contact-section p {
  color: var(--leaf-light);
}

.contact-section h2 {
  max-width: 860px;
  color: var(--white);
}

.contact-section p {
  max-width: 720px;
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #eef5ec;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero,
  .mission-section,
  .split-section,
  .product-showcase,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .showcase-copy {
    position: static;
  }

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

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 14px;
    padding: 14px 16px;
  }

  .brand img {
    width: 142px;
  }

  .language-switcher {
    grid-template-columns: repeat(3, 36px);
  }

  .language-switcher button {
    height: 32px;
    font-size: 0.78rem;
  }

  .section-pad {
    padding: 56px 18px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .metric-strip,
  .feature-grid,
  .check-list,
  .innovation-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip div {
    min-height: 92px;
  }

  .cert-ribbon {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .hero {
    color: var(--white);
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(9, 34, 24, 0.9) 0%, rgba(9, 34, 24, 0.72) 48%, rgba(9, 34, 24, 0.38) 100%),
      url("assets/speedfert-hero-circular-value.jpg") center / cover no-repeat;
  }

  .hero-visual {
    min-height: auto;
  }

  .value-card {
    position: static;
    width: auto;
    margin-top: 20px;
  }

  .mission-grid article {
    grid-template-columns: 1fr;
  }

  .mission-grid span {
    grid-row: auto;
  }

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

  .product-media {
    height: 300px;
    padding: 16px;
  }

  .product-badge {
    top: 14px;
    left: 14px;
  }

  .product-showcase {
    background: var(--paper);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .faq-list summary {
    padding-right: 56px;
  }
}
