
/* Official ADA Solution Tech logo (brand kit PNG) */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.logo-img--footer {
  height: 56px;
  max-width: 180px;
}
.site-footer .logo-img {
  /* PNG has dark text — on dark footer use filter or prefer dark variant */
  background: #F5F1EB;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  height: 48px;
  box-sizing: content-box;
}
@media (max-width: 480px) {
  .logo-img {
    height: 40px;
    max-width: 150px;
  }
}

/* =====================================================
   ADA Solution Tech — Modern Agency (Fluentechs-inspired)
   Pure CSS · Custom Properties · Fully Responsive
   ===================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand kit — ADA Solution Tech */
  --lion: #C89A5B;
  --almond: #E7D6B6;
  --isabelline: #F5F1EB;
  --powder-blue: #C7D3EB;
  --dusk: #4B567A;
  --space-cadet: #1F2744;

  --primary: #1F2744;          /* Space Cadet */
  --primary-dark: #151A2E;
  --primary-light: #4B567A;    /* Dusk */
  --primary-rgb: 31, 39, 68;
  --accent: #C89A5B;           /* Lion gold */
  --accent-dark: #9A7340;      /* Darker gold for text contrast */
  --accent-rgb: 200, 154, 91;

  --bg: #F5F1EB;               /* Isabelline */
  --bg-alt: #FFFFFF;
  --bg-card: #FFFFFF;
  --text: #1F2744;
  --text-muted: #4B567A;       /* Dusk — body secondary */
  --border: #E7D6B6;           /* Almond */
  --shadow: 0 8px 30px rgba(31, 39, 68, 0.08);
  --shadow-lg: 0 20px 50px rgba(31, 39, 68, 0.12);

  --cream: #F5F1EB;
  --vintage-gold: #C89A5B;
  --ink: #1F2744;
  --dark-section: #1F2744;

  --font-serif: "Roboto Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Roboto", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Roboto Mono", "Courier New", monospace;

  --section-pad: 5.5rem 0;
  --container: min(1180px, 92%);
  --radius: 10px;
  --radius-lg: 16px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);

  --header-h: 80px;
}

/* Dark mode */

/* Refined brand lockup */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--primary);
}
.logo-mark .logo-stroke {
  stroke: currentColor;
}
.logo-mark .logo-fill {
  fill: var(--accent);
}
.logo-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.15;
}
.logo-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.logo-tagline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  text-transform: none;
}

.site-footer .logo-mark {
  color: var(--accent);
}
.site-footer .logo-name {
  color: #F7F3EE;
}
.site-footer .logo-tagline {
  color: var(--accent);
}
.loader-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.loader-logo span {
  color: var(--accent);
  font-weight: 500;
}
@media (max-width: 480px) {
  .logo-tagline {
    display: none;
  }
  .logo-name {
    font-size: 0.85rem;
  }
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* WCAG 2.2 — 2.4.11 Focus Not Obscured: leave room under fixed header */
  scroll-padding-top: 1rem;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
  cursor: none; /* custom cursor */
}

/* Custom cursor — adapts to light/dark backgrounds */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--space-cadet, #1F2744);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 2px solid var(--space-cadet, #1F2744);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.25s ease, opacity 0.3s, background 0.25s ease;
  opacity: 0.55;
  background: transparent;
}

/* On dark backgrounds → light cursor */
.cursor.is-on-dark {
  background: #F5F1EB;
}
.cursor-follower.is-on-dark {
  border-color: #F5F1EB;
}

/* On light backgrounds → dark cursor */
.cursor.is-on-light {
  background: #1F2744;
}
.cursor-follower.is-on-light {
  border-color: #1F2744;
}

body:hover .cursor,
body:hover .cursor-follower {
  opacity: 1;
}

.cursor.hover,
.cursor-follower.hover {
  width: 48px;
  height: 48px;
  background: transparent;
  border-width: 2px;
}
.cursor.hover.is-on-dark,
.cursor-follower.hover.is-on-dark {
  border-color: #F5F1EB;
  background: rgba(245, 241, 235, 0.12);
}

/* Cursor hit-test states */
.cursor.text-hit {
  width: 6px;
  height: 22px;
  border-radius: 2px;
}
.cursor-follower.text-hit {
  width: 28px;
  height: 28px;
  opacity: 0.4;
}

.cursor.hover.is-on-light,
.cursor-follower.hover.is-on-light {
  border-color: #1F2744;
  background: rgba(31, 39, 68, 0.08);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; color: var(--text-muted); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--primary-dark); }

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

ul { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Utility ---------- */
.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: var(--section-pad);
  background: var(--bg);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.section .eyebrow,
.page-hero .eyebrow {
  color: var(--accent-dark);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 48px;
  min-width: 24px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
}

.btn-accent {
  background: var(--accent);
  color: var(--space-cadet, #1F2744);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
  background: var(--cream);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-white:hover {
  background: var(--cream);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.08);
}
.btn-white:hover {
  background: var(--cream);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 3px;
  animation: loadProgress 1.4s ease-in-out forwards;
}

@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: var(--container);
  margin-inline: auto;
}

.logo:hover { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0.25rem;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme toggle */

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  /* WCAG 2.2 — 2.5.8 Target Size (Minimum): ≥24×24 CSS px */
  width: 44px;
  height: 44px;
  min-width: 24px;
  min-height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.hamburger span {
  width: 100%;
  max-width: 22px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
}

/* ---------- Hero (Video Background) ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3rem 0 5rem;
  background: var(--cream);
  text-align: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25;
  filter: grayscale(0.3);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(196, 160, 82, 0.15) 0%, transparent 55%),
    linear-gradient(180deg, rgba(26, 39, 68, 0.2) 0%, rgba(15, 24, 41, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-content .eyebrow {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #F7F3EE;
  margin-bottom: 0.35rem;
}
.hero-content h1 .highlight {
  color: var(--accent);
  display: block;
  font-weight: 500;
}

.hero-content p {
  font-size: 1.1rem;
  color: #C5D0E6;
  max-width: 36rem;
  margin: 1.25rem auto 2rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page Hero (inner pages) */

/* Hero image loading optimization */
.hero-bg-img,
.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Avoid layout shift — parent has explicit min-height */
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Prefer static image until video can play; reduce paint cost */
.hero--home .hero-video {
  opacity: 0.3;
  z-index: 1;
}

.hero--home .hero-overlay {
  z-index: 2;
}

.hero--home .hero-content,
.hero--home .hero-scroll {
  z-index: 3;
}

.page-hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}

.page-hero h1 {
  color: var(--text);
}
.page-hero .eyebrow {
  color: var(--accent-dark, var(--accent));
}
.page-hero p {
  color: var(--text-muted);
}

.page-hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  height: 100%;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleY(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(196, 160, 82, 0.15);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Stats Counter ---------- */
.stats-section {
  position: relative;
  z-index: 3;
  margin-top: -3.5rem;
  padding: 0 0 3rem;
  background: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.stat-item .stat-number {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-number .suffix,
.stat-number[data-suffix]::after {
  color: var(--primary);
}

.stat-item .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  letter-spacing: 0.03em;
}

/* ---------- Gallery / Lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.gallery-item img {
  transition: filter 0.3s, transform 0.3s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  font-size: 1.5rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  min-width: 24px;
  min-height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group .error-msg {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #ef4444;
}

.form-group.error .error-msg {
  display: block;
}

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  color: #16a34a;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-error {
  display: none;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #dc2626;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: center;
}

.form-error.show {
  display: block;
}

/* Honeypot — visually hidden, still in DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn.is-loading {
  opacity: 0.75;
  cursor: wait;
  pointer-events: none;
}

/* ---------- About / Team ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  transform: translate(12px, 12px);
  z-index: -1;
  opacity: 0.4;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.team-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary);
}

.team-card h4 {
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ---------- Services detail ---------- */

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: """;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-section);
  color: #D1D5DB;
  padding: 4.5rem 0 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #999999;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EEEEEE;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: -0.35rem;
}

.footer-col ul a {
  color: #999999;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #666666;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  /* sits above Ally widget (ally is ~56px + 1.5rem bottom) */
  bottom: calc(56px + 1.5rem + 0.85rem);
  right: 2rem;
  width: 48px;
  height: 48px;
  background: #1F2744;
  color: #F5F1EB;
  border: 2px solid transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.3s var(--ease),
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(31, 39, 68, 0.35);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.is-on-light {
  background: #1F2744;
  color: #F5F1EB;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(31, 39, 68, 0.35);
}

.back-to-top.is-on-dark {
  background: #F5F1EB;
  color: #1F2744;
  border-color: rgba(245, 241, 235, 0.5);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.back-to-top.is-on-light:hover,
.back-to-top.is-on-light:focus-visible {
  background: #151A2E;
}

.back-to-top.is-on-dark:hover,
.back-to-top.is-on-dark:focus-visible {
  background: #E7D6B6;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 3.5rem 0;
    --header-h: 64px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    padding-top: calc(var(--header-h) + 1rem);
    padding-inline: 1.25rem;
  }

  .mobile-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .hero-content p {
    font-size: 1rem;
  }

  

  /* Hide custom cursor on touch devices */
  .cursor,
  .cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Accessibility ---------- */
/* WCAG 2.2 — Focus Visible (2.4.7) + Focus Not Obscured support (2.4.11) */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.28);
}

:target,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  scroll-margin-top: 1rem;
}

/* Ensure interactive targets meet 2.5.8 (≥24×24 CSS px) */
.service-card-link {
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
}

.nav-links a {
  min-height: 44px;
}

.footer-col a,
.site-help a,
.footer-bottom a {
  min-height: 14px;
  display: inline-flex;
  align-items: center;
}

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

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Accessibility Ally Widget ---------- */
.a11y-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 950;
  font-family: var(--font-sans);
}

.a11y-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: #1F2744;
  color: #F5F1EB;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(31, 39, 68, 0.45);
  transition: transform 0.2s var(--ease), background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.a11y-toggle.is-on-light {
  background: #1F2744;
  color: #F5F1EB;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(31, 39, 68, 0.45);
}

.a11y-toggle.is-on-dark {
  background: #F5F1EB;
  color: #1F2744;
  border-color: rgba(245, 241, 235, 0.55);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  transform: scale(1.06);
  outline: none;
}

.a11y-toggle.is-on-light:hover,
.a11y-toggle.is-on-light:focus-visible,
.a11y-toggle.is-on-light[aria-expanded="true"] {
  background: #151A2E;
}

.a11y-toggle.is-on-dark:hover,
.a11y-toggle.is-on-dark:focus-visible,
.a11y-toggle.is-on-dark[aria-expanded="true"] {
  background: #E7D6B6;
}

.a11y-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.a11y-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: min(320px, calc(100vw - 2rem));
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  max-height: min(70vh, 480px);
  overflow-y: auto;
}

.a11y-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.a11y-panel-header h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.a11y-panel-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-alt);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.2s;
}

.a11y-panel-close:hover {
  background: var(--border);
}

.a11y-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.a11y-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  text-align: center;
  line-height: 1.25;
  min-height: 44px;
  min-width: 24px;
}

.a11y-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.a11y-btn:hover,
.a11y-btn:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
}

.a11y-btn.active {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

.a11y-btn.span-2 {
  grid-column: span 2;
}

.a11y-footer-note {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* Applied body states from widget */
html.a11y-large-text {
  font-size: 18.5px;
}

html.a11y-xlarge-text {
  font-size: 20.5px;
}

html.a11y-readable-font body,
html.a11y-readable-font body * {
  font-family: Arial, Helvetica, sans-serif !important;
}

html.a11y-high-contrast {
  --bg: #000000;
  --bg-alt: #111111;
  --bg-card: #111111;
  --text: #ffffff;
  --text-muted: #e5e5e5;
  --border: #ffffff;
  --ink: #ffffff;
  --primary: #ffff00;
  --primary-dark: #ffff00;
  --primary-light: #ffff00;
}

html.a11y-high-contrast body {
  background: #000;
  color: #fff;
}

html.a11y-high-contrast a {
  color: #ffff00;
}

html.a11y-grayscale body {
}

html.a11y-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
}

html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='black' stroke='white' stroke-width='2' d='M4 4l10 24 3-9 9-3z'/%3E%3C/svg%3E") 2 2, auto !important;
}

html.a11y-pause-anim *,
html.a11y-pause-anim *::before,
html.a11y-pause-anim *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

html.a11y-hide-images img:not(.a11y-keep) {
  opacity: 0.08 !important;
}

/* Mobile FAB stack: Ally (bottom) + Back-to-top (above) */
@media (max-width: 768px) {
  .a11y-widget {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    left: auto;
    z-index: 950;
  }

  .a11y-toggle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .a11y-toggle svg {
    width: 24px;
    height: 24px;
  }

  .a11y-panel {
    position: fixed;
    bottom: calc(48px + 1.25rem + env(safe-area-inset-bottom, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    left: max(0.75rem, env(safe-area-inset-left, 0px));
    width: auto;
    max-width: none;
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }

  /* Stack back-to-top above Ally so they never overlap */
  .back-to-top {
    bottom: calc(48px + 1rem + 0.75rem + env(safe-area-inset-bottom, 0px));
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .back-to-top.visible {
    /* keep transform from base rule */
  }
}

@media (max-width: 480px) {
  .a11y-widget {
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    right: max(0.65rem, env(safe-area-inset-right, 0px));
  }

  .a11y-toggle {
    width: 46px;
    height: 46px;
  }

  .back-to-top {
    bottom: calc(46px + 0.85rem + 0.65rem + env(safe-area-inset-bottom, 0px));
    right: max(0.65rem, env(safe-area-inset-right, 0px));
    width: 42px;
    height: 42px;
  }

  .a11y-panel {
    bottom: calc(46px + 1rem + env(safe-area-inset-bottom, 0px));
    right: 0.5rem;
    left: 0.5rem;
  }
}

/* Skip link — visible on focus for keyboard / screen reader users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.footer-heading {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

/* High-contrast mode focus (Ally widget) */
html.a11y-high-contrast :focus-visible {
  outline: 3px solid #ffff00;
  box-shadow: 0 0 0 6px rgba(255, 255, 0, 0.4);
}

/* WCAG 2.2 — 3.2.6 Consistent Help */
.site-help {
  font-size: 0.85rem;
}
.site-help a {
  color: #999999;
}
.site-help a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

/* ---------- Service cards ---------- */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s;
  border-radius: var(--radius-lg);
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
  border-radius: var(--radius-lg);
}

.service-card-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 18, 0.88) 0%, rgba(11, 11, 18, 0.2) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem 1.35rem;
  z-index: 1;
}

.service-card-overlay h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.service-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.85rem;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.service-card-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-card-points li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.service-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.service-card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s, gap 0.2s;
}

.service-card-link:hover {
  color: var(--accent);
  gap: 0.55rem;
}

@media (max-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

/* ========== WCAG 2.2 reinforcements ========== */
html {
  scroll-padding-top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(139, 105, 20, 0.25);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  scroll-margin-top: 1rem;
}

/* 2.5.8 Target Size Minimum */
.logo {
  min-height: 44px;
}
.logo-tagline {
  /* decorative secondary — parent logo provides target */
}
.service-card-link,
.nav-links a,
.footer-col a,
.site-help a {
  min-height: 14px;
}
.btn,

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cursor, .cursor-follower { display: none !important; }
  body { cursor: auto; }
}

/* ========== WCAG 2.2 Level AAA enhancements ========== */

/*
  1.4.6 Contrast (Enhanced): body/muted text targets ≥7:1
  2.5.5 Target Size (Enhanced): interactive targets ≥44×44 CSS px
  2.3.3 Animation from Interactions: honor prefers-reduced-motion
  2.4.9 Link Purpose: links underlined in content for clarity
  3.2.5 Change on Request: no unexpected context changes (forms submit on request only)
*/

/* 2.5.5 Target Size (Enhanced) — 44×44 minimum */
.btn,

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.35rem;
}

.footer-col a,
.site-help a,
.footer-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Content links: always underlined (helps 2.4.4 / 2.4.9 purpose + color independence) */
.section p a,
.card p a,
.service-card-body a:not(.service-card-link),
.about-content a,
.footer-brand p a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Focus: high-visibility AAA-friendly indicator */
:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(200, 154, 91, 0.35);
}

/* 2.3.3 / motion — already present; reinforce */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Skip link large target */
.skip-link {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}

/* Form controls large enough */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  min-height: 44px;
  font-size: 1rem;
}

.form-help-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 40rem;
}



/* ---------- Our Clients carousel ---------- */
.clients-section .section-header {
  margin-bottom: 2rem;
}

.clients-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.clients-carousel {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.clients-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: clients-marquee 40s linear infinite;
  will-change: transform;
}

.clients-carousel-wrapper:hover .clients-track,
.clients-carousel-wrapper:focus-within .clients-track {
  animation-play-state: paused;
}

.clients-slide {
  flex: 0 0 auto;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #E7D6B6);
  border-radius: var(--radius-lg, 16px);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow, 0 8px 24px rgba(31,39,68,0.06));
}

.clients-slide img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.clients-slide:hover img,
.clients-slide:focus-within img {
  filter: grayscale(0);
  opacity: 1;
}

.clients-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border, #E7D6B6);
  background: var(--bg-card, #fff);
  color: var(--text, #1F2744);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.clients-nav:hover,
.clients-nav:focus-visible {
  background: var(--primary, #1F2744);
  color: #F5F1EB;
  border-color: var(--primary, #1F2744);
  outline: none;
}

@keyframes clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .clients-carousel {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .clients-slide {
    width: 140px;
    height: 88px;
    padding: 0.75rem;
  }
  .clients-nav {
    display: none;
  }
}
