/* Detergo — homepage styles */

:root {
  --brand: #0e3a87;          /* deep navy blue */
  --brand-2: #1e54c4;        /* mid blue */
  --brand-ink: #0a2c66;
  --bg: #ffffff;
  --bg-soft: #eef3fa;        /* hero bg */
  --bg-softer: #f6f8fc;
  --ink: #14213d;
  --muted: #5b6781;
  --line: #e2e8f3;
  --line-2: #d6deec;
  --accent-red: #e23b3b;     /* REDUCERI */
  --accent-green: #2bb35a;   /* NOU */
  --accent-yellow: #f6c244;
  --soft-1: #e8eef9;
  --soft-2: #e3f0e9;
  --soft-3: #ececec;
  --soft-4: #fbf3df;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(20,33,61,.04), 0 4px 18px rgba(20,33,61,.05);
  --shadow-hover: 0 6px 20px rgba(20,33,61,.10);
  --maxw: 1280px;
  --gut: clamp(16px, 2.5vw, 32px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-feature-settings: "ss01", "cv01";
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ── Sticky site header (topbar + main nav) ───────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

/* ── Top utility bar ──────────────────────────────────────────────────── */
.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  letter-spacing: .01em;
}
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}
.topbar a, .topbar button { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 8px; opacity: .92; }
.topbar-center { text-align: center; opacity: .95; }
.topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.tb-pill {
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  background: transparent;
  color: #fff;
  transition: background .15s;
}
.tb-pill:hover { background: rgba(255,255,255,.12); }
.lang-toggle {
  display: inline-flex;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 2px;
  margin-left: 8px;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 999px;
  opacity: .7;
}
.lang-toggle button.on { background: #fff; color: var(--brand); opacity: 1; }

/* ── Main header ──────────────────────────────────────────────────────── */
.header {
  background: var(--brand);
  color: #fff;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.logo-img {
  display: block;
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.logo-mark {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
}
.logo-mark sup { font-size: .55em; vertical-align: top; }
.logo-tag {
  font-size: 11px;
  letter-spacing: .04em;
  opacity: .85;
  margin-top: 4px;
  border-top: 2px solid #fff;
  padding-top: 2px;
}

/* Search */
.search {
  position: relative;
  width: 100%;
  max-width: 640px;
  justify-self: center;
}
.search input {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 56px 0 20px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15);
}
.search input:focus { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(255,255,255,.25); }
.search-btn {
  position: absolute;
  right: 4px; top: 4px;
  width: 34px; height: 34px;
  border: 0; border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
}

/* Header right (badges + icons) */
.header-right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
}
.header-icon-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
}
.mob-menu-btn {
  display: none;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
  place-items: center;
}
.mob-menu-btn:hover { background: rgba(255,255,255,.12); }

.mob-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, .45);
  z-index: 60;
}
.mob-drawer {
  position: fixed;
  top: 10px;
  right: 10px;
  bottom: 10px;
  height: auto;
  width: min(92vw, 420px);
  background: #fff;
  z-index: 70;
  box-shadow: -12px 0 40px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
}
.mob-drawer-head {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 14px 14px;
}
.mob-drawer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.08));
}
.mob-drawer-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}
.mob-drawer-close:hover { background: var(--bg-soft); }

.mob-drawer-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 4px 18px 14px;
}
.mob-drawer-action {
  position: relative;
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--bg-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .15s, border-color .15s;
}
.mob-drawer-action:hover {
  background: #fff;
  border-color: rgba(14, 58, 135, .35);
}
.mob-drawer-action-count {
  position: absolute;
  top: 6px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px var(--bg-soft);
}

.header-search-mob {
  display: none;
}

.mob-drawer-contact {
  text-align: center;
  padding: 4px 18px 12px;
}
.mob-drawer-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.mob-tb-pill {
  border: 1px solid rgba(14, 58, 135, .45);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  background: transparent;
  color: var(--brand);
  transition: background .15s;
}
.mob-tb-pill:hover { background: rgba(14, 58, 135, .08); }
.mob-drawer-divider { height: 1px; background: var(--line); margin: 10px 0; }

.mob-drawer-nav {
  padding: 0 18px;
  display: grid;
}
.mob-drawer-nav--big { gap: 0; }
.mob-drawer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mob-drawer-link:last-child { border-bottom: 0; }
.mob-drawer-link--sm {
  font-size: 14px;
  padding: 12px 10px;
}
.mob-drawer-link:hover { background: var(--bg-soft); }
.mob-drawer-section {
  padding: 0 18px 12px;
}
.mob-drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  text-align: center;
}
.mob-lang {
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
}
.mob-lang--pills { justify-content: center; }
.mob-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--ink);
  min-width: 64px;
}
.mob-lang-btn.on {
  background: #111;
  border-color: #111;
  color: #fff;
}

.mob-drawer-foot {
  margin-top: auto;
  padding: 14px 18px 18px;
  display: grid;
  gap: 10px;
}
.mob-drawer-cta {
  height: 50px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: -.01em;
}
.mob-drawer-cta:hover { filter: brightness(1.06); }
.mob-drawer-mini {
  display: none;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.badge-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  position: relative;
  isolation: isolate;
  padding: 4px 2px;
}
.badge-link::before {
  content: "";
  position: absolute;
  inset: -4px -6px;
  border-radius: 6px;
  z-index: -1;
  transition: filter .15s, box-shadow .15s;
}
.badge-link.red   { color: #fff; }
.badge-link.red::before  { background: var(--accent-red); }
.badge-link.green { color: #fff; }
.badge-link.green::before{ background: var(--accent-green); }
.badge-link:hover::before {
  filter: brightness(1.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.icon-btn {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
  display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn .count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--accent-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 5px;
  box-shadow: 0 0 0 2px var(--brand);
}

/* ── Hero band ────────────────────────────────────────────────────────── */
.hero-band {
  background: var(--bg-soft);
  padding: 22px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.hero-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  align-items: start;
}

/* Sidebar categories (home hero) */
.hero-band .sidebar,
.sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 10px 8px 10px;
  box-shadow: var(--shadow-card);
  align-self: start;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: "Poppins", "Inter", sans-serif;
}
.hero-band .sidebar-head,
.sidebar-head {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 8px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-band .cat-list,
.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-band .cat-item,
.cat-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  min-height: 32px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  border: 1px solid transparent;
}
.hero-band .cat-item:hover,
.hero-band .cat-item:active,
.cat-item:hover,
.cat-item.active {
  background: var(--bg-soft);
  color: var(--brand);
  border-color: rgba(14, 58, 135, 0.12);
}
.hero-band .cat-icon,
.cat-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--bg-soft);
  color: var(--brand);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.cat-item:hover .cat-icon, .cat-item.active .cat-icon {
  background: var(--brand);
  color: #fff;
}
.hero-band .cat-name,
.cat-name {
  line-height: 1.2;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -.01em;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.hero-band .cat-count,
.cat-count { display: none; }
.hero-band .cat-chev,
.cat-chev { color: var(--muted); opacity: .45; flex-shrink: 0; transition: opacity .15s, color .15s; }
.hero-band .cat-item:hover .cat-chev,
.cat-item:hover .cat-chev { opacity: 1; color: var(--brand); }

/* Hero card */
.hero-card {
  background: var(--brand);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-text h1 {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 16px;
  white-space: pre-line;
  letter-spacing: -.01em;
}
.hero-text p { font-size: 16px; opacity: .85; margin: 0 0 24px; max-width: 36ch; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--brand);
  border: 0; border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
}
.hero-cta:hover { background: var(--bg-soft); }

.hero-visual {
  position: relative;
  display: grid; place-items: center;
  min-height: 280px;
}
.hero-logo {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-logo .mark { font-family: "Poppins", "Inter", sans-serif; font-size: 56px; font-weight: 700; line-height: 1; }
.hero-logo .sub  { font-size: 13px; letter-spacing: .04em; opacity: .9; margin-top: 6px;
                   border-top: 2px solid rgba(255,255,255,.6); padding-top: 6px; display: inline-block; }
.hero-logo-img {
  display: block;
  margin: 12px auto 0;
  height: 64px;
  width: auto;
  max-width: 280px;
}
.hero-bubbles { position: absolute; }
.hb1 { top: -6px; right: 30%; }
.hb2 { bottom: 8%; left: 10%; opacity: .8; }
.hb3 { top: 35%; right: 8%; opacity: .55; }

/* ── Concept banner ────────────────────────────────────────────────────── */
.concept {
  padding: 56px 0 16px;
  background: #fff;
}
.concept-card {
  background: linear-gradient(120deg, #0e3a87 0%, #1e54c4 100%);
  border-radius: 22px;
  color: #fff;
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
}
.concept-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%);
  pointer-events: none;
}
.concept-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end;
  margin-bottom: 36px;
}
.concept-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; opacity: .8;
  text-transform: uppercase; margin-bottom: 10px;
}
.concept-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  font-weight: 600; margin: 0;
  letter-spacing: -.01em;
}
.concept-text { font-size: 15px; line-height: 1.55; opacity: .9; margin: 0; }
.concept-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative; z-index: 1;
}
.cstep {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 22px 18px;
  backdrop-filter: blur(4px);
}
.cstep-num {
  width: 28px; height: 28px;
  background: #fff; color: var(--brand);
  border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  margin-bottom: 14px;
}
.cstep-title { font-weight: 600; font-size: 15px; margin: 0 0 6px; }
.cstep-text { font-size: 13px; opacity: .8; margin: 0; line-height: 1.45; }
.concept-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--brand);
  border: 0; border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600; font-size: 13px;
  align-self: end; justify-self: end;
}

/* ── Trust bar ────────────────────────────────────────────────────────── */
.trust { padding: 36px 0 28px; background: #fff; }
.hero-band .trust {
  border-radius: var(--radius-lg);
  margin-top: 4px;
  position: relative;
  z-index: 2;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.trust-circle {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
}
.trust-label { font-size: 13px; font-weight: 500; color: var(--ink); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 32px 0; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; gap: 16px; flex-wrap: wrap;
}
.section-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 26px; font-weight: 600; color: var(--brand);
  margin: 0; letter-spacing: -.01em;
}
.section-title em { font-style: normal; color: var(--accent-red); font-weight: 700; }
.section-sub { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }
.section-actions { display: flex; gap: 8px; align-items: center; }

.tabs { display: flex; gap: 4px; background: var(--bg-softer); padding: 4px; border-radius: 999px; }
.tab {
  border: 0; background: transparent;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.tab.on { background: var(--brand); color: #fff; }
.tab:hover:not(.on) { color: var(--brand); }

.link-pill {
  border: 1px solid var(--line-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
}
.link-pill:hover { background: var(--bg-soft); }

/* Product card */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product:hover { box-shadow: var(--shadow-hover); border-color: var(--line-2); transform: translateY(-2px); }
.product-img {
  background: var(--bg-soft);
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.product-img .slot {
  width: 64%; height: 64%;
  border-radius: 10px;
  border: 1.5px dashed var(--line-2);
  background:
    repeating-linear-gradient(135deg,
      rgba(14,58,135,.05) 0 8px,
      transparent 8px 16px);
  display: grid; place-items: center;
  color: var(--brand); opacity: .55;
}
.product-img .slot svg { opacity: .6; }
.product-img .slot-label {
  position: absolute; bottom: 10px; left: 10px;
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--brand); opacity: .55;
  letter-spacing: .02em;
}
.product-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px 4px;
}
.product-name {
  padding: 0 16px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  min-height: 38px;
}
.product-sizes {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 16px 6px;
}
.size-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.size-chip:hover, .size-chip.on { background: var(--brand); color: #fff; }
.product-price {
  margin-top: auto;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.price { color: var(--brand); font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.price-old { color: var(--muted); font-size: 12px; text-decoration: line-through; margin-left: 6px; }
.add-btn {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 0;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  transition: background .15s, transform .15s;
}
.add-btn:hover { background: var(--brand-ink); transform: scale(1.05); }

/* Promo grid (4 cols, bigger images) */
.promo .product-grid { grid-template-columns: repeat(4, 1fr); }
.promo .product-img { aspect-ratio: 4 / 3.4; }

/* ── Info tiles (Despre noi / De ce Detergo / etc) ────────────────────── */
.info-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 24px 0;
}
.info-tile {
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 180px;
  transition: transform .2s;
  cursor: pointer;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}
.info-tile:hover { transform: translateY(-3px); }
.info-tile .ic {
  width: 60px; height: 60px;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  display: grid; place-items: center;
  color: var(--brand);
  box-shadow: 0 4px 16px rgba(14,58,135,.10);
}
.info-tile h3 {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 17px; font-weight: 600; margin: 0;
  color: var(--brand);
}
.info-tile p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.info-tile.t1 { background: var(--soft-1); }
.info-tile.t2 { background: var(--soft-2); }
.info-tile.t3 { background: var(--soft-3); }
.info-tile.t4 { background: var(--soft-4); }

/* ── Modal popup ───────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 33, 61, .55);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  backdrop-filter: blur(2px);
}
.modal-overlay.on { opacity: 1; pointer-events: auto; }
.modal-card {
  background: #fff;
  border-radius: 18px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(20,33,61,.25);
  transform: translateY(20px) scale(.98);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.modal-overlay.on .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 0;
  background: var(--bg-soft);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background .15s, transform .12s;
  z-index: 2;
}
.modal-close:hover { background: var(--line); transform: rotate(90deg); }
.modal-header {
  padding: 56px 64px 24px;
  text-align: center;
  position: relative;
}
.modal-header::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 8px;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: var(--brand);
  border-radius: 2px;
}
.modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
}
.modal-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.01em;
}
.modal-body {
  padding: 32px 64px 56px;
}
.modal-body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.modal-body p:last-child { margin-bottom: 0; }
.modal-body b, .modal-body strong { color: var(--brand); font-weight: 700; }

.modal-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: grid;
  gap: 12px;
}
.modal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}
.modal-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: .55em;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 999px;
}

.modal-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.modal-cta-row .hero-cta {
  background: var(--brand);
  color: #fff;
}
.modal-cta-row .hero-cta:hover { background: var(--brand-ink); }
.modal-cta-row .seo-more { margin: 0; }

/* lock body scroll when modal is open */
body.modal-open { overflow: hidden; }

/* ── Partner / contact form modal ─────────────────────────────────────── */
.modal-form-card { max-width: 560px; }
.form-modal-header { padding: 48px 64px 8px; }
.form-modal-header .modal-title { font-size: clamp(24px, 2.4vw, 30px); }
.form-modal-header::after { display: none; }
.modal-sub {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 12px auto 0;
  text-align: center;
  max-width: 50ch;
  text-wrap: pretty;
}
.modal-form {
  padding: 28px 64px 48px;
  display: grid;
  gap: 18px;
}
.form-field { display: grid; gap: 8px; }
.form-field > span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-field textarea {
  height: auto;
  min-height: 88px;
  padding: 14px 18px;
  border-radius: 18px;
  font-family: inherit;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14,58,135,.12);
}

.btn-orange {
  align-self: start;
  background: #e67a3a;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background .15s, transform .12s;
}
.btn-orange:hover { background: #d76828; transform: translateY(-1px); }

.modal-success {
  padding: 24px 64px 56px;
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}
.modal-success-ic {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: rgba(43, 179, 90, .12);
  color: #2bb35a;
  display: grid; place-items: center;
  animation: pop .35s cubic-bezier(.3,.7,.4,1);
}
@keyframes pop {
  from { transform: scale(.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.modal-success p { color: var(--ink); font-size: 15px; font-weight: 500; margin: 0; }

@media (max-width: 720px) {
  .form-modal-header { padding: 44px 24px 8px; }
  .modal-form { padding: 20px 24px 36px; }
  .modal-success { padding: 24px 24px 36px; }
}

@media (max-width: 720px) {
  .modal-header { padding: 48px 24px 20px; }
  .modal-body { padding: 24px 24px 40px; }
  .modal-overlay { padding: 0; }
  .modal-card { border-radius: 0; max-height: 100vh; height: 100vh; }
}

/* ── Articles ─────────────────────────────────────────────────────────── */
.articles { padding: 32px 0 48px; background: var(--bg-softer); }
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.article {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow .2s, transform .2s;
}
.article:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.article-img {
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  position: relative;
  display: grid; place-items: center;
}
.article-img .slot {
  width: 50%; height: 60%;
  border-radius: 10px;
  border: 1.5px dashed var(--line-2);
  background:
    repeating-linear-gradient(135deg,
      rgba(14,58,135,.05) 0 8px,
      transparent 8px 16px);
}
.article-date {
  position: absolute;
  top: 14px; left: 14px;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  min-width: 42px;
}
.article-date b { display: block; color: var(--brand); font-size: 16px; line-height: 1; font-weight: 700; }
.article-date span { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.article-body { padding: 16px 18px 18px; }
.article-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 15px; font-weight: 600; color: var(--ink);
  line-height: 1.35;
  margin: 0 0 12px;
  min-height: 60px;
}
.article-link { color: var(--brand); font-size: 13px; font-weight: 600;
                display: inline-flex; align-items: center; gap: 6px; }

/* ── SEO block ────────────────────────────────────────────────────────── */
.seo {
  padding: 28px 0 60px;
}
.seo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.seo-card h2 { font-family: "Poppins", sans-serif; font-size: 19px; color: var(--brand); margin: 0 0 10px; font-weight: 600; }
.seo-card h3 { font-family: "Poppins", sans-serif; font-size: 16px; color: var(--ink); margin: 22px 0 8px; font-weight: 600; }
.seo-card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; max-width: 90ch; text-wrap: pretty; }
.seo-more {
  margin-top: 18px;
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px; font-weight: 600;
}
.seo-more:hover { background: var(--brand); color: #fff; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--brand);
  color: #fff;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  gap: 48px;
}
.footer .logo-mark { color: #fff; font-size: 38px; }
.footer .logo-tag  { border-top-color: #fff; }
.footer-logo-img {
  display: block;
  height: 80px;
  width: auto;
  max-width: 280px;
  margin-bottom: 4px;
}
.footer-contacts dl { margin: 0; display: grid; gap: 18px; }
.footer-contacts dt { font-size: 12px; opacity: .7; letter-spacing: .04em; margin-bottom: 4px; }
.footer-contacts dt .ic { margin-right: 6px; vertical-align: -3px; opacity: .85; }
.footer-contacts dd { margin: 0; font-size: 14px; line-height: 1.55; }
.footer-contacts dd a { opacity: .95; }
.footer-contacts dd a:hover { opacity: 1; text-decoration: underline; }
.footer-contacts .footer-contact-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}
.footer-contacts .footer-contact-inline dt {
  margin: 0;
  display: flex;
  align-items: center;
}
.footer-contacts .footer-contact-inline dd {
  margin: 0;
}
.footer h4 {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 14px; opacity: .9; font-weight: 700;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { opacity: .85; font-size: 14px; }
.footer ul a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 12px;
  opacity: .7;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center;
  opacity: .85; transition: background .15s;
}
.footer-socials a:hover { background: rgba(255,255,255,.12); opacity: 1; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .product-grid, .promo .product-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid, .info-tiles { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .concept-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .hero-top {
    display: contents;
  }
  .hero-grid .hero-card {
    order: 1;
  }
  .hero-grid .trust {
    order: 2;
  }
  .hero-grid .sidebar {
    order: 3;
  }
  .hero-band .trust {
    margin-top: 0;
    padding: 20px 0 4px;
  }
  .hero-band .sidebar,
  .sidebar {
    position: static;
    align-self: auto;
    max-height: none;
    overflow-y: visible;
    display: block;
  }
  .hero-band .trust {
    z-index: auto;
  }
  .hero-band .cat-list,
  .cat-list {
    flex: unset;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    justify-content: unset;
  }
  .hero-card {
    padding: 24px 18px;
    grid-template-columns: 1fr;
    min-height: 200px;
    gap: 16px;
  }
  .hero-text h1 {
    font-size: clamp(18px, 3.5vw, 24px);
    margin-bottom: 10px;
    line-height: 1.15;
  }
  .hero-text p {
    font-size: 13px;
    margin-bottom: 16px;
    max-width: none;
  }
  .hero-cta {
    padding: 9px 16px;
    font-size: 12px;
    gap: 6px;
  }
  .hero-visual { min-height: 100px; }
  .hero-logo-img { height: 40px; max-width: 100%; }
  .hero-bubbles { transform: scale(0.65); transform-origin: center; }
  .concept-head { grid-template-columns: 1fr; gap: 16px; }
  .concept-cta { justify-self: start; }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 32px;
  }
  .footer-grid > div { width: 100%; }
  .footer-logo-img { margin-left: auto; margin-right: auto; }
  .footer-socials { justify-content: center; }
  .footer-contacts dl { justify-items: center; }
  .footer-contacts .footer-contact-inline { justify-content: center; }
  .footer h4 { text-align: center; }
  .footer ul { justify-items: center; }
  .footer-bottom { justify-content: center; }
  .topbar-left, .topbar-right { display: none; }
  .topbar-inner { grid-template-columns: 1fr; }
  .topbar-center { justify-self: center; }
  .header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
  }
  .header-inner .logo {
    flex-shrink: 0;
  }
  .header-search-desktop { display: none; }
  .header-icon-actions { display: none; }
  .header-search-mob {
    display: block;
    flex: 1;
    min-width: 0;
    max-width: none;
    justify-self: unset;
  }
  .header-search-mob input {
    height: 38px;
    font-size: 13px;
    padding: 0 44px 0 14px;
  }
  .header-search-mob .search-btn {
    width: 30px;
    height: 30px;
    right: 4px;
    top: 4px;
  }
  .header-right {
    flex-shrink: 0;
    gap: 10px;
  }
  .header-right .badge-link { display: none; }
  .logo-img { height: 40px; }
  .mob-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-height: 40px;
    padding: 6px 14px 6px 10px;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255,255,255,.1);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    flex-shrink: 0;
  }
  .mob-menu-btn:hover { background: rgba(255,255,255,.18); }
  .mob-menu-btn-label { line-height: 1; }
}
@media (min-width: 881px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 78px;
  }
  .header-search-desktop { display: block; }
  .header-search-mob { display: none; }
  .header-right {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
  }
  .header-icon-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
  }
  .header-right .badge-link { display: inline; }
  .mob-menu-btn { display: none; }
}
@media (max-width: 560px) {
  .product-grid, .promo .product-grid, .article-grid, .info-tiles { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .trust-item { gap: 6px; }
  .trust-circle { width: 48px; height: 48px; }
  .trust-circle svg { width: 22px; height: 22px; }
  .trust-label { font-size: 10px; line-height: 1.25; }
  .hero-band .trust { padding: 16px 0 4px; }
  .concept-card, .seo-card { padding: 24px 18px; }
  .hero-band { padding: 16px 0 28px; }
  .hero-card {
    padding: 16px 12px;
    min-height: auto;
    gap: 12px;
  }
  .hero-text h1 {
    font-size: clamp(15px, 4.5vw, 20px);
    margin-bottom: 8px;
  }
  .hero-text p {
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 12px;
  }
  .hero-cta {
    padding: 7px 12px;
    font-size: 11px;
    gap: 5px;
  }
  .hero-visual { display: none; }
  .hero-band .cat-list,
  .cat-list { grid-template-columns: 1fr; }
  .cat-item { min-height: 40px; }
  .header-inner {
    gap: 10px;
  }
  .header-search-mob input {
    font-size: 12px;
    padding-left: 12px;
  }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Product badges (catalog + homepage) */
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  z-index: 1;
}
.product-badge.promo { background: var(--accent-red); }
.product-badge.nou   { background: var(--accent-green); }
