/* =====================================================================
   40° — Website styles
   Light mode is the default. Dark mode is opt-in via [data-theme="dark"].
   ===================================================================== */

/* ----------------------------- Tokens ----------------------------- */
:root {
  /* Brand */
  --accent: #f0402a;
  --accent-strong: #d62f1c;
  --accent-soft: rgba(240, 64, 42, 0.12);

  /* Light theme (default) */
  --bg: #ffffff;
  --bg-elev: #f6f5f3;
  --bg-elev-2: #efeeec;
  --text: #15130f;
  --text-muted: #57534d;
  --line: rgba(21, 19, 15, 0.1);
  --line-strong: rgba(21, 19, 15, 0.16);
  --card: #ffffff;
  --card-border: rgba(21, 19, 15, 0.08);
  --shadow: 0 24px 60px -28px rgba(21, 19, 15, 0.28);
  --header-bg: rgba(255, 255, 255, 0.72);

  /* Typography */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #0d0c0b;
  --bg-elev: #161412;
  --bg-elev-2: #1d1a17;
  --text: #f5f2ee;
  --text-muted: #a39d94;
  --line: rgba(245, 242, 238, 0.12);
  --line-strong: rgba(245, 242, 238, 0.2);
  --card: #161412;
  --card-border: rgba(245, 242, 238, 0.1);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  --header-bg: rgba(13, 12, 11, 0.6);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ----------------------------- Backdrop ----------------------------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.backdrop__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.backdrop__blob--1 {
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%);
  top: -10vw;
  left: -8vw;
  animation: float1 18s ease-in-out infinite;
}

.backdrop__blob--2 {
  width: 38vw;
  height: 38vw;
  background: radial-gradient(circle at 60% 40%, #ff8a3d, transparent 70%);
  top: 30vh;
  right: -10vw;
  opacity: 0.35;
  animation: float2 22s ease-in-out infinite;
}

.backdrop__blob--3 {
  width: 32vw;
  height: 32vw;
  background: radial-gradient(circle at 50% 50%, #ffb199, transparent 70%);
  bottom: -12vw;
  left: 30vw;
  opacity: 0.3;
  animation: float3 26s ease-in-out infinite;
}

[data-theme="dark"] .backdrop__blob {
  opacity: 0.35;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 4vh) scale(1.08); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, 6vh) scale(1.12); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, -5vh) scale(1.1); }
}

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand__mark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.brand__deg {
  color: var(--accent);
  font-size: 0.85em;
  margin-left: 1px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  height: 44px;
  width: auto;
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__logo {
  transform: rotate(-3deg) scale(1.04);
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--text);
}
.nav__link:hover::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-switch__btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn.is-active {
  background: var(--accent);
  color: #fff;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.theme-toggle:hover {
  background: var(--bg-elev);
}

.theme-toggle__icon {
  position: absolute;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.theme-toggle__icon--moon {
  fill: currentColor;
  stroke: none;
}

.theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}
.theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -14px var(--accent);
}

.btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px var(--accent);
}

.btn--lg {
  font-size: 17px;
  padding: 16px 34px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

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

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 60px 28px;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 26px;
}

.hero__title {
  font-size: clamp(3rem, 11vw, 9.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  color: var(--accent);
}

.hero__subtitle {
  margin-top: 34px;
  max-width: 540px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--text-muted);
}

.hero__logo {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.8;
  color: var(--accent-soft);
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.hero__logo-num {
  font-size: clamp(14rem, 34vw, 30rem);
}

.hero__logo-deg {
  font-size: clamp(8rem, 20vw, 18rem);
  color: var(--accent);
  opacity: 0.18;
  animation: spin 16s linear infinite;
  transform-origin: center;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  color: var(--text-muted);
}

.scroll-cue__text {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 600;
}

.scroll-cue__line {
  width: 1px;
  height: 46px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scrollLine 1.8s var(--ease) infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(0); }
  100% { transform: translateY(300%); }
}

/* ----------------------------- Sections ----------------------------- */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 22px;
}

.section__label::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--accent);
}

.section__head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

/* About */
.about__heading {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  max-width: 14ch;
  margin-bottom: 36px;
}

.about__body {
  max-width: 720px;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: var(--text-muted);
}

/* Approach */
.approach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.approach-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 38px 32px 44px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.approach-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--accent-soft), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.approach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.approach-card:hover::before {
  opacity: 1;
}

.approach-card__number {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  color: var(--accent);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 24px;
}

.approach-card__title {
  position: relative;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.approach-card__text {
  position: relative;
  color: var(--text-muted);
  font-size: 1rem;
}

.approach-card__mark {
  position: absolute;
  top: 28px;
  right: 30px;
  font-size: 22px;
  color: var(--accent);
  opacity: 0.5;
  transition: transform 0.6s var(--ease);
}

.approach-card:hover .approach-card__mark {
  transform: rotate(180deg);
}

/* Stats */
.stats {
  background: var(--bg-elev);
}

.stats__intro {
  max-width: 620px;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  padding: 28px 0;
  border-top: 1px solid var(--line-strong);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}

.stat__label {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 22ch;
}

/* Solutions */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.solution:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.solution__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.solution__title {
  font-size: 1.7rem;
}

.solution__index {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  opacity: 0.7;
}

.solution__text {
  color: var(--text-muted);
  margin-bottom: 26px;
}

.solution__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  margin: 0 0 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.solution__meta dt {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  align-self: center;
}

.solution__meta dd {
  margin: 0;
  font-weight: 600;
}

.solution__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}

.solution__more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.solution:hover .solution__more::after {
  transform: translateX(5px);
}

/* International */
.international {
  background: var(--bg-elev);
}

.international__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.international__body {
  margin-top: 26px;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 46ch;
}

.international__countries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.country {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.95rem;
  background: var(--card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.country:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent);
}

/* Contact */
.contact {
  text-align: center;
}

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

.contact .section__label::before {
  display: none;
}

.contact__title {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  max-width: 16ch;
  margin-bottom: 28px;
}

.contact__body {
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

/* ----------------------------- Legal pages ----------------------------- */
.legal-main {
  padding-top: 120px;
}

.legal-hero {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}

.legal-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color 0.2s var(--ease);
}

.legal-hero__back::before {
  content: "←";
  color: var(--accent);
}

.legal-hero__back:hover {
  color: var(--accent);
}

.legal-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.legal-content {
  max-width: 820px;
  padding-bottom: 90px;
}

.legal-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-content h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--accent);
  word-break: break-word;
}

.legal-content a:hover {
  text-decoration: underline;
}

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

.legal-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 28px;
}

.legal-card p {
  margin-bottom: 6px;
}

/* Language-scoped content blocks for legal pages */
[data-lang-content] {
  display: none;
}
[data-lang-content].is-active {
  display: block;
}

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 40px;
  background: var(--bg);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.brand__mark--footer {
  font-size: 34px;
  margin-bottom: 18px;
}

.site-footer__logo {
  height: 56px;
  width: auto;
  margin-bottom: 18px;
}

.site-footer__tagline {
  color: var(--text-muted);
  max-width: 36ch;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.site-footer__col a {
  color: var(--text);
  font-size: 0.98rem;
  width: fit-content;
  transition: color 0.2s var(--ease);
}

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

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ----------------------------- Scroll progress ----------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), #ff8a3d);
  z-index: 200;
  will-change: transform;
}

/* ----------------------------- Cursor glow ----------------------------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  mix-blend-mode: normal;
}

.cursor-glow.is-active {
  opacity: 1;
}

@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

/* ----------------------------- Team ----------------------------- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  min-width: 0;
}

.team-card__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-elev-2);
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
  filter: grayscale(0.15);
}

.team-card:hover .team-card__img {
  transform: scale(1.06);
  filter: grayscale(0);
}

.team-card__view {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    background 0.25s var(--ease);
}

.team-card__view svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

a.team-card__view:hover {
  background: var(--accent-strong);
}

.team-card:hover .team-card__view {
  opacity: 1;
  transform: none;
}

.team-card__body {
  padding: 20px 4px 0;
}

.team-card__name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.team-card__role {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
}

.team-card__expertise {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 2px;
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.team-card__linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.team-card__linkedin:hover {
  color: var(--accent);
}

/* Count-up helper */
.stat__value.is-counting {
  color: var(--accent);
}

/* 3D tilt */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ----------------------------- Reveal anim ----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 980px) {
  .approach__grid {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions__grid {
    grid-template-columns: 1fr;
  }
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .international__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .nav,
  .nav__cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  /* Mobile nav panel */
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 10px 28px 24px;
    margin: 0;
  }
  .nav.is-open .nav__link {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
  .hero__logo {
    opacity: 0.6;
  }
}

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

@media (max-width: 460px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 20px;
  }
  .lang-switch__btn {
    padding: 5px 8px;
  }
}
