/* ============================================================
   APSIDATA SOLUTIONS — Modern Redesign 2025
   Brand: Teal #45B8C8 · Dark Ink #0D1F2D · Clean White
   Aesthetic: Editorial · Geometric · Data-forward · Minimal
   Fonts: Space Grotesk (headings) + Plus Jakarta Sans (body)
   ============================================================ */

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

:root {
  --teal:         #1D6E8F;
  --teal-dark:    #155A76;
  --teal-deeper:  #0F4C65;
  --teal-pale:    #E8F4F9;
  --teal-mid:     #B8DFF0;
  --teal-bright:  #2B9FC0;
  --ink:          #0D1F2D;
  --ink-soft:     #152536;
  --slate:        #1E3448;
  --text-body:    #2C3E50;
  --text-muted:   #64788A;
  --text-light:   #96ABBE;
  --text-xlight:  #C2D0DA;
  --bg-white:     #FFFFFF;
  --bg-snow:      #F7FAFB;
  --bg-frost:     #EFF6F8;
  --border:       rgba(29,110,143,0.15);
  --border-dark:  rgba(13,31,45,0.10);
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  36px;
  --radius-full: 9999px;
  --shadow-sm:  0 1px 6px rgba(13,31,45,0.06);
  --shadow-md:  0 4px 24px rgba(13,31,45,0.09);
  --shadow-lg:  0 12px 48px rgba(13,31,45,0.12);
  --shadow-teal: 0 8px 32px rgba(29,110,143,0.25);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.22s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--bg-white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.12; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.6rem,5.5vw,4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem,3.8vw,3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem,2.5vw,1.75rem); letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #1D6E8F; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 20px; height: 2px; background: #c2c8c1; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; padding: 14px 28px; border-radius: var(--radius-full); transition: all var(--t) var(--ease); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }
.btn-teal { background: #1D6E8F; color: #fff; }
.btn-teal:hover { background: #155A76; transform: translateY(-1px); box-shadow: var(--shadow-teal); }
.btn-ink { background: #0F4C65; color: #fff; }
.btn-ink:hover { background: #1D6E8F; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid #1D6E8F; color: #1D6E8F; }
.btn-outline:hover { background: #E8F4F9; }
.btn-ghost { color: var(--text-body); border: 1.5px solid var(--border-dark); }
.btn-ghost:hover { border-color: #1D6E8F; color: #1D6E8F; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--bg-snow); }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 28px; transition: all var(--t); }
.nav-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 8px; height: 70px; }
.nav-logo img { height: 60px;}
.nav.scrolled .logo-default { display: none; }
.nav.scrolled .logo-scrolled { display: block !important; }
.nav .logo-scrolled { display: none; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links > a, .nav-dropdown > a { font-size: 0.875rem; font-weight: 500; color: var(--ink); padding: 8px 14px; border-radius: var(--radius-sm); transition: all var(--t); white-space: nowrap; }
.nav-links > a:hover, .nav-dropdown > a:hover { color: #1D6E8F; background: #E8F4F9; }
.nav-links > a.active, .nav-dropdown > a.active { color: #1D6E8F; background: #E8F4F9; font-weight: 600; position: relative; }
.nav-links > a.active::after, .nav-dropdown > a.active::after { content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px; height: 2px; background: #1D6E8F; border-radius: 2px; }
.nav.scrolled .nav-links > a.active, .nav.scrolled .nav-dropdown > a.active { color: #1D6E8F; background: #E8F4F9; }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.65rem; opacity: 0.7; }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px; min-width: 230px; border: 1px solid var(--border); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 16px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 500; color: var(--text-body) !important; transition: all var(--t); }
.nav-dropdown-menu a:hover { background: #E8F4F9 !important; color: #155A76 !important; }
.nav-cta { margin-left: 12px; padding: 5px 22px; font-size: 0.85rem; }
.nav.scrolled { background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(13,31,45,0.08); }
.nav.scrolled .nav-links > a, .nav.scrolled .nav-dropdown > a { color: var(--text-muted); }
.nav.scrolled .nav-links > a:hover, .nav.scrolled .nav-dropdown > a:hover { color: var(--ink); background: var(--bg-snow); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; cursor: pointer; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--t); }
.nav.scrolled .nav-hamburger span { background: var(--ink); }
.nav-mobile { display: none; position: fixed; inset: 0; top: 70px; background: #fff; z-index: 999; padding: 28px; overflow-y: auto; border-top: 1px solid var(--border); }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 0; font-size: 1rem; font-weight: 500; color: var(--text-body); border-bottom: 1px solid var(--border-dark); }
.nav-mobile a.active { color: #1D6E8F; font-weight: 700; border-left: 3px solid #1D6E8F; padding-left: 12px; }
.nav-mobile .mob-group { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); padding: 20px 0 8px; border-bottom: none; }

/* Hero */
.hero { background: linear-gradient(150deg, #e8f4f9 0%, #f5fbfd 50%, #eef7fb 100%); min-height: 100vh; padding-top: 70px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(29,110,143,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(29,110,143,0.04) 1px, transparent 1px); background-size: 72px 72px; }
.hero-orb { position: absolute; width: 700px; height: 700px; background: radial-gradient(circle, rgba(29,110,143,0.12) 0%, transparent 65%); right: -150px; top: -100px; pointer-events: none; }
.hero-orb2 { position: absolute; width: 280px; height: 280px; background: radial-gradient(circle, rgba(29,110,143,0.07) 0%, transparent 70%); left: 8%; bottom: 12%; pointer-events: none; }
.hero-vline { position: absolute; top: 0; right: 38%; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(29,110,143,0.14) 35%, rgba(29,110,143,0.14) 65%, transparent); }

.hero-inner { max-width: 1160px; margin: 0 auto; padding: 60px 28px 100px; display: grid; grid-template-columns: 1fr 460px; gap: 72px; align-items: center; position: relative; z-index: 1; }

.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; background: rgba(29,110,143,0.12); border: 1px solid rgba(29,110,143,0.25); border-radius: var(--radius-full); margin-bottom: 28px; }
.hero-pill-dot { width: 22px; height: 22px; border-radius: 50%; background: #1D6E8F; display: flex; align-items: center; justify-content: center; }
.hero-pill-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.hero-pill span { font-size: 0.75rem; font-weight: 600; color: #1D6E8F; letter-spacing: 0.06em; }

.hero h1 { color: var(--ink); margin-bottom: 22px; }
.hero h1 em { color: #1D6E8F; font-style: normal; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); line-height: 1.78; margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 0; border: 1px solid rgba(29,110,143,0.2); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,0.75); backdrop-filter:blur(8px); }
.hero-stat { flex: 1; padding: 20px 24px; border-right: 1px solid rgba(29,110,143,0.15); }
.hero-stat:last-child { border-right: none; }
.h-stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.h-stat-num em { color: #1D6E8F; font-style: normal; }
.h-stat-lbl { font-size: 0.73rem; color: var(--text-muted); letter-spacing: 0.04em; }

/* Hero right panel - data card visual */
.hero-panel { position: relative; height: 460px; }
.hp-main { position: absolute; inset: 0; background: linear-gradient(145deg, #fff 0%, #eef7fb 100%); border: 1px solid rgba(29,110,143,0.18); border-radius: var(--radius-lg); padding: 32px; overflow: hidden; }
.hp-main-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(29,110,143,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29,110,143,0.06) 1px, transparent 1px); background-size: 36px 36px; }
.hp-chart { position: relative; z-index: 1; margin-top: 20px; }
.hp-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; margin-top: 16px; }
.hp-bar { flex: 1; border-radius: 4px 4px 0 0; background: rgba(29,110,143,0.2); position: relative; min-width: 0; }
.hp-bar-fill { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #2B9FC0 0%, #1D6E8F 100%); }
.hp-label { font-size: 0.65rem; color: rgba(255,255,255,0.35); text-align: center; margin-top: 6px; }
.hp-top-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.hp-big-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: #fff; }
.hp-big-num em { color: #1D6E8F; font-style: normal; }
.hp-float-1 { position: absolute; bottom: 24px; left: -28px; width: 180px; background: #fff; border: 1px solid rgba(29,110,143,0.2); box-shadow: var(--shadow-md); border-radius: var(--radius-md); padding: 16px 18px; backdrop-filter: blur(12px); }
.hp-float-2 { position: absolute; top: 36px; right: -20px; width: 170px; background: #fff; border: 1px solid rgba(29,110,143,0.15); box-shadow: var(--shadow-md); border-radius: var(--radius-md); padding: 16px 18px; backdrop-filter: blur(12px); }
.hf-label { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.hf-val { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.hf-val em { color: #1D6E8F; font-style: normal; }
.hf-bar { height: 3px; background: rgba(29,110,143,0.15); border-radius: 2px; margin-top: 10px; }
.hf-bar-fill { height: 3px; border-radius: 2px; background: #1D6E8F; }
.hf-dots { display: flex; gap: 5px; margin-top: 10px; }
.hf-dot { width: 7px; height: 7px; border-radius: 50%; }

/* Page header */
.page-header { background: linear-gradient(150deg, #e8f4f9 0%, #f5fbfd 50%, #eef7fb 100%); padding: 140px 28px 72px; text-align: center; position: relative; overflow: hidden; }
.page-header-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(29,110,143,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(29,110,143,0.04) 1px, transparent 1px); background-size: 72px 72px; }
.page-header-orb { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(29,110,143,0.10) 0%, transparent 70%); top: -120px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.page-header-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.page-header h1 { color: var(--ink); font-size: clamp(2rem,4.5vw,3.2rem); margin-bottom: 14px; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.78rem; color: var(--text-light); margin-bottom: 20px; }
.breadcrumb a { color: #1D6E8F; }
.breadcrumb-sep { opacity: 0.3; }

/* Section title */
.section-title { margin-bottom: 60px; }
.section-title.center { text-align: center; }
.section-title h2 { margin-bottom: 14px; }
.section-title p { color: var(--text-muted); max-width: 560px; font-size: 1.05rem; line-height: 1.78; }
.section-title.center p { margin: 0 auto; }

/* Cards */
.card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-dark); padding: 32px; transition: all var(--t) var(--ease); }
.card:hover { border-color: #1D6E8F; box-shadow: 0 0 0 3px rgba(29,110,143,0.08), var(--shadow-md); transform: translateY(-3px); }
.card-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: #E8F4F9; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card-icon svg { width: 22px; height: 22px; color: #155A76; }
.card h4 { margin-bottom: 10px; color: var(--ink); }
.card p { font-size: 0.92rem; line-height: 1.75; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.83rem; font-weight: 600; color: #1D6E8F; margin-top: 20px; transition: gap var(--t); }
.card-link:hover { gap: 10px; }
.card-link svg { width: 14px; height: 14px; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* Feature split */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-split.reverse .f-visual { order: -1; }
.f-visual { position: relative; }
.f-visual-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-frost); }
.f-visual-img img { width: 100%; height: 100%; object-fit: cover; }
.f-badge { position: absolute; bottom: -20px; right: -20px; background: #fff; border-radius: var(--radius-md); padding: 16px 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-dark); display: flex; align-items: center; gap: 12px; }
.f-badge-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: #E8F4F9; display: flex; align-items: center; justify-content: center; }
.f-badge-icon svg { width: 20px; height: 20px; color: #1D6E8F; }
.f-badge strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.f-badge span { font-size: 0.75rem; color: var(--text-muted); }
.f-content h2 { margin-bottom: 16px; }
.f-content p { margin-bottom: 22px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--text-body); line-height: 1.6; }
.check-dot { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: #E8F4F9; margin-top: 1px; display: flex; align-items: center; justify-content: center; }
.check-dot svg { width: 11px; height: 11px; color: #155A76; }

/* Stats band */
.stats-band { background: linear-gradient(135deg, #0F4C65 0%, #1D6E8F 60%, #2B9FC0 100%); padding: 32px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg); overflow: hidden; }
.stat-cell { padding: 16px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); }
.stat-cell:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 6px; }
.stat-num em { color: #7DD8F0; font-style: normal; }
.stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.38); letter-spacing: 0.04em; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #0F4C65 0%, #1D6E8F 60%, #2B9FC0 100%); padding: 40px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 36px; }

/* Sub nav */
.sub-nav { background: #fff; border-bottom: 1px solid var(--border-dark); position: sticky; top: 70px; z-index: 100; }
.sub-nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 28px; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav-link { padding: 16px 20px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: all var(--t); display: block; }
.sub-nav-link:hover { color: #155A76; }

/* Tool showcase */
.tool-showcase { background: #fff; border: 1px solid rgba(29,110,143,0.15); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 24px; display: grid; grid-template-columns: 1fr 400px; min-height: 400px; }
.tool-content { padding: 52px 48px; display: flex; flex-direction: column; justify-content: space-between; }
.tool-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: var(--radius-full); background: rgba(29,110,143,0.15); border: 1px solid rgba(29,110,143,0.25); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #1D6E8F; margin-bottom: 20px; width: fit-content; }
.tool-content h3 { color: var(--ink); font-size: 1.9rem; margin-bottom: 14px; }
.tool-content > p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.78; }
.tool-features { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.tool-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; color: var(--text-muted); }
.tool-feat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1D6E8F; flex-shrink: 0; margin-top: 6px; }
.tool-visual { position: relative; overflow: hidden; background: #E8F4F9; }
.tool-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.tool-visual-overlay { position: absolute; inset: 0; background: linear-gradient(270deg, transparent 30%, rgba(13,31,45,0.85) 100%); }

/* Job cards */
.job-card { background: #fff; border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 24px 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; transition: all var(--t); }
.job-card:hover { border-color: #1D6E8F; box-shadow: 0 0 0 3px rgba(29,110,143,0.08); }
.job-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.job-meta span { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.job-meta span svg { width: 14px; height: 14px; color: #1D6E8F; }
.job-info { flex: 1; }
.badge { display: inline-flex; align-items: center; font-size: 0.73rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); letter-spacing: 0.05em; }
.badge-teal { background: #E8F4F9; color: #0F4C65; }
.badge-ink  { background: rgba(13,31,45,0.07); color: var(--ink); }
.badge-warm { background: #FEF3E2; color: #9A5000; }

/* Brand strip */
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.brand-strip img { height: 32px; filter: grayscale(1) opacity(0.45); transition: all var(--t); }
.brand-strip img:hover { filter: grayscale(0) opacity(1); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: start; }
.office-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border-dark); }
.office-card:last-of-type { border-bottom: none; }
.office-icon { width: 42px; height: 42px; flex-shrink: 0; background: #E8F4F9; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.office-icon svg { width: 18px; height: 18px; color: #1D6E8F; }
.office-card h5 { font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.office-card p { font-size: 0.85rem; line-height: 1.65; }
.office-card a { color: #1D6E8F; font-weight: 600; }

/* Form */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-body); margin-bottom: 7px; }
.form-control { width: 100%; padding: 13px 16px; border: 1.5px solid rgba(13,31,45,0.12); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.9rem; color: var(--text-body); background: #fff; transition: all var(--t); outline: none; appearance: none; }
.form-control::placeholder { color: var(--text-xlight); }
.form-control:hover { border-color: rgba(29,110,143,0.35); }
.form-control:focus { border-color: #1D6E8F; box-shadow: 0 0 0 3px rgba(29,110,143,0.12); }
textarea.form-control { resize: vertical; min-height: 128px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */
.footer { background: #0e2f3c; padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand img { height: 50px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.social-btn { width: 38px; height: 38px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); transition: all var(--t); }
.social-btn:hover { background: #1D6E8F; color: #fff; }
.social-btn svg { width: 15px; height: 15px; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.72); padding: 5px 0; transition: all var(--t); }
.footer-col a:hover { color: #1D6E8F; padding-left: 4px; }
.footer-bottom { padding: 14px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-bottom a:hover { color: #1D6E8F; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* Utilities */
.bg-snow  { background: var(--bg-snow); }
.bg-frost { background: var(--bg-frost); }
.bg-ink   { background: #0F4C65; }
.text-center { text-align: center; }
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}
.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-32{margin-bottom:32px}.mb-40{margin-bottom:40px}

/* Responsive */
@media(max-width:1024px){
  .hero-inner{grid-template-columns:1fr}
  .hero-panel{display:block;height:auto;width:100%;max-width:560px;margin:32px auto 0;position:relative}
  .hero-panel .hp-main{position:relative;inset:auto;height:auto;padding:24px}
  .hero-panel .hp-main > div{height:auto !important}
  .stats-inner{grid-template-columns:repeat(2,1fr)}
  .stat-cell:nth-child(2){border-right:none}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .tool-showcase{grid-template-columns:1fr}
  .tool-visual{aspect-ratio:16/7}
  .contact-layout{grid-template-columns:1fr}
}
@media(max-width:768px){
  .section{padding:64px 0}
  .section-lg{padding:80px 0}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .feature-split{grid-template-columns:1fr;gap:40px}
  .feature-split.reverse .f-visual{order:0}
  .f-badge{display:none}

  /* Center all f-content text, tool logos, and buttons on mobile */
  .f-content { text-align: center; }
  .f-content .check-list { text-align: left; display: inline-block; }
  .f-content .btn { display: inline-flex; }

  /* Center tool-logo flex rows everywhere: f-content, f-visual, cards, standalone sections */
  [style*="display:flex;flex-wrap:wrap;gap:10px"] { justify-content: center !important; }
  [style*="display:flex;flex-wrap:wrap;gap:12px"] { justify-content: center !important; }

  /* Center cards' tool images (services.html Data Visualisation section) */
  .card [style*="display:flex;flex-wrap:wrap;gap:10px"] { justify-content: center !important; }

  /* AI Studio stack row — center logos and button */
  [style*="justify-content:space-between;gap:24px"] {
    justify-content: center !important;
    text-align: center;
  }
  .nav-links,.nav-cta{display:none}
  .nav-hamburger{display:flex}
  .hero-stats{flex-direction:row;border-radius:var(--radius-md)}
  .hero-stat{border-right:none;border-bottom:1px solid rgba(29,110,143,0.12)}
  .hero-stat:last-child{border-bottom:none}
  .form-row{grid-template-columns:1fr}
  .stats-inner{border-radius:var(--radius-md)}
  .tool-content{padding:36px 28px}
}
@media(max-width:480px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .stats-inner{grid-template-columns:1fr}
  .stat-cell{border-right:none;border-bottom:1px solid rgba(29,110,143,0.12)}
}

/* ═══ MOBILE ENHANCEMENTS ═══ */
@media(max-width:768px){
  /* Page header */
  .page-header { padding: 110px 20px 56px; }
  .page-header h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }

  /* Inclusion & Diversity section grids on dark bg */
  .section [style*="grid-template-columns:1fr 1fr"][style*="gap:72px"],
  .section [style*="grid-template-columns:1fr 1fr"][style*="gap:72px;"] {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  /* Job cards */
  .job-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .job-info { width: 100%; }
  .job-meta { flex-direction: column; gap: 6px; }

  /* Contact layout in index.html */
  [style*="grid-template-columns:1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Tool showcase grid */
  [style*="grid-template-columns:1fr 400px"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero CTA buttons */
  .hero-actions { flex-direction: column; align-items: flex-start; display: block;}

  /* Brand family logos wrapping */
  [style*="display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:32px"] {
    gap: 16px !important;
  }

  /* Careers culture grid */
  [style*="grid-template-columns:1fr 1fr;gap:72px"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Apply modal */
  #apply-modal > div { padding: 28px 20px; }

  /* Form rows stay stacked */
  .form-row { grid-template-columns: 1fr; }

  /* CTA band */
  .cta-band { padding: 56px 20px; }

  /* Inquiry modal */
  .modal-box { padding: 28px 20px !important; margin: 16px !important; }

  /* Tools page hero card */
  [style*="grid-template-columns:1fr 400px;min-height:420px"] {
    grid-template-columns: 1fr !important;
  }

  /* Sub-nav — fit all tabs on screen, no scroll/cut-off */
  .sub-nav-inner { padding: 0; justify-content: stretch; }
  .sub-nav-link { flex: 1; text-align: center; padding: 12px 4px; font-size: 0.72rem; white-space: normal; line-height: 1.3; }

  /* Stats band */
  .stats-inner { padding: 36px 20px; }
}

@media(max-width:480px){
  .hero-inner { padding: 100px 20px 56px; }
  .hero-panel { height: auto; margin-top: -50px; position: relative; }
  .hp-main { position: relative !important; inset: auto !important; height: auto !important; padding: 24px; }
  .hp-main > div { height: auto !important; }
  .btn { font-size: 0.88rem; padding: 12px 20px; }
  .card { padding: 24px 20px; }
  .section { padding: 52px 0; }
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* ═══ TOOL CARD GRID — MOBILE ═══ */
@media(max-width:768px){
  .tool-card-grid {
    grid-template-columns: 1fr !important;
    min-height: unset !important;
  }
  .tool-card-content {
    padding: 32px 24px !important;
    text-align: center;
  }
  .tool-card-content .tool-tag { margin-left: auto; margin-right: auto; }
  .tool-card-content .tool-feat { text-align: left; }
  .tool-card-content .btn { display: inline-flex; }
  .tool-card-content > a.btn { margin-left: auto; margin-right: auto; }
  /* Visual panels inside tool cards stack below on mobile */
  .tool-card-grid > div:not(.tool-card-content) {
    min-height: 240px;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(29,110,143,0.18);
  }
  /* Survey programming — allow tools to wrap on mobile */
  .survey-tools-row {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }
}

/* ═══ MOBILE LANDSCAPE ═══ */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 60px; overflow: hidden; }
  .hero-inner { padding: 72px 24px 32px; gap: 20px; grid-template-columns: 1fr 1fr; align-items: center; max-width: 100%; }
  .hero-pill { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: 10px; }
  .hero-sub { font-size: 0.85rem; line-height: 1.55; margin-bottom: 16px; }
  .hero-actions { margin-bottom: 16px; gap: 10px; }
  .hero-actions .btn { font-size: 0.82rem; padding: 10px 18px; }
  .hero-stats { display: none; }
  .hero-panel { height: auto !important; min-height: unset; margin-top: 0 !important; overflow: hidden; position: relative; }
  .hp-main { position: relative !important; inset: auto !important; height: auto !important; min-height: unset; overflow: hidden; padding: 20px; }
  .hp-main > div { height: auto !important; }
  .hero-orb { display: none; }
  [style*="grid-template-columns:1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}
