/* ============================================================
   MAYSHU TECHNOLOGIES — CORE STYLESHEET
   Design tokens are applied at runtime from data/config.json
   via applyTheme() in script.js — never hardcode brand colors here.
   ============================================================ */

:root {
  --color-primary: #0A1F3D;
  --color-primary-dark: #050D1C;
  --color-secondary: #F5F8FC;
  --color-accent-start: #1E5AA8;
  --color-accent-end: #2FD0FF;
  --color-accent: #1E6FD9;
  --color-neutral-light: #F5F8FC;
  --color-neutral-card: #FFFFFF;
  --color-text-dark: #0F172A;
  --color-text-muted: #51607A;
  --color-border: #E3E9F2;

  --font-heading: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --section-pad: 96px;
  --section-pad-mobile: 56px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 24px rgba(10, 31, 61, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(10, 31, 61, 0.12);
  --header-height: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: #FFFFFF;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 4px;
}
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--color-text-dark); }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: clamp(21px, 2.6vw, 27px); }
p { color: var(--color-text-muted); font-size: 17px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end)); border-radius: 2px; display: inline-block; }
.breadcrumb-link { text-decoration: underline; text-underline-offset: 3px; opacity: 0.85; transition: opacity 0.2s ease; }
.breadcrumb-link:hover { opacity: 1; }
.breadcrumb-sep { opacity: 0.5; margin: 0 2px; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15.5px;
  font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
  color: #fff;
  box-shadow: 0 6px 20px rgba(30, 90, 168, 0.28);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(30, 90, 168, 0.38); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-accent); background: rgba(30, 111, 217, 0.05); }

.btn-ghost-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(10,31,61,0.08);
  height: 68px;
}
.site-header.on-dark:not(.scrolled) .logo-text,
.site-header.on-dark:not(.scrolled) .nav-links a,
.site-header.on-dark:not(.scrolled) .nav-phone {
  color: #fff;
}
.hamburger.on-dark:not(.scrolled) span { background: #fff; }
.site-header:not(.on-dark) .logo-text,
.site-header:not(.on-dark) .nav-links a,
.site-header:not(.on-dark) .nav-phone { color: var(--color-text-dark); }
.hamburger:not(.on-dark) span { background: var(--color-text-dark); }
.site-header.scrolled .logo-text,
.site-header.scrolled .nav-links a,
.site-header.scrolled .nav-phone { color: var(--color-text-dark); }
.hamburger.scrolled span { background: var(--color-text-dark); }

.nav-inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { height: 34px; width: auto; }
.logo-mark-white { display: none; }
.site-header.on-dark:not(.scrolled) .logo-mark-color { display: none; }
.site-header.on-dark:not(.scrolled) .logo-mark-white { display: block; }
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; transition: color 0.3s ease; }
.logo-text .light { font-weight: 400; opacity: 0.7; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 15px; transition: color 0.3s ease, opacity 0.2s ease; position: relative; }
.nav-links a:hover { opacity: 0.7; }

.nav-cta-group { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid currentColor; opacity: 0.9; transition: color 0.3s ease; white-space: nowrap; flex-shrink: 0; }
.nav-phone span { white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; }
.nav-book { padding: 10px 20px; font-size: 14.5px; }

.hamburger { display: none; position: fixed; top: 18px; right: 16px; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; z-index: 600; background: none; border: none; padding: 0; }
.hamburger span { width: 22px; height: 2px; background: var(--color-text-dark); border-radius: 2px; transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger.open span { background: #fff !important; }
.site-header.nav-open .logo-link { visibility: hidden; }

.mobile-nav-overlay {
  position: fixed; inset: 0; background: var(--color-primary-dark);
  z-index: 550; display: flex; flex-direction: column;
  padding: 88px 32px 28px; overflow-y: auto;
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.mobile-nav-overlay.open { transform: translateY(0); }
.mobile-nav-overlay a { color: #fff; font-family: var(--font-heading); font-size: 24px; font-weight: 600; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav-cta a { font-size: 15.5px; font-family: var(--font-body); font-weight: 600; border-bottom: none; backdrop-filter: none; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }
.mobile-nav-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

/* ---------- Hero / Module Grid signature ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-primary-dark);
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 78% 25%, rgba(47,208,255,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 15% 80%, rgba(30,90,168,0.22), transparent 60%),
    linear-gradient(160deg, #050D1C 0%, #0A1F3D 55%, #0B2648 100%);
  z-index: 0;
}
.module-grid-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.9; }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-content { max-width: 680px; padding: 60px 0 90px; }
.hero-content .eyebrow { color: #7FD6FF; }
.hero-content .eyebrow::before { background: linear-gradient(135deg, #7FD6FF, #2FD0FF); }
.hero-content h1 { color: #fff; margin-bottom: 22px; }
.hero-content .hero-sub { color: rgba(255,255,255,0.72); font-size: 19px; max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.6); font-size: 14.5px; font-family: var(--font-mono); }
.hero-trust svg { width: 16px; height: 16px; color: #2FD0FF; flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual .bento-panel { aspect-ratio: 1/0.95; box-shadow: 0 30px 70px rgba(0,0,0,0.4); }

.orbit-panel {
  position: relative; aspect-ratio: 1/1; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 30%; aspect-ratio: 1/1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.orbit-hub-core {
  width: 62%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, rgba(255,255,255,0.95), rgba(255,255,255,0.35) 45%, rgba(255,255,255,0.08) 75%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5), 0 0 30px rgba(255,255,255,0.55), 0 0 60px rgba(56,189,248,0.4);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.orbit-hub-icon { color: var(--color-primary-dark); position: relative; z-index: 2; }
.orbit-hub-logo { width: 78%; position: relative; z-index: 2; }
.orbit-hub-core::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  animation: hubPulse 3s ease-in-out infinite;
}
@keyframes hubPulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .orbit-hub-core::after { animation: none; display: none; } }
.orbit-node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  width: 76px; padding: 10px 6px; border-radius: 14px;
  background: rgba(255,255,255,0.13); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff; text-align: center; box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.orbit-node span { font-size: 10.5px; font-weight: 600; line-height: 1.2; }
.hero-visual .bento-cell { box-shadow: 0 10px 24px rgba(0,0,0,0.25); }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-card { padding: 32px 26px; background: var(--color-neutral-card); border: 1px solid var(--color-border); border-radius: var(--radius); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.icon-chip { width: 48px; height: 48px; border-radius: 10px; background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-chip svg { width: 24px; height: 24px; color: #fff; }
.why-card h3 { margin-bottom: 10px; font-size: 18px; }
.why-card p { font-size: 15px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--color-neutral-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.service-card .icon-chip { background: var(--color-primary); }
.service-card h2 { margin-bottom: 10px; font-size: clamp(21px, 2.6vw, 27px); }
.service-card p { font-size: 15px; margin-bottom: 18px; flex-grow: 1; }
.service-card .service-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--color-accent); }
.service-card .service-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.service-card:hover .service-link svg { transform: translateX(3px); }

/* Service detail page */

.service-detail-body { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
.service-detail-body > * { min-width: 0; }
.service-detail-body .long-desc p { font-size: 17px; margin-bottom: 18px; color: var(--color-text-muted); }
.highlight-card { background: var(--color-neutral-light); border-radius: var(--radius); padding: 28px; border: 1px solid var(--color-border); }
.highlight-card h2.highlight-card-heading { font-size: 15px; margin-bottom: 16px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-accent); font-weight: 600; }
.highlight-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 15px; color: var(--color-text-dark); }
.highlight-list li svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.highlight-cta { margin-top: 22px; }

.cross-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { padding: 0 20px 0 0; position: relative; }
.process-step .step-num { font-family: var(--font-mono); font-size: 13px; color: var(--color-accent); font-weight: 600; margin-bottom: 12px; display: block; }
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; }
.process-step:not(:last-child)::after { content: ''; position: absolute; top: 8px; right: -4px; width: 100%; height: 1px; background: linear-gradient(90deg, var(--color-border), transparent); display: none; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.portfolio-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); background: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease; scroll-margin-top: 110px; cursor: pointer; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.mockup-screen { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.mockup-bg-texture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.bento-panel-card {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr;
  gap: 8px; padding: 12px;
}
.bento-panel-card .bento-cell { border-radius: 10px; padding: 6px 4px; gap: 4px; }
.bento-panel-card .bento-cell span { font-size: 10px; }
.bento-panel-card .bento-cell.bento-hero { grid-row: span 1; }
.bento-panel-card .bento-cell.bento-hero span { font-size: 11px; }
.bento-panel-card .bento-cell:last-child { grid-column: span 2; }

.accent-jade { background: linear-gradient(135deg, #16332B, #1F4A3D); }
.accent-navy { background: linear-gradient(135deg, #0A1F3D, #1A3A63); }
.accent-blue { background: linear-gradient(135deg, #1E5AA8, #2C7FD6); }
.accent-teal { background: linear-gradient(135deg, #0D5C63, #159B94); }
.accent-cyan { background: linear-gradient(135deg, #0E7490, #2FD0FF); }
.accent-indigo { background: linear-gradient(135deg, #3730A3, #6366F1); }

.portfolio-card-body { padding: 22px 24px 26px; }
.portfolio-tag { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-accent); margin-bottom: 8px; display: block; }
.portfolio-card h2 { font-size: 18px; margin-bottom: 8px; }
.portfolio-card p { font-size: 14.5px; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-pill { padding: 9px 18px; border-radius: 100px; border: 1.5px solid var(--color-border); font-size: 14px; font-weight: 500; transition: all 0.2s ease; }
.filter-pill.active, .filter-pill:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.portfolio-note-banner { background: var(--color-neutral-light); border: 1px dashed var(--color-border); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 14px; color: var(--color-text-muted); margin-top: 36px; display: flex; gap: 10px; align-items: flex-start; }
.portfolio-note-banner svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--color-accent); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; scroll-margin-top: 110px; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.blog-card-header { height: 130px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent-start)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.blog-header-icon-wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.blog-header-icon-wrap svg { width: 40px; height: 40px; color: rgba(255,255,255,0.85); }
.blog-card-body { padding: 24px 26px 28px; }
.blog-meta { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 12.5px; color: var(--color-text-muted); margin-bottom: 12px; }
.blog-meta .cat { color: var(--color-accent); font-weight: 600; }
.blog-card h2 { font-size: 19px; margin-bottom: 10px; }
.blog-card p { font-size: 14.5px; }
.blog-expand { display: none; padding: 0 26px 28px; }
.blog-expand p { font-size: 15.5px; color: var(--color-text-dark); margin-bottom: 14px; white-space: pre-line; }
.blog-card.expanded .blog-expand, .portfolio-card.expanded .blog-expand, .industry-card.expanded .blog-expand { display: block; }
.blog-card.expanded .blog-card-body p.excerpt, .portfolio-card.expanded .portfolio-card-body p.excerpt, .industry-card.expanded p.excerpt { display: none; }
.read-toggle { font-weight: 600; color: var(--color-accent); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.read-toggle svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.blog-card.expanded .read-toggle svg, .portfolio-card.expanded .read-toggle svg, .industry-card.expanded .read-toggle svg { transform: rotate(180deg); }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--color-primary-dark); position: relative; overflow: hidden; text-align: center; }
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 500px at 50% 0%, rgba(47,208,255,0.14), transparent 65%);
}
.final-cta-inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.final-cta h2 { color: #fff; margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.7); font-size: 18px; margin-bottom: 36px; }
.final-cta-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta-ctas .btn { min-width: 190px; }

/* ---------- About page ---------- */
/* ---------- Shared page hero (About/Services/Industries/Portfolio/Blog/FAQ/Privacy/Terms/Careers) ---------- */
.page-hero { padding: calc(var(--header-height) + 56px) 0 48px; background: var(--color-neutral-light); position: relative; overflow: hidden; }
.page-hero + section.section { padding-top: 40px; }
.page-hero-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: stretch; }
.page-hero-grid .orbit-panel { width: 100%; max-width: 480px; aspect-ratio: unset; height: 100%; margin: 0 0 0 auto; }
.page-hero-text { display: flex; flex-direction: column; justify-content: flex-start; padding-top: 4px; }
.page-hero-text h1 { max-width: none; }
.page-hero-text p.lead { font-size: 18px; max-width: none; margin-top: 16px; }

.bento-cell {
  background: rgba(255,255,255,0.13); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #fff; text-align: center; padding: 10px 6px;
  transition: background 0.2s ease;
}
.bento-cell span { font-size: 12px; font-weight: 600; line-height: 1.25; }
.bento-cell.bento-hero { grid-column: span 2; grid-row: span 2; background: rgba(255,255,255,0.2); gap: 10px; }
.bento-cell.bento-hero span { font-size: 14px; }

.mission-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: stretch; }
.mission-grid.mission-grid-reverse { grid-template-columns: 0.65fr 1.35fr; }
.mission-grid .orbit-panel { width: 100%; max-width: 480px; aspect-ratio: unset; height: 100%; margin: 0; }
.mission-grid .reveal:not(.orbit-panel) { display: flex; flex-direction: column; justify-content: space-between; padding-top: 4px; }
.mission-grid > * { min-width: 0; }
.mission-visual { aspect-ratio: 1/1; border-radius: 20px; background: linear-gradient(160deg, #0A1F3D, #1E5AA8); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mission-visual-mark { position: absolute; width: 42%; opacity: 0.9; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.35)); z-index: 2; }
.mission-visual-tag { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.75); z-index: 2; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.value-card { padding: 26px; border-radius: var(--radius); background: var(--color-neutral-light); }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; }

/* ---------- Contact page ---------- */
.contact-hero { padding: calc(var(--header-height) + 50px) 0 40px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-rows { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--color-border); }
.contact-row:last-child { border-bottom: none; }
.contact-row .row-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--color-neutral-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .row-icon svg { width: 18px; height: 18px; color: var(--color-accent); }
.contact-row .row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.contact-row .row-label { font-size: 12.5px; color: var(--color-text-muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-row .row-value { font-weight: 600; font-size: 15.5px; overflow-wrap: break-word; }
.contact-row .row-value a:hover { color: var(--color-accent); }

.hours-box { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px 26px; margin-top: 22px; }
.hours-box h2.hours-box-heading { font-size: 14px; text-transform: uppercase; font-family: var(--font-mono); letter-spacing: 0.05em; color: var(--color-text-muted); margin-bottom: 14px; font-weight: 600; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--color-border); font-size: 15px; }
.hours-row:last-of-type { border-bottom: none; }
.hours-note { font-size: 13.5px; color: var(--color-text-muted); margin-top: 12px; }

.directions-panel { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 40px 30px; text-align: center; }
.directions-panel-icon { width: 34px; height: 34px; color: var(--color-accent); margin: 0 auto 16px; }
.directions-panel p { margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono); margin-bottom: 20px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 30px; }
.footer-logo span { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 17px; }
.footer-about { font-size: 14.5px; color: rgba(255,255,255,0.55); max-width: 300px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, border-color 0.2s ease; }
.footer-social a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14.5px; color: rgba(255,255,255,0.65); transition: color 0.2s ease; }
.footer-col ul li a:hover { color: #fff; }
.footer-address { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.footer-address svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: #2FD0FF; }
.footer-hours { display: flex; align-items: flex-start; gap: 10px; }
.footer-hours svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2.5px; color: #2FD0FF; }
.footer-hours-lines { display: inline-grid; grid-template-columns: auto auto; column-gap: 20px; row-gap: 6px; }
.footer-hours-row.footer-hours-full { display: contents; }
.footer-hours-row.footer-hours-full span:first-child { text-align: left; }
.footer-hours-row.footer-hours-full span:last-child { text-align: left; }
.footer-hours-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; color: rgba(255,255,255,0.55); }
.footer-address-mobile, .footer-hours-mobile { display: none; }
.footer-credit-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 13px; color: rgba(255,255,255,0.45); gap: 16px; flex-wrap: nowrap; }
.footer-credit-bar .heart { color: #FF4D6D; }
.footer-legal-links { display: flex; gap: 16px; flex: 1; }
.footer-legal-links a { color: rgba(255,255,255,0.5); white-space: nowrap; transition: color 0.2s ease; }
.footer-legal-links a:hover { color: #fff; }
.footer-copyright { text-align: center; flex: 1; white-space: nowrap; }
.footer-madewith { flex: 1; text-align: right; white-space: nowrap; }

/* ---------- Cookie Consent ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--color-primary-dark); color: rgba(255,255,255,0.85);
  padding: 18px 24px; display: none; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap; box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  pointer-events: none;
}
.cookie-banner p, .cookie-banner .cookie-actions { pointer-events: auto; }
.cookie-banner.show { display: flex; }
.cookie-banner p { color: rgba(255,255,255,0.75); font-size: 14px; margin: 0; max-width: 560px; }
.cookie-banner a { text-decoration: underline; color: #fff; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button { padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.cookie-accept { background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end)); color: #fff; }
.cookie-decline { border: 1px solid rgba(255,255,255,0.3); color: #fff; }

/* ---------- Booking Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(5,13,28,0.72); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.contact-corner-popup {
  inset: auto; bottom: 78px; left: 14px; right: auto; top: auto;
  background: transparent; backdrop-filter: none;
  align-items: flex-end; justify-content: flex-start;
  padding: 0; width: auto; height: auto;
  pointer-events: none;
}
.contact-corner-popup .modal-box {
  pointer-events: auto; max-width: 320px; margin: 0;
  max-height: calc(100vh - 48px); overflow-y: auto;
  animation: popupSlideIn 0.35s cubic-bezier(.2,.8,.2,1);
}
.compact-popup-box { padding: 22px 22px 20px; }
.compact-popup-box h3 { font-size: 17px; margin-bottom: 4px; padding-right: 26px; }
.compact-popup-box .modal-sub { font-size: 13px; margin-bottom: 14px; }
.compact-popup-box .form-field { margin-bottom: 10px; }
.compact-popup-box .contact-form-actions .btn { flex: none; width: 100%; }
@keyframes popupSlideIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .contact-corner-popup .modal-box { animation: none; } }
.modal-box {
  background: #fff; border-radius: 18px; padding: 32px 30px 28px;
  width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .modal-box { animation: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted); transition: background 0.2s ease;
}
.modal-close:hover { background: var(--color-neutral-light); }
.modal-box h3 { font-size: 22px; margin-bottom: 6px; padding-right: 30px; }
.modal-sub { font-size: 14.5px; color: var(--color-text-muted); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row > * { min-width: 0; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--color-text-dark); margin-bottom: 6px; }
.form-field label .optional { font-weight: 400; color: var(--color-text-muted); }
.form-field input, .form-field textarea {
  width: 100%; min-width: 0; padding: 11px 13px; border-radius: 9px;
  border: 1.5px solid var(--color-border); font-size: 15px; font-family: var(--font-body);
  color: var(--color-text-dark); transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(30,90,168,0.15); }
.form-field textarea { resize: vertical; min-height: 64px; }
#bookingForm .btn-block { margin-top: 4px; }
.contact-form-wrap { max-width: 700px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 36px 34px; border: 1px solid var(--color-border); }
.form-field select {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1.5px solid var(--color-border);
  font-size: 15px; font-family: var(--font-body); color: var(--color-text-dark); background: #fff;
  min-width: 0; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2351607A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.form-field select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(30,90,168,0.15); }
.contact-form-actions { display: flex; gap: 10px; flex-wrap: nowrap; margin-top: 6px; }
.contact-form-actions .btn { flex: 1; min-width: 0; padding: 12px 10px; font-size: 13.5px; white-space: nowrap; }

/* ---------- Floating buttons ---------- */
.float-btn {
  position: fixed; right: 14px; z-index: 400;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(30,90,168,0.35);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  opacity: 0; visibility: hidden; transform: translateY(10px);
}
.float-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-btn svg { width: 17px; height: 17px; color: #fff; }
#scrollTopBtn { bottom: 24px; }
#faqBtn { bottom: 78px; }
.float-btn-left {
  left: 14px; right: auto; bottom: 24px;
  background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
  box-shadow: 0 8px 26px rgba(30,90,168,0.4);
}
.float-btn-left svg { color: #fff; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 450;
  background: var(--color-primary-dark);
  display: none;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-cta-bar a, .mobile-cta-bar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 11px 4px 9px; color: rgba(255,255,255,0.85);
  font-size: 11.5px; font-weight: 500; border-right: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}
.mobile-cta-bar a:last-child, .mobile-cta-bar button:last-child { border-right: none; }
.mobile-cta-bar svg { width: 20px; height: 20px; }

/* ---------- FAQ widget (simple) ---------- */
.faq-panel {
  position: fixed; bottom: 132px; right: 14px; z-index: 470;
  width: 320px; max-width: calc(100vw - 48px);
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(10,31,61,0.25);
  border: 1px solid var(--color-border);
  padding: 20px; display: none; max-height: 60vh; overflow-y: auto;
}
.faq-panel.open { display: block; }
.faq-panel h3 { font-size: 15px; margin-bottom: 14px; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: 12px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.faq-q svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { font-size: 13.5px; color: var(--color-text-muted); margin-top: 8px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ---------- FAQ page (full accordion) ---------- */
.faq-category-group { margin-bottom: 44px; }
.faq-category-group:last-child { margin-bottom: 0; }
.faq-category-heading { font-family: var(--font-mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); margin-bottom: 8px; }
.faq-accordion { border-top: 1px solid var(--color-border); }
.faq-acc-item { border-bottom: 1px solid var(--color-border); scroll-margin-top: 110px; }
.faq-acc-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 20px 0; font-weight: 600; font-size: 16.5px; text-align: left;
  color: var(--color-text-dark); background: none;
}
.faq-acc-q svg { flex-shrink: 0; transition: transform 0.25s ease; color: var(--color-accent); }
.faq-acc-item.open .faq-acc-q svg { transform: rotate(180deg); }
.faq-acc-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-acc-a p { padding-bottom: 22px; color: var(--color-text-muted); font-size: 15.5px; max-width: 720px; }
.faq-acc-item.open .faq-acc-a { max-height: 400px; }

/* ---------- Industries page ---------- */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry-card { background: var(--color-neutral-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; display: block; scroll-margin-top: 110px; cursor: pointer; }
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.industry-card .icon-chip { background: var(--color-primary); }
.industry-card h2 { margin-bottom: 10px; font-size: 18px; }
.industry-card p { font-size: 14.5px; margin-bottom: 16px; }
.industry-card .service-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--color-accent); }
.industry-card .service-link svg { width: 15px; height: 15px; }
.industries-preview-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.industries-grid-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industries-grid-strip .industry-pill { justify-content: center; }
.industry-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; border: 1px solid var(--color-border); font-size: 14.5px; font-weight: 500; background: var(--color-neutral-card); }
.industry-pill svg { width: 16px; height: 16px; color: var(--color-accent); }

/* ---------- Legal pages (Privacy / Terms) ---------- */
.legal-page .legal-updated { font-family: var(--font-mono); font-size: 13px; color: var(--color-text-muted); margin-bottom: 8px; }
.legal-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.legal-body { max-width: 760px; min-width: 0; }
.legal-sidebar { display: flex; flex-direction: column; gap: 20px; min-width: 0; position: sticky; top: 100px; align-self: start; }
.legal-sidebar-card { background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; }
.legal-sidebar-card .icon-chip { margin-bottom: 14px; }
.legal-sidebar-card h3 { font-size: 16px; margin-bottom: 8px; }
.legal-sidebar-card p { font-size: 14px; margin-bottom: 16px; }
.legal-sidebar-links li { margin-bottom: 10px; }
.legal-sidebar-links a { font-size: 14.5px; color: var(--color-text-dark); font-weight: 500; }
.legal-sidebar-links a:hover { color: var(--color-accent); }
.legal-body h2 { font-size: 22px; margin-top: 40px; margin-bottom: 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15.5px; margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px 0; padding-left: 22px; list-style: disc; }
.legal-body ul li { font-size: 15.5px; color: var(--color-text-muted); margin-bottom: 8px; }
.legal-body a { color: var(--color-accent); text-decoration: underline; }

/* ---------- 404 page ---------- */
.error-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-height) + 40px) 24px 60px; }
.error-404-inner { max-width: 480px; }
.error-404-code { font-family: var(--font-mono); font-size: 15px; color: var(--color-accent); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 18px; }
.error-404 h1 { margin-bottom: 14px; }
.error-404 p { margin-bottom: 30px; font-size: 17px; }
.error-404-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Email copy toast ---------- */
.email-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--color-primary-dark); color: #fff; padding: 12px 22px;
  border-radius: 100px; font-size: 14px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 1000;
  opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; white-space: nowrap;
}
.email-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Utility ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.text-center { text-align: center; }
.mt-lg { margin-top: 64px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
