:root {
  --navy: #1b3a5f;
  --navy-dark: #10243c;
  --navy-soft: #2d547c;
  --ink: #16181c;
  --muted: #5d6670;
  --line: #e3e8ee;
  --paper: #fff;
  --mist: #f3f5f8;
  --sand: #f7f1e8;
  --whatsapp: #25d366;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(16, 36, 60, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

.promo {
  background: var(--navy-dark);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 74px;
  display: flex; align-items: center; gap: 14px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -.03em; color: var(--navy); flex-shrink: 0;
}
.nav { display: flex; flex-wrap: wrap; gap: 2px; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: .93rem; }
.nav a:hover, .nav a.is-active { color: var(--navy); background: var(--mist); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 12px; }
.lang button { border: 0; background: 0; padding: 5px 10px; cursor: pointer; color: var(--muted); }
.lang button.on { background: var(--navy); color: #fff; }
.icon-btn, .menu-btn {
  width: 40px; height: 40px; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--navy); position: relative;
}
.badge {
  position: absolute; top: -6px; right: -6px; background: var(--navy); color: #fff;
  border-radius: 999px; min-width: 18px; height: 18px; font-size: 11px; display: grid; place-items: center;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 11px 18px; border: 1px solid transparent;
  font-weight: 600; font-size: .92rem; cursor: pointer; background: none;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { background: #fff; color: var(--navy); border-color: #d7dee6; }
.btn-line { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-wa { background: var(--whatsapp); color: #083b1a; }
.btn-sm { padding: 8px 13px; font-size: .82rem; }
.menu-btn { display: none; }

.search-panel { display: none; border-top: 1px solid var(--line); background: #fff; }
.search-panel.open { display: block; }
.search-box { padding: 12px 0 16px; }
.search-box input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--mist);
}
.search-hits { display: grid; gap: 8px; padding-bottom: 12px; }
.search-hit { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.search-hit:hover { background: var(--mist); }
.search-hit img { width: 54px; height: 42px; object-fit: cover; border-radius: 8px; }

.hero { position: relative; min-height: 78vh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,36,60,.12), rgba(16,36,60,.78) 80%); }
.hero-copy { position: relative; z-index: 1; padding: 90px 0 64px; }
.hero h1, .page-hero h1 { margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.04em; line-height: 1.1; }
.hero p { max-width: 50ch; color: rgba(255,255,255,.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

section { padding: 72px 0; }
.section-mist { background: var(--mist); }
.section-sand { background: var(--sand); }
.kicker { color: var(--navy-soft); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin: 0 0 8px; }
h2 { margin: 0 0 10px; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.03em; }
.lead { color: var(--muted); max-width: 64ch; margin: 0 0 26px; }
.page-hero { padding: 48px 0 8px; }

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

.cat, .card, .product, .brand-tile, .value, .step, .pkg {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.cat:hover, .product:hover, .pkg:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat, .product, .pkg { transition: .2s transform, .2s box-shadow; }
.cat img, .product img, .pkg img { width: 100%; height: 176px; object-fit: cover; background: #edf1f5; }
.product img { height: 200px; }
.body, .value, .step, .pkg .body { padding: 16px; }
h3 { margin: 0 0 6px; font-size: 1.02rem; }
.muted, .cat p, .product p { color: var(--muted); margin: 0; font-size: .92rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--mist); color: var(--navy); }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }

.layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.filters h3 { font-size: .86rem; margin: 14px 0 8px; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--muted); margin: 6px 0; cursor: pointer; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; }

.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; }
.pdp img.main { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); }
.facts { width: 100%; border-collapse: collapse; margin: 18px 0; }
.facts th, .facts td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.facts th { color: var(--muted); font-weight: 500; width: 38%; }

.brand-tile { min-height: 108px; display: grid; place-items: center; font-weight: 700; color: var(--navy); }
.qty { width: 72px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
label.field { display: block; font-size: .84rem; color: var(--muted); margin: 0 0 6px; }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; margin-bottom: 12px;
}
textarea { min-height: 110px; resize: vertical; }
.map {
  height: 200px; margin-top: 12px; border-radius: 12px;
  background: linear-gradient(135deg, #e7eef5, #f7f1e8);
  display: grid; place-items: center; color: var(--muted); text-align: center;
}
.thanks { display: none; text-align: center; padding: 20px 8px; }
.panel.is-sent .fields { display: none; }
.panel.is-sent .thanks { display: block; }

.basket-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.basket-item img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }

.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.82); padding: 42px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.site-footer a:hover { color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; color: rgba(255,255,255,.55); font-size: .82rem; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #083b1a; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.35); z-index: 60;
}
.empty { padding: 40px 10px; color: var(--muted); }

@media (max-width: 980px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0;
    top: 110px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px;
  }
  .menu-btn { display: grid; }
  .desk-only { display: none !important; }
  .grid-2, .grid-3, .grid-4, .products, .layout, .pdp, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .filters { position: static; }
  .hero { min-height: 68vh; }
  .pdp img.main { height: 280px; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .products, .grid-3 { grid-template-columns: 1fr 1fr; }
}
