:root {
  --bg: #080c12;
  --surface: #0e151e;
  --surface-2: #141e2a;
  --surface-3: #1b2837;
  --line: #223144;
  --line-soft: rgba(255, 255, 255, .075);
  --text: #edf1f6;
  --muted: #8d9bad;
  --muted-2: #637286;
  --accent: #ffb020;
  --accent-2: #ffc95e;
  --ok: #4bd4a0;
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 50% -20%, rgba(255, 176, 32, .095), transparent 62%),
    radial-gradient(800px 600px at 100% 35%, rgba(83, 138, 205, .06), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
span, a, strong { word-break: normal; }
svg { display: block; }
.icon-svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
  padding: 0 max(24px, 5vw);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 12, 18, .82);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #ffd166, #ff9f00);
  color: #201504;
  box-shadow: 0 10px 28px rgba(255, 159, 0, .18);
}
.brand-mark svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy strong { display: block; font-size: 15px; letter-spacing: -.03em; font-weight: 750; }
.brand-copy small { display: block; margin-top: 1px; color: var(--muted-2); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { color: var(--muted); font-size: 11px; transition: color .15s ease; }
.site-nav a:hover { color: var(--text); }
.header-actions { flex: 0 0 auto; }
.login-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 10px;
  transition: .15s ease;
}
.login-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-link:hover { border-color: var(--muted-2); color: var(--text); }

main { overflow: hidden; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr);
  align-items: center;
  gap: 48px;
  width: min(1180px, 90vw);
  min-height: 570px;
  margin: 0 auto;
  padding: 64px 0 50px;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin: 17px 0 17px;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 800;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-text { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 650;
  transition: .18s ease;
}
.btn span { font-size: 15px; line-height: 1; }
.btn-primary { background: var(--accent); color: #1c1404; box-shadow: 0 10px 26px rgba(255, 176, 32, .13); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--muted); }
.btn-ghost:hover { border-color: var(--muted-2); color: var(--text); }
.btn-soft { border-color: var(--line); background: var(--surface-2); color: var(--text); }
.btn-soft:hover { border-color: var(--muted-2); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 30px; color: var(--muted-2); font-size: 9px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(75, 212, 160, .08); }

.hero-visual { position: relative; min-height: 440px; }
.hero-orbit { position: absolute; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; pointer-events: none; }
.orbit-one { inset: 4% 0 7% 9%; transform: rotate(-14deg); }
.orbit-two { inset: 13% -4% 0 21%; transform: rotate(18deg); border-color: rgba(255, 176, 32, .1); }
.hero-glow {
  position: absolute;
  inset: 18% 8% 12% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 32, .18), transparent 65%);
  filter: blur(16px);
}
.hero-stack { position: absolute; inset: 8% 0 5% 6%; }
.hero-card {
  position: absolute;
  width: 46%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 15px;
  background: var(--surface-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}
.hero-card:nth-child(1) { top: 2%; left: 20%; transform: rotate(-4deg); z-index: 3; }
.hero-card:nth-child(2) { top: 27%; left: 0; transform: rotate(-9deg); z-index: 2; width: 37%; }
.hero-card:nth-child(3) { top: 31%; right: 0; transform: rotate(7deg); z-index: 4; width: 36%; }
.hero-card .product-media { aspect-ratio: 4 / 3; }
.hero-card .hero-card-meta { padding: 9px 10px; background: rgba(13, 20, 29, .96); }
.hero-card .hero-card-meta strong { display: block; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.hero-card .hero-card-meta span { display: block; margin-top: 2px; color: var(--accent); font-size: 8px; font-weight: 650; }
.hero-note {
  position: absolute;
  right: 2%;
  bottom: 0;
  z-index: 6;
  padding: 11px 14px;
  border: 1px solid rgba(255, 176, 32, .22);
  border-radius: 10px;
  background: rgba(13, 20, 29, .88);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  backdrop-filter: blur(12px);
}
.hero-note span { color: var(--accent); margin-right: 3px; }
.hero-note small { color: var(--muted-2); font-size: 8px; }

.section { width: min(1180px, 90vw); margin: 0 auto; padding: 74px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -.05em; }
.section-head > p { max-width: 310px; margin: 0; color: var(--muted-2); font-size: 10px; line-height: 1.6; text-align: right; }
.novedades { border-top: 1px solid var(--line-soft); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
}
.product-card:hover { border-color: rgba(255, 176, 32, .34); transform: translateY(-2px); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0d141d; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-badge, .product-new {
  position: absolute;
  top: 10px;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.product-badge { left: 10px; background: rgba(6, 11, 17, .7); color: rgba(255, 255, 255, .7); }
.product-new { right: 10px; background: var(--accent); color: #1c1404; }
.product-body { display: flex; flex-direction: column; gap: 6px; padding: 13px 13px 12px; }
.product-body h3 { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: -.02em; }
.product-body p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; min-height: 30px; color: var(--muted-2); font-size: 9.5px; line-height: 1.5; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; }
.product-price { color: var(--text); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-price small { margin-left: 2px; color: var(--muted-2); font-size: 7.5px; font-weight: 500; }
.product-consult { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 8.5px; font-weight: 650; }
.product-consult span { font-size: 12px; }
.placeholder-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 15px;
  background:
    radial-gradient(circle at 72% 23%, var(--art-a, #ffb020) 0, transparent 32%),
    linear-gradient(145deg, var(--art-b, #5f3c00), #0a1018 76%);
}
.placeholder-art strong { position: relative; z-index: 1; color: #fff; font-size: 29px; font-weight: 800; letter-spacing: -.07em; opacity: .9; }
.placeholder-art small { position: relative; z-index: 1; color: rgba(255,255,255,.55); font-size: 8px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.placeholder-art i { position: absolute; top: 21%; right: 18%; width: 28%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.25); border-radius: 32% 68% 55% 45%; transform: rotate(24deg); box-shadow: inset 0 0 26px rgba(255,255,255,.11); }

.catalog-section { border-top: 1px solid var(--line-soft); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.category-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.category-chip {
  height: 29px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--muted-2);
  font-size: 8.5px;
  transition: .15s ease;
}
.category-chip:hover { color: var(--text); border-color: var(--muted-2); }
.category-chip.is-active { border-color: rgba(255, 176, 32, .35); background: rgba(255, 176, 32, .08); color: var(--accent); font-weight: 650; }
.catalog-search { position: relative; flex: 0 0 220px; }
.catalog-search svg { position: absolute; left: 10px; top: 10px; width: 13px; height: 13px; fill: none; stroke: var(--muted-2); stroke-width: 1.8; stroke-linecap: round; }
.catalog-search input { width: 100%; height: 33px; padding: 0 11px 0 29px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); font-size: 9.5px; }
.catalog-search input::placeholder { color: var(--muted-2); }
.catalog-search input:focus { outline: none; border-color: rgba(255,176,32,.5); }
.catalog-grid { border-top: 1px solid var(--line-soft); padding-top: 16px; }
.catalog-empty { padding: 48px 20px; text-align: center; color: var(--muted-2); }
.catalog-empty > span { color: var(--accent); font-size: 21px; }
.catalog-empty h3 { margin: 8px 0 4px; color: var(--text); font-size: 16px; }
.catalog-empty p { margin: 0 0 14px; font-size: 10px; }

.contact-section { border-top: 1px solid var(--line-soft); }
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 38px;
  border: 1px solid rgba(255, 176, 32, .18);
  border-radius: 18px;
  background:
    radial-gradient(500px 220px at 88% 0%, rgba(255, 176, 32, .11), transparent 70%),
    linear-gradient(145deg, #111923, #0a1018);
}
.contact-card h2 { margin: 9px 0 7px; font-size: clamp(25px, 3.3vw, 38px); line-height: 1.06; letter-spacing: -.05em; }
.contact-card p { max-width: 430px; margin: 0; color: var(--muted-2); font-size: 10.5px; line-height: 1.6; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.contact-actions .btn { min-height: 43px; }
.contact-missing { flex-basis: 100%; max-width: 260px; margin: 0; color: var(--muted-2); font-size: 9px; text-align: right; }

.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
}
.footer-brand { display: flex; align-items: center; gap: 9px; }
.brand-mark.small { width: 28px; height: 28px; border-radius: 8px; }
.brand-mark.small svg { width: 16px; height: 16px; }
.footer-brand strong { display: block; color: var(--muted); font-size: 10px; font-weight: 650; }
.footer-brand small { display: block; margin-top: 1px; font-size: 8px; }
.footer-links { display: flex; gap: 18px; margin-left: auto; font-size: 9px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 8px; }

.product-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.product-modal-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 10, .78); backdrop-filter: blur(8px); }
.product-modal-card {
  position: relative;
  z-index: 1;
  width: min(830px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.modal-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(8,12,18,.7); color: #fff; font-size: 20px; line-height: 1; }
.modal-product-grid { display: grid; grid-template-columns: 1.05fr .95fr; }
.modal-product-media { min-height: 300px; background: #0d141d; }
.modal-product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-product-body { padding: 30px 28px 28px; }
.modal-product-body h2 { margin: 8px 0 6px; font-size: 28px; letter-spacing: -.045em; }
.modal-product-body p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.modal-product-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; color: var(--accent); font-size: 24px; font-weight: 750; }
.modal-product-price small { color: var(--muted-2); font-size: 9px; font-weight: 500; }
.modal-product-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-product-actions .btn { flex: 1 1 auto; }
.modal-product-note { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line-soft); color: var(--muted-2); font-size: 9px; line-height: 1.6; }

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 10px;
  box-shadow: 0 12px 34px rgba(0,0,0,.3);
}
body.modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .site-header { gap: 16px; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 45px; }
  .hero-visual { min-height: 380px; width: min(520px, 100%); margin: 8px auto 0; }
  .hero h1 { max-width: 720px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .section-head > p { max-width: 460px; text-align: left; }
  .contact-card { align-items: flex-start; flex-direction: column; padding: 26px; }
  .contact-actions { justify-content: flex-start; }
  .contact-missing { text-align: left; }
  .site-footer { flex-wrap: wrap; }
  .footer-links { order: 3; width: 100%; margin: 0; }
}

@media (max-width: 620px) {
  .site-header { height: 64px; padding: 0 16px; }
  .brand-copy small { display: none; }
  .login-link span { display: none; }
  .login-link { width: 34px; justify-content: center; padding: 0; }
  .hero, .section, .site-footer { width: calc(100% - 32px); }
  .hero { padding: 38px 0 35px; }
  .hero h1 { font-size: 44px; }
  .hero-text { font-size: 13px; }
  .hero-visual { min-height: 300px; }
  .hero-card:nth-child(1) { width: 52%; left: 19%; }
  .hero-card:nth-child(2) { width: 41%; }
  .hero-card:nth-child(3) { width: 40%; }
  .hero-note { right: 0; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 29px; }
  .product-grid { gap: 9px; }
  .product-body { padding: 10px; }
  .product-body h3 { font-size: 11px; }
  .product-body p { font-size: 8.5px; min-height: 26px; }
  .product-price { font-size: 11px; }
  .product-consult { font-size: 7.5px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-search { flex-basis: auto; }
  .modal-product-grid { grid-template-columns: 1fr; }
  .modal-product-media { min-height: 220px; }
  .modal-product-body { padding: 22px; }
  .modal-product-body h2 { font-size: 23px; }
  .contact-card { padding: 21px; }
  .site-footer { gap: 16px; padding-bottom: 26px; }
}
