@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-opsz-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #f0f0f0;
  --color-text: #16161a;
  --color-body: #303030;
  --color-muted: #5a5a5f;
  --color-accent: #ec6295;
  --color-white: #ffffff;
  --max-width: 1100px;
  --measure: 760px;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: var(--font-sans);

  /* Type scale: one family, two weights (400 and 600), sizes in fixed steps.
     Large text gets tight line-height and tracking, small text gets room. */
  --fs-hero: clamp(40px, 6.2vw, 80px);
  --fs-h1: clamp(36px, 5vw, 56px);
  --fs-h2: clamp(30px, 4.2vw, 48px);
  --fs-title: clamp(23px, 2.6vw, 28px);
  --fs-intro: clamp(19px, 2vw, 21px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-footnote: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.011em;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.07;
  letter-spacing: -0.022em;
  margin: 0 0 20px;
}

p {
  margin: 0 0 0.8em;
}

p:last-child {
  margin-bottom: 0;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(240, 240, 240, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

.logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  font-size: var(--fs-small);
  letter-spacing: -0.006em;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  letter-spacing: -0.006em;
  color: var(--color-text);
}

.lang-switch a {
  transition: color 0.15s ease;
}

.lang-switch a:hover,
.lang-switch .current {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  height: 482px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 49%;
  color: var(--color-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1,
.hero .hero-title {
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.05;
}

.hero-divider {
  width: 140px;
  height: 2px;
  background: var(--color-accent);
  border: none;
  margin: 18px 0 18px;
}

.hero .subtitle {
  font-size: var(--fs-title);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 900px;
  text-wrap: balance;
}

.hero-band {
  height: auto;
  min-height: 360px;
  padding: 0;
}

.hero-band .hero-title {
  font-size: var(--fs-h1);
  line-height: 1.07;
  letter-spacing: -0.022em;
}

/* Sections */
section {
  padding: clamp(56px, 7vw, 88px) 0;
}

.intro-questions p {
  font-size: var(--fs-intro);
  line-height: 1.38;
  color: var(--color-body);
  max-width: 700px;
  margin: 0 0 0.5em;
}

.lead,
.intro-questions .lead {
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

.intro-questions .lead-intro {
  margin-bottom: 20px;
}

.intro-questions .lead-outro {
  margin: 28px 0 0;
  font-size: var(--fs-intro);
  line-height: 1.38;
  letter-spacing: -0.011em;
}

.intro-questions .lead-page {
  margin: 0;
}

.lead-question,
.lead-summary {
  font-size: var(--fs-intro);
  font-weight: 600;
  line-height: 1.24;
  color: var(--color-text);
  max-width: var(--measure);
  margin: 0;
}

.lead-summary {
  margin: 28px 0 12px;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.service-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.service-card p {
  color: var(--color-body);
  margin: 0;
}

.service-card h3 {
  font-size: var(--fs-title);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
}

.service-card .btn {
  align-self: center;
  margin-top: auto;
}

.btn {
  display: inline-block;
  align-self: flex-start;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.18;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--color-text);
  color: var(--color-text);
}

.cta-band {
  background: #c0c0c0;
  color: var(--color-text);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  margin-bottom: 28px;
}

.cta-band .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--measure);
}

.checklist li {
  padding-left: 32px;
  position: relative;
  color: var(--color-body);
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.feature-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  text-align: left;
  max-width: var(--measure);
}

.feature-icon {
  flex: none;
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-content h3 {
  margin: 0 0 4px;
  font-size: var(--fs-body);
  line-height: 1.24;
}

.feature-block p {
  color: var(--color-body);
  margin: 0;
}

/* Team */
.team-grid {
  display: grid;
  gap: 48px;
  margin-top: 32px;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(200px, 320px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  text-align: left;
}

.team-card img {
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
  width: 100%;
}

@media (max-width: 720px) {
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    max-width: 320px;
  }
}

.team-card h3 {
  font-size: clamp(21px, 2.2vw, 24px);
  line-height: 1.17;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
}

.team-card p {
  font-size: var(--fs-intro);
  line-height: 1.38;
  color: var(--color-body);
  max-width: 620px;
  margin: 0;
}

.body-copy {
  font-size: var(--fs-intro);
  line-height: 1.38;
  color: var(--color-body);
  margin: 0 0 0.4em;
}

.cta-question {
  margin: 36px 0 16px;
}

.our-services .body-copy {
  max-width: var(--measure);
  margin-bottom: 36px;
}

.team-text h2 {
  margin-bottom: 20px;
}

.team-text p + p {
  margin-top: 0.8em;
}

/* Contact */
.page-intro {
  padding-top: clamp(64px, 8vw, 96px);
  text-align: center;
}

.page-title {
  font-size: var(--fs-h1);
  line-height: 1.07;
  letter-spacing: -0.022em;
  margin: 0 0 20px;
}

.page-intro .lead,
.page-intro .body-copy {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-intro .lead {
  margin-bottom: 20px;
}

.page-intro .btn {
  margin-top: 24px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-intro);
  line-height: 1.38;
  margin-top: 28px;
}

.social-icon {
  width: 32px;
  height: 32px;
}

/* Clients: logos at equal visual weight, sliding in a loop */
.clients {
  padding: clamp(40px, 5vw, 64px) 0;
  --logo-gap: clamp(40px, 6vw, 88px);
  --logo-scale: 1;
}

.logo-marquee {
  display: flex;
  gap: var(--logo-gap);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--logo-gap);
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: logo-slide 36s linear infinite;
}

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

.logo-track img {
  width: calc(var(--w) * var(--logo-scale));
  height: auto;
  max-width: none;
  filter: grayscale(1);
  opacity: 0.7;
}

@keyframes logo-slide {
  to {
    transform: translateX(calc(-100% - var(--logo-gap)));
  }
}

@media (max-width: 720px) {
  .clients {
    --logo-scale: 0.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
    width: 100%;
  }

  .logo-track[aria-hidden="true"] {
    display: none;
  }
}

/* Footer */
.site-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--color-muted);
  font-size: var(--fs-footnote);
  line-height: 1.33;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    background: var(--color-white);
    flex-direction: column;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}
