/* =========================================================================
   Dubinsko BGD — Koncept 1 „Sveže i jasno“
   One stylesheet, mobile-first (360 → 768 → 1200 → 1440).

   WCAG 2.2 contrast, checked pairs (ratio : 1):
     --ink      #16212e on #ffffff ........ 16.27  body text
     --blue-900 #0b2a4a on #ffffff ........ 14.54  headings
     --blue-900 #0b2a4a on --blue-50 ...... 13.42
     --muted    #5a6878 on #ffffff ........  5.70  secondary text
     --muted    #5a6878 on --blue-50 ......  5.26
     #ffffff on --blue-700 #0070c9 ........  5.05  primary button text (AA)
     --blue-700 #0070c9 on #ffffff ........  5.05  links, outline buttons
     --blue-700 #0070c9 on --blue-50 ......  4.66  links on soft surfaces
     --blue-800 #005fa8 on --blue-100 .....  > 5   text on blue-100 (#0070c9 there is only 4.24 → not used)
     #ffffff on --blue-600 #0094ff ........  3.14  ONLY large text ≥ 24px / 18.66px bold, icons
     --blue-600 #0094ff on #ffffff ........  3.14  ONLY icons, accents, display text
     --success  #12a150 on #ffffff ........  3.37  icons only (non-text 3:1)
     --ink on --todo #ffe58a ..............  13.03 placeholder labels
     --line #e3ebf3 is decorative (1.2) — never the only cue for a control.
   ========================================================================= */

/* Fonts: self-hosted, 2 families / 4 cuts. Drop the woff2 files into
   assets/fonts/ [POTVRDITI: font fajlovi nisu još dodati — do tada radi sistemski font]. */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("Plus Jakarta Sans Bold"), local("PlusJakartaSans-Bold"), url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap;
  src: local("Plus Jakarta Sans ExtraBold"), local("PlusJakartaSans-ExtraBold"), url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Inter Regular"), local("Inter-Regular"), url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap;
  src: local("Inter SemiBold"), local("Inter-SemiBold"), url("../fonts/inter-600.woff2") format("woff2"); }

:root {
  /* Color */
  --blue-600: #0094ff;
  --blue-700: #0070c9;
  --blue-800: #005fa8;
  --blue-900: #0b2a4a;
  --blue-50: #eef7ff;
  --blue-100: #d9eeff;
  --ink: #16212e;
  --muted: #5a6878;
  --line: #e3ebf3;
  --bg: #ffffff;
  --success: #12a150;
  --todo: #ffe58a;

  /* Type */
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);   /* 40 → 64 */
  --fs-h2: clamp(1.75rem, 1.45rem + 1.3vw, 2.5rem);     /* 28 → 40 */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);    /* 20 → 24 */
  --fs-body: clamp(1rem, 0.95rem + 0.22vw, 1.125rem);   /* 16 → 18 */
  --fs-small: 0.875rem;                                  /* 14 */

  /* Space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: 64px;
  --max: 1200px;
  --gutter: 20px;

  /* Shape */
  --r-1: 12px; --r-2: 20px; --r-3: 28px;
  --shadow: 0 10px 30px rgba(0, 148, 255, .12);
  --shadow-lg: 0 18px 44px rgba(0, 148, 255, .18);
  --shadow-header: 0 4px 18px rgba(11, 42, 74, .08);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
  --bar-h: 0px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --section: 112px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility;
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue-900); line-height: 1.15; margin: 0 0 var(--s-4); letter-spacing: -.015em; }
h1 { font-size: var(--fs-display); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--s-4); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 3px; border-radius: 6px; }
.num, .price { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--blue-900); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--r-1); font-weight: 600;
}
.skip-link:focus { top: var(--s-4); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--blue-50); }
.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head p { color: var(--muted); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); max-width: none; }
.eyebrow { display: inline-block; font-size: var(--fs-small); font-weight: 600; color: var(--blue-700); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s-2); }

/* ---------- Placeholder label ---------- */
.todo {
  display: inline-block; background: var(--todo); color: var(--ink);
  font: 600 .8125rem/1.3 var(--font-body); letter-spacing: .01em;
  padding: 2px 8px; border-radius: 6px; border: 1px dashed #c9a400; vertical-align: middle;
  font-variant-numeric: normal;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-5); border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--blue-800); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--secondary { background: #fff; color: var(--blue-700); border-color: var(--blue-700); }
.btn--secondary:hover { background: var(--blue-50); color: var(--blue-800); }
.btn--white { background: #fff; color: var(--blue-700); }
.btn--white:hover { background: var(--blue-50); color: var(--blue-800); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--sm { min-height: 48px; padding: 0 var(--s-4); font-size: .9375rem; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Chips ---------- */
.chip { text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: var(--fs-small); font-weight: 600; color: var(--blue-900);
}
.price-chip {
  display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-900); font: 700 1rem/1.2 var(--font-head); font-variant-numeric: tabular-nums;
}
.price-chip small { font: 600 .8125rem var(--font-body); color: var(--blue-800); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff; height: var(--header-h);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s-4); }
.logo { display: inline-flex; align-items: center; min-height: 48px; margin-right: auto; }
.logo img { height: 40px; width: auto; }
@media (min-width: 768px) { .logo img { height: 46px; } }
.nav { display: none; }
.nav ul { display: flex; gap: var(--s-1); }
.nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s-3); border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.nav a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav a[aria-current="page"] { color: var(--blue-700); }
.header-tel { display: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--blue-700); cursor: pointer;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--blue-50); }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: #fff;
  box-shadow: var(--shadow-header); padding: var(--s-4) var(--gutter) var(--s-6);
  border-top: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: flex; align-items: center; min-height: 52px; color: var(--blue-900); font-weight: 600;
  text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.0625rem;
}
.mobile-nav .btn { margin-top: var(--s-5); width: 100%; border-bottom: 0; color: #fff; justify-content: center; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header-tel { display: inline-flex; }
  .header-mobile-actions, .mobile-nav { display: none !important; }
}
.header-mobile-actions { display: flex; gap: var(--s-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--s-7) 0 var(--s-8); isolation: isolate; }
.hero::before {
  /* Soft blue-white „mesh“ — water / foam. CSS only. */
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(38% 34% at 22% 28%, rgba(0, 148, 255, .20), transparent 70%),
    radial-gradient(30% 30% at 78% 18%, rgba(120, 200, 255, .26), transparent 70%),
    radial-gradient(42% 40% at 62% 78%, rgba(0, 148, 255, .12), transparent 70%),
    linear-gradient(180deg, #f5fbff 0%, #fff 70%);
  animation: mesh 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes mesh {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.06); }
  100% { transform: translate3d(-3%, 3%, 0) rotate(-4deg) scale(1.02); }
}
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) {
  .hero { padding: var(--s-8) 0 var(--s-9); }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: var(--s-8); }
}
.hero .chip { margin-bottom: var(--s-5); box-shadow: var(--shadow); }
.hero h1 { margin-bottom: var(--s-5); max-width: 18ch; }
.hero-sub { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--muted); max-width: 54ch; margin-bottom: var(--s-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
@media (max-width: 479px) { .hero-ctas .btn { width: 100%; } }
.facts { display: grid; gap: var(--s-3); }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-5); } }
.facts li { display: flex; align-items: center; gap: var(--s-2); font-weight: 600; font-size: .9375rem; color: var(--blue-900); }
.facts svg { width: 24px; height: 24px; color: var(--blue-600); flex: none; }
.hero-media { position: relative; }
.hero-media .ba { aspect-ratio: 4 / 5; max-width: 520px; margin-inline: auto; box-shadow: var(--shadow-lg); }

/* ---------- Before / after comparator ---------- */
.ba { position: relative; border-radius: var(--r-3); overflow: hidden; background: var(--blue-50); }
/* No-JS fallback: two images side by side with labels */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; aspect-ratio: auto !important; }
.ba figure { margin: 0; position: relative; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute; top: var(--s-3); padding: 4px 12px; border-radius: 999px; z-index: 2;
  font: 700 .8125rem/1.4 var(--font-body); letter-spacing: .04em; text-transform: uppercase;
  background: rgba(11, 42, 74, .82); color: #fff;
}
.ba-before .ba-tag { left: var(--s-3); }
.ba-after .ba-tag { right: var(--s-3); background: var(--blue-700); }
.ba-handle, .ba-hint { display: none; }

.js .ba { display: block; aspect-ratio: 4 / 5 !important; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; --pos: 50%; }
.js .ba figure { position: absolute; inset: 0; }
.js .ba-before { z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.js .ba-handle {
  display: block; position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 48px; margin-left: -24px; background: none; border: 0; padding: 0; cursor: ew-resize; touch-action: none;
}
.js .ba-handle::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 42, 74, .15); }
.ba-knob {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: #fff; color: var(--blue-700); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(11, 42, 74, .25);
}
.ba-knob svg { width: 26px; height: 26px; }
.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible .ba-knob { outline: 3px solid var(--blue-700); outline-offset: 3px; }
.js .ba-hint {
  display: inline-flex; position: absolute; left: 50%; bottom: var(--s-4); transform: translateX(-50%); z-index: 4;
  background: rgba(255, 255, 255, .94); color: var(--blue-900); font-size: .8125rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; pointer-events: none; white-space: nowrap; box-shadow: var(--shadow);
}
.ba.is-touched .ba-hint { opacity: 0; transition: opacity .3s; }
/* Missing image: show a labeled placeholder with the file name */
.img-missing { background: repeating-linear-gradient(135deg, var(--blue-50) 0 12px, var(--blue-100) 12px 24px); }
.img-missing img { opacity: 0; }
.img-missing::after {
  content: "[SLIKA] " attr(data-file); position: absolute; inset: auto var(--s-3) 48px; z-index: 2;
  font: 600 .75rem/1.4 var(--font-body); color: var(--ink); background: var(--todo); padding: 4px 8px; border-radius: 6px; word-break: break-all;
}

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); padding: var(--s-5) 0; }
@media (min-width: 900px) { .trust ul { display: flex; justify-content: space-between; align-items: center; } }
.trust li { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; font-size: .9375rem; color: var(--blue-900); line-height: 1.3; }
.trust li small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; }
.trust svg { width: 28px; height: 28px; color: var(--blue-600); flex: none; }
.trust a { color: var(--blue-900); text-decoration: none; }
.trust a:hover { color: var(--blue-700); text-decoration: underline; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-2); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--blue-50); margin: 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media--icon { display: grid; place-items: center; color: var(--blue-600); }
.card-media--icon svg { width: 44%; height: auto; }
.card-body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); flex: 1; }
@media (min-width: 900px) { .card-body { padding: var(--s-5); } }
.card h3 { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); margin: 0; }
.card .note { font-size: .8125rem; color: var(--muted); margin: 0; line-height: 1.4; }
.card .price-chip { align-self: flex-start; }
.card-cta { margin-top: auto; padding-top: var(--s-2); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 48px; }
.card-cta::after { content: ""; position: absolute; inset: 0; } /* whole card is the tap target */
.card-cta:hover { text-decoration: underline; }
.badge {
  position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2; background: #fff; color: var(--blue-800);
  font: 700 .75rem/1 var(--font-body); padding: 6px 10px; border-radius: 999px; box-shadow: var(--shadow);
}
.strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-3);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-4) var(--s-5);
}
@media (min-width: 900px) { .strip { margin-top: var(--s-5); } }
.strip svg { width: 32px; height: 32px; color: var(--blue-600); }
.strip h3 { margin: 0; font-size: 1.125rem; }
.strip .grow { flex: 1 1 200px; display: flex; align-items: center; gap: var(--s-3); }
.services-foot { margin-top: var(--s-5); text-align: center; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.step { background: #fff; border-radius: var(--r-2); padding: var(--s-5); box-shadow: var(--shadow); position: relative; }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: var(--s-4);
  background: var(--blue-600); color: #fff; font: 800 1.5rem/1 var(--font-head);
}
.step h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
.micro { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-5); color: var(--muted); font-size: var(--fs-small); align-items: center; }
.micro li { display: inline-flex; align-items: center; gap: 6px; }
.micro svg { width: 18px; height: 18px; color: var(--success); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--s-4);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-4);
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
}
.gallery > * { scroll-snap-align: start; }
@media (min-width: 640px) { .gallery { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.gallery-item { margin: 0; }
.gallery-item figcaption { margin-top: var(--s-3); font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.gallery-item figcaption strong { display: block; color: var(--blue-900); font-family: var(--font-head); font-size: 1.0625rem; }
.js .gallery .ba { touch-action: pan-x pan-y; cursor: pointer; }

/* ---------- Why ---------- */
.why { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.why-feature { position: relative; border-radius: var(--r-3); overflow: hidden; background: var(--blue-100); min-height: 320px; display: flex; align-items: flex-end; margin: 0; }
.why-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-feature figcaption {
  position: relative; margin: var(--s-4); background: rgba(255, 255, 255, .95); border-radius: var(--r-2); padding: var(--s-5);
}
.why-feature h3 { margin-bottom: var(--s-2); }
.why-feature p { margin: 0; color: var(--muted); }
.why-list { display: grid; gap: var(--s-3); }
.why-list li { display: flex; gap: var(--s-4); background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-5); }
.why-list svg { width: 32px; height: 32px; color: var(--blue-600); flex: none; }
.why-list h3 { font-size: 1.125rem; margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (min-width: 900px) { .audience { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.audience li { background: var(--blue-50); border-radius: var(--r-2); padding: var(--s-5); }
.audience svg { width: 36px; height: 36px; color: var(--blue-600); margin-bottom: var(--s-3); }
.audience h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.audience p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); margin: 0; }
.review blockquote { margin: 0; font-size: 1.0625rem; }
.review figcaption { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-small); color: var(--muted); margin-top: auto; }
.g-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-900); }
.g-badge svg { width: 20px; height: 20px; }
.widget-slot { margin-top: var(--s-5); border: 2px dashed var(--line); border-radius: var(--r-2); padding: var(--s-5); text-align: center; color: var(--muted); font-size: var(--fs-small); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding: var(--s-3) 0; cursor: pointer; list-style: none;
  font: 700 1.0625rem/1.35 var(--font-head); color: var(--blue-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230070c9' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 var(--s-5); color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Closing CTA ---------- */
.cta-block {
  border-radius: var(--r-3); padding: var(--s-7) var(--s-5); color: #fff;
  background: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-700) 35%, var(--blue-600) 100%);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .cta-block { padding: var(--s-8); display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); } }
.cta-block::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%); pointer-events: none; }
.cta-block h2 { color: #fff; margin-bottom: var(--s-2); }
.cta-block p { font-size: 1.5rem; margin: 0 0 var(--s-5); line-height: 1.3; } /* ≥ 24px: large text, AA on the lighter side */
@media (min-width: 900px) { .cta-block p { margin: 0; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); position: relative; z-index: 1; }
@media (max-width: 479px) { .cta-actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #dbe6f2; padding: var(--s-8) 0 var(--s-6); margin-top: var(--section); font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--r-1); padding: 8px 12px; margin-bottom: var(--s-4); }
.footer-logo img { height: 40px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: var(--s-3); }
.site-footer li { margin-bottom: 4px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-bottom { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .14); font-size: var(--fs-small); color: #b9c8d8; }

/* ---------- Sticky mobile bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  gap: var(--s-2); padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); box-shadow: 0 -6px 24px rgba(11, 42, 74, .12);
  transform: translateY(110%); transition: transform .2s var(--ease);
}
.mbar .btn { flex: 1; min-height: 52px; padding: 0 var(--s-3); font-size: .9375rem; }
.mbar.is-visible { transform: none; }
@media (max-width: 639px) { .mbar { display: flex; } }

/* =========================================================================
   Pricing page
   ========================================================================= */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: var(--s-7) 0 var(--s-6); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 85% 0%, rgba(0, 148, 255, .14), transparent 70%), linear-gradient(180deg, #f5fbff, #fff); }
.page-hero h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); margin-bottom: var(--s-3); }
.page-hero p { color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.breadcrumb { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--s-4); }
.breadcrumb a { color: var(--blue-700); }

.info-card { background: var(--blue-50); border-radius: var(--r-3); padding: var(--s-5); border: 1px solid var(--blue-100); }
@media (min-width: 768px) { .info-card { padding: var(--s-6); } }
.info-card h2 { font-size: var(--fs-h3); display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.info-card h2 svg { width: 28px; height: 28px; color: var(--blue-600); }
.info-card dl { display: grid; gap: var(--s-3); margin: 0; }
@media (min-width: 640px) { .info-card dl { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .info-card dl { grid-template-columns: repeat(4, 1fr); } }
.info-card dl > div { background: #fff; border-radius: var(--r-1); padding: var(--s-3) var(--s-4); }
.info-card dt { font-size: var(--fs-small); font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.info-card dd { margin: 0; font-weight: 600; color: var(--blue-900); }

.price-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (min-width: 1024px) { .price-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-7); } }

.tabs {
  display: none; gap: var(--s-2); overflow-x: auto; scrollbar-width: none;
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .96);
  padding: var(--s-3) var(--gutter); margin: 0 calc(-1 * var(--gutter)) var(--s-4);
  border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.js .tabs { display: flex; }
@media (min-width: 1024px) { .tabs { position: static; margin: 0 0 var(--s-5); padding: 0 0 var(--s-3); background: none; } }
.tab {
  flex: none; min-height: 48px; padding: 0 var(--s-5); border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--blue-900); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s;
}
.tab:hover { background: var(--blue-50); }
.tab[aria-selected="true"] { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.tab-panel h2 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.js .tab-panel h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tab-panel + .tab-panel { margin-top: var(--s-6); }
.js .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel[hidden] { display: none; }

.items { display: grid; gap: var(--s-3); }
.item {
  position: relative; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-3) var(--s-4);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-4);
  transition: box-shadow .2s, border-color .2s;
}
.item.is-selected { border-color: var(--blue-600); box-shadow: var(--shadow); }
.item-icon { width: 48px; height: 48px; border-radius: var(--r-1); background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; }
.item-icon svg { width: 30px; height: 30px; }
.item-main h3 { font-size: 1.125rem; margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.item-main p { margin: 0; font-size: .875rem; color: var(--muted); line-height: 1.45; }
.item-main .one-price { margin-top: 6px; font-weight: 600; color: var(--blue-900); font-size: .875rem; }
.item .badge { position: static; box-shadow: none; background: var(--blue-100); color: var(--blue-800); }
.item-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px dashed var(--line); }
@media (min-width: 640px) {
  .item { grid-template-columns: 56px 1fr auto; padding: var(--s-5); align-items: center; }
  .item-icon { width: 56px; height: 56px; }
  .item-side { grid-column: auto; flex-direction: column; align-items: flex-end; border: 0; padding: 0; }
}
.item-price { font: 800 1.5rem/1 var(--font-head); color: var(--blue-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-price small { font: 600 .875rem var(--font-body); color: var(--muted); }
.item-actions { display: flex; align-items: center; gap: var(--s-3); }
.item-book { font-size: .875rem; font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button {
  width: 48px; height: 48px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--blue-700);
  display: grid; place-items: center;
}
.stepper button:hover { background: var(--blue-50); }
.stepper button:disabled { color: #9aa8b6; cursor: default; background: none; }
.stepper button svg { width: 18px; height: 18px; }
.stepper output, .stepper input {
  min-width: 2.5ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--blue-900);
}
.stepper input { width: 64px; height: 48px; border: 0; background: none; font: inherit; font-weight: 700; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .unit { font-size: .8125rem; color: var(--muted); padding-right: 4px; }

/* Summary: desktop sticky panel / mobile drawer */
.summary { background: #fff; border-radius: var(--r-3); box-shadow: var(--shadow-lg); border: 1px solid var(--blue-100); }
.summary-head { padding: var(--s-5) var(--s-5) var(--s-3); }
.summary-head .label { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.summary-total { font: 800 2rem/1.1 var(--font-head); color: var(--blue-900); font-variant-numeric: tabular-nums; }
.summary-toggle { display: none; }
.summary-body { padding: 0 var(--s-5) var(--s-5); }
.summary-list { border-top: 1px solid var(--line); margin-bottom: var(--s-4); max-height: 40vh; overflow: auto; }
.summary-list li { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: .9375rem; animation: slideIn .25s var(--ease); }
.summary-list li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-empty { color: var(--muted); font-size: .9375rem; padding: var(--s-3) 0; }
@keyframes slideIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.summary-note { font-size: .8125rem; color: var(--muted); margin: var(--s-3) 0 0; }
.summary-min { font-size: .8125rem; margin: 0 0 var(--s-3); padding: var(--s-2) var(--s-3); background: var(--blue-50); border-radius: var(--r-1); }
.summary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.summary-actions .btn { padding: 0 var(--s-3); }

@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 1023px) {
  .js .summary {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; border-radius: var(--r-3) var(--r-3) 0 0;
    border: 0; box-shadow: 0 -10px 30px rgba(11, 42, 74, .16); padding-bottom: env(safe-area-inset-bottom);
    max-height: 85vh; display: flex; flex-direction: column;
  }
  .js .summary-head { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); }
  .js .summary-head .totals { flex: 1; min-width: 0; }
  .js .summary-total { font-size: 1.375rem; }
  .js .summary-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--blue-700); cursor: pointer; flex: none;
  }
  .js .summary-toggle svg { width: 22px; height: 22px; transition: transform .2s var(--ease); }
  .js .summary.is-open .summary-toggle svg { transform: rotate(180deg); }
  .js .summary-body { display: none; overflow: auto; padding: 0 var(--s-4) var(--s-4); }
  .js .summary.is-open .summary-body { display: block; }
  .js .summary-quick { flex: none; }
  .js .summary.is-open .summary-quick { display: none; }
  .js .page-pricing { --bar-h: 88px; }
}
@media (min-width: 1024px) { .summary-quick { display: none; } }

.on-request { display: grid; gap: var(--s-3); }
@media (min-width: 768px) { .on-request { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.on-request li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-5); }
.on-request svg { width: 32px; height: 32px; color: var(--blue-600); margin-bottom: var(--s-3); }
.on-request h3 { font-size: 1.125rem; margin-bottom: 4px; }
.on-request p { margin: 0 0 var(--s-3); color: var(--muted); font-size: .9375rem; }
.on-request .price-chip { background: var(--blue-50); }

.ba-pair { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .ba-pair { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.ba-pair .ba { max-width: 480px; margin-inline: auto; width: 100%; }

.reviews--strip .review blockquote { font-size: 1rem; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero::before { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .card:hover, .btn--primary:hover { transform: none; }
}

/* ---------- Progressive enhancement + bar spacing ---------- */
.stepper, .summary { display: none; }
.js .stepper { display: inline-flex; }
.js .summary { display: block; }
.mbar .btn { white-space: normal; line-height: 1.2; text-align: center; }
.mbar .btn--primary { flex: 1.35; }
@media (max-width: 639px) { body.has-mbar { --bar-h: 76px; } }
@media (max-width: 1023px) { .js .summary { display: flex; } }
