:root {
  --blue: #52b7c5;
  --dark: #102b31;
  --dark-2: #173d44;
  --text: #193238;
  --muted: #68797d;
  --light: #f3f6f5;
  --white: #ffffff;
  --line: #dce5e5;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  color: white;
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 174px;
  height: auto;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--dark);
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

nav a:hover {
  color: white;
}

.nav-contact {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 26px;
  cursor: pointer;
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  background: linear-gradient(110deg, #102b31 0%, #153b42 65%, #1b4b52 100%);
  color: white;
}

.hero-content {
  max-width: 800px;
  padding-top: 70px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--blue);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--blue);
}

.hero h1 {
  font-size: clamp(56px, 8vw, 94px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  margin-bottom: 30px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-text {
  max-width: 650px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 14px 19px;
  background: var(--blue);
  color: var(--dark);
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

.button:hover {
  background: #79cbd3;
}

.intro {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.intro h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.intro p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.intro p + p {
  margin-top: 18px;
}

.section-number {
  color: #318f9d;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.services {
  padding: 110px 0;
  background: var(--light);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-heading p {
  align-self: end;
  color: var(--muted);
  font-size: 16px;
}

.services-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 40px;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: #318f9d;
  font-size: 24px;
  font-weight: bold;
}

.service h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.service p {
  color: var(--muted);
  font-size: 15px;
}

.infrastructure {
  padding: 115px 0;
}

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

.infra-title {
  margin: 14px 0 25px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.infra-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.points {
  list-style: none;
  margin-top: 30px;
}

.points li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.points li::before {
  content: "→";
  margin-right: 12px;
  color: #318f9d;
  font-weight: bold;
}

.diagram {
  min-height: 430px;
  padding: 35px 18px 18px;
  background: linear-gradient(180deg, #123f3d 0%, #0d2d30 100%);
  border: 1px solid rgba(136, 217, 175, 0.16);
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.diagram-title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.diagram-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.diagram-layout {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.diagram-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  width: 100%;
}

.diagram-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(186, 243, 217, 0.18);
  background: rgba(10, 38, 41, 0.8);
  color: rgba(255, 255, 255, 0.82);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
  min-width: 78px;
}

.diagram-core {
  position: relative;
  width: 80%;
  height: 170px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg, rgba(165, 240, 208, 0.12), rgba(16, 54, 56, 0.85));
  border: 1px solid rgba(186, 243, 217, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.diagram-core strong {
  display: block;
  color: #dffef3;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}

.diagram-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.04em;
}

.support {
  padding: 100px 0;
  background: var(--dark-2);
  color: white;
}

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

.support h2 {
  max-width: 600px;
  margin: 14px 0 25px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.support h2 span {
  color: var(--blue);
}

.support-description {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.8;
}

.motriu {
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.motriu h3 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 25px;
}

.motriu p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.8;
}

.hours {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.hours span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.criteria {
  padding: 115px 0;
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
}

.criteria-title {
  margin-top: 15px;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.criteria-list {
  border-top: 1px solid var(--line);
}

.criteria-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.criteria-item > span {
  color: #318f9d;
  font-size: 24px;
  font-weight: bold;
}

.criteria-item h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.criteria-item p {
  color: var(--muted);
  font-size: 14px;
}

.contact {
  padding: 100px 0;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 100px;
  align-items: end;
}

.contact h2 {
  max-width: 750px;
  margin: 15px 0 25px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.contact-text {
  max-width: 570px;
  color: var(--muted);
}

.contact-info {
  border-top: 1px solid var(--line);
}

.contact-info a {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: bold;
}

.contact-info a:hover {
  color: #318f9d;
}

footer {
  padding: 30px 0;
  background: #0b2025;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer strong {
  color: white;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a:hover {
  color: white;
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
    justify-content: space-between;
  }

  .menu-button {
    display: block;
    margin-left: auto;
    padding: 6px 0;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 75px;
    right: 0;
    left: auto;
    width: min(220px, calc(100vw - 32px));
    padding: 15px;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  nav ul.open {
    display: flex;
  }

  nav a {
    display: block;
    padding: 11px 5px;
  }

  .intro-grid,
  .section-heading,
  .infra-grid,
  .support-grid,
  .criteria-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .service p {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    height: 75px;
  }

  .hero {
    min-height: 670px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-text {
    font-size: 16px;
  }

  .intro,
  .services,
  .infrastructure,
  .support,
  .criteria,
  .contact {
    padding: 75px 0;
  }

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

  .service h3 {
    font-size: 19px;
  }

  .diagram {
    padding: 25px 18px;
    overflow: hidden;
  }

  .diagram-content {
    transform: scale(0.75);
    transform-origin: left center;
    width: 500px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
