:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(10, 10, 10, 0.86);
  --line: rgba(255, 255, 255, 0.1);
  --line-hot: rgba(249, 115, 22, 0.58);
  --orange: #fb923c;
  --orange-strong: #f97316;
  --text: #ffffff;
  --muted: #d1d5db;
  --soft: #9ca3af;
  --shadow-hot: rgba(249, 115, 22, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  filter: saturate(0.92) contrast(1.08);
}

.hero-overlay {
  background:
    radial-gradient(circle at 73% 58%, rgba(249, 115, 22, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.42) 100%),
    rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 88px 24px 52px;
  display: flex;
  align-items: start;
}

.hero-copy {
  width: min(100%, 900px);
}

.hero-eyebrow {
  display: inline-block;
  border: 1px solid rgba(249, 115, 22, 0.6);
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.hero-title {
  margin: 24px 0 24px;
  color: var(--text);
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  color: var(--orange);
}

.hero-description {
  max-width: 780px;
  margin: 0 0 40px;
  color: #e5e7eb;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 18px;
  padding: 12px 24px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.primary-action {
  background: var(--orange-strong);
  color: #080808;
  box-shadow: 0 18px 50px var(--shadow-hot);
}

.primary-action:hover,
.primary-action:focus-visible {
  background: #ea580c;
  transform: translateY(-1px);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--text);
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

.category-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
}

.category-link {
  display: block;
  min-height: 98px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.category-link:hover,
.category-link:focus-visible {
  border-color: var(--orange-strong);
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-2px);
}

.category-link span {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 950;
}

.category-link strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.products-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-anchor {
  position: relative;
  top: -96px;
  width: 1px;
  height: 1px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 80px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.04), transparent 28%),
    var(--panel);
  outline: none;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.48);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.07), transparent 34%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(249, 115, 22, 0.1);
}

.product-image-panel {
  position: relative;
  align-self: start;
  width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 2;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.1), transparent 44%),
    #050505;
  cursor: zoom-in;
}

.product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition: transform 260ms ease;
}

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

.product-image-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 48%, transparent 54%);
  opacity: 0;
  transform: translateX(-40%);
  transition:
    opacity 220ms ease,
    transform 620ms ease;
}

.product-card:hover .product-image-shine {
  opacity: 1;
  transform: translateX(40%);
}

.product-content {
  padding: 48px;
}

.product-model {
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-title {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 950;
  line-height: 1.08;
}

.product-description {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.application-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.application-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.1);
  padding: 8px 14px;
  color: #fdba74;
  font-size: 14px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.product-modal-dialog {
  position: relative;
  width: min(100%, 1180px);
  max-height: min(92vh, 900px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  overflow: hidden;
  border: 1px solid var(--line-hot);
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.72);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.76);
  color: var(--text);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.modal-media {
  min-height: 620px;
  background: #050505;
}

.modal-media img {
  width: 100%;
  height: 100%;
}

.modal-media img {
  object-fit: contain;
}

.modal-copy {
  overflow-y: auto;
  padding: 56px 36px 36px;
}

.modal-copy .product-title {
  font-size: clamp(30px, 3vw, 42px);
}

.modal-copy .product-description {
  font-size: 16px;
}

.modal-whatsapp {
  width: 100%;
}

@media (max-width: 1080px) {
  .category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-image-panel,
  .product-image {
    min-height: auto;
  }

  .product-image-panel {
    aspect-ratio: 3 / 2;
  }

  .product-modal-dialog {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .modal-media {
    min-height: auto;
    aspect-ratio: 3 / 2;
  }

  .modal-copy {
    overflow: visible;
  }
}

@media (max-width: 720px) {
  .hero-content {
    padding: 72px 18px 40px;
    align-items: flex-end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.92) 58%, #000000 100%),
      rgba(0, 0, 0, 0.38);
  }

  .hero-image {
    opacity: 0.22;
    object-position: center top;
  }

  .hero-eyebrow {
    max-width: 100%;
    padding: 9px 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .hero-title {
    font-size: clamp(42px, 15vw, 62px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    margin-bottom: 34px;
  }

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

  .category-link {
    min-height: 82px;
    padding: 14px;
    border-radius: 16px;
  }

  .products-section {
    padding: 64px 18px;
  }

  .product-card {
    margin-bottom: 48px;
    border-radius: 20px;
  }

  .product-content {
    padding: 28px 22px 30px;
  }

  .product-model {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .product-title {
    font-size: 30px;
  }

  .product-description {
    font-size: 15px;
    line-height: 1.7;
  }

  .product-actions,
  .hero-actions {
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
  }

  .product-modal {
    padding: 10px;
  }

  .product-modal-dialog {
    max-height: 94vh;
    border-radius: 18px;
  }

  .modal-media {
    aspect-ratio: 3 / 2;
  }

  .modal-copy {
    padding: 28px 20px 22px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }
}
