:root {
  --accent:    #1d3a5f;
  --page-bg:   #f5f6f4;
  --tint-bg:   #e9edf0;
  --text:      #141b24;
  --muted:     #3d4a56;
  --muted-2:   #5a6672;
  --border:    rgba(20, 27, 36, .25);
  --hairline:  rgba(20, 27, 36, .08);

  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

* { box-sizing: border-box; }

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

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

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

/* Skip link — hidden until a keyboard user tabs to it */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; }
main:focus { outline: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }

/* ---------- Layout ---------- */
.section        { padding: clamp(60px, 10vw, 100px) clamp(20px, 5vw, 64px); }
.section--tint  { background: var(--tint-bg); }
.section--split { display: flex; flex-wrap: wrap; align-items: baseline; gap: 32px 56px; }

.section-head    { max-width: 640px; margin-bottom: 48px; }
.section-title   { font-size: 30px; margin: 0; }
.section-head .section-title { margin-bottom: 18px; }
.section-title--block { margin-bottom: 48px; }
.section-subtitle { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding: 20px clamp(20px, 5vw, 64px);
  background: var(--page-bg);
  border-bottom: 1px solid var(--hairline);
}
.brand { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.brand__accent { color: var(--accent); }
.brand__muted  { color: #9aa7b0; }

.nav__links { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(16px, 3vw, 32px); font-size: 15px; }
.nav__link  { color: var(--muted); font-weight: 500; transition: color .15s ease; }
.nav__link:hover { color: var(--text); }

.nav__lang {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: auto; margin-right: 16px;
  padding: 6px 12px;
  border: 1px solid var(--border); border-radius: 20px;
  color: var(--muted-2); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.nav__lang:hover { color: var(--accent); border-color: var(--accent); background: var(--tint-bg); }
.nav__lang svg   { display: block; opacity: .85; }

@media (max-width: 640px) {
  .nav__links { flex-basis: 100%; }
  .nav__lang  { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; border-radius: 30px;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; padding: 16px 32px; }
.btn--primary:hover { opacity: .92; }
.btn--outline { border: 1px solid var(--border); color: var(--text); padding: 16px 32px; }
.btn--outline:hover { border-color: var(--text); }
.btn--pill    { background: var(--accent); color: #fff; padding: 11px 22px; border-radius: 24px; font-weight: 600; }
.btn--pill:hover { opacity: .92; }

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-group--center { justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: clamp(60px, 10vw, 110px) clamp(20px, 5vw, 64px) clamp(50px, 8vw, 90px); }
.hero__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--muted); margin-bottom: 10px; }
.hero__title   { font-size: clamp(56px, 9vw, 110px); line-height: 1; letter-spacing: -0.02em; margin: 0 0 26px; max-width: 900px; }
.hero__lead    { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 540px; margin: 0 0 36px; }
.hero__highlight { color: var(--accent); font-weight: 700; }

/* ---------- Cards (services) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card       { background: var(--page-bg); border-radius: 16px; padding: 40px; }
.card__title { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0 0 12px; }
.card__text  { font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ---------- Projects ---------- */
.project {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px; margin-bottom: 64px;
}
.project--last { margin-bottom: 0; }

@media (max-width: 760px) {
  .project { row-gap: 20px; margin-bottom: 88px; }
}
.project__media { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-radius: 1.28% / 2.28%; }
.project__title { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin: 0 0 10px; }
.project__desc  { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 8px; }
.project__link  { font-size: 14px; font-weight: 600; color: var(--accent); }
.project__link:hover { text-decoration: underline; }

.meta        { margin-top: 18px; font-size: 13px; line-height: 1.9; color: var(--muted-2); }
.meta__label { color: var(--text); }

.group-label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 32px; }

/* ---------- About ---------- */
.split__title { font-family: var(--font-display); font-size: 30px; font-weight: 600; flex: 0 0 240px; }
.about__body  { font-size: 18px; line-height: 1.85; color: var(--muted); flex: 2 1 480px; max-width: 620px; }
.about__body p { margin: 0 0 20px; }
.about__body p:last-child { margin-bottom: 0; }
.about__highlight { color: var(--text); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta__title { font-size: clamp(28px, 5vw, 38px); margin: 0 0 18px; }
.cta__text  { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 480px; margin: 0 auto 32px; }

/* ---------- Contact ---------- */
.contact__body    { font-size: 18px; line-height: 2.1; color: var(--muted); flex: 2 1 280px; }
.contact__name    { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.contact__link    { color: var(--muted); transition: color .15s ease; }
.contact__link:hover { color: var(--text); }
.contact__address { margin-top: 14px; font-size: 15px; color: var(--muted-2); }
.contact__legal   { font-size: 15px; color: var(--muted-2); opacity: 0.7; }

.social { display: flex; gap: 12px; margin-top: 6px; }
.social__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--border); border-radius: 24px;
  color: var(--text); font-size: 15px; font-weight: 500; line-height: 1;
  transition: border-color .15s ease, background .15s ease;
}
.social__link:hover { border-color: var(--text); }
.social__link svg   { display: block; flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer {
  padding: 32px clamp(20px, 5vw, 64px);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  color: var(--muted-2); font-size: 14px;
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
