/* ============================================
   INTESEMA DIGITAL AG — MAIN STYLESHEET
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Syne:wght@300;400;500;600;700&family=DM+Mono:wght@300;400&display=swap');

:root {
  --gold: #c9a84c;
  --gold-light: #e8d49a;
  --gold-dark: #a07830;
  --bg: #080808;
  --surface: #111111;
  --surface2: #181818;
  --border: #222222;
  --text: #f0ede6;
  --muted: #6b6b65;
  --white: #fafaf8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* CURSOR */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.4); border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%);
  transition: all 0.18s ease;
}

/* ============================================
   NAVBAR
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 4rem;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 80px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, height 0.3s;
}
nav.scrolled { border-color: var(--border); height: 68px; }

.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 500;
  color: var(--white); letter-spacing: 0.08em;
}
.logo-sub {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem; color: var(--gold);
  letter-spacing: 0.3em; text-transform: uppercase; margin-top: 2px;
}

.nav-center { display: flex; align-items: center; gap: 0; list-style: none; }

.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 0 1.2rem; height: 80px;
  color: var(--muted); text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.25s; white-space: nowrap; cursor: none;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link svg { transition: transform 0.25s; flex-shrink: 0; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* MEGA MENU */
.mega-menu {
  position: absolute; top: 80px;
  left: 50%; transform: translateX(-50%) translateY(10px);
  background: #0c0c0c;
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; z-index: 999;
  pointer-events: none;
}
.nav-item:hover .mega-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.mega-col {
  padding: 2rem 1.8rem;
  border-right: 1px solid var(--border);
  min-width: 210px;
}
.mega-col:last-child { border-right: none; }

.mega-col-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem; padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}

.mega-item {
  display: block; padding: 0.45rem 0;
  color: var(--muted); text-decoration: none;
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.03em;
  transition: all 0.2s; cursor: none;
  position: relative; padding-left: 0;
}
.mega-item:hover { color: var(--text); padding-left: 12px; }
.mega-item:hover::before {
  content: '→'; position: absolute; left: 0;
  color: var(--gold); font-size: 0.7rem;
}

/* LANG SWITCHER */
.lang-switcher {
  display: flex; align-items: center; gap: 6px;
  margin-left: 1rem;
}
.lang-btn {
  background: none; border: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: var(--muted); cursor: none;
  padding: 4px 6px; transition: color 0.2s;
  text-transform: uppercase;
}
.lang-btn:hover, .lang-btn.active { color: var(--gold); }
.lang-sep { color: var(--border); font-size: 0.7rem; }

/* CTA */
.nav-cta {
  margin-left: 1rem; padding: 0.6rem 1.6rem;
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); font-family: 'Syne', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s; cursor: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: none; padding: 6px;
  background: none; border: none;
  z-index: 1100;
}
.hamburger span {
  display: block; width: 26px; height: 1.5px;
  background: var(--text); transition: all 0.35s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(5,5,5,0.98);
  z-index: 1050; padding: 100px 2rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-nav-section { margin-bottom: 2rem; }
.mobile-nav-title {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.mobile-nav-link {
  display: block; padding: 0.7rem 0;
  color: var(--muted); text-decoration: none;
  font-size: 0.88rem; border-bottom: 1px solid #161616;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--gold); }

.mobile-lang {
  display: flex; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg,rgba(8,8,8,0.93) 0%,rgba(8,8,8,0.6) 55%,rgba(8,8,8,0.25) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 4rem; max-width: 960px;
  margin-top: 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.hero-badge::before { content:''; width:40px; height:1px; background:var(--gold); }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 300; line-height: 1.06;
  color: var(--white); opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-desc {
  font-size: 1rem; font-weight: 300;
  color: rgba(240,237,230,0.62); line-height: 1.85;
  max-width: 520px; opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
  margin-bottom: 3rem;
}
.hero-actions {
  display: flex; gap: 1.2rem; align-items: center;
  opacity: 0; animation: fadeUp 0.9s 0.9s forwards;
}
.hero-stats {
  position: absolute; bottom: 3rem; right: 4rem;
  display: flex; gap: 3rem; z-index: 2;
  opacity: 0; animation: fadeUp 1s 1.1s forwards;
}
.stat-item { text-align: right; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 500; color: var(--gold); line-height: 1;
}
.stat-label {
  font-family: 'DM Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.2em; color: var(--muted);
  text-transform: uppercase; margin-top: 4px;
}
.hero-scroll {
  position: absolute; bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 1s 1.2s forwards; z-index: 2;
}
.hero-scroll span {
  font-family: 'DM Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.25em; color: var(--muted); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; } 50% { opacity: 1; }
}

/* PAGE HERO (for inner pages) */
.page-hero {
  height: 60vh; min-height: 420px;
  position: relative; display: flex; align-items: flex-end;
  padding: 0 4rem 4rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.5);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.3) 60%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.page-breadcrumb a { color: var(--gold); text-decoration: none; }
.page-breadcrumb span { color: var(--muted); }
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 300; color: var(--white); line-height: 1.08;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-sub {
  margin-top: 1rem; font-size: 1rem; color: rgba(240,237,230,0.6);
  max-width: 580px; line-height: 1.8; font-weight: 300;
}

/* ============================================
   SHARED ELEMENTS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.gold-line { width: 60px; height: 1px; background: var(--gold); margin: 1.5rem 0; }

.section-label {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300; line-height: 1.1; color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold-light); }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 1rem 2.4rem; background: var(--gold);
  color: var(--bg); font-family: 'Syne', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s; cursor: none;
  border: none;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 1rem 2.4rem; background: transparent;
  color: var(--gold); font-family: 'Syne', sans-serif;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s; cursor: none;
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--bg); }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-family: 'Syne', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none;
  transition: color 0.3s; cursor: none;
}
.btn-text::after { content: '→'; transition: transform 0.3s; }
.btn-text:hover { color: var(--gold); }
.btn-text:hover::after { transform: translateX(5px); }

/* MARQUEE */
.marquee-wrap {
  padding: 1.4rem 0; background: var(--gold);
  overflow: hidden; display: flex;
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 35s linear infinite; white-space: nowrap;
}
.marquee-item {
  padding: 0 2rem;
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bg); display: flex; align-items: center; gap: 1.5rem;
}
.marquee-item::after { content: '✦'; font-size: 0.45rem; }
@keyframes marquee {
  from { transform: translateX(0); } to { transform: translateX(-50%); }
}

/* IMAGERY STRIP */
.imagery-strip {
  display: grid; grid-template-columns: repeat(5,1fr);
  height: 300px; overflow: hidden;
}
.imagery-strip-item { overflow: hidden; position: relative; }
.imagery-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(50%);
  transition: transform 0.6s ease, filter 0.4s;
  transform: scale(1.05);
}
.imagery-strip-item:hover img { transform: scale(1.12); filter: grayscale(0%); }
.imagery-strip-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(8,8,8,0.35); transition: opacity 0.3s;
}
.imagery-strip-item:hover::after { opacity: 0; }

/* REVEAL */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* CARDS */
.card-grid {
  display: grid; gap: 1px; background: var(--border);
}
.card-grid-2 { grid-template-columns: repeat(2,1fr); }
.card-grid-3 { grid-template-columns: repeat(3,1fr); }
.card-grid-4 { grid-template-columns: repeat(4,1fr); }

.service-card {
  background: var(--surface); padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background 0.3s; cursor: none;
}
.service-card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0);
  transition: transform 0.3s; transform-origin: left;
}
.service-card:hover { background: var(--surface2); }
.service-card:hover::before { transform: scaleX(1); }
.service-card img {
  width: 100%; height: 160px; object-fit: cover;
  margin-bottom: 1.5rem; filter: grayscale(40%);
  transition: filter 0.3s;
}
.service-card:hover img { filter: grayscale(0%); }
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.7rem; line-height: 1.2;
}
.card-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.7; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1.2rem;
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  transition: gap 0.3s; cursor: none;
}
.card-link:hover { gap: 12px; }

/* FEATURE LIST */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 0.9rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.85rem; color: rgba(240,237,230,0.72);
  transition: color 0.2s;
}
.feature-list li:hover { color: var(--text); }
.feature-list li::before {
  content: '→'; color: var(--gold); font-size: 0.75rem;
  flex-shrink: 0; margin-top: 1px;
}

/* HIGHLIGHT BOX */
.highlight-box {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.22);
  padding: 2rem; margin-top: 2rem;
}
.highlight-box p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem; font-weight: 400;
  font-style: italic; color: rgba(240,237,230,0.8); line-height: 1.65;
}

/* STAT STRIP */
.stat-strip {
  display: grid; gap: 1px; background: var(--border);
}
.stat-strip-item {
  background: var(--surface); padding: 2.5rem 2rem; text-align: center;
}
.big-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 500; color: var(--gold); line-height: 1;
}
.big-label {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px;
}

/* PROCESS STEPS */
.process-steps { display: grid; gap: 1px; background: var(--border); }
.process-step {
  background: var(--surface); padding: 2.5rem 2rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: rgba(201,168,76,0.25);
  line-height: 1; flex-shrink: 0; width: 60px;
}
.step-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 500; color: var(--white);
  margin-bottom: 0.6rem;
}
.step-content p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* TWO COL SECTION */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  max-width: 1400px; margin: 0 auto;
  padding: 7rem 4rem;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img {
  width: 100%; height: 480px; object-fit: cover;
  filter: grayscale(20%);
}

/* INNER PAGE CONTENT */
.content-section { padding: 6rem 4rem; max-width: 1400px; margin: 0 auto; }
.content-section.dark { background: var(--surface); max-width: 100%; padding: 6rem 4rem; }
.content-section.dark .inner { max-width: 1400px; margin: 0 auto; }

/* SOLUTION DETAIL CARD */
.solution-detail-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border); margin-top: 3rem;
}
.solution-detail-card {
  background: var(--surface); padding: 2.2rem 1.8rem;
  transition: background 0.3s;
}
.solution-detail-card:hover { background: var(--surface2); }
.solution-detail-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.8rem;
}
.solution-detail-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.7; }

/* OFFICES */
.offices-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
}
.office-card { background: var(--bg); padding: 2rem; }
.office-city {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 500; color: var(--white);
}
.office-country {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.2em; color: var(--gold);
  text-transform: uppercase; margin: 0.4rem 0 0.8rem;
}
.office-addr { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: 'DM Mono', monospace; font-size: 0.56rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text); font-family: 'Syne', sans-serif;
  font-size: 0.85rem; padding: 0.9rem 1.1rem;
  transition: border-color 0.3s; outline: none;
  appearance: none; cursor: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-select option { background: var(--surface); }

/* FOOTER */
footer {
  background: #050505; border-top: 1px solid var(--border);
  padding: 5rem 4rem 2rem;
}
.footer-main {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 4rem;
}
.footer-brand p {
  font-size: 0.8rem; color: var(--muted); line-height: 1.8;
  margin: 1.2rem 0; max-width: 260px;
}
.footer-col h4 {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a {
  font-size: 0.78rem; color: var(--muted);
  text-decoration: none; transition: color 0.2s; cursor: none;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.12em; color: var(--muted);
}
.footer-bottom span { color: var(--gold); }
.social-links { display: flex; gap: 0.8rem; }
.social-link {
  width: 34px; height: 34px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  font-size: 0.7rem; transition: all 0.3s; cursor: none;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .card-grid-4 { grid-template-columns: repeat(2,1fr); }
  .offices-grid { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 1024px) {
  .nav-center, .lang-switcher, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 2rem; }
  .two-col img { height: 320px; }
  .imagery-strip { grid-template-columns: repeat(3,1fr); }
  .solution-detail-grid { grid-template-columns: repeat(2,1fr); }
  nav { padding: 0 1.8rem; }
}
@media (max-width: 768px) {
  .hero-content { padding: 0 1.5rem; }
  .hero-stats { display: none; }
  .imagery-strip { grid-template-columns: repeat(2,1fr); height: auto; }
  .imagery-strip-item { height: 160px; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .solution-detail-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .page-hero { padding: 0 1.5rem 2.5rem; }
  .content-section { padding: 4rem 1.5rem; }
  .stat-strip { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: 1fr; }
}

/* =========================================================
   FULL PRO FIX — MENU ALIGNMENT + MOBILE NAV + LANG DROPDOWN
   ========================================================= */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
nav#navbar {
  width: 100vw !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
.logo-sub { white-space: nowrap; }

/* Desktop mega menu: open from the page/nav left, never from the reverse side */
@media (min-width: 1025px) {
  .nav-item { position: static !important; }
  .mega-menu,
  .mega-menu[style] {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    transform: translateY(10px) !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    align-items: start !important;
    overflow: visible !important;
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important;
    padding: 0 2.5rem !important;
  }
  .nav-item:hover .mega-menu,
  .nav-item:focus-within .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
  }
  .mega-col {
    min-width: 0 !important;
    width: auto !important;
    padding: 1.5rem 1.25rem !important;
  }
  .mega-col-title,
  .mega-item { white-space: normal !important; }
}

/* Language dropdown */
.lang-dropdown-pro { position: relative; display: inline-flex; align-items: center; }
.lang-current-pro {
  background: transparent; border: 0; color: var(--gold);
  font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.15em;
  padding: 0.55rem 0.7rem; cursor: pointer; text-transform: uppercase;
}
.lang-list-pro {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: #101010; border: 1px solid var(--border); padding: 0.55rem; z-index: 3000;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease;
}
.lang-dropdown-pro:hover .lang-list-pro,
.lang-dropdown-pro:focus-within .lang-list-pro,
.lang-dropdown-pro.open .lang-list-pro { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-list-pro .lang-btn { display: flex; width: 100%; justify-content: space-between; padding: 0.5rem 0.6rem; text-align: left; }
.nav-mini-btn {
  padding: 0.58rem 0.9rem !important; min-width: auto !important; margin-left: 0 !important;
  font-size: 0.62rem !important;
}
.nav-actions-pro { display:flex; align-items:center; gap:0.55rem; margin-left:auto; }

/* Mobile: force visible hamburger and full menu */
@media (max-width: 1024px) {
  nav#navbar {
    height: 72px !important;
    padding: 0 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .nav-center, .nav-actions-pro, .lang-switcher, .nav-cta { display: none !important; }
  .hamburger, button#hamburger {
    display: flex !important;
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    width: 44px !important;
    height: 38px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: rgba(0,0,0,.55) !important;
    border: 1px solid rgba(214,169,77,.65) !important;
    z-index: 100000 !important;
    cursor: pointer !important;
    padding: 0 !important;
  }
  .hamburger span, button#hamburger span {
    width: 22px !important; height: 2px !important; background: var(--gold) !important; display: block !important;
  }
  .mobile-menu, div#mobileMenu {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(5,5,5,.985) !important;
    z-index: 99999 !important;
    padding: 88px 1.3rem 2rem !important;
    overflow-y: auto !important;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    transition: transform .32s ease, visibility .32s ease !important;
  }
  .mobile-menu.open, div#mobileMenu.open {
    transform: translateX(0) !important;
    visibility: visible !important;
  }
  .mobile-nav-title { font-size: .68rem !important; }
  .mobile-nav-link { font-size: .9rem !important; padding: .72rem 0 !important; }
  .mobile-lang { flex-wrap: wrap !important; }
}

@media (max-width: 420px) {
  .logo-main { font-size: 1.45rem !important; }
  .logo-sub { font-size: .5rem !important; letter-spacing: .25em !important; }
  nav#navbar { padding-left: .9rem !important; }
}
