:root {
  --blue: #2f5289;
  --blue-2: #0062c4;
  --orange: #dd9300;
  --gold: #dd9300;
  --cream: #f2eee5;
  --paper: #fbf7ef;
  --brown: #4b1c0e;
  --cyan: #40bdc8;
  --ink: #21304e;
  --muted: #67708b;
  --line: rgba(22, 33, 59, 0.12);
  --shadow: 0 22px 60px rgba(23, 47, 102, 0.18);
  --glow: 0 0 0 1px rgba(0, 98, 196, 0.18), 0 18px 44px rgba(0, 98, 196, 0.18);
  --grad-edge: linear-gradient(135deg, rgba(0, 98, 196, 0.55), rgba(64, 189, 200, 0.4), rgba(221, 147, 0, 0.45));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream) 0%, #ffffff 36%, #f4f8fb 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(242, 238, 229, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 58px;
  overflow: hidden;
}

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

.nav {
  display: flex;
  gap: clamp(12px, 2.5vw, 26px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #dd9300 0%, #b96f00 100%);
  box-shadow: 0 12px 26px rgba(221, 147, 0, 0.26);
}

.header-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #19b85a 0%, #25d366 100%);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3);
}

.header-cta::after {
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -70%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  content: "";
  animation: shine 2.8s ease-in-out infinite;
}

.header-cta:hover {
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.38);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(23, 47, 102, 0.18);
}

.button.ai-button {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 26px rgba(23, 47, 102, 0.22);
  border: 0;
  cursor: pointer;
  font: inherit;
}

.button.ai-button.compact {
  margin-top: 6px;
}

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

@keyframes shine {
  0% {
    left: -70%;
  }

  42%,
  100% {
    left: 130%;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: clamp(34px, 7vw, 96px) clamp(18px, 6vw, 96px);
  background:
    linear-gradient(135deg, rgba(242, 238, 229, 0.98), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 78% 18%, rgba(64, 189, 200, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(221, 147, 0, 0.17), transparent);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: clamp(2.55rem, 6vw, 5.65rem);
  line-height: 0.95;
}

.headline-band {
  display: inline-block;
  margin-top: 8px;
  padding: 0.04em 0.12em 0.1em;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-2) 0%, var(--blue) 100%);
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

h2 {
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue);
}

.hero-text {
  max-width: 620px;
  color: #3e4968;
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
}

.proof-grid span {
  padding: 13px 14px;
  border: 1px solid rgba(23, 47, 102, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-card {
  justify-self: center;
  width: min(420px, 100%);
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-card img {
  border-radius: 6px;
}

.section {
  scroll-margin-top: 78px;
  padding: clamp(54px, 8vw, 108px) clamp(18px, 6vw, 96px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 6vw, 96px);
  background: var(--line);
}

.metrics div {
  min-height: 118px;
  padding: 25px 22px;
  background: #fff;
}

.metrics strong {
  display: block;
  color: var(--orange);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 7px;
  color: var(--blue);
  font-weight: 800;
}

.intro p:last-child,
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.line-showcase {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

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

.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 310px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.line-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 320ms ease, opacity 320ms ease;
}

.line-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(16, 29, 69, 0.92) 100%);
  content: "";
  transition: opacity 220ms ease;
}

.line-card span,
.line-card strong {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 22px;
}

.line-card span {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.line-card strong {
  margin-bottom: 24px;
  color: #f1c56a;
  font-size: 0.95rem;
  line-height: 1.3;
}

.line-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 98, 196, 0.28);
}

.line-card:hover img {
  transform: scale(1.06);
  opacity: 0.9;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 22px;
  background:
    linear-gradient(145deg, rgba(75, 28, 14, 0.92), rgba(47, 82, 137, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(64, 189, 200, 0.34), transparent 32%);
}

.service-card span {
  margin-bottom: 0;
  padding: 0;
}

.service-card strong {
  margin-bottom: 0;
  padding: 0;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.15;
}

.search-box {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(23, 47, 102, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  box-shadow: 0 12px 26px rgba(23, 47, 102, 0.07);
}

.search-box input:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(243, 109, 33, 0.15);
}

.filter {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(23, 47, 102, 0.14);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter.active {
  color: #fff;
  background: var(--blue-2);
  border-color: var(--blue-2);
}

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

.product-card {
  position: relative;
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 47, 102, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card::before {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: var(--grad-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  content: "";
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow);
  border-color: transparent;
}

.product-card:hover::before {
  opacity: 1;
}

.product-content,
.product-action {
  margin-right: 20px;
  margin-left: 20px;
}

.product-content {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-action {
  margin-bottom: 20px;
  margin-top: auto;
  padding-top: 16px;
}

.product-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  transition: transform 320ms ease;
}

.product-card:hover .product-photo {
  transform: scale(1.04);
}

.spec-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  list-style: none;
}

.spec-list li {
  position: relative;
  padding-left: 14px;
}

.spec-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.product-action {
  color: var(--blue);
  font-weight: 800;
}

.empty-state {
  padding: 28px;
  border: 1px dashed rgba(23, 47, 102, 0.22);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.work {
  background:
    linear-gradient(135deg, rgba(242, 238, 229, 0.88), rgba(255, 255, 255, 0.95)),
    radial-gradient(circle at 85% 10%, rgba(64, 189, 200, 0.16), transparent 30%);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.work-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
  box-shadow: 0 14px 34px rgba(23, 47, 102, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.work-grid span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--gold);
  font-weight: 900;
}

.work-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.tag {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--brown);
  background: #f7e7bf;
  font-size: 0.76rem;
  font-weight: 800;
}

.catalog-section {
  background:
    linear-gradient(135deg, rgba(47, 82, 137, 0.98), rgba(0, 98, 196, 0.92)),
    radial-gradient(circle at 84% 18%, rgba(64, 189, 200, 0.22), transparent 30%);
}

.catalog-section h2,
.catalog-section .eyebrow {
  color: #fff;
}

.catalog-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.catalog-section .button.secondary {
  color: var(--blue);
  margin-top: 8px;
}

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

.catalog-page {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.catalog-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: #fff;
}

.equipment-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.equipment img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: 30px;
  padding: 42px clamp(18px, 6vw, 96px);
  color: #fff;
  background: var(--brown);
}

.ai-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 29, 69, 0.58);
  backdrop-filter: blur(10px);
}

.ai-modal.open {
  display: flex;
}

.primezito-teaser {
  display: none;
  position: fixed;
  right: 188px;
  bottom: 30px;
  z-index: 59;
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--blue);
  background: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(23, 47, 102, 0.18);
  opacity: 0;
  transform: translateX(28px) scale(0.92);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
}

.primezito-teaser strong {
  color: var(--blue-2);
}

.primezito-teaser::after {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: #fff;
  content: "";
}

.primezito-teaser.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  cursor: pointer;
  pointer-events: auto;
  animation: teaser-bob 2.4s ease-in-out 0.4s infinite;
}

@keyframes teaser-bob {
  0%, 100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(-4px) scale(1); }
}

.primezito-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 1px;
  min-width: 152px;
  min-height: 58px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  box-shadow: 0 18px 42px rgba(33, 48, 78, 0.28), 0 0 0 0 rgba(0, 98, 196, 0.45);
  cursor: pointer;
  text-align: left;
  transition: transform 200ms ease, box-shadow 200ms ease;
  animation: primezito-pulse 2.6s ease-in-out infinite;
}

.primezito-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(33, 48, 78, 0.34), 0 0 0 8px rgba(0, 98, 196, 0.12);
}

.primezito-button span {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.86;
}

.primezito-button strong {
  font-size: 1.02rem;
}

@keyframes primezito-pulse {
  0%, 100% {
    box-shadow: 0 18px 42px rgba(33, 48, 78, 0.28), 0 0 0 0 rgba(0, 98, 196, 0.5);
  }
  50% {
    box-shadow: 0 18px 42px rgba(33, 48, 78, 0.28), 0 0 0 12px rgba(0, 98, 196, 0);
  }
}

.primezito-chat {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 70;
  display: none;
  width: min(420px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 110px));
  overflow: hidden;
  border: 1px solid rgba(33, 48, 78, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
}

.primezito-chat.open {
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
}

.primezito-chat header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

.primezito-chat header div {
  display: grid;
  gap: 2px;
}

.primezito-chat header span {
  font-size: 0.82rem;
  opacity: 0.82;
}

.primezito-chat header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
  font-size: 1.35rem;
}

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

.primezito-reset {
  font-size: 1.1rem !important;
}

.primezito-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  padding: 16px;
  background: #fbf7ef;
}

.chat-message {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 12px;
  line-height: 1.42;
}

.chat-message.bot {
  justify-self: start;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.chat-message.user {
  justify-self: end;
  color: #fff;
  background: var(--blue-2);
}

.primezito-cart {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.primezito-cart strong {
  color: var(--blue);
}

.primezito-cart ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 12px;
  padding: 0;
  list-style: none;
}

.primezito-cart li {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--brown);
  background: #f7e7bf;
  font-size: 0.82rem;
  font-weight: 800;
}

.primezito-brief {
  margin: 0 0 12px;
  padding: 10px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
  font-size: 0.86rem;
  line-height: 1.42;
}

.primezito-brief strong {
  color: var(--blue);
}

.primezito-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.primezito-form input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(33, 48, 78, 0.18);
  border-radius: 999px;
  font: inherit;
}

.primezito-form button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.primezito-form button:disabled,
.primezito-form input:disabled {
  cursor: wait;
  opacity: 0.7;
}

.ai-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 22px;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 24px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.ai-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--blue);
  background: var(--cream);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.ai-form h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.ai-form p {
  color: var(--muted);
  line-height: 1.6;
}

.ai-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 800;
}

.ai-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.ai-choice-group legend {
  width: 100%;
  margin-bottom: 2px;
  color: var(--blue);
  font-weight: 900;
}

.ai-choice {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(23, 47, 102, 0.18);
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.ai-choice.active {
  color: #fff;
  border-color: #19b85a;
  background: linear-gradient(135deg, #19b85a, #25d366);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.18);
}

.ai-result {
  min-height: 100%;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff9ec, #f5f7ff);
  border: 1px solid var(--line);
}

.ai-placeholder {
  color: var(--muted);
  font-weight: 700;
}

.mix-result h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.mix-result p {
  color: var(--muted);
  line-height: 1.55;
}

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

.mix-list li {
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.mix-list strong {
  display: block;
  color: var(--blue);
}

.mix-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mix-note {
  padding: 13px;
  border-radius: 8px;
  color: var(--blue);
  background: rgba(239, 209, 118, 0.28);
  font-weight: 700;
}

.footer h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 2rem;
}

.footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  font-style: normal;
}

.contact-list a,
.contact-list span {
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .intro,
  .equipment,
  .footer,
  .ai-panel {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 0;
  }

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

  .hero-card {
    width: min(360px, 100%);
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    gap: 10px;
    padding: 8px 14px;
  }

  .brand {
    width: 92px;
    height: 44px;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .hero {
    gap: 28px;
    padding: 34px 16px 46px;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    font-size: clamp(2.38rem, 13vw, 3.25rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
    line-height: 1.06;
  }

  .headline-band {
    padding: 0.02em 0.1em 0.08em;
  }

  .hero-text,
  .intro p:last-child,
  .section-heading p {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .product-grid,
  .catalog-viewer,
  .line-grid,
  .work-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 16px;
  }

  .metrics div {
    min-height: 104px;
    padding: 18px 14px;
  }

  .metrics strong {
    font-size: 2rem;
  }

  .metrics span {
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .section {
    scroll-margin-top: 64px;
    padding: 54px 16px;
  }

  .intro,
  .equipment {
    gap: 24px;
  }

  .line-card,
  .line-card img {
    min-height: 232px;
  }

  .line-card span {
    bottom: 58px;
    font-size: 1.1rem;
  }

  .line-card strong {
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .search-box input {
    min-height: 50px;
    padding: 0 14px;
    font-size: 0.95rem;
  }

  .filters {
    gap: 8px;
    margin-bottom: 18px;
  }

  .filter {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.9rem;
  }

  .product-grid {
    gap: 18px;
  }

  .product-photo {
    height: 210px;
  }

  .product-content,
  .product-action {
    margin-right: 16px;
    margin-left: 16px;
  }

  .product-content {
    margin-top: 16px;
  }

  .product-action {
    margin-bottom: 18px;
  }

  .work-grid article {
    min-height: auto;
    padding: 20px;
  }

  .equipment img {
    max-height: none;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .footer {
    padding-bottom: 96px;
  }

  .ai-modal {
    align-items: stretch;
    padding: 10px;
  }

  .ai-panel {
    max-height: calc(100vh - 20px);
    padding: 18px;
    border-radius: 10px;
  }

  .ai-choice-group {
    gap: 7px;
  }

  .ai-choice {
    flex: 1 1 100%;
    min-height: 40px;
  }

  .ai-result {
    min-height: 160px;
    padding: 16px;
  }

  .primezito-button {
    right: 14px;
    bottom: 14px;
    min-width: 0;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .primezito-button span {
    display: none;
  }

  .primezito-button strong {
    font-size: 0;
  }

  .primezito-button::before {
    content: "💬";
    font-size: 1.45rem;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
  }

  .primezito-teaser {
    right: 14px;
    bottom: 80px;
    padding: 9px 13px;
    font-size: 0.84rem;
  }

  .primezito-teaser.visible {
    display: block;
  }

  .primezito-teaser::after {
    top: auto;
    right: 20px;
    bottom: -8px;
    left: auto;
    transform: none;
    border-color: transparent;
    border-top-color: #fff;
  }

  @keyframes teaser-bob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1); }
  }

  .primezito-chat {
    right: 8px;
    left: 8px;
    bottom: 92px;
    width: auto;
    max-height: calc(100vh - 108px);
    border-radius: 14px;
  }

  .primezito-form {
    grid-template-columns: 1fr;
  }

  .primezito-form button {
    width: 100%;
  }

  .hero-card {
    width: min(320px, 100%);
    transform: none;
  }
}

@media (max-width: 380px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }

  .product-photo {
    height: 190px;
  }

  .primezito-button {
    width: 52px;
    height: 52px;
    right: 12px;
    bottom: 12px;
  }

  .primezito-button::before {
    font-size: 1.3rem;
  }

  .primezito-teaser {
    right: 12px;
    bottom: 74px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .primezito-teaser::after {
    right: 18px;
  }
}
