 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f7f7f7;
  color: #111;
  font-family: "Comfortaa", sans-serif;
}

h1, h2, h3 {
  font-family: "Science Gothic", sans-serif;
  margin-bottom: 15px;
}

h4 {
  font-family: "Science Gothic", sans-serif;
  font-size: 4ch;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  padding: 20px 60px;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  z-index: 10;
  transition: all 0.3s ease;
}

nav {
  margin-left: auto;
  margin-right: 40px; 
}

.logo-img {
  height: 85px;
  margin-top: 5px;
  transition: all 0.3s ease;
}

nav a {
  margin-right: 30px;
  text-decoration: none;
  color: #111;
  font-weight: 400;
}

.lang-switch a {
  margin-left: 12px;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.6;
}

.lang-switch a:hover {
  opacity: 1;
}

.hero {
  padding: 140px 60px 100px 60px;
  color: #fff;
  background:
      linear-gradient(to right,
          rgba(0,0,0,0.80) 0%,
          rgba(0,0,0,0.80) 35%,
          rgba(0,0,0,0.80) 70%,
          rgba(0,0,0,0.05) 100%
      ),
      url("img/1306.jpg") center/cover no-repeat fixed;
}

.hero h1 {
  font-size: clamp(35px, 5vw, 54px);
}

.hero p {
  margin: 25px 0;
  font-size: 18px;
  opacity: 0.9;
}

.hero button {
  padding: 14px 30px;
  border: none;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  font-family: "Comfortaa", sans-serif;
  border-radius: 10px;
}

.section,
.sectionff {
  padding: 60px 60px;
}

.light {
  background: #f7f7f7;
}

.dark {
  background: #111;
  color: #fff;
  gap: 40px;
  margin-bottom: -30px;
}

.global {
  background: linear-gradient(120deg, #111, #2b2b2b);
  color: #fff;
  text-align: center;
}

.footer {
  padding: 40px 60px;
  background: #111;
  color: #777;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.item-grid-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.info-item-grid {
  background: #fff;
  padding: 40px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item-grid:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.info-item-grid p:first-child {
  font-size: 40px;
  font-weight: 800;
  font-family: "Science Gothic", sans-serif;
}

.info-item-grid p:last-child {
  margin-top: 10px;
  opacity: 0.7;
  font-size: 15px;
}

.why {
  background: #fff;
}

.why-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.why1-img,
.why2-img,
.why3-img,
.why4-img {
  height: 45px;
}

.card {
  background: #1c1c1c;
  padding: 40px;
  flex: 1;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  display: flex;           
  flex-direction: column;  
  justify-content: space-between; 
  margin-bottom: 10px;
}

.card:hover {
  transform: translateY(-4px);
}

.card-btn {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 8px 16px;
  background: #fff;
  color: #111;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.card-btn:hover {
  background: #f0f0f0;
  color: #000;
}

.animate-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(.25,.8,.25,1),
              transform 0.8s cubic-bezier(.25,.8,.25,1);
}

.animate-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.6s ease var(--delay, 0s);
}

.animate-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.8s cubic-bezier(.25,.8,.25,1),
              transform 0.8s cubic-bezier(.25,.8,.25,1);
}

/* Классы для каскадного появления */
.delay-1 { --delay: 0.2s; }
.delay-2 { --delay: 0.4s; }

.show {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  margin-left: auto;
}

.mobile-icon {
  width: 30px;      
  height: 30px;  
  object-fit: contain;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  padding: 100px 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s ease;
  z-index: 20;
}

.mobile-menu.active {
  right: 0;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-links a {
  text-decoration: none;
  color: #111;
  font-size: 18px;
}

.mobile-lang {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.mobile-close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.6;
}

@media (min-width: 1180px) {
  .dark {
    display: flex;
  }
}

@media (max-width: 700px) {
  .logo-text,
  .lang-switch {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .item-grid-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .sectionff {
    padding: 50px 25px;
  }

  .hero {
    padding: 120px 25px 80px;
  }
}
