/* ═══════════════════════════════════════════════════════════
   SHELORVE — Shared Stylesheet
   Ocean Sapphire brand · Poppins + Cormorant Garamond
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --navy:   #0A1D4E;
  --navy2:  #0F2460;
  --navy3:  #07152E;
  --sap:    #1252C0;
  --cyan:   #00C8B8;
  --gold:   #C8973A;
  --gold2:  #E8B84B;
  --cream:  #FAFCFF;
  --stone:  #F0F5FF;
  --border: #D8E4F5;
  --muted:  #6B7FA8;
  --white:  #FFFFFF;
  --text:   #1A2540;
  --nav-h:  68px;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 29, 78, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  transition: background 0.3s;
}
.nav.scrolled {
  background: rgba(7, 21, 46, 0.99);
  border-bottom-color: rgba(200,151,58,0.3);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 600;
  color: white; letter-spacing: 4px;
  text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-link {
  font-size: 11px; font-weight: 500; letter-spacing: 0.8px;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  padding: 8px 14px; border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: white; }
.nav-link.active::after {
  content: '';
  position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 2px; background: var(--cyan); border-radius: 1px;
}
.nav-link.gold-link { color: var(--gold); font-weight: 600; }
.nav-link.gold-link:hover { color: var(--gold2); }
.nav-cta {
  font-size: 11px; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--gold); color: var(--navy);
  padding: 10px 22px; border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }

/* ── MEGA MENU ────────────────────────────────────────────── */
.nav-services-wrap { position: relative; }
.mega-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  width: 720px;
  background: white;
  border-radius: 12px;
  border-top: 3px solid var(--sap);
  box-shadow: 0 24px 80px rgba(10,29,78,0.22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(-8px);
}
.nav-services-wrap:hover .mega-menu,
.mega-menu:hover {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.mega-cols { display: grid; grid-template-columns: 1fr 1fr 200px; }
.mega-col { padding: 20px; }
.mega-col:not(:last-child) { border-right: 1px solid var(--border); }
.mega-col-dark { background: var(--navy3); border-radius: 0 0 12px 0; }
.mega-col-hdr {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 600; margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mega-col-dark .mega-col-hdr { color: var(--gold); border-bottom-color: rgba(255,255,255,0.08); }
.mega-item {
  display: block; padding: 9px 10px;
  border-radius: 6px; margin-bottom: 2px;
  transition: background 0.15s;
  border-left: 2px solid transparent;
}
.mega-item:hover { background: var(--stone); border-left-color: var(--sap); }
.mega-item-name { font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 1px; }
.mega-item-sub { font-size: 10px; color: var(--muted); line-height: 1.4; }
.mega-item-dark { padding: 10px; border-radius: 6px; margin-bottom: 8px; display: block; }
.mega-item-dark:hover { background: rgba(255,255,255,0.06); }
.mega-item-badge {
  font-size: 7px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 700; padding: 2px 7px; border-radius: 10px; margin-bottom: 5px;
  display: inline-block;
}
.badge-gold { background: rgba(200,151,58,0.2); color: var(--gold); border: 1px solid rgba(200,151,58,0.3); }
.badge-cyan { background: rgba(0,200,184,0.15); color: var(--cyan); border: 1px solid rgba(0,200,184,0.25); }
.mega-item-dark .mega-item-name { color: white; font-size: 11px; }
.mega-item-dark .mega-item-sub { color: rgba(255,255,255,0.4); font-size: 9px; }
.mega-footer {
  padding: 12px 20px;
  background: var(--navy);
  border-radius: 0 0 9px 9px;
  display: flex; align-items: center; justify-content: space-between;
}
.mega-footer-note { font-size: 11px; color: rgba(255,255,255,0.4); }
.mega-footer-cta {
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gold);
  transition: color 0.2s;
}
.mega-footer-cta:hover { color: var(--gold2); }
.mega-note {
  font-size: 9px; color: rgba(255,255,255,0.3);
  font-style: italic; line-height: 1.5; margin-top: 8px; padding: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── PAGE OFFSET ──────────────────────────────────────────── */
.page-body { padding-top: var(--nav-h); }

/* ── HERO BASE ────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 88px 48px 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 90% at 85% 50%, rgba(18,82,192,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5% 90%, rgba(0,200,184,0.1) 0%, transparent 55%);
  pointer-events: none;
}
.hero-grid {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 500; line-height: 1.08;
  color: white; margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--cyan); }
.hero-sub {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255,255,255,0.55);
  line-height: 1.8; max-width: 560px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--gold); color: var(--navy);
  padding: 14px 28px; border-radius: 5px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.65);
  padding: 14px 24px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px; transition: all 0.2s;
}
.btn-secondary:hover { color: white; border-color: rgba(255,255,255,0.45); }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 40px; margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 500; color: var(--gold); line-height: 1;
}
.hero-stat-lbl {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.32); margin-top: 5px;
}

/* ── SECTION SCAFFOLDING ──────────────────────────────────── */
.section { padding: 40px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--sap); font-weight: 600; margin-bottom: 14px;
}
.section-label::before {
  content: ''; display: block; width: 22px; height: 1px; background: var(--sap);
}
.section-label.gold { color: var(--gold); }
.section-label.gold::before { background: var(--gold); }
.section-label.cyan { color: var(--cyan); }
.section-label.cyan::before { background: var(--cyan); }
.section-label.white { color: rgba(255,255,255,0.4); }
.section-label.white::before { background: rgba(255,255,255,0.4); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500; color: var(--navy); line-height: 1.12;
  margin-bottom: 14px;
}
.section-title.white { color: white; }
.section-title em { font-style: italic; color: var(--cyan); }
.section-sub {
  font-size: 15px; color: var(--muted);
  line-height: 1.8; max-width: 580px; margin-bottom: 56px;
}
.section-sub.white { color: rgba(255,255,255,0.5); }

/* ── CARD GRIDS ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }

.service-card {
  background: white; padding: 36px;
  display: flex; flex-direction: column;
  position: relative; cursor: pointer;
  transition: background 0.2s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: transparent;
  transition: background 0.25s;
}
.service-card:hover { background: var(--stone); }
.service-card:hover::before { background: var(--sap); }
.service-card.cyan-accent:hover::before { background: var(--cyan); }
.service-card.gold-accent:hover::before { background: var(--gold); }
.card-num { font-size: 10px; font-weight: 600; letter-spacing: 2px; color: var(--muted); margin-bottom: 18px; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; color: var(--navy); line-height: 1.2; margin-bottom: 12px; }
.card-body { font-size: 13px; color: var(--muted); line-height: 1.75; flex: 1; margin-bottom: 24px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tag { font-size: 10px; font-weight: 500; padding: 3px 10px; border-radius: 20px; background: var(--stone); color: var(--sap); }
.card-link { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform:capitalize; color: var(--sap); transition: gap 0.2s; }
.card-link:hover { gap: 12px; }
.card-link.cyan { color: var(--cyan); }
.card-link.gold { color: var(--gold); }

/* ── STEP GRID ────────────────────────────────────────────── */
.step-card { padding: 32px 28px; border-right: 1px solid var(--border); position: relative; }
.step-card:last-child { border-right: none; }
.step-accent { width: 32px; height: 3px; border-radius: 2px; margin-bottom: 20px; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 400; color: var(--border); line-height: 1; margin-bottom: 14px; }
.step-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.step-body { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ── SPEC SECTION (dark) ──────────────────────────────────── */
.spec-section {
  background: var(--navy); position: relative; overflow: hidden;
  padding: 88px 48px;
}
.spec-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--sap), var(--cyan), var(--gold));
}
.spec-grid { display: grid; grid-template-columns: 4fr 1fr; gap: 2px; background: rgba(255,255,255,0.07); border-radius: 12px; overflow: hidden; }
.spec-card { background: rgba(255,255,255,0.03); padding: 44px; display: flex; flex-direction: column; transition: background 0.2s; }
.spec-card:hover { background: rgba(255,255,255,0.07); }
.spec-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 7.5px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; padding: 4px 12px; border-radius: 12px; margin-bottom: 20px; align-self: flex-start; }
.spec-title { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500; color: white; line-height: 1.2; margin-bottom: 14px; }
.spec-body { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.78; margin-bottom: 28px; flex: 1; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; }
.spec-tag { font-size: 10px; font-weight: 500; padding: 4px 11px; border-radius: 20px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); }
.spec-link { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: gap 0.2s; }
.spec-link:hover { gap: 12px; }
.spec-link.gold { color: var(--gold); }
.spec-link.cyan { color: var(--cyan); }

/* ── INDUSTRIES STRIP ─────────────────────────────────────── */
.industries-strip {
  padding: 48px;
  background: var(--stone);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.industries-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.industries-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.industries-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.industry-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--navy); background: white; border: 1px solid var(--border); border-radius: 24px; padding: 8px 16px; transition: all 0.2s; cursor: default; }
.industry-pill:hover { border-color: var(--sap); color: var(--sap); }
.industry-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ── DELIVERY SECTION ─────────────────────────────────────── */
.delivery-section { padding: 72px 48px; background: var(--stone); border-top: 1px solid var(--border); }
.delivery-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.delivery-left h2 { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 500; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.delivery-left p { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.delivery-note { font-size: 11px; color: var(--muted); font-style: italic; line-height: 1.65; padding: 14px 18px; border-left: 3px solid var(--gold); background: white; border-radius: 0 6px 6px 0; }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.delivery-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: border-color 0.2s, box-shadow 0.2s; }
.delivery-card:hover { border-color: var(--sap); box-shadow: 0 4px 20px rgba(18,82,192,0.07); }
.delivery-card-title { font-size: 13px; font-weight: 600; color: var(--navy); }
.delivery-card-body { font-size: 12px; color: var(--muted); line-height: 1.65; }

/* ── FAQ SECTION ──────────────────────────────────────────── */
.faq-section { padding: 88px 48px; background: white; }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 10px; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.faq-q::after { content: '+'; color: var(--sap); font-size: 20px; font-weight: 300; flex-shrink: 0; }
.faq-a { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  padding: 100px 48px;
  background: var(--navy);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 110%, rgba(18,82,192,0.4) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-label { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.cta-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 5vw, 56px); font-weight: 400; color: white; line-height: 1.15; margin-bottom: 18px; }
.cta-title em { font-style: italic; color: var(--cyan); }
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 40px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--navy3);
  padding: 56px 48px 32px;
  border-top: 3px solid var(--gold);
}
.footer-top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 64px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-wordmark { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: white; letter-spacing: 4px; text-transform: uppercase; }
.footer-tagline { font-size: 10px; color: rgba(255,255,255,0.28); letter-spacing: 2px; text-transform: uppercase; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 220px; margin-top: 4px; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 8.5px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 12px; color: rgba(255,255,255,0.52); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-col a.gold { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.22); }
.footer-url { font-size: 11px; color: var(--cyan); }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  background: var(--navy); padding: 12px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { font-size: 11px; color: rgba(255,255,255,0.38); transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.breadcrumb-sep { font-size: 11px; color: rgba(255,255,255,0.2); }
.breadcrumb-current { font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ── PROSE / CONTENT ──────────────────────────────────────── */
.prose-section { padding: 72px 48px; background: white; }
.prose-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }
.prose-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 500; color: var(--navy); line-height: 1.25; margin-bottom: 16px; margin-top: 40px; }
.prose-body h2:first-child { margin-top: 0; }
.prose-body h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 10px; margin-top: 28px; }
.prose-body p { font-size: 14px; color: #445; line-height: 1.85; margin-bottom: 18px; }
.prose-body ul { margin: 0 0 18px 0; padding-left: 20px; }
.prose-body li { font-size: 14px; color: #445; line-height: 1.8; margin-bottom: 6px; }
.prose-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.sidebar-card { background: var(--stone); border: 1px solid var(--border); border-radius: 12px; padding: 28px; margin-bottom: 20px; }
.sidebar-card h4 { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.sidebar-card p { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.sidebar-card .btn-primary { width: 100%; justify-content: center; }
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { font-size: 12px; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.sidebar-list li::before { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--sap); flex-shrink: 0; }
.sidebar-list li:last-child { border-bottom: none; }

/* ── HIGHLIGHT BOX ────────────────────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: 12px; padding: 40px;
  border-left: 4px solid var(--gold);
  margin: 40px 0;
}
.highlight-box p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.8; margin: 0; font-style: italic; }
.highlight-box .highlight-attr { font-size: 11px; color: var(--gold); margin-top: 16px; font-style: normal; font-weight: 600; letter-spacing: 1px; }

/* ── STAT GRID ────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--border); margin: 0px 0; }
.stat-item { background: white; padding: 28px 24px; text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500; color: var(--navy); line-height: 1; }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 6px; letter-spacing: 0.5px; }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.fade-up { animation: fadeUp 0.65s ease both; }
.fade-in { animation: fadeIn 0.5s ease both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; } .d4 { animation-delay: 0.32s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav { padding: 0 24px; }
  .hero, .section, .spec-section, .cta-section { padding-left: 24px; padding-right: 24px; }
  .grid-2, .spec-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .prose-inner { grid-template-columns: 1fr; }
  .prose-sidebar { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .delivery-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .mega-menu { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .delivery-grid { grid-template-columns: 1fr; }
}

/* ── WORDPRESS SPECIFIC ───────────────────────────────────── */
.wp-block { max-width: 100%; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
img.alignleft { float: left; margin: 0 1.5em 1em 0; }
img.alignright { float: right; margin: 0 0 1em 1.5em; }
img.aligncenter { display: block; margin: 0 auto 1em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
/* Admin bar offset */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* ── MOBILE NAV ──────────────────────────────────────────── */
.nav-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--navy3); z-index: 999; padding: 24px 32px; overflow-y: auto;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { font-size: 15px; color: rgba(255,255,255,0.7); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); text-decoration: none; }
.nav-mobile-menu a:hover { color: white; }
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* ── INNER PAGE HERO (.page-hero) ────────────────────────── */
.page-hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 56px 48px 64px;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(18,82,192,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,200,184,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.page-hero .container { position: relative; }
.page-hero-inner { position: relative; max-width: 760px; padding-top: 8px; }
.page-hero .breadcrumb {
  background: transparent; padding: 0; border-bottom: none;
  margin-bottom: 24px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.4); font-size: 11px; }
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,0.2); font-size: 11px; }
.eyebrow {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 22px; height: 1px; background: var(--gold);
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500; line-height: 1.1;
  color: white; margin-bottom: 20px;
}
.page-hero-title em { font-style: italic; color: var(--cyan); }
.page-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8; max-width: 620px;
}

/* ── SERVICE CARDS (.svc-card) ───────────────────────────── */
.svc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.svc-card:hover {
  border-color: var(--sap);
  box-shadow: 0 8px 32px rgba(18,82,192,0.1);
  transform: translateY(-2px);
}
.svc-card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.svc-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500;
  color: var(--navy); line-height: 1.2;
  margin-bottom: 10px;
}
.svc-card-body {
  font-size: 13px; color: var(--muted);
  line-height: 1.75; flex: 1;
  margin-bottom: 20px;
}
.svc-card-link {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--sap);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.svc-card:hover .svc-card-link { gap: 10px; }

/* ── CTA BAND (dark horizontal strip) ───────────────────── */
.cta-band {
  background: var(--navy);
  padding: 56px 48px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 100% at 80% 50%, rgba(18,82,192,0.3) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative;
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px;
  flex-wrap: wrap;
}
.cta-band-left { flex: 1; min-width: 280px; }
.cta-band-left h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 500;
  color: white; line-height: 1.2; margin-bottom: 10px;
}
.cta-band-left p {
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 1.75; max-width: 480px;
}
.cta-band-right {
  display: flex; align-items: center;
  gap: 14px; flex-shrink: 0; flex-wrap: wrap;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.6);
  padding: 13px 22px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  transition: all 0.2s;
}
.btn-outline:hover { color: white; border-color: rgba(255,255,255,0.5); }

/* ── CASE CARDS ──────────────────────────────────────────── */
.case-card {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.case-card:hover {
  border-color: var(--sap);
  box-shadow: 0 8px 32px rgba(18,82,192,0.1);
  transform: translateY(-3px);
}
.cc-top { padding: 28px 28px 0; flex: 1; }
.cc-industry {
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 12px;
}
.cc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
  color: var(--navy); line-height: 1.25; margin-bottom: 8px;
}
.cc-client {
  font-size: 11px; color: var(--muted); margin-bottom: 14px;
}
.cc-hr {
  height: 1px; background: var(--border); margin-bottom: 14px;
}
.cc-outcome {
  font-size: 13px; color: var(--muted);
  line-height: 1.7; margin-bottom: 14px;
}
.cc-metric {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px; border-radius: 4px;
  margin-bottom: 12px;
}
.cc-tech {
  font-size: 11px; color: var(--muted);
  margin-bottom: 20px; line-height: 1.5;
}
.cc-bottom {
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
  background: var(--stone);
}
.cc-link {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.8px; text-transform: uppercase;
}
.cc-arrow { font-size: 16px; }

/* ── ANIM CLASS (intersection observer) ─────────────────── */
.anim { animation: fadeUp 0.65s ease both; }

/* ── RESPONSIVE for inner pages ─────────────────────────── */
@media (max-width: 1024px) {
  .page-hero, .cta-band { padding-left: 24px; padding-right: 24px; }
  .container { padding: 0 24px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 40px 24px 48px; }
  .page-hero-title { font-size: 34px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-right { width: 100%; }
}

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-wrap {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 80px; align-items: start; padding: 72px 48px;
}
.contact-form-card {
  background: white; border-radius: 16px;
  padding: 44px; border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(10,29,78,0.07);
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 500; color: var(--navy);
  margin-bottom: 8px;
}
.form-sub { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; color: var(--navy); margin-bottom: 6px;
  text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: 'Poppins', sans-serif; font-size: 13px;
  color: var(--navy); background: var(--cream);
  transition: border-color 0.2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--sap); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 14px;
  background: var(--gold); color: var(--navy);
  border: none; border-radius: 5px;
  font-family: 'Poppins', sans-serif; font-size: 12px;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, transform 0.15s; margin-top: 8px;
}
.form-submit:hover { background: var(--gold2); transform: translateY(-1px); }
.form-note {
  font-size: 11px; color: var(--muted);
  margin-top: 14px; text-align: center; line-height: 1.5;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; padding: 40px 24px; }
}

/* ── CODESIGHT PROCESS GRID ──────────────────────────────── */
.process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-top: 48px;
}
.process-step {
  padding: 28px 20px;
  border-right: 1px solid var(--border);
  text-align: center; position: relative;
  background: white;
}
.process-step:last-child { border-right: none; }
.process-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 400;
  color: var(--gold); line-height: 1; margin-bottom: 10px;
}
.process-label {
  font-size: 12px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.process-desc { font-size: 11px; color: var(--muted); line-height: 1.6; }

/* ── CODESIGHT FEATURE GRID ──────────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; margin-top: 48px;
}
.feature-card { background: white; padding: 32px 28px; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.feature-body { font-size: 13px; color: var(--muted); line-height: 1.7; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .process-grid, .feature-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── INSIGHTS HUB LAYOUT ─────────────────────────────────── */
.insights-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.insights-main {}
.insights-section-label {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  margin-bottom: 24px;
}

/* Article row */
.insight-row {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 32px;
  align-items: start;
  padding: 28px 0;
}
.insight-row-border {
  border-top: 1px solid var(--border);
}
.insight-tag {
  display: inline-block;
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  padding: 4px 10px; border-radius: 20px;
  margin-bottom: 12px;
}
.insight-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
  color: var(--navy); line-height: 1.25;
  margin-bottom: 10px;
}
.insight-title a {
  color: var(--navy); text-decoration: none;
  transition: color 0.2s;
}
.insight-title a:hover { color: var(--sap); }
.insight-excerpt {
  font-size: 13px; color: var(--muted);
  line-height: 1.75; margin-bottom: 14px;
}
.insight-meta {
  font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.insight-meta-sep { color: var(--border); }
.insight-meta-link {
  color: var(--sap); text-decoration: none;
  transition: color 0.2s;
}
.insight-meta-link:hover { color: var(--navy); }

/* Thumbnail */
.insight-row-thumb {
  display: flex; align-items: center; justify-content: center;
}
.insight-thumb-inner {
  width: 140px; height: 140px;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* Sidebar */
.insights-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex; flex-direction: column; gap: 20px;
}
.insights-sidebar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.insights-sidebar-title {
  font-size: 14px; font-weight: 600;
  color: var(--navy); margin-bottom: 16px;
}
.insights-topic-link {
  display: block;
  font-size: 13px; color: var(--sap);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.insights-topic-link:last-child { border-bottom: none; }
.insights-topic-link:hover { color: var(--navy); padding-left: 4px; }

/* Newsletter card */
.insights-newsletter {
  background: var(--navy);
  border-color: transparent;
}
.insights-email-input {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-family: 'Poppins', sans-serif; font-size: 13px;
  color: white; outline: none; margin-bottom: 10px;
  transition: border-color 0.2s;
}
.insights-email-input::placeholder { color: rgba(255,255,255,0.35); }
.insights-email-input:focus { border-color: rgba(255,255,255,0.4); }
.insights-subscribe-btn {
  width: 100%; padding: 12px;
  background: var(--gold); color: var(--navy);
  border: none; border-radius: 6px;
  font-family: 'Poppins', sans-serif; font-size: 11px;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.insights-subscribe-btn:hover { background: var(--gold2); }

/* Responsive */
@media (max-width: 900px) {
  .insights-layout { grid-template-columns: 1fr; }
  .insights-sidebar { position: static; }
  .insight-row { grid-template-columns: 1fr; }
  .insight-row-thumb { display: none; }
}

/* insight-row-left — flex column for article text content */
.insight-row-left { display: flex; flex-direction: column; }

/* ── CASE STUDIES GRID ───────────────────────────────────── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cs-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cs-card:hover {
  border-color: var(--sap);
  box-shadow: 0 8px 32px rgba(18,82,192,0.1);
  transform: translateY(-3px);
}

.cs-card-body {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Industry tag — small uppercase coloured text */
.cs-industry {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Title — strong sans, not serif */
.cs-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
}

/* Client line */
.cs-client {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

/* Divider */
.cs-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}

/* Outcome paragraph */
.cs-outcome {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 14px;
  flex: 1;
}

/* Metric pill */
.cs-metric {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
}

/* Technology line */
.cs-tech {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.cs-tech strong {
  color: var(--navy);
  font-weight: 600;
}

/* Bottom footer strip */
.cs-card-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cs-read {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.cs-arrow {
  font-size: 16px;
  transition: transform 0.2s;
}
.cs-card:hover .cs-arrow {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cs-grid { grid-template-columns: 1fr; }
}

/* ── FULL-WIDTH LAYOUT (prevent WP from constraining page width) ── */
.wp-site-blocks { padding: 0 !important; max-width: none !important; }
.is-layout-constrained > * { max-width: none !important; }