/* =========================================
   Design tokens - light theme
   ========================================= */
:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-2: #f3f4f5;
  --surface-hover: #f7f7f8;
  --footer-bg: #000000;

  /* Text on light backgrounds — darker for visibility */
  --fg: #1a2430;
  --fg-heading: #101820;
  --fg-muted: #243140;
  --fg-soft: #334155;
  --fg-xsoft: #475569;
  --fg-placeholder: #64748b;
  --fg-link: #1d7ab8;
  --fg-link-hover: #156394;
  --fg-on-accent: #ffffff;

  /* Brand + graphical accents */
  --blue: #3498db;
  --blue-dark: #1d7ab8;
  --blue-soft: rgba(52, 152, 219, 0.16);
  --blue-glow: rgba(52, 152, 219, 0.22);
  --c-blue: #3498db;
  --c-teal: #0f9f7a;
  --c-amber: #e67e22;
  --c-violet: #7c5cbf;
  --c-navy: #2c3e50;

  /* Text on dark backgrounds (footer) */
  --fg-on-dark: #f8fafc;
  --fg-on-dark-muted: rgba(248, 250, 252, 0.72);
  --fg-on-dark-soft: rgba(248, 250, 252, 0.58);
  --fg-on-dark-xsoft: rgba(248, 250, 252, 0.42);
  --fg-on-dark-link: rgba(248, 250, 252, 0.85);
  --fg-on-dark-link-hover: #5dade2;

  /* Status text */
  --fg-success: #2980b9;
  --fg-error: #be123c;

  --border: rgba(28, 48, 68, 0.16);
  --border-strong: rgba(28, 48, 68, 0.28);

  --logo-navy: #363d4a;
  --logo-navy-dark: #2c3440;

  --accent: var(--blue);
  --accent-2: var(--logo-navy);
  --accent-3: var(--blue-dark);
  --accent-amber: #d97706;

  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  --font-sans: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: var(--font-sans);
  --font-display: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;

  --leading-body: 1.6;
  --leading-heading: 1.2;
  --tracking-body: 0;
  --tracking-heading: -0.015em;
  --tracking-ui: 0.01em;

  /* Heading scale — tuned for readability without oversized display type */
  --text-hero: clamp(2rem, 1.35rem + 2.6vw, 3.35rem);
  --text-page-hero: clamp(1.85rem, 1.35rem + 2.2vw, 2.75rem);
  --text-section: clamp(1.6rem, 1.2rem + 1.4vw, 2.15rem);
  --text-cta: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-h3: 1rem;
  --text-h3-md: 1.0625rem;
  --text-h3-lg: 1.125rem;
  --text-stat: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);

  --band: #e7f2fb;
  --card-radius: 14px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-full: 9999px;

  --shadow-glow: none;
  --shadow-glow-soft: none;
  --shadow-card: 0 12px 28px -16px rgba(21, 48, 74, 0.28);

  --ease: cubic-bezier(0.21, 0.47, 0.32, 0.98);

  --container: 1180px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-sans);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--leading-body);
  font-weight: 400;
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

/* Inter (body) + Plus Jakarta Sans (headings) */
body,
.header,
.footer,
.nav,
.mobile-nav,
input,
textarea,
select,
button,
.skip-link {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  color: var(--fg-heading);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
}

::selection {
  background: var(--blue-glow);
  color: var(--logo-navy);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button:not(.btn) { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Scrollbar - light */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border-radius: 8px;
  border: 2px solid var(--surface-2);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #94a3b8, #64748b);
}

/* =========================================
   Layout
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container { padding-inline: 3rem; } }

.section { padding: 2.25rem 0; position: relative; }
@media (min-width: 768px) { .section { padding: 2.75rem 0; } }
.page-home .section { padding: 2rem 0; }
@media (min-width: 768px) {
  .page-home .section { padding: 2.25rem 0; }
}
.section--band {
  background: var(--band);
}

.section__head {
  max-width: 40rem;
  margin-inline: 0;
  text-align: left;
}
.section__head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-section);
  line-height: 1.18;
  letter-spacing: var(--tracking-heading);
  margin: 0.5rem 0 0;
  color: var(--fg-heading);
}
.section__head .section__title:first-child { margin-top: 0; }
.section__desc {
  margin: 0.75rem 0 0;
  font-size: 1.0125rem;
  font-weight: 400;
  color: var(--fg-muted);
  line-height: var(--leading-body);
  max-width: 38rem;
}

.grid { display: grid; gap: 1.15rem; margin-top: 1.15rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================
   Shared cards
   ========================================= */
.service-mini,
.service-card,
.service-feature,
.service-compact,
.pillar,
.solution-card,
.price-card,
.project,
.stack-card,
.contact__card,
.feat-card,
.case-panel,
.case-feature,
.outcome-card,
.process-step,
.card {
  --card-accent: var(--c-blue);
  border-radius: var(--card-radius);
  border: 1px solid #d5e4f0;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.service-mini:hover,
.service-card:hover,
.service-feature:hover,
.service-compact:hover,
.pillar:hover,
.solution-card:hover,
.price-card:hover,
.project:hover,
.feat-card:hover,
.case-panel:hover,
.case-feature:hover,
.outcome-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -18px rgba(52, 152, 219, 0.45);
}

.card--feature,
.price-card--highlight,
.service-feature--highlight,
.project--feature,
.contact__card--accent {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--card-accent) 6%, #ffffff);
}
.card--feature::before,
.price-card--highlight::before,
.service-feature--highlight::before,
.project--feature::before,
.contact__card--accent::before {
  display: none;
}

.service-mini__icon,
.service-card__icon,
.service-feature__icon,
.pillar__icon,
.solution-card__icon,
.service-compact__icon {
  background: color-mix(in srgb, var(--card-accent) 16%, #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent) 28%, transparent);
  color: var(--card-accent);
}

.grid > *:nth-child(4n + 1),
.services-featured > *:nth-child(4n + 1),
.outcomes-grid > *:nth-child(3n + 1),
.capability-row > *:nth-child(4n + 1),
.home-pricing__grid > *:nth-child(4n + 1),
.solutions-preview__grid > *:nth-child(4n + 1),
.digital-solutions__grid > *:nth-child(4n + 1),
.projects-preview__grid > *:nth-child(4n + 1),
.feat-grid > *:nth-child(4n + 1),
.case-split > *:nth-child(4n + 1),
.case-features > *:nth-child(4n + 1),
.process-steps > *:nth-child(5n + 1),
.about-principles__grid > *:nth-child(4n + 1),
.stats > *:nth-child(4n + 1) { --card-accent: var(--c-blue); }
.grid > *:nth-child(4n + 2),
.services-featured > *:nth-child(4n + 2),
.outcomes-grid > *:nth-child(3n + 2),
.capability-row > *:nth-child(4n + 2),
.home-pricing__grid > *:nth-child(4n + 2),
.solutions-preview__grid > *:nth-child(4n + 2),
.digital-solutions__grid > *:nth-child(4n + 2),
.projects-preview__grid > *:nth-child(4n + 2),
.feat-grid > *:nth-child(4n + 2),
.case-split > *:nth-child(4n + 2),
.case-features > *:nth-child(4n + 2),
.process-steps > *:nth-child(5n + 2),
.about-principles__grid > *:nth-child(4n + 2),
.stats > *:nth-child(4n + 2) { --card-accent: var(--c-teal); }
.grid > *:nth-child(4n + 3),
.services-featured > *:nth-child(4n + 3),
.outcomes-grid > *:nth-child(3n + 3),
.capability-row > *:nth-child(4n + 3),
.home-pricing__grid > *:nth-child(4n + 3),
.solutions-preview__grid > *:nth-child(4n + 3),
.digital-solutions__grid > *:nth-child(4n + 3),
.projects-preview__grid > *:nth-child(4n + 3),
.feat-grid > *:nth-child(4n + 3),
.case-split > *:nth-child(4n + 3),
.case-features > *:nth-child(4n + 3),
.process-steps > *:nth-child(5n + 3),
.about-principles__grid > *:nth-child(4n + 3),
.stats > *:nth-child(4n + 3) { --card-accent: var(--c-amber); }
.grid > *:nth-child(4n + 4),
.services-featured > *:nth-child(4n + 4),
.capability-row > *:nth-child(4n + 4),
.home-pricing__grid > *:nth-child(4n + 4),
.solutions-preview__grid > *:nth-child(4n + 4),
.digital-solutions__grid > *:nth-child(4n + 4),
.projects-preview__grid > *:nth-child(4n + 4),
.feat-grid > *:nth-child(4n + 4),
.case-split > *:nth-child(4n + 4),
.case-features > *:nth-child(4n + 4),
.process-steps > *:nth-child(5n + 4),
.about-principles__grid > *:nth-child(4n + 4),
.stats > *:nth-child(4n + 4) { --card-accent: var(--c-violet); }
.process-steps > *:nth-child(5n + 5) { --card-accent: var(--c-navy); }
.grid > .price-card,
.price-card {
  --card-accent: var(--price-accent, var(--c-blue));
}

/* =========================================
   Helpers
   ========================================= */
.text-gradient,
.text-gradient-accent {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
.hero__title .text-gradient,
.hero__title .text-gradient-accent,
.section__title .text-gradient-accent,
.page-hero__title .text-gradient-accent,
.cta-band__title .text-gradient-accent,
.about-intro__body .text-gradient-accent {
  color: inherit;
}
.underline-grad {
  position: relative;
  display: inline-block;
}
.underline-grad::after {
  display: none;
}
.dot { color: var(--fg-link); }

/* Inline content links — exclude buttons & primary chips */
.prose a:not(.btn):not(.chip-link),
.about-intro__body a:not(.btn):not(.chip-link),
.faq__answer a:not(.btn),
.service-mini__more,
.chip-link:not(.chip-link--primary),
.toc a:hover,
.outcome-card__actions a:not(.btn):not(.chip-link),
.project__body a:not(.btn):not(.chip-link) {
  color: var(--fg-link);
}
.prose a:not(.btn):not(.chip-link):hover,
.about-intro__body a:not(.btn):not(.chip-link):hover,
.faq__answer a:not(.btn):hover,
.service-mini__more:hover,
.chip-link:not(.chip-link--primary):hover,
.outcome-card__actions a:not(.btn):not(.chip-link):hover,
.project__body a:not(.btn):not(.chip-link):hover {
  color: var(--fg-link-hover);
}

/* Component headings — navy; body copy stays softer grey */
.service-mini h3,
.pillar h3,
.service-card h3,
.service-feature h3,
.service-compact__body h3,
.solution-card h3,
.price-card h3,
.project__body h3,
.stack-card__head h3,
.contact__card h3,
.feat-card h3,
.outcome-card h3,
.process-step h3,
.process-timeline__content h3,
.about-intro__body h2,
.prose h2,
.prose h3,
.prose strong,
.prose .lead {
  color: var(--fg-heading);
}

.muted-sm { color: var(--fg-soft); font-size: .875rem; margin-top: .375rem; }
.muted-xs { color: var(--fg-xsoft); font-size: .75rem; }

.eyebrow {
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.eyebrow--accent { color: var(--accent-2); border-color: rgba(54, 61, 74, .25); }
.dot-pill {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px rgba(54, 61, 74, 0.4);
}

.badge {
  margin: 0;
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.badge .icon--xs { color: var(--fg-link); }

/* =========================================
   Icons
   ========================================= */
.icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: currentColor;
}
.icon:not(.icon--brand) {
  fill: none;
  stroke: currentColor;
}
.icon--brand {
  fill: unset;
  stroke: none;
}
.icon--xs { width: 14px; height: 14px; }
.icon--lg { width: 22px; height: 22px; }
.icon--xl { width: 40px; height: 40px; stroke-width: 1.5; }

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: var(--tracking-ui);
  padding: 0 1.25rem;
  height: 44px;
  font-size: .875rem;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .25s, border-color .2s;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
  text-decoration: none;
  -webkit-text-fill-color: currentColor;
}
a.btn,
button.btn {
  -webkit-text-fill-color: currentColor;
}
.btn:active { transform: scale(.97); }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid rgba(52, 152, 219, 0.55);
  outline-offset: 2px;
}
.btn--sm { height: 36px; padding: 0 .9rem; font-size: .8rem; }
.btn--lg { height: 50px; padding: 0 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: none;
}
.btn--primary:hover {
  background: var(--blue-dark);
  color: #ffffff;
  box-shadow: none;
}

.btn--whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #ffffff;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.45);
}
.btn--whatsapp:hover {
  background: linear-gradient(135deg, #20bd5a, var(--whatsapp-dark));
  color: #ffffff;
  box-shadow: 0 14px 36px -10px rgba(37, 211, 102, 0.55);
}

.btn--secondary {
  background: #ffffff;
  color: var(--fg-heading);
  border-color: var(--border-strong);
  box-shadow: none;
}
.btn--secondary:hover {
  background: var(--surface-2);
  color: var(--fg-heading);
  border-color: var(--fg);
  box-shadow: none;
}

.btn--outline {
  background: transparent;
  color: var(--fg-heading);
  border-color: var(--border-strong);
}
.btn--outline:hover {
  background: var(--surface-2);
  color: var(--fg-heading);
  border-color: var(--fg);
}

/* =========================================
   Header & Nav
   ========================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.header.is-scrolled { padding: 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  transition: none;
}
.header.is-scrolled .nav {
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  color: var(--fg-heading);
}
.nav__logo {
  display: block;
  width: 40px; height: 40px;
  border-radius: 11px;
  overflow: hidden;
  background: var(--logo-navy);
  box-shadow: 0 8px 22px -8px rgba(54, 61, 74, 0.35);
  flex-shrink: 0;
}
.nav__logo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: var(--tracking-heading);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .nav__name { font-size: 0.95rem; }
}

.nav__list {
  display: none;
  margin: 0; padding: 0;
  list-style: none;
  border-radius: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: .125rem;
}
@media (min-width: 900px) { .nav__list { display: inline-flex; align-items: center; } }

.nav__item--has-sub {
  position: relative;
}
.nav__item--has-sub > .nav__link::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: .4rem;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid currentColor;
  opacity: .65;
}
.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13.75rem;
  margin: 0;
  padding: .4rem;
  list-style: none;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 32px -16px rgba(21, 32, 43, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  z-index: 70;
}
.nav__item--has-sub:hover > .nav__sub,
.nav__item--has-sub:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: .55rem .75rem;
  border-radius: 8px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--fg-muted);
  white-space: nowrap;
}
.nav__sub a:hover,
.nav__sub a.is-active {
  background: var(--surface-2);
  color: var(--fg-heading);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .4rem .8rem;
  border-radius: 0;
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg-soft);
  transition: color .2s;
}
.nav__link:hover { color: var(--fg-heading); }
.nav__link.is-active {
  color: var(--fg-heading);
  background: none;
  box-shadow: none;
  font-weight: 600;
}
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .15rem;
  height: 2px;
  background: var(--blue);
}

.hide-on-mobile { display: none; }
@media (min-width: 900px) { .hide-on-mobile { display: inline-flex; } }

.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  color: var(--fg);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
@media (min-width: 900px) { .nav__toggle { display: none; } }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .25s ease;
}
.mobile-nav__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(82vw, 360px);
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: -20px 0 60px -20px rgba(15, 23, 42, 0.18);
  animation: slideInRight .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-nav__head {
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav__close {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--fg);
}
.mobile-nav__list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .25rem;
}
.mobile-nav__list a {
  display: block;
  padding: .85rem 1rem;
  border-radius: 14px;
  font-size: 1.075rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: background .2s, color .2s;
}
.mobile-nav__list a:hover { background: var(--surface-2); color: var(--fg); }
.mobile-nav__sub {
  list-style: none;
  margin: .1rem 0 .5rem .75rem;
  padding: .15rem 0 .15rem .85rem;
  display: grid;
  gap: .1rem;
  border-left: 2px solid color-mix(in srgb, var(--c-blue) 42%, #d5dde6);
}
.mobile-nav__sub a {
  font-size: .95rem;
  padding: .5rem 1rem;
  color: var(--fg-soft);
}
.mobile-nav__cta { margin-top: auto; }

/* =========================================
   Hero
   ========================================= */
.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: calc(var(--header-h) + 3.25rem) 0 3rem; } }

.hero__backdrop {
  display: none;
}

.hero__bg {
  display: none;
}
.hero__grid {
  display: none;
}
.hero__glow {
  display: none;
}
.hero__glow--blue {
  display: none;
}
.hero__glow--purple {
  display: none;
}
.hero__glow--emerald {
  display: none;
}

.hero__title {
  margin: 0;
  text-align: left;
  max-width: 11em;
  text-wrap: balance;
  overflow-wrap: break-word;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-hero);
  line-height: 1.12;
  letter-spacing: var(--tracking-heading);
  color: var(--fg-heading);
}
.hero__title .text-gradient {
  color: inherit;
}
.hero__title > span:not(.text-gradient):not(.underline-grad):not(.text-gradient-accent) {
  color: var(--fg-heading);
}
.hero__sub {
  margin: 1.125rem 0 0;
  max-width: 36rem;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--fg-muted);
  line-height: var(--leading-body);
}
.hero__cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .75rem;
}

/* Hero layout: copy and team photo */
.hero__layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.hero__content { width: 100%; max-width: 40rem; }
.hero__team {
  margin: 0 auto;
  width: min(100%, 20.5rem);
  padding: 0.55rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 14px 32px -14px rgba(15, 23, 42, 0.22);
}
.hero__team img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }
  .hero__content { max-width: none; }
  .hero__team {
    width: min(100%, 24rem);
    margin: 0;
    justify-self: center;
  }
}

@media (min-width: 768px) {
  .hero__content { text-align: left; }
  .hero__content .hero__title {
    text-align: left;
    margin-left: 0;
    max-width: 14em;
  }
  .hero__content .hero__sub {
    text-align: left;
    margin-left: 0;
  }
  .hero__content .hero__cta { justify-content: flex-start; }
}

/* Hero photo */
.hero__media {
  position: relative;
  width: 100%;
  max-width: 360px;
}
@media (min-width: 768px) {
  .hero__media { max-width: 340px; margin-left: auto; }
}

.hero__media::before {
  display: none;
}

.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
  border: 1px solid var(--border);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  position: relative;
  z-index: 1;
}
.hero__photo img.is-missing { display: none; }
.hero__photo__fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw + 1rem, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 4px 24px rgba(15, 23, 42, 0.25);
  z-index: 0;
  user-select: none;
}

/* Floating brand tag on the photo */
.hero__photo__tag {
  position: absolute;
  bottom: -.875rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.18);
  font-size: .8rem;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  z-index: 2;
}
.hero__photo__tag .icon { color: var(--blue); }
@media (min-width: 768px) {
  .hero__photo__tag { left: auto; right: 1rem; transform: none; bottom: 1rem; }
}

/* Stats */
.stats {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-top: 0;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats__item {
  --card-accent: var(--c-blue);
  background: #ffffff;
  padding: 1.05rem 1.1rem 1.1rem;
  text-align: left;
  border-radius: 16px;
  border: 1.5px solid color-mix(in srgb, var(--card-accent) 32%, #d5dde6);
  box-shadow:
    inset 0 4px 0 var(--card-accent),
    0 10px 24px -18px color-mix(in srgb, var(--card-accent) 40%, #15202b);
}
.stats__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-stat);
  line-height: 1;
  letter-spacing: var(--tracking-heading);
  color: var(--card-accent);
}
.stats__value.text-gradient {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--blue);
  animation: none;
}
.stats__label {
  margin-top: .375rem;
  font-size: .8rem;
  color: var(--fg-soft);
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-wrap: balance;
}

/* =========================================
   Page hero (interior pages)
   ========================================= */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: calc(var(--header-h) + 1.85rem) 0 1.65rem;
  overflow: hidden;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.page-hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero__bg {
  display: none;
}
.page-hero__grid {
  display: none;
}
.page-hero__glow {
  display: none;
}
.page-hero .eyebrow {
  display: block;
  margin-bottom: .75rem;
}
.page-hero__title {
  margin: 0 auto;
  max-width: 40rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-page-hero);
  line-height: 1.15;
  letter-spacing: var(--tracking-heading);
  color: var(--fg-heading);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.page-hero__title--sm {
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem);
  line-height: 1.25;
  max-width: 28ch;
}
.page-hero__desc {
  margin: 0.875rem auto 0;
  max-width: 38rem;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--fg-muted);
  line-height: var(--leading-body);
}
.page-hero__meta {
  margin: 0.7rem auto 0;
  max-width: 36rem;
  font-size: .95rem;
  color: var(--fg-muted);
  line-height: 1.5;
}
.page-hero__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* Breadcrumb-style page meta (optional) */
.page-meta {
  margin: 4rem auto 2rem;
  display: flex; justify-content: center; gap: 1.5rem;
  font-size: .8rem;
  color: var(--fg-xsoft);
}
.page-meta span { display: inline-flex; align-items: center; gap: .375rem; }

/* =========================================
   CTA band (used at bottom of interior pages)
   ========================================= */
.cta-band {
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid var(--border);
}
.cta-band__inner {
  position: relative;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  box-shadow: none;
  display: grid;
  gap: .75rem 2rem;
}
.cta-band__inner::before {
  display: none;
}
@media (min-width: 768px) {
  .cta-band__inner {
    padding: 0;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .cta-band__title { grid-column: 1; max-width: 22ch; margin: 0; }
  .cta-band__desc { grid-column: 1; margin: 0; }
  .cta-band__cta { grid-column: 2; grid-row: 1 / span 2; margin: 0; justify-content: flex-end; }
}
.cta-band__title {
  position: relative;
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-cta);
  line-height: 1.18;
  letter-spacing: var(--tracking-heading);
  color: var(--fg-heading);
}
.cta-band__desc {
  position: relative;
  margin: 0;
  max-width: 34rem;
  font-weight: 400;
  color: var(--fg-muted);
  line-height: var(--leading-body);
}
.cta-band__cta {
  position: relative;
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .75rem;
}

/* =========================================
   Home - services preview row (compact card variant)
   ========================================= */
.service-mini {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem;
}
.service-mini__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
}
.service-mini h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3-md);
  letter-spacing: -0.015em;
}
.service-mini p {
  margin: 0;
  font-size: .85rem;
  color: var(--fg-soft);
  line-height: 1.6;
}
.service-mini__more {
  margin-top: auto;
  padding-top: .5rem;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--fg-link);
}
.service-mini__more .icon { transition: transform .2s; width: 14px; height: 14px; }
.service-mini:hover .service-mini__more .icon { transform: translateX(2px); }

/* Section "see all" link */
.section__more {
  margin-top: 1.75rem;
  text-align: left;
}

/* =========================================
   About
   ========================================= */
.pillar {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}
.pillar__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
}
.pillar h3 {
  margin: 1.25rem 0 .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3-lg);
  letter-spacing: -0.015em;
  color: var(--fg);
}
.pillar p {
  margin: 0;
  font-size: .875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.about-principles {
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.about-principles .section__head,
.about-principles .section__title,
.about-principles .section__desc {
  text-align: center;
  margin-inline: auto;
}
.about-principles__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
@media (min-width: 640px) {
  .about-principles__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .about-principles__grid { grid-template-columns: repeat(3, 1fr); }
}
.principle__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.principle__num {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--card-accent);
}
.about-principles .pillar h3 {
  margin-top: 1rem;
}

/* =========================================
   Services
   ========================================= */
.service-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
}
.service-card__head {
  display: flex; align-items: center; gap: 1rem;
  position: relative;
}
.service-card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 12px;
}
.service-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.service-card > p {
  position: relative;
  margin: 0.875rem 0 0;
  color: var(--fg-muted);
  line-height: 1.6;
}
.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: .625rem;
}
.service-card .check-list {
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
}
.service-card__icon--logo {
  background: var(--surface-hover);
  box-shadow: inset 0 0 0 1px var(--border);
}
.service-card__icon--logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.service-card--tool .project__actions {
  margin-top: 1.25rem;
  position: relative;
}

/* =========================================
   Services page — restructured layout
   ========================================= */
.page-services .page-hero,
.page-services .page-hero__title,
.page-services .page-hero__desc {
  text-align: center;
}
.page-services .page-hero__title,
.page-services .page-hero__desc {
  margin-inline: auto;
  max-width: 40rem;
}

.page-services .section__head,
.page-services .section__title,
.page-services .section__desc,
.page-services .cta-band__inner,
.page-services .cta-band__title,
.page-services .cta-band__desc {
  text-align: center;
  margin-inline: auto;
}
.page-services .section__head,
.page-services .section__desc,
.page-services .cta-band__title,
.page-services .cta-band__desc {
  max-width: 40rem;
}
.page-services .section__more {
  display: flex;
  justify-content: center;
}
.page-services .cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-services .cta-band__title,
.page-services .cta-band__desc,
.page-services .cta-band__cta {
  grid-column: auto;
  grid-row: auto;
  max-width: 40rem;
}
.page-services .cta-band__cta {
  margin-top: 1.25rem;
  justify-content: center;
}

.page-services .service-feature {
  align-items: center;
  text-align: center;
}
.page-services .service-feature__head {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-services .service-feature--highlight .service-feature__head {
  padding-right: 0;
  padding-top: 1.75rem;
}
.page-services .service-feature__badge {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.page-services .service-feature .check-list {
  width: 100%;
  justify-items: center;
}
.page-services .service-feature .check-list li {
  justify-content: center;
  text-align: center;
}
.page-services .service-feature__foot {
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.page-services .service-feature__price {
  justify-content: center;
}

.page-services .solution-card {
  align-items: center;
  text-align: center;
}
.page-services .solution-card h3 {
  padding-right: 0;
}
.page-services .process-steps {
  margin-top: 1.15rem;
}
.page-services .process-step {
  text-align: center;
}

.page-services .service-compact {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.page-services .service-compact__body {
  text-align: center;
}
.page-services .service-compact__tags {
  justify-content: center;
}
.page-services .service-compact__link {
  justify-self: center;
}

.page-services .process-timeline__step {
  text-align: center;
}
@media (max-width: 1023px) {
  .page-services .process-timeline__step {
    text-align: center;
    padding: 0 0 1.5rem;
    border-left: 0;
    margin-left: 0;
  }
  .page-services .process-timeline__num {
    position: relative;
    left: auto;
    transform: none;
    margin: 0 auto .75rem;
  }
  .page-services .process-timeline__content {
    margin-top: 0;
  }
}

.page-services .section__head .eyebrow {
  margin-bottom: .25rem;
}

.services-featured {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.25rem;
}
@media (min-width: 768px) {
  .services-featured { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
}
@media (min-width: 1200px) {
  .services-featured { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .services-featured--two { grid-template-columns: repeat(2, 1fr); }
}

.service-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 1.75rem;
}
.service-feature--highlight {
  background: #ffffff;
}
.service-feature__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-feature__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.service-feature--highlight .service-feature__head {
  padding-right: 5.5rem;
}
.service-feature__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
}
.service-feature__label {
  display: block;
  margin-bottom: .2rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-xsoft);
}
.service-feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg-heading);
}
.service-feature > p {
  margin: .875rem 0 0;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--fg-muted);
}
.service-feature .check-list--stack {
  margin-top: 1.125rem;
  grid-template-columns: 1fr;
}
.service-feature__foot {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 480px) {
  .service-feature__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.service-feature__price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  flex-wrap: wrap;
}
.service-feature__from {
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-xsoft);
}
.service-feature__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--fg-heading);
}
.service-feature__amount--quote {
  font-size: 1.05rem;
}
.service-feature__foot .btn {
  flex-shrink: 1;
  min-width: 0;
  white-space: normal;
  height: auto;
  min-height: 44px;
  padding-block: .65rem;
  line-height: 1.35;
  text-align: center;
}

.services-support__grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.25rem;
}
@media (min-width: 768px) {
  .services-support__grid { grid-template-columns: repeat(2, 1fr); }
}

.service-compact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.125rem;
  padding: 1.375rem 1.25rem;
}
.service-compact__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.service-compact__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3-md);
  color: var(--fg-heading);
}
.service-compact__body p {
  margin: .35rem 0 0;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.service-compact__tags {
  list-style: none;
  margin: .625rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.service-compact__tags li {
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  font-size: .68rem;
  font-weight: 500;
  color: var(--fg-soft);
}
.service-compact__link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  color: var(--fg-heading);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.service-compact__link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateX(2px);
}

.digital-solutions__grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.15rem;
}
@media (min-width: 640px) {
  .digital-solutions__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .digital-solutions__grid { grid-template-columns: repeat(3, 1fr); }
}

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1.1rem 1.15rem;
  cursor: pointer;
}
.solution-card__num {
  display: none;
}
.solution-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.solution-card h3 {
  margin: .7rem 0 0;
  padding-right: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.015em;
  color: var(--fg-heading);
  line-height: 1.3;
}
.solution-card p {
  margin: .35rem 0 0;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--fg-muted);
}
.tool-list {
  display: grid;
  gap: .7rem;
  max-width: 40rem;
  margin: 1.5rem auto 0;
}
.tool-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: center;
  margin: 0;
  padding: 1rem 1.15rem;
  text-align: left;
  cursor: pointer;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.tool-option:hover {
  border-color: color-mix(in srgb, var(--blue) 40%, var(--border));
}
.tool-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tool-option__mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2px solid #b7c3d0;
  display: grid;
  place-items: center;
}
.tool-option__mark::after {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: transparent;
}
.tool-option__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.tool-option__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
  color: var(--fg-heading);
}
.tool-option__text {
  font-size: .875rem;
  line-height: 1.45;
  color: var(--fg-muted);
}
.tool-option:has(input:checked) {
  border-color: var(--blue);
  background: color-mix(in srgb, var(--blue) 6%, #ffffff);
  box-shadow: inset 3px 0 0 var(--blue);
}
.tool-option:has(input:checked) .tool-option__mark {
  border-color: var(--blue);
}
.tool-option:has(input:checked) .tool-option__mark::after {
  background: var(--blue);
}
.tool-option:has(input:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.digital-solutions__pick { margin-top: 0; }
.digital-solutions__send {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  margin-top: 1.35rem;
  text-align: center;
}
.digital-solutions__send p {
  margin: 0;
  max-width: 28rem;
  color: var(--fg-muted);
}
.digital-solutions__send .btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.digital-solutions .section__more {
  margin-top: 1.25rem;
}

/* Homepage — compact digital solutions preview */
.solutions-preview__grid {
  display: grid;
  gap: .75rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .solutions-preview__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .solutions-preview__grid { grid-template-columns: repeat(3, 1fr); }
}
.solutions-preview__item {
  --card-accent: var(--c-blue);
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1rem 1.125rem;
  border-radius: 18px;
  border: 1.5px solid color-mix(in srgb, var(--card-accent) 32%, #d5dde6);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  box-shadow:
    inset 0 4px 0 var(--card-accent),
    0 12px 28px -18px color-mix(in srgb, var(--card-accent) 40%, #15202b);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.solutions-preview__item:hover {
  border-color: color-mix(in srgb, var(--card-accent) 55%, #9aabb8);
  box-shadow:
    inset 0 4px 0 var(--card-accent),
    0 16px 32px -16px color-mix(in srgb, var(--card-accent) 50%, #15202b);
  transform: translateY(-2px);
}
.solutions-preview__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-accent, var(--blue)) 16%, #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent, var(--blue)) 30%, transparent);
  color: var(--card-accent, var(--blue));
}
.solutions-preview__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  color: var(--fg-heading);
  line-height: 1.35;
}
.solutions-preview .section__more {
  margin-top: 2rem;
}

.process-timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}
@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 1.35rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--border), rgba(52, 152, 219, 0.35), var(--border));
    z-index: 0;
  }
}
.process-timeline__step {
  position: relative;
  padding: 0 0 1.25rem 0;
  text-align: center;
}
@media (min-width: 1024px) {
  .process-timeline__step {
    padding: 0 .75rem 0;
  }
}
.process-timeline__num {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto;
  border-radius: 999px;
  border: 2px solid rgba(52, 152, 219, 0.25);
  background: var(--surface-hover);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  box-shadow: 0 4px 14px -6px rgba(52, 152, 219, 0.35);
}
.process-timeline__content {
  margin-top: .875rem;
}
.process-timeline__content h3 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg-heading);
}
.process-timeline__content p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
@media (max-width: 1023px) {
  .process-timeline__step {
    position: relative;
    text-align: left;
    padding: 0 0 1.5rem 1.5rem;
    border-left: 2px solid var(--border);
    margin-left: 1.35rem;
  }
  .process-timeline__step:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
  }
  .process-timeline__num {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    transform: translateX(-50%);
  }
  .process-timeline__content {
    margin-top: 0;
  }
}

@media (max-width: 639px) {
  .page-services .service-feature__foot .btn,
  .page-services .cta-band__cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: var(--fg-muted);
}
.check-list li > svg, .check-list .check {
  margin-top: 2px;
  flex-shrink: 0;
}
.check-list li > svg {
  width: 14px; height: 14px;
  color: var(--fg-link);
}
.check {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent, var(--c-blue)) 16%, #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent, var(--c-blue)) 30%, transparent);
  color: var(--card-accent, var(--c-blue));
}
.check--accent {
  background: rgba(54, 61, 74, 0.12);
  box-shadow: inset 0 0 0 1px rgba(54, 61, 74, 0.32);
  color: var(--fg-link);
}
.check .icon { width: 12px; height: 12px; }

/* =========================================
   Pricing
   ========================================= */
.price-card {
  position: relative;
  overflow: hidden;
  --card-accent: var(--price-accent, var(--c-blue));
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.price-card__inner { padding: 1.75rem; display: flex; flex-direction: column; height: 100%; }
.price-card__inner > .check-list { flex: 1; }
.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3-lg);
  letter-spacing: -0.015em;
  color: var(--fg);
}
.price-card__desc {
  margin: .375rem 0 0;
  font-size: .875rem;
  color: var(--fg-soft);
  min-height: 42px;
}
.price-card__amount {
  margin: 1.25rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  gap: .375rem;
}
.price-card__amount .from {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: .7rem;
  color: var(--fg-xsoft);
}
.price-card__amount .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.price-card .check-list { margin-top: 0; gap: .625rem; }
.price-card .btn { margin-top: 1.75rem; }

/* Pricing catalogue — tier colour themes */
.price-card--starter,
.price-card--business,
.price-card--android,
.price-card--custom,
.price-card--addon {
  --price-accent: var(--blue);
  --price-accent-dark: var(--blue-dark);
  --price-accent-soft: var(--blue-soft);
  --price-accent-border: rgba(52, 152, 219, 0.28);
  --price-accent-glow: rgba(52, 152, 219, 0.14);
}
.price-card--starter {
  --price-accent: #0ea5e9;
  --price-accent-dark: #0284c7;
  --price-accent-soft: rgba(14, 165, 233, 0.1);
  --price-accent-border: rgba(14, 165, 233, 0.32);
  --price-accent-glow: rgba(14, 165, 233, 0.16);
}
.price-card--business {
  --price-accent: #3498db;
  --price-accent-dark: #2980b9;
  --price-accent-soft: rgba(52, 152, 219, 0.12);
  --price-accent-border: rgba(52, 152, 219, 0.38);
  --price-accent-glow: rgba(52, 152, 219, 0.2);
}
.price-card--android {
  --price-accent: #10b981;
  --price-accent-dark: #059669;
  --price-accent-soft: rgba(16, 185, 129, 0.1);
  --price-accent-border: rgba(16, 185, 129, 0.32);
  --price-accent-glow: rgba(16, 185, 129, 0.16);
}
.price-card--custom {
  --price-accent: #8b5cf6;
  --price-accent-dark: #7c3aed;
  --price-accent-soft: rgba(139, 92, 246, 0.1);
  --price-accent-border: rgba(139, 92, 246, 0.32);
  --price-accent-glow: rgba(139, 92, 246, 0.16);
}
.price-card--addon {
  --price-accent: #14b8a6;
  --price-accent-dark: #0d9488;
  --price-accent-soft: rgba(20, 184, 166, 0.1);
  --price-accent-border: rgba(20, 184, 166, 0.32);
  --price-accent-glow: rgba(20, 184, 166, 0.16);
}

.price-card--starter .price-card__amount .value,
.price-card--business .price-card__amount .value,
.price-card--android .price-card__amount .value,
.price-card--custom .price-card__amount .value,
.price-card--addon .price-card__amount .value {
  color: var(--price-accent-dark);
}
.price-card--starter .check,
.price-card--android .check,
.price-card--custom .check {
  background: var(--price-accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--price-accent) 25%, transparent);
  color: var(--price-accent-dark);
}
.price-card--custom .price-card__amount .value {
  font-size: 1.45rem;
  line-height: 1.2;
}
.price-card--highlight .price-card__amount .value {
  color: var(--price-accent-dark);
}
.price-card--highlight {
  background: #ffffff;
}
.price-card--highlight .check--accent {
  background: var(--price-accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--price-accent) 30%, transparent);
  color: var(--price-accent-dark);
}
.price-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--price-accent-dark), var(--price-accent));
  color: #fff;
  border: 0;
  box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--price-accent) 55%, transparent);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 1;
}
.price-card__badge .icon { color: #fff; }

.pricing__note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: .875rem;
  color: var(--fg-xsoft);
}

.pricing-addon .section__head { margin-bottom: 0; }
.price-card--addon {
  max-width: 760px;
  margin: 1.25rem auto 0;
  border-color: var(--price-accent-border);
  background: #ffffff;
}
.price-card--addon .check--accent {
  background: var(--price-accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--price-accent) 30%, transparent);
  color: var(--price-accent-dark);
}
.price-card--addon .price-card__addon-icon {
  background: var(--price-accent-soft);
  color: var(--price-accent-dark);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--price-accent) 22%, transparent);
}
.price-card--addon .pricing-addon__note {
  border-color: color-mix(in srgb, var(--price-accent) 22%, transparent);
  background: var(--price-accent-soft);
}
.price-card__addon-head {
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 640px) {
  .price-card__addon-head {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
  }
}
.price-card__addon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgba(54, 61, 74, 0.1);
  color: var(--fg-link);
}
.price-card__addon-head h3 { margin: 0; }
.price-card__addon-head .price-card__desc { min-height: 0; margin-top: .25rem; }
.price-card__amount--monthly {
  margin: 0;
  flex-wrap: wrap;
}
.price-card__amount .period {
  font-size: .95rem;
  font-weight: 500;
  color: var(--fg-soft);
}
.check-list--cols {
  margin-top: 1.5rem;
  display: grid;
  gap: .625rem;
}
.pricing-addon__note {
  margin: 1.25rem 0 0;
  padding: .75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(54, 61, 74, 0.15);
  background: rgba(54, 61, 74, 0.06);
  text-align: center;
  line-height: 1.55;
}
@media (min-width: 640px) {
  .check-list--cols { grid-template-columns: repeat(2, 1fr); }
}

.page-pricing .page-hero,
.page-pricing .page-hero__title,
.page-pricing .page-hero__desc,
.page-pricing .section__head,
.page-pricing .section__title,
.page-pricing .section__desc,
.page-pricing .cta-band__inner,
.page-pricing .cta-band__title,
.page-pricing .cta-band__desc {
  text-align: center;
  margin-inline: auto;
}
.page-pricing .page-hero__title,
.page-pricing .page-hero__desc,
.page-pricing .section__head,
.page-pricing .section__desc,
.page-pricing .cta-band__title,
.page-pricing .cta-band__desc {
  max-width: 40rem;
}
.page-pricing .page-hero__cta {
  justify-content: center;
}
.page-pricing__plans {
  background: var(--band);
}
.page-pricing .cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-pricing .cta-band__title,
.page-pricing .cta-band__desc,
.page-pricing .cta-band__cta {
  grid-column: auto;
  grid-row: auto;
  max-width: 40rem;
}
.page-pricing .cta-band__cta {
  margin-top: 1.25rem;
  justify-content: center;
}
.page-pricing .price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-pricing .price-card__inner {
  width: 100%;
  text-align: center;
  align-items: center;
}
.page-pricing .price-card__desc {
  min-height: 0;
}
.page-pricing .price-card__amount,
.page-pricing .price-card__amount--monthly {
  justify-content: center;
}
.page-pricing .price-card--highlight {
  padding-top: 2.25rem;
}
.page-pricing .price-card--highlight .price-card__badge {
  left: 50%;
  right: auto;
  top: .75rem;
  transform: translateX(-50%);
}
.page-pricing .check-list {
  width: 100%;
  justify-items: center;
}
.page-pricing .check-list li {
  justify-content: center;
  text-align: center;
}
.page-pricing .price-card .btn {
  max-width: 280px;
  margin-inline: auto;
}
.page-pricing .price-card__addon-head {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.page-pricing .price-card__addon-icon {
  margin-inline: auto;
}
.page-pricing .check-list--cols {
  justify-items: center;
}

@media (max-width: 767px) {
  .page-pricing .price-card--highlight .price-card__badge {
    position: static;
    transform: none;
    margin: 1rem auto 0;
  }
  .page-pricing .check-list--cols {
    grid-template-columns: 1fr;
  }
  .page-pricing .cta-band__cta {
    flex-direction: column;
    align-items: center;
  }
  .page-pricing .cta-band__cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* =========================================
   Portfolio
   ========================================= */
.project {
  position: relative;
  overflow: hidden;
}
.project__media {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.project__media::after {
  content: none;
}
.project__media--blue    { background: linear-gradient(135deg, #2c3440, #363d4a); }
.project__media--purple  { background: linear-gradient(135deg, #363d4a, #2c3440); }
.project__media--emerald { background: linear-gradient(135deg, #363d4a, #2c3440); }
.project__media--sky     { background: linear-gradient(135deg, #363d4a, #2c3440); }
.project__media--amber   { background: linear-gradient(135deg, #f59e0b, #f97316); }
.project__media--rose    { background: linear-gradient(135deg, #f43f5e, #ec4899); }

/* Real-screenshot variant: show the FULL screenshot inside the card, never crop */
.project__media--shot {
  background: #ffffff;
  padding: 14px;
}
.project__media--shot img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.22);
  transition: transform .5s var(--ease);
}
.project:hover .project__media--shot img { transform: scale(1.02); }
/* No dark gradient over the screenshot - the chip/arrow already have their
   own dark-glass background which reads well on the light card backdrop. */
.project__media--shot::after { content: none; }

.project__chip {
  position: absolute;
  top: .75rem; left: .75rem;
  display: inline-flex; align-items: center;
  padding: .25rem .625rem;
  border-radius: 999px;
  background: var(--card-accent, var(--blue));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  color: #ffffff;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  z-index: 2;
}
.project__arrow {
  position: absolute;
  top: .75rem; right: .75rem;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--fg-on-accent);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s, transform .3s;
  z-index: 2;
}
.project:hover .project__arrow { opacity: 1; transform: translateY(0); }

.project__icon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 1;
}
.project__icon > div, .project__icon {
  pointer-events: none;
}
.project__icon::before {
  content: '';
  position: absolute;
  width: 96px; height: 96px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--card-accent, var(--c-blue)) 18%, #2c3440);
  box-shadow: 0 10px 22px -12px rgba(0,0,0,.28);
  transition: transform .35s var(--ease);
}
.project:hover .project__icon::before { transform: scale(1.06) rotate(-3deg); }
.project__icon .icon {
  position: relative; z-index: 1;
  color: var(--fg-on-accent);
  transition: transform .35s var(--ease);
}
.project:hover .project__icon .icon { transform: scale(1.06) rotate(-3deg); }

.project__body { padding: 1.5rem; }
.project__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3-lg);
  letter-spacing: -0.015em;
  color: var(--fg);
}
.project__body > p {
  margin: .5rem 0 0;
  font-size: .875rem;
  color: var(--fg-soft);
  line-height: 1.6;
}

/* =========================================
   Projects page
   ========================================= */
.page-projects .section__head,
.page-projects .section__title,
.page-projects .section__desc,
.page-projects .cta-band__inner,
.page-projects .cta-band__title,
.page-projects .cta-band__desc {
  text-align: center;
  margin-inline: auto;
}
.page-projects .section__head,
.page-projects .section__desc,
.page-projects .cta-band__title,
.page-projects .cta-band__desc {
  max-width: 40rem;
}
.page-projects .cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-projects .cta-band__cta {
  margin-top: 1.25rem;
  justify-content: center;
}

.page-projects .project__media {
  height: 168px;
}
.page-projects .project__media--shot {
  padding: 10px;
}
.page-projects .project__body {
  padding: 1rem 1.1rem 1.1rem;
}
.page-projects .project__body h3 {
  font-size: var(--text-h3-md);
}
.page-projects .project__body > p {
  margin-top: .35rem;
  font-size: .82rem;
  line-height: 1.5;
}
.page-projects .project__chip {
  top: .55rem;
  left: .55rem;
  padding: .18rem .5rem;
  font-size: .6rem;
}
.page-projects .tags {
  margin-top: .75rem;
}
.page-projects .project__actions {
  margin-top: .9rem;
}

.projects-group + .projects-group {
  margin-top: 2rem;
}
.projects-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h3-lg);
  letter-spacing: var(--tracking-heading);
  text-align: center;
  color: var(--fg-heading);
}

.project--lead {
  --card-accent: var(--c-blue);
  display: grid;
  margin-top: 1.25rem;
}
.project--lead .project__media {
  min-height: 168px;
}
.project--lead .project__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project--lead .project__body h3 {
  font-size: 1.15rem;
}
.project--lead .project__body > p {
  font-size: .85rem;
  max-width: 30rem;
}
@media (min-width: 860px) {
  .project--lead {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
  .project--lead .project__media {
    height: 100%;
    min-height: 220px;
  }
  .project--lead .project__body {
    padding: 1.25rem 1.4rem;
  }
}

.projects-page__grid {
  margin-top: 1rem;
  gap: 1.1rem;
}
.page-projects .project__actions {
  flex-wrap: wrap;
}

@media (max-width: 859px) {
  .page-projects .project__body,
  .page-projects .project__body h3,
  .page-projects .project__body > p,
  .projects-preview .project__body,
  .projects-preview .project__body h3,
  .projects-preview .project__body > p {
    text-align: center;
  }
  .page-projects .project__body > p,
  .projects-preview .project__body > p {
    margin-inline: auto;
  }
  .page-projects .tags,
  .page-projects .project__actions,
  .projects-preview .project__actions {
    justify-content: center;
  }
}

/* Homepage project preview */
.projects-preview .section__head,
.projects-preview .section__title,
.projects-preview .section__desc,
.home-services .section__head,
.home-services .section__title,
.home-services .section__desc,
.home-pricing .section__head,
.home-pricing .section__title,
.home-pricing .section__desc,
.outcomes-section .section__head,
.outcomes-section .section__title,
.outcomes-section .section__desc {
  text-align: center;
  margin-inline: auto;
}
.home-services {
  overflow: visible;
}
.home-services .section__more {
  margin-top: 2.5rem;
  text-align: center;
}
.projects-preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 1.5rem;
}
@media (min-width: 700px) {
  .projects-preview__grid { grid-template-columns: repeat(2, 1fr); }
}
.projects-preview .project__media {
  height: 168px;
}
.projects-preview .project__media--shot {
  padding: 10px;
  background: var(--band);
}
.projects-preview .project__media--shot img {
  border-radius: 8px;
  box-shadow: none;
}
.projects-preview .project__chip {
  top: .55rem;
  left: .55rem;
  padding: .18rem .5rem;
  font-size: .6rem;
  background: var(--card-accent, var(--blue));
  color: #ffffff;
  border: 0;
}
.projects-preview .project__body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
}
.projects-preview .project__body h3 {
  font-size: var(--text-h3-md);
}
.projects-preview .project__body > p {
  margin-top: .35rem;
  font-size: .82rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.projects-preview .project__actions {
  margin-top: .9rem;
  flex-wrap: wrap;
}
.projects-preview .projects-group {
  margin-top: 1.75rem;
}
.projects-preview .projects-group + .projects-group {
  margin-top: 2.25rem;
}
.projects-preview .project--lead {
  margin-top: 1rem;
}
.projects-preview .project--lead .project__media--shot {
  background: var(--band);
}
.projects-preview .section__more {
  margin-top: 2rem;
  text-align: center;
}

/* Featured case study on the homepage */
.work-feature {
  --card-accent: var(--c-blue);
  display: grid;
  margin-top: 2rem;
  border: 1.5px solid color-mix(in srgb, var(--card-accent) 36%, #d5dde6);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  box-shadow:
    inset 0 4px 0 var(--card-accent),
    0 14px 32px -18px color-mix(in srgb, var(--card-accent) 40%, #15202b);
  transition: border-color .25s, box-shadow .25s;
}
.work-feature:hover {
  border-color: color-mix(in srgb, var(--card-accent) 55%, #9aabb8);
  box-shadow:
    inset 0 4px 0 var(--card-accent),
    0 18px 36px -16px color-mix(in srgb, var(--card-accent) 48%, #15202b);
}
.work-feature__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 1.25rem;
  background: color-mix(in srgb, var(--card-accent) 12%, #ffffff);
}
.work-feature__media img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: 8px;
}
.work-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .75rem;
  padding: 1.75rem 1.5rem 1.85rem;
}
.work-feature__tag {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.work-feature__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-heading);
}
.work-feature__body p {
  margin: 0;
  font-size: .98rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 36rem;
}
.work-feature__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
}
.work-feature:hover .work-feature__link {
  color: var(--blue-dark);
}
@media (min-width: 768px) {
  .work-feature {
    grid-template-columns: 1.25fr 1fr;
    min-height: 360px;
  }
  .work-feature__media {
    min-height: 100%;
    padding: 1.5rem;
  }
  .work-feature__body {
    padding: 2rem 1.75rem;
  }
}

/* Compact capabilities — large icon flips to details on hover */
.capability-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  margin-top: 2.5rem;
  border: 0;
}
.capability {
  --card-accent: var(--c-blue);
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1.5px solid color-mix(in srgb, var(--card-accent) 32%, #d5dde6);
  background: color-mix(in srgb, var(--card-accent) 8%, #ffffff);
  box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--card-accent) 40%, #15202b);
  outline: none;
  transition: border-color .25s, box-shadow .25s, transform .28s var(--ease);
}
.capability::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 2;
  background: var(--card-accent);
  pointer-events: none;
}
.capability:hover,
.capability:focus-visible,
.capability:focus-within {
  border-color: color-mix(in srgb, var(--card-accent) 55%, #9aabb8);
  box-shadow: 0 16px 32px -16px color-mix(in srgb, var(--card-accent) 50%, #15202b);
}
.capability__visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--card-accent);
  opacity: 1;
  transform: scale(1);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.capability__visual .icon {
  width: 4.5rem;
  height: 4.5rem;
  stroke-width: 1.6;
}
.capability__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.35rem 1.25rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.capability-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg-heading);
}
.capability__info p {
  margin: .55rem 0 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.capability__info .chip-link {
  margin-top: 1rem;
}
@media (hover: hover) {
  .capability:hover .capability__visual,
  .capability:focus-visible .capability__visual,
  .capability:focus-within .capability__visual {
    opacity: 0;
    transform: scale(0.82);
    pointer-events: none;
  }
  .capability:hover .capability__info,
  .capability:focus-visible .capability__info,
  .capability:focus-within .capability__info {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}
@media (min-width: 800px) {
  .capability-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.75rem;
  }
  .capability__visual .icon {
    width: 5.25rem;
    height: 5.25rem;
  }
}
@media (hover: hover) and (min-width: 768px) {
  .capability:hover,
  .capability:focus-visible,
  .capability:focus-within {
    transform: translateY(-6px);
  }
}
.capability.is-open .capability__visual {
  opacity: 0;
  transform: scale(0.82);
  pointer-events: none;
}
.capability.is-open .capability__info {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
@media (max-width: 799px) {
  .capability-row {
    grid-template-columns: minmax(0, 17.5rem);
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
  }
}
@media (hover: none) {
  .capability {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Homepage pricing teaser */
.home-pricing {
  background: #ffffff;
}
.home-pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.home-plan {
  --card-accent: var(--c-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.35rem 1.45rem;
  border-radius: var(--card-radius);
  border: 1.5px solid color-mix(in srgb, var(--card-accent) 32%, #d5dde6);
  background: #ffffff;
  box-shadow:
    inset 0 4px 0 var(--card-accent),
    0 12px 28px -18px color-mix(in srgb, var(--card-accent) 40%, #15202b);
}
.home-plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg-heading);
}
.home-plan__price {
  margin: .7rem 0 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .35rem;
}
.home-plan__price span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: .68rem;
  color: var(--fg-xsoft);
}
.home-plan__price strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--card-accent);
}
.home-plan > p {
  margin: .55rem 0 0;
  max-width: 18rem;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.home-plan .chip-link {
  margin-top: 1.1rem;
}
.home-plan--featured {
  background: color-mix(in srgb, var(--card-accent) 7%, #ffffff);
}
@media (min-width: 700px) {
  .home-pricing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
@media (min-width: 1000px) {
  .home-pricing__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.home-consult .section__head,
.home-consult .section__title,
.home-consult .section__desc {
  text-align: center;
  margin-inline: auto;
}
.home-consult__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem auto 0;
  max-width: 40rem;
}
@media (min-width: 700px) {
  .home-consult__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.home-about {
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.home-about__block {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.home-about__media .hero__photo {
  max-width: 320px;
  margin: 0 auto;
  background: #ffffff;
}
.home-about__body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  color: var(--fg-heading);
}
.home-about__body p {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: var(--leading-body);
}
.home-about__facts {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}
.home-about__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--fg-heading);
}
.home-about__facts span {
  display: block;
  margin-top: .2rem;
  font-size: .875rem;
  color: var(--fg-soft);
  line-height: 1.45;
}
.home-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}
@media (min-width: 640px) {
  .home-about__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 900px) {
  .home-about__block {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 4rem;
  }
  .home-about__media .hero__photo {
    margin: 0;
    max-width: none;
  }
}

/* Homepage close */
.home-cta {
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.home-cta__block {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.home-cta__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  color: var(--fg-heading);
  max-width: 16ch;
}
.home-cta__copy p {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: var(--leading-body);
}
.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.home-cta__reach {
  display: grid;
  gap: .85rem;
}
.home-cta__reach a {
  --card-accent: var(--c-blue);
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--card-radius);
  border: 1.5px solid color-mix(in srgb, var(--card-accent) 32%, #d5dde6);
  background: #ffffff;
  box-shadow:
    inset 0 4px 0 var(--card-accent),
    0 12px 28px -18px color-mix(in srgb, var(--card-accent) 42%, #15202b);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, box-shadow .25s;
}
.home-cta__reach a:nth-child(2) { --card-accent: var(--c-teal); }
.home-cta__reach a:nth-child(3) { --card-accent: var(--c-amber); }
.home-cta__reach a:hover {
  border-color: color-mix(in srgb, var(--card-accent) 55%, #9aabb8);
  box-shadow:
    inset 0 4px 0 var(--card-accent),
    0 16px 32px -16px color-mix(in srgb, var(--card-accent) 50%, #15202b);
}
.home-cta__icon {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-accent) 16%, #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent) 28%, transparent);
  color: var(--card-accent);
}
.home-cta__reach strong {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--fg-heading);
}
.home-cta__reach em {
  display: block;
  margin-top: .15rem;
  font-style: normal;
  font-size: .85rem;
  color: var(--fg-soft);
  word-break: break-word;
}
@media (min-width: 900px) {
  .home-cta__block {
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
  }
}

/* Logo strip */
.logo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}
.logo-bar__label {
  width: 100%;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-xsoft);
}
@media (min-width: 700px) {
  .logo-bar__label { width: auto; margin-right: .5rem; }
}
.logo-bar a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .75rem .4rem .45rem;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--c-blue) 24%, #d5dde6);
  background: color-mix(in srgb, var(--c-blue) 8%, #ffffff);
  font-size: .875rem;
  font-weight: 600;
  color: var(--fg-heading);
  text-decoration: none;
}
.logo-bar a:hover {
  color: var(--blue-dark);
  border-color: color-mix(in srgb, var(--c-blue) 50%, #9aabb8);
}
.logo-bar img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}
.tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
}
.tags span {
  padding: .2rem .5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: .7rem;
  color: var(--fg-soft);
  letter-spacing: 0.02em;
}
.project__actions {
  margin-top: 1.25rem;
  display: flex;
  gap: .5rem;
}
.chip-link {
  display: inline-flex; align-items: center;
  gap: .375rem;
  padding: .375rem .85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  font-size: .75rem;
  font-weight: 500;
  color: var(--fg);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.chip-link:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.chip-link--primary {
  background: var(--blue);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
  -webkit-text-fill-color: currentColor;
}
.chip-link--primary:hover {
  background: var(--blue-dark);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(52, 152, 219, 0.55);
  transform: translateY(-1px);
}
.project__body a.chip-link--primary,
.outcome-card a.chip-link--primary {
  color: #ffffff;
}
.project__body a.chip-link--primary:hover,
.outcome-card a.chip-link--primary:hover {
  color: #ffffff;
}

/* =========================================
   Tech stack
   ========================================= */
.stack-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
}
.stack-card__head {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
}
.stack-card__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3-lg);
  color: var(--fg);
  letter-spacing: -0.015em;
}
.stack-card .muted-xs {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-xsoft);
  font-size: .68rem;
}
.stack-card__grid {
  position: relative;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.stack-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem .875rem;
  border-radius: 16px;
  border: 1.5px solid color-mix(in srgb, var(--card-accent, var(--c-blue)) 22%, #d5dde6);
  background: color-mix(in srgb, var(--card-accent, var(--c-blue)) 6%, #ffffff);
  font-size: .85rem;
  font-weight: 500;
  color: var(--fg);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.stack-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-accent, var(--c-blue)) 45%, #9aabb8);
  background: color-mix(in srgb, var(--card-accent, var(--c-blue)) 10%, #ffffff);
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--card-accent, var(--c-blue)) 40%, #15202b);
}
.stack-item__icon {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--card-accent, var(--c-blue)) 16%, #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent, var(--c-blue)) 28%, transparent);
  color: var(--card-accent, var(--c-blue));
}
.stack-item__icon .icon { width: 16px; height: 16px; }

.about-tools {
  background: var(--band);
  border-top: 1px solid var(--border);
}
.about-tools .section__head,
.about-tools .section__title,
.about-tools .section__desc {
  text-align: center;
  margin-inline: auto;
}
.about-tools__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
@media (min-width: 768px) {
  .about-tools__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.about-tools .stack-card__head {
  justify-content: flex-start;
  gap: .75rem;
}
.stack-card__num {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--card-accent);
}
.about-tools__grid > *:nth-child(3n + 1) { --card-accent: var(--c-blue); }
.about-tools__grid > *:nth-child(3n + 2) { --card-accent: var(--c-teal); }
.about-tools__grid > *:nth-child(3n + 3) { --card-accent: var(--c-amber); }

@media (max-width: 767px) {
  .tech-stack .section__head {
    text-align: center;
  }
  .tech-stack .eyebrow {
    margin-inline: auto;
  }
  .tech-stack .stack-card {
    text-align: center;
  }
  .tech-stack .stack-card__head {
    flex-direction: column;
    align-items: center;
    gap: .375rem;
  }
  .tech-stack .stack-card__grid {
    grid-template-columns: 1fr;
    max-width: 240px;
    margin-inline: auto;
  }
  .tech-stack .stack-item {
    justify-content: center;
  }
}

/* =========================================
   Testimonials
   ========================================= */
.quote {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 1.75rem;
}
.quote__mark {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px;
  color: rgba(54, 61, 74, 0.08);
  fill: currentColor;
}
.quote__stars {
  display: inline-flex; gap: 2px;
  color: var(--accent-amber);
}
.quote__stars .icon { width: 16px; height: 16px; }
.quote blockquote {
  margin: 1rem 0 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--fg-muted);
}
.quote__by {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: .75rem;
}
.quote__by span { display: flex; align-items: center; gap: .75rem; }
.quote__by > span:last-child { display: block; }
.quote__by strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--fg);
}
.quote__by em {
  font-style: normal;
  font-size: .75rem;
  color: var(--fg-soft);
}
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c3440, #363d4a);
  box-shadow: 0 6px 14px -4px rgba(54, 61, 74, 0.4);
  font-size: .85rem;
  font-weight: 600;
  color: var(--fg-on-accent);
  flex-shrink: 0;
}
.avatar--photo {
  overflow: hidden;
  background: #e2e8f0;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.2);
}
.avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================
   Contact
   ========================================= */
.contact {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: 1fr 1.15fr; gap: 1.25rem; }
}
.contact__side { display: grid; gap: 1rem; align-content: start; }

.contact__card {
  padding: 1.5rem;
}
.contact__card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3-lg);
  letter-spacing: -0.015em;
  color: var(--fg);
}
.contact__hour {
  margin-top: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.contact-row {
  margin-top: .625rem;
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1.5px solid color-mix(in srgb, var(--c-blue) 24%, #d5dde6);
  background: color-mix(in srgb, var(--c-blue) 6%, #ffffff);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.contact-row:hover {
  border-color: color-mix(in srgb, var(--c-blue) 50%, #9aabb8);
  box-shadow: 0 12px 28px -16px color-mix(in srgb, var(--c-blue) 40%, #15202b);
}
.contact-row:first-of-type { margin-top: 1.25rem; }
.contact-row > span:last-child { flex: 1; min-width: 0; }
.contact-row em {
  display: block;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: .65rem;
  color: var(--fg-xsoft);
}
.contact-row strong {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-row a {
  color: var(--fg-link);
  transition: color .2s;
}
.contact-row a:hover {
  color: var(--fg-link-hover);
}
.contact-row__icon {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c-blue) 16%, #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-blue) 28%, transparent);
  color: var(--c-blue);
}
.contact-row__icon--green {
  background: color-mix(in srgb, var(--whatsapp) 16%, #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--whatsapp) 28%, transparent);
  color: var(--whatsapp-dark);
}

.contact__form {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1.5px solid color-mix(in srgb, var(--c-blue) 32%, #d5dde6);
  background: #ffffff;
  box-shadow:
    inset 0 4px 0 var(--c-blue),
    0 12px 28px -18px color-mix(in srgb, var(--c-blue) 40%, #15202b);
  padding: 1.15rem 1.2rem 1.2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.field { display: block; margin-top: .75rem; }
.field:first-child, .form-grid .field { margin-top: 0; }
.field > span {
  display: block;
  margin-bottom: .375rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--fg-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .55rem .75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-size: .875rem;
  font-family: inherit;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 72px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-placeholder); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(54, 61, 74, 0.55);
  background: #f8fbff;
  box-shadow: 0 0 0 4px rgba(54, 61, 74, 0.12);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 18px;
}
.field select option { background: var(--surface); color: var(--fg); }

.form-foot {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.form-foot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.form-alert {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 16px;
  font-size: .875rem;
}
.form-alert--success {
  border: 1px solid rgba(52, 152, 219, 0.28);
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.form-alert--error {
  border: 1px solid rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.08);
  color: var(--fg-error);
}
.form-alert[hidden] { display: none; }

/* =========================================
   Contact page
   ========================================= */
.page-contact .page-hero,
.page-contact .page-hero__title,
.page-contact .page-hero__desc,
.page-contact .section__head,
.page-contact .section__title,
.page-contact .section__desc {
  text-align: center;
  margin-inline: auto;
}
.page-contact .page-hero__title,
.page-contact .page-hero__desc,
.page-contact .section__head,
.page-contact .section__desc {
  max-width: 40rem;
}
.page-contact .page-hero--contact,
.page-session .page-hero--contact {
  background: #ffffff;
}

.page-session .page-hero,
.page-session .page-hero__title,
.page-session .page-hero__desc {
  text-align: center;
  margin-inline: auto;
}
.page-session .page-hero__title,
.page-session .page-hero__desc {
  max-width: 40rem;
}
.session-main {
  background: var(--band);
  border-top: 0;
}
.session-form {
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.session-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.session-summary {
  margin: 0 0 1rem;
  padding: .7rem 1rem;
  border-radius: 12px;
  background: #e7f3fb;
  color: #1d7ab8;
  font-weight: 600;
}
.page-session .field > span,
.page-session .form-foot,
.page-session .form-alert {
  text-align: center;
}
.page-session .form-foot {
  align-items: center;
}
.page-session .form-foot__actions,
.page-session .form-alert {
  justify-content: center;
}

.contact-main {
  background: var(--band);
  border-top: 0;
}

.page-contact .contact__card,
.page-contact .contact__form {
  text-align: center;
}
.page-contact .contact__card--accent .eyebrow {
  margin-bottom: .5rem;
  display: block;
}
.page-contact .contact-row {
  justify-content: center;
  text-align: center;
}
.page-contact .contact-row > span:last-child {
  flex: none;
}

.contact__form-head {
  margin-bottom: .9rem;
  text-align: center;
}

.contact__form-head h2 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.contact__form-head .muted-sm {
  margin: 0;
}

.page-contact .field > span {
  text-align: center;
}
.page-contact .form-foot {
  align-items: center;
  text-align: center;
}
.page-contact .form-foot__actions {
  justify-content: center;
}
.page-contact .form-alert {
  justify-content: center;
  text-align: center;
}
.page-contact .faq__question,
.page-contact .faq__answer {
  text-align: center;
}
.page-contact .faq__question {
  padding-left: 3rem;
}

@media (max-width: 1023px) {
  .page-contact .contact__form {
    order: -1;
  }
}

@media (min-width: 1024px) {
  .page-contact .contact {
    grid-template-columns: minmax(240px, 1fr) minmax(0, 1.15fr);
    align-items: start;
  }
}

@media (max-width: 767px) {
  .page-contact .page-hero .container,
  .page-contact .contact-main .container,
  .page-contact .contact-faq .container {
    text-align: center;
  }

  .page-contact .eyebrow {
    display: block;
    text-align: center;
  }

  .page-contact .page-hero__title,
  .page-contact .page-hero__desc {
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }


  .page-contact .contact__card,
  .page-contact .contact__form,
  .page-contact .contact__hour,
  .page-contact .muted-sm {
    text-align: center;
  }

  .page-contact .contact-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: .5rem;
  }
  .page-contact .contact-row > span:last-child {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .page-contact .field > span {
    display: block;
    text-align: center;
  }

  .page-contact .form-foot__actions {
    flex-direction: column;
    width: 100%;
  }
  .page-contact .form-foot__actions .btn {
    width: 100%;
  }

  .page-contact .faq__question {
    padding: 1.125rem 2.75rem;
    text-align: center;
  }
  .page-contact .faq__answer {
    text-align: center;
  }
}

/* =========================================
   FAQ accordion
   ========================================= */
.faq-groups {
  display: grid;
  gap: 2rem;
  max-width: 46rem;
  margin: 1.75rem auto 0;
}
.faq-group h3 {
  margin: 0 0 .8rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-dark);
  text-align: left;
}
.faq {
  max-width: 760px;
  margin-top: 1.5rem;
  margin-inline: auto;
  display: grid;
  gap: .75rem;
}
.faq-group .faq {
  margin-top: 0;
  max-width: none;
}
.faq__item {
  border-radius: var(--card-radius);
  border: 1.5px solid color-mix(in srgb, var(--c-blue) 28%, #d5dde6);
  background: #ffffff;
  box-shadow: inset 0 3px 0 var(--c-blue);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq__item[open] {
  border-color: var(--border-strong);
}
.faq__question {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.125rem 3rem 1.125rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  user-select: none;
  transition: color .2s;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ''; }
.faq__question::after {
  content: '+';
  position: absolute;
  right: 1.125rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(52, 152, 219, 0.08);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--blue);
  transition: background .2s, transform .25s var(--ease);
}
.faq__item[open] .faq__question::after {
  content: '−';
  background: rgba(52, 152, 219, 0.15);
}
.faq__question:hover { color: var(--blue); }
.faq__answer {
  padding: 0 1.25rem 1.125rem;
}
.faq__answer p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--fg-muted);
}
.faq__answer a {
  color: var(--fg-link);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq__answer a:hover {
  color: var(--fg-link-hover);
}
.faq__answer strong {
  color: var(--fg);
  font-weight: 600;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #000000;
  color: var(--fg-on-dark);
}
.footer .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer .nav__brand { color: var(--fg-on-dark); }
.footer .nav__brand:hover { color: var(--fg-on-dark); }
.footer .dot { color: var(--blue); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer__about {
  margin: 1rem 0 0;
  max-width: 320px;
  font-size: .875rem;
  color: var(--fg-on-dark-muted);
  line-height: 1.65;
}
.footer__heading {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-on-dark-soft);
}
.footer__links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  font-size: .875rem;
}
.footer__links a {
  color: var(--fg-on-dark-muted);
  transition: color .2s;
}
.footer__links a:hover { color: var(--fg-on-dark-link-hover); }
.footer__social {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}
.footer__social a,
.footer__social-link {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-on-dark);
  transition: background .2s, color .2s, transform .2s, border-color .2s, box-shadow .2s;
}
.footer__social a:hover,
.footer__social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5);
}
.footer__social-link--mail {
  background: rgba(234, 67, 53, 0.14);
  border-color: rgba(234, 67, 53, 0.32);
}
.footer__social-link--mail:hover {
  background: rgba(234, 67, 53, 0.22);
  border-color: rgba(234, 67, 53, 0.45);
}
.footer__social-link--whatsapp {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.32);
}
.footer__social-link--whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.45);
}
.footer__social-link--linkedin {
  background: rgba(10, 102, 194, 0.14);
  border-color: rgba(10, 102, 194, 0.32);
}
.footer__social-link--linkedin:hover {
  background: rgba(10, 102, 194, 0.22);
  border-color: rgba(10, 102, 194, 0.45);
}
.footer__social-link--github {
  background: rgba(24, 23, 23, 0.55);
  border-color: rgba(255, 255, 255, 0.18);
}
.footer__social-link--github:hover {
  background: rgba(24, 23, 23, 0.75);
  border-color: rgba(255, 255, 255, 0.28);
}
.icon--brand {
  width: 20px;
  height: 20px;
}
.contact-row__icon--brand {
  background: transparent;
  box-shadow: none;
  border: none;
  width: 40px;
  height: 40px;
}
.contact-row__icon--brand .icon--brand {
  width: 24px;
  height: 24px;
}
.footer__loc {
  margin-top: 1.25rem;
  color: var(--fg-on-dark-xsoft);
}
.footer .muted-xs { color: var(--fg-on-dark-xsoft); }
.footer__apps {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.footer__apps-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer__app {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-width: 11.5rem;
  padding: .5rem .9rem .5rem .55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-on-dark);
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.footer__app:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--fg-on-dark);
  transform: translateY(-2px);
}
.footer__app-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.footer__app-meta {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  line-height: 1.2;
  text-align: left;
}
.footer__app-store {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-on-dark-xsoft);
}
.footer__app-name {
  font-size: .875rem;
  font-weight: 700;
}
.footer__bottom {
  margin-top: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
}
@media (min-width: 640px) { .footer__bottom { flex-direction: row; align-items: center; } }

.footer__legal {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: .75rem;
}
.footer__legal a {
  color: var(--fg-on-dark-soft);
  transition: color .2s;
}
.footer__legal a:hover { color: var(--fg-on-dark-link-hover); }
@media (min-width: 640px) {
  .footer__apps {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer__legal li {
  position: relative;
}
.footer__legal li + li::before {
  content: '·';
  position: absolute;
  left: -.825rem;
  color: var(--fg-on-dark-xsoft);
}

@media (max-width: 767px) {
  .footer__grid {
    text-align: center;
  }
  .footer .nav__brand {
    display: inline-flex;
  }
  .footer__about {
    margin-inline: auto;
  }
  .footer__links {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer__social {
    justify-content: center;
  }
  .footer__apps {
    align-items: center;
    text-align: center;
  }
  .footer__apps-list {
    justify-content: center;
  }
  .footer__bottom {
    align-items: center;
    text-align: center;
  }
  .footer__legal {
    justify-content: center;
  }
}

/* =========================================
   Floating WhatsApp
   ========================================= */
.wa {
  position: fixed;
  bottom: 1.25rem; right: 1.25rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
  animation: wa-in .4s var(--ease) both;
}
@media (min-width: 640px) { .wa { bottom: 1.75rem; right: 1.75rem; } }
.wa[hidden] { display: none; }

.wa__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
}

.call__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--logo-navy), var(--logo-navy-dark));
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(54, 61, 74, 0.42);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.call__btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 32px -8px rgba(54, 61, 74, 0.5);
}
.call__btn .icon { width: 22px; height: 22px; stroke-width: 2.2; }

.wa__tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .25rem;
  padding: .625rem .875rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.18);
  font-size: .85rem;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  max-width: calc(100vw - 5.5rem);
}
@media (max-width: 639px) {
  .wa__tip {
    font-size: .8rem;
    padding: .5rem .7rem;
    white-space: normal;
    line-height: 1.35;
  }
}
.wa__tip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  width: 12px; height: 12px;
  transform: translateY(-50%) rotate(45deg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.wa__tip.is-hidden { display: none !important; }
.wa__tip button {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  border-radius: 999px;
  color: var(--fg-xsoft);
}
.wa__tip button:hover { color: var(--fg); }

.wa__btn {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: var(--fg-on-accent);
  box-shadow: 0 14px 36px -8px rgba(37, 211, 102, 0.45);
  transition: transform .25s var(--ease);
}
.wa__btn:hover { transform: scale(1.06); }
.wa__btn .icon { width: 24px; height: 24px; stroke-width: 2.2; }
.wa__ping {
  display: none;
}

/* =========================================
   Project detail pages
   ========================================= */

/* Tight-padded section variant for detail pages */
.section--tight { padding: 1.25rem 0; }
@media (min-width: 768px) { .section--tight { padding: 2rem 0; } }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--fg-soft);
  margin: 0 auto 1rem;
}
.breadcrumb a {
  color: var(--fg-link);
  font-weight: 500;
  transition: opacity .2s;
}
.breadcrumb a:hover { color: var(--fg-link-hover); }
.breadcrumb__sep { color: var(--fg-xsoft); }
.breadcrumb__current { color: var(--fg-muted); }

/* Tags row under the page-hero title */
.page-hero__tags {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  justify-content: center;
}
.page-hero__tags span {
  padding: .3rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  font-size: .72rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* Large showcase image */
.showcase {
  padding: 0 0 1.25rem;
  position: relative;
}
@media (min-width: 768px) { .showcase { padding: 0 0 1.75rem; } }
.showcase__inner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.2);
}
.showcase__inner img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 16px 36px -18px rgba(15, 23, 42, 0.35);
}

/* Project meta grid (Client / Role / Year / URL) */
.project-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  background: #ffffff;
}
@media (min-width: 640px) { .project-meta { grid-template-columns: repeat(2, 1fr); padding: 2rem; gap: 1.5rem; } }
@media (min-width: 900px) { .project-meta { grid-template-columns: repeat(4, 1fr); } }
.project-meta__item { min-width: 0; }
.project-meta__label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .68rem;
  font-weight: 500;
  color: var(--fg-xsoft);
}
.project-meta__value {
  margin-top: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.015em;
  color: var(--fg);
  word-break: break-word;
}
.project-meta__value a {
  color: var(--fg-link);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: opacity .2s;
}
.project-meta__value a:hover { color: var(--fg-link-hover); }

/* Two-column content block (challenge / solution) */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.two-col__item h3 {
  margin: .875rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.two-col__item p {
  color: var(--fg-muted);
  line-height: 1.7;
  margin: 0 0 .75rem;
}

/* Tech-stack pills (centered, larger than card .tags) */
.tech-pills {
  margin: 1.75rem auto 0;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  justify-content: center;
}
.tech-pill {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  font-size: .85rem;
  font-weight: 500;
  color: var(--fg);
  box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.05);
}

/* Prev/Next project navigation */
.project-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .project-nav { grid-template-columns: 1fr 1fr; } }
.project-nav__item {
  position: relative;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.06);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.project-nav__item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.14);
}
.project-nav__label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-xsoft);
  font-weight: 500;
}
.project-nav__title {
  display: block;
  margin-top: .375rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.075rem;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.project-nav__item--next { text-align: right; }
.project-nav__item--prev .project-nav__title::before { content: '\2190\00a0\00a0'; color: var(--fg-link); }
.project-nav__item--next .project-nav__title::after  { content: '\00a0\00a0\2192'; color: var(--fg-link); }

/* Project feature highlights */
.project-features__body {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}
.project-features__label {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.project-features__label h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.project-features__label p {
  margin: .5rem 0 0;
  font-size: .9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
.feat-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.5rem;
}
.feat-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.75rem;
  padding: 0 .5rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--card-accent) 16%, #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent) 28%, transparent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: 0.06em;
  color: var(--card-accent);
}
.feat-card h3 {
  margin: .75rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.feat-card p {
  margin: .375rem 0 0;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.project-features__outcome {
  margin-top: .5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--card-radius);
  border: 1.5px solid color-mix(in srgb, var(--c-teal) 32%, #d5dde6);
  background: color-mix(in srgb, var(--c-teal) 6%, #ffffff);
  box-shadow: inset 0 4px 0 var(--c-teal);
  text-align: center;
}
.project-features__outcome-label {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-link);
}
.project-features__outcome p {
  margin: .625rem auto 0;
  max-width: 640px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--fg);
}

@media (max-width: 767px) {
  .project-features__label,
  .project-features__outcome {
    text-align: center;
  }
  .feat-card {
    text-align: center;
  }
  .feat-card__num {
    margin-inline: auto;
  }
}

/* =========================================
   Project case studies
   ========================================= */
.page-case .section__head,
.page-case .section__title,
.page-case .section__desc,
.page-case .page-hero,
.page-case .page-hero__title,
.page-case .breadcrumb {
  text-align: center;
  margin-inline: auto;
}
.page-case .section__head,
.page-case .section__desc {
  max-width: 40rem;
}

.case-overview {
  padding-top: 1.35rem;
}
.case-overview__card {
  overflow: hidden;
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: var(--card-radius);
  border: 1.5px solid color-mix(in srgb, var(--c-blue) 32%, #d5dde6);
  background: #ffffff;
  box-shadow:
    inset 0 4px 0 var(--c-blue),
    0 12px 28px -18px color-mix(in srgb, var(--c-blue) 42%, #15202b);
}
.case-overview__media {
  display: flex;
  justify-content: center;
  padding: .85rem .85rem 0;
  background: #ffffff;
}
.case-overview__media img {
  width: auto;
  max-width: min(100%, 34rem);
  height: auto;
  max-height: 10.5rem;
  display: block;
  object-fit: contain;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--c-blue) 16%, #d5dde6);
  box-shadow: 0 8px 18px -12px rgba(15, 23, 42, 0.18);
}
@media (min-width: 768px) {
  .case-overview__media {
    padding: 1.05rem 1.05rem 0;
  }
  .case-overview__media img {
    max-height: 14rem;
  }
}
.case-overview__body {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.05rem 1.3rem;
  text-align: center;
}
@media (min-width: 768px) {
  .case-overview__body {
    padding: 1.45rem 1.5rem 1.55rem;
  }
}
.case-overview__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
}
.case-overview__lead {
  margin: 0 auto;
  max-width: 40rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--fg-heading);
  text-wrap: balance;
}
.case-meta {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .case-meta { grid-template-columns: repeat(4, 1fr); }
}
.case-meta__item {
  min-width: 0;
  padding: .9rem .65rem;
}
.case-meta__item:nth-child(odd) {
  border-right: 1px solid var(--border);
}
.case-meta__item:nth-child(-n + 2) {
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .case-meta__item:nth-child(odd) { border-right: 0; }
  .case-meta__item:nth-child(-n + 2) { border-bottom: 0; }
  .case-meta__item + .case-meta__item {
    border-left: 1px solid var(--border);
  }
}
.case-meta dt {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .68rem;
  font-weight: 500;
  color: var(--fg-xsoft);
  text-align: center;
}
.case-meta dd {
  margin: .4rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--fg);
  overflow-wrap: break-word;
  text-align: center;
}
.case-meta a {
  color: var(--fg-link);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
}
.case-meta a:hover { color: var(--fg-link-hover); }

.case-story {
  padding-top: 0.5rem;
}
.case-story__grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .case-story__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
    align-items: start;
  }
}
.case-story__col h2 {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-section);
  letter-spacing: var(--tracking-heading);
  color: var(--fg-heading);
}
.case-story__col p {
  margin: 0 0 .75rem;
  color: var(--fg-muted);
  font-size: .95rem;
  line-height: 1.65;
}
.case-story__col p:last-child { margin-bottom: 0; }
.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.case-list li {
  padding: 0 0 0 0.95rem;
  position: relative;
  color: var(--fg-muted);
  font-size: .95rem;
  line-height: 1.55;
}
.case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--c-blue);
}
.case-list strong {
  display: block;
  margin-bottom: .15rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg-heading);
}
.case-more {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.case-more > p {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--fg-muted);
  font-size: .95rem;
  line-height: var(--leading-body);
}
.case-more .tech-pills {
  margin: .7rem auto 0;
}
.case-more .tech-pill {
  padding: .3rem .7rem;
  font-size: .78rem;
}

.case-close {
  padding-top: 0.5rem;
}
.case-close__card {
  max-width: 40rem;
  margin-inline: auto;
  padding: 1.6rem 1.25rem 1.7rem;
  text-align: center;
  border-radius: var(--card-radius);
  border: 1.5px solid color-mix(in srgb, var(--c-blue) 32%, #d5dde6);
  background: #ffffff;
  box-shadow:
    inset 0 4px 0 var(--c-blue),
    0 12px 28px -18px color-mix(in srgb, var(--c-blue) 42%, #15202b);
}
@media (min-width: 768px) {
  .case-close__card {
    padding: 2rem 2.25rem 2.1rem;
  }
}
.case-close__card h2 {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-section);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  color: var(--fg-heading);
  text-wrap: balance;
}
.case-close__card p {
  margin: .75rem auto 0;
  max-width: 32rem;
  color: var(--fg-muted);
  font-size: 1.0125rem;
  line-height: var(--leading-body);
}
.case-close__cta {
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
}

@media (max-width: 767px) {
  .page-case .page-hero,
  .page-case .page-hero__title,
  .page-case .breadcrumb,
  .page-case .section,
  .case-overview__card,
  .case-overview__body,
  .case-overview__lead,
  .case-meta,
  .case-story,
  .case-story__grid,
  .case-story__col,
  .case-story__col h2,
  .case-story__col p,
  .case-list,
  .case-list li,
  .case-list strong,
  .case-more,
  .case-more > p,
  .case-close__card,
  .case-close__card h2,
  .case-close__card p {
    text-align: center;
    margin-inline: auto;
  }
  .page-case .page-hero__cta,
  .case-overview__actions,
  .case-close__cta {
    flex-direction: column;
    align-items: center;
    width: min(100%, 20rem);
    margin-inline: auto;
  }
  .page-case .page-hero__cta .btn,
  .case-overview__actions .btn,
  .case-close__cta .btn {
    width: 100%;
    justify-content: center;
  }
  .case-overview__body {
    padding: 1.15rem 1.05rem 1.25rem;
  }
  .case-overview__lead,
  .case-close__card p {
    max-width: 22rem;
  }
  .case-close__card {
    width: 100%;
    padding: 1.35rem 1.1rem 1.45rem;
  }
  .case-close__card h2 {
    max-width: 16ch;
  }
  .case-meta a {
    justify-content: center;
    flex-wrap: wrap;
  }
  .case-story__col p {
    max-width: 22rem;
  }
  .case-list {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    text-align: center;
  }
  .case-list li {
    padding-left: 0;
  }
  .case-list li::before {
    display: none;
  }
  .page-case .tech-pills {
    justify-content: center;
  }
}

/* =========================================
   Legal pages (Terms / Privacy) - readable prose
   ========================================= */
.prose {
  max-width: 760px;
  margin-inline: auto;
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.prose > * + * { margin-top: 1rem; }
.prose .updated {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: .78rem;
  font-weight: 500;
  color: var(--fg-soft);
  margin: 0 0 2rem;
}
.prose .lead {
  font-size: 1.075rem;
  color: var(--fg);
  margin: 0 0 1rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 2.5rem 0 .875rem;
  scroll-margin-top: 6rem;
}
.prose h2:first-of-type { margin-top: 1.5rem; }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3-md);
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 1.75rem 0 .5rem;
}
.prose p { margin: 0 0 1rem; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a {
  color: var(--fg-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity .2s;
}
.prose a:hover,
.breadcrumb a:hover,
.project-meta__value a:hover,
.toc a:hover {
  color: var(--fg-link-hover);
}
.prose ul, .prose ol {
  margin: .5rem 0 1.25rem;
  padding-left: 1.25rem;
}
.prose li {
  margin: 0 0 .5rem;
}
.prose li::marker { color: var(--fg-link); }
.prose hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--border);
}
.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--fg-link);
  background: var(--surface-2);
  border-radius: 0 12px 12px 0;
  color: var(--fg);
}

/* TOC card at top of legal pages */
.toc {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.06);
}
.toc__title {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--fg-soft);
  margin: 0 0 .75rem;
}
.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: .9rem;
  columns: 1;
}
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 2rem; } }
.toc li { margin: 0 0 .25rem; break-inside: avoid; }
.toc a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color .2s;
}
.toc a:hover { color: var(--fg-link-hover); }

/* =========================================
   Legal pages — professional layout
   ========================================= */
.page-legal .page-hero--legal {
  padding-bottom: 1.5rem;
}
.page-legal .page-hero--legal .breadcrumb {
  display: flex;
  justify-content: center;
}

.legal-page {
  padding-top: 0;
}

.legal-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2rem;
  }
}

.legal-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}
@media (min-width: 1024px) {
  .legal-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
  }
}

.legal-nav {
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  box-shadow: 0 4px 16px -8px rgba(54, 61, 74, 0.1);
}
.legal-nav__title {
  margin: 0 0 .875rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-xsoft);
}
.legal-nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .2rem;
}
.legal-nav li {
  margin: 0;
}
.legal-nav a {
  display: block;
  padding: .45rem .625rem;
  border-radius: 10px;
  font-size: .84rem;
  line-height: 1.4;
  color: var(--fg-muted);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.legal-nav a:hover {
  background: var(--surface);
  color: var(--fg-link-hover);
}

.legal-sidebar__links {
  display: grid;
  gap: .5rem;
}
.legal-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .84rem;
  font-weight: 500;
  color: var(--fg-heading);
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.legal-sidebar__link:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateX(2px);
}
.legal-sidebar__link .icon {
  color: var(--fg-link);
  flex-shrink: 0;
}

.legal-document {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  box-shadow: 0 8px 30px -14px rgba(54, 61, 74, 0.12);
  overflow: hidden;
}

.legal-document__intro {
  padding: 1.75rem 1.5rem 0;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}
@media (min-width: 768px) {
  .legal-document__intro {
    padding: 2rem 2.25rem 0;
  }
}
.legal-document__intro .lead {
  margin: 0 0 1.75rem;
  padding-bottom: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg);
}

.legal-document .prose {
  max-width: none;
  margin: 0;
  padding: 1.75rem 1.5rem 2rem;
  counter-reset: legal-section;
}
@media (min-width: 768px) {
  .legal-document .prose {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.legal-document .prose h2 {
  counter-increment: legal-section;
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  margin: 2.25rem 0 .875rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 1.2rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.legal-document .prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-document .prose h2::before {
  content: counter(legal-section, decimal-leading-zero);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .35rem;
  border-radius: 10px;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px rgba(52, 152, 219, 0.18);
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  line-height: 1;
}

.legal-document .prose h3 {
  margin-top: 1.25rem;
  font-size: .95rem;
  color: var(--fg-heading);
}

.legal-document .prose code {
  padding: .15rem .4rem;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .82em;
  color: var(--fg-heading);
}

.legal-contact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin: 0 1.5rem 1.5rem;
  padding: 1.25rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(52, 152, 219, 0.22);
  background: #ffffff;
}
@media (min-width: 768px) {
  .legal-contact {
    margin: 0 2.25rem 2.25rem;
    padding: 1.5rem 1.5rem;
    gap: 1.25rem;
  }
}
.legal-contact__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-hover);
  box-shadow: inset 0 0 0 1px rgba(52, 152, 219, 0.2);
  color: var(--blue);
}
.legal-contact__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--fg-heading);
}
.legal-contact__body p {
  margin: .35rem 0 0;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.legal-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

@media (max-width: 639px) {
  .legal-contact {
    grid-template-columns: 1fr;
  }
  .legal-contact__icon {
    width: 40px;
    height: 40px;
  }
}

.legal-contact h3,
.legal-document__intro .lead {
  color: var(--fg-heading);
}

/* =========================================
   Reveal-on-scroll
   ========================================= */
.reveal:not(.is-visible) {
  opacity: 0;
}
.reveal.is-visible {
  animation: reveal-block .55s var(--ease) backwards;
  animation-delay: var(--d, 0ms);
}
.reveal--card.is-visible {
  animation-name: reveal-card;
  animation-duration: .6s;
}

.reveal.reveal--text:not(.is-visible) {
  opacity: 1;
}
.reveal--text:not(.is-visible) > .reveal-item {
  opacity: 0;
}
.reveal.reveal--text.is-visible {
  animation: none;
}
.reveal--text.is-visible > .reveal-item {
  animation: reveal-text .5s var(--ease) backwards;
  animation-delay: calc(var(--d, 0ms) + var(--i, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  .reveal.is-visible,
  .reveal--card.is-visible,
  .reveal--text.is-visible > .reveal-item {
    animation-name: reveal-fade;
  }
  .hero__glow--purple, .hero__glow--emerald, .wa__ping, .text-gradient { animation: none; }
  html { scroll-behavior: auto; }
}

/* Page content stays still, including the home page. */
:is(.page-home, .page-about, .page-services, .page-pricing, .page-projects, .page-contact, .page-session, .page-case) :is(.reveal, .reveal.is-visible, .reveal--card.is-visible),
:is(.page-home, .page-about, .page-services, .page-pricing, .page-projects, .page-contact, .page-session, .page-case) .reveal--text:not(.is-visible) > .reveal-item,
:is(.page-home, .page-about, .page-services, .page-pricing, .page-projects, .page-contact, .page-session, .page-case) .reveal--text.is-visible > .reveal-item,
:is(.page-home, .page-about, .page-services, .page-pricing, .page-projects, .page-contact, .page-session, .page-case) .wa {
  opacity: 1;
  animation: none;
  transform: none;
}

/* =========================================
   Skip link
   ========================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .65rem 1rem;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* =========================================
   Cookie consent banner
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  padding: 1rem 1.25rem;
  background: #f4f6f8;
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -8px 24px -18px rgba(54, 61, 74, 0.22);
  animation: cookie-in .35s var(--ease);
}
.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.cookie-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg-heading);
  letter-spacing: var(--tracking-heading);
}
.cookie-banner__desc {
  margin: .375rem 0 0;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 640px;
}
.cookie-banner__desc a {
  color: var(--fg-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__desc a:hover { color: var(--fg-link-hover); }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  flex-shrink: 0;
}

body.has-cookie-banner .wa {
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  body.has-cookie-banner .wa {
    bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
  }
}

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Hero tag link
   ========================================= */
.hero__photo__tag--link {
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.hero__photo__tag--link:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(-50%) translateY(-2px);
}
@media (min-width: 768px) {
  .hero__photo__tag--link:hover { transform: translateY(-2px); }
}

/* Stats - allow shorter text values */
.stats__value--sm {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

/* =========================================
   Client logos
   ========================================= */
.client-logos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .client-logos__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.client-logos__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 1.25rem .75rem 1.1rem;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.client-logos__item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.14);
}
.client-logos__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--band);
  overflow: hidden;
}
.client-logos__mark--brand {
  background: #2f3640;
}
.client-logos__mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.client-logos__name {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--fg-heading);
  letter-spacing: -0.015em;
}
.client-logos__meta {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* App logo in project cards */
.project__media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.project__media--logo img {
  width: auto;
  height: auto;
  max-width: 42%;
  max-height: 72%;
  border-radius: 22%;
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.28);
}

.showcase__inner--app-icon {
  display: flex;
  justify-content: center;
  padding: clamp(2.5rem, 8vw, 4rem);
}
.showcase__inner--app-icon img {
  width: auto;
  max-width: min(240px, 55vw);
  border-radius: 22%;
  box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.25);
}

/* =========================================
   What clients say
   ========================================= */
.outcomes-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .outcomes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.outcome-card {
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.outcome-card__logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--band);
  border: 1px solid var(--border);
}
.outcome-card__quote-wrap {
  position: relative;
  flex: 1;
}
.outcome-card__quote-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--card-accent);
  opacity: 1;
  margin-bottom: .35rem;
}
.outcome-card__quote {
  margin: 0;
  font-size: .9rem;
  color: var(--fg);
  line-height: 1.6;
  font-style: italic;
}
.outcome-card__foot {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: .875rem;
  border-top: 1px solid var(--border);
}
.outcome-card__by {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.outcome-card__by strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--fg);
}
.outcome-card__by em {
  display: block;
  margin-top: .1rem;
  font-size: .75rem;
  font-style: normal;
  color: var(--fg-soft);
}
.outcomes-section .section__more {
  margin-top: 2rem;
}
.avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--fg-on-accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.page-about .page-hero,
.page-about .page-hero__title,
.page-about .page-hero__desc {
  text-align: center;
}
.page-about .page-hero__title,
.page-about .page-hero__desc {
  margin-inline: auto;
  max-width: 40rem;
}
.page-about .page-hero--about {
  background: #ffffff;
}
.page-about .about-intro {
  background: var(--band);
  border-top: 0;
}

/* =========================================
   About intro
   ========================================= */
.about-intro__layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-intro__layout {
    grid-template-columns: minmax(240px, 380px) 1fr;
    gap: 3rem;
  }
}
.about-intro__media .hero__photo {
  max-width: 380px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .about-intro__media .hero__photo { margin: 0; }
}
.about-intro__body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  margin: .75rem 0 1rem;
  line-height: 1.2;
  color: var(--fg);
}
.about-intro__body p {
  color: var(--fg-muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.about-intro__body .about-intro__lead {
  color: var(--fg);
  font-size: 1.0625rem;
}
.about-intro__body a {
  color: var(--fg-link);
}
.about-intro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

/* =========================================
   Process steps
   ========================================= */
.process-steps {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(5, 1fr); }
}
.process-step {
  padding: 1.25rem;
}
.process-step__num {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--card-accent);
  margin-bottom: .5rem;
}
.process-step h3 {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--fg);
}
.process-step p {
  margin: 0;
  font-size: .875rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* =========================================
   Portfolio filters
   ========================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
  justify-content: flex-start;
}
.filter-btn {
  padding: .45rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg);
  color: var(--fg-muted);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.filter-btn:hover { border-color: var(--border-strong); color: var(--fg); }
.filter-btn.is-active {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

/* =========================================
   Keyframes
   ========================================= */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes drawUnderline {
  to { transform: scaleX(1); }
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -20px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 18px); }
}
@keyframes ping {
  75%, 100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes wa-in {
  from { opacity: 0; transform: translateY(20px) scale(.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes reveal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes reveal-block {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-card {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-text {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Mobile / stacked layout
   Matches desktop structure, centered when stacked
   ========================================= */
@media (max-width: 899px) {
  .hero__content,
  .hero__title,
  .hero__sub {
    text-align: center;
    margin-inline: auto;
    max-width: none;
  }
  .hero__content {
    max-width: 40rem;
  }
  .hero__cta {
    justify-content: center;
  }
  .stats__item {
    text-align: center;
  }
  .logo-bar {
    justify-content: center;
    text-align: center;
  }
  .logo-bar__label {
    width: 100%;
    text-align: center;
  }
  .home-about__body,
  .home-about__body h2,
  .home-about__body p,
  .home-about__facts {
    text-align: center;
  }
  .home-about__body p {
    margin-inline: auto;
  }
  .home-about__actions {
    justify-content: center;
  }
  .home-cta__copy,
  .home-cta__copy h2,
  .home-cta__copy p {
    text-align: center;
    margin-inline: auto;
  }
  .home-cta__copy h2 {
    max-width: none;
  }
  .home-cta__actions {
    justify-content: center;
  }
  .section__head,
  .section__title,
  .section__desc {
    text-align: center;
    margin-inline: auto;
  }
  .section__more {
    display: flex;
    justify-content: center;
  }
  .page-hero,
  .page-hero__title,
  .page-hero__desc {
    text-align: center;
  }
  .page-hero__title,
  .page-hero__desc {
    margin-inline: auto;
  }
  .page-hero__cta {
    justify-content: center;
  }
  .filter-bar {
    justify-content: center;
  }
  .cta-band__inner,
  .cta-band__title,
  .cta-band__desc {
    text-align: center;
    margin-inline: auto;
  }
  .cta-band__cta {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .section__desc {
    margin-inline: auto;
  }
  .page-hero__cta .btn,
  .form-foot__actions .btn {
    white-space: normal;
    height: auto;
    min-height: 44px;
    padding-block: .7rem;
    line-height: 1.35;
    text-align: center;
  }
  .breadcrumb {
    justify-content: center;
  }
  .hero__title {
    font-size: clamp(1.55rem, 6vw, 2.25rem);
    line-height: 1.1;
  }
  .hero__sub {
    font-size: 1rem;
    line-height: 1.65;
  }
  .hero__cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero__cta .btn {
    width: 100%;
    max-width: 320px;
  }
  .section__more .btn {
    width: auto;
    max-width: none;
  }
  .project__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .project__actions .chip-link {
    justify-content: center;
  }
  .cta-band__cta {
    flex-direction: column;
    align-items: center;
  }
  .cta-band__cta .btn {
    width: 100%;
    max-width: 320px;
  }
  .home-cta__actions,
  .home-about__actions {
    flex-direction: column;
    align-items: center;
  }
  .home-cta__actions .btn,
  .home-about__actions .btn {
    width: 100%;
    max-width: 320px;
  }
  .about-intro__layout,
  .about-intro__body h2,
  .about-intro__body p {
    text-align: center;
  }
  .about-intro__cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .about-intro__cta .btn {
    width: 100%;
    max-width: 320px;
  }
  .outcome-card__actions {
    justify-content: center;
  }
  .nav__name {
    font-size: 0.92rem;
  }
}

/* Studio finish: one border, one typeface, no coloured card chrome */
.section { padding: 3.25rem 0; }
@media (min-width: 768px) {
  .section { padding: 4.25rem 0; }
  .page-home .section { padding: 4.25rem 0; }
}
.fact-line {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.fact-line li {
  margin: 0;
  padding: .9rem 1rem;
  font-size: .92rem;
  color: var(--fg-muted);
  line-height: 1.45;
  background: #fff;
  border: 1px solid #d5e4f0;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.fact-line strong {
  display: block;
  color: var(--blue-dark);
  font-weight: 600;
  margin-bottom: .1rem;
}
@media (min-width: 800px) {
  .fact-line { grid-template-columns: repeat(4, 1fr); }
}
.service-mini__icon,
.service-card__icon,
.service-feature__icon,
.pillar__icon,
.solution-card__icon,
.service-compact__icon {
  background: #e7f3fb;
  box-shadow: none;
  color: var(--blue-dark);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
}
.service-feature__icon .icon { width: 1.2rem; height: 1.2rem; }
.capability {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding: 1.2rem 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid #d5e4f0;
  box-shadow: var(--shadow-card);
  min-height: 0;
}
.capability::before { display: none; }
.capability:hover,
.capability:focus-visible,
.capability:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -18px rgba(52, 152, 219, 0.45);
  border-color: var(--blue);
}
.capability__visual,
.capability:hover .capability__visual,
.capability:focus-within .capability__visual,
.capability.is-open .capability__visual {
  position: static;
  inset: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  color: var(--blue-dark);
  pointer-events: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: #e7f3fb;
}
.capability__visual .icon { width: 1.2rem; height: 1.2rem; }
.capability__info,
.capability:hover .capability__info,
.capability:focus-within .capability__info,
.capability.is-open .capability__info {
  position: static;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  padding: 0;
  text-align: left;
  align-items: flex-start;
}
@media (max-width: 799px) {
  .capability-row {
    grid-template-columns: 1fr;
    justify-content: stretch;
    max-width: none;
  }
}
.project__chip,
.projects-preview .project__chip,
.page-projects .project__chip {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 6px;
  letter-spacing: .06em;
  font-weight: 600;
}
.project__media--shot {
  background: linear-gradient(180deg, #e7f3fb, #f8fbfe);
}
.project__media--shot img { box-shadow: 0 8px 18px -12px rgba(21, 48, 74, 0.45); border: 1px solid #fff; }
.project:hover .project__media--shot img { transform: none; }
.outcome-card__quote-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--blue);
  opacity: .85;
}
.home-plan,
.home-plan--featured {
  background: #fff;
  border: 1px solid #d5e4f0;
  box-shadow: var(--shadow-card);
}
.home-plan:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -18px rgba(52, 152, 219, 0.45);
}
.home-plan__price strong,
.price-card__amount .value,
.service-feature__amount {
  color: var(--blue-dark);
}
.work-notes,
.stack-plain {
  display: grid;
  gap: .85rem;
  margin-top: 1.5rem;
  border-top: 0;
}
.work-note {
  padding: 1.1rem 1.15rem;
  border: 1px solid #d5e4f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.work-note h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.work-note p {
  margin: .3rem 0 0;
  color: var(--fg-muted);
  max-width: 38rem;
}
@media (min-width: 800px) {
  .work-notes { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .stack-plain { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
}
.process-timeline__num {
  border-radius: 999px;
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}
.process-timeline::before { background: #b9d7ee; }
.btn:hover { transform: none; }
.btn:active { transform: none; }
.tool-option {
  box-shadow: var(--shadow-card);
  border-color: #d5e4f0;
}
.tool-option:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 28px -16px rgba(52, 152, 219, 0.4);
}
