:root {
  --primary: #0e9ad6;
  --dark: #1a1a1f;
  --text: #2f2f34;
  --muted: #666b72;
  --bg: #f4f4f6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Roboto", Arial, sans-serif;
  background: var(--white);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
}

p {
  margin: 0;
}

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

.top-header {
  background: #f0f0f0;
  border-bottom: 1px solid #d8d8d8;
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  min-width: 170px;
}

.logo-image {
  width: 155px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #21242c;
}

.top-contact p {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: #20252d;
}

.top-contact-address {
  flex: 1;
  max-width: 450px;
}

.top-contact-email {
  min-width: 190px;
  justify-content: flex-end;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.pin-icon {
  color: #22a450;
}

.mail-icon {
  color: #1299dc;
}

.pin-icon svg,
.mail-icon svg {
  fill: currentColor;
}

.main-nav {
  background: #1a1a1d;
  border-top: 1px solid #242428;
  border-bottom: 1px solid #242428;
  position: relative;
  z-index: 20;
}

.main-nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

body.nav-fixed .top-header {
  padding-bottom: 64px;
}

.nav-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #f0f1f5;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.1;
}

.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  color: #f0f1f5;
  font-size: 14px;
  font-weight: 500;
  font-family: "Roboto", Arial, sans-serif;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  line-height: 1.1;
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 19px);
  left: -10px;
  width: fit-content;
  min-width: 240px;
  max-width: 92vw;
  background: #f5f5f5;
  border: 1px solid #dbdbdb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 30;
  display: none;
}

.has-dropdown.is-open .menu-dropdown {
  display: block;
}

.menu-dropdown li {
  border-bottom: 1px solid #e5e5e5;
}

.menu-dropdown li:last-child {
  border-bottom: 0;
}

.menu-dropdown a {
  display: block;
  color: #111;
  text-decoration: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 12px 14px;
  white-space: nowrap;
}

.service-dropdown {
  left: -6px;
}

.industry-dropdown {
  left: -4px;
}

.service-dropdown a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  padding: 14px 16px;
}

.industry-dropdown a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  padding: 14px 16px;
}

.menu-dropdown a:hover {
  background: #ededed;
}

.menu .caret {
  width: 12px;
  height: 12px;
  font-size: 12px;
  line-height: 1;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 11px 26px;
  border: 0;
  cursor: pointer;
}

.btn-nav,
.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-nav {
  text-transform: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 8px;
  height: 40px;
  min-width: 122px;
  padding: 0 18px;
}

.hero {
  height: 500px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.5));
  pointer-events: none;
  z-index: 4;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}

.hero-content.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-content.is-outgoing {
  opacity: 0;
  transform: translateY(10px);
}

.hero-content.is-incoming {
  opacity: 0;
  transform: translateY(16px);
}

.hero-kicker {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.8px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-title {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 32px;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.hero-title span {
  color: #0e9ad6;
}

.btn-hero {
  margin-top: 30px;
  background: #0e9ad6;
  color: #fff;
  min-width: 150px;
  height: 46px;
  padding: 0 22px;
  border-radius: 4px;
  text-transform: uppercase;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s ease, transform 1.8s ease;
  transform-origin: center center;
  will-change: transform, opacity;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-slide.is-incoming {
  opacity: 0;
  transform: scale(1.04);
  z-index: 2;
}

.hero-slide.is-outgoing {
  opacity: 0;
  transform: scale(0.92);
  z-index: 3;
}

.hero-slide-1 {
  background-image: url("assets/hero-main.png");
}

.hero-slide-2 {
  background-image: url("assets/hero-second.png");
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.9);
}

.hero-arrow-left {
  left: 18px;
}

.hero-arrow-right {
  right: 18px;
}

.intro-section {
  background: #f2f2f4;
  padding: 56px 0 64px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.section-line {
  width: 22px;
  height: 3px;
  background: #e22872;
  margin-bottom: 16px;
}

.intro-text-card h2 {
  font-size: 46px;
  line-height: 0.9;
  margin-bottom: 20px;
  font-weight: 700;
  color: #23262d;
}

.intro-text-card p {
  max-width: 230px;
  font-size: 12px;
  line-height: 2.35;
  color: #2f323a;
  margin-bottom: 28px;
}

.intro-text-card .btn-primary {
  min-width: 110px;
  height: 30px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.mini-card img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  margin-bottom: 10px;
}

.mini-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 700;
  color: #20242d;
}

.mini-card p {
  font-size: 12px;
  line-height: 2;
  color: #1f242c;
}

.split-highlight {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.split-image {
  min-height: 420px;
  background-image: url("assets/why-quess.png");
  background-size: cover;
  background-position: center;
}

.split-content {
  background: #08a0dd;
  color: var(--white);
  padding: 62px 54px;
}

.small-label {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 14px;
}

.split-content h2 {
  font-size: 40px;
  line-height: 1.1;
  max-width: 560px;
  margin-bottom: 18px;
}

.split-content p {
  max-width: 620px;
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 12px;
}

.contact-band {
  background: #1f2028;
  color: var(--white);
}

.contact-band-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.contact-band p {
  font-size: 26px;
  font-family: "Montserrat", Arial, sans-serif;
}

.services {
  padding: 74px 0 78px;
  background: #f3f3f3;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head .section-line {
  width: 18px;
  height: 4px;
  margin-inline: auto;
  margin-bottom: 10px;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2.1px;
  color: #a9a9ad;
  margin-bottom: 2px;
}

.section-head h2 {
  font-size: 47px;
  font-weight: 700;
  color: #2b2f36;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 42px;
}

.service-card {
  background: transparent;
  border-radius: 6px;
  padding: 2px;
}

.service-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid #12a2e5;
  color: #12a2e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}

.service-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.service-icon-java img {
  width: 56px;
  height: 56px;
}

.service-icon-oracle img {
  width: 42px;
  height: 42px;
}

.service-icon-devops img,
.service-icon-manpower img,
.service-icon-training img {
  width: 42px;
  height: 42px;
}

.service-card h3 {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0;
  color: #11141c;
}

.service-card p {
  font-size: 12px;
  line-height: 2;
  color: #2e3239;
}

.site-footer {
  background: #171923;
  border-top: 1px solid #252733;
}

.footer-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
}

.footer-row a {
  color: #e4e8ef;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

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

  .split-highlight {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 320px;
  }
}

@media (max-width: 780px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .top-contact {
    width: 100%;
    justify-content: flex-start;
  }

  .top-contact-email {
    min-width: 0;
  }

  .top-contact p {
    font-size: 14px;
  }

  .nav-row {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .menu {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .menu a {
    font-size: 14px;
  }

  .nav-dropdown-toggle {
    font-size: 14px;
  }

  .menu-dropdown {
    left: 0;
    width: fit-content;
    min-width: 220px;
    max-width: 92vw;
    top: calc(100% + 10px);
  }

  .service-dropdown {
    left: 0;
  }

  .industry-dropdown {
    left: 0;
  }

  .menu-dropdown a {
    font-size: 14px;
    padding: 12px 14px;
  }

  .btn-nav {
    font-size: 16px;
    height: 42px;
    min-width: 120px;
  }

  .hero {
    height: 320px;
  }

  .hero-kicker {
    font-size: 14px;
  }

  .hero-title {
    font-size: 28px;
  }

  .btn-hero {
    margin-top: 16px;
    min-width: 122px;
    height: 40px;
  }

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

  .intro-text-card h2 {
    font-size: 31px;
  }

  .split-content {
    padding: 42px 24px;
  }

  .split-content h2 {
    font-size: 32px;
  }

  .contact-band-inner {
    min-height: auto;
    padding: 18px 0 24px;
    flex-direction: column;
    text-align: center;
  }

  .contact-band p {
    font-size: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-kicker {
    font-size: 9px;
    letter-spacing: 1.7px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .service-title-row {
    margin-bottom: 8px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 12px;
  }

  .service-icon img {
    width: 34px;
    height: 34px;
  }

  .service-icon-java img {
    width: 44px;
    height: 44px;
  }

  .service-icon-oracle img {
    width: 34px;
    height: 34px;
  }

  .service-icon-devops img,
  .service-icon-manpower img,
  .service-icon-training img {
    width: 34px;
    height: 34px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 13px;
    line-height: 1.8;
  }

  .footer-row {
    flex-wrap: wrap;
    gap: 16px 26px;
    padding: 14px 0;
  }
}
