/* Dev HQS — software company theme
   Design: light editorial agency — ink navy, single teal accent, quiet surfaces
   Typography: Outfit (display) + Source Sans 3 (body)
*/

:root {
  --bg: #f6f7f9;
  --bg-soft: #eef0f3;
  --bg-muted: #e8eaee;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --line: rgba(11, 18, 32, 0.09);
  --text: #0b1220;
  --text-muted: #5c6573;
  --brand: #0d7377;
  --brand-2: #0b1220;
  --brand-warm: #9a6700;
  --glow: rgba(13, 115, 119, 0.18);
  --danger: #c23b4d;
  --ok: #1a7f56;
  --ink-on-brand: #ffffff;
  --radius: 12px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(11, 18, 32, 0.06);
  --shadow-hover: 0 16px 40px rgba(11, 18, 32, 0.1);
  --font-display: "Outfit", "Source Sans 3", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --container: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(1rem, 2vw, 1.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.015rem;
  line-height: 1.65;
  letter-spacing: normal;
  font-stretch: normal;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #095e61;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.65em;
  font-weight: 650;
  font-stretch: normal;
  color: var(--text);
}

h1 { font-size: clamp(1.85rem, 3.6vw, 2.65rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
h3 { font-size: 1.12rem; font-weight: 600; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--brand);
  color: var(--ink-on-brand);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn--sm { padding: 0.62rem 1rem; font-size: 0.88rem; }
.btn--lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--brand);
  color: var(--ink-on-brand);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 20px var(--glow);
}

.btn--primary:hover {
  color: var(--ink-on-brand);
  background: #0a6366;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px var(--glow);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: rgba(13, 115, 119, 0.4);
  background: #fff;
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand);
}

.text-link:hover {
  gap: 0.55rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--brand);
  margin: 0 0 0.85rem;
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 40rem;
  margin-bottom: 0;
}

/* Header */
.site-top {
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled,
.site-top.is-scrolled .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(11, 18, 32, 0.06);
}

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

.brand-text,
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: normal;
}

.brand-text:hover,
.brand-lockup:hover { color: var(--text); }

.brand-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 0 22px var(--glow);
}

.brand-wordmark {
  display: inline-block;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    conic-gradient(from 210deg, var(--brand), var(--brand-2), var(--brand-warm), var(--brand));
  box-shadow: 0 0 24px var(--glow);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 8px;
  background: #0f1c2e;
}

.custom-logo-link img {
  max-height: 44px;
  width: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav-menu a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.94rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: var(--text);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: float 10s ease-in-out infinite;
}

.hero-orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(12, 138, 138, 0.16);
  top: -80px;
  right: 8%;
}

.hero-orb--2 {
  width: 320px;
  height: 320px;
  background: rgba(26, 111, 181, 0.12);
  bottom: 0;
  left: 5%;
  animation-delay: -4s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 40, 70, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 40, 70, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 72%);
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-copy h1 {
  max-width: 22ch;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
}

.hero-trust li {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--glow);
}

.hero-panel {
  background: linear-gradient(165deg, #ffffff 0%, #f3f8fc 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(12, 138, 138, 0.06), transparent 70%);
  animation: sheen 7s linear infinite;
}

.hero-slider {
  position: relative;
  min-height: 230px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}

.slide-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-on-brand);
  background: linear-gradient(90deg, var(--brand), #1aa0b8);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-slide h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 0.75rem;
}

.hero-slide p {
  color: var(--text-muted);
  margin: 0;
}

.hero-slider-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.hero-slider-dots button {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 40, 70, 0.14);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.2s ease;
}

.hero-slider-dots button.is-active {
  width: 42px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

/* Sections */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section--muted {
  background: linear-gradient(180deg, transparent, rgba(230, 237, 246, 0.85), transparent);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 115, 119, 0.35);
  box-shadow: var(--shadow-hover);
}

.pillar .icon,
.pillar .devhqs-icon {
  color: var(--brand);
  margin-bottom: 1rem;
}

.pillar h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 1.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

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

.stat {
  background: linear-gradient(160deg, rgba(12, 138, 138, 0.08), rgba(255, 255, 255, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: normal;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.45rem;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: none;
}

.process-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
}

.process-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0.7;
}

.process-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(12, 138, 138, 0.1);
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.process-card h3 {
  margin-bottom: 0.45rem;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow);
}

.service-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.service-card .text-link {
  position: relative;
  z-index: 1;
  color: var(--brand);
  font-weight: 600;
  pointer-events: none;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.service-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(12, 138, 138, 0.1);
  color: var(--brand);
  margin-bottom: 1rem;
}

/* Inline service icons — always visible stroke */
.devhqs-icon {
  display: block;
  flex-shrink: 0;
  color: inherit;
  stroke: currentColor;
  fill: none;
  overflow: visible;
}

.service-card__icon .devhqs-icon,
.service-detail__icon .devhqs-icon,
.service-hero__icon .devhqs-icon,
.service-catalog-card__icon .devhqs-icon,
.pillar .devhqs-icon {
  color: var(--brand);
}

/* Single service page */
.service-hero {
  padding: 2.75rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.service-hero__inner {
  max-width: none;
}

.service-hero__top {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1.15rem 1.25rem;
  align-items: start;
  margin: 0.35rem 0 1.5rem;
}

.service-hero__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--brand);
  background: rgba(13, 115, 119, 0.1);
  border: 1px solid rgba(13, 115, 119, 0.18);
  box-shadow: none;
}

.service-hero__copy h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin: 0 0 0.55rem;
  line-height: 1.15;
}

.service-hero__lead {
  margin: 0;
  max-width: 46rem;
  color: var(--text-muted);
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-left: 0;
}

@media (min-width: 640px) {
  .service-hero__actions {
    padding-left: calc(56px + 1.25rem);
  }
}

.service-page {
  padding: 2.75rem 0 4.5rem;
  max-width: none;
}

.service-page__content {
  margin-bottom: 2.5rem;
  color: var(--text);
}

.service-page__content.entry-content {
  color: var(--text);
}

.service-page__content h2:first-child {
  font-size: 1.28rem;
}

.service-page__content p {
  color: var(--text-muted);
}

.service-page__content ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-page__content ul li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-muted);
  box-shadow: var(--shadow);
}

.service-page__content ul li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.15rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.12);
}

.service-deliverables {
  margin: 0 0 2.5rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.service-deliverables__head {
  margin-bottom: 1.15rem;
}

.service-deliverables h2 {
  margin-bottom: 0.35rem;
  font-size: 1.28rem;
}

.service-deliverables__intro {
  color: var(--text-muted);
  margin: 0;
  max-width: 48ch;
}

.service-deliverables__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.service-deliverables__grid li {
  display: grid;
  gap: 0.25rem;
  padding: 1.05rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
}

.service-deliverables__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--brand);
  font-weight: 700;
}

.service-deliverables__grid strong {
  color: var(--text);
  font-size: 1rem;
}

.service-deliverables__grid span:last-child {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.service-page__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(13, 115, 119, 0.08), #ffffff 55%);
  box-shadow: var(--shadow);
}

.service-page__cta h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.service-page__cta p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

.service-page__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.5rem 1.6rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(12, 138, 138, 0.22);
  background: linear-gradient(120deg, rgba(12, 138, 138, 0.1), rgba(26, 111, 181, 0.08));
}

.service-page__cta h2 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
}

.service-page__cta p {
  margin: 0;
  color: var(--text-muted);
}

/* Services index catalog */
.services-catalog {
  display: grid;
  gap: 0.85rem;
}

.service-catalog-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.service-catalog-card:hover {
  border-color: rgba(12, 138, 138, 0.32);
  transform: translateX(3px);
}

.service-catalog-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: linear-gradient(145deg, rgba(12, 138, 138, 0.15), rgba(26, 111, 181, 0.08));
  border: 1px solid rgba(12, 138, 138, 0.18);
}

.service-catalog-card h2 {
  font-size: 1.25rem;
  margin: 0 0 0.3rem;
}

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

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.service-bullets--single {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 115, 119, 0.35);
  box-shadow: var(--shadow-hover);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(12, 138, 138, 0.14), rgba(26, 111, 181, 0.08));
  color: var(--brand);
  margin-bottom: 0.35rem;
}

.service-card h3 {
  margin: 0;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  flex: 1;
  margin: 0;
}

.services-detail {
  display: grid;
  gap: 1rem;
}

.service-detail {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}

.service-detail:hover {
  border-color: rgba(12, 138, 138, 0.28);
  transform: translateX(4px);
}

.service-detail__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(12, 138, 138, 0.1);
  color: var(--brand);
}

.service-detail h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.service-detail p {
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.service-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.service-bullets li {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.service-bullets li::before {
  content: "• ";
  color: var(--brand);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(12, 138, 138, 0.1), rgba(26, 111, 181, 0.08));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
}

/* Industries */
.industry-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.industry-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
  text-align: center;
  font-weight: 600;
  background: #ffffff;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}

.industry-list li:hover {
  background: rgba(12, 138, 138, 0.07);
  border-color: rgba(12, 138, 138, 0.25);
  transform: translateY(-3px);
}

/* Markets (worldwide geo) */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.market-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.1rem;
  background: #ffffff;
  display: grid;
  gap: 0.4rem;
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}

.market-card:hover {
  border-color: rgba(12, 138, 138, 0.28);
  transform: translateY(-3px);
}

.market-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.market-card span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-markets {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.75rem !important;
  max-width: 42ch;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.blog-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

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

.blog-card__body {
  padding: 1.35rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.blog-card__meta {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin: 0;
}

.blog-card__title {
  margin: 0;
  font-size: 1.15rem;
}

.blog-card__title a {
  color: var(--text);
}

.blog-card__title a:hover {
  color: var(--brand);
}

.blog-card__excerpt {
  color: var(--text-muted);
  font-size: 0.94rem;
  flex: 1;
  margin: 0 0 0.4rem;
}

/* Page hero — same width as page content containers */
.page-hero {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.page-hero__inner {
  max-width: none;
}

.page-hero__inner h1 {
  max-width: 22ch;
  margin-bottom: 0.65rem;
}

.page-hero__inner .lead {
  max-width: 40rem;
}

.page-hero--article .page-hero__inner h1 {
  max-width: none;
}

.post-meta {
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.content-wrap {
  max-width: none;
  padding-block: 2rem 3.5rem;
}

.content-wrap.container {
  /* stay on shared container width */
}

.post-thumbnail {
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.entry-content {
  color: var(--text);
}

.entry-content > *:first-child { margin-top: 0; }

.entry-content h2,
.entry-content h3 {
  margin-top: 1.75rem;
}

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem 1.2rem;
  list-style: disc;
}

.entry-content ol { list-style: decimal; }

.entry-content li { margin-bottom: 0.35rem; }

.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--brand);
  background: rgba(12, 138, 138, 0.05);
  color: var(--text-muted);
}

.post-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}

.tags {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.tags span {
  color: var(--text);
  font-weight: 600;
  margin-right: 0.35rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-form-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.contact-aside {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 1.1rem;
  margin: 1.25rem 0;
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
}

.contact-list span {
  font-size: 0.86rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-muted);
}

.contact-list a,
.contact-list strong {
  color: var(--text);
  font-weight: 600;
}

.contact-note {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.contact-note p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.contact-offer-note {
  margin: 1.25rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(13, 115, 119, 0.08);
  border: 1px solid rgba(13, 115, 119, 0.18);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.content-narrow {
  max-width: none;
}

.content-narrow h2 {
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  padding: 0.85rem 1rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(12, 138, 138, 0.45);
  box-shadow: 0 0 0 3px rgba(24, 197, 197, 0.15);
}

.form-row select option {
  background: #ffffff;
  color: var(--text);
}

.form-alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-alert--ok {
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.35);
  color: var(--ok);
}

.form-alert--err {
  background: rgba(255, 107, 122, 0.12);
  border: 1px solid rgba(255, 107, 122, 0.35);
  color: var(--danger);
}

/* Footer */
.footer-cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 70% 50%, rgba(12, 138, 138, 0.1), transparent 70%),
    var(--bg-muted);
}

.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2.5rem 0;
}

.footer-cta h2 {
  max-width: 18ch;
  margin-bottom: 0.5rem;
}

.footer-main {
  padding: 3rem 0 1.5rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.2fr 0.8fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-links--services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}

.footer-links--services a {
  font-size: 0.88rem;
}

.footer-about p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 36ch;
}

.footer-grid h3 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-contact a {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand);
}

/* Override fallback menu styling in footer */
.footer-links.nav-menu {
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-note {
  opacity: 0.8;
}

/* Pagination */
.pagination {
  margin-top: 2.5rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 0 0.75rem;
  font-weight: 600;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  color: var(--text);
  border-color: rgba(12, 138, 138, 0.32);
  background: rgba(12, 138, 138, 0.07);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.empty-state .lead {
  margin-inline: auto;
}

/* Reveal animations — default VISIBLE so page changes are not blank/flash.
   Only elements below the fold get a light scroll-in after JS marks them. */
[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js-ready [data-reveal].will-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

html.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Smoother multi-page navigation (Chromium) */
@view-transition {
  navigation: auto;
}

/* Reduce motion */
@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;
  }
  html.js-ready [data-reveal].will-reveal:not(.is-visible),
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid,
  .process-grid,
  .services-grid,
  .blog-grid,
  .industry-list,
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-detail {
    grid-template-columns: auto 1fr;
  }

  .service-detail .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .service-catalog-card {
    grid-template-columns: auto 1fr;
  }

  .service-catalog-card .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .service-deliverables__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s ease;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .header-cta {
    width: 100%;
  }

  .pillars-grid,
  .process-grid,
  .services-grid,
  .blog-grid,
  .industry-list,
  .markets-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}

@keyframes sheen {
  0% { transform: translateX(-40%); }
  100% { transform: translateX(40%); }
}

/* Floating WhatsApp CTA */
.whatsapp-fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
  color: #fff !important;
}
.whatsapp-fab svg {
  flex-shrink: 0;
}
.whatsapp-fab__label {
  line-height: 1;
}
@media (max-width: 600px) {
  .whatsapp-fab__label {
    /* keep label on mobile — user asked for direct WhatsApp option */
  }
  .whatsapp-fab {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}

/* WP admin bar offset */
.admin-bar .site-top {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-top {
    top: 46px;
  }
}

/* —— Offer strip (sticky with header via .site-top) —— */
.offer-bar {
  background: linear-gradient(90deg, #0b1220 0%, #0d7377 55%, #0a5f62 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  z-index: 110;
}

.offer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  padding: 0.65rem 0;
  text-align: center;
}

.offer-bar__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.offer-bar__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.offer-bar__text strong {
  color: #fff;
  font-weight: 700;
}

.offer-bar__cta {
  color: #0c4a5a !important;
  background: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-bar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #0c4a5a !important;
}

.offer-band {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.offer-band__card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(12, 138, 138, 0.08), transparent 45%),
    linear-gradient(180deg, #ffffff, #f3f8fc);
  box-shadow: var(--shadow);
}

.offer-band__card .eyebrow {
  color: var(--brand-warm);
}

.offer-band__card h2 {
  margin-bottom: 0.5rem;
}

.offer-band__card .lead {
  margin-bottom: 1.25rem;
}

.offer-band__perks {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.offer-band__perks li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 1.15rem;
  position: relative;
}

.offer-band__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand);
}

.offer-band__aside {
  border: 1px dashed rgba(12, 138, 138, 0.35);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  background: rgba(12, 138, 138, 0.06);
  text-align: center;
}

.offer-band__aside .offer-pct {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  margin: 0 0 0.35rem;
}

.offer-band__aside .offer-code {
  display: inline-block;
  margin: 0.75rem 0 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .offer-band__card {
    grid-template-columns: 1fr;
  }
}

