:root {
  --ink: #122033;
  --muted: #5c6877;
  --line: #dbe3ec;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #063786;
  --sky: #32a8df;
  --teal: #11a59a;
  --steel: #dfe8ef;
  --shadow: 0 18px 48px rgba(18, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", "Noto Sans", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 104px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 236, 0.9);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 220px;
  height: 76px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: #314154;
}

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

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

.language-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #edf3f7;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-btn {
  min-width: 36px;
  height: 34px;
  padding: 0 10px;
  color: #465668;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.lang-btn.active {
  color: var(--white);
  background: var(--blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0b1b2d;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 36, 0.92) 0%, rgba(7, 21, 36, 0.78) 42%, rgba(7, 21, 36, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 21, 36, 0.54), rgba(7, 21, 36, 0.06));
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0 78px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.2;
}

.btn.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 16px 30px rgba(17, 165, 154, 0.3);
}

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

.btn.secondary.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 12px;
  margin: 44px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

section {
  padding: clamp(58px, 9vw, 100px) clamp(18px, 4vw, 54px);
}

.section-head {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.narrow {
  max-width: 760px;
}

.section-head h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.pain-band {
  background: var(--white);
}

.clients {
  background: #f4f8fb;
}

.clients .section-head p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px auto 0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.client-grid figure {
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 32, 51, 0.06);
}

.client-grid img {
  width: 100%;
  max-width: 165px;
  max-height: 130px;
  object-fit: contain;
}

.pain-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pain-grid article,
.steps article {
  min-height: 230px;
  padding: 24px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pain-grid span,
.steps span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--blue);
  background: #e9f6fc;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

h3 {
  margin: 18px 0 10px;
  font-size: 21px;
  line-height: 1.22;
}

p {
  color: var(--muted);
}

.models {
  background: linear-gradient(180deg, #eef4f8 0%, #ffffff 100%);
}

.model-switch {
  display: flex;
  width: min(590px, 100%);
  margin: 0 auto 22px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(18, 32, 51, 0.08);
}

.model-tab {
  flex: 1;
  min-height: 46px;
  padding: 0 14px;
  color: #405166;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.model-tab.active {
  color: var(--white);
  background: var(--blue);
}

.model-panel {
  display: none;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.model-panel.active {
  display: block;
}

.model-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: clamp(22px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.model-content.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.model-content h3 {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #344458;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--white);
}

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

.product-strip figure {
  margin: 0;
  padding: 12px;
  background: #f2f6f9;
  border: 1px solid #e1e9ef;
  border-radius: 8px;
}

.product-strip img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
}

.product-strip figcaption {
  padding-top: 10px;
  font-weight: 900;
  text-align: center;
}

.hood-visual {
  overflow: hidden;
  border-radius: 8px;
}

.hood-visual img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.compare {
  background: #112237;
  color: var(--white);
}

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

.compare-table {
  width: min(1050px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.compare-table > div {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
}

.compare-table > div:first-child {
  background: rgba(50, 168, 223, 0.22);
  font-weight: 900;
}

.compare-table [role="cell"],
.compare-table [role="columnheader"] {
  min-height: 70px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.compare-table [role="cell"]:last-child,
.compare-table [role="columnheader"]:last-child {
  border-right: 0;
}

.process {
  background: var(--white);
}

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

.steps article {
  min-height: 250px;
}

.contact {
  background:
    linear-gradient(90deg, rgba(6, 55, 134, 0.92), rgba(17, 165, 154, 0.88)),
    url("assets/hero-kitchen.webp") center / cover;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
  color: var(--white);
}

.contact-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.83);
}

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

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 54px);
  background: #081524;
  color: rgba(255, 255, 255, 0.86);
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-align: right;
}

.footer a + a {
  margin-top: 8px;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--white);
  background: #21b45b;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    position: static;
  }

  .brand img {
    width: 200px;
    height: 70px;
    margin: 0 auto;
  }

  .nav-links {
    order: 3;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .header-actions {
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 21, 36, 0.96), rgba(7, 21, 36, 0.64));
  }

  .pain-grid,
  .steps,
  .model-content,
  .model-content.reverse,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

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

  .contact-actions {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 184px;
    height: 64px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .nav-links {
    font-size: 13px;
  }

  .hero-inner {
    width: min(100% - 28px, 1120px);
    padding: 58px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-stats,
  .pain-grid,
  .client-grid,
  .product-strip,
  .compare-table > div {
    grid-template-columns: 1fr;
  }

  .client-grid figure {
    min-height: 160px;
  }

  .hero-stats {
    max-width: 280px;
  }

  .model-switch {
    border-radius: 8px;
  }

  .model-tab {
    min-height: 54px;
    border-radius: 6px;
  }

  .compare-table [role="cell"],
  .compare-table [role="columnheader"] {
    border-right: 0;
  }

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

  .footer a {
    text-align: left;
  }
}
