:root {
  --ink: #090909;
  --ink-2: #292929;
  --brand-blue: #1e79c8;
  --brand-blue-dark: #155e9f;
  --brand-blue-soft: #eaf5ff;
  --line: #dedede;
  --muted: #666666;
  --bg: #f5f5f5;
  --white: #ffffff;
  --black: #050505;
  --green: #20a75a;
  --green-dark: #168347;
  --warning: #fff7d9;
  --warning-line: #e8d287;
  --danger: #b42318;
  --shadow: 0 18px 44px rgba(0, 0, 0, .10);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e2e2e2;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 245px; height: 68px; object-fit: contain; object-position: left center; }
.header-link {
  text-decoration: none;
  font-weight: 850;
  color: var(--black);
  padding: 10px 15px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  transition: .2s ease;
}
.header-link:hover { color: var(--brand-blue-dark); border-color: var(--brand-blue); background: var(--brand-blue-soft); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(30, 121, 200, .42), transparent 31%),
    radial-gradient(circle at 4% 100%, rgba(30, 121, 200, .18), transparent 28%),
    linear-gradient(135deg, #020202 0%, #101010 56%, #071b2c 100%);
  color: var(--white);
  padding: 74px 0 68px;
  border-bottom: 5px solid var(--brand-blue);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to right, transparent, #000 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 54px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 900; letter-spacing: .14em; color: var(--brand-blue); }
.hero .eyebrow { color: #77c0ff; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 790px; font-size: clamp(38px, 6vw, 66px); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 22px; }
.hero-copy { max-width: 790px; font-size: clamp(17px, 2vw, 21px); color: #e2e2e2; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges span { padding: 9px 13px; border: 1px solid rgba(119,192,255,.45); border-radius: 999px; background: rgba(30,121,200,.13); font-weight: 850; font-size: 14px; }
.hero-note { border: 1px solid rgba(119,192,255,.38); background: rgba(0,0,0,.48); border-radius: var(--radius); padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.hero-note strong { display: block; color: #ffffff; margin-bottom: 10px; font-size: 18px; }
.hero-note p { color: #e6eef5; margin-bottom: 12px; }
.hero-note p:last-child { margin-bottom: 0; }

.configurator { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; padding-top: 50px; padding-bottom: 70px; align-items: start; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2, .summary-card h2 { margin: 4px 0 0; font-size: 30px; letter-spacing: -.025em; }
.text-button { border: 0; background: transparent; color: var(--brand-blue-dark); font-weight: 850; padding: 8px; }
.text-button:hover { text-decoration: underline; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-button { border: 1px solid var(--line); background: var(--white); color: var(--ink-2); border-radius: 999px; padding: 9px 14px; font-weight: 850; }
.filter-button:hover, .filter-button.active { border-color: var(--brand-blue); color: var(--brand-blue-dark); background: var(--brand-blue-soft); }
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.product-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(0,0,0,.055); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-2px); border-color: #99c8ee; box-shadow: var(--shadow); }
.product-image-wrap { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(180deg, #fff, #f4f4f4); overflow: hidden; border-bottom: 3px solid var(--brand-blue); }
.product-image { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-tag { position: absolute; top: 12px; left: 12px; background: var(--black); color: var(--white); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.product-body { padding: 18px; }
.product-category { color: var(--brand-blue-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.product-title { font-size: 20px; margin: 5px 0 7px; letter-spacing: -.015em; }
.product-description { color: var(--muted); min-height: 48px; font-size: 14px; margin-bottom: 12px; }
.product-note { border-left: 3px solid var(--brand-blue); padding-left: 10px; color: var(--ink-2); font-size: 13px; margin-bottom: 12px; }
.product-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-blue-dark); font-weight: 850; font-size: 13px; text-decoration: none; margin: 0 0 13px; }
.product-link:hover { text-decoration: underline; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 10px; }
.price-label { color: var(--muted); display: block; font-size: 12px; }
.product-price { display: block; font-size: 24px; line-height: 1.15; }
.recurring-label { color: var(--brand-blue-dark); font-weight: 850; font-size: 12px; margin-top: 4px; }
.quantity { display: grid; grid-template-columns: 40px 42px 40px; align-items: center; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: #fafafa; }
.qty-button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 22px; font-weight: 850; }
.qty-button:hover { background: var(--brand-blue-soft); color: var(--brand-blue-dark); }
.qty-number { text-align: center; font-weight: 900; }
.empty-state { background: var(--white); border: 1px dashed #bcbcbc; border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }

.summary-card { position: sticky; top: 104px; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--brand-blue); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.summary-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-card h2 { font-size: 25px; }
.count-pill { min-width: 34px; height: 34px; padding: 0 10px; display: grid; place-items: center; background: var(--brand-blue); color: var(--white); border-radius: 999px; font-weight: 900; }
.summary-empty { padding: 22px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.summary-items { display: grid; gap: 0; }
.summary-item { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.summary-item strong { display: block; font-size: 14px; }
.summary-item span { color: var(--muted); font-size: 13px; }
.summary-item-price { text-align: right; white-space: nowrap; }
.summary-total { padding: 18px 0 2px; }
.summary-total > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.summary-total span { font-weight: 850; }
.summary-total strong { color: var(--brand-blue-dark); font-size: 28px; letter-spacing: -.03em; }
.summary-total small { color: var(--muted); display: block; text-align: right; }
.recurring-box { margin: 16px 0; padding: 14px; background: var(--warning); border: 1px solid var(--warning-line); border-radius: 14px; }
.recurring-box strong { font-size: 14px; }
.recurring-box p { margin: 5px 0 0; font-size: 13px; color: #604e13; }
.client-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.client-form h3 { margin: 4px 0 15px; font-size: 20px; }
.client-form label { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13px; font-weight: 850; color: var(--ink-2); }
input, select, textarea { width: 100%; border: 1px solid #c9c9c9; border-radius: 12px; padding: 11px 12px; color: var(--ink); background: var(--white); outline: none; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(30,121,200,.15); }
.form-error { margin: 10px 0; color: var(--danger); font-weight: 850; font-size: 13px; }
.whatsapp-button, .secondary-button { width: 100%; border-radius: 14px; padding: 14px 16px; font-weight: 900; border: 0; }
.whatsapp-button { display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--green); color: var(--white); font-size: 16px; box-shadow: 0 10px 22px rgba(31,168,85,.22); }
.whatsapp-button:hover:not(:disabled) { background: var(--green-dark); }
.whatsapp-button:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.wa-icon { width: 23px; height: 23px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: 10px; }
.secondary-button { margin-top: 10px; background: var(--black); color: var(--white); }
.secondary-button:hover { background: #262626; }
.privacy-note { color: var(--muted); font-size: 11px; text-align: center; margin: 12px 6px 0; }

footer { background: var(--black); color: #e8e8e8; padding: 30px 0; border-top: 5px solid var(--brand-blue); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner span { color: #aaaaaa; font-size: 13px; }
.footer-inner a { color: #71baff; font-weight: 850; }
.mobile-summary { display: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .configurator { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 22px, 1180px); }
  .header-inner { min-height: 66px; }
  .brand-logo { width: 186px; height: 54px; }
  .header-link { font-size: 12px; padding: 8px 11px; }
  .hero { padding: 48px 0 44px; }
  h1 { font-size: 41px; }
  .hero-copy { font-size: 17px; }
  .configurator { padding-top: 34px; padding-bottom: 110px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 26px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-description { min-height: 0; }
  .summary-card { scroll-margin-top: 80px; }
  .footer-inner { align-items: start; flex-direction: column; }
  .mobile-summary {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 11px 12px; border: 1px solid rgba(113,186,255,.35); border-radius: 16px; color: var(--white); background: rgba(5,5,5,.97); box-shadow: 0 16px 40px rgba(0,0,0,.28);
  }
  .mobile-summary div { display: grid; }
  .mobile-summary span { font-size: 11px; color: #bbbbbb; }
  .mobile-summary strong { font-size: 18px; }
  .mobile-summary button { border: 0; border-radius: 11px; background: var(--brand-blue); color: #fff; font-weight: 900; padding: 11px 14px; }
}
