:root {
  --teal: #00717b;
  --teal-dark: #005c64;
  --grey: #50555b;
  --grey-soft: #7a8088;
  --ink: #2c3238;
  --line: #e4e7ea;
  --bg: #f7f8f9;
  --white: #ffffff;
  --header-h: 92px;
  --font: "Roboto", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}
.d-none {
  display: none;
}
.hidden {
  visibility: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font-family: inherit;
}

.about{
  background: url(../images/about_bg.jpg) no-repeat center center;
  background-size: cover;
}
.about-quote {
  position: absolute;
  z-index: 9;
  left: -10px;
  margin-top: 370px;
  width: 420px;
}

.about-copy {
  z-index: 10;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  transition: background-color 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-stuck {
  position: fixed;
  height: 68px;
  background: var(--teal);
  box-shadow: 0 8px 24px rgba(0, 80, 90, 0.18);
}

.site-header.is-stuck .brand-logo--dark {
  display: none;
}

.site-header.is-stuck .brand-logo--light {
  display: block;
  height: 40px;
}

.site-header.is-stuck .site-nav a,
.site-header.is-stuck .lang-btn {
  color: var(--white);
  text-decoration: none;
}

.site-header.is-stuck .site-nav a:hover,
.site-header.is-stuck .lang-btn:hover {
  color: var(--white);
  opacity: 0.82;
}

.site-header.is-stuck .site-nav a:not(:last-child)::after,
.site-header.is-stuck .header-action::before {
  background: rgba(255, 255, 255, 0.7);
}

.site-header.is-stuck .lang-btn::after {
  border-top-color: var(--white);
}

.site-header.is-stuck .nav-toggle span {
  background: var(--white);
}

.site-header.is-stuck .header-right {
  margin-right: 40px;
}

.header-inner {
  height: 100%;
  width: min(1440px, calc(100% - 56px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-right: 48px;
  padding: 60px 0;
}
.is-stuck .header-inner {
  padding: 0;
}


.brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
}

.brand-logo--light {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: 256px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-nav a {
  color: var(--grey);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0 12px;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 13px;
  background: #b7bcc2;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal);
}

.header-actions {
  display: none;
  align-items: center;
}

.site-header.is-stuck .header-actions {
  display: flex;
}

.header-action {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  padding: 0 12px;
  position: relative;
}

.header-action::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 13px;
  background: #b7bcc2;
}

.header-action:hover {
  color: var(--teal);
}

.site-header.is-stuck .header-action {
  color: var(--white);
}

.site-header.is-stuck .header-action:hover {
  color: var(--white);
  opacity: 0.82;
}

.lang-container {
  position: absolute;
  top: 0;
  right: 22px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 45;
}

.lang {
  position: relative;
}

.lang-btn {
  background: none;
  border: 0;
  color: var(--grey);
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 2px;
}

.lang-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--grey);
  margin-top: 1px;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--white);
  border: 1px solid var(--line);
  list-style: none;
  min-width: 64px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.lang-menu button,
.lang-menu a {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  padding: 8px 12px;
  text-align: left;
  cursor: pointer;
  color: var(--grey);
  font-size: 13px;
  box-sizing: border-box;
}

.lang-menu button:hover,
.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
  background: var(--bg);
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.site-header.is-stuck .nav-toggle {
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--teal);
}

/* Hero */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 700px;
  overflow: hidden;
  background: #eef3f6;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero_bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  width: min(1440px, calc(100% - 56px));
  margin-inline: auto;
  padding-top: calc(var(--header-h) + 68px);
  padding-right: 20%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-copy {
  max-width: 620px;
  color: var(--teal);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
  font-size: 1.2rem;
}

.hero-person {
  position: absolute;
  right: 0;
  bottom: 0;
  top: auto;
  height: 82%;
  z-index: 3;
  pointer-events: none;
  margin-right: 7%;
}

.hero-person img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
}

section[id] {
  scroll-margin-top: 16px;
}

/* About */

.about {
  position: relative;
  padding: 88px 0 40px;
  background: var(--white);
  overflow-x: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 80px;
  align-items: start;
}

.about-copy p {
  color: var(--grey);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: justify;
}

.stats {
  display: flex;
  flex-direction: column;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--teal);
}

.stat:first-child {
  padding-top: 0;
}

.stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stat-num {
  flex-shrink: 0;
  min-width: 4.2ch;
  font-size: 48px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat img {
  flex-shrink: 0;
  width: 72px;
}

.stat p {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Services */

.services {
  padding: 8px 0 96px;
}

.services-stage {
  align-items: end;
  gap: 12px 28px;
  margin: 0px 0px 30px 0px;
}

.quote-visual {
  min-height: 380px;
  background: url("../images/about_bg.jpg") left center / cover no-repeat;
  background-position: 0% 55%;
}

.services-main .section-title {
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  color: var(--teal);
  text-align: center;
  margin-bottom: 36px;
}

.section-title--left {
  text-align: left;
  margin-bottom: 16px;
}

.services-photo {
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
}

.services-photo img {
  width: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.service-tab {
  grid-row: 1;
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 18px 10px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  transition: border-color 0.2s, background 0.2s;
}

.service-tab img {
  width: 64px;
  height: 64px;
}

.service-tab span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  color: var(--teal);
}

.service-tab.is-active,
.service-tab:hover {
  border-color: #9cc9ce;
  background: #eef7f8;
}

.service-panel {
  grid-column: 1 / -1;
  grid-row: 2;
}

.service-panel[hidden] {
  display: none !important;
}

.service-panel ul {
  list-style: none;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.service-panel li {
  color: var(--grey);
  font-size: 15.5px;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* Refs */

.refs {
  position: relative;
  padding: 40px 0 100px;
  overflow: visible;
}

.refs-sketch {
  position: absolute;
  right: 0;
  top: -480px;
  width: min(25%, 600px);
  height: calc(50% + 280px);
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  background-position: left;
}

.refs .container {
  position: relative;
  z-index: 1;
}

.refs-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
}

.refs-col {
  padding: 0 24px;
  border-right: 1px solid #e6eaed;
}

.refs-col:first-child {
  padding-left: 0;
}

.refs-col:last-child {
  border-right: 0;
  padding-right: 0;
}

.refs-col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.4;
}

.refs-col--accent h3 {
  color: var(--teal);
  margin-bottom: 10px;
}

.refs-col--accent h3:not(:first-child) {
  margin-top: 28px;
}

.refs-date {
  margin: 0 0 12px;
  color: var(--grey-soft);
  font-size: 13px;
}

.refs-col h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  line-height: 1.4;
}

.refs-col ul {
  list-style: none;
  margin: 0 0 14px;
}

.refs-col li {
  color: var(--grey);
  font-size: 13px;
  line-height: 1.65;
  padding-left: 12px;
  position: relative;
}

.refs-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.refs-col--accent li {
  color: var(--teal);
}

.refs-rich p {
  margin: 0 0 8px;
  color: var(--grey);
  font-size: 13px;
  line-height: 1.65;
}

.refs-count {
  margin: 0 0 8px;
  color: var(--grey);
  font-size: 13px;
  font-weight: 600;
}

.refs-entry + .refs-entry {
  margin-top: 28px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px;
  margin-top: 72px;
}

.project-grid--all {
  margin-top: 36px;
}

.project-carousel {
  margin-top: 72px;
}

.project-carousel-window {
  overflow: hidden;
  width: 100%;
}

.project-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.project-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
  margin-top: 0;
  min-width: 0;
  box-sizing: border-box;
}

.project-carousel-track:not(.is-ready) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
}

.project-carousel-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.project-carousel-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--teal);
  background: #fff;
  color: var(--teal);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.project-carousel-btn:hover,
.project-carousel-btn:focus-visible {
  background: var(--teal);
  color: #fff;
}

.project-carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.project-carousel-dots {
  display: flex;
  gap: 8px;
}

.project-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c5d0d3;
  cursor: pointer;
}

.project-carousel-dots button.is-active {
  background: var(--teal);
}

.project-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.project-more .btn {
  margin-left: 0;
  text-decoration: none;
}

.projects-page {
  padding: 48px 0 96px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 450 / 289;
  object-fit: cover;
  margin-bottom: 16px;
}

.project-card h3 {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card p {
  margin: 0 0 16px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
}

.project-loc {
  margin: 0 !important;
  padding-left: 12px;
  position: relative;
  font-size: 13px !important;
}

.project-loc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* Team */

.team {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
}

.team > .container {
  position: relative;
  z-index: 1;
}

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

.team-lead {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--teal);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 460px;
}

.team-list {
  list-style: none;
}

.team-list li {
  margin-bottom: 18px;
}

.team-pick {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.team-avatar {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.team-member-photo {
  display: block;
  width: min(280px, 100%);
  height: auto;
  margin: 0 0 22px;
  object-fit: cover;
}

.team-list strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.team-pick.is-active strong {
  color: var(--teal);
}

.team-list em {
  font-style: italic;
  color: var(--grey-soft);
  font-size: 14px;
}

.team-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.team-chevron {
  position: absolute;
  left: -80px;
  bottom: 0;
  height: 93%;
  width: auto;
  opacity: 0.95;
}

.team-photo {
  position: relative;
  z-index: 1;
  height: 400px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom right;
  margin-right: 8%;
  filter: drop-shadow(0 16px 24px rgba(0, 80, 90, 0.16));
}

.team-photo.is-enter {
  animation: team-photo-in 0.55s ease-out;
}

@keyframes team-photo-in {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-photo.is-enter {
    animation: none;
  }
}

.ekip-content {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}

.left-block p {
  color: var(--grey);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  margin: 0 0 18px;
}

.left-block p:last-child {
  margin-bottom: 0;
}

.right-block h3 {
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--teal);
  color: var(--teal);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.right-block h3:not(:first-child) {
  margin-top: 40px;
}

.cv-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cv-list li {
  margin-bottom: 18px;
}

.cv-list li:last-child {
  margin-bottom: 0;
}

.cv-date,
.cv-meta {
  display: block;
  color: var(--grey-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.cv-list strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

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

.cv-rich li {
  margin-bottom: 18px;
}

.cv-rich li:last-child {
  margin-bottom: 0;
}

.cv-rich strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.ekip-content[hidden] {
  display: none;
}

.cv-meta {
  margin-top: 2px;
}

/* Blog */
.left-bg {
  position: absolute;
  width: 13%;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

.left-bg img,
.right-bg img {
  display: block;
  width: 100%;
  height: auto;
}

.right-bg {
  position: absolute;
  width: 20%;
  right: -100px;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

.contact-bg {
  position: absolute;
  right: 0;
  width: 13%;
  margin-top: -310px;
  z-index: 0;
  pointer-events: none;
}

.js-parallax {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .js-parallax {
    transform: none !important;
    will-change: auto;
  }
}

.contact .container {
  position: relative;
  z-index: 1;
}
.blog {
  position: relative;
  padding: 20px 0 72px;
}

.blog > .container {
  position: relative;
  z-index: 1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 15px;
  margin-top: 36px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: solid 10px white;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.blog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 450 / 250;
  object-fit: cover;
  margin-bottom: 22px;
}

.blog-card h3 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.blog-card h3 span {
  text-transform: none;
}

.blog-author {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.blog-excerpt {
  margin: 0 0 22px;
  color: var(--grey);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.blog-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: auto 0 14px;
}

.blog-date {
  margin: 0;
  color: #a8adb3;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

/* Contact */

.contact {
  position: relative;
  padding: 40px 0 100px;
  /* background: var(--bg); */
  /* overflow: hidden; */
}

.contact-lead {
  text-align: center;
  max-width: 640px;
  margin: -12px auto 36px;
  color: var(--grey);
  font-size: 16px;
}

.contact-form {
  max-width: 760px;
  margin-inline: auto;
  background: var(--bg);
  padding: 36px 40px 32px;
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cfd4d8;
  background: transparent;
  padding: 12px 2px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--teal);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 22px;
  color: var(--grey);
  font-size: 13px;
}

.form-check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--teal);
}

.btn {
  display: inline-flex;
  margin-left: auto;
  background: var(--teal);
  color: var(--white);
  border: 0;
  padding: 12px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form .btn {
  display: block;
  margin-left: auto;
}

.btn:hover {
  background: var(--teal-dark);
}

.form-status {
  margin-top: 16px;
  color: var(--teal);
  font-size: 14px;
  text-align: right;
}

/* Footer */

.site-footer {
  background: #3d4349;
  color: #e8eaec;
  padding: 36px 0 22px;
}

.footer-inner {
  width: min(1440px, calc(100% - 56px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand--footer .brand-logo {
  height: 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 13px;
  padding: 0 10px;
  position: relative;
  color: #e8eaec;
}

.footer-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.35);
}

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

.footer-mail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.copyright {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive */

@media (max-width: 1180px) {
  .nav-toggle {
    display: flex;
    margin-right: 54px;
  }

  .lang-container {
    right: 14px;
  }

  .header-inner {
    padding-right: 44px;
    gap: 16px;
  }


  .header-right {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    margin-right: 0;
  }

  .site-header.is-stuck .header-right {
    top: 68px;
    margin-right: 0;
    background: var(--white);
  }

  .site-header.is-stuck .header-right .site-nav a,
  .site-header.is-stuck .header-right .header-action {
    color: var(--grey);
    opacity: 1;
  }

  .site-header.is-stuck .header-right .site-nav a:hover,
  .site-header.is-stuck .header-right .header-action:hover {
    color: var(--teal);
  }

  .header-right.is-open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .site-nav a::after,
  .header-action::before {
    display: none;
  }

  .header-actions {
    display: flex;
    padding-top: 8px;
    gap: 16px;
  }

  .header-action {
    padding: 12px 0;
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .about-grid,
  .refs-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-grid,
  .project-grid--all {
    grid-template-columns: 1fr 1fr;
  }

  .project-carousel-track:not(.is-ready),
  .project-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .refs-col {
    padding: 0 16px;
  }

  .refs-col:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .refs-col:nth-child(2n + 1) {
    padding-left: 0;
  }

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-tab:nth-child(1) { grid-column: 1; grid-row: 1; }
  .service-tab:nth-child(3) { grid-column: 2; grid-row: 1; }
  .service-tab:nth-child(5) { grid-column: 3; grid-row: 1; }
  .service-tab:nth-child(7) { grid-column: 1; grid-row: 2; }
  .service-tab:nth-child(9) { grid-column: 2; grid-row: 2; }

  .service-panel {
    grid-row: 3;
  }

  .services-stage {
    grid-template-columns: 1fr;
  }

  .quote-visual {
    min-height: 300px;
    order: 2;
  }

  .hero-person {
    right: 0;
    /* height: 69%; */
    margin-right: 0;
  }

  .hero-copy {
    max-width: 520px;
  }

  .hero-inner {
    padding-right: 26%;
    padding-top: calc(var(--header-h) + 20px);
  }

  .ekip-content {
    gap: 40px;
  }

  .about-quote {
    width: 240px;
    margin-top: 360px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(1080px, calc(100% - 32px));
  }

  .header-inner,
  .hero-inner,
  .services-stage,
  .footer-inner {
    width: min(1440px, calc(100% - 24px));
  }

  .section-title {
    font-size: clamp(28px, 7vw, 40px);
    margin-bottom: 24px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-bg {
    background-image: url("../images/mobile-hero-bg.jpg");
    background-position: center top;
  }

  .hero-inner {
    padding-right: 0;
    padding-left: 0;
    padding-top: calc(var(--header-h) + 52px);
    justify-content: flex-start;
    z-index: 4;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.55;
    position: relative;
    z-index: 4;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.82);
  }

  .hero-person {
    display: block;
  }
  .hero-person img{
    text-align:right;
    width:350px !important;
}

  .about,
  .team,
  .refs,
  .blog,
  .contact,
  .services {
    padding-left: 0;
    padding-right: 0;
  }

  .about {
    padding: 48px 0 24px;
  }

  .about-grid,
  .refs-grid,
  .team-grid,
  .form-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-copy p {
    text-align: left;
  }

  .about-quote {
    position: relative;
    left: auto;
    margin: 8px auto 0;
    width: min(260px, 70%);
  }

  .project-grid,
  .blog-grid,
  .project-grid--all {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-carousel-track:not(.is-ready),
  .project-slide {
    grid-template-columns: 1fr;
  }

  .project-carousel {
    margin-top: 40px;
  }

  .service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }

  .service-tab {
    grid-column: auto;
    grid-row: auto;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    padding: 14px 16px;
    border-color: #d7e4e6;
    text-align: left;
  }

  .service-tab img {
    width: 40px;
    height: 40px;
  }

  .service-tab span {
    text-align: left;
    flex: 1;
    font-size: 13px;
  }

  .service-tab::after {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-right: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .service-tab.is-active::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  .service-panel {
    grid-column: auto;
    grid-row: auto;
    padding: 4px 8px 16px 16px;
  }

  .service-panel ul {
    text-align: left;
    max-width: none;
  }

  .service-panel li {
    font-size: 14.5px;
    margin-bottom: 12px;
    line-height: 1.7;
  }

  .ekip-content {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 36px;
  }

  .quote-visual {
    min-height: 240px;
  }

  .team-visual {
    min-height: 0;
    justify-content: center;
  }

  .team-chevron,
  .left-bg,
  .right-bg,
  .refs-sketch,
  .contact-bg {
left: -20px;  }

.right-bg, .refs-sketch, .contact-bg {
 display: none;
}
  .team-photo {
    height: auto;
    max-height: 340px;
    margin-right: 0;
  }

  .refs-col,
  .refs-col:nth-child(2n),
  .refs-col:nth-child(2n + 1) {
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid #e6eaed;
    padding-bottom: 24px;
    margin-bottom: 8px;
  }

  .refs-col:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .project-grid,
  .project-grid--all {
    margin-top: 40px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-mail {
    justify-content: center;
  }

  .contact {
    padding: 32px 0 64px;
  }

  .stat img {
    width: 56px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 100svh;
  }

  .hero-copy {
    font-size: 0.88rem;
  }

  .brand-logo {
    height: 36px;
  }

  .site-header.is-stuck .brand-logo--light {
    height: 32px;
  }

  .site-header.is-stuck {
    height: 60px;
  }

  .site-header.is-stuck .header-right {
    top: 60px;
  }

  .stat-num {
    font-size: 36px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .container {
    width: calc(100% - 54px);
  }
}

.article {
  padding: 48px 0 96px;
}

.article-back {
  margin: 0 0 16px;
  height: 40px;
}

.article-back a {
  color: var(--teal);
  text-decoration: none;
}

.article-meta {
  margin: -8px 0 28px;
  color: var(--grey);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.article-cover {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  margin-bottom: 28px;
}

.article-body {
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 760px;
}

.article-body p { margin: 0 0 8px;line-height: normal; }
.article-body ul,
.article-body ol { margin: 0 0 1em; padding-left: 1.3em; }
.article-body img { max-width: 100%; height: auto; }
.article-body a { color: var(--teal); }
.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--teal);
  margin: 1.4em 0 0.5em;
}

/* Legal popups */

.legal-trigger {
  border: 0;
  background: none;
  padding: 0;
  color: var(--teal);
  font-size: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.legal-trigger:hover {
  color: var(--teal-dark);
}

body.is-modal-open {
  overflow: hidden;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 28, 0.55);
  cursor: pointer;
}

.legal-modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(80vh, 720px);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.legal-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.legal-modal-head h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal);
}

.legal-modal-close {
  border: 0;
  background: none;
  color: var(--grey-soft);
  font-size: 28px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}

.legal-modal-close:hover {
  color: var(--ink);
}

.legal-modal-body {
  overflow-y: auto;
  padding: 22px 24px 26px;
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-modal-body p { margin: 0 0 1em; }
.legal-modal-body ul,
.legal-modal-body ol { margin: 0 0 1em; padding-left: 1.3em; }
.legal-modal-body img { max-width: 100%; height: auto; }
.legal-modal-body a { color: var(--teal); text-decoration: underline; }
.legal-modal-body h2,
.legal-modal-body h3,
.legal-modal-body h4 {
  color: var(--teal);
  font-size: 1.05rem;
  margin: 1.4em 0 0.5em;
}

@media (max-width: 640px) {
  .legal-modal { padding: 12px; }
  .legal-modal-panel { max-height: 88vh; }
  .legal-modal-head { padding: 16px 18px; }
  .legal-modal-head h2 { font-size: 1.25rem; }
  .legal-modal-body { padding: 18px; }
}
