/* ==========================================================================
   AudienceOne — main stylesheet
   Plain CSS, no build step. Logical properties are used where practical so
   an Arabic (RTL) version can be added later by setting dir="rtl".
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --primary: #0B1F3A;
  --primary-2: #132C50;
  --primary-deep: #08172C;
  --accent: #00B8D9;
  --accent-ink: #007A91;          /* accessible teal for text on light backgrounds */
  --accent-2: #C9A24B;            /* warm gold, used sparingly */
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --text: #1B2A41;
  --muted: #5B6B82;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.78);
  --danger: #B42318;
  --danger-bg: #FEF3F2;
  --success: #146C43;
  --success-bg: #ECFDF3;

  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h4: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.625rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);

  --space-section: clamp(4rem, 2.75rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --container: 1200px;
  --header-h: 72px;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.05), 0 2px 8px rgba(11, 31, 58, 0.04);
  --shadow: 0 12px 32px -14px rgba(11, 31, 58, 0.22), 0 4px 12px -6px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px -20px rgba(11, 31, 58, 0.35);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; }

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--primary); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

.list-reset { list-style: none; margin: 0; padding: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 820px; }

/* ---------- Sections & headings ---------- */
.section { padding-block: var(--space-section); }
.section-alt { background: var(--bg-alt); }
.section-dark {
  position: relative;
  background: var(--primary);
  color: var(--on-dark-muted);
  isolation: isolate;
  overflow: hidden;
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-cta { padding-top: 0; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-2);
}
.hero .eyebrow,
.page-hero .eyebrow,
.section-dark .eyebrow { color: var(--accent); }

.lead { font-size: var(--fs-lg); color: var(--muted); }
.section-dark .lead { color: var(--on-dark-muted); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 24px -16px rgba(11, 31, 58, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-decoration: none;
}
.brand:hover { color: var(--primary); }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name span { color: var(--accent-ink); }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-email .icon { color: var(--accent-ink); }
.nav-email:hover { color: var(--primary); }

.nav-toggle { display: none; }

/* Mobile and tablet navigation */
@media (max-width: 1023.98px) {
  /* Without JS the menu simply sits below the logo. */
  .primary-nav { width: 100%; padding-bottom: 1rem; }

  .js .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  .nav-toggle-bar {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: var(--primary);
    transition: transform 0.25s var(--ease), opacity 0.2s;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .js .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .js .primary-nav.is-open {
    display: block;
    animation: nav-in 0.25s var(--ease);
  }

  .nav-list a {
    display: block;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.0625rem;
  }
  .nav-list a[aria-current="page"] { color: var(--accent-ink); font-weight: 600; }

  .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
  }
  .nav-actions .btn { justify-content: center; }
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* Desktop navigation */
@media (min-width: 1024px) {
  .header-inner { flex-wrap: nowrap; }
  .primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.75rem;
    flex: 1;
  }
  .nav-list { display: flex; gap: 0.25rem; }
  .nav-list a {
    position: relative;
    display: block;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.975rem;
  }
  .nav-list a:hover { background: var(--bg-alt); color: var(--primary); }
  .nav-list a[aria-current="page"] { color: var(--primary); font-weight: 600; }
  .nav-list a[aria-current="page"]::after {
    content: "";
    position: absolute;
    inset-inline: 0.9rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
  }
  .nav-actions { display: flex; align-items: center; gap: 1.25rem; }
}
@media (min-width: 1024px) and (max-width: 1239.98px) {
  .nav-email { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.875rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon { transform: translateX(-3px); }

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 10px 24px -10px rgba(0, 184, 217, 0.7);
}
.btn-primary:hover {
  background: #22C7E4;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0, 184, 217, 0.8);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: #fff; }

.hero .btn-secondary,
.section-dark .btn-secondary,
.cta-banner .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.hero .btn-secondary:hover,
.section-dark .btn-secondary:hover,
.cta-banner .btn-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}

.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.9rem; }

.btn[disabled],
.btn[aria-disabled="true"] { opacity: 0.75; cursor: progress; transform: none; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; }

@media (max-width: 479.98px) {
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: none;
}
.link-arrow span { transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--primary); }
.link-arrow:hover span { transform: translateX(4px); }
[dir="rtl"] .link-arrow span { transform: scaleX(-1); }

/* ---------- Hero ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--primary);
  color: var(--on-dark-muted);
}
.hero { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(4rem, 2.5rem + 6vw, 8rem); }

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 85% 15%, rgba(0, 184, 217, 0.32), transparent 65%),
    radial-gradient(40% 50% at 5% 95%, rgba(201, 162, 75, 0.16), transparent 65%),
    linear-gradient(160deg, #0B1F3A 0%, #0F2949 55%, #0B1F3A 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 65% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 65% 35%, #000 25%, transparent 75%);
}

.hero-inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
}
.text-accent {
  background: linear-gradient(90deg, var(--accent), #8BE6F4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { max-width: 38rem; margin-bottom: 2.25rem; color: var(--on-dark-muted); }

.trust-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}
.trust-line .icon { color: var(--accent-2); width: 18px; height: 18px; }

.hero-visual { width: 100%; max-width: 520px; margin-inline: auto; }
.hero-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-visual text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  fill: #fff;
}

.hv-flow { stroke-dasharray: 4 10; animation: hv-flow 2.4s linear infinite; }
.hv-ping {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: hv-ping 3.2s var(--ease) infinite;
}
.hv-orbit { transform-origin: 240px 210px; animation: spin 60s linear infinite; }
.hv-pill { animation: hv-float 6s ease-in-out infinite; }
.hv-glow { animation: hv-breathe 5s ease-in-out infinite; }

@keyframes hv-flow { to { stroke-dashoffset: -28; } }
@keyframes hv-ping {
  0% { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}
@keyframes hv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes hv-breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Inner-page hero */
.page-hero { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.page-hero h1 {
  max-width: 22ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.page-hero .lead { max-width: 44rem; margin: 0; color: var(--on-dark-muted); }

.breadcrumb { margin-bottom: 1.5rem; font-size: var(--fs-sm); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { color: rgba(255, 255, 255, 0.75); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.5rem; color: rgba(255, 255, 255, 0.4); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(1rem, 0.75rem + 1vw, 1.5rem); }
.grid > li { display: flex; }
.grid > li > * { flex: 1 1 auto; width: 100%; }

@media (min-width: 480px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 217, 0.35);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin-bottom: 1.5rem; }

.service-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -1px;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover::before { opacity: 1; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 184, 217, 0.16), rgba(0, 184, 217, 0.05));
  color: var(--accent-ink);
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge-lg { display: grid; width: 60px; height: 60px; border-radius: 16px; }
.icon-badge-lg .icon { width: 30px; height: 30px; }
.section-dark .icon-badge,
.mission-card .icon-badge { background: rgba(0, 184, 217, 0.14); color: var(--accent); }

/* Feature items (Why AudienceOne) */
.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feature:hover { border-color: rgba(0, 184, 217, 0.35); box-shadow: var(--shadow-sm); }
.feature .icon-badge { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.feature .icon-badge .icon { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 0.35rem; font-size: var(--fs-h4); }
.feature p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Process timeline ---------- */
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(0, 184, 217, 0.18), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(201, 162, 75, 0.1), transparent 70%);
}

.timeline {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(5, 1fr); }
}

.timeline-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: background-color 0.3s, border-color 0.3s;
}
.timeline-step:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(0, 184, 217, 0.4); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(0, 184, 217, 0.45);
  border-radius: 50%;
  background: rgba(0, 184, 217, 0.12);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
}
.timeline-step h3 { margin-bottom: 0.4rem; font-size: var(--fs-h4); }
.timeline-step p { margin: 0; font-size: var(--fs-sm); color: var(--on-dark-muted); }

@media (min-width: 1024px) {
  .timeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(1.75rem + 22px);
    inset-inline-end: -1rem;
    width: 1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(0, 184, 217, 0.15));
  }
}

/* ---------- Technology badges ---------- */
.badge-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.15rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease);
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.badge:hover { background: #fff; border-color: var(--accent); transform: translateY(-2px); }

.fine-print {
  margin: 2rem 0 0;
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
}

/* ---------- Industries ---------- */
.industry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.industry:hover { transform: translateY(-3px); border-color: rgba(0, 184, 217, 0.35); box-shadow: var(--shadow); }
.industry .icon-badge { margin: 0; width: 48px; height: 48px; border-radius: 12px; }
.industry .icon-badge .icon { width: 24px; height: 24px; }
.industry h3 { margin: 0; font-size: 1.0625rem; }

.industry-cta {
  justify-content: space-between;
  background: transparent;
  border: 1.5px dashed var(--border-strong);
  text-decoration: none;
  color: var(--primary);
}
.industry-cta p { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; }
.industry-cta .link-arrow { margin: 0; }
.industry-cta:hover { background: #fff; color: var(--primary); }

/* ---------- FAQ accordion ---------- */
.faq-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-heading { margin: 0; font-size: inherit; letter-spacing: normal; }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.35rem 0;
  border: 0;
  background: none;
  text-align: start;
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--accent-ink); }
.accordion-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.accordion-icon .icon { width: 18px; height: 18px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); background: var(--accent); }
.accordion-panel { padding-inline-end: 3rem; padding-bottom: 1.5rem; color: var(--muted); }
.accordion-panel p:last-child { margin-bottom: 0; }
.js .accordion-panel:not([hidden]) { animation: panel-in 0.3s var(--ease); }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 184, 217, 0.38), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(201, 162, 75, 0.2), transparent 40%),
    var(--primary);
  color: var(--on-dark-muted);
}
@media (min-width: 1024px) {
  .cta-banner { grid-template-columns: 1.5fr auto; gap: 3rem; }
}
.cta-banner h2 { margin-bottom: 0.75rem; color: #fff; }
.cta-banner p { margin: 0; max-width: 40rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.cta-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.cta-email .icon { color: var(--accent); }
.cta-email:hover { color: var(--accent); }

/* ---------- Services page ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.subnav ul {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.subnav a:hover { background: var(--bg-alt); color: var(--primary); }
.subnav a[aria-current] { background: var(--primary); color: #fff; }

.service-detail {
  padding-block: var(--space-section);
  scroll-margin-top: calc(var(--header-h) + 64px);
}
.service-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
  .service-grid .deliver-card { position: sticky; top: calc(var(--header-h) + 88px); }
}

.deliver-card {
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.deliver-card h3 { font-size: var(--fs-h4); margin-bottom: 1.25rem; }

.check-list,
.dot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.check-list li,
.dot-list li { position: relative; padding-inline-start: 2rem; }
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.2em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: rgba(0, 184, 217, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007A91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dot-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.35rem;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}
.dot-list li { color: var(--text); }

.outcomes {
  margin: 2rem 0 2.25rem;
  padding: 1.5rem;
  border-inline-start: 3px solid var(--accent-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-alt);
}
.section-alt .outcomes { background: #fff; }
.outcomes h3 { font-size: var(--fs-h4); margin-bottom: 1rem; }

/* ---------- About page ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1.15fr 0.85fr; gap: 4.5rem; }
}

.mission-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 184, 217, 0.3), transparent 50%),
    var(--primary);
  color: var(--on-dark-muted);
  box-shadow: var(--shadow-lg);
}
.mission-card h3 { color: #fff; margin-bottom: 0.75rem; }
.mission-card p { margin: 0; font-size: var(--fs-lg); line-height: 1.6; }
.mission-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border: 18px solid rgba(201, 162, 75, 0.18);
  border-radius: 50%;
}

.approach-list { counter-reset: approach; }
.approach-item {
  position: relative;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.approach-item h3 { font-size: var(--fs-h4); margin-bottom: 0.4rem; }
.approach-item p { margin: 0; color: var(--muted); }
.approach-item .icon-badge { width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 12px; }
.approach-item .icon-badge .icon { width: 22px; height: 22px; }

.commitment { max-width: 760px; margin-inline: auto; text-align: center; }
.commitment p { font-size: var(--fs-lg); }
.commitment .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
}
.contact-info h2 { font-size: var(--fs-h3); }
.contact-info > p { color: var(--muted); }

.contact-list { display: grid; gap: 1.25rem; margin: 2rem 0; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item .icon-badge { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.contact-item .icon-badge .icon { width: 22px; height: 22px; }
.contact-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-value { font-weight: 600; color: var(--primary); }
a.contact-value { color: var(--accent-ink); }
.contact-hint { display: block; font-size: var(--fs-xs); color: var(--muted); }

.map-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 184, 217, 0.25), transparent 55%),
    var(--primary);
  color: #fff;
  isolation: isolate;
}
.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
}
.map-pin .icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 0 0 10px rgba(0, 184, 217, 0.2), 0 0 0 22px rgba(0, 184, 217, 0.08);
}

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: var(--fs-h3); margin-bottom: 0.35rem; }
.form-intro { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1.75rem; }

.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.field-full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
}
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--muted); }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}
[dir="rtl"] .field select { background-position: left 1rem center; }

.field input::placeholder,
.field textarea::placeholder { color: #8593A8; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #94A3B8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 4px rgba(0, 184, 217, 0.2);
}

.field.has-error input:not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error input:not([type="checkbox"]):focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.15); }

.field-error {
  margin: 0.4rem 0 0;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--danger);
}
.field-error:empty { margin: 0; }

.field-meta { display: flex; justify-content: space-between; gap: 1rem; }
.char-count { margin: 0.4rem 0 0; font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; margin-inline-start: auto; }

.field-check { display: flex; align-items: flex-start; gap: 0.75rem; }
.field-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
  accent-color: var(--accent-ink);
  cursor: pointer;
}
.field-check label { margin: 0; font-weight: 500; color: var(--text); cursor: pointer; }
.field.has-error .field-check input[type="checkbox"] { outline: 2px solid var(--danger); outline-offset: 2px; }

/* Honeypot: hidden from people, visible to bots */
.hp-field {
  position: absolute !important;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}
.form-note { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }

.form-status:empty { display: none; }
.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.form-status.is-success { background: var(--success-bg); color: var(--success); border: 1px solid #ABEFC6; }
.form-status.is-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #FECDCA; }

.form-privacy {
  display: flex;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--muted);
}
.form-privacy .icon { width: 16px; height: 16px; margin-top: 0.1rem; color: var(--accent-ink); }

/* ---------- Prose (privacy policy) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.75rem; font-size: var(--fs-h3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; font-size: var(--fs-h4); }
.prose ul { padding-inline-start: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--accent-ink); }
.prose-callout {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-inline-start: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-alt);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.prose-callout p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(3.5rem, 3rem + 3vw, 5rem);
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
}
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: var(--accent); }
.site-footer .brand-mark rect { stroke: rgba(255, 255, 255, 0.16); }

.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; gap: 3rem; }
}
.footer-brand p { max-width: 34ch; margin: 1rem 0 0; }
.footer-title {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  letter-spacing: 0;
  color: #fff;
}
.footer-links { display: grid; gap: 0.65rem; list-style: none; margin: 0; padding: 0; }
.footer-links li { display: flex; align-items: flex-start; gap: 0.55rem; }
.footer-links .icon { width: 18px; height: 18px; margin-top: 0.15rem; color: var(--accent); }
.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p { margin: 0; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background-color 0.2s, color 0.2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); color: var(--primary); }
.back-to-top .icon { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .back-to-top, .subnav, .hero-visual, .cta-banner { display: none !important; }
  .hero, .page-hero, .section-dark { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
