/* ============================================================
   AFIQ TECHNOLOGY SOLUTIONS — styles.css
   ============================================================ */

/* 1. Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap');

/* 2. Design Tokens
   ============================================================ */
:root {
  --color-primary:      #0A0F1E;
  --color-accent:       #00B4D8;
  --color-accent-dark:  #0077B6;
  --color-bg:           #F8FAFC;
  --color-surface:      #FFFFFF;
  --color-text:         #1E293B;
  --color-text-muted:   #64748B;
  --color-border:       #E2E8F0;
  --radius:             8px;
  --shadow-sm:          0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:          0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:          0 8px 32px rgba(0,0,0,0.13);

  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Syne', system-ui, -apple-system, sans-serif;

  --transition:   0.3s ease;
  --nav-height:   72px;
}

/* 3. Full CSS Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
}

address {
  font-style: normal;
}

/* 4. Skip-to-Content (Accessibility)
   ============================================================ */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  transition: top var(--transition);
  white-space: nowrap;
}

.skip-to-content:focus {
  top: 1rem;
}

/* 5. Focus-Visible Outlines
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* 6. Base Typography — Fluid Scale
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4rem);   font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw + 0.75rem, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);  font-weight: 600; }
h4 { font-size: clamp(1rem, 1.5vw + 0.25rem, 1.25rem);  font-weight: 600; }

p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.75;
}

/* 7. Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background-color: var(--color-primary);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.68);
}

.section--alt {
  background-color: #EEF2F7;
}

/* 8. Section Header (reusable)
   ============================================================ */
.section-header {
  margin-bottom: 3.5rem;
}

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

.section-header .badge {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

/* 9. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:active {
  transform: translateY(1px);
}

/* Primary */
.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.40);
}

/* Ghost */
.btn-ghost {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.28);
}

/* Dark */
.btn-dark {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background-color: #151c33;
  border-color: #151c33;
  box-shadow: var(--shadow-md);
}

/* Size modifiers */
.btn--lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* 10. Card Component
   ============================================================ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 180, 216, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  font-size: 1.375rem;
  flex-shrink: 0;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.card__body {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* 11. Badge Component
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-color: rgba(0, 180, 216, 0.15);
  color: var(--color-accent-dark);
  line-height: 1;
}

.badge--light {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-accent);
}

/* 12. Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background-color: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.navbar__logo::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.navbar.scrolled .navbar__logo {
  color: var(--color-primary);
}

/* Nav Links */
.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: width var(--transition);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: #fff;
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar.scrolled .navbar__links a {
  color: var(--color-text-muted);
}

.navbar.scrolled .navbar__links a:hover,
.navbar.scrolled .navbar__links a.active {
  color: var(--color-primary);
}

/* Nav CTA button */
.navbar__cta {
  display: none;
}

/* Hamburger — 3 spans as lines */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition:
    background-color var(--transition),
    transform var(--transition),
    opacity var(--transition);
}

.navbar.scrolled .navbar__hamburger span {
  background-color: var(--color-primary);
}

/* Open state */
.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile drawer */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
}

.navbar__mobile.open {
  display: flex;
}

.navbar__mobile a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}

.navbar__mobile a:last-of-type {
  border-bottom: none;
}

.navbar__mobile a:hover {
  color: var(--color-accent-dark);
}

.navbar__mobile .btn {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
}

/* 13. Footer
   ============================================================ */
.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

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

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__logo::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.75;
  max-width: 28ch;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.60);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
  text-align: center;
  padding-top: 2rem;
}

.footer__copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.38);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--color-accent);
}

/* 14. Animate on Scroll
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers */
.animate-on-scroll[data-delay="100"] { transition-delay: 0.10s; }
.animate-on-scroll[data-delay="200"] { transition-delay: 0.20s; }
.animate-on-scroll[data-delay="300"] { transition-delay: 0.30s; }
.animate-on-scroll[data-delay="400"] { transition-delay: 0.40s; }
.animate-on-scroll[data-delay="500"] { transition-delay: 0.50s; }

/* 15. Content Blocks — Alternating Layout
   ============================================================ */
.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.content-block + .content-block {
  margin-top: 5rem;
}

.content-block__media {
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  background: var(--color-border);
  min-height: 300px;
}

.content-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-block__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.content-block__body .badge {
  align-self: flex-start;
}

.content-block__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.content-block__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.6;
}

.content-block__feature::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  margin-top: 0.5rem;
}

/* 16. Stat Counter Cards
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

.section--dark .stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.section--dark .stat-card__label {
  color: rgba(255, 255, 255, 0.58);
}

/* 17. Timeline
   ============================================================ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), rgba(0, 180, 216, 0.08));
}

.timeline__step {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.timeline__marker {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.18);
}

.timeline__content {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  flex: 1;
}

.timeline__content h4 {
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}

.timeline__content p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.section--dark .timeline__content h4 {
  color: #fff;
}

/* 18. Trust Bar
   ============================================================ */
.trust-bar {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.25rem 0;
}

.trust-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.trust-bar__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.trust-bar__logo {
  height: 28px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition);
}

.trust-bar__logo:hover {
  opacity: 0.8;
  filter: grayscale(0);
}

.trust-bar__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  opacity: 0.45;
  letter-spacing: -0.02em;
}

/* 19. Grid Helpers
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* 20. Hero
   ============================================================ */
.hero {
  background-color: var(--color-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 50%, rgba(0, 180, 216, 0.13) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-block: 4rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* 21. Page Hero (interior pages)
   ============================================================ */
.page-hero {
  background-color: var(--color-primary);
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(0, 180, 216, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero .badge {
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
  margin-inline: auto;
}

/* 22. CTA Banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d1a3a 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* 23. Testimonial Card
   ============================================================ */
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial__quote {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
  position: relative;
  padding-top: 1rem;
}

.testimonial__quote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 0;
  font-size: 3.5rem;
  color: var(--color-accent);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  opacity: 0.6;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-border);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.125rem;
}

/* 24. Form Elements
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.65;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.18);
}

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

/* 25. Divider
   ============================================================ */
.divider {
  height: 1px;
  background-color: var(--color-border);
  border: none;
  margin: 0;
}

/* 26. Utility Classes
   ============================================================ */
.text-center      { text-align: center; }
.text-accent      { color: var(--color-accent); }
.text-muted       { color: var(--color-text-muted); }
.text-white       { color: #fff; }

.flex             { display: flex; }
.flex-col         { flex-direction: column; }
.items-center     { align-items: center; }
.justify-center   { justify-content: center; }
.justify-between  { justify-content: space-between; }
.flex-wrap        { flex-wrap: wrap; }
.gap-sm           { gap: 0.75rem; }
.gap-md           { gap: 1.5rem; }

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

/* 27. Navbar Logo — Name + Tagline Group
   ============================================================ */
.navbar__logo-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar__logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.25;
}

.navbar__logo-tag {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.62;
  line-height: 1.2;
}

/* 28. Footer Logo — Name + Tagline Group
   ============================================================ */
.footer__logo {
  text-decoration: none;
}

.footer__logo-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer__logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  line-height: 1.25;
}

.footer__logo-tag {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.2;
  margin-top: 0.1rem;
}

/* 29. Footer Social Icons
   ============================================================ */
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  transition: background-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.footer__social-link:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* 30. Footer Address / Contact List
   ============================================================ */
.footer__address {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}

.footer__contact-list li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--color-accent);
  opacity: 0.8;
}

.footer__contact-list a {
  color: rgba(255, 255, 255, 0.62);
  transition: color var(--transition);
}

.footer__contact-list a:hover {
  color: var(--color-accent);
}

.footer__response-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

.footer__response-note svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — 768px (tablet and up)
   ============================================================ */
@media (min-width: 768px) {

  /* Navbar */
  .navbar__links {
    display: flex;
  }

  .navbar__cta {
    display: inline-flex;
  }

  .navbar__hamburger {
    display: none;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer__legal {
    justify-content: flex-end;
  }

  /* Content blocks */
  .content-block {
    grid-template-columns: 1fr 1fr;
  }

  .content-block.reverse .content-block__media {
    order: 2;
  }

  .content-block.reverse .content-block__body {
    order: 1;
  }

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

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

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Trust bar */
  .trust-bar__inner {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Forms */
  .form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Timeline */
  .timeline::before {
    left: 19px;
  }
}

/* ============================================================
   RESPONSIVE — 1200px (desktop and up)
   ============================================================ */
@media (min-width: 1200px) {

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

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

  .content-block {
    gap: 5rem;
  }
}

/* ============================================================
   HERO — ANIMATED DOT GRID
   ============================================================ */
.hero__bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: dotsDrift 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes dotsDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 36px 36px; }
}

/* ============================================================
   HERO — SCROLL INDICATOR
   ============================================================ */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.hero__scroll:hover {
  color: rgba(255, 255, 255, 0.72);
}

.hero__scroll svg {
  animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);   opacity: 0.50; }
  50%       { transform: translateY(8px); opacity: 1;   }
}

/* ============================================================
   TRUST BAR — SECTOR BADGES
   ============================================================ */
.trust-bar__sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  align-items: center;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}

.service-card__link:hover {
  gap: 0.5rem;
  color: var(--color-accent);
}

/* ============================================================
   STATS GRID — 3-COLUMN VARIANT
   ============================================================ */
.stats-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  margin-inline: auto;
}

/* ============================================================
   DIFFERENTIATORS
   ============================================================ */
.differentiators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.differentiator {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.differentiator__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background-color: rgba(0, 180, 216, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.section--dark .differentiator__title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.section--dark .differentiator__body {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.72;
  margin: 0;
}

/* ============================================================
   APPROACH STEPS — HORIZONTAL TIMELINE
   ============================================================ */
.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.approach-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.approach-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 6px rgba(0, 180, 216, 0.14);
}

.approach-step__content {
  padding-top: 0.625rem;
}

.approach-step__content h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.approach-step__content p {
  font-size: 0.9375rem;
  margin: 0;
}

/* ============================================================
   CASE STUDY CARDS
   ============================================================ */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.case-study-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.case-study-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.case-study-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-top: 0.875rem;
  margin-bottom: 0.75rem;
}

.case-study-card__body {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  flex: 1;
  margin: 0 0 1.5rem;
}

.case-study-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}

.case-study-card__link:hover {
  gap: 0.5rem;
  color: var(--color-accent);
}

.case-studies-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================================
   CTA BANNER — CYAN-TO-DARK GRADIENT VARIANT
   ============================================================ */
.cta-banner--cyan {
  background: linear-gradient(135deg, #0077B6 0%, var(--color-primary) 100%);
}

/* ============================================================
   RESPONSIVE — 768px NEW COMPONENT ADDITIONS
   ============================================================ */
@media (min-width: 768px) {

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

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

  .approach-steps {
    flex-direction: row;
    align-items: flex-start;
    position: relative;
    gap: 0;
  }

  /* Connecting line through circle centers */
  .approach-steps::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
  }

  .approach-step {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-inline: 1.5rem;
  }

  .approach-step:first-child { padding-left: 0; }
  .approach-step:last-child  { padding-right: 0; }

  .approach-step__num {
    position: relative;
    z-index: 1;
  }

  .approach-step__content {
    padding-top: 0;
  }

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

/* ============================================================
   RESPONSIVE — 1200px NEW COMPONENT ADDITIONS
   ============================================================ */
@media (min-width: 1200px) {

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  margin-bottom: 1.25rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1;
}

.breadcrumb li + li::before {
  content: '/';
  opacity: 0.4;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb li:last-child {
  color: rgba(255, 255, 255, 0.88);
}

/* ============================================================
   PAGE HERO VARIANTS
   ============================================================ */
.page-hero--sm {
  min-height: 45vh;
}

.page-hero--left {
  text-align: left;
}

.page-hero--left .lead {
  margin-inline: 0;
}

/* ============================================================
   TECHNOLOGY PARTNERS GRID
   ============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tech-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.tech-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tech-card__name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.3;
}

.tech-card__name::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 2px;
  background-color: var(--color-accent);
  flex-shrink: 0;
}

.tech-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tech-card__item {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.tech-card__item::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE — 768px SERVICES PAGE ADDITIONS
   ============================================================ */
@media (min-width: 768px) {

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   UTILITY — HIDDEN (honeypot, JS-toggled)
   ============================================================ */
.hidden {
  display: none !important;
}

/* ============================================================
   ABOUT PAGE — GEOMETRIC CSS GRAPHIC
   ============================================================ */
.about-geo {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 3rem auto 0;
}

.about-geo__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
}

.about-geo__ring--outer {
  width: 90%;
  height: 90%;
  border-color: #D1E8F0;
}

.about-geo__ring--mid {
  width: 60%;
  height: 60%;
  border-color: #A0D4E8;
}

.about-geo__ring--inner {
  width: 30%;
  height: 30%;
  border-color: var(--color-accent);
  border-width: 2px;
}

.about-geo__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(0,180,216,0.15);
}

.about-geo__node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent-dark);
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}

.about-geo__node--1 { top: 5%;  left: 50%; transform: translateX(-50%); }
.about-geo__node--2 { top: 50%; right: 5%; transform: translateY(-50%); }
.about-geo__node--3 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.about-geo__node--4 { top: 50%; left: 5%; transform: translateY(-50%); }

.about-geo__line {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), transparent);
  transform-origin: left center;
  opacity: 0.4;
}

.about-geo__line--1 { width: 43%; transform: rotate(-90deg) translateX(0); top: calc(50% - 1px); left: 50%; transform: rotate(-90deg); transform-origin: 0 1px; }
.about-geo__line--2 { width: 43%; top: calc(50% - 1px); left: 50%; transform: rotate(0deg); transform-origin: 0 1px; }
.about-geo__line--3 { width: 43%; top: calc(50% - 1px); left: 50%; transform: rotate(90deg); transform-origin: 0 1px; }
.about-geo__line--4 { width: 43%; top: calc(50% - 1px); left: 50%; transform: rotate(180deg); transform-origin: 0 1px; }

.about-geo__label {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.about-geo__label--tl { top: 8%;  left: 8%; }
.about-geo__label--tr { top: 8%;  right: 8%; text-align: right; }
.about-geo__label--bl { bottom: 8%; left: 8%; }
.about-geo__label--br { bottom: 8%; right: 8%; text-align: right; }

/* ============================================================
   ABOUT PAGE — TEAM GRID
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.team-card__role {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.team-card__bio {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   ABOUT PAGE — ROLE BADGES (light background variant)
   ============================================================ */
.role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-surface);
  letter-spacing: 0.1px;
  transition: background var(--transition), border-color var(--transition);
}

.role-badge:hover {
  background: #EFF9FD;
  border-color: var(--color-accent);
}

/* ============================================================
   ABOUT PAGE — CERTIFICATION BADGES
   ============================================================ */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.05);
  letter-spacing: 0.2px;
  transition: background var(--transition), border-color var(--transition);
}

.cert-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.cert-badge:hover {
  background: rgba(0,180,216,0.12);
  border-color: var(--color-accent);
}

/* ============================================================
   CASE STUDIES PAGE — FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.125rem;
  border-radius: 100px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.filter-btn--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================================
   CASE STUDIES PAGE — CS GRID & CARDS
   ============================================================ */
.cs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cs-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow var(--transition);
}

.cs-card:hover {
  box-shadow: var(--shadow-md);
}

.cs-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
}

.cs-card__client {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  letter-spacing: 0.2px;
  margin: 0;
}

.cs-card__challenge {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.cs-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition);
  text-align: left;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.cs-card__toggle:hover {
  color: var(--color-accent);
}

.cs-card__chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.cs-card__detail {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 0.25rem;
}

.cs-card__outcomes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cs-card__outcomes li {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}

.cs-card__outcomes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.cs-no-results {
  text-align: center;
  padding: 3rem 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ============================================================
   CAREERS PAGE — TRAITS GRID
   ============================================================ */
.traits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.traits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.traits-list__item {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.65;
  padding-left: 1.5rem;
  position: relative;
}

.traits-list__item::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ============================================================
   CAREERS PAGE — NOTICE BOX
   ============================================================ */
.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #EFF9FD;
  border: 1px solid #A0D4E8;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 680px;
  margin: 2rem auto 0;
}

.notice-box__icon {
  color: var(--color-accent-dark);
  flex-shrink: 0;
  padding-top: 1px;
}

.notice-box__body p {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   CONTACT PAGE — LAYOUT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-col__heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.form-required {
  color: #DC2626;
  margin-left: 0.125rem;
}

.form-optional {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 0.25rem;
}

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 3rem 2rem;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--radius);
  color: #15803D;
}

.contact-success p {
  font-size: 1rem;
  font-weight: 500;
  color: #166534;
  margin: 0;
}

/* ============================================================
   CONTACT PAGE — INFO COLUMN
   ============================================================ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contact-info__firm {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin: 0;
}

.contact-info__item svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact-info__item a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-info__item a:hover {
  color: var(--color-accent-dark);
}

.contact-info__response {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #16A34A;
  margin: 0.25rem 0 0;
}

.contact-info__response svg {
  color: #16A34A;
  flex-shrink: 0;
}

.contact-info__rule {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1.5rem 0;
}

.contact-info__offer-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contact-info__offer-body {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.contact-service-area {
  margin-top: 1.5rem;
  background: var(--color-primary);
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.contact-service-area p {
  margin: 0;
  color: rgba(255,255,255,0.88);
}

/* ============================================================
   CONTACT PAGE — FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  min-height: 64px;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
  background: var(--color-bg);
  color: var(--color-accent-dark);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   CONTACT INFO COLUMN WRAPPER
   ============================================================ */
.contact-info-col {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   TASK 12 — MOBILE RESPONSIVENESS (complete pass)
   ============================================================ */

/* Prevent horizontal scroll globally */
html,
body {
  overflow-x: hidden;
}

/* Global tap targets */
a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   RESPONSIVE — Up to 767px (mobile-only)
   ============================================================ */
@media (max-width: 767px) {

  /* === Typography === */
  h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); word-break: break-word; }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); word-break: break-word; }
  h3 { font-size: clamp(1.05rem, 4vw, 1.4rem); word-break: break-word; }

  /* === Container === */
  .container { padding-inline: 1.25rem; }

  /* === Sections === */
  .section { padding: 3rem 0; }

  /* === Navbar === */
  .navbar__links,
  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__logo-name {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  /* === Hero === */
  .hero {
    min-height: 100svh;
    min-height: 100vh;
    text-align: center;
    padding-top: var(--nav-height);
  }

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

  .hero__cta .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Page heroes: auto height, comfortable padding */
  .page-hero {
    min-height: auto;
    padding: 6rem 0 3.5rem;
  }

  .page-hero--sm {
    min-height: auto;
  }

  /* === Grids: all 1-column on mobile === */
  .grid-2,
  .grid-3,
  .grid-4,
  .stats-grid,
  .stats-grid--3,
  .services-grid,
  .differentiators-grid,
  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  /* === Cards: tighter padding === */
  .card { padding: 1.25rem; }
  .stat-card { padding: 1.5rem 1.25rem; }

  /* === Content blocks: always stack vertically, media on top === */
  .content-block,
  .content-block.reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .content-block__media { order: -1; }
  .content-block__body  { order: 0; }

  /* === Approach steps: vertical on mobile === */
  .approach-steps {
    flex-direction: column;
  }

  .approach-steps::before { display: none; }

  .approach-step {
    flex-direction: row;
    padding: 0;
    gap: 1rem;
  }

  /* === Case studies page === */
  .filter-bar {
    justify-content: center;
  }

  .filter-btn { font-size: 0.8125rem; padding: 0.4rem 0.875rem; }

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

  /* === Team grid: 1 col === */
  .team-grid { grid-template-columns: 1fr; }

  /* === Traits grid: 1 col === */
  .traits-grid { grid-template-columns: 1fr; }

  /* === Contact: form first, info below === */
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }

  .contact-form-col { order: 0; }
  .contact-info-col { order: 1; }

  /* All inputs 16px min to prevent iOS zoom */
  .form-input,
  .form-textarea,
  select.form-input {
    font-size: 1rem;
    width: 100%;
  }

  .contact-form__submit {
    width: 100%;
    font-size: 1rem;
  }

  /* === Footer: stack and center === */
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__social { justify-content: center; }
  .footer__contact-list li { justify-content: center; }
  .footer__response-note { justify-content: center; }

  .footer__links li { padding: 0.25rem 0; }

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

  /* === CTA banner === */
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cta-banner__actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* === Cert badges === */
  .cert-badges { justify-content: center; }

  /* === Services detail sections: remove HR visual weight === */
  .divider { margin: 3rem 0; }

  /* === Notice box === */
  .notice-box { flex-direction: column; gap: 0.75rem; }

  /* === About geo graphic: smaller === */
  .about-geo { max-width: 280px; margin: 2rem auto 0; }

  /* === Page hero inner: remove extra spacing === */
  .page-hero__inner { padding-top: 0; }

}

/* ============================================================
   RESPONSIVE — 768px – 1023px (tablet)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {

  .section { padding: 4rem 0; }
  .container { padding-inline: 2rem; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-grid   { grid-template-columns: repeat(2, 1fr); }
  .traits-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .content-block.reverse { flex-direction: row-reverse; }

}

/* ============================================================
   RESPONSIVE — 768px+ (desktop additions for new components)
   ============================================================ */
@media (min-width: 768px) {

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

}

/* ============================================================
   RESPONSIVE — 1024px+ (desktop)
   ============================================================ */
@media (min-width: 1024px) {

  .cs-grid        { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr 420px; gap: 4rem; }

}
