/*
  Zobni rentgen — premium statična spletna stran
  Sistem oblikovanja je namenoma zadržan: manj kartic, več zraka, jasna hierarhija.
*/

:root {
  --bg: #f7faff;
  --surface: #ffffff;
  --surface-strong: #eef5ff;
  --surface-blue: #e7f2ff;
  --ink: #10203a;
  --heading: #071f43;
  --muted: #60708a;
  --line: rgba(10, 55, 112, 0.13);
  --line-strong: rgba(10, 72, 153, 0.24);
  --blue: #0b66e4;
  --blue-strong: #0754bd;
  --blue-dark: #06387f;
  --cyan: #77c6ff;
  --navy: #061a38;
  --navy-soft: #0a2853;
  --success: #0a8a66;
  --white: #ffffff;
  --header-bg: rgba(247, 250, 255, 0.86);
  --shadow-sm: 0 10px 30px rgba(9, 39, 83, 0.08);
  --shadow-md: 0 24px 70px rgba(9, 39, 83, 0.14);
  --shadow-lg: 0 34px 100px rgba(5, 33, 75, 0.2);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-xl: 46px;
  --container: 1240px;
  --header-h: 88px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #07111f;
  --surface: #0c192a;
  --surface-strong: #101f33;
  --surface-blue: #102844;
  --ink: #dce7f6;
  --heading: #f4f8ff;
  --muted: #9eacc0;
  --line: rgba(155, 190, 232, 0.16);
  --line-strong: rgba(126, 181, 240, 0.3);
  --blue: #69adff;
  --blue-strong: #8bc2ff;
  --blue-dark: #4e97ed;
  --cyan: #9bd5ff;
  --navy: #030b16;
  --navy-soft: #0b203b;
  --success: #55d5ad;
  --header-bg: rgba(7, 17, 31, 0.86);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 34px 100px rgba(0, 0, 0, 0.44);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

::selection { color: #fff; background: var(--blue); }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 12px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow,
.hero-kicker {
  margin: 0 0 18px;
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--heading);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 { font-size: clamp(3.4rem, 6vw, 6.2rem); }
h2 { font-size: clamp(2.35rem, 4.3vw, 4.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }

p { margin: 0 0 1.2em; }
.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
  line-height: 1.58;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-strong);
  font-weight: 760;
}
.text-link svg { width: 18px; transition: transform 0.2s ease; }
.text-link:hover svg { transform: translateX(4px); }

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
.faq-question:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent);
  outline-offset: 3px;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0871ef, #0755c2);
  box-shadow: 0 14px 34px rgba(8, 96, 217, 0.25);
}
.btn-primary:hover { box-shadow: 0 18px 42px rgba(8, 96, 217, 0.34); }
.btn-secondary {
  color: var(--heading);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--surface); border-color: var(--blue); }
.btn-ghost {
  color: var(--blue-strong);
  background: transparent;
  border-color: color-mix(in srgb, var(--blue) 28%, transparent);
}
.btn-small { min-height: 44px; padding-inline: 17px; font-size: 0.9rem; }
.btn-wide { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-mark-wrap {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fbff, #e5f1ff);
  border: 1px solid rgba(7, 87, 190, 0.12);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(6, 70, 151, 0.1);
}
.brand-mark-wrap img { width: 42px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; gap: 1px; line-height: 1; }
.brand-name { color: var(--heading); font-size: 0.99rem; font-weight: 820; letter-spacing: -0.02em; }
.brand-subtitle { color: var(--muted); font-size: 0.62rem; font-weight: 720; letter-spacing: 0.1em; text-transform: uppercase; }
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav .btn { display: none; }
.main-nav > a:not(.btn) {
  position: relative;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 690;
  transition: color 0.18s ease;
}
.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
  transition: right 0.2s ease;
}
.main-nav > a:not(.btn):hover,
.main-nav > a:not(.btn):focus-visible { color: var(--heading); }
.main-nav > a:not(.btn):hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.theme-toggle,
.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: var(--heading);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.theme-toggle:hover,
.menu-toggle:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.theme-toggle svg,
.menu-toggle svg { width: 20px; height: 20px; }
.theme-icon { display: none; }
html[data-theme-mode="system"] .theme-icon-system,
html[data-theme-mode="light"] .theme-icon-sun,
html[data-theme-mode="dark"] .theme-icon-moon { display: block; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(34px, 5vw, 74px) 0 clamp(72px, 8vw, 118px);
  background:
    radial-gradient(circle at 18% 5%, rgba(83, 166, 255, 0.18), transparent 32%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 85%, #dcecff) 0%, var(--bg) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -250px;
  bottom: -270px;
  border: 1px solid color-mix(in srgb, var(--blue) 15%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 80px color-mix(in srgb, var(--blue) 4%, transparent), 0 0 0 160px color-mix(in srgb, var(--blue) 3%, transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(440px, 1.02fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
}
.hero-copy { max-width: 650px; padding-block: 24px; }
.hero-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 10px 13px;
  color: var(--blue-strong);
  background: color-mix(in srgb, var(--surface-blue) 76%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
  border-radius: 999px;
  letter-spacing: 0.09em;
}
.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 13%, transparent);
}
.hero h1 { max-width: 720px; }
.hero h1 .accent { color: var(--blue-strong); }
.hero .lead { max-width: 590px; margin: 26px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  margin-top: 34px;
  padding-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  border-top: 1px solid var(--line);
}
.hero-meta-item { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.hero-meta-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue-strong);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.hero-meta-icon svg { width: 15px; height: 15px; }
.hero-meta-item strong { display: block; color: var(--heading); font-size: 0.82rem; line-height: 1.3; }
.hero-meta-item span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.72rem; line-height: 1.35; }
.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 22, 51, 0.28) 100%);
  pointer-events: none;
}
.hero-visual img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; object-position: 67% center; }
.hero-floating-card {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  width: min(330px, calc(100% - 48px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  color: #eaf4ff;
  background: rgba(5, 25, 54, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}
.hero-floating-card .floating-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #9dd4ff;
  background: rgba(89, 164, 240, 0.14);
  border: 1px solid rgba(129, 191, 255, 0.25);
  border-radius: 14px;
}
.hero-floating-card svg { width: 22px; }
.hero-floating-card strong { display: block; font-size: 0.91rem; }
.hero-floating-card span { display: block; margin-top: 2px; color: #b8cbe2; font-size: 0.77rem; line-height: 1.4; }

/* General sections */
.section { padding: clamp(82px, 9vw, 138px) 0; }
.section-soft { background: var(--surface-strong); }
.section-dark {
  color: #e8f2ff;
  background:
    radial-gradient(circle at 78% 8%, rgba(50, 136, 238, 0.28), transparent 32%),
    linear-gradient(145deg, #06162f, #08234b);
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #9dd4ff; }
.section-dark p { color: #b9cae0; }
.section-heading {
  margin-bottom: clamp(34px, 5vw, 60px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.section-heading > div:first-child { max-width: 760px; }
.section-heading .section-copy { max-width: 430px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-heading h2 { max-width: 780px; }
.section-head {
  max-width: 780px;
  margin: 0 auto clamp(34px, 5vw, 60px);
  text-align: center;
}
.section-head p:last-child { max-width: 660px; margin: 18px auto 0; color: var(--muted); }

/* Services */
.services-layout { display: grid; gap: 18px; }
.service-feature {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  overflow: hidden;
  color: #e8f2ff;
  background:
    radial-gradient(circle at 82% 18%, rgba(74, 157, 255, 0.3), transparent 28%),
    linear-gradient(135deg, #051832, #0a2f61);
  border: 1px solid rgba(105, 167, 238, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.service-feature-copy { position: relative; z-index: 2; padding: clamp(36px, 5vw, 68px); }
.service-feature .service-index { color: #8ec9ff; }
.service-feature h3 { max-width: 520px; color: #fff; font-size: clamp(2.2rem, 4vw, 4rem); }
.service-feature p { max-width: 580px; margin: 21px 0 28px; color: #b7cbe3; font-size: 1.07rem; }
.service-index { display: block; margin-bottom: 26px; color: var(--blue-strong); font-size: 0.74rem; font-weight: 820; letter-spacing: 0.13em; }
.service-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.service-tags span {
  padding: 8px 11px;
  color: #d7eaff;
  background: rgba(91, 160, 235, 0.11);
  border: 1px solid rgba(142, 201, 255, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 690;
}
.service-feature .text-link { color: #a8d7ff; }
.scan-visual {
  --cbct-art-width: min(78%, 485px);
  --cbct-orbit-size: 410px;
  --cbct-orbit-shadow-1: 54px;
  --cbct-orbit-shadow-2: 108px;
  --cbct-glow-size: 220px;
  position: relative;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.scan-visual::before,
.scan-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(124, 190, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.scan-visual::before {
  width: var(--cbct-orbit-size);
  height: var(--cbct-orbit-size);
  box-shadow: 0 0 0 var(--cbct-orbit-shadow-1) rgba(93, 164, 238, 0.04), 0 0 0 var(--cbct-orbit-shadow-2) rgba(93, 164, 238, 0.03);
}
.scan-visual::after {
  width: var(--cbct-glow-size);
  height: var(--cbct-glow-size);
  background: radial-gradient(circle, rgba(79, 157, 242, 0.18), transparent 65%);
}
.scan-visual svg,
.scan-visual img {
  position: absolute;
  z-index: 2;
  width: min(86%, 520px);
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.32));
}

.scan-visual .cbct-art {
  opacity: .97;
  width: var(--cbct-art-width);
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  filter: brightness(1.1) contrast(1.05) saturate(1.03) drop-shadow(0 20px 34px rgba(0, 0, 0, 0.16));
}
.service-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-mini {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.service-mini:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.service-mini-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  color: var(--blue-strong);
  background: var(--surface-blue);
  border: 1px solid color-mix(in srgb, var(--blue) 15%, transparent);
  border-radius: 16px;
}
.service-mini-icon svg { width: 25px; height: 25px; }
.service-mini h3 { margin-bottom: 13px; }
.service-mini p { margin-bottom: 26px; color: var(--muted); font-size: 0.93rem; }
.service-mini .text-link { margin-top: auto; font-size: 0.9rem; }

/* Process */
.process-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: clamp(38px, 7vw, 92px);
}
.process-media {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.process-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.process-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 25, 55, 0.58) 100%);
}
.process-caption {
  position: absolute;
  z-index: 2;
  left: 25px;
  right: 25px;
  bottom: 24px;
  padding: 20px;
  color: #fff;
  background: rgba(7, 29, 61, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}
.process-caption strong { display: block; font-size: 1rem; }
.process-caption span { display: block; margin-top: 5px; color: #c7d7e9; font-size: 0.82rem; }
.process-content { align-self: center; }
.process-content h2 { max-width: 700px; }
.process-content > p { max-width: 620px; margin: 23px 0 42px; color: var(--muted); }
.process-steps { position: relative; display: grid; gap: 5px; }
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 17px 0 22px;
}
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 58px;
  bottom: -8px;
  width: 1px;
  background: linear-gradient(var(--line-strong), transparent);
}
.process-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--blue-strong);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
  font-size: 0.84rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}
.process-step h3 { margin: 2px 0 8px; font-size: 1.2rem; }
.process-step p { max-width: 560px; margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Audience */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.audience-panel {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 62px);
  border-radius: var(--radius-lg);
}
.audience-panel-light { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.audience-panel-dark {
  color: #dbeaff;
  background:
    radial-gradient(circle at 85% 12%, rgba(67, 152, 250, 0.27), transparent 30%),
    linear-gradient(145deg, #061a38, #0a2a59);
  border: 1px solid rgba(110, 174, 244, 0.2);
  box-shadow: var(--shadow-md);
}
.audience-panel-dark h3 { color: #fff; }
.audience-panel-dark p { color: #b8cbe2; }
.audience-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 46px;
  color: var(--blue-strong);
  background: var(--surface-blue);
  border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
  border-radius: 18px;
}
.audience-panel-dark .audience-icon { color: #a7d6ff; background: rgba(90, 162, 241, 0.12); border-color: rgba(141, 199, 255, 0.2); }
.audience-icon svg { width: 27px; }
.audience-panel h3 { max-width: 540px; font-size: clamp(2rem, 3.7vw, 3.45rem); }
.audience-panel > p { max-width: 540px; margin: 21px 0 28px; color: var(--muted); }
.simple-list { display: grid; gap: 13px; margin: auto 0 0; padding: 0; list-style: none; }
.simple-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.92rem; }
.simple-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--blue-strong);
  background: var(--surface-blue);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 900;
}
.audience-panel-dark .simple-list li::before { color: #b9ddff; background: rgba(110, 179, 250, 0.13); }

/* Gallery */
.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.62fr);
  gap: 18px;
}
.gallery-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.gallery-item {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  margin: 0;
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.gallery-item-large { min-height: 660px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.75,.2,1); }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 21, 47, 0.68));
}
.gallery-label {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 20px;
  color: #fff;
}
.gallery-label strong { display: block; font-size: 1.02rem; }
.gallery-label span { display: block; margin-top: 2px; color: #c8d8ea; font-size: 0.77rem; }
.gallery-note { margin: 18px 0 0; color: var(--muted); font-size: 0.78rem; }

/* FAQ and contact */
.final-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: clamp(34px, 7vw, 86px);
}
.faq-intro { max-width: 540px; margin-bottom: 35px; }
.faq-intro p:last-child { margin-top: 19px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--heading);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 740;
}
.faq-plus {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue-strong);
  background: var(--surface-blue);
  border-radius: 10px;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 46px 22px 0; color: var(--muted); font-size: 0.92rem; }
.faq-answer p { margin: 0; }
.faq-item[open] .faq-answer { display: block; }
.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  color: #dcecff;
  background:
    radial-gradient(circle at 90% 3%, rgba(70, 159, 255, 0.34), transparent 30%),
    linear-gradient(145deg, #051832, #082a59);
  border: 1px solid rgba(111, 177, 247, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-panel::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -150px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(142, 201, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(126, 190, 255, 0.03), 0 0 0 100px rgba(126, 190, 255, 0.02);
  pointer-events: none;
}
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel .eyebrow { color: #9bd3ff; }
.contact-panel h2 { max-width: 620px; color: #fff; font-size: clamp(2.15rem, 3.5vw, 3.45rem); line-height: 1.03; }
.contact-panel > p { max-width: 560px; margin: 19px 0 30px; color: #b7cbe2; }
.contact-details { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 31px; color: #d9e9fb; font-size: 0.86rem; }
.contact-details a,
.contact-details span { display: inline-flex; align-items: center; gap: 8px; }
.contact-details svg { width: 16px; color: #94ccff; }
.contact-form { display: grid; gap: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: #dcecff; font-size: 0.77rem; font-weight: 700; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(190, 220, 250, 0.2);
  border-radius: 12px;
  outline: none;
}
.form-field textarea { min-height: 116px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #8fa8c4; }
.form-field select option { color: #10203a; background: #fff; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; color: #aebfd4; font-size: 0.74rem; line-height: 1.45; }
.form-consent input { margin-top: 4px; accent-color: var(--blue); }
.form-status { min-height: 1.3em; margin: 0; color: #add8ff; font-size: 0.8rem; }
.contact-panel .btn-primary { background: #fff; color: #0a3f88; box-shadow: 0 14px 32px rgba(0,0,0,.22); }


.contact-panel { container-type: inline-size; }

@container (max-width: 560px) {
  .contact-panel .form-grid { grid-template-columns: 1fr; }
}

/* CTA / footer */
.cta-band { padding: 34px 0; background: var(--surface-blue); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.cta-inner p { margin: 8px 0 0; color: var(--muted); }
.site-footer { padding: 70px 0 24px; color: #afc0d7; background: #041229; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 46px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand .brand-mark-wrap { width: 50px; height: 50px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-subtitle { color: #8da4bf; }
.footer-about { max-width: 330px; color: #91a6c0; font-size: 0.86rem; }
.footer-heading { margin: 0 0 17px; color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; color: #9fb1c8; font-size: 0.84rem; }
.footer-links a { width: fit-content; transition: color .18s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 52px;
  padding-top: 21px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #748ba6;
  border-top: 1px solid rgba(162, 192, 225, 0.13);
  font-size: 0.74rem;
}

/* Service and legal pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(66px, 8vw, 108px);
  background:
    radial-gradient(circle at 80% 4%, rgba(76, 162, 255, 0.23), transparent 30%),
    linear-gradient(145deg, var(--surface-strong), var(--bg));
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: 20px;
  border: 1px solid color-mix(in srgb, var(--blue) 14%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 50px color-mix(in srgb, var(--blue) 3%, transparent), 0 0 0 100px color-mix(in srgb, var(--blue) 2%, transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 920px; font-size: clamp(3rem, 6vw, 5.7rem); }
.page-hero .lead { max-width: 760px; margin: 25px 0 0; }
.breadcrumb { margin-bottom: 34px; color: var(--muted); font-size: 0.8rem; }
.breadcrumb a { color: var(--blue-strong); font-weight: 700; }
.page-content { padding: clamp(72px, 9vw, 126px) 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); align-items: start; gap: clamp(34px, 7vw, 86px); }
.prose { min-width: 0; }
.prose h2 { margin: 58px 0 18px; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.prose h2:first-of-type { margin-top: 36px; }
.prose p,
.prose li { color: var(--muted); }
.prose > p { max-width: 800px; }
.notice {
  padding: 18px 20px;
  color: var(--ink) !important;
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 14px;
}
.info-box {
  margin-bottom: 16px;
  padding: 27px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.info-box h3 { margin-bottom: 17px; }
.info-box p { color: var(--muted); font-size: 0.9rem; }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.checklist li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--blue-strong);
  background: var(--surface-blue);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 900;
}
.legal { max-width: 900px; }
.legal h2 { margin: 46px 0 15px; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.legal p { color: var(--muted); }

/* Compatibility with older markup */
.logo { display: none; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { min-height: 320px; display: flex; flex-direction: column; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 25px; color: var(--blue-strong); background: var(--surface-blue); border-radius: 15px; }
.service-icon svg { width: 27px; }
.service-card p { color: var(--muted); font-size: 0.9rem; }
.service-link { margin-top: auto; color: var(--blue-strong); font-weight: 750; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.benefit { display: flex; gap: 12px; padding: 24px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit strong, .benefit span { display: block; }
.benefit span { color: var(--muted); font-size: 0.8rem; }
.icon-dot { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue-strong); background: var(--surface-blue); border-radius: 9px; font-size: 0.74rem; font-weight: 800; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.split-media { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-media img { width: 100%; }
.gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.gallery-card { position: relative; min-height: 380px; overflow: hidden; margin: 0; border-radius: var(--radius-md); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card span { position: absolute; left: 18px; bottom: 17px; padding: 8px 11px; color: #fff; background: rgba(4, 23, 50, .68); border-radius: 10px; font-size: .8rem; }
.faq-contact { display: grid; grid-template-columns: 1fr .8fr; align-items: start; gap: 70px; }
.contact-card { padding: 38px; color: #e8f2ff; background: linear-gradient(145deg, #061a38, #0a2b5a); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.contact-card h2 { color: #fff; }
.contact-card p { color: #b6c8df; }
.contact-list { display: grid; gap: 12px; margin: 24px 0; }
.contact-list a, .contact-list > span { display: flex; gap: 10px; }
.map-card { margin-top: 18px; padding: 15px; color: #b9cce4; background: rgba(255,255,255,.07); border-radius: 12px; font-size: .8rem; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.2,1); }
  .js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
}

/* Responsive */

@media (max-width: 1180px) {
  .final-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-intro { max-width: 760px; }
  .contact-panel {
    width: 100%;
    max-width: 820px;
    justify-self: center;
  }
}

@media (max-width: 1120px) {
  :root { --header-h: 82px; }
  .header-inner { gap: 12px; }
  .main-nav { gap: 14px; }
  .main-nav > a:not(.btn) { font-size: 0.82rem; }
  .header-actions { gap: 7px; }
  .header-cta { padding-inline: 14px; font-size: 0.84rem; }
  .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr); gap: 38px; }
  .hero-visual, .hero-visual img { min-height: 560px; }
  .service-feature { grid-template-columns: 1fr minmax(300px, .8fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.25fr .75fr .75fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) and (min-width: 769px) {
  .brand { gap: 8px; }
  .brand-mark-wrap { width: 44px; height: 44px; border-radius: 14px; }
  .brand-mark-wrap img { width: 39px; height: 39px; }
  .brand-name { font-size: 0.91rem; }
  .brand-subtitle { display: none; }
  .main-nav { gap: 10px; }
  .main-nav > a:not(.btn) { font-size: 0.76rem; }
  .theme-toggle { width: 42px; height: 42px; }
  .header-cta { min-height: 42px; padding-inline: 12px; font-size: 0.79rem; }
}

@media (max-width: 768px) {
  .main-nav > a:not(.btn) { display: none; }
  .menu-toggle { display: inline-grid; }
  .main-nav {
    position: fixed;
    inset: calc(var(--header-h) + 10px) 24px auto;
    margin: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.btn) { display: block; padding: 13px 12px; }
  .main-nav > a:not(.btn)::after { display: none; }
  .main-nav .btn { display: inline-flex; margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; padding-block: 10px; }
  .hero h1 { max-width: 760px; }
  .hero .lead { max-width: 700px; }
  .hero-visual, .hero-visual img { min-height: 470px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading .section-copy { max-width: 700px; }
  .service-feature { grid-template-columns: 1fr; }
  .scan-visual { min-height: 370px; --cbct-art-width: min(68%, 430px); --cbct-orbit-size: 360px; --cbct-orbit-shadow-1: 44px; --cbct-orbit-shadow-2: 88px; --cbct-glow-size: 190px; }
  .scan-visual svg,
.scan-visual img { width: min(74%, 470px); }
  .service-mini-grid { grid-template-columns: 1fr; }
  .service-mini { min-height: 0; }
  .process-layout { grid-template-columns: 1fr; }
  .process-media { min-height: 480px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-panel { min-height: 430px; }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-item-large { min-height: 520px; }
  .gallery-stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .final-layout { grid-template-columns: 1fr; }
  .contact-panel { max-width: 760px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .info-box { margin: 0; }
  .split, .faq-contact { grid-template-columns: 1fr; gap: 42px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card:first-child { grid-column: 1 / -1; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 680px) {
  :root { --header-h: 74px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { gap: 8px; }
  .brand-mark-wrap { width: 42px; height: 42px; border-radius: 13px; }
  .brand-mark-wrap img { width: 37px; height: 37px; }
  .brand-name { font-size: 0.88rem; }
  .brand-subtitle { display: none; }
  .header-cta { display: none; }
  .theme-toggle, .menu-toggle { width: 42px; height: 42px; }
  .main-nav { inset-inline: 14px; }
  .hero { padding-top: 28px; padding-bottom: 80px; }
  .hero-grid { gap: 28px; }
  .hero-copy { padding: 0; }
  .hero-kicker { margin-bottom: 17px; padding: 8px 11px; font-size: .66rem; }
  h1 { font-size: clamp(2.8rem, 13.5vw, 4.2rem); line-height: .98; }
  h2 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .hero .lead { margin: 21px 0 24px; font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; min-height: 50px; padding-inline: 14px; }
  .hero-meta { grid-template-columns: 1fr; gap: 11px; margin-top: 25px; padding-top: 20px; }
  .hero-meta-item { align-items: center; }
  .hero-meta-item span { display: inline; margin-left: 4px; }
  .hero-visual, .hero-visual img { min-height: 355px; }
  .hero-visual { border-radius: 26px; }
  .hero-visual img { object-position: 66% center; }
  .hero-floating-card { left: 14px; bottom: 14px; width: calc(100% - 28px); padding: 14px; }
  .hero-floating-card .floating-icon { width: 40px; height: 40px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading .section-copy { font-size: .95rem; }
  .service-feature { min-height: 0; border-radius: 26px; }
  .service-feature-copy { padding: 32px 25px 18px; }
  .service-feature h3 { font-size: 2.4rem; }
  .scan-visual { min-height: 290px; --cbct-art-width: 70%; --cbct-orbit-size: 300px; --cbct-orbit-shadow-1: 36px; --cbct-orbit-shadow-2: 70px; --cbct-glow-size: 170px; }
  .scan-visual svg,
.scan-visual img { width: 78%; }
  .scan-visual .cbct-art { width: var(--cbct-art-width); }
  .service-mini { min-height: 0; padding: 25px; }
  .service-mini-icon { margin-bottom: 22px; }
  .process-media { min-height: 370px; border-radius: 26px; }
  .process-caption { left: 14px; right: 14px; bottom: 14px; }
  .process-step { grid-template-columns: 46px 1fr; gap: 14px; }
  .process-number { width: 46px; height: 46px; border-radius: 14px; }
  .process-step:not(:last-child)::before { left: 22px; top: 51px; }
  .audience-panel { min-height: 0; padding: 31px 25px; border-radius: 26px; }
  .audience-icon { margin-bottom: 32px; }
  .gallery-item-large { min-height: 380px; }
  .gallery-stack { grid-template-columns: 1fr; }
  .gallery-item { min-height: 270px; border-radius: 24px; }
  .final-layout { gap: 52px; }
  .faq-question { padding: 19px 0; font-size: .93rem; }
  .faq-answer { padding-right: 0; }
  .contact-panel { padding: 31px 23px; border-radius: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .cta-inner .hero-actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-hero { padding-top: 58px; }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .content-grid aside { grid-template-columns: 1fr; }
  .services-grid, .benefits, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card:first-child { grid-column: auto; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 410px) {
  .brand-name { font-size: .82rem; }
  .hero-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { grid-column: auto !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* Booking privacy gate and legal pages */
.booking-gate { margin-top: 28px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb, var(--surface) 92%, var(--primary) 8%); }
.booking-gate-copy h3 { margin: 6px 0 12px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.booking-gate-copy p { margin: 0 0 14px; }
.booking-label { color: var(--primary); font-size: .76rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.privacy-hint { padding: 14px 16px; border-left: 3px solid var(--primary); background: color-mix(in srgb, var(--surface) 88%, var(--primary) 12%); border-radius: 0 14px 14px 0; font-size: .9rem; }
.booking-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.booking-actions .btn[disabled] { cursor: not-allowed; opacity: .58; }
.setmore-mount { margin-top: 22px; min-height: 680px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.setmore-mount iframe { width: 100%; min-height: 680px; border: 0; display: block; }
.booking-channel-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.booking-channel-list > div { padding: 15px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.booking-channel-list strong, .booking-channel-list span { display: block; }
.booking-channel-list span { margin-top: 4px; color: var(--text-muted); font-size: .88rem; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.legal-prose { max-width: 920px; margin-inline: auto; }
.legal-status { display: grid; gap: 5px; margin: 0 0 32px; padding: 18px 20px; border-radius: 18px; }
.legal-status-warning { border: 1px solid color-mix(in srgb, #d79a28 45%, var(--line)); background: color-mix(in srgb, #d79a28 10%, var(--surface)); }
.legal-status span { color: var(--text-muted); }
.legal-table { margin: 20px 0 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.legal-table > div { display: grid; grid-template-columns: minmax(190px, .75fr) 1.25fr; gap: 20px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.legal-table > div:last-child { border-bottom: 0; }
.legal-table strong { color: var(--heading); }
.legal-table .tbd { color: var(--text-muted); font-style: italic; }
.legal-prose code { padding: 2px 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-muted); }
@media (max-width: 680px) {
  .booking-actions, .booking-channel-list { grid-template-columns: 1fr; }
  .setmore-mount, .setmore-mount iframe { min-height: 760px; }
  .footer-legal-links { justify-content: flex-start; }
  .legal-table > div { grid-template-columns: 1fr; gap: 5px; }
}

/* Inquiry form refinements */
.form-field label span[aria-hidden="true"] { color: #9bd3ff; }
.field-help { color: #9fb5ce; font-size: 0.72rem; line-height: 1.4; }

/* Build 20260720-logo-form-v4: actual brand logo + verified form behavior */
.brand,
.footer-brand {
  flex: 0 0 auto;
  gap: 0;
}

.brand-logo-stack {
  position: relative;
  display: block;
  width: clamp(132px, 11.5vw, 166px);
  aspect-ratio: 912 / 402;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-dark { display: none; }
html[data-theme="dark"] .brand-logo-light { display: none; }
html[data-theme="dark"] .brand-logo-dark { display: block; }

.footer-brand .brand-logo-stack {
  width: clamp(172px, 15vw, 210px);
}

/* The form follows the panel's real inner width, not only viewport width. */
.contact-panel .form-grid {
  grid-template-columns: 1fr;
}

@container (min-width: 680px) {
  .contact-panel .form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 1181px) {
  .contact-panel .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .contact-panel {
    max-width: 900px;
  }
}

@media (max-width: 900px) {
  .brand-logo-stack {
    width: 142px;
  }
}

@media (max-width: 680px) {
  .brand-logo-stack {
    width: 126px;
  }
  .footer-brand .brand-logo-stack {
    width: 178px;
  }
}

@media (max-width: 410px) {
  .brand-logo-stack {
    width: 116px;
  }
}

#narocanje {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.contact-panel h2 {
  font-size: clamp(2.15rem, 5cqi, 3rem);
}

/* Build 20260720-v5: symbol-only brand + responsive contact form QA */
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark-wrap-clean {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
}

.brand-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark-dark { display: none; }
html[data-theme="dark"] .brand-mark-light { display: none; }
html[data-theme="dark"] .brand-mark-dark { display: block; }

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-brand .brand-mark-wrap-clean {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
}

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-subtitle { color: #8da4bf; }

/* Replace logo-image specific sizing from v4 */
.brand-logo-stack,
.brand-logo,
.brand-logo-dark,
.brand-logo-light {
  display: none !important;
}

/* Contact form layout: only use two columns when the actual panel is wide enough */
.contact-panel .form-grid {
  grid-template-columns: 1fr;
}

@container (min-width: 760px) {
  .contact-panel .form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  .contact-panel {
    max-width: 860px;
    margin-inline: auto;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .brand { gap: 10px; }
  .brand-mark-wrap-clean { width: 44px; height: 44px; flex-basis: 44px; }
  .brand-name { font-size: 0.92rem; }
  .brand-subtitle { font-size: 0.66rem; }
}

@media (max-width: 680px) {
  .brand { gap: 10px; }
  .brand-mark-wrap-clean { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
  .brand-name { font-size: 0.9rem; }
  .brand-subtitle { font-size: 0.62rem; letter-spacing: 0.09em; }
  .footer-brand .brand-mark-wrap-clean { width: 50px; height: 50px; flex-basis: 50px; }
}

@media (max-width: 410px) {
  .brand { gap: 8px; }
  .brand-mark-wrap-clean { width: 39px; height: 39px; flex-basis: 39px; }
  .brand-name { font-size: 0.83rem; }
  .brand-subtitle { font-size: 0.58rem; }
}
