:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --card: #ffffff;
  --muted: #6b7280;
  --primary: #3a68ff;
  --primary-dark: #1e40af;
  --secondary: #132d46;
  --text-clear: #eef7fa;
  --text-dark: #132d46;
  --border: #e5e7eb;
}

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

h1,
h2,
h3,
h4 {
  line-height: 1;
  font-weight: 400;
  font-family: "Syne", sans-serif;
}

h1 {
  font-size: clamp(2rem, 3vw + 1.5rem, 3.1rem);
  margin: 0 0 1rem;
}

h2, h3 {
  font-size: clamp(1.4rem, 2vw + 0.8rem, 2rem);
  margin: 0 0 1rem;
}

p {
  line-height: 1.2;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.header {
  background: var(--secondary);
  padding: 0;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.header-logo {
  display: flex;
  align-items: center;
  padding: clamp(0.15rem, 1vw, 0.5rem);
}

.header-logo-img {
  height: clamp(20px, 5vw, 30px);
  width: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.header-contact-item:hover {
  opacity: 0.8;
}

.header-contact-item svg {
  flex-shrink: 0;
}

.header-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(39%) sepia(99%) saturate(2579%) hue-rotate(219deg) brightness(101%) contrast(105%);
}
.language-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.lang-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
  color: var(--primary);
  background: rgba(58, 104, 255, 0.15);
}
@media (max-width: 650px) {
  .header-contact-item span {
    display: none;
  }
}

.section-title {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.5rem);
  margin-top: 0;
}

.section-intro p {
  margin-top: 0;
  font-size: 1.125rem;
}

.container {
  width: min(1600px, 85%);
  margin: 0 auto;
}

.hero {
  padding: 4.5rem 0 3rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('../images/picture-hero-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}

.hero-title {
  font-size: clamp(32px, 3vw + 1.5rem, 56px);
  color: var(--text-clear);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw + 0.5rem, 24px);
  font-weight: 400;
  color: var(--text-clear);
  margin-top: 0;

}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1rem, 5vw, 5rem);
  margin-bottom: clamp(1rem, 10vw, 15rem);
}

@media (max-width: 980px) {
  .logo-block {
    margin-bottom: 1rem;
  }
} 

.logo-icon-svg {
  width: clamp(200px, 40vw, 400px);
  height: auto;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  margin-top: 25px;
}

.form-title {
  font-size: clamp(24px, 3vw + 0.5rem, 2rem);
  font-weight: 400;
  color: var(--primary);
  padding-right: clamp(0rem, 8vw, 20rem);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-form label.checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.form-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}

input,
textarea,
select {
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.65rem, 2vw, 0.9rem);
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

input::placeholder,
textarea::placeholder {
  color: #999;
  opacity: 1;
}

select {
  color: #999;
}

select:valid:not([value=""]) {
  color: #000;
}

select option {
  color: #000;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(29, 78, 216, 0.25);
  border-color: var(--primary);
}

.checkbox input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn {
  padding: clamp(0.6rem, 2vw, 0.75rem) clamp(1.2rem, 3vw, 1.5rem);
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

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

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

.form-status {
  margin: 0;
  color: var(--muted);
}

.contact-form.is-success {
  align-content: center;
  min-height: 420px;
}

.contact-form.is-success > :not(.form-status) {
  display: none;
}

.contact-form.is-success .form-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 100%;
  color: var(--text-dark);
  text-align: center;
}

.form-status-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(58, 104, 255, 0.14);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
}

.form-status-message {
  max-width: 28ch;
  font-size: clamp(1.05rem, 1.2vw + 0.8rem, 1.35rem);
  line-height: 1.35;
  font-weight: 500;
}

.services-section {
  padding: 3.5rem 0 4rem;
  background: #fff;
  border-top: 1px solid var(--border);
}

/*
.services-subtitle {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2rem;
}
*/
.services-intro-wrapper {
  display: grid;
  gap: clamp(0rem, 10vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  align-items: start;
  margin-bottom: clamp(0px, 1.6667vw, 32px);
}

.services-grid {
  display: grid;
  gap: clamp(0rem, 10vw, 4.5rem);
  row-gap: 2.5rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
}

@media (max-width: 1042px) {
  .services-intro-wrapper {
    gap: 0;
  }
}

@media (max-width: 950px) {
  .services-grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, auto);
  }
}

.service-card {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr 3fr;
  gap: clamp(15px, 1.6667vw, 32px);
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  align-items: start;
}

.service-card-text {
  margin-right: 1rem;
}

.service-card h4 {
  color: var(--primary);
  margin: 0 0 0.4rem;
}

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

.service-icon {
  height: 100%;
  border-radius: 12px;
  background: rgba(29, 78, 216, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.service-icon-svg {
  width: 50%;
  height: 80%;
}

.team-section {
  padding: 3.5rem 0 4rem;
  background-color: var(--secondary);
}

.team-logos-wrapper {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
}

.team-subtitle {
  color: var(--text-clear);
}

.team-intro {
  color: var(--text-clear);
}

.team-grid {
  display: grid;
  gap: clamp(1rem, 10vw, 4.5rem);
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  align-items: start;
}

@media (max-width: 720px) {
  .team-grid {
    gap: 1rem;
}
}

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

.team-card {
  display: grid;
}

.team-card-header {
  height: 1px;
  background-color: var(--primary);
}

.team-card-accent {
  color: #fff;
  font-weight: 600;
}

.team-value {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-clear);
}

.team-text-title {
  margin: 0;
  font-weight: 400;
  font-family: "Syne", sans-serif;
  color: var(--primary);
}

.team-text {
  margin: 0 0 0.75rem;
  font-weight: 400;
  color: var(--text-clear);
}

.brand-band {
  min-height: 48px;
}

.brand-band-dark {
  background: #0f2247;
}

.brand-band-light {
  background: #eef4ff;
}

.logos-section {
  padding: 2.5rem 0;
  background: #fff;
  overflow: visible;
}

.logos-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
  justify-items: center;
  overflow: visible;
}

.photos {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  overflow: visible;
  background: linear-gradient(to bottom, #132d46 50%, #ffffff 50%);
}

@media (max-width: 600px) {
  .photos {
    display: none;
  }
}

.logos-photo {
  height: clamp(200px, 30vw, 400px);
  width: auto;
  justify-items: center;
  position: relative;
}

.logos-logos {
  display: flex;
  flex-direction: row;
  gap: clamp(1rem, 15vw, 6rem);
  justify-content: center;
}

.brand-logo {
  width: clamp(50px, 15vw, 100px);
  height: auto;
  opacity: 0.75;
}

@media (max-width: 720px) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 980px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }
}

.footer {
  background: var(--primary);
  color: var(--text-clear);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.footer-col {
  text-align: start;
}

.footer-col h3 {
  color: var(--text-clear);
  margin-top: 0;
  font-size: 1.1rem;
}

.footer-col p {
  color: var(--text-clear);
  margin: 0.5rem 0;
  line-height: 1.6;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-clear);
  font-size: 0.9rem;
}
