:root {
  --ink: #15202b;
  --muted: #65717f;
  --line: #d9e1e8;
  --surface: #ffffff;
  --soft: #f5f7f9;
  --accent: #d6452f;
  --accent-dark: #a92f20;
  --yellow: #e4b329;
  --steel: #34495e;
  --green: #1e7f5c;
  --shadow: 0 18px 50px rgba(21, 32, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--soft);
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  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: 12px;
  min-width: 220px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 800;
  background: var(--accent);
  border-radius: 6px;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--steel);
  font-size: 14px;
}

.cart-button,
.primary-button,
.hero-search button {
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}

.cart-button span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  color: var(--accent);
  background: #fff;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111923;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 21, 0.88), rgba(10, 15, 21, 0.6) 42%, rgba(10, 15, 21, 0.14));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 86px);
  padding: 56px 0 104px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.6;
}

.hero-search {
  display: flex;
  width: min(660px, 100%);
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 16px;
  border: 0;
  outline: 0;
}

.hero-search button {
  padding: 0 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-row span {
  padding: 8px 10px;
  color: #eef4f8;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 13px;
}

.quick-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-tools div {
  padding: 26px clamp(18px, 4vw, 44px);
  background: #fff;
}

.quick-tools strong,
.quick-tools span {
  display: block;
}

.quick-tools span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.browse-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.browse-column {
  padding: 28px clamp(18px, 3vw, 40px);
  background: var(--soft);
}

.browse-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.browse-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.product-overview,
.catalog-section,
.about-section,
.process-section,
.service-section,
.faq-section,
.contact-band {
  padding: 72px clamp(18px, 4vw, 56px);
}

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

.section-heading h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.section-heading p:not(.eyebrow),
.contact-band p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.product-overview {
  background: #fff;
}

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

.product-lines article {
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.product-lines div {
  padding: 18px;
}

.product-lines h3,
.product-lines p {
  margin: 0;
}

.product-lines p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.product-lines a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.filters {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline-color: var(--accent);
}

textarea {
  resize: vertical;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 20px;
  align-items: start;
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
}

.text-button {
  border: 0;
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

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

.load-more {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.load-more[hidden] {
  display: none;
}

.product-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(21, 32, 43, 0.06);
}

.product-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-card h3 {
  margin: 0;
  font-size: 20px;
}

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

.badge {
  align-self: start;
  white-space: nowrap;
  padding: 6px 8px;
  color: var(--green);
  background: #eaf7f1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.badge.muted {
  color: var(--steel);
  background: #edf1f5;
}

.part-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.part-meta span {
  padding: 10px;
  background: var(--soft);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
}

.part-meta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.card-actions {
  display: flex;
  gap: 10px;
}

.card-actions button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
}

.card-actions button {
  flex: 1;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.card-actions button:first-child {
  color: #fff;
  background: var(--accent);
}

.rfq-panel {
  position: sticky;
  top: 88px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-head h2 {
  margin: 0;
}

.rfq-items {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  margin-bottom: 16px;
}

.empty-rfq {
  padding: 16px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 6px;
  line-height: 1.5;
}

.rfq-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  background: var(--soft);
  border-radius: 6px;
}

.rfq-item strong,
.rfq-item small {
  display: block;
}

.rfq-item small {
  margin-top: 3px;
  color: var(--muted);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.quote-form {
  display: grid;
  gap: 12px;
}

.whatsapp-link {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-weight: 800;
}

.no-results {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(21, 32, 43, 0.06);
}

.no-results h3,
.no-results p {
  margin: 0;
}

.no-results p {
  color: var(--muted);
  line-height: 1.6;
}

.no-results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-weight: 800;
}

.process-section {
  background: #fff;
}

.service-section {
  background: var(--soft);
}

.requirements-section {
  padding: 72px clamp(18px, 4vw, 56px);
  background: #fff;
}

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

.requirements-grid article {
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.requirements-grid strong {
  color: var(--accent);
}

.requirements-grid h3,
.requirements-grid p {
  margin: 0;
}

.requirements-grid h3 {
  margin-top: 12px;
}

.requirements-grid p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

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

.service-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-grid h3,
.service-grid p {
  margin: 0;
  padding: 0 18px;
}

.service-grid h3 {
  padding-top: 18px;
}

.service-grid p {
  padding-top: 8px;
  padding-bottom: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-section {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.faq-list details {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  background: #fff;
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
}

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

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.about-points span {
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.about-media {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
  align-items: end;
}

.about-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
}

.about-media img:last-child {
  height: 300px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-grid article {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid span {
  color: var(--accent);
  font-weight: 900;
}

.process-grid h3 {
  margin: 14px 0 10px;
}

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

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: var(--steel);
}

.contact-band p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: 360px;
  padding: 12px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.55fr));
  gap: 28px;
  padding: 48px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.86);
  background: #121b25;
}

.site-footer h2,
.site-footer h3,
.site-footer p {
  margin: 0;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.site-footer a {
  display: block;
  margin-top: 9px;
}

.footer-logo {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  object-fit: cover;
  border-radius: 6px;
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 28;
  display: grid;
  gap: 10px;
}

.floating-contact a {
  display: grid;
  place-items: center;
  min-width: 104px;
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.floating-contact a:last-child {
  background: var(--steel);
}

.product-modal {
  width: min(920px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.product-modal::backdrop {
  background: rgba(15, 22, 30, 0.64);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 36px;
  padding: 0 12px;
  color: #fff;
  background: rgba(21, 32, 43, 0.82);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.modal-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  background: #fff;
}

.modal-detail img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: var(--soft);
}

.modal-body {
  display: grid;
  gap: 16px;
  padding: 34px;
}

.modal-body h2,
.modal-body p {
  margin: 0;
}

.modal-body p {
  color: var(--muted);
  line-height: 1.6;
}

.modal-meta {
  display: grid;
  gap: 8px;
}

.modal-meta span {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: var(--soft);
  border-radius: 6px;
  color: var(--muted);
}

.modal-meta strong {
  color: var(--ink);
}

.product-page {
  background: var(--soft);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px clamp(18px, 4vw, 56px) 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 800;
}

.product-detail-page {
  padding: 24px clamp(18px, 4vw, 56px) 72px;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-detail-hero > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  background: var(--soft);
}

.product-detail-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(26px, 4vw, 48px);
}

.product-detail-copy h1,
.product-detail-copy p {
  margin: 0;
}

.product-detail-copy h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.product-detail-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-back {
  min-height: 44px;
  padding: 0 10px;
}

.detail-placeholder {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compact-section {
  padding-top: 32px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }

  .quick-tools,
  .browse-section,
  .product-lines,
  .service-grid,
  .requirements-grid,
  .filters,
  .catalog-layout,
  .about-section,
  .process-grid,
  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .catalog-layout,
  .about-section,
  .contact-band {
    display: grid;
  }

  .about-media {
    grid-template-columns: 1fr 1fr;
  }

  .about-media img,
  .about-media img:last-child {
    height: 260px;
  }

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

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

  .modal-detail img {
    min-height: 280px;
    max-height: 360px;
  }

  .product-detail-hero > img {
    min-height: 320px;
    max-height: 420px;
  }

  .rfq-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 96px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 122px);
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

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

  .cart-button {
    padding: 8px 10px;
  }

  .hero {
    min-height: calc(100vh - 96px);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 15, 21, 0.9), rgba(10, 15, 21, 0.56));
  }

  .hero-content {
    margin: 0 18px;
    padding: 42px 0 88px;
  }

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

  .hero-search {
    display: grid;
  }

  .hero-search button {
    min-height: 48px;
  }

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

  .product-overview,
  .catalog-section,
  .about-section,
  .process-section,
  .service-section,
  .faq-section,
  .requirements-section,
  .contact-band {
    padding: 48px 16px;
  }

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

  .about-points,
  .about-media {
    grid-template-columns: 1fr;
  }

  .about-media img,
  .about-media img:last-child {
    height: 220px;
  }

  .floating-contact {
    right: 12px;
    bottom: 72px;
  }

  .floating-contact a {
    min-width: 88px;
    min-height: 38px;
    font-size: 13px;
  }

  .modal-body {
    padding: 24px 18px;
  }
}
