:root {
  --ink: #111317;
  --muted: #5b6472;
  --line: #d9dee7;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --blue: #0f63c7;
  --orange: #f26a21;
  --green: #14875c;
  --shadow: 0 14px 42px rgba(17, 19, 23, 0.11);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5.9rem);
  max-width: 980px;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.65rem 0.85rem;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 6px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--orange);
}

.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
  font-size: 0.82rem;
  color: var(--muted);
}

.lang-switcher a {
  padding: 0.2rem 0.35rem;
  border: 1px solid transparent;
}

.lang-switcher a[aria-current="true"] {
  color: var(--ink);
  border-color: var(--line);
}

.hero,
.page-hero {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  color: white;
}

.page-hero {
  min-height: 52svh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.48);
}

.hero-content,
.page-hero-content {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-content p,
.page-hero-content p {
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 790;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #ffb067;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 760;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--ink);
}

.btn-ghost {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.hero .btn-ghost,
.page-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.62);
  color: white;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.proof-strip strong {
  min-height: 5rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.proof-strip strong:nth-child(2) {
  color: var(--blue);
}

.proof-strip strong:nth-child(3) {
  color: var(--orange);
}

.proof-strip strong:nth-child(4) {
  color: var(--green);
  border-right: 0;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) 0;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - 1180px) / 2));
  padding-right: max(1rem, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.product-card,
.proof-card,
.contact-panel,
.chart-card,
.inline-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(17, 19, 23, 0.03);
}

.product-card {
  overflow: hidden;
}

.product-media {
  aspect-ratio: 1 / 0.9;
  background: var(--soft);
}

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

.product-body,
.chart-copy {
  padding: 1rem;
}

.product-body p,
.proof-card p,
.chart-card p,
.inline-cta p,
.contact-panel p,
.step-list p {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--blue);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

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

.proof-card {
  overflow: hidden;
}

.proof-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.proof-card div {
  padding: 1rem;
}

.split-layout,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1.2rem, 5vw, 3rem);
  align-items: start;
}

.step-list {
  display: grid;
  gap: 0.85rem;
}

.step-list article {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.step-list span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--ink);
  color: white;
  font-weight: 780;
}

.contact-panel {
  padding: clamp(1.1rem, 3vw, 1.6rem);
  box-shadow: var(--shadow);
}

.inline-cta {
  margin-top: 2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  gap: 0.4rem;
  align-items: start;
}

.small-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.spec-table {
  width: 100%;
  margin: 1.4rem 0;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 36%;
  font-weight: 760;
}

.feature-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}

.feature-figure img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

.chart-grid {
  display: grid;
  gap: 1rem;
}

.chart-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  align-items: start;
  overflow: hidden;
}

.chart-card img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  background: white;
  border-left: 1px solid var(--line);
}

.factory-video {
  width: 100%;
  border-radius: var(--radius);
  background: var(--ink);
}

.contact-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0;
}

.contact-list a {
  display: block;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 760;
}

.inquiry-form {
  display: grid;
  gap: 1rem;
}

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

.inquiry-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 680;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  font: inherit;
}

.inquiry-form textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: white;
  background: var(--ink);
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-content: start;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 6.6rem;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  background: var(--green);
  color: white;
  font-weight: 820;
  box-shadow: var(--shadow);
}

.lead-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 13;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(17, 19, 23, 0.94);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.lead-bar strong,
.lead-bar span {
  display: block;
}

.lead-bar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.lead-bar-actions {
  display: flex;
  gap: 0.55rem;
}

body.is-scrolled .lead-bar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.lead-modal-open .lead-bar,
body.lead-modal-open .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.lead-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: clamp(1.1rem, 4vw, 2rem);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.lead-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

body.lead-modal-open {
  overflow: hidden;
}

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

  .site-nav,
  .lang-switcher {
    justify-content: flex-start;
  }

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

@media (max-width: 760px) {
  .site-header {
    gap: 0.55rem;
    padding: 0.75rem 1rem;
  }

  .site-nav,
  .lang-switcher {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar,
  .lang-switcher::-webkit-scrollbar {
    display: none;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.25rem);
  }

  .hero,
  .page-hero {
    min-height: 58svh;
  }

  .hero-content,
  .page-hero-content {
    padding: 2.35rem 0;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip strong:nth-child(2) {
    border-right: 0;
  }

  .product-grid,
  .proof-grid,
  .split-layout,
  .two-column,
  .chart-card,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .chart-card img {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .site-footer {
    display: grid;
  }

  .floating-whatsapp {
    display: none;
  }

  .lead-bar {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.8rem;
  }

  .lead-bar-actions {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
  }
}
