html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 110px;
  min-width: 1200px;
  font-family: Arial, Helvetica, sans-serif;
  color: #1b2430;
  background: #f5f8fc;
  line-height: 1.6;
}

.container {
  width: 1100px;
  margin: 0 auto;
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1200px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(31, 78, 121, 0.08);
  backdrop-filter: blur(14px);
  z-index: 1000;
  box-shadow: 0 6px 24px rgba(20, 40, 70, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  gap: 30px;
}

.logo img {
  height: 90px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  text-decoration: none;
  color: #556577;
  font-size: 15px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: #16202c;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  text-decoration: none;
  color: #1f4e79;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}

.header-phone:hover {
  color: #173b5c;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 138px;
  min-width: 138px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1f4e79;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  box-shadow: 0 6px 16px rgba(31, 78, 121, 0.16);
  border: 1px solid rgba(31, 78, 121, 0.08);
}

.header-button:hover {
  background: #173b5c;
  box-shadow: 0 10px 22px rgba(31, 78, 121, 0.22);
  transform: translateY(-1px);
}

.header-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(31, 78, 121, 0.16);
}


/* HERO */

.hero {
  padding: 72px 0 80px;
  background: linear-gradient(135deg, #f4f8fc 0%, #e6eff8 50%, #f7fafd 100%);
  border-bottom: 1px solid #dbe4ee;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(31, 78, 121, 0.06), transparent 70%);
  top: -200px;
  right: -200px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-content {
  width: 520px;
}

.hero-label {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #1f4e79;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: 52px;
  line-height: 1.08;
  color: #16202c;
  letter-spacing: -0.5px;
}

.hero-text {
  margin: 0 0 30px;
  font-size: 18px;
  color: #526477;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.hero-visual {
  width: 520px;
  height: 380px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(28, 48, 74, 0.12);
  border: 1px solid rgba(31, 78, 121, 0.1);
  background: #ffffff;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 172px;
  min-width: 172px;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.btn-primary {
  background: #1f4e79;
  color: #ffffff;
  border: 1px solid rgba(31, 78, 121, 0.08);
  box-shadow: 0 8px 18px rgba(31, 78, 121, 0.18);
}

.btn-primary:hover {
  background: #173b5c;
  box-shadow: 0 12px 24px rgba(31, 78, 121, 0.24);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(31, 78, 121, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #1f4e79;
  border: 1px solid rgba(31, 78, 121, 0.14);
  box-shadow: none;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(31, 78, 121, 0.24);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 40, 70, 0.06);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: none;
}
/* SECTIONS */

.section {
  padding: 90px 0;
  border-top: 1px solid rgba(31, 78, 121, 0.06);
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, #1f4e79, rgba(31, 78, 121, 0));
}

.section-light {
  background: #ffffff;
}

.section-heading {
  text-align: center;
}

.section-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #6a7c8f;
}

.section h2 {
  margin: 0 0 20px;
  font-size: 40px;
  line-height: 1.15;
  color: #0f1c2b;
  letter-spacing: -0.35px;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  background: #1f4e79;
  border-radius: 2px;
}

.section-intro {
  max-width: 860px;
  margin: 0 0 28px;
  font-size: 17px;
  color: #4f6174;
}

#about,
#equipment,
#contacts {
  scroll-margin-top: 140px;
}

/* ABOUT */

.about-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 36px;
}

.about-image {
  width: 420px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(20, 40, 70, 0.08);
  border: 1px solid rgba(31, 78, 121, 0.08);
  background: #ffffff;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.about-content {
  width: 644px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-main p {
  margin: 0 0 20px;
  font-size: 17px;
  color: #3f5163;
}

.info-box {
  background: #ffffff;
  border: 1px solid #d9e3ed;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 14px 32px rgba(28, 48, 74, 0.05);
}

.info-box h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #16202c;
}

.info-box p {
  margin: 0;
  font-size: 15px;
  color: #536476;
}

/* EQUIPMENT */

.equipment-text-block {
  max-width: 980px;
  background: #ffffff;
  border: 1px solid rgba(31, 78, 121, 0.08);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(20, 40, 70, 0.05);
}

.equipment-text-block p {
  margin: 0 0 18px;
  font-size: 17px;
  color: #46586a;
}

.equipment-text-block p:last-child {
  margin-bottom: 0;
}

/* LOGO SLIDER */

.logo-slider {
  margin-top: 34px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(31, 78, 121, 0.08);
  box-shadow: 0 12px 30px rgba(20, 40, 70, 0.05);
  padding: 24px 0;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: logo-scroll 35s linear infinite;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-slide {
  width: 170px;
  height: 84px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: #f8fbfe;
  border: 1px solid rgba(31, 78, 121, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
}

.logo-slide img {
  max-width: 120px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.logo-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.03);
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* CONTACTS */

.contacts-clean {
  max-width: 720px;
  margin: 40px auto 0;
  background: #ffffff;
  border: 1px solid rgba(31, 78, 121, 0.08);
  border-radius: 26px;
  padding: 36px;
  box-shadow: 0 12px 30px rgba(20, 40, 70, 0.05);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(31, 78, 121, 0.06);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row span {
  font-size: 14px;
  color: #7a8c9e;
}

.contact-row strong {
  font-size: 15px;
  color: #16202c;
}

/* FOOTER */

.footer {
  padding: 24px 0 30px;
  background: #edf3f8;
  border-top: 1px solid #dbe4ee;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  margin: 0;
  font-size: 14px;
  color: #66788b;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  display: block;
}

/* LANGUAGE */

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  height: 40px;
  border-radius: 999px;
  background: rgba(244, 248, 252, 0.95);
  border: 1px solid rgba(31, 78, 121, 0.1);
}

.lang-switch button {
  min-width: 42px;
  height: 30px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #607487;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.lang-switch button:hover {
  color: #1f4e79;
}

.lang-switch button.active {
  background: #ffffff;
  color: #1f4e79;
  box-shadow: 0 3px 10px rgba(20, 40, 70, 0.08);
}