:root {
  --navy: #004080;
  --ink: #0a2540;
  --blue: #007bff;
  --wa: #25d366;
  --wa-hover: #1fb855;
  --fahorro-red: #f83a32;
  --paper: #fff;
  --soft: #eef3f8;
  --muted: #526579;
  --line: #d5e0eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
  /* Logos must never clip — no overflow hidden on brand chrome */
  overflow: visible;
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  /* Clear space above/below marks (never flush to edges) */
  padding: 18px 0;
  overflow: visible;
}
.brand-pair {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  overflow: visible;
  flex: 1 1 auto;
}
.brand-pair img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  flex: none;
  /* Prevent flex/max-width squish from clipping glyph tops */
  overflow: visible;
}
.logo-af { max-height: 40px; }
.logo-fahorro { max-height: 48px; }
.brand-x {
  color: var(--line);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
}
.header-cta svg { width: 18px; height: 18px; flex: none; }

.hero {
  background: linear-gradient(135deg, #f7fbff 0%, #e8f2fc 100%);
  overflow: hidden;
}
.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  align-items: center;
  gap: 40px;
  padding: 64px 0;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  color: var(--ink);
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.lede {
  max-width: 680px;
  margin: 24px 0;
  color: #334c63;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}
.offer {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 22px;
  padding: 14px 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
}
.offer strong { font-size: 1.18rem; }
.offer span { color: #e7f2ff; }
.offer-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.offer-row em {
  min-width: 52px;
  font-style: normal;
  font-weight: 800;
  font-size: 1.05rem;
  color: #7fd4a6;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 14px 20px;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.btn-fahorro { background: var(--navy); }
.btn-fahorro:hover { background: #003263; }
.btn-catalog {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-catalog:hover {
  background: var(--soft);
  color: var(--navy);
}
.microcopy {
  max-width: 680px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.hero-media {
  align-self: end;
  display: flex;
  justify-content: center;
  min-height: 0;
}
.hero-media img {
  width: min(470px, 100%);
  max-height: 610px;
  object-fit: contain;
  object-position: center bottom;
}
.video-band {
  padding: 40px 0;
  background: var(--soft);
}
.video-band .wrap {
  display: flex;
  justify-content: center;
}
.hero-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(10, 37, 64, .18);
  background: #0a2540;
}

.trust { padding: 32px 0; background: var(--navy); color: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.trust article { display: flex; flex-direction: column; gap: 6px; }
.trust strong { color: #fff; font-size: 1.08rem; }
.trust span { color: #e4effa; line-height: 1.45; }

.products { padding: 76px 0 88px; background: #fff; }
.products > .wrap > .eyebrow,
.products > .wrap > h2,
.products > .wrap > .section-copy { text-align: center; }
h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.035em;
}
.section-copy {
  max-width: 720px;
  margin: 14px auto 40px;
  color: var(--muted);
  line-height: 1.55;
}
.product-cat { margin: 0 0 42px; }
.product-cat:last-of-type { margin-bottom: 8px; }
.cat-title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.cat-note {
  max-width: 820px;
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 37, 64, .1);
}
.product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.product .img-wrap {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--soft);
  overflow: hidden;
}
.product .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
}
.product h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.prices { display: flex; flex-direction: column; gap: 6px; }
.prices .lbl {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.price-af .amt {
  color: #7a8796;
  font-size: .95rem;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.price-fahorro .amt {
  color: #1a7a4c;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.save {
  display: inline-flex;
  width: fit-content;
  margin: 2px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f6ef;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
}
.product .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  text-align: center;
}
.product:hover .cta { background: #003263; }
.center-actions { margin-top: 34px; display: flex; justify-content: center; }

footer {
  padding: 38px 0;
  color: #fff;
  background: var(--ink);
}
footer .wrap { display: flex; flex-direction: column; gap: 5px; }
footer strong { color: #fff; font-size: 1.25rem; }
footer span { color: #e7f2ff; }
footer p { max-width: 800px; margin: 12px 0 0; color: #c7d6e5; font-size: .84rem; line-height: 1.5; }

@media (max-width: 820px) {
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 48px 0 0; }
  .hero-copy { text-align: center; }
  .lede, .microcopy { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .hero-media img { max-height: 480px; }
  .trust-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header-cta span { display: none; }
  .header-cta { padding: 9px 12px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 72px; padding: 16px 0; }
  .brand-pair { gap: 10px; }
  .logo-af { max-height: 32px; }
  .logo-fahorro { max-height: 40px; }
  .actions .btn { width: 100%; }
  .product-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
