:root {
  --ink: #10202a;
  --muted: #5c6b72;
  --line: #dce6e5;
  --paper: #ffffff;
  --mist: #eef6f2;
  --blue: #0e5d8f;
  --green: #168463;
  --lime: #b7d34b;
  --amber: #f4a522;
  --charcoal: #0b171d;
  --shadow: 0 18px 50px rgba(18, 45, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7faf8;
  font-family: "Inter", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 32, 42, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #243943;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--green);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-dropdown {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.language-toggle span {
  color: var(--muted);
  font-weight: 700;
}

.language-toggle strong {
  color: var(--ink);
  font-size: 13px;
}

.language-toggle:hover,
.language-dropdown.is-open .language-toggle {
  border-color: var(--green);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 150px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.language-dropdown.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button.is-active {
  color: #ffffff;
  background: var(--green);
}

.nav-cta {
  color: #ffffff;
  background: var(--ink);
  white-space: nowrap;
}

.btn.primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 14px 32px rgba(22, 132, 99, 0.28);
}

.btn.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
  background: var(--charcoal);
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 21, 27, 0.88), rgba(6, 21, 27, 0.48) 52%, rgba(6, 21, 27, 0.12)),
    linear-gradient(0deg, rgba(6, 21, 27, 0.85), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--green);
}

.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.5vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.2;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, calc(100% - 36px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-links a {
  min-height: 166px;
  padding: 26px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.quick-links strong {
  display: block;
  margin-top: 14px;
  font-size: 20px;
}

.quick-links p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section,
.calculator,
.about,
.contact {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

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

.section-heading h2,
.calculator h2,
.about h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.calculator-copy p,
.contact-copy p,
.about-grid p {
  color: var(--muted);
  font-size: 16px;
}

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

.solution-grid article {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 45, 54, 0.06);
}

.solution-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--mist);
}

.solution-grid article div {
  padding: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #115c48;
  background: #e4f4ec;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.solution-grid h3,
.product-card h3 {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.26;
}

.solution-grid p,
.product-card p,
.product-card li {
  color: var(--muted);
  font-size: 14px;
}

.product-section {
  padding-top: 40px;
}

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

.product-card {
  min-height: 360px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 24px;
}

.product-card:nth-child(2) .product-icon {
  background: var(--amber);
}

.product-card:nth-child(3) .product-icon {
  background: var(--green);
}

.product-card:nth-child(4) .product-icon {
  background: #5b6770;
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.calculator {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 36px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 82px max(18px, calc((100% - 1120px) / 2));
  background: var(--charcoal);
}

.calculator h2,
.calculator-copy p {
  color: #ffffff;
}

.calculator-copy {
  max-width: 480px;
}

.calculator-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.calc-panel,
.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  color: #31444d;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.form-btn,
.calc-result {
  grid-column: 1 / -1;
}

.calc-result {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: #ecf7f1;
  border: 1px solid #cce8d8;
  border-radius: 8px;
}

.calc-result strong {
  color: var(--green);
  font-size: 22px;
}

.calc-result span {
  color: var(--muted);
  font-size: 13px;
}

.spec-table-wrap {
  overflow: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 45, 54, 0.06);
}

.spec-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

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

.spec-table th {
  color: #ffffff;
  background: var(--blue);
  font-size: 13px;
}

.spec-table td {
  color: #445961;
  font-size: 14px;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  padding-top: 36px;
}

.about-grid {
  display: grid;
  gap: 22px;
}

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

.about-metrics span {
  display: grid;
  min-height: 104px;
  align-content: center;
  gap: 4px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}

.about-metrics strong {
  color: var(--ink);
  font-size: 20px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
  padding-top: 60px;
}

.contact-points {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.whatsapp-contact {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 16px;
  color: #ffffff;
  background: #117a5c;
  border: 1px solid #0d6b50;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(17, 122, 92, 0.2);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.whatsapp-contact:hover {
  background: #0b6b50;
  box-shadow: 0 18px 34px rgba(17, 122, 92, 0.28);
  transform: translateY(-2px);
}

.whatsapp-contact:focus-visible {
  outline: 3px solid rgba(244, 165, 34, 0.7);
  outline-offset: 3px;
}

.whatsapp-contact__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #168463;
  background: #ffffff;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 800;
}

.whatsapp-contact__copy {
  min-width: 0;
}

.whatsapp-contact__copy strong,
.whatsapp-contact__copy small {
  display: block;
  overflow-wrap: anywhere;
}

.whatsapp-contact__copy strong {
  font-size: 16px;
  line-height: 1.35;
}

.whatsapp-contact__copy small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.whatsapp-contact__arrow {
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.contact-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-support-grid > div {
  min-width: 0;
  padding: 0 16px;
  border-left: 1px solid var(--line);
}

.contact-support-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.contact-support-grid > div:last-child {
  padding-right: 0;
}

.contact-support-grid small,
.contact-support-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.contact-support-grid small {
  color: #6b7c82;
  font-size: 11px;
  font-weight: 700;
}

.contact-support-grid strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--charcoal);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
  }

  .menu-toggle,
  .nav-cta {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-links {
    margin-left: auto;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .brand {
    min-width: 190px;
  }

  .quick-links,
  .solution-grid,
  .product-grid,
  .calculator,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-links a:last-child {
    border-bottom: 0;
  }

  .product-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 12px 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 21, 27, 0.88), rgba(6, 21, 27, 0.58)),
      linear-gradient(0deg, rgba(6, 21, 27, 0.9), transparent 50%);
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero-stats,
  .calc-panel,
  .about-metrics {
    grid-template-columns: 1fr;
  }

  .section,
  .about,
  .contact {
    padding: 64px 0;
  }

  .calculator {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .contact-support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-support-grid > div,
  .contact-support-grid > div:first-child,
  .contact-support-grid > div:last-child {
    padding: 0;
    border-left: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
