/* =========================================================
   ROCO-COMMERCE  /  Premium Design System  v2
   Heritage industrial. Midnight petrol + burnished copper.
   Built to feel like a Swiss watch, not a website.
   ========================================================= */

:root {
  color-scheme: dark;

  /* Surfaces, midnight petrol */
  --bg-0: #060B14;
  --bg-1: #0A111D;
  --bg-2: #0F1828;
  --bg-3: #152034;
  --bg-4: #1B2B43;

  --surface: rgba(15, 24, 40, 0.6);
  --surface-strong: rgba(21, 32, 52, 0.85);
  --surface-glass: rgba(255, 244, 224, 0.025);

  --border: rgba(232, 213, 168, 0.08);
  --border-strong: rgba(232, 213, 168, 0.18);
  --border-copper: rgba(216, 142, 78, 0.38);

  /* Text, warm ivory */
  --text: #F4ECDC;
  --text-soft: #E1D6BF;
  --text-muted: #9DA7B8;
  --text-dim: #6A748A;

  /* Brand, burnished copper */
  --cu-1: #8F4F22;
  --cu-2: #B86A33;
  --cu-3: #D88E4E;
  --cu-4: #EAB070;
  --cu-glow: rgba(216, 142, 78, 0.4);

  /* Champagne ivory */
  --iv-1: #C9B583;
  --iv-2: #E8D5A8;
  --iv-3: #F5E6C9;

  /* Industrial steel-blue */
  --steel-1: #1B2B43;
  --steel-2: #243A56;

  /* Emerald accent, used sparingly */
  --em-1: #1F5447;
  --em-2: #2E8970;

  /* WhatsApp signature */
  --wa-1: #1FAE57;
  --wa-2: #25D366;
  --wa-3: #36E27D;

  /* Shadows, deep & cinematic */
  --shadow-md: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 50px 130px rgba(0, 0, 0, 0.65);
  --shadow-copper: 0 30px 90px -20px rgba(216, 142, 78, 0.5);
  --shadow-inner-warm: inset 0 1px 0 rgba(245, 230, 201, 0.08);

  /* Type stack, editorial heritage feel */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --maxw: 1280px;
  --maxw-wide: 1480px;

  /* Easing curves */
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  background: var(--bg-0);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1100px 700px at 82% -8%, rgba(216, 142, 78, 0.12), transparent 62%),
    radial-gradient(900px 600px at -10% 28%, rgba(36, 58, 86, 0.55), transparent 65%),
    radial-gradient(800px 500px at 50% 100%, rgba(31, 84, 71, 0.18), transparent 60%),
    linear-gradient(180deg, #060B14 0%, #0A111D 55%, #060B14 100%);
  overflow-x: hidden;
}

/* Industrial blueprint grid texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 213, 168, 0.020) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 213, 168, 0.020) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%);
}

/* Subtle film grain layer */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
}

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

::selection { background: rgba(216, 142, 78, 0.45); color: #fff; }

/* =========================================================
   Typography
   ========================================================= */

.font-display { font-family: var(--font-display); font-weight: 500; }
.font-mono { font-family: var(--font-mono); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 6vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); }
h3 { font-size: clamp(1.4rem, 1.9vw, 1.9rem); letter-spacing: -0.012em; }

p { margin: 0; line-height: 1.75; color: var(--text-muted); font-weight: 400; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--cu-3);
  text-transform: uppercase;
  letter-spacing: 0.36em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cu-3), transparent);
}

.eyebrow.eyebrow-center { justify-content: center; }
.eyebrow.eyebrow-center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cu-3));
}

.lede {
  font-size: clamp(1.05rem, 1.18vw, 1.22rem);
  color: var(--text-soft);
  max-width: 62ch;
  line-height: 1.75;
  font-weight: 400;
}

.text-copper {
  background: linear-gradient(180deg, var(--cu-4) 0%, var(--cu-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-ivory {
  background: linear-gradient(180deg, var(--iv-3) 0%, var(--iv-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-italic { font-style: italic; color: var(--iv-2); }

.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }

/* =========================================================
   Layout
   ========================================================= */

.container {
  width: min(var(--maxw), calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container-wide {
  width: min(var(--maxw-wide), calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section { padding: clamp(4.5rem, 9vw, 9rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section-xl { padding: clamp(7rem, 11vw, 11rem) 0; }

.divider-glow {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(216, 142, 78, 0.4), transparent);
}

/* =========================================================
   Custom Cursor
   ========================================================= */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(-50%, -50%, 0);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--cu-4);
  box-shadow: 0 0 12px rgba(216, 142, 78, 0.8);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(232, 213, 168, 0.55);
  transition:
    width 0.32s var(--ease-out-quart),
    height 0.32s var(--ease-out-quart),
    background 0.32s ease,
    border-color 0.32s ease;
}

.cursor-ring.is-hover {
  width: 80px;
  height: 80px;
  background: rgba(216, 142, 78, 0.08);
  border-color: var(--cu-3);
}

.cursor-ring.is-press {
  width: 30px;
  height: 30px;
  background: rgba(216, 142, 78, 0.15);
}

@media (max-width: 820px), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* =========================================================
   Scroll progress bar
   ========================================================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cu-2), var(--cu-4), var(--iv-3));
  box-shadow: 0 0 14px rgba(216, 142, 78, 0.55);
  transition: width 0.12s linear;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.1rem 0;
  transition: padding 0.4s var(--ease-out-quart);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 0.28rem 0.6rem 0.28rem 1rem;
  background: rgba(10, 17, 29, 0.55);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(245, 230, 201, 0.05);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.topbar.scrolled .topbar-inner {
  background: rgba(6, 11, 20, 0.92);
  border-color: rgba(232, 213, 168, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-logo {
  width: auto;
  height: 56px;
  max-height: 56px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--cu-3);
  text-transform: uppercase;
}

/* Footer logo, larger and crisper */
.footer-brand .brand-logo {
  width: 62px;
  height: auto;
  border-radius: 10px;
  padding: 0;
}
.footer-brand .brand {
  font-size: 1.08rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.78rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 16px;
  transition: color 0.3s ease, background 0.3s ease;
  letter-spacing: 0.02em;
  line-height: 1.18;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  white-space: normal;
  max-width: 100px;
}

.nav-link:hover { color: var(--text); }

.nav-link.active {
  color: var(--text);
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.2), rgba(216, 142, 78, 0.04));
  box-shadow: inset 0 0 0 1px rgba(216, 142, 78, 0.34);
}

.nav-cta { display: inline-flex; align-items: center; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(245, 230, 201, 0.05);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:active { transform: scale(0.96); }

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 16px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out-quart), opacity 0.25s ease, width 0.35s ease;
  transform-origin: center;
}

.nav-toggle.is-open .nav-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle.is-open .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(6, 11, 20, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 380px);
  z-index: 60;
  background: rgba(6, 11, 20, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  padding: 0;
  transform: translateX(105%);
  transition: transform 0.45s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-left: 1px solid var(--border);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.55);
}

.mobile-nav.open { transform: translateX(0); }

.mob-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mob-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.mob-nav-brand img {
  width: 44px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.mobile-nav a,
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(245, 230, 201, 0.025);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav a:active,
.mobile-nav-links a:active {
  background: rgba(216, 142, 78, 0.12);
}

.mobile-nav a.active,
.mobile-nav-links a.active {
  color: var(--iv-3);
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.22), rgba(216, 142, 78, 0.06));
  border-color: rgba(216, 142, 78, 0.38);
}

.mobile-nav a small,
.mobile-nav-links a small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--cu-3);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}

.mobile-nav .nav-close {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 230, 201, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mob-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.mob-actions .btn-wa { flex: 1; justify-content: center; }
.mob-actions .mob-lang-btn { margin-left: 0; min-width: 52px; min-height: 46px; }

.mobile-nav .mob-foot {
  margin-top: 0;
  padding: 1rem 1.1rem 1.4rem;
  padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 56px;
  padding: 0 1.7rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s ease, background 0.5s ease, color 0.5s ease, border-color 0.5s ease;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  border: 0;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

/* Primary copper shimmer */
.btn-primary {
  color: #0A111D;
  background: linear-gradient(135deg, var(--cu-1) 0%, var(--cu-3) 45%, var(--cu-4) 100%);
  box-shadow: 0 18px 50px -10px rgba(216, 142, 78, 0.6), inset 0 1px 0 rgba(255, 240, 210, 0.45);
}

.btn-primary::after,
.btn-wa::after,
.btn-copper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: skewX(-22deg);
  animation: shimmer 3.6s infinite;
  z-index: -1;
}

.btn-primary:hover {
  box-shadow: 0 26px 70px -10px rgba(216, 142, 78, 0.8), inset 0 1px 0 rgba(255, 240, 210, 0.6);
}

@keyframes shimmer {
  0%   { left: -130%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

/* WhatsApp signature green */
.btn-wa {
  color: #fff;
  background: linear-gradient(135deg, var(--wa-1) 0%, var(--wa-2) 50%, var(--wa-3) 100%);
  box-shadow: 0 18px 50px -10px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-wa::after { background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%); animation-duration: 3.2s; }
.btn-wa:hover { box-shadow: 0 26px 70px -10px rgba(37, 211, 102, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.55); }

/* Copper variant */
.btn-copper {
  color: var(--text);
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.18), rgba(216, 142, 78, 0.04));
  border: 1px solid rgba(216, 142, 78, 0.4);
  box-shadow: var(--shadow-inner-warm);
}
.btn-copper:hover {
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.3), rgba(216, 142, 78, 0.08));
  border-color: rgba(216, 142, 78, 0.6);
}

/* Outline */
.btn-outline {
  color: var(--text);
  background: rgba(245, 230, 201, 0.025);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(245, 230, 201, 0.05);
  border-color: rgba(216, 142, 78, 0.5);
  color: var(--iv-3);
}

/* Ghost */
.btn-ghost {
  min-height: 46px;
  padding: 0 1.2rem;
  font-size: 0.78rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: rgba(216, 142, 78, 0.55); color: var(--cu-4); }

.btn-sm { min-height: 46px; padding: 0 1.2rem; font-size: 0.78rem; }
.btn-xs { min-height: 38px; padding: 0 0.95rem; font-size: 0.72rem; }

/* Icon-only */
.btn-icon {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(245, 230, 201, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-icon:hover { border-color: rgba(216, 142, 78, 0.55); }

/* Compact dual button group */
.btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

/* =========================================================
   Hero (homepage)
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -3;
  filter: grayscale(0.25) contrast(1.08) saturate(0.85);
  transform: scale(1.12);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 35%, rgba(6, 11, 20, 0.15), transparent 60%),
    linear-gradient(120deg, rgba(6, 11, 20, 0.48) 0%, rgba(10, 17, 29, 0.28) 45%, rgba(6, 11, 20, 0.62) 100%),
    linear-gradient(180deg, rgba(6, 11, 20, 0.18) 0%, rgba(6, 11, 20, 0.82) 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 40%, rgba(216, 142, 78, 0.18), transparent 60%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
  position: relative;
}

.hero-side-mark {
  position: absolute;
  right: 0;
  top: 18%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-side-mark .v-line {
  width: 1px;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--cu-3), transparent);
}
.hero-side-mark .badge {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(10, 17, 29, 0.65);
  backdrop-filter: blur(10px);
  color: var(--cu-3);
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 9.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.hero h1 .accent { color: var(--cu-4); font-style: italic; font-weight: 400; }

.hero h1 .h-row {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero h1 .h-row > span {
  display: inline-block;
  will-change: transform;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 2.4rem;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--border-strong);
  max-width: 720px;
  align-items: stretch;
}

.hero-stat {
  padding: 0 1.2rem 0 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 0;
}
.hero-stat:last-child { border-right: 0; padding-right: 0; }
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, var(--iv-3) 0%, var(--iv-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}
.hero-stat strong > span { line-height: 1; display: inline-block; }
.hero-stat > span {
  display: block;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.45;
  min-height: 2.1em;
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.4rem 0; }
  .hero-stat:nth-child(2) { border-right: 0; padding-right: 0; }
  .hero-stat > span { min-height: 0; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 1;
}

.scroll-indicator .scroll-bar {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, var(--cu-3) 0%, transparent 100%);
  animation: scrollPulse 2.4s infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(1);    transform-origin: top; opacity: 1; }
}

/* Page hero (inner pages) */
.hero-inner {
  position: relative;
  padding: 12rem 0 5.5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner h1 {
  font-size: clamp(2.25rem, 4.1vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.hero-inner .hero-bg {
  filter: grayscale(0.45) contrast(1.1) saturate(0.7);
  opacity: 0.4;
}

.hero-inner-decor {
  position: absolute;
  bottom: 0;
  right: 4%;
  font-family: var(--font-mono);
  font-size: 9vw;
  color: rgba(216, 142, 78, 0.05);
  font-weight: 700;
  letter-spacing: -0.05em;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.crumbs a { color: var(--text-muted); transition: color 0.3s ease; }
.crumbs a:hover { color: var(--cu-3); }
.crumbs svg { width: 12px; height: 12px; }

/* =========================================================
   Marquee
   ========================================================= */

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(245, 230, 201, 0.018), rgba(0, 0, 0, 0.25));
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 3.6rem;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--text-soft);
}

.marquee-item .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--cu-3);
  box-shadow: 0 0 14px var(--cu-glow);
}

.marquee-item svg {
  width: 22px; height: 22px;
  color: var(--cu-3);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   Business Unit Grid (2x2)
   ========================================================= */

.unit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.unit-card {
  position: relative;
  display: block;
  padding: 2.6rem;
  min-height: 420px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(245, 230, 201, 0.05), rgba(245, 230, 201, 0.012) 60%),
    rgba(15, 24, 40, 0.65);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.7s var(--ease-out-quart), border-color 0.6s ease, box-shadow 0.6s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.unit-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(216, 142, 78, 0.6), transparent 38%, transparent 62%, rgba(216, 142, 78, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.unit-card::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 142, 78, 0.22), transparent 70%);
  top: var(--my, 50%);
  left: var(--mx, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.unit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 142, 78, 0.4);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(216, 142, 78, 0.22);
}

.unit-card:hover::before { opacity: 1; }
.unit-card:hover::after { opacity: 1; }

.unit-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.unit-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.unit-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  color: var(--cu-3);
  text-transform: uppercase;
}

.unit-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(216, 142, 78, 0.28), rgba(216, 142, 78, 0.06));
  border: 1px solid rgba(216, 142, 78, 0.35);
  color: var(--cu-4);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-inner-warm);
}

.unit-icon-wrap svg { width: 30px; height: 30px; stroke-width: 1.5; }

.unit-card h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 0.7rem;
  color: var(--iv-3);
  min-height: 2.1em;
  display: flex;
  align-items: flex-start;
}

.unit-card .unit-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  display: block;
  font-weight: 500;
}

.unit-card p {
  color: var(--text-soft);
  max-width: 38ch;
  font-size: 0.97rem;
}

.unit-arrow {
  margin-top: auto;
  padding-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cu-3);
}

.unit-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.55s var(--ease-out-quart);
}

.unit-card:hover .unit-arrow svg { transform: translateX(10px); }

@media (max-width: 820px) {
  .unit-grid { grid-template-columns: 1fr; }
  .unit-card { min-height: 360px; padding: 2.1rem; }
}

/* =========================================================
   Glass card
   ========================================================= */

.card-glass {
  position: relative;
  padding: 2.2rem;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(245, 230, 201, 0.045), rgba(245, 230, 201, 0.012));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.55s var(--ease-out-quart), border-color 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
}

.card-glass::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 142, 78, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card-glass:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 142, 78, 0.32);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
}

.card-glass:hover::before { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.18), rgba(216, 142, 78, 0.05));
  border: 1px solid rgba(216, 142, 78, 0.28);
  color: var(--cu-4);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-inner-warm);
}
.card-icon svg { width: 24px; height: 24px; stroke-width: 1.6; }

.card-glass h3 {
  font-size: 1.32rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
  letter-spacing: -0.015em;
  color: var(--iv-3);
  line-height: 1.2;
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
}

.card-glass p { font-size: 0.96rem; line-height: 1.7; color: var(--text-soft); margin: 0; }

/* In single-card centered contexts (kontakt quick-paths), don't force min-height */
.card-glass.center-card h3 {
  min-height: 0;
  justify-content: center;
}

/* =========================================================
   Services grid
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.3rem;
}

.service-tile {
  position: relative;
  padding: 1.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(245, 230, 201, 0.018);
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s var(--ease-out-quart);
  overflow: hidden;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(216, 142, 78, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-tile:hover {
  border-color: rgba(216, 142, 78, 0.32);
  background: rgba(245, 230, 201, 0.03);
  transform: translateY(-4px);
}
.service-tile:hover::before { opacity: 1; }

.service-tile > * { position: relative; }

.service-tile .svc-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.24em;
}

.service-tile .svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.16), rgba(216, 142, 78, 0.04));
  border: 1px solid rgba(216, 142, 78, 0.22);
  display: grid; place-items: center;
  color: var(--cu-3);
  margin: 0.95rem 0 1.1rem;
}
.service-tile .svc-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.service-tile h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--iv-3);
}
.service-tile p { font-size: 0.92rem; line-height: 1.65; color: var(--text-soft); }

/* =========================================================
   Editorial / Split sections
   ========================================================= */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.split-grid.split-7-5 { grid-template-columns: 1.1fr 0.9fr; }
.split-grid.split-5-7 { grid-template-columns: 0.9fr 1.1fr; }
.split-grid.align-start { align-items: flex-start; }

.split-visual {
  position: relative;
  min-height: 540px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}

.split-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.08) saturate(0.85);
}

.split-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 20, 0.05) 0%, rgba(6, 11, 20, 0.6) 100%);
}

.visual-badge {
  position: absolute;
  bottom: 1.6rem;
  left: 1.6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(6, 11, 20, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(216, 142, 78, 0.25);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--iv-2);
  font-weight: 500;
}
.visual-badge svg { width: 14px; height: 14px; color: var(--cu-3); }

@media (max-width: 900px) {
  .split-grid, .split-grid.split-7-5, .split-grid.split-5-7 { grid-template-columns: 1fr; gap: 2.6rem; }
  .split-visual { min-height: 380px; }
}

/* =========================================================
   Stats row
   ========================================================= */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  padding: 2.6rem 0;
  gap: 1px;
  background: var(--border);
}

.stat-item {
  background: var(--bg-0);
  padding: 1.1rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 0;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, var(--iv-3) 0%, var(--cu-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}
.stat-item strong > span { line-height: 1; display: inline-block; }

.stat-item > span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.45;
  min-height: 2.1em;
  margin: 0;
}

@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-item > span { min-height: 0; }
}

/* =========================================================
   Timeline
   ========================================================= */

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.8rem;
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-year {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  letter-spacing: -0.025em;
  color: var(--cu-3);
}
.timeline-year small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: var(--iv-3);
}
.timeline-body p { max-width: 60ch; }

@media (max-width: 760px) {
  .timeline-item { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* =========================================================
   Process steps
   ========================================================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.process-step {
  position: relative;
  padding: 2rem 1.8rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(245, 230, 201, 0.018);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out-quart);
}

.process-step:hover {
  border-color: rgba(216, 142, 78, 0.3);
  transform: translateY(-4px);
}

.process-step::before {
  content: attr(data-num);
  position: absolute;
  top: -0.4rem;
  right: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 5.4rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(216, 142, 78, 0.1);
  font-style: italic;
}

.process-step .step-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.16), rgba(216, 142, 78, 0.04));
  border: 1px solid rgba(216, 142, 78, 0.24);
  color: var(--cu-3);
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
}
.process-step .step-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.process-step h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.55rem; color: var(--iv-3); line-height: 1.2; min-height: 1.4em; }
.process-step p { font-size: 0.9rem; line-height: 1.6; color: var(--text-soft); margin: 0; }

@media (max-width: 1000px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .process-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Featured project card
   ========================================================= */

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(245, 230, 201, 0.04), rgba(245, 230, 201, 0.01));
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}

.feature-visual {
  position: relative;
  min-height: 500px;
  background: var(--bg-2);
}

.feature-visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.1);
}

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(6, 11, 20, 0.65) 80%);
}

.feature-body {
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.feature-body h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); font-weight: 500; letter-spacing: -0.025em; color: var(--iv-3); }

.feature-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  align-items: start;
}
.feature-meta div { display: flex; flex-direction: column; gap: 0.45rem; align-items: flex-start; min-height: 0; }
.feature-meta div small { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.24em; color: var(--text-dim); text-transform: uppercase; margin: 0; line-height: 1.3; min-height: 1.3em; }
.feature-meta div strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--iv-3); line-height: 1.1; margin: 0; }

@media (max-width: 900px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-visual { min-height: 280px; }
  .feature-body { padding: 2rem; }
}

/* =========================================================
   CTA Banner
   ========================================================= */

.cta-banner {
  position: relative;
  padding: 5rem 3.5rem;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(216, 142, 78, 0.28);
  background:
    radial-gradient(900px 600px at 82% 0%, rgba(216, 142, 78, 0.2), transparent 60%),
    radial-gradient(700px 500px at 8% 100%, rgba(36, 58, 86, 0.4), transparent 60%),
    linear-gradient(160deg, rgba(21, 32, 52, 0.8), rgba(10, 17, 29, 0.92));
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 230, 201, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 230, 201, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 82%);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.2rem;
  align-items: center;
}

.cta-banner h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cta-banner-actions .row {
  display: flex; gap: 0.85rem; flex-wrap: wrap;
}

.cta-meta {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.cta-meta strong { color: var(--iv-3); font-family: var(--font-sans); font-weight: 600; font-size: 1rem; display: block; letter-spacing: 0.04em; }
.cta-meta-ic {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(216, 142, 78, 0.1);
  border: 1px solid rgba(216, 142, 78, 0.25);
  display: grid; place-items: center;
  color: var(--cu-3);
}
.cta-meta-ic svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .cta-banner { padding: 3.2rem 1.8rem; }
  .cta-banner-inner { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  position: relative;
  padding: 5rem 0 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-strong);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.6rem;
}

.footer h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cu-3);
  margin-bottom: 1.3rem;
}

.footer-list { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-list a, .footer-list span {
  color: var(--text-muted);
  font-size: 0.94rem;
  transition: color 0.3s ease;
}
.footer-list a:hover { color: var(--iv-3); }

.footer-brand p { font-size: 0.95rem; max-width: 38ch; }

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.foot-left {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}

.foot-copy {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.mm-credit {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: none;
  text-decoration: none;
}

.mm-credit .mm-name {
  position: relative;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(
    90deg,
    var(--cu-2) 0%,
    var(--cu-4) 18%,
    var(--iv-3) 34%,
    #FFF6E0 50%,
    var(--iv-3) 66%,
    var(--cu-4) 82%,
    var(--cu-2) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mm-shine 4.2s linear infinite;
  filter: drop-shadow(0 0 8px rgba(216, 142, 78, 0.45));
}

.mm-credit:hover .mm-name {
  animation-duration: 2.2s;
}

@keyframes mm-shine {
  0%   { background-position: 0% center; }
  100% { background-position: 220% center; }
}

.footer-bottom .socials { display: inline-flex; gap: 0.65rem; }
.footer-bottom .socials a {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.footer-bottom .socials a:hover { color: var(--iv-3); border-color: rgba(216, 142, 78, 0.45); background: rgba(216, 142, 78, 0.1); }
.footer-bottom .socials svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

/* =========================================================
   Reference cards (NO photos, blueprint placeholders)
   ========================================================= */

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.ref-card {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(216, 142, 78, 0.22);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(245, 230, 201, 0.018) 0px,
      rgba(245, 230, 201, 0.018) 14px,
      rgba(245, 230, 201, 0.04) 14px,
      rgba(245, 230, 201, 0.04) 28px
    ),
    radial-gradient(circle at 30% 25%, rgba(216, 142, 78, 0.1), transparent 55%),
    rgba(15, 24, 40, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.9rem;
  transition: border-color 0.55s ease, transform 0.55s var(--ease-out-quart), box-shadow 0.55s ease;
}

.ref-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgba(216, 142, 78, 0.25);
  border-radius: 16px;
  pointer-events: none;
}

.ref-card:hover {
  border-color: rgba(216, 142, 78, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 30px 80px -25px rgba(0, 0, 0, 0.55);
}

.ref-card > * { position: relative; }

.ref-card .ref-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--cu-3);
}

.ref-card .ref-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.18), rgba(216, 142, 78, 0.04));
  border: 1px solid rgba(216, 142, 78, 0.3);
  display: grid; place-items: center;
  color: var(--cu-4);
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-inner-warm);
}
.ref-card .ref-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }

.ref-card h3 { font-size: 1.18rem; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 0.5rem; color: var(--iv-3); line-height: 1.25; min-height: 2.4em; }
.ref-card p { font-size: 0.87rem; color: var(--text-soft); line-height: 1.6; margin: 0; }

.ref-card .placeholder-note {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ref-card .placeholder-note .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--cu-3); box-shadow: 0 0 12px rgba(216, 142, 78, 0.6); animation: pulse 2s infinite; }

.ref-card .ref-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cu-3);
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(216, 142, 78, 0.28);
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.ref-card .ref-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(245, 230, 201, 0.1);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ref-card .ref-meta .ref-num {
  color: var(--cu-3);
  font-weight: 500;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

@media (max-width: 1000px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ref-grid { grid-template-columns: 1fr; } }

/* Reference feature, Otok highlight */
.ref-feature {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.4rem;
  padding: 2.4rem;
  border-radius: 26px;
  border: 1px solid var(--border);
  background:
    linear-gradient(140deg, rgba(216, 142, 78, 0.08), rgba(15, 24, 40, 0.5)),
    var(--surface);
  box-shadow: var(--shadow-2);
}
.ref-feature-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(216, 142, 78, 0.16), rgba(15, 24, 40, 0.55));
  border: 1px solid rgba(216, 142, 78, 0.28);
  min-height: 240px;
}
.ref-feature-mark svg {
  width: 44px;
  height: 44px;
  color: var(--cu-4);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 12px rgba(216, 142, 78, 0.45));
}
.ref-feature-mark span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.ref-feature-body h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 0.6rem;
}
.ref-feature-body p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1rem;
}
@media (max-width: 880px) {
  .ref-feature { grid-template-columns: 1fr; padding: 1.8rem; }
  .ref-feature-mark { min-height: auto; flex-direction: row; align-items: center; }
}

/* Standalone placeholder note, foto u pripremi */
section .placeholder-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px dashed rgba(245, 230, 201, 0.18);
  border-radius: 16px;
  background: rgba(15, 24, 40, 0.4);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  max-width: 760px;
}
section .placeholder-note svg {
  width: 22px;
  height: 22px;
  color: var(--cu-3);
  flex-shrink: 0;
}
section .placeholder-note strong {
  display: block;
  color: var(--iv-3);
  margin-bottom: 0.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
  font-size: 0.92rem;
}
section .placeholder-note span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* =========================================================
   Contact
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.6rem;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-card {
  padding: 1.6rem 1.6rem 1.7rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(245, 230, 201, 0.035), rgba(245, 230, 201, 0.005));
  transition: border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 0;
}
.contact-card:hover { border-color: rgba(216, 142, 78, 0.3); }

.contact-card .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cu-3);
  font-weight: 500;
  margin: 0 0 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.2;
  min-height: 1.2em;
}
.contact-card .label svg { width: 14px; height: 14px; }
.contact-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
  color: var(--iv-3);
  line-height: 1.2;
  min-height: 1.4em;
}
.contact-card p { font-size: 0.9rem; line-height: 1.55; color: var(--text-soft); margin: 0; }

.contact-card-markets h4 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  width: 100%;
}

.contact-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.contact-row {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(245, 230, 201, 0.018);
  border: 1px solid var(--border);
  transition: border-color 0.35s ease;
}
.contact-row:hover { border-color: rgba(216, 142, 78, 0.3); }
.contact-row .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.16), rgba(216, 142, 78, 0.04));
  border: 1px solid rgba(216, 142, 78, 0.24);
  display: grid; place-items: center;
  color: var(--cu-3);
  flex-shrink: 0;
}
.contact-row .ic svg { width: 18px; height: 18px; }
.contact-row strong { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 0.92rem; color: var(--iv-3); letter-spacing: 0.04em; }
.contact-row span { font-size: 0.92rem; color: var(--text-muted); }

.contact-map {
  position: relative;
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.55) invert(0.92) contrast(1.05) hue-rotate(180deg);
}

.contact-map .map-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  background: rgba(8, 14, 25, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(216, 142, 78, 0.28);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--iv-3);
  z-index: 2;
}
.contact-map .map-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-map .map-meta svg { width: 14px; height: 14px; color: var(--cu-3); }
.contact-map .map-meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cu-3);
  transition: color 0.3s ease;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.contact-map .map-meta a:hover { color: var(--cu-2); }

.card-glass.center-card {
  text-align: center;
}
.card-glass.center-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}
.card-glass.center-card .btn {
  margin-top: 1.2rem;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
}

/* =========================================================
   Feature list (checklist)
   ========================================================= */

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2.5rem;
  padding-top: 1rem;
  list-style: none;
  margin: 0;
}

.feature-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.96rem;
  color: var(--text-soft);
}
.feature-list li:nth-child(1), .feature-list li:nth-child(2) { border-top: none; }
.feature-list li svg { width: 18px; height: 18px; color: var(--cu-3); margin-top: 3px; flex-shrink: 0; stroke-width: 2; }

@media (max-width: 700px) {
  .feature-list { grid-template-columns: 1fr; }
  .feature-list li:nth-child(2) { border-top: 1px solid var(--border); }
}

/* =========================================================
   Section heading block
   ========================================================= */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.2rem;
  align-items: end;
}

.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.section-head .head-side p { max-width: 50ch; }

.section-head.center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .lede { margin-left: auto; margin-right: auto; }

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* =========================================================
   Capabilities (vertical, editorial)
   ========================================================= */

.caps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.caps-list li {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding 0.45s var(--ease-out-quart);
}

.caps-list li:hover { padding-left: 1rem; }

.caps-list .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--cu-3);
}

.caps-list .body h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--iv-3);
}
.caps-list .body p { max-width: 64ch; }

.caps-list .ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(216, 142, 78, 0.14), rgba(216, 142, 78, 0.04));
  border: 1px solid rgba(216, 142, 78, 0.22);
  color: var(--cu-3);
  display: grid; place-items: center;
}
.caps-list .ic svg { width: 22px; height: 22px; stroke-width: 1.5; }

@media (max-width: 720px) {
  .caps-list li { grid-template-columns: 60px 1fr; }
  .caps-list .ic { display: none; }
  .caps-list li:hover { padding-left: 0.4rem; }
}

/* =========================================================
   Pull quote
   ========================================================= */

.pull-quote {
  position: relative;
  padding: 3.5rem 2.5rem;
  border-radius: 30px;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(216, 142, 78, 0.14), transparent 60%),
    linear-gradient(160deg, rgba(245, 230, 201, 0.04), rgba(245, 230, 201, 0.01));
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.4;
  color: var(--iv-2);
  letter-spacing: -0.015em;
}

.pull-quote::before {
  content: "“";
  position: absolute;
  top: -1.6rem;
  left: 1.6rem;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: rgba(216, 142, 78, 0.4);
  font-style: normal;
}

.pull-quote cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cu-3);
}

/* =========================================================
   Industrial accents
   ========================================================= */

.glow-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  z-index: 0;
}
.glow-orb.copper { background: radial-gradient(circle, rgba(216, 142, 78, 0.5), transparent 70%); }
.glow-orb.steel  { background: radial-gradient(circle, rgba(36, 58, 86, 0.6), transparent 70%); }
.glow-orb.emerald{ background: radial-gradient(circle, rgba(46, 137, 112, 0.4), transparent 70%); }

.divider-num {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.divider-num::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--cu-3), transparent);
}

/* =========================================================
   Tag pills
   ========================================================= */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(216, 142, 78, 0.08);
  border: 1px solid rgba(216, 142, 78, 0.25);
  color: var(--cu-4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.tag svg { width: 12px; height: 12px; }
.tag.neutral { background: rgba(245, 230, 201, 0.03); border-color: var(--border-strong); color: var(--text-muted); }
.tag.emerald { background: rgba(46, 137, 112, 0.12); border-color: rgba(46, 137, 112, 0.4); color: var(--em-2); }

/* =========================================================
   Page transitions
   ========================================================= */

.page-transition {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(800px 500px at 50% 50%, rgba(216, 142, 78, 0.18), transparent 60%),
    linear-gradient(180deg, #060B14 0%, #0A111D 100%);
  z-index: 100;
  pointer-events: none;
  transform: translateY(-100%);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.page-transition .pt-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 1.8rem;
  color: var(--cu-3);
  opacity: 0;
}

/* =========================================================
   Specs / Data grid
   ========================================================= */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.spec-item {
  padding: 1.4rem 1.5rem 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(245, 230, 201, 0.018);
  transition: border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 0;
}
.spec-item:hover { border-color: rgba(216, 142, 78, 0.32); }

.spec-item .lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.7rem;
  display: block;
  line-height: 1.3;
  min-height: 1.3em;
}

.spec-item .val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.42rem;
  color: var(--iv-3);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  display: block;
  min-height: 1.3em;
}
.spec-item .val small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 0.84rem; color: var(--text-soft); margin-top: 0.45rem; letter-spacing: 0; line-height: 1.5; }

/* =========================================================
   FAB (floating WhatsApp) — removed
   ========================================================= */
.fab-wa { display: none !important; }

/* Nav WhatsApp button: subtle ambient glow */
.btn-wa.btn-sm {
  position: relative;
  animation: waNavGlow 3.2s ease-in-out infinite;
}
@keyframes waNavGlow {
  0%, 100% { box-shadow: 0 0 10px -3px rgba(37, 211, 102, 0.18); }
  50%       { box-shadow: 0 0 22px 2px rgba(37, 211, 102, 0.42); }
}

/* Contact page CTA btn — pulse ring */
.btn-wa-cta {
  position: relative;
}
.btn-wa-cta .btn-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: fabPulse 2.4s infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  100% { transform: scale(1.38); opacity: 0; }
}

/* Potpis-mmds signature image */
.mm-sig {
  height: 30px;
  width: auto;
  opacity: 0.82;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: brightness(1.15) saturate(1.1);
  vertical-align: middle;
}
.mm-credit:hover .mm-sig { opacity: 1; filter: brightness(1.3) saturate(1.2); }

/* =========================================================
   Reference Photo Grid  (3×3 real images)
   ========================================================= */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.photo-grid-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.48s var(--ease-out-quart), border-color 0.4s ease, box-shadow 0.45s ease;
}

.photo-grid-item:hover {
  transform: translateY(-5px) scale(1.012);
  border-color: var(--border-copper);
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(216, 142, 78, 0.18);
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.72s var(--ease-out-quart);
  display: block;
}

.photo-grid-item:hover img {
  transform: scale(1.07);
}

.photo-grid-item .pg-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.2rem 1.1rem;
  background: linear-gradient(to top, rgba(6, 11, 20, 0.9) 0%, transparent 100%);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cu-3);
  opacity: 0;
  transition: opacity 0.38s ease;
}

.photo-grid-item:hover .pg-label { opacity: 1; }

@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .photo-grid { grid-template-columns: 1fr; } }

/* Clients / references structured table */
.refs-table {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.refs-region {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 2rem;
  align-items: start;
}
.refs-region-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cu-3);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-copper);
}
.refs-entries {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.refs-entry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  transition: border-color 0.3s ease;
}
.refs-entry:hover { border-color: var(--border-copper); }
.refs-entry-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.3rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.refs-entry-row + .refs-entry-row { margin-top: 0.7rem; }
.refs-key {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cu-3);
  padding-top: 0.12em;
  flex-shrink: 0;
}
.refs-val { color: var(--text-soft); }
.refs-val strong { color: var(--iv-3); font-weight: 600; }
.refs-val em { font-style: normal; color: var(--text-muted); font-size: 0.85em; }
.refs-list {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.refs-list-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cu-3);
  margin-bottom: 0.5rem;
}
.refs-list li {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-soft);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.refs-list li::before { content: "·"; position: absolute; left: 0; color: var(--cu-4); }
.refs-list li em { font-style: normal; color: var(--text-muted); }
@media (max-width: 640px) {
  .refs-region { grid-template-columns: 1fr; }
  .refs-region-label { border-top: none; padding-top: 0; }
  .refs-entry-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Hero experience badge (homepage 33+ years)
   ========================================================= */

.hero-xp {
  display: flex;
  gap: 2.4rem;
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}
.hero-xp-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-xp-item strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--iv-3);
  line-height: 1;
}
.hero-xp-item span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================================
   Core Specialties (services page - 5 columns)
   ========================================================= */

.spec5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin-top: 2.8rem;
}

.spec5-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.4rem 1.6rem;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out-quart), box-shadow 0.4s ease;
  overflow: hidden;
}

.spec5-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(216, 142, 78, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.spec5-card:hover {
  border-color: var(--border-copper);
  transform: translateY(-4px);
  box-shadow: 0 28px 70px -20px rgba(0,0,0,0.6);
}

.spec5-card:hover::before { opacity: 1; }

.spec5-card .s5-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(216,142,78,0.18), rgba(216,142,78,0.04));
  border: 1px solid rgba(216,142,78,0.3);
  display: grid; place-items: center;
  color: var(--cu-4);
  margin-bottom: 1.2rem;
  position: relative;
}
.spec5-card .s5-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }

.spec5-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--iv-3);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.spec5-card ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.spec5-card ul li {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.4;
  padding-left: 1rem;
  position: relative;
}
.spec5-card ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--cu-3);
}

@media (max-width: 1100px) { .spec5-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .spec5-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .spec5-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Principles strip (services page)
   ========================================================= */

.principles-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}

.principle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--text-soft);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.principle-pill svg { width: 16px; height: 16px; color: var(--cu-4); flex-shrink: 0; }
.principle-pill:hover { border-color: var(--border-copper); color: var(--iv-3); }

/* =========================================================
   Utility
   ========================================================= */

.fade-in { opacity: 0; transform: translateY(28px); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.relative { position: relative; }
.gap-sm { gap: 0.6rem; } .gap-md { gap: 1rem; } .gap-lg { gap: 1.5rem; }
.mt-sm { margin-top: 0.7rem; } .mt-md { margin-top: 1.3rem; } .mt-lg { margin-top: 2.2rem; } .mt-xl { margin-top: 3.2rem; }
.center { text-align: center; }
.no-decoration { text-decoration: none; }
.full-w { width: 100%; }
.flow > * + * { margin-top: 1.1rem; }

/* =========================================================
   Responsive base
   ========================================================= */

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { min-height: 90vh; padding: 8rem 0 5rem; }
  .hero-inner { padding: 10rem 0 4rem; }
  .hero-side-mark { display: none; }
}

@media (max-width: 600px) {
  .topbar-inner { padding: 0.45rem 0.45rem 0.45rem 0.75rem; }
  .brand-text { display: flex; }
  .feature-meta { grid-template-columns: 1fr; }
  .cta-banner { padding: 2rem 1.1rem; }
}

/* =========================================================
   Language toggle
   ========================================================= */
.lang-en { display: none !important; }
html.is-en .lang-hr { display: none !important; }
html.is-en .lang-en { display: inline !important; }

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 0.3rem 0.72rem;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.lang-btn:hover {
  color: var(--iv-3);
  border-color: var(--border-copper);
  background: rgba(216,142,78,0.07);
}
html.is-en .lang-btn { color: var(--iv-3); border-color: var(--border-copper); }

/* =========================================================
   Homepage hero — full roco1 background
   ========================================================= */
.hero-home {
  min-height: 100vh;
  padding: 0;
  align-items: flex-end;
  isolation: isolate;
}

.hero-home-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.hero-home-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 9rem 0 2.75rem;
}

.hero-home-bottom {
  max-width: 680px;
}

.hero-home h1,
.hero-home-title {
  font-size: clamp(2.25rem, 4.1vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-top: 0.85rem;
}

.hero-home-title .accent {
  color: var(--cu-4);
  font-style: italic;
  font-weight: 400;
}

.hero-home-lede {
  margin-top: 1.15rem;
  max-width: 580px;
  font-size: 1.14rem;
  line-height: 1.68;
  color: var(--text-soft);
}

.hero-home .scroll-indicator {
  z-index: 2;
}

.hero-home .hero-actions {
  margin-top: 1.6rem;
}

@media (max-width: 768px) {
  .hero-home-inner { padding: 8rem 0 2.25rem; }
  .hero-home-bottom { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero-home { min-height: 92vh; }
  .hero-home-inner { padding: 7.5rem 0 2rem; }
  .hero-home h1,
  .hero-home-title,
  .hero-inner h1 { font-size: clamp(1.95rem, 7.8vw, 2.7rem); }
  .hero-home-lede { font-size: 1.05rem; }
}

/* =========================================================
   Mobile First — touch, layout, performance
   ========================================================= */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 1180px) {
  .topbar {
    padding: 0.75rem 0;
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  }

  .topbar-inner {
    padding: 0.5rem 0.5rem 0.5rem 0.85rem;
    border-radius: 18px;
    gap: 0.65rem;
    justify-content: flex-start;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    overflow: visible;
    font-size: 1rem;
    letter-spacing: 0.12em;
    gap: 0.65rem;
  }

  .brand-text {
    white-space: nowrap;
    overflow: visible;
    flex-shrink: 0;
  }

  .brand-text small { display: none; }

  .brand-logo { height: 46px; max-height: 46px; }

  .nav-cta {
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-toggle { flex-shrink: 0; }

  .nav-cta .btn-wa span { display: none; }
  .nav-cta .btn-wa { min-width: 44px; padding: 0 0.75rem; }
  .nav-cta .btn-wa svg { margin: 0; }

  .container,
  .container-wide {
    width: min(var(--maxw), calc(100% - 1.5rem));
  }

  .section { padding: clamp(3.2rem, 8vw, 5.5rem) 0; }
  .section-head h2 { font-size: clamp(1.85rem, 6vw, 2.6rem); }
  .section-head { margin-bottom: 2.2rem; }

  .hero-inner { padding: 8.5rem 0 3.5rem; }
  .hero-home { min-height: calc(var(--vh, 1vh) * 100); min-height: 100dvh; }
  .hero-home-inner { padding: 7.5rem 0 2.25rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 50px;
  }

  .hero-home .scroll-indicator { display: none; }

  .btn {
    min-height: 50px;
    -webkit-tap-highlight-color: transparent;
  }

  .unit-card { min-height: auto; }
  .card-glass { padding: 1.6rem; }

  .crumbs {
    font-size: 0.66rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-bottom .socials { width: 100%; }
}

@media (max-width: 600px) {
  .topbar-inner { padding: 0.45rem 0.45rem 0.45rem 0.75rem; }
  .brand-text { display: flex; }
  .brand-logo { height: 40px; max-height: 40px; }
  .brand { font-size: 0.82rem; gap: 0.55rem; letter-spacing: 0.1em; }

  .container,
  .container-wide {
    width: min(var(--maxw), calc(100% - 1.15rem));
  }

  .hero-inner { padding: 7.5rem 0 3rem; }
  .hero-home-inner { padding: 6.75rem 0 1.75rem; }

  .hero-home-lede {
    font-size: 1rem;
    line-height: 1.62;
  }

  .lede { font-size: 1rem; }

  .marquee-item { font-size: 0.78rem; }

  .cta-banner { padding: 2rem 1.1rem; }

  .mobile-nav {
    width: min(100%, 100%);
    border-left: none;
  }

  .mobile-nav a,
  .mobile-nav-links a { font-size: 1.22rem; }

  .feature-meta { grid-template-columns: 1fr; }

  .mm-credit { font-size: 0.8rem; }
  .mm-sig { height: 26px; }
}

@media (hover: none) {
  .unit-card:hover,
  .card-glass:hover {
    transform: none;
    box-shadow: none;
  }

  .btn:hover { transform: none; }
}

/* =========================================================
   Component extensions — footer, contact grids, hero media,
   reviews, certificates, gallery, lightbox, OIB
   ========================================================= */

.footer-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
  text-align: left;
  width: 100%;
}

.footer:has(.footer-grid-compact) {
  padding-top: 3.5rem;
}

.footer:has(.footer-grid-compact) .footer-grid-compact {
  margin-bottom: 3rem;
}

.footer:has(.footer-grid-compact) .footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  width: 100%;
  gap: 2rem;
  margin-top: 0;
  padding-top: 1.75rem;
}

.footer:has(.footer-grid-compact) .footer-bottom .foot-copy {
  justify-self: start;
}

.footer:has(.footer-grid-compact) .footer-bottom .socials {
  justify-self: center;
}

.footer:has(.footer-grid-compact) .footer-bottom .mm-credit {
  justify-self: end;
  margin-left: 0;
}

.footer-grid-compact h4 {
  margin-bottom: 1.15rem;
}

.footer-grid-compact .footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (max-width: 900px) {
  .footer-grid-compact {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-grid-compact {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer:has(.footer-grid-compact) .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer:has(.footer-grid-compact) .footer-bottom .mm-credit {
    justify-self: end;
    width: 100%;
    justify-content: flex-end;
  }
}

.contact-cards-grid-3x2 {
  grid-template-columns: repeat(3, 1fr);
}

.contact-cards-grid-5 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.contact-cards-grid-5 > .contact-card:nth-child(1) { grid-column: 1 / 3; }
.contact-cards-grid-5 > .contact-card:nth-child(2) { grid-column: 3 / 5; }
.contact-cards-grid-5 > .contact-card:nth-child(3) { grid-column: 5 / 7; }
.contact-cards-grid-5 > .contact-card:nth-child(4) { grid-column: 2 / 4; }
.contact-cards-grid-5 > .contact-card:nth-child(5) { grid-column: 4 / 6; }

@media (max-width: 900px) {
  .contact-cards-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards-grid-5 > .contact-card:nth-child(n) {
    grid-column: auto;
  }

  .contact-cards-grid-5 > .contact-card:nth-child(5):nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.5rem);
    justify-self: center;
  }
}

@media (max-width: 540px) {
  .contact-cards-grid-3x2 {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid-5 {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid-5 > .contact-card:nth-child(5):nth-last-child(1):nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-card a {
  color: var(--cu-3);
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--cu-2);
}

.reviews-divider {
  border: 0;
  height: 1px;
  margin: 0 0 2.5rem;
  background: linear-gradient(90deg, transparent, rgba(216, 142, 78, 0.45) 12%, rgba(216, 142, 78, 0.45) 88%, transparent);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.review-card {
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(245, 230, 201, 0.04), rgba(245, 230, 201, 0.008));
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.review-stars {
  color: var(--cu-3);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  line-height: 1;
}

.review-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-soft);
  flex: 1;
}

.review-card strong {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--iv-2);
}

@media (max-width: 980px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.cert-shine {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(216, 142, 78, 0.28);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 17, 29, 0.55);
  cursor: zoom-in;
  aspect-ratio: 5 / 7;
  line-height: 0;
  align-self: stretch;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.cert-shine::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(115deg, transparent 35%, rgba(216, 142, 78, 0.22) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: certShine 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.cert-shine:hover {
  border-color: rgba(216, 142, 78, 0.55);
  box-shadow: 0 0 28px rgba(216, 142, 78, 0.22), 0 12px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.cert-shine img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: rgba(6, 11, 20, 0.35);
}

@keyframes certShine {
  0%, 100% { transform: translateX(-120%); }
  50% { transform: translateX(120%); }
}

@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 520px) {
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-grid .cert-shine:nth-child(9):last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.375rem);
    justify-self: center;
  }
}

@media (max-width: 380px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid .cert-shine:nth-child(9):last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}

.gallery-grid-3x4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid-3x4 .gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  padding: 0;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-grid-3x4 .gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 142, 78, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.gallery-grid-3x4 .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-grid-3x4 .gallery-item:hover img {
  transform: scale(1.04);
}

.reviews-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  border: 1px dashed rgba(216, 142, 78, 0.28);
  background:
    linear-gradient(145deg, rgba(245, 230, 201, 0.035), rgba(10, 17, 29, 0.35)),
    repeating-linear-gradient(45deg, rgba(216, 142, 78, 0.04) 0 8px, transparent 8px 16px);
}

@media (max-width: 980px) {
  .gallery-grid-3x4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid-3x4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-inner-media {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 72vh, 880px);
  padding: 10rem 0 4.5rem;
  display: flex;
  align-items: flex-end;
}

.hero-inner-media .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner-media .hero-bg {
  z-index: 0;
  opacity: 1;
  filter: grayscale(0.12) contrast(1.05) saturate(0.92);
  transform: scale(1.04);
  background-size: cover;
  background-position: center;
}

.hero-inner-media .hero-bg::after {
  background:
    radial-gradient(ellipse at 18% 30%, rgba(6, 11, 20, 0.2), transparent 55%),
    linear-gradient(105deg, rgba(6, 11, 20, 0.82) 0%, rgba(6, 11, 20, 0.52) 42%, rgba(6, 11, 20, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 11, 20, 0.15) 0%, rgba(6, 11, 20, 0.72) 100%);
}

.hero-inner-media-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.02);
}

.hero-inner-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(6, 11, 20, 0.92) 0%, rgba(6, 11, 20, 0.72) 42%, rgba(6, 11, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(6, 11, 20, 0.35) 0%, rgba(6, 11, 20, 0.82) 100%);
  pointer-events: none;
}

.hero-inner-media-overlay-strong {
  background:
    linear-gradient(105deg, rgba(6, 11, 20, 0.94) 0%, rgba(6, 11, 20, 0.78) 48%, rgba(6, 11, 20, 0.55) 100%),
    linear-gradient(180deg, rgba(6, 11, 20, 0.4) 0%, rgba(6, 11, 20, 0.88) 100%);
}

.hero-inner-media .container,
.hero-inner-media-content {
  position: relative;
  z-index: 2;
}

.hero-inner-media .hero-inner-decor,
.hero-inner-media .glow-orb {
  z-index: 1;
}

.hero-inner-media .crumbs,
.hero-inner-media .eyebrow,
.hero-inner-media h1,
.hero-inner-media .lede,
.hero-inner-media .hero-actions {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-inner-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-inner-copy {
  max-width: 760px;
}

.hero-cert-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(216, 142, 78, 0.35);
  background: rgba(8, 14, 25, 0.55);
  box-shadow:
    0 0 40px rgba(216, 142, 78, 0.18),
    inset 0 0 30px rgba(216, 142, 78, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-cert-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(216, 142, 78, 0.25), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-cert-panel > * {
  position: relative;
  z-index: 1;
}

.hero-cert-panel .cert-shine {
  aspect-ratio: 9 / 16;
  min-height: 220px;
}

.cert-carousel {
  position: relative;
  min-height: 220px;
}

.cert-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.cert-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.cert-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.cert-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 3;
}

.cert-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 230, 201, 0.35);
  border: 1px solid rgba(216, 142, 78, 0.45);
  transition: background 0.3s ease, transform 0.3s ease;
}

.cert-carousel-dot.is-active {
  background: var(--cu-3);
  transform: scale(1.15);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 8, 16, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox img {
  max-width: min(92vw, 720px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(216, 142, 78, 0.35);
  background: rgba(10, 17, 29, 0.85);
  color: var(--iv-3);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.oib-line {
  text-align: center;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0;
  padding: 0 1rem 2.5rem;
}

@media (max-width: 980px) {
  .hero-inner-split {
    grid-template-columns: 1fr;
  }

  .hero-cert-panel {
    max-width: 520px;
  }
}

@media (max-width: 540px) {
  .hero-cert-panel {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE PREMIER v2 — Elite mobile-first experience
   Touch · Container · Safe areas · Performance · Spacing
   ========================================================= */

/* --- Touch: remove 300ms tap delay on all interactive elements --- */
a, button, [role="button"], input, select, textarea,
.btn, .unit-card, .card-glass, .service-tile, .ref-card,
.spec5-card, .cert-shine, .photo-grid-item, .gallery-item,
.mobile-nav-links a, .nav-toggle, .nav-close {
  touch-action: manipulation;
}

/* --- Fix: container too narrow at ≤600px (was only ~9px per side) --- */
@media (max-width: 600px) {
  .container,
  .container-wide {
    width: min(var(--maxw), calc(100% - 2.2rem));
  }
}

/* --- Fix: hero-inner top padding wastes space on phones --- */
@media (max-width: 600px) {
  .hero-inner {
    padding-top: 6.5rem;
    padding-bottom: 2.4rem;
  }
  .hero-inner h1 {
    font-size: clamp(1.9rem, 7.8vw, 2.55rem);
    line-height: 1.1;
  }
}

/* --- BUG FIX: hero-inner-media had NO mobile override — 10rem top padding on phones --- */
@media (max-width: 900px) {
  .hero-inner-media {
    padding: 8.5rem 0 3.5rem;
    min-height: clamp(400px, 62vh, 720px);
  }
}
@media (max-width: 600px) {
  .hero-inner-media {
    padding: 6.5rem 0 2.5rem;
    min-height: 0;
  }
}

/* --- Fix: hero-home on very small screens --- */
@media (max-width: 400px) {
  .hero-home-inner {
    padding-top: 6rem;
    padding-bottom: 1.5rem;
  }
}

/* --- iOS Safari: true viewport height fill --- */
@supports (-webkit-touch-callout: none) {
  .hero-home {
    min-height: -webkit-fill-available;
  }
}

/* --- Fix: section padding at very small screens --- */
@media (max-width: 400px) {
  .section     { padding: 2.5rem 0; }
  .section-tight { padding: 1.6rem 0; }
  .section-xl  { padding: 3.8rem 0; }
}

/* --- Fix: section-head heading and spacing on small phones --- */
@media (max-width: 600px) {
  .section-head {
    margin-bottom: 1.8rem;
    gap: 0.85rem;
  }
  .section-head h2 {
    font-size: clamp(1.65rem, 6.5vw, 2.35rem);
  }
}

/* --- Fix: hero-actions margin and button sizing on mobile --- */
@media (max-width: 600px) {
  .hero-actions {
    margin-top: 1.6rem;
    gap: 0.6rem;
  }
  .hero-actions .btn {
    min-height: 52px;
    font-size: 0.84rem;
  }
}

/* --- Safe area: footer bottom for iPhone notch/home indicator --- */
@media (max-width: 900px) {
  .footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }
}

/* --- Performance: reduce GPU-heavy effects on mobile --- */
@media (max-width: 900px) {
  .glow-orb {
    filter: blur(55px);
    opacity: 0.4;
  }

  /* Remove grain texture layer — expensive on mobile GPUs */
  body::after {
    display: none;
  }

  /* Slow shimmer animations to reduce battery drain */
  .btn-primary::after,
  .btn-wa::after,
  .btn-copper::after {
    animation-duration: 7s;
  }
}

/* --- Accessibility: respect reduced-motion preference --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.05ms !important;
  }
  .scroll-indicator { display: none; }
  .marquee-track { animation: none; }
  .page-transition { display: none; }
}

/* --- Fix: caps-list tighter layout on phones --- */
@media (max-width: 600px) {
  .caps-list li {
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    padding: 1.35rem 0;
  }
  .caps-list li:hover {
    padding-left: 0.2rem;
  }
  .caps-list .body h3 {
    font-size: 1.12rem;
    margin-bottom: 0.28rem;
  }
  .caps-list .body p {
    font-size: 0.87rem;
    line-height: 1.62;
  }
}

/* --- Fix: unit-card compact padding on phones --- */
@media (max-width: 600px) {
  .unit-card {
    padding: 1.55rem;
    border-radius: 22px;
  }
  .unit-card h3 {
    font-size: 1.65rem;
    min-height: 0;
    line-height: 1.08;
  }
}

/* --- Fix: contact map height on small phones --- */
@media (max-width: 600px) {
  .contact-map {
    min-height: 250px;
    border-radius: 18px;
  }
}

/* --- Fix: stats-row grid and number sizes at very small screens --- */
@media (max-width: 420px) {
  .stats-row {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem 0;
  }
  .stat-item {
    padding: 0.85rem 0.9rem;
  }
  .stat-item strong {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }
  .stat-item > span { min-height: 0; }
}

/* --- Fix: ref-card aspect-ratio locks to bad heights on phones --- */
@media (max-width: 480px) {
  .ref-card {
    aspect-ratio: unset;
    min-height: 200px;
  }
  .ref-card h3 {
    min-height: 0;
    font-size: 1.05rem;
  }
}

/* --- Fix: spec-grid single column on small phones --- */
@media (max-width: 480px) {
  .spec-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .spec-item .val {
    font-size: 1.2rem;
  }
}

/* --- Fix: center-card CTA buttons fill width on mobile --- */
@media (max-width: 600px) {
  .card-glass.center-card .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Fix: cta-banner action buttons stacked on mobile --- */
@media (max-width: 600px) {
  .cta-banner-actions .row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-banner-actions .row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Fix: pull-quote scaled and padded for mobile --- */
@media (max-width: 600px) {
  .pull-quote {
    padding: 2.2rem 1.4rem 1.8rem;
    font-size: clamp(1.15rem, 5vw, 1.5rem);
    border-radius: 20px;
  }
  .pull-quote::before {
    font-size: 5.5rem;
    top: -1rem;
    left: 0.9rem;
  }
}

/* --- Fix: timeline compacted for mobile --- */
@media (max-width: 600px) {
  .timeline-item {
    padding: 1.45rem 0;
    gap: 0.5rem;
  }
  .timeline-year {
    font-size: 1.9rem;
  }
  .timeline-body h3 {
    font-size: 1.18rem;
    margin-bottom: 0.35rem;
  }
}

/* --- Fix: footer list tap targets — minimum finger-friendly size --- */
@media (max-width: 900px) {
  .footer-list a,
  .footer-list span {
    padding-top: 0.22rem;
    padding-bottom: 0.22rem;
    display: block;
  }
}

/* --- Fix: gallery grid single column on very tiny screens --- */
@media (max-width: 380px) {
  .gallery-grid-3x4 {
    grid-template-columns: 1fr;
  }
}

/* --- Fix: contact card padding on tiny phones (≤380px) --- */
@media (max-width: 380px) {
  .contact-card {
    padding: 1.1rem;
  }
  .contact-card h4 {
    font-size: 1rem;
    min-height: 0;
  }
  .contact-card p {
    font-size: 0.83rem;
  }
}

/* --- Fix: spec5-card inner padding on mobile --- */
@media (max-width: 480px) {
  .spec5-card {
    padding: 1.5rem 1.1rem 1.3rem;
  }
}

/* --- Fix: cert panel single column on tiny screens --- */
@media (max-width: 380px) {
  .hero-cert-panel {
    grid-template-columns: 1fr;
  }
}

/* --- Fix: footer compact grid gap --- */
@media (max-width: 640px) {
  .footer-grid-compact {
    gap: 1.4rem;
  }
}

/* --- Fix: photo-grid border radius on small screens --- */
@media (max-width: 520px) {
  .photo-grid-item {
    border-radius: 13px;
  }
}

/* --- Fix: lang button minimum tap target size --- */
.lang-btn {
  min-width: 38px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Fix: mobile nav focus-visible outline --- */
@media (max-width: 1180px) {
  .mobile-nav-links a:focus-visible {
    outline: 2px solid var(--cu-3);
    outline-offset: -2px;
  }
}

/* =========================================================
   Floating WhatsApp CTA — mobile only, always accessible
   ========================================================= */
.fab-wa-mobile {
  display: none;
}

@media (max-width: 900px) {
  .fab-wa-mobile {
    display: flex;
    position: fixed;
    bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
    right: 1.1rem;
    z-index: 44;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--wa-1) 0%, var(--wa-2) 50%, var(--wa-3) 100%);
    color: #fff;
    text-decoration: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.52), 0 2px 8px rgba(0, 0, 0, 0.28);
    transition: transform 0.28s var(--ease-out-quart), box-shadow 0.28s ease, opacity 0.2s ease;
    animation: fabWaPulse 3.8s ease-in-out infinite;
  }

  .fab-wa-mobile i,
  .fab-wa-mobile svg {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    pointer-events: none;
  }

  .fab-wa-mobile:active {
    transform: scale(0.88);
    animation-play-state: paused;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 1px 4px rgba(0, 0, 0, 0.2);
  }

  @keyframes fabWaPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0, 0, 0, 0.28); }
    50%       { box-shadow: 0 12px 38px rgba(37, 211, 102, 0.7), 0 4px 14px rgba(0, 0, 0, 0.32); }
  }
}

/* Hide FAB while mobile nav is open to avoid overlap */
body.nav-open .fab-wa-mobile {
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   Mobile nav brand name — very small screens (≤380px)
   ========================================================= */
@media (max-width: 380px) {
  .brand { font-size: 0.74rem; letter-spacing: 0.08em; gap: 0.45rem; }
  .brand-logo { height: 36px; max-height: 36px; }
  .nav-toggle { width: 42px; height: 42px; }
}
