:root {
  --ink: #0d1b2a;
  --ink-soft: #24364b;
  --blue: #1155cc;
  --blue-dark: #073b8e;
  --cyan: #28c7fa;
  --green: #19b86a;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --line: #dce5f0;
  --muted: #68778c;
  --radius: 8px;
  --shadow: 0 20px 50px rgba(13, 27, 42, 0.12);
}

* {
  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: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 85, 204, 0.25);
}

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

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

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.nav-cta {
  padding: 12px 16px;
  color: white;
  background: var(--green);
  border-radius: var(--radius);
}

.nav-cta:hover {
  color: white;
  background: #119858;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #07111f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.68), rgba(7, 17, 31, 0.2)),
    url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&q=80&w=2200") center/cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}

.hero-content {
  position: relative;
  width: min(1120px, 90vw);
  margin: 0 auto;
  color: white;
}

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

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.btn.primary:hover {
  background: var(--blue-dark);
}

.btn.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

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

.btn.full {
  width: 100%;
}

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

.trust-row span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.quick-info article {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

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

.quick-info strong {
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.quick-info span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.section,
.catalog-section,
.about-section,
.contact-section {
  padding: 86px 5vw;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.section-heading h2,
.about-section h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card,
.product-card,
.diagnostic-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.service-card {
  min-height: 245px;
  padding: 26px;
}

.service-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3,
.diagnostic-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.2;
}

.service-card p,
.diagnostic-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.catalog-section {
  background: var(--mist);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto 22px;
}

.catalog-toolbar label {
  display: grid;
  gap: 8px;
}

.catalog-toolbar span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-toolbar input,
.catalog-toolbar select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.catalog-status {
  max-width: 1180px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-card {
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(13, 27, 42, 0.04);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe7f2;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 9px;
  color: white;
  background: var(--blue);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body {
  padding: 18px;
}

.product-category {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.product-price {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.product-description {
  min-height: 72px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-actions button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.product-actions a {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-points span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
}

.diagnostic-card {
  padding: 30px;
  box-shadow: var(--shadow);
}

.diagnostic-card > span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagnostic-card .btn {
  margin-top: 24px;
}

.contact-section {
  background: linear-gradient(135deg, var(--blue-dark), #08192d);
}

.contact-panel {
  max-width: 960px;
  margin: 0 auto;
  color: white;
  text-align: center;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 5vw;
  color: var(--muted);
  background: #07111f;
  font-size: 13px;
}

.footer a {
  color: white;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-grid;
  min-height: 48px;
  place-items: center;
  padding: 0 18px;
  color: white;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(25, 184, 106, 0.35);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: 24px;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.72);
}

.modal-card {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.modal-body {
  padding: 34px;
}

.modal-body h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.1;
}

.modal-description {
  color: var(--muted);
  line-height: 1.65;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  background: white;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 980px) {
  .quick-info,
  .services-grid,
  .product-grid,
  .about-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5vw 18px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 0;
  }

  .hero {
    min-height: 760px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.76)),
      url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&q=80&w=1600") center/cover;
  }

  .quick-info,
  .services-grid,
  .product-grid,
  .about-section,
  .modal-card {
    grid-template-columns: 1fr;
  }

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

  .section,
  .catalog-section,
  .about-section,
  .contact-section {
    padding: 64px 5vw;
  }

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

  .footer {
    flex-direction: column;
  }

  .modal-card img {
    min-height: 260px;
  }
}
