/* Locnapps — Localization proof desk
   Light · paper · iris · ember · lagoon
   Anti-slop: no Inter, no purple gradients, no uniform card soup */

:root {
  --paper: #efece4;
  --paper-2: #e7e3d8;
  --white: #fbfaf6;
  --ink: #17151f;
  --ink-2: #3f3b48;
  --ink-3: #6e6978;
  --line: #d4cfc2;
  --line-2: #c2bcae;
  --iris: #4f3db8;
  --iris-deep: #35298a;
  --iris-soft: #ebe6fb;
  --ember: #c94b24;
  --ember-soft: #fdeee7;
  --lagoon: #0c6b66;
  --lagoon-soft: #e3f4f2;
  --radius: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 0 rgba(23, 21, 31, 0.04), 0 12px 32px rgba(23, 21, 31, 0.06);
  --shadow-lg: 0 20px 50px rgba(23, 21, 31, 0.1);
  --font-display: "Instrument Serif", "Georgia", "Times New Roman", serif;
  --font-body: "Sora", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --container: min(1140px, calc(100% - 2rem));
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

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

/* ——— Type ——— */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--iris);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--ink-2);
  max-width: 36rem;
  line-height: 1.7;
  font-weight: 400;
}

.accent {
  color: var(--iris);
  font-style: italic;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--iris);
  color: #fff;
}

.btn-primary:hover {
  background: var(--iris-deep);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-2);
}

.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-ember {
  background: var(--ember);
  color: #fff;
}

.btn-ember:hover {
  background: #a83a1a;
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(239, 236, 228, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  overflow: visible; /* mega menus must paint outside header */
}

.header-inner,
.nav-desktop {
  overflow: visible;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 1px 0 rgba(23, 21, 31, 0.03);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.logo img {
  height: 34px;
  width: auto;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--iris);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop > a,
.nav-item > button {
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.nav-desktop > a:hover,
.nav-item > button:hover,
.nav-desktop > a:focus-visible,
.nav-item > button:focus-visible {
  color: var(--ink);
  background: var(--paper-2);
  outline: none;
}

.nav-item {
  position: relative;
  /* tall hit box so cursor can travel to panel without leaving */
  padding-bottom: 0;
}

.nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item > button svg {
  width: 13px;
  height: 13px;
  opacity: 0.55;
  transition: transform 0.2s;
}

.nav-item:hover > button svg,
.nav-item:focus-within > button svg,
.nav-item.is-open > button svg {
  transform: rotate(180deg);
}

/* Mega: flush under trigger + invisible bridge (no hover gap) */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(540px, 88vw);
  padding-top: 10px; /* invisible bridge — stays inside hover */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s var(--ease),
    visibility 0.15s;
  z-index: 120;
}

.mega-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.55rem;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
}

.mega a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  transition: background 0.12s;
  cursor: pointer;
}

.mega a:hover,
.mega a:focus-visible {
  background: var(--iris-soft);
  outline: none;
}

.mega a strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  font-family: var(--font-body);
  letter-spacing: 0;
  color: var(--ink);
}

.mega a span {
  font-size: 0.76rem;
  color: var(--ink-3);
  line-height: 1.35;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: 1.25rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
}

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

.mobile-nav a {
  display: block;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.mobile-nav .group-label {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0.4rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: clamp(2.2rem, 5vw, 3.75rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.75rem;
    align-items: center;
  }
}

.hero-copy .kicker {
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.15rem;
  max-width: 14ch;
}

.hero .lead {
  margin-bottom: 1.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

/* Stats as proof bar — not card grid */
.proof-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}

.proof-bar .stat {
  flex: 1 1 120px;
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.proof-bar .stat:last-child {
  border-right: none;
}

.proof-bar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.proof-bar span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* Signature: localization proof panel */
.proof-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.proof-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.proof-panel-head .dots {
  display: flex;
  gap: 0.35rem;
}

.proof-panel-head .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  display: block;
}

.proof-panel-head .dots i:nth-child(1) {
  background: #e07a5f;
}

.proof-panel-head .dots i:nth-child(2) {
  background: #e9c46a;
}

.proof-panel-head .dots i:nth-child(3) {
  background: #81b29a;
}

.proof-panel-head .file {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.proof-source {
  padding: 1rem 1.15rem 0.75rem;
  border-bottom: 1px dashed var(--line);
}

.proof-source .label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
}

.proof-source p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink);
}

.proof-rows {
  padding: 0.35rem 0;
}

.proof-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 1.15rem;
  border-left: 3px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.proof-row.active {
  background: var(--iris-soft);
  border-left-color: var(--iris);
}

.proof-row .lang {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.proof-row.active .lang {
  color: var(--iris);
}

.proof-row .text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

.proof-row .status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--ink-3);
  white-space: nowrap;
}

.proof-row.active .status {
  background: var(--iris);
  color: #fff;
}

.proof-row.done .status {
  background: var(--lagoon-soft);
  color: var(--lagoon);
}

.proof-panel-foot {
  padding: 0.75rem 1.15rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.78rem;
  color: var(--ink-3);
  background: var(--paper);
}

.proof-panel-foot strong {
  color: var(--ink);
  font-weight: 600;
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  max-width: 38rem;
}

.section-head.wide {
  max-width: 48rem;
}

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

.section-head.row > div {
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.section-head p:not(.kicker) {
  color: var(--ink-2);
  font-size: 1.02rem;
}

.section-paper {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-tint {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}

/* ——— Pillars: asymmetric bento ——— */
.bento {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 860px) {
  .bento {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .bento .tile:first-child {
    grid-row: 1 / 3;
  }
}

.tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.45rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s var(--ease);
  overflow: hidden;
}

.tile:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tile-lg {
  background:
    linear-gradient(165deg, var(--iris-soft) 0%, var(--white) 55%);
  min-height: 280px;
}

.tile .meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 1rem;
}

.tile h3 {
  margin-bottom: 0.55rem;
  font-size: 1.55rem;
}

.tile-lg h3 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  max-width: 12ch;
}

.tile p {
  color: var(--ink-2);
  font-size: 0.94rem;
  margin-bottom: 1.15rem;
  flex: 1;
}

.tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.chip {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

.tile a.more {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--iris);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tile a.more:hover {
  gap: 0.5rem;
  color: var(--iris-deep);
}

/* ——— Service rows (gaming) ——— */
.service-rows {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.service-row {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.service-row:last-child {
  border-bottom: none;
}

.service-row:hover {
  background: var(--paper);
}

@media (min-width: 800px) {
  .service-row {
    grid-template-columns: 200px 1fr auto;
    align-items: stretch;
  }
}

.service-row .thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--paper-2);
}

@media (min-width: 800px) {
  .service-row .thumb {
    aspect-ratio: auto;
    min-height: 120px;
  }
}

.service-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.service-row:hover .thumb img {
  transform: scale(1.04);
}

.service-row .body {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.service-row h3 {
  font-size: 1.25rem;
}

.service-row p {
  color: var(--ink-2);
  font-size: 0.92rem;
  max-width: 48ch;
}

.service-row .go {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--iris);
  white-space: nowrap;
}

/* ——— Loc grid ——— */
.loc-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .loc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .loc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.loc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.loc-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

.loc-card .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
}

.loc-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.loc-card:hover .thumb img {
  transform: scale(1.04);
}

.loc-card .body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.loc-card h3 {
  font-size: 1.2rem;
}

.loc-card p {
  color: var(--ink-2);
  font-size: 0.9rem;
  flex: 1;
}

/* ——— Marketing funnel (real sequence) ——— */
.funnel {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

@media (min-width: 900px) {
  .funnel {
    grid-template-columns: repeat(4, 1fr);
  }
}

.funnel-item {
  padding: 1.35rem 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 200px;
  transition: background 0.2s;
}

.funnel-item:hover {
  background: var(--paper);
}

@media (min-width: 900px) {
  .funnel-item {
    border-bottom: none;
    border-right: 1px solid var(--line);
  }

  .funnel-item:nth-child(4n) {
    border-right: none;
  }

  .funnel-item:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }
}

.funnel-item .stage {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.25rem;
}

.funnel-item:nth-child(2) .stage,
.funnel-item:nth-child(6) .stage {
  color: var(--iris);
}

.funnel-item:nth-child(3) .stage,
.funnel-item:nth-child(7) .stage {
  color: var(--lagoon);
}

.funnel-item h3 {
  font-size: 1.15rem;
}

.funnel-item p {
  color: var(--ink-2);
  font-size: 0.88rem;
  flex: 1;
  line-height: 1.5;
}

.funnel-item a {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--iris);
}

/* ——— Insights ——— */
.insights {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .insights {
    grid-template-columns: 1fr 1fr;
  }
}

.insight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.insight .mark {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--iris);
  line-height: 1;
  width: 2rem;
}

.insight p {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.55;
}

.insight strong {
  color: var(--ink);
  font-weight: 600;
}

/* ——— Clients ——— */
.clients-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.clients-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  flex-shrink: 0;
  width: 132px;
  height: 68px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 0.65rem 0.85rem;
}

.client-logo img {
  max-height: 36px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.35);
  opacity: 0.8;
  transition: filter 0.2s, opacity 0.2s;
}

.client-logo:hover img {
  filter: none;
  opacity: 1;
}

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

/* ——— Testimonials ——— */
.testimonial-slider {
  position: relative;
}

.testimonial-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s var(--ease);
}

.quote-card {
  flex: 0 0 100%;
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .quote-card {
    grid-template-columns: 96px 1fr;
    align-items: start;
  }
}

.quote-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  background: var(--paper-2);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 0.5;
  color: var(--iris);
  opacity: 0.4;
  margin-bottom: 0.35rem;
}

.quote-card blockquote {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 1.1rem;
  font-weight: 400;
}

.quote-meta strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-body);
}

.quote-meta span {
  font-size: 0.88rem;
  color: var(--ink-3);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
  gap: 1rem;
}

.slider-dots {
  display: flex;
  gap: 0.4rem;
}

.slider-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: var(--line-2);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
  padding: 0;
}

.slider-dots button.active {
  width: 22px;
  background: var(--iris);
}

.slider-arrows {
  display: flex;
  gap: 0.4rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  color: var(--ink);
}

.icon-btn:hover {
  border-color: var(--iris);
  color: var(--iris);
  background: var(--iris-soft);
}

.icon-btn:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 2px;
}

/* ——— Languages ——— */
.lang-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.35rem;
}

.region-btn {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}

.region-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.region-btn:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 2px;
}

.lang-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lang-pill {
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.lang-pill:hover {
  border-color: var(--iris);
  color: var(--iris);
  background: var(--iris-soft);
}

.lang-panel {
  display: none;
}

.lang-panel.active {
  display: block;
  animation: fade-up 0.3s var(--ease);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— CTA ——— */
.cta-band {
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  width: var(--container);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: rgba(251, 250, 246, 0.88);
  padding: clamp(1.85rem, 4vw, 2.75rem);
  display: grid;
  gap: 1.35rem;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(circle, rgba(79, 61, 184, 0.35) 0%, transparent 65%);
  pointer-events: none;
}

@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5rem;
  position: relative;
}

.cta-band p {
  color: rgba(251, 250, 246, 0.78);
  font-size: 1rem;
  max-width: 32rem;
  position: relative;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--ink);
}

.cta-band .btn-primary:hover {
  background: var(--paper);
  color: var(--ink);
}

.cta-band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  position: relative;
}

.cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.85rem;
  font-size: 0.84rem;
  color: rgba(251, 250, 246, 0.7);
  font-weight: 500;
  position: relative;
}

/* ——— Footer ——— */
.site-footer {
  background: #221f2a;
  color: rgba(251, 250, 246, 0.72);
  padding: 3.25rem 0 1.35rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 0.9rem;
}

.site-footer p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 28rem;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #fff;
}

.newsletter {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter .btn {
  padding: 0.7rem 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ——— Inner pages ——— */
.page-hero {
  padding: clamp(2.2rem, 5vw, 3.5rem) 0 1.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero h1 {
  margin: 0.65rem 0 0.9rem;
  font-size: clamp(2.15rem, 4.5vw, 3.35rem);
  max-width: 18ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--ink-3);
  font-weight: 500;
}

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

/* About */
.values {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 700px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--iris);
}

.value-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--ink-2);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 700px) {
  .stat-strip {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-strip .cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 0.85rem;
  text-align: center;
}

.stat-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--iris);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-strip span {
  font-size: 0.72rem;
  color: var(--ink-3);
  font-weight: 500;
}

.team-section {
  margin-bottom: 2.25rem;
}

.team-section h3 {
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}

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

@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  text-align: center;
  padding: 1.15rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

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

.team-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  background: var(--paper-2);
  border: 2px solid var(--line);
}

.team-card strong {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1.75rem;
  }
}

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

.info-card {
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.info-card .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 0.35rem;
}

.info-card p,
.info-card a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}

.info-card a:hover {
  color: var(--iris);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.contact-form > p {
  color: var(--ink-2);
  margin-bottom: 1.35rem;
  font-size: 0.92rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

@media (min-width: 600px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--iris);
  box-shadow: 0 0 0 3px rgba(79, 61, 184, 0.12);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-top: 0.7rem;
}

.form-note a {
  color: var(--iris);
  font-weight: 600;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

@media (min-width: 980px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .header-actions .btn-contact-desktop {
    display: inline-flex;
  }
}

@media (max-width: 979px) {
  .header-actions .btn-contact-desktop {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .clients-track {
    animation: none;
  }
}
