/* =========================================================
   Meta Consulting — Marine & Offshore Solutions
   Faithful reproduction of the provided mockup.
   Author: built for WordPress/Elementor migration.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #08203c;
  --navy-800: #0b2849;
  --navy-700: #103257;
  --navy-600: #16456f;
  --blue-accent: #2f80c2;
  --blue-accent-dark: #2670ad;
  --blue-link: #5aa6e0;
  --bg-light: #ffffff;
  --bg-gray: #eef3f8;
  --card-light: #ffffff;
  --text-dark: #14263d;
  --text-body: #41566f;
  --text-muted: #7c8aa3;
  --text-on-dark: #d7e2ef;
  --text-on-dark-muted: #9fb3ca;
  --border-soft: #dde6f0;
  --maxw: 1140px;
  --radius: 6px;
  --shadow-card: 0 10px 30px rgba(8, 32, 60, 0.10);
  --shadow-soft: 0 4px 18px rgba(8, 32, 60, 0.08);
  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}
a { color: var(--blue-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-accent-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 64px 0; }

/* dark themed sections */
.bg-navy { background: var(--navy-800); color: var(--text-on-dark); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-gray { background: var(--bg-gray); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2px;
  padding: 13px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
}
.btn-primary {
  background: var(--blue-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-accent-dark); color:#fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--navy-800); }

/* link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-link);
}
.link-arrow:hover { color: #fff; gap: 10px; }
.bg-light .link-arrow, .bg-gray .link-arrow { color: var(--blue-accent); }
.bg-light .link-arrow:hover, .bg-gray .link-arrow:hover { color: var(--blue-accent-dark); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-sticky {
  position: fixed;
  background: var(--navy-900);
  box-shadow: 0 2px 18px rgba(0,0,0,.25);
  animation: slideDown .35s ease;
}
@keyframes slideDown { from { transform: translateY(-100%);} to { transform: translateY(0);} }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand { display: flex; align-items: center; gap: 11px; }
.brand__logo { height: 54px; width: auto; display: block; }
.site-footer .brand__logo { height: 48px; }
/* color logo on a white chip (header over dark background) */
.brand__logo--chip {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 8px 22px rgba(8, 32, 60, 0.40);
}
.brand__mark { width: 46px; height: auto; flex: none; display: block; }
.brand__text { line-height: 1.05; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  letter-spacing: .3px;
}
.brand__tag {
  display: block;
  font-size: 8.5px;
  letter-spacing: 2.2px;
  color: var(--text-on-dark-muted);
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Nav */
.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: #e7eef7;
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #fff; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue-link);
}

/* Right-side header group (nav + lang + toggle) */
.header-right { display: flex; align-items: center; gap: 22px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-current {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  width: 40px; height: 30px;
  border-radius: 5px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background .2s ease;
}
.lang-current:hover { background: rgba(255,255,255,.20); }
.lang-current .fi { width: 22px; height: 15px; border-radius: 2px; }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(8,32,60,.22);
  padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li { width: 100%; }
.lang-menu button {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer;
  padding: 9px 12px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  text-align: left;
}
.lang-menu button:hover { background: var(--bg-gray); }
.lang-menu button.is-active { background: var(--bg-gray); font-weight: 600; }
.lang-menu .fi { width: 22px; height: 15px; border-radius: 2px; flex: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 34px; height: 34px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 4px;
  width: 26px; height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span { top: 16px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(8,29,54,.92) 0%, rgba(11,40,73,.78) 45%, rgba(13,46,84,.45) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero__content { max-width: 620px; }
.hero h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero p {
  font-size: 18px;
  color: var(--text-on-dark);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.hero__cta2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
}
.hero__cta2:hover { color: var(--blue-link); border-color: var(--blue-link); }
.hero__trust {
  margin-top: 26px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .4px;
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero__trust::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--text-on-dark-muted);
  display: inline-block;
}

/* CRO microcopy under the contact form */
.form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}
.form-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--blue-accent); }

/* ---------- Page banner (inner hero) ---------- */
.page-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,29,54,.94) 0%, rgba(11,40,73,.80) 48%, rgba(13,46,84,.42) 100%);
}
.page-banner .container { position: relative; z-index: 2; padding-top: var(--header-h); }
.page-banner h1 { color: #fff; font-size: 44px; margin-bottom: 12px; }
.page-banner .subtitle {
  font-size: 18px;
  color: var(--text-on-dark);
  font-family: var(--font-head);
  font-weight: 400;
}
.page-banner .lead {
  margin-top: 18px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
  color: var(--text-on-dark);
  font-size: 16px;
}

/* ---------- Section headings ---------- */
.section-head { margin-bottom: 14px; }
.section-head--center { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
.section-head p { color: inherit; opacity: .85; max-width: 620px; }
.section-head--center p { margin: 0 auto; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--blue-link);
  margin-bottom: 10px;
  display: block;
}

/* ---------- About split (home) ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.about-split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.about-split h2 { font-size: 30px; margin-bottom: 18px; }
.about-split p { color: var(--text-on-dark); margin-bottom: 20px; }

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); }
.card__icon {
  width: 44px; height: 44px;
  color: var(--blue-link);
  margin-bottom: 18px;
}
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-on-dark-muted); line-height: 1.6; }

/* light card variant (services / partners pages) */
.card-grid.card-grid--light .card {
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}
.card-grid--light .card:hover { box-shadow: var(--shadow-card); }
.card-grid--light .card h3 { color: var(--text-dark); }
.card-grid--light .card p { color: var(--text-body); }
.card-grid--light .card__icon { color: var(--blue-accent); }

/* services list (services page rows with icon left) */
.service-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.service-row { display: flex; gap: 20px; }
.service-row__icon {
  flex: none; width: 46px; height: 46px;
  color: var(--blue-accent);
}
.service-row__icon svg { width: 100%; height: 100%; }
.service-row h3 { font-size: 19px; margin-bottom: 8px; }
.service-row p { color: var(--text-body); font-size: 15px; }

/* ---------- Industries ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 26px 64px;
}
.industry {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
}
.industry__icon { width: 26px; height: 26px; color: var(--blue-link); flex: none; }
.industry__icon svg { width: 100%; height: 100%; }

/* ---------- Mission / Vision (about) ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background:#fff;
}
.mv {
  padding: 40px 38px;
  text-align: center;
}
.mv:first-child { border-right: 1px solid var(--border-soft); }
.mv__icon { width: 40px; height: 40px; color: var(--blue-accent); margin: 0 auto 16px; }
.mv__icon svg { width:100%; height:100%; }
.mv h3 { font-size: 20px; margin-bottom: 12px; }
.mv p { color: var(--text-body); font-size: 15px; }

/* ---------- Key strengths (about) ---------- */
.strengths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.strength__icon { width: 46px; height: 46px; color: var(--blue-accent); margin: 0 auto 16px; }
.strength__icon svg { width:100%; height:100%; }
.strength h3 { font-size: 17px; margin-bottom: 8px; }
.strength p { font-size: 14px; color: var(--text-body); }

/* ---------- Full-width image band ---------- */
.image-band {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.image-band::before {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(8,29,54,.30), rgba(8,29,54,.30));
}

/* ---------- Partners ---------- */
.partners-intro { max-width: 720px; margin: 0 auto 50px; text-align:center; }
.partners-intro p { color: var(--text-on-dark); }

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.partner-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--blue-accent);
}
.partner-card__logo {
  display:flex; align-items:center; gap: 12px;
  margin-bottom: 6px;
}
.partner-card__logo .logo-mark { width: 34px; height: 34px; color: var(--blue-accent); }
.partner-card__logo .logo-mark svg { width:100%; height:100%; }
.partner-card__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--navy-800);
}
.partner-card__sub {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 500;
}
.partner-card p { color: var(--text-body); font-size: 15px; margin-bottom: 18px; }
.partner-card .focus-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.partner-card ul.focus { margin-bottom: 18px; }
.partner-card ul.focus li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  margin-bottom: 7px;
  color: var(--text-body);
}
.partner-card ul.focus li::before {
  content:"";
  position:absolute; left:0; top:9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-accent);
}
.partner-card .website { font-weight: 600; font-size: 14px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
}
.contact-info h3, .contact-form h3 {
  font-size: 22px; margin-bottom: 24px;
}
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item__icon {
  flex: none; width: 40px; height: 40px;
  background: var(--bg-gray);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color: var(--blue-accent);
}
.contact-item__icon svg { width: 19px; height: 19px; }
.contact-item h4 { font-size: 15px; margin-bottom: 2px; }
.contact-item p { font-size: 15px; color: var(--text-body); }

.contact-form .form-field { margin-bottom: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg-gray);
  color: var(--text-dark);
  transition: border-color .2s ease, background .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  background: #fff;
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding: 26px 0;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-footer .brand__name { font-size: 17px; }
.site-footer .copyright { font-size: 13px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
}
.social-link:hover { background: var(--blue-accent); border-color: var(--blue-accent); color:#fff; }
.social-link svg { width: 17px; height: 17px; }

/* ---------- Team (E-E-A-T) ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.team-card__avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--bg-gray);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-accent);
  overflow: hidden;
}
.team-card__avatar svg { width: 52px; height: 52px; }
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 18px; margin-bottom: 3px; }
.team-card__role {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3px;
  color: var(--blue-accent);
  margin-bottom: 12px;
}
.team-card__bio { font-size: 14.5px; color: var(--text-body); margin-bottom: 16px; line-height: 1.6; }
.team-card .social-link { margin: 0 auto; border-color: var(--border-soft); color: var(--blue-accent); }
.team-card .social-link:hover { background: var(--blue-accent); border-color: var(--blue-accent); color: #fff; }
@media (max-width: 768px) {
  .team { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ---------- FAQ accordion (AI-SEO) ---------- */
.faq-grid { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__item:first-child { border-top: 1px solid var(--border-soft); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  transition: color .2s ease;
}
.faq__q:hover { color: var(--blue-accent); }
.faq__q::before {
  content: "Q";
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--blue-accent);
  flex: none;
}
.faq__qtext { flex: 1; }
.faq__chev {
  width: 18px; height: 18px;
  flex: none;
  color: var(--blue-accent);
  transition: transform .35s ease;
}
.faq__item.is-open .faq__chev { transform: rotate(180deg); }

/* collapsible region (grid-rows animation, content-height aware) */
.faq__a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq__item.is-open .faq__a-wrap { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; min-height: 0; }
.faq__a {
  margin: 0;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 4px 24px 28px;
}

/* ---------- Legal / Privacy page ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal__updated { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 21px; margin: 30px 0 8px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--text-body); margin-bottom: 8px; line-height: 1.7; }

/* ---------- Map band (contact) ---------- */
.map-band { width: 100%; line-height: 0; }
.map-band iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
@media (max-width: 768px) {
  .map-band iframe { height: 300px; }
}

/* ---------- Contact CTA band ---------- */
.cta-band {
  position: relative;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 76px 0;
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.cta-band p {
  color: var(--text-on-dark);
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 17px;
}

/* ---------- Back-to-top button (mobile) ---------- */
.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--blue-accent);
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(8,32,60,.35);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease;
  z-index: 45;
}
.to-top:hover { background: var(--blue-accent-dark); }
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 992px) {
  .hero h1 { font-size: 38px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .industries { grid-template-columns: repeat(2, auto); }
  .about-split { grid-template-columns: 1fr; gap: 34px; }
  .about-split__media { order: -1; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  /* Mobile nav */
  .nav-toggle { display: block; z-index: 60; }
  .header-right { gap: 14px; }
  .brand__logo { height: 46px; }
  .brand__logo--chip { width: 54px; height: 54px; padding: 7px; }
  .site-footer .brand__logo { height: 44px; }
  .to-top { display: flex; }
  .cta-band h2 { font-size: 26px; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--navy-900);
    padding: calc(var(--header-h) + 10px) 30px 30px;
    transform: translateX(100%);
    transition: transform .32s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,.3);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; padding: 13px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
  .main-nav a.active::after { display: none; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(4,14,28,.55);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease;
    z-index: 40;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .hero { min-height: 560px; align-items: flex-start; }
  .hero .container { padding-top: calc(var(--header-h) + 56px); padding-bottom: 40px; }
  .hero h1 { font-size: 31px; }
  .hero p { font-size: 16px; }
  .page-banner h1 { font-size: 34px; }
  .section-head h2, .about-split h2 { font-size: 26px; }

  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .service-rows { grid-template-columns: 1fr; gap: 30px; }
  .strengths { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: 1fr; gap: 18px; }
  .mv-grid { grid-template-columns: 1fr; }
  .mv:first-child { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .partner-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .site-footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 27px; }
  .strengths { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
}
