/**
 * ID SOLUTIONS × IMPRSHR (Media Support & Consulting d.o.o.)
 * V3 All-Device Responsive Perfection Stylesheet (320px -> 360px -> 390px -> 430px -> 768px -> Landscape -> 1440px+)
 *   ☾ Dark Command Mode (DEFAULT) | ☀ Light Editorial Mode
 *   Zero Horizontal Overflows • Zero Header Collisions • Zero Double Select Arrows • Crisp Single-Line Mobile Dock
 */

:root,
html.command-mode {
  --bg: #060D0A;
  --bg-alt: #0B1612;
  --bg-elevated: #101F19;
  --bg-subtle: #152921;
  --ink: #F4F8F6;
  --soft: #D5E2DC;
  --mute: #94ABA1;
  --emerald: #10B981;
  --emerald-hover: #34D399;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --emerald-border: rgba(16, 185, 129, 0.38);
  --wa-green: #25D366;
  --wa-green-hover: #2EE370;
  --wa-ink: #04160B;
  --gold: #ECC064;
  --gold-soft: rgba(236, 192, 100, 0.14);
  --gold-border: rgba(236, 192, 100, 0.42);
  --danger: #F87171;
  --danger-soft: rgba(248, 113, 113, 0.13);
  --border: rgba(213, 226, 220, 0.13);
  --border-strong: rgba(16, 185, 129, 0.52);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.50);
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.68);
  --header-bg: rgba(6, 13, 10, 0.92);
  --hero-badge-bg: rgba(6, 13, 10, 0.88);
  --hero-badge-text: #F4F8F6;
  --btn-on-emerald: #04150E;
}

html.ivory-mode {
  --bg: #F6F4EE;
  --bg-alt: #ECE8DD;
  --bg-elevated: #FFFFFF;
  --bg-subtle: #F1EEE5;
  --ink: #0F1915;
  --soft: #2A3A33;
  --mute: #576960;
  --emerald: #0B6B4F;
  --emerald-hover: #08523C;
  --emerald-soft: rgba(11, 107, 79, 0.10);
  --emerald-border: rgba(11, 107, 79, 0.30);
  --wa-green: #128C4A;
  --wa-green-hover: #0E723C;
  --wa-ink: #FFFFFF;
  --gold: #9E6D1A;
  --gold-soft: rgba(158, 109, 26, 0.12);
  --gold-border: rgba(158, 109, 26, 0.38);
  --danger: #B42318;
  --danger-soft: rgba(180, 35, 24, 0.08);
  --border: rgba(15, 25, 21, 0.13);
  --border-strong: rgba(11, 107, 79, 0.55);
  --shadow-sm: 0 4px 14px rgba(15, 25, 21, 0.05);
  --shadow-md: 0 16px 40px rgba(15, 25, 21, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 45, 34, 0.13);
  --header-bg: rgba(246, 244, 238, 0.94);
  --hero-badge-bg: rgba(15, 25, 21, 0.88);
  --hero-badge-text: #F6F4EE;
  --btn-on-emerald: #FFFFFF;
}

:root {
  --font-head: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans Arabic', 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1240px;
}

html[lang="ar"] {
  --font-head: 'Noto Sans Arabic', 'Plus Jakarta Sans', sans-serif;
}

html[lang="zh-CN"],
html[lang="zh"] {
  --font-head: 'Noto Sans SC', 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.22s ease, color 0.22s ease;
  max-width: 100%;
  overflow-x: clip;
}

html.command-mode body {
  background-image:
    radial-gradient(circle at 14% 6%, rgba(16, 185, 129, 0.13) 0%, transparent 36%),
    radial-gradient(circle at 86% 14%, rgba(236, 192, 100, 0.06) 0%, transparent 32%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
select {
  font: inherit;
  color: inherit;
}

.wa-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(15px, 4vw, 32px);
}

/* Top Co-Brand Micro Bar */
.agency-ribbon {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.79rem;
  padding: 8px 0;
  color: var(--mute);
}

.agency-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.agency-backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--soft);
  transition: color 0.18s ease;
}

.agency-backlink:hover {
  color: var(--emerald);
}

.ribbon-meta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 600;
}

.ribbon-meta a:hover {
  color: var(--emerald);
}

/* Sticky Sub-Brand Header (Collision-Proof Across 320px -> 1440px+) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--emerald);
  color: var(--btn-on-emerald);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.26);
}

.brand-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.site-header .brand-sub {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--mute);
  white-space: nowrap;
}

.site-footer .brand-lockup {
  flex-shrink: 1;
  min-width: 0;
}

.site-footer .brand-name,
.site-footer .brand-sub {
  white-space: normal;
  overflow-wrap: anywhere;
}

.site-footer .brand-sub {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--mute);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--soft);
  transition: color 0.16s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--emerald);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Integrated Theme Switch */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.theme-btn {
  border: none;
  background: transparent;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--mute);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

html.command-mode .theme-btn[data-theme="command"],
html.ivory-mode .theme-btn[data-theme="ivory"] {
  background: var(--emerald);
  color: var(--btn-on-emerald);
}

/* Overlay Custom Language Pill (Zero Double Arrows on Every OS/Browser!) */
.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-pill-ui {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  min-height: 38px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
}

.lang-pill-ui .lang-code-badge {
  font-family: var(--font-mono);
  color: var(--emerald);
}

.lang-pill-ui .lang-caret {
  font-size: 0.68rem;
  color: var(--mute);
}

.lang-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: none;
}

.lang-select option {
  background: #101F19;
  color: #F4F8F6;
}

html.ivory-mode .lang-select option {
  background: #FFFFFF;
  color: #0F1915;
}

/* Buttons — Minimum 48px Mobile Touch Ergonomics */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.94rem;
  line-height: 1.28;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1.5px);
}

.btn-wa {
  background: var(--wa-green);
  color: var(--wa-ink);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.26);
}

.btn-wa:hover {
  background: var(--wa-green-hover);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.36);
}

.btn-primary {
  background: var(--emerald);
  color: var(--btn-on-emerald);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.24);
}

.btn-primary:hover {
  background: var(--emerald-hover);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.btn-ghost {
  background: var(--emerald-soft);
  color: var(--emerald);
  border-color: var(--emerald-border);
}

.btn-ghost:hover {
  background: var(--emerald);
  color: var(--btn-on-emerald);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 0.81rem;
}

/* Hero Section */
.hero {
  padding: clamp(28px, 4.5vw, 54px) 0 clamp(38px, 5.5vw, 62px);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
}

.hero-copy,
.hero-visual-card {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  max-width: 100%;
}

.eyebrow span {
  overflow-wrap: anywhere;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  flex-shrink: 0;
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.88rem, 3.6vw, 3.2rem);
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero h1 span.accent-underline {
  color: var(--emerald);
}

.hero-lead {
  font-size: clamp(0.99rem, 1.22vw, 1.09rem);
  line-height: 1.66;
  color: var(--soft);
  margin-bottom: 22px;
  max-width: 60ch;
}

.spoken-langs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--soft);
  max-width: 100%;
}

.lang-chip.core {
  border-color: var(--emerald-border);
  color: var(--ink);
}

.lang-chip.vlach {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold);
}

.hero-cta-group {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
  list-style: none;
}

.hero-trust-list li {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
}

.hero-trust-list li i {
  color: var(--emerald);
  font-style: normal;
  font-weight: 800;
  flex-shrink: 0;
}

/* Hero Visual Stage — Non-Occluding Telemetry + Photo + 3-Stat Strip */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.hero-telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--bg-subtle);
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.telemetry-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.telemetry-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 10px #25D366;
  flex-shrink: 0;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  background: #0D1C16;
}

.hero-photo-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 20%;
}

.hero-bottom-strip {
  padding: 16px 20px;
  background: var(--bg-elevated);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border);
}

.mini-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mini-stat strong {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--emerald);
}

.mini-stat span {
  font-size: 0.76rem;
  color: var(--soft);
  font-weight: 600;
  line-height: 1.35;
}

/* Proof & Capability Strip (4 Pillars) */
.proof-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.proof-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.proof-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.proof-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.32;
}

.proof-item p {
  font-size: 0.88rem;
  color: var(--soft);
  line-height: 1.55;
}

/* Generic Section Layout */
.section {
  padding: clamp(48px, 6.5vw, 78px) 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
}

.sec-header {
  max-width: 780px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.sec-header h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.85vw, 2.5rem);
  line-height: 1.17;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.sec-header p {
  font-size: clamp(0.97rem, 1.15vw, 1.05rem);
  color: var(--soft);
  line-height: 1.64;
}

/* Section 3: What We Deliver (3 Capabilities) + 3 Entry Models */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.cap-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-top: 3px solid var(--emerald);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.cap-card h3 {
  font-size: 1.13rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.3;
}

.cap-card p {
  font-size: 0.94rem;
  color: var(--soft);
  line-height: 1.62;
}

.models-subhead {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.model-card {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.model-card.featured {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}

.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  width: fit-content;
  max-width: 100%;
  margin-bottom: 10px;
}

.model-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 6px;
}

.model-card h3 {
  font-family: var(--font-head);
  font-size: 1.32rem;
  line-height: 1.24;
  margin-bottom: 10px;
  color: var(--ink);
}

.model-card p {
  font-size: 0.94rem;
  color: var(--soft);
  line-height: 1.62;
}

/* Section 4: Interactive Dialogue Comparator */
.script-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  margin-bottom: 22px;
  width: fit-content;
  max-width: 100%;
}

.script-tab {
  border: none;
  background: transparent;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.89rem;
  color: var(--soft);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: start;
}

.script-tab.active {
  background: var(--emerald);
  color: var(--btn-on-emerald);
}

.script-comparison-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 20px;
  align-items: stretch;
}

.script-panel {
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.8vw, 28px);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.script-panel.bad {
  border-color: rgba(248, 113, 113, 0.34);
}

.script-panel.good {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}

.script-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}

.script-panel.bad .script-tag {
  background: var(--danger-soft);
  color: var(--danger);
}

.script-panel.good .script-tag {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.waveform-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 4px 0;
}

.waveform-bar span {
  flex: 1;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.48;
}

.script-panel.bad .waveform-bar {
  color: var(--danger);
}

.script-panel.good .waveform-bar {
  color: var(--emerald);
}

.script-quote {
  font-size: 1rem;
  line-height: 1.66;
  font-style: italic;
  color: var(--ink);
  padding: 15px 17px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border-inline-start: 3.5px solid currentColor;
  overflow-wrap: break-word;
}

.script-panel.bad .script-quote {
  border-inline-start-color: var(--danger);
}

.script-panel.good .script-quote {
  border-inline-start-color: var(--emerald);
}

.script-outcome {
  font-size: 0.9rem;
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--soft);
  line-height: 1.55;
}

.script-outcome strong {
  color: var(--ink);
}

/* Section 5: Interactive 4-Step Campaign & WhatsApp Configurator */
.configurator-shell {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 24px;
  align-items: start;
}

.config-steps-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 24px;
  min-width: 0;
}

.config-group-label {
  font-weight: 800;
  font-size: 0.97rem;
  margin-bottom: 11px;
  color: var(--ink);
  display: block;
  line-height: 1.4;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.choice-pill {
  border: 1.5px solid var(--border);
  background: var(--bg-subtle);
  color: var(--soft);
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: start;
}

.choice-pill:hover {
  border-color: var(--emerald);
  color: var(--ink);
}

.choice-pill.selected {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--btn-on-emerald);
}

.choice-pill.vlach-highlight:not(.selected) {
  border-color: var(--gold-border);
  color: var(--gold);
}

.config-summary-card {
  position: sticky;
  top: 90px;
  background: var(--bg-elevated);
  border: 2px solid var(--wa-green);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.8vw, 28px);
  box-shadow: var(--shadow-lg);
  min-width: 0;
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.summary-header h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
}

.summary-rows {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.89rem;
}

.summary-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}

.summary-row span {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}

.summary-row strong {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
}

.wa-preview-bubble {
  background: rgba(37, 211, 102, 0.08);
  border: 1px dashed rgba(37, 211, 102, 0.36);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.81rem;
  color: var(--soft);
  line-height: 1.5;
  margin-bottom: 16px;
  white-space: pre-line;
  overflow-wrap: break-word;
}

.summary-actions {
  display: grid;
  gap: 10px;
}

.wa-direct-note {
  font-size: 0.78rem;
  text-align: center;
  color: var(--mute);
  font-weight: 600;
}

/* Section 6: Balanced 6-Card Proven Verticals Bento Grid */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vertical-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.vertical-card:hover {
  transform: translateY(-3px);
  border-color: var(--emerald);
}

.vertical-card.b2b-highlight {
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--emerald-soft) 100%);
  border-color: var(--emerald-border);
}

.vertical-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vertical-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 5px 11px;
  border-radius: 999px;
}

.vertical-icon {
  font-size: 1.38rem;
  flex-shrink: 0;
}

.vertical-card h3 {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.32;
}

.vertical-card p {
  font-size: 0.93rem;
  color: var(--soft);
  line-height: 1.6;
}

/* Section 7: Leadership & Psychologist Methodology */
.leadership-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 4vw, 44px);
  align-items: center;
}

.leader-bio-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 20px;
  font-size: 0.98rem;
  line-height: 1.66;
  color: var(--soft);
}

.leader-pillars {
  display: grid;
  gap: 14px;
}

.leader-pillar {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.leader-pillar h3 {
  font-size: 1.01rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.leader-pillar h3 i {
  color: var(--emerald);
  font-style: normal;
  flex-shrink: 0;
}

.leader-pillar p {
  font-size: 0.91rem;
  color: var(--soft);
  line-height: 1.58;
}

.leadership-photos-stack {
  display: grid;
  gap: 18px;
}

.studio-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.studio-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-caption {
  padding: 12px 16px;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.photo-caption span.loc-pill {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--emerald);
  font-weight: 800;
}

/* Section 8: IMPRSHR 5-Pillar Flywheel */
.flywheel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flywheel-step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  min-width: 0;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.flywheel-step:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.flywheel-step.active-pillar {
  border: 2px solid var(--emerald);
  box-shadow: var(--shadow-md);
}

.pillar-monogram {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 10px;
}

.flywheel-step h3 {
  font-size: 1.03rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}

.flywheel-step p {
  font-size: 0.9rem;
  color: var(--soft);
  line-height: 1.58;
}

/* Section 9: 8-Item Buyer FAQ Accordion */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 0;
}

.faq-btn {
  width: 100%;
  min-height: 54px;
  border: none;
  background: transparent;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: start;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--emerald);
  color: var(--btn-on-emerald);
}

.faq-answer {
  display: none;
  padding: 14px 18px 18px;
  font-size: 0.93rem;
  line-height: 1.64;
  color: var(--soft);
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Section 10: Direct WhatsApp Concierge Section */
.wa-concierge-section {
  padding: clamp(52px, 7.5vw, 86px) 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 211, 102, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.wa-concierge-box {
  background: var(--bg-elevated);
  border: 2px solid var(--wa-green);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4.2vw, 46px);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.wa-concierge-copy,
.wa-direct-panel {
  min-width: 0;
}

.wa-concierge-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
  text-wrap: balance;
}

.wa-concierge-copy p {
  font-size: 1.01rem;
  line-height: 1.65;
  color: var(--soft);
  margin-bottom: 22px;
  max-width: 56ch;
}

.wa-quick-starters-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute);
  margin-bottom: 10px;
  display: block;
}

.wa-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wa-topic-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.16s ease;
}

.wa-topic-link:hover {
  background: var(--wa-green);
  border-color: var(--wa-green);
  color: var(--wa-ink);
  transform: translateY(-1px);
}

.wa-direct-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(18px, 2.8vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wa-number-display {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wa-number-display span {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--emerald);
}

.wa-number-display strong {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.wa-meta-badges {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--soft);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.wa-meta-badges div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 42px 0 36px;
  font-size: 0.87rem;
  color: var(--mute);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.footer-brand-col {
  max-width: 420px;
  min-width: 0;
}

.footer-brand-col p {
  color: var(--soft);
  line-height: 1.6;
}

.footer-links-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

.footer-col {
  min-width: 140px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--soft);
}

.footer-col a:hover {
  color: var(--emerald);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Mobile Non-Overlapping Direct WhatsApp Sticky Bar */
.mobile-dock {
  display: none;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS: DESKTOP -> LAPTOP -> TABLET -> MOBILE -> SMALL PHONE
   ============================================================================ */

/* Hide Header Sub-Title Early Before Any Crowding */
@media (max-width: 1180px) {
  .site-header .brand-sub {
    display: none;
  }
}

/* Tablet & Small Laptop Breakpoint (<= 1040px) */
@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }
  .hero-grid,
  .configurator-shell,
  .leadership-grid,
  .wa-concierge-box {
    grid-template-columns: 1fr;
  }
  .config-summary-card {
    position: static;
  }
  .proof-grid,
  .flywheel-grid,
  .verticals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Keep 2 Belgrade Leadership Photos Side-by-Side on Tablet Instead of Giant Towering Stack */
  .leadership-photos-stack {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand-col {
    max-width: 100%;
    width: 100%;
  }
  .footer-links-row {
    width: 100%;
    justify-content: space-between;
  }
}

/* 3-Item Grids (Services & Entry Models): No Orphan 3rd Card on Tablet! */
@media (max-width: 920px) and (min-width: 681px) {
  .capabilities-grid,
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .capabilities-grid > :last-child,
  .models-grid > :last-child {
    grid-column: 1 / -1;
  }
}

/* Portrait Phones & Phablets (<= 680px) */
@media (max-width: 680px) {
  body {
    font-size: 16px;
    line-height: 1.64;
    padding-bottom: 84px; /* Matches sleek single-line 62px mobile dock + breathing room */
  }
  .agency-ribbon {
    display: none;
  }
  .site-header {
    padding: 9px 0;
  }
  .header-inner {
    gap: 8px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.86rem;
    border-radius: 9px;
  }
  .brand-name {
    font-size: 0.94rem;
  }
  .header-controls {
    gap: 6px;
  }
  .header-controls .btn-wa {
    display: none;
  }
  /* Compact Icon-Only Theme Switch on Mobile -> Zero Header Collision Even at 320px! */
  .theme-btn {
    padding: 5px 9px;
    min-height: 32px;
    font-size: 0.82rem;
  }
  .theme-btn .theme-lbl {
    display: none;
  }
  /* Compact Language Pill on Mobile ('SR ▾') -> Tapping Still Opens Full 10-Language Native Menu! */
  .lang-pill-ui {
    padding: 5px 10px;
    min-height: 36px;
    font-size: 0.74rem;
  }
  .lang-pill-ui .lang-full-name {
    display: none;
  }

  .hero {
    padding: 20px 0 34px;
  }
  .eyebrow {
    font-size: 0.67rem;
    padding: 5px 10px;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: clamp(1.68rem, 7vw, 2.15rem);
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.62;
    margin-bottom: 18px;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }
  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-telemetry-bar {
    padding: 9px 13px;
    font-size: 0.66rem;
  }

  .hero-bottom-strip,
  .proof-grid,
  .capabilities-grid,
  .models-grid,
  .script-comparison-grid,
  .verticals-grid,
  .leadership-photos-stack,
  .flywheel-grid,
  .faq-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-bottom-strip {
    padding: 14px 16px;
    gap: 10px;
  }
  .mini-stat {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }
  .mini-stat:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  .mini-stat span {
    text-align: end;
  }

  .script-tabs {
    width: 100%;
    flex-direction: column;
  }
  .script-tab {
    width: 100%;
  }

  .pill-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .choice-pill {
    width: 100%;
    border-radius: 12px;
  }

  .wa-quick-grid {
    flex-direction: column;
  }
  .wa-topic-link {
    width: 100%;
    border-radius: 12px;
  }

  .footer-links-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .footer-col {
    min-width: 0;
  }

  /* Single-Line Sleek Bottom Sticky Mobile Dock (62px Height — Never Wraps to 2 Lines!) */
  .mobile-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 98;
    display: grid;
    grid-template-columns: 1.32fr 0.98fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-strong);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.44);
  }
  .mobile-dock a {
    min-height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 0.81rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .mobile-dock .dock-wa-main {
    background: var(--wa-green);
    color: var(--wa-ink);
  }
  .mobile-dock .dock-pilot {
    background: var(--bg-elevated);
    color: var(--ink);
    border: 1px solid var(--border-strong);
  }
}

/* Narrow / Compact Phones (320px – 359px, e.g. iPhone SE / Galaxy Fold Cover) */
@media (max-width: 359px) {
  .wrap {
    padding-inline: 12px;
  }
  .brand-lockup {
    gap: 7px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }
  .brand-name {
    font-size: 0.85rem;
  }
  .theme-btn {
    padding: 4px 7px;
  }
  .lang-pill-ui {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  .footer-links-row {
    grid-template-columns: 1fr;
  }
  .mobile-dock {
    padding-inline: 10px;
    gap: 6px;
  }
  .mobile-dock a {
    font-size: 0.74rem;
    padding: 0 8px;
  }
}

/* Mobile Landscape Ergonomics (e.g. 844×390, 667×375) */
@media (max-height: 520px) and (orientation: landscape) {
  .agency-ribbon {
    display: none;
  }
  .site-header {
    padding: 6px 0;
  }
  .hero {
    padding: 18px 0 28px;
  }
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 20px;
    align-items: start;
  }
  .hero h1 {
    font-size: 1.55rem;
    margin-bottom: 10px;
  }
  .hero-lead {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }
  .hero-photo-wrap img {
    max-height: 210px;
  }
  .leadership-photos-stack {
    grid-template-columns: repeat(2, 1fr);
  }
  .studio-photo-card img {
    max-height: 200px;
  }
}
