:root {
  --ink: #06162d;
  --navy: #08244a;
  --blue: #0869a8;
  --sky: #dbeefa;
  --gold: #c79a21;
  --steel: #e7ebef;
  --paper: #f8f9fb;
  --muted: #617084;
  --green: #2f6f57;
  --red: #b74b38;
  --white: #ffffff;
  --line: rgba(6, 22, 45, 0.12);
  --shadow: 0 18px 60px rgba(6, 22, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px 6vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 260px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav > a {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.site-nav .active {
  background: var(--sky);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--navy);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.nav-line {
  width: 22px;
  height: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 22, 45, 0.94), rgba(6, 22, 45, 0.62) 48%, rgba(6, 22, 45, 0.22)),
    linear-gradient(180deg, rgba(6, 22, 45, 0.12), rgba(6, 22, 45, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 88vw);
  margin-left: 6vw;
  padding: 74px 0 50px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 3.7rem;
  line-height: 1.02;
}

.hero-copy {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 30px;
}

.hero-facts div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.hero-facts strong {
  display: block;
  font-size: 1.3rem;
}

.hero-facts span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.page-hero {
  padding: 86px 6vw 74px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(6, 22, 45, 0.96), rgba(8, 36, 74, 0.82)),
    url("/web-assets/hero-boiler.jpg") center / cover;
}

.about-page-hero {
  background: linear-gradient(110deg, rgba(6, 22, 45, 0.96), rgba(8, 36, 74, 0.82));
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 3rem;
  line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 1.05rem;
}

.product-page-hero {
  background:
    linear-gradient(110deg, rgba(6, 22, 45, 0.96), rgba(8, 36, 74, 0.78)),
    url("/web-assets/product-mill.jpg") center / cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-item {
  min-height: 152px;
  padding: 26px 6vw;
  background: var(--white);
}

.strip-item span,
.process-list span {
  color: var(--gold);
  font-weight: 900;
}

.strip-item strong {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
}

.strip-item p,
.section p,
.mission-list li,
.machine-specs li {
  color: var(--muted);
  line-height: 1.72;
}

.section {
  padding: 82px 6vw;
}

.split-section,
.vision-section,
.production-layout,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: start;
}

.about-summary {
  grid-template-columns: 1fr;
  gap: 28px;
}

.section h2 {
  margin: 0;
  max-width: 780px;
  font-size: 2.4rem;
  line-height: 1.14;
}

.section-copy p:not(.eyebrow),
.contact-copy p {
  max-width: 760px;
  margin: 22px 0 0;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 900;
}

.quick-links {
  display: grid;
  gap: 14px;
}

.quick-links a {
  display: block;
  min-height: 116px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.quick-links span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 900;
}

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

.org-grid span {
  min-height: 92px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.org-grid strong {
  color: var(--ink);
}

.vision-section {
  background: var(--ink);
  color: var(--white);
}

.vision-section h2,
.vision-section p,
.vision-section li {
  color: var(--white);
}

.mission-list {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.mission-list ul,
.machine-specs ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.mission-list li + li,
.machine-specs li + li {
  margin-top: 12px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading.compact {
  display: block;
}

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

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.filter-button {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--white);
  background: var(--blue);
  outline: none;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card figure {
  margin: 0;
  background: var(--steel);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 10px;
  object-fit: contain;
}

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

.product-card h3 {
  margin: 10px 0 0;
  font-size: 1.1rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.product-type {
  width: fit-content;
  padding: 5px 9px;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.spec-list {
  display: grid;
  gap: 6px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.spec-list strong {
  color: var(--ink);
  text-align: right;
}

.detail-button {
  min-height: 42px;
  margin-top: auto;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.production-section {
  background: linear-gradient(180deg, var(--paper), #edf3f7);
}

.production-layout {
  margin-top: 30px;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list div,
.machine-specs {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list strong {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
}

.machine-specs h3 {
  margin: 0;
  font-size: 1.25rem;
}

.legal-section {
  background: var(--ink);
  color: var(--white);
}

.legal-section h2 {
  color: var(--white);
}

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

.legal-grid span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.legal-grid small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
  background: var(--white);
}

.contact-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 18px;
}

.contact-aside {
  display: grid;
  height: 100%;
  gap: 18px;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.map-frame {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 380px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-link {
  display: block;
  width: 100%;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-link span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-link .contact-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon-dot {
  fill: currentColor;
  stroke: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 6vw;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: var(--white);
  background: #25d366;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.34);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(37, 211, 102, 0.42);
  outline: none;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.product-dialog {
  width: min(860px, 92vw);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(6, 22, 45, 0.58);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(6, 22, 45, 0.82);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.dialog-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.dialog-detail img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  padding: 18px;
  background: var(--steel);
  object-fit: contain;
}

.dialog-copy {
  padding: 34px;
}

.dialog-copy h3 {
  margin: 10px 0 0;
  font-size: 1.7rem;
  line-height: 1.18;
}

.dialog-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.dialog-copy .spec-list {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .site-header {
    padding: 12px 4vw;
  }

  .brand {
    width: 220px;
  }

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

  .section,
  .strip-item {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 4vw 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav > a {
    width: 100%;
    text-align: left;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    width: 92vw;
    margin-left: 4vw;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-facts,
  .trust-strip,
  .split-section,
  .vision-section,
  .production-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .page-hero {
    padding: 64px 4vw 58px;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  .section-heading {
    display: block;
  }

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

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

  .map-frame iframe {
    min-height: 360px;
  }

  .dialog-detail {
    grid-template-columns: 1fr;
  }

  .dialog-detail img {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 70px;
  }

  .brand {
    width: 182px;
  }

  .site-nav {
    top: 70px;
  }

  .hero h1 {
    font-size: 2.08rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

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

  .contact-actions {
    flex-direction: column;
    flex-wrap: nowrap;
  }

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

  .map-frame iframe {
    min-height: 300px;
  }

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

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}
