/* ========================================================================
   WIRECO WIREFRAME SYSTEM — Base Stylesheet
   Low-fidelity, grayscale wireframes for client review.
   All templates link to this single CSS file.
   ======================================================================== */

/* RESET & BASE
   ======================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* TYPOGRAPHY
   ======================================================================== */
.font-heading, h1, h2, h3, h4 { font-family: 'Inter', sans-serif; }
.font-body { font-family: 'Montserrat', sans-serif; }
.label-caps {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.label-caps--sm { font-size: 11px; letter-spacing: 1.5px; }

/* LAYOUT
   ======================================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section--sm { padding: 56px 0; }
.section--lg { padding: 100px 0; }
.section--bg-white { background: #fff; }
.section--bg-light { background: #F5F5F5; }
.section--bg-medium { background: #E8E8E8; }
.section--bg-dark { background: #333; color: #D0D0D0; }
.section--bg-darker { background: #2A2A2A; color: #D0D0D0; }

/* GRID UTILITIES
   ======================================================================== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2x2 { grid-template-columns: repeat(2, 1fr); }
.flex-row { display: flex; align-items: center; gap: 16px; }
.flex-between { display: flex; align-items: baseline; justify-content: space-between; }

/* PLACEHOLDER ELEMENTS
   ======================================================================== */
.placeholder-img {
  background: #D0D0D0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  color: #888;
  text-align: center;
  padding: 16px;
  line-height: 1.4;
}
.placeholder-icon {
  width: 48px;
  height: 48px;
  background: #C0C0C0;
  border-radius: 50%;
  flex-shrink: 0;
}
.placeholder-icon--sm { width: 40px; height: 40px; }
.placeholder-logo {
  background: #C0C0C0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #777;
  font-family: 'Montserrat', sans-serif;
}

/* BUTTONS
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.btn--filled { background: #555; color: #fff; border-color: #555; }
.btn--outlined { background: transparent; color: #333; border-color: #555; }
.btn--ghost-light { background: transparent; color: #E0E0E0; border-color: #E0E0E0; }
.btn--filled-light { background: #E0E0E0; color: #333; border-color: #E0E0E0; }

.text-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.text-link--arrow::after { content: " \2192"; }
.text-link--back::before { content: "\2190 "; }
.text-link--underline { text-decoration: underline; text-underline-offset: 3px; }

/* CARDS — Shared
   ======================================================================== */
.card {
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card__img { width: 100%; }
.card__img--landscape { aspect-ratio: 16 / 9; }
.card__img--square { aspect-ratio: 1 / 1; }
.card__img--3x2 { aspect-ratio: 3 / 2; }
.card__body { padding: 24px; }

.card--dark {
  border-color: transparent;
  background: transparent;
}
.card--dark .card__body { color: #D0D0D0; }
.card--dark h3 { color: #fff; }

/* ========================================================================
   GLOBAL HEADER
   ======================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #E0E0E0;
}

/* Utility Bar */
.utility-bar {
  background: #E5E5E5;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.utility-bar__logo {
  width: 160px; height: 32px;
  background: #B0B0B0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #666; font-family: 'Montserrat', sans-serif;
}
.utility-bar__right {
  display: flex; align-items: center; gap: 20px;
  font-size: 13px; font-family: 'Montserrat', sans-serif; color: #555;
}
.utility-bar__right a { color: #555; }

/* Primary Nav */
.primary-nav {
  height: 60px;
  display: flex; align-items: center;
  padding: 0 40px;
}
.primary-nav__list { display: flex; gap: 36px; }
.primary-nav__item {
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 500;
  color: #333; cursor: pointer;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.primary-nav__item::after { content: " \25BE"; font-size: 10px; color: #999; }
.primary-nav__item--active { border-bottom-color: #333; }

/* Mega Menu — Solutions */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #E0E0E0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 99;
  padding: 32px 40px 40px;
}
.mega-menu--visible { display: block; }
.mega-menu__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.mega-menu__col-header {
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}
.mega-menu__group-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #999; margin: 16px 0 8px;
}
.mega-menu__group-label:first-child { margin-top: 0; }
.mega-menu__link {
  display: block;
  font-size: 14px; color: #555;
  padding: 4px 0;
  font-family: 'Montserrat', sans-serif;
}
.mega-menu__link:hover { color: #333; }

/* ========================================================================
   HERO — Full-bleed hero pattern (reused across templates)
   ======================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero--80vh { min-height: 80vh; }
.hero--70vh { min-height: 70vh; }
.hero--50vh { min-height: 50vh; }

.hero__bg {
  position: absolute; inset: 0;
  background: #B0B0B0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #888; font-family: 'Montserrat', sans-serif;
  text-align: center; padding: 24px;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,30,30,0.85) 0%, rgba(30,30,30,0.5) 55%, transparent 100%);
}
.hero__overlay--bottom {
  background: linear-gradient(to top, rgba(30,30,30,0.85) 0%, rgba(30,30,30,0.4) 40%, transparent 100%);
}
.hero__content {
  position: relative; z-index: 2;
  padding: 0 40px;
}
.hero__content--narrow { max-width: 640px; }
.hero__content--medium { max-width: 720px; }

.hero__badge {
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(240,240,240,0.6);
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
}
.hero__headline {
  font-family: 'Inter', sans-serif;
  font-size: 48px; font-weight: 700;
  line-height: 1.12;
  color: #F0F0F0;
  margin-bottom: 20px;
}
.hero__headline--lg { font-size: 48px; }
.hero__headline--md { font-size: 44px; }
.hero__subheadline {
  font-size: 18px; font-weight: 400;
  line-height: 1.6;
  color: #D0D0D0;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero__ctas { display: flex; align-items: center; gap: 20px; }
.hero__scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #ccc; font-size: 24px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================================================
   IMMERSIVE SEGMENT SECTION (Homepage Block 2, Vonin-inspired)
   ======================================================================== */
.immersive-segment {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.immersive-segment__bg {
  position: absolute; inset: 0;
  background: #AAAAAA;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #777; font-family: 'Montserrat', sans-serif;
  text-align: center; padding: 24px;
}
.immersive-segment:nth-child(odd) .immersive-segment__bg { background: #A8A8A8; }
.immersive-segment:nth-child(even) .immersive-segment__bg { background: #B8B8B8; }

.immersive-segment__overlay {
  position: absolute; inset: 0;
}
.immersive-segment:nth-child(odd) .immersive-segment__overlay {
  background: linear-gradient(90deg, rgba(25,25,25,0.85) 0%, rgba(25,25,25,0.4) 45%, transparent 100%);
}
.immersive-segment:nth-child(even) .immersive-segment__overlay {
  background: linear-gradient(to top, rgba(25,25,25,0.85) 0%, rgba(25,25,25,0.4) 50%, transparent 100%);
}

.immersive-segment__content {
  position: relative; z-index: 2;
  max-width: 480px;
  padding: 0 40px;
}
.immersive-segment__label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
}
.immersive-segment__heading {
  font-family: 'Inter', sans-serif;
  font-size: 40px; font-weight: 700;
  color: #F0F0F0; line-height: 1.15;
  margin-bottom: 16px;
}
.immersive-segment__desc {
  font-size: 16px; color: #D0D0D0;
  line-height: 1.6; margin-bottom: 28px;
}

/* ========================================================================
   BREADCRUMBS
   ======================================================================== */
.breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  color: #999;
}
.breadcrumbs a { color: #777; }
.breadcrumbs a:hover { color: #333; }
.breadcrumbs__separator { margin: 0 8px; color: #CCC; }
.breadcrumbs__current { color: #333; font-weight: 600; }
.breadcrumbs__label { color: #999; }

/* ========================================================================
   SECTION HEADERS (reusable)
   ======================================================================== */
.section-header { margin-bottom: 40px; }
.section-header--center { text-align: center; }
.section-header__heading {
  font-family: 'Inter', sans-serif;
  font-size: 28px; font-weight: 700;
  margin-bottom: 8px;
}
.section-header__heading--lg { font-size: 32px; }
.section-header__subtext {
  font-size: 16px; color: #666;
  max-width: 600px; line-height: 1.6;
}
.section-header--center .section-header__subtext { margin: 0 auto; }

/* ========================================================================
   TRUST INDICATORS STRIP
   ======================================================================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.trust-strip__item {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 0 16px;
}
.trust-strip__stat {
  font-family: 'Inter', sans-serif;
  font-size: 32px; font-weight: 700;
}
.trust-strip__desc {
  font-size: 14px; color: #666;
  max-width: 280px; line-height: 1.5;
}
.trust-strip__divider {
  border-right: 1px solid #DDD;
}

/* ========================================================================
   BRAND LOGOS BAR
   ======================================================================== */
.brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-logos__item {
  width: 140px; height: 56px;
  border-radius: 4px;
}

/* ========================================================================
   PRODUCT CARDS
   ======================================================================== */
.product-card__category {
  font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: #999; margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
}
.product-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 700;
  margin-bottom: 6px;
}
.product-card__desc {
  font-size: 14px; color: #666;
  line-height: 1.5; margin-bottom: 12px;
}

/* ========================================================================
   INDUSTRY CARDS (Segment Landing — groups in 2-col grid)
   ======================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.industry-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.industry-group__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #999;
  font-family: 'Montserrat', sans-serif;
  padding-bottom: 8px;
  border-bottom: 1px solid #E0E0E0;
}
.industry-card {
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.industry-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.industry-card__img { width: 100%; aspect-ratio: 16/9; }
.industry-card__body { padding: 24px; }
.industry-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px;
}
.industry-card__desc {
  font-size: 14px; color: #666;
  line-height: 1.5; margin-bottom: 12px;
}

/* ========================================================================
   VALUE PROPS (4-up grid)
   ======================================================================== */
.value-props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.value-prop { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.value-prop__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 700;
}
.value-prop__desc {
  font-size: 14px; color: #666; line-height: 1.5; max-width: 240px;
}

/* ========================================================================
   BRAND CARDS (with content)
   ======================================================================== */
.brand-card {
  width: 280px;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 20px;
  background: #fff;
}
.brand-card__logo { width: 100%; height: 80px; margin-bottom: 12px; border-radius: 4px; }
.brand-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 700; margin-bottom: 4px;
}
.brand-card__desc { font-size: 14px; color: #666; margin-bottom: 12px; line-height: 1.4; }

/* ========================================================================
   CHALLENGES GRID (Industry Page)
   ======================================================================== */
.challenge-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
}
.challenge-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.challenge-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 700;
}
.challenge-card__desc { font-size: 14px; color: #666; line-height: 1.5; }

/* SOLUTIONS (numbered) — Industry Page */
.solution-item {
  display: flex; gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #E8E8E8;
}
.solution-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.solution-item__number {
  font-family: 'Inter', sans-serif;
  font-size: 48px; font-weight: 700;
  color: #CCC; line-height: 1;
  flex-shrink: 0; width: 80px;
}
.solution-item__title {
  font-family: 'Inter', sans-serif;
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px;
}
.solution-item__desc { font-size: 16px; color: #555; line-height: 1.6; }

/* ========================================================================
   TWO-COLUMN CONTENT BLOCK
   ======================================================================== */
.two-col { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.two-col--reverse { grid-template-columns: 2fr 3fr; }
.two-col__text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 700;
  margin-bottom: 16px;
}
.two-col__text p {
  font-size: 16px; color: #555;
  line-height: 1.65; margin-bottom: 16px;
}
.two-col__image { width: 100%; border-radius: 4px; }

/* ========================================================================
   CTA BANNER
   ======================================================================== */
.cta-banner { text-align: center; }
.cta-banner__heading {
  font-family: 'Inter', sans-serif;
  font-size: 32px; font-weight: 700;
  margin-bottom: 12px;
}
.cta-banner__subtext {
  font-size: 16px; color: #666;
  max-width: 560px; margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-banner__buttons { display: flex; align-items: center; justify-content: center; gap: 16px; }

/* On dark background */
.section--bg-dark .cta-banner__heading { color: #fff; }
.section--bg-dark .cta-banner__subtext { color: #B0B0B0; }

/* ========================================================================
   GLOBAL FOOTER
   ======================================================================== */
.site-footer {
  background: #2A2A2A;
  color: #B0B0B0;
  padding: 64px 0 0;
}
.footer__logo {
  width: 160px; height: 32px;
  background: #555; margin-bottom: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #888;
}
.footer__columns {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; margin-bottom: 48px;
}
.footer__col-heading {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 700;
  color: #E0E0E0;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer__col-list { display: flex; flex-direction: column; gap: 10px; }
.footer__col-list a { font-size: 14px; color: #999; }
.footer__col-list a:hover { color: #ccc; }

.footer__bottom {
  border-top: 1px solid #444;
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #777;
}
.footer__legal-links { display: flex; gap: 20px; }
.footer__legal-links a { font-size: 12px; color: #777; }

/* ========================================================================
   HERO — Video-ready annotation
   ======================================================================== */
.hero__media-label {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.3);
  padding: 4px 10px;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
}

/* ========================================================================
   STATS BAND — Horizontal proof points (dark background)
   ======================================================================== */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-band__item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stats-band__item:last-child { border-right: none; }
.stats-band__number {
  font-family: 'Inter', sans-serif;
  font-size: 40px; font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stats-band__label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* ========================================================================
   VIDEO MODULE — Featured video with supporting text
   ======================================================================== */
.video-module {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 48px;
  align-items: center;
}
.video-module--reverse {
  grid-template-columns: 3fr 5fr;
}
.video-module__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #555;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 24px;
  position: relative;
}
.video-module__play-btn {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255,255,255,0.7);
}
.video-module__text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 28px; font-weight: 700;
  margin-bottom: 16px;
}
.video-module__text p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.section--bg-dark .video-module__text h3 { color: #fff; }
.section--bg-dark .video-module__text p { color: #B0B0B0; }
.section--bg-darker .video-module__text h3 { color: #fff; }
.section--bg-darker .video-module__text p { color: #B0B0B0; }

/* ========================================================================
   NARRATIVE BLOCK — Editorial two-column with emphasis heading
   ======================================================================== */
.narrative-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.narrative-block__text-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
}
.narrative-block__text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 32px; font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.narrative-block__text p {
  font-size: 16px; color: #555;
  line-height: 1.65;
  margin-bottom: 16px;
}
.narrative-block__image {
  width: 100%;
  min-height: 360px;
  border-radius: 4px;
}

/* ========================================================================
   WIREFRAME ANNOTATIONS (dev-only labels showing block names)
   ======================================================================== */
.wf-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: #AAA; margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
  padding-top: 8px;
  border-top: 1px dashed #CCC;
}
.section--bg-dark .wf-label { color: #666; border-color: #555; }

/* ========================================================================
   BACK-TO LINK
   ======================================================================== */
.back-link { padding: 24px 0; }
.back-link a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; color: #555;
}

/* ========================================================================
   HAMBURGER BUTTON (hidden on desktop, shown on tablet/mobile)
   ======================================================================== */
.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #555;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ========================================================================
   MOBILE NAV DRAWER (hidden on desktop)
   ======================================================================== */
.mobile-nav {
  display: none; /* hidden on desktop */
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transition: right 0.3s ease;
  flex-direction: column;
  overflow: hidden;
}
.mobile-nav--open {
  right: 0;
}
.mobile-nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.mobile-nav__backdrop--visible {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer header */
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E0E0E0;
  flex-shrink: 0;
}
.mobile-nav__logo {
  width: 120px;
  height: 28px;
  background: #B0B0B0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #666;
  font-family: 'Montserrat', sans-serif;
}
.mobile-nav__close {
  background: none;
  border: none;
  font-size: 28px;
  color: #555;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

/* Drawer body (scrollable) */
.mobile-nav__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}

/* Accordion sections */
.mobile-nav__section {
  border-bottom: 1px solid #F0F0F0;
}
.mobile-nav__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  text-align: left;
}
.mobile-nav__chevron {
  font-size: 12px;
  color: #999;
  transition: transform 0.2s;
}
.mobile-nav__section--open .mobile-nav__chevron {
  transform: rotate(180deg);
}

/* Accordion panel (collapsed by default) */
.mobile-nav__panel {
  display: none;
  padding: 0 20px 16px;
}
.mobile-nav__section--open .mobile-nav__panel {
  display: block;
}
.mobile-nav__panel a {
  display: block;
  font-size: 14px;
  color: #555;
  padding: 8px 0 8px 12px;
  font-family: 'Montserrat', sans-serif;
  border-left: 2px solid #E0E0E0;
}
.mobile-nav__panel a:hover {
  color: #333;
}

/* Section-level links within accordion (bold, like category headers) */
.mobile-nav__section-link {
  font-weight: 600 !important;
  color: #333 !important;
  border-left-color: #999 !important;
  margin-top: 8px;
  font-size: 14px;
}

/* Sub-group (indented links under a section link) */
.mobile-nav__sub {
  padding-left: 12px;
}
.mobile-nav__sub a {
  padding-left: 12px;
  font-size: 13px;
  border-left-color: #E8E8E8;
}

/* Utility links at bottom of drawer */
.mobile-nav__utility {
  padding: 20px;
  border-top: 1px solid #E0E0E0;
  margin-top: 8px;
}
.mobile-nav__utility-link {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  padding: 12px 0;
}
.mobile-nav__lang {
  font-size: 13px;
  color: #777;
  padding: 8px 0;
  font-family: 'Montserrat', sans-serif;
}

/* ========================================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ======================================================================== */
@media (max-width: 1024px) {
  /* Show hamburger, hide desktop nav */
  .hamburger { display: flex; }
  .primary-nav { display: none; }
  .mobile-nav { display: flex; }
  .mobile-nav__backdrop { display: block; }
  .utility-bar__contact-link { display: none; }
  .container { padding: 0 24px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .value-props { grid-template-columns: repeat(2, 1fr); }
  .hero__headline { font-size: 36px; }
  .hero__subheadline { font-size: 16px; }
  .hero--80vh { min-height: 60vh; }
  .hero--70vh { min-height: 50vh; }
  .hero--50vh { min-height: 40vh; }
  .immersive-segment { min-height: 60vh; }
  .immersive-segment__heading { font-size: 32px; }
  .two-col { grid-template-columns: 55fr 45fr; gap: 32px; }
  .mega-menu__grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-band__item { border-right: none; padding: 16px 0; }
  .stats-band__number { font-size: 32px; }
  .video-module { grid-template-columns: 1fr; gap: 32px; }
  .video-module--reverse { grid-template-columns: 1fr; }
  .narrative-block { grid-template-columns: 1fr; gap: 32px; }
  .narrative-block__image { min-height: 280px; }
  .footer__columns { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================================
   RESPONSIVE — MOBILE (max-width: 640px)
   ======================================================================== */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .grid--4, .grid--3, .grid--2, .grid--2x2 { grid-template-columns: 1fr; }
  .value-props { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; gap: 24px; }
  .hero__headline { font-size: 28px; }
  .hero--80vh { min-height: 60vh; }
  .hero--50vh { min-height: 35vh; }
  .hero__content { padding: 0 20px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__ctas .btn { width: 100%; }
  .immersive-segment { min-height: 50vh; }
  .immersive-segment__heading { font-size: 26px; }
  .immersive-segment__content { padding: 0 24px; max-width: 100%; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .two-col--reverse { grid-template-columns: 1fr; }
  .cta-banner__heading { font-size: 26px; }
  .cta-banner__buttons { flex-direction: column; gap: 12px; }
  .cta-banner__buttons .btn { width: 100%; }
  .industry-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; gap: 16px; }
  .stats-band__item { padding: 12px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stats-band__item:last-child { border-bottom: none; }
  .stats-band__number { font-size: 28px; }
  .narrative-block { gap: 24px; }
  .narrative-block__text h3 { font-size: 26px; }
  .narrative-block__image { min-height: 240px; }
  .brand-logos { gap: 16px; }
  .brand-logos__item { width: 100px; height: 40px; }
  .solution-item { flex-direction: column; gap: 8px; }
  .solution-item__number { font-size: 36px; }
  .footer__columns { grid-template-columns: 1fr; }
  .utility-bar { padding: 0 20px; }
  .mobile-nav { max-width: 100vw; width: 100vw; }
}
