/* ==========================================================================
   i-NOVATIVE website design system
   Plain CSS (no build step). Bootstrap 4.5.3 provides grid, forms, collapse.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --navy: #03346c;
  --navy-700: #0a4385;
  --navy-900: #021c3b;
  --blue: #1f6fc5;
  --blue-light: #6fa3d6;
  --sky: #eaf2fb;
  --ink: #0f1b2d;
  --text: #3d4859;
  --muted: #6b7687;
  --line: #e2e7ee;
  --soft: #f4f6f9;
  --white: #ffffff;
  --success: #12805c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
  --shadow: 0 4px 16px rgba(15, 27, 45, .08);
  --shadow-lg: 0 16px 40px rgba(15, 27, 45, .12);
  --header-h: 72px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); letter-spacing: -.02em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
a { color: var(--blue); }
a:hover { color: var(--navy); text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--sky); color: var(--navy); }
:focus-visible { outline: 3px solid rgba(31, 111, 197, .45); outline-offset: 2px; }

.container { max-width: 1200px; }
.page-wrapper { min-height: 60vh; }
.main-wrapper { display: block; }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .7rem 1.35rem;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .45rem .85rem; font-size: .85rem; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1rem; }
.btn-primary, .btn-accent {
  background: var(--navy); border: 1px solid var(--navy); color: var(--white);
}
.btn-primary:hover, .btn-accent:hover, .btn-primary:focus, .btn-accent:focus {
  background: var(--navy-700); border-color: var(--navy-700); color: var(--white);
}
.btn-outline, .btn-default {
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
}
.btn-outline:hover, .btn-default:hover { border-color: var(--navy); color: var(--navy); }
.btn-success {
  background: var(--blue); border: 1px solid var(--blue); color: var(--white);
}
.btn-success:hover, .btn-success:focus { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-light-on-dark { background: var(--white); color: var(--navy); border: 1px solid var(--white); }
.btn-light-on-dark:hover { background: var(--sky); color: var(--navy); }
.btn-ghost-on-dark { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.btn-ghost-on-dark:hover { border-color: var(--white); color: var(--white); }
.btn.disabled, .btn:disabled { opacity: .5; pointer-events: none; }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.fixed-header { box-shadow: var(--shadow-sm); }
.site-header .navbar { min-height: var(--header-h); padding: 0; }
.site-header .navbar-brand { padding: 0; margin-right: 2rem; }
.site-header .navbar-brand img { height: 34px; width: auto; display: block; }
.site-header .nav-link {
  color: var(--ink); font-weight: 500; font-size: .95rem;
  padding: .5rem .9rem !important; border-radius: var(--radius-sm);
}
.site-header .nav-link:hover { color: var(--navy); background: var(--soft); }
.site-header .nav-item.active > .nav-link { color: var(--navy); font-weight: 600; }
.header-tools { display: flex; align-items: center; gap: .5rem; margin-left: 1rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang-switch a {
  font-size: .78rem; font-weight: 600; color: var(--muted); padding: .2rem .55rem;
  border-radius: 999px; cursor: pointer; text-transform: uppercase; letter-spacing: .04em;
}
.lang-switch a.active { background: var(--navy); color: var(--white); }
.lang-switch a:not(.active):hover { color: var(--navy); }
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: var(--ink); font-size: 1.05rem;
}
.cart-link:hover { background: var(--soft); color: var(--navy); }
.cart-link .badge {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--blue); color: var(--white); font-size: .68rem; line-height: 18px;
}
.cart-link .badge:empty, .cart-link .badge.is-zero { display: none; }
/* The cart icon only appears once something is in the cart (or on shop pages) */
.cart-link.is-empty { display: none; }
.navbar-toggler { border: 0; padding: .5rem; margin-left: .25rem; }
.navbar-toggler:focus { outline: none; }
.toggler-bars { display: block; width: 22px; height: 16px; position: relative; }
.toggler-bars span { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s, top .2s; }
.toggler-bars span:nth-child(1) { top: 0; }
.toggler-bars span:nth-child(2) { top: 7px; }
.toggler-bars span:nth-child(3) { top: 14px; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse { border-top: 1px solid var(--line); margin: 0 -15px; padding: .5rem 15px 1rem; }
  .site-header .nav-link { padding: .75rem .5rem !important; }
  .header-tools { margin-left: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 12px 0 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--text); }
@media (max-width: 767.98px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% 10%, rgba(111, 163, 214, .22), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  padding: 72px 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero .container { position: relative; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--navy); background: linear-gradient(90deg, var(--navy), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .hero-frame {
  width: 100%; max-width: 500px; aspect-ratio: 1 / 1; background: var(--white); border-radius: 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-visual .hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge {
  position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px 16px; font-size: .85rem; line-height: 1.35;
}
.hero-badge b { display: block; color: var(--ink); font-size: .95rem; }
.hero-badge.b1 { left: 0; bottom: 18%; }
.hero-badge.b2 { right: 0; top: 14%; }
.hero-badge .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); margin-right: 6px; }
@media (max-width: 991.98px) {
  .hero { padding: 48px 0 56px; text-align: left; }
  .hero-visual { margin-top: 40px; }
  .hero-visual .hero-frame { max-width: 400px; }
}
@media (max-width: 575.98px) { .hero-badge { display: none; } }

/* ---------- Dark image hero (service-focused home) ---------- */
.hero-dark {
  position: relative; color: rgba(255,255,255,.85);
  /* matches the right edge of background.jpg (top / middle / bottom), so the image edge is invisible while it drives in */
  background: linear-gradient(180deg, #030304 0%, #070d14 50%, #04070a 100%);
  min-height: 640px; display: flex; align-items: center; overflow: hidden; padding: 96px 0;
}
.hero-dark .bg {
  position: absolute; inset: 0; background-image: url("/img/background.jpg");
  background-size: cover; background-position: 70% center;
}
.hero-dark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2,20,43,.94) 0%, rgba(2,20,43,.78) 42%, rgba(2,20,43,.25) 75%, rgba(2,20,43,.1) 100%);
}
.hero-dark .container { position: relative; z-index: 2; }

/* Car drives in, brakes with a small overshoot and stops in the original position */
.hero-dark .bg {
  /* feather the right image edge into the matching background colour */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
  animation: car-drive-in 3.2s linear both;
  will-change: transform, filter;
}
@keyframes car-drive-in {
  /* driving: steady speed with motion blur */
  0%   { transform: translateX(-50%); filter: blur(10px) brightness(1.5); opacity: 0; animation-timing-function: cubic-bezier(.4, 0, .9, .6); }
  10%  { opacity: 1; }
  /* braking: strong deceleration */
  50%  { transform: translateX(-12%); filter: blur(4px) brightness(1.25); animation-timing-function: cubic-bezier(.1, .6, .3, 1); }
  /* small nose-dip / overshoot when the brakes bite */
  80%  { transform: translateX(1.2%); filter: blur(0) brightness(1.05); animation-timing-function: ease-in-out; }
  /* stopped in the original position */
  100% { transform: translateX(0); filter: none; opacity: 1; }
}
/* Light streaks rushing past while driving, fading out when the car stops */
.speed-lines { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.speed-lines span {
  position: absolute; left: 0; height: 2px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(140, 190, 240, .9), transparent);
  animation: speed-line .9s cubic-bezier(.3, 0, .6, 1) 2 both;
}
.speed-lines span:nth-child(1) { top: 38%; width: 34%; animation-delay: .05s; }
.speed-lines span:nth-child(2) { top: 46%; width: 22%; animation-delay: .25s; }
.speed-lines span:nth-child(3) { top: 52%; width: 40%; animation-delay: .10s; }
.speed-lines span:nth-child(4) { top: 59%; width: 18%; animation-delay: .40s; }
.speed-lines span:nth-child(5) { top: 66%; width: 30%; animation-delay: .20s; }
.speed-lines span:nth-child(6) { top: 72%; width: 26%; animation-delay: .55s; }
.speed-lines span:nth-child(7) { top: 43%; width: 15%; animation-delay: .70s; }
.speed-lines span:nth-child(8) { top: 63%; width: 20%; animation-delay: .85s; }
@keyframes speed-line {
  0%   { transform: translateX(-100%); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateX(520%); opacity: 0; }
}
/* Headline and buttons appear while the car arrives */
.hero-dark .container > * { animation: hero-text-in .8s ease-out both; }
.hero-dark .container > *:nth-child(1) { animation-delay: .2s; }
.hero-dark .container > *:nth-child(2) { animation-delay: .35s; }
.hero-dark .container > *:nth-child(3) { animation-delay: .5s; }
.hero-dark .container > *:nth-child(4) { animation-delay: .65s; }
.hero-dark .container > *:nth-child(5) { animation-delay: .8s; }
@keyframes hero-text-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-dark .eyebrow { color: var(--blue-light); }
.hero-dark h1 { color: var(--white); max-width: 720px; margin-bottom: 22px; }
.hero-dark h1 .accent { color: var(--blue-light); }
.hero-dark .lead { color: rgba(255,255,255,.8); max-width: 600px; margin-bottom: 36px; }
.hero-dark .hero-actions .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.hero-dark .hero-actions .btn-outline:hover { border-color: var(--white); color: var(--white); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); max-width: 720px; }
.hero-stats .v { color: var(--white); font-size: 1.15rem; font-weight: 700; }
.hero-stats .l { font-size: .85rem; color: rgba(255,255,255,.65); }
@media (max-width: 767.98px) {
  .hero-dark { min-height: 0; padding: 72px 0 64px; }
  .hero-dark .bg { background-image: url("/img/background-mobile.jpg"); background-position: center; }
  .hero-dark::after { background: linear-gradient(180deg, rgba(2,20,43,.7) 0%, rgba(2,20,43,.92) 60%); }
  .hero-stats { gap: 16px 28px; margin-top: 40px; }
}

/* ---------- Intro statement ---------- */
.statement { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.statement strong { color: var(--navy); font-weight: 700; }

/* ---------- Service cards with photo ---------- */
.service-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card .photo { aspect-ratio: 16 / 9; overflow: hidden; }
.service-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .photo img { transform: scale(1.04); }
.service-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card .num { font-size: .78rem; font-weight: 700; color: var(--blue); letter-spacing: .1em; margin-bottom: 8px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-card ul { list-style: none; padding: 0; margin: auto 0 0; padding-top: 8px; }
.service-card li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--text); margin-bottom: 6px; }
.service-card li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* ---------- Competence grid ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.comp { background: var(--white); padding: 30px 28px; }
.comp .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--sky); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.comp .icon svg { width: 22px; height: 22px; }
.comp h3 { font-size: 1.05rem; margin-bottom: 8px; }
.comp p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 991.98px) { .comp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .comp-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process .step { position: relative; padding-top: 64px; }
.process .step::before {
  counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem;
}
.process .step::after { content: ""; position: absolute; top: 24px; left: 60px; right: -12px; height: 2px; background: var(--line); }
.process .step:last-child::after { display: none; }
.process h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 991.98px) { .process { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; } .process .step::after { display: none; } }
@media (max-width: 575.98px) { .process { grid-template-columns: 1fr; } }

/* ---------- Tech strip ---------- */
.tech-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); padding: 22px 0; }
.tech-strip .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; justify-content: center; }
.tech-strip .label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-right: 8px; }
.chip {
  display: inline-flex; align-items: center; font-size: .85rem; font-weight: 600; color: var(--navy);
  background: var(--sky); border-radius: 999px; padding: .35rem .85rem; white-space: nowrap;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.product-card .media { display: block; background: var(--white); aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .media img { transform: scale(1.04); }
.product-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: .75rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.product-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--navy); }
.product-card p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.price-note { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; }

.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; height: 100%;
}
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-card .icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: .95rem; color: var(--muted); margin: 0; }

.fact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.fact { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.fact .value { font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; }
.fact .label { font-size: .9rem; color: var(--muted); margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%);
  color: rgba(255,255,255,.85); border-radius: 20px; padding: 56px; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 40px solid rgba(111, 163, 214, .12);
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { font-size: 1.05rem; margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 767.98px) { .cta-band { padding: 36px 24px; } .cta-band .actions { margin-top: 24px; } }

/* ---------- Inner page header ---------- */
.page-header { background: var(--soft); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.page-header h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: 0; }
.page-header p { color: var(--muted); margin: 10px 0 0; max-width: 680px; font-size: 1.05rem; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .sep { margin: 0 .45rem; opacity: .6; }

/* ---------- Sub navigation (tabs) ---------- */
.subnav { border-bottom: 1px solid var(--line); background: var(--white); }
.subnav-list { display: flex; gap: 4px; overflow-x: auto; list-style: none; margin: 0; padding: 0; scrollbar-width: none; }
.subnav-list::-webkit-scrollbar { display: none; }
.subnav-list a {
  display: block; padding: 16px 14px; font-size: .92rem; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.subnav-list a:hover { color: var(--ink); }
.subnav-list a.active { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }

/* ---------- Product listing ---------- */
.product-row {
  display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white);
  transition: box-shadow .2s;
}
.product-row + .product-row { margin-top: 20px; }
.product-row:hover { box-shadow: var(--shadow); }
.product-row .media { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); aspect-ratio: 4 / 3; overflow: hidden; display: block; }
.product-row .media img { width: 100%; height: 100%; object-fit: cover; }
.product-row h2 { font-size: 1.3rem; margin-bottom: 8px; }
.product-row h2 a { color: var(--ink); }
.product-row h2 a:hover { color: var(--navy); }
.product-row p { color: var(--muted); margin-bottom: 18px; }
.product-row .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.product-row .price-block { margin-right: auto; }
.subproduct { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.subproduct h3 { font-size: 1rem; margin: 0; }
.subproduct .btn { flex-shrink: 0; white-space: nowrap; }
.subproduct small { color: var(--muted); }
@media (max-width: 767.98px) { .product-row { grid-template-columns: 1fr; gap: 20px; padding: 18px; } }

/* ---------- Add to cart ---------- */
.buy-box { display: inline-flex; align-items: center; gap: 8px; }
.cart-number {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); height: 44px; overflow: hidden;
}
.cart-number .minus, .cart-number .plus {
  width: 36px; height: 100%; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted); font-size: 1.1rem; user-select: none;
}
.cart-number .minus:hover, .cart-number .plus:hover { background: var(--soft); color: var(--navy); }
.cart-number input.qty {
  width: 44px; height: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  border-radius: 0; text-align: center; font-weight: 600; padding: 0; box-shadow: none;
}
.btn-add-to-cart { height: 44px; }
.btn-add-to-cart.added { background: var(--success); border-color: var(--success); }

/* ---------- Product detail ---------- */
.pd-top { padding: 40px 0 64px; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pd-gallery .slider-main { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; }
.pd-gallery .slider-item { aspect-ratio: 1 / 1; display: flex !important; align-items: center; justify-content: center; }
.pd-gallery .slider-item img { width: 100%; height: 100%; object-fit: contain; }
.pd-gallery .slider-nav { margin-top: 12px; }
.pd-gallery .slider-nav .slider-item { aspect-ratio: 1 / 1; padding: 0; overflow: hidden; background: var(--white); border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; margin-right: 10px; }
.pd-gallery .slider-nav .is-active .slider-item, .pd-gallery .slider-nav .slick-current .slider-item { border-color: var(--navy); }
.pd-gallery .slick-arrow {
  position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.pd-gallery .slick-prev { left: 12px; }
.pd-gallery .slick-next { right: 12px; }
.pd-gallery .slick-arrow .arrow { width: 9px; height: 9px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.pd-gallery .slick-prev .arrow { transform: rotate(-135deg); margin-left: 4px; }
.pd-gallery .slick-next .arrow { transform: rotate(45deg); margin-right: 4px; }
.pd-info h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.pd-info .summary { font-size: 1.05rem; color: var(--text); margin-bottom: 24px; }
.buy-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); box-shadow: var(--shadow-sm); }
.buy-panel .price { font-size: 1.75rem; letter-spacing: -.02em; }
.buy-panel .price-note { font-size: .82rem; margin-bottom: 18px; }
.buy-panel .meta { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.buy-panel .meta li { display: flex; align-items: center; gap: 10px; padding: 12px 0 0; font-size: .92rem; }
.buy-panel .meta i { width: 18px; color: var(--blue); text-align: center; }
.buy-panel .meta .ok { color: var(--success); }
.pd-quick { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: .9rem; }
.pd-quick li { position: relative; padding-left: 22px; color: var(--text); }
.pd-quick li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 575.98px) { .pd-quick { grid-template-columns: 1fr; } }
@media (max-width: 991.98px) { .pd-gallery { position: static; margin-bottom: 32px; } }

.pd-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; margin-bottom: 32px; position: sticky; top: var(--header-h); background: var(--white); z-index: 5; }
.pd-tabs a { padding: 14px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; font-size: .95rem; }
.pd-tabs a:hover { color: var(--ink); }
.pd-tabs a.active { color: var(--navy); border-bottom-color: var(--navy); }
.pd-section { scroll-margin-top: calc(var(--header-h) + 64px); margin-bottom: 56px; }
.pd-section h2 { font-size: 1.4rem; margin-bottom: 20px; }
.spec-table { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.spec-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr:nth-child(even) td { background: var(--soft); }
.spec-table td.k { width: 38%; color: var(--muted); font-weight: 500; }
.spec-table td.v { color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding: 12px 16px 12px 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.check-list li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }

/* ---------- Downloads ---------- */
.download-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.download-card + .download-card { margin-top: 20px; }
.download-card .head { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--soft); }
.download-card .head img { width: 56px; height: 56px; object-fit: cover; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.download-card .head h2 { font-size: 1.1rem; margin: 0; }
.download-card .head a { font-size: .85rem; }
.download-list { list-style: none; margin: 0; padding: 6px 0; }
.download-list li a { display: flex; align-items: center; gap: 14px; padding: 12px 22px; color: var(--ink); }
.download-list li a:hover { background: var(--sky); }
.download-list .ficon { width: 36px; height: 36px; border-radius: 8px; background: var(--sky); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.download-list .name { font-weight: 600; font-size: .95rem; }
.download-list .meta { font-size: .8rem; color: var(--muted); display: block; font-weight: 400; }
.download-list .go { margin-left: auto; color: var(--muted); font-size: .85rem; }
.download-list li a:hover .go { color: var(--navy); }
.download-list .hint { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }

/* ---------- Partner ---------- */
.partner-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; background: var(--white); transition: box-shadow .2s; }
.partner-card:hover { box-shadow: var(--shadow); }
.partner-card .logo { height: 72px; display: flex; align-items: center; margin-bottom: 20px; }
.partner-card .logo img { max-height: 56px; max-width: 180px; object-fit: contain; }
.partner-card h2 { font-size: 1.1rem; margin-bottom: 6px; }
.partner-card p { color: var(--muted); font-size: .92rem; }
.partner-card .link-arrow { margin-top: auto; }

/* ---------- Contact ---------- */
.contact-info { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-info li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-info .ci-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info .ci-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-info .ci-value { color: var(--ink); font-weight: 600; }
.contact-info .ci-value a { color: var(--ink); }
.contact-info .ci-value a:hover { color: var(--navy); }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--white); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); margin-bottom: 24px; }
label { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-control {
  border: 1px solid var(--line); border-radius: var(--radius-sm); height: auto; padding: .7rem .9rem;
  font-size: .95rem; color: var(--ink); background: var(--white); box-shadow: none;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 197, .15); }
select.form-control { height: calc(1.5em + 1.4rem + 2px); }
textarea.form-control { min-height: 130px; }
label.error, .error:not(.form-control):not(input) { color: #c0392b; font-size: .82rem; font-weight: 500; margin-top: 4px; display: block; }
.form-control.error { border-color: #c0392b; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-note a { color: var(--muted); text-decoration: underline; }
.contact-success, .contact-success2 {
  display: none; margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: #e7f6ef; color: var(--success); font-weight: 600; font-size: .92rem;
}

/* ---------- Legal / text pages ---------- */
.prose { max-width: 820px; color: var(--text); }
.prose h1 { font-size: 1.9rem; margin: 0 0 24px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.prose h3, .prose h4 { font-size: 1.1rem; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 1rem; line-height: 1.75; }
.prose a { text-decoration: underline; word-break: break-word; }
.prose table { width: 100%; margin: 16px 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; }
.conditions { padding-top: 48px; padding-bottom: 72px; }

/* ---------- Shop ---------- */
.section-shop { padding: 48px 0 80px; }
.section-shop h3 { font-size: 1.35rem; }
.steps { position: relative; display: flex; justify-content: space-between; margin: 0 auto 48px; max-width: 640px; }
.steps progress {
  position: absolute; top: 22px; left: 12%; width: 76%; height: 2px; -webkit-appearance: none; appearance: none;
  border: 0; background: var(--line); z-index: 0;
}
.steps progress::-webkit-progress-bar { background: var(--line); }
.steps progress::-webkit-progress-value { background: var(--navy); }
.steps progress::-moz-progress-bar { background: var(--navy); }
.step-item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 25%; }
.step-button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: var(--white);
  color: var(--muted); display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.step-button[aria-expanded="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }
.step-button:not(:disabled):hover { border-color: var(--navy); }
.step-button:disabled { cursor: default; }
.step-title { margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.cart-table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.cart-table thead th { background: var(--soft); border: 0; border-bottom: 1px solid var(--line); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 16px; }
.cart-table td { border-top: 1px solid var(--line); padding: 14px 16px; vertical-align: middle; }
.cart-table tbody tr:first-child td { border-top: 0; }
.cart-table img { mix-blend-mode: multiply; background: var(--soft); border-radius: 6px; }
.cart-table .total, .cart-table .price { white-space: nowrap; }
.cart-table td.total { text-align: right; font-weight: 600; color: var(--ink); }
.total-net, .total-brut { font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.payment-methods .form-check { padding: 14px 16px 14px 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.payment-methods .form-check-input { margin-left: -26px; margin-top: .4rem; }
.section-shop .card { border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 72px 0 0; margin-top: 0; font-size: .93rem; }
.site-footer h4 { color: var(--white); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer .brand img { height: 32px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.site-footer .about { max-width: 320px; }
.site-footer .social { display: flex; gap: 10px; margin-top: 20px; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.site-footer .social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0; font-size: .82rem; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom .gender { max-width: 640px; }
.footer-bottom button.linklike { background: none; border: 0; padding: 0; color: rgba(255,255,255,.75); cursor: pointer; font-size: inherit; }
.footer-bottom button.linklike:hover { color: var(--white); }

/* ---------- Legacy utility classes still used in markup ---------- */
@media (max-width: 767.98px) { .hidden-xs { display: none !important; } }
@media (min-width: 768px) and (max-width: 991.98px) { .hidden-sm { display: none !important; } }
@media (min-width: 992px) { .hidden-gt-sm { display: none !important; } }
.mt { margin-top: 0; }

@media (max-width: 575.98px) { .fact-list { grid-template-columns: 1fr; } }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
