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

:root {
  --dark: #3b4656;
  --darker: #2c3541;
  --black: #111111;
  --gold: #f6a623;
  --gold-light: #eacb4f;
  --gold-border: #e29e00;
  --green: #2ecc71;
  --green-dark: #27ae60;
  --green-hover: #00ce1b;
  --gray: #d1d1d1;
  --text-muted: rgba(255,255,255,0.5);
  --text-gray: #686868;
  --text-light: #898989;
  --white: #ffffff;
  --font-oswald: 'Oswald', sans-serif;
  --font-philosopher: 'Philosopher', sans-serif;
  --font-roboto: 'Roboto', sans-serif;
  --btn-color: #2e83b3;
  --btn-border: #2b74b8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-roboto);
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

/* ========== HEADER ========== */
.header {
  background-color: var(--dark);
  padding: 10px 50px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 28% 72%;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-logo img {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.header-right {
  text-align: right;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.header-lang {
  display: flex;
  gap: 10px;
}

.header-lang a {
  font-family: var(--font-oswald);
  font-size: 16px;
  color: #777;
  transition: color 0.3s;
}

.header-lang a:hover {
  color: var(--gold);
}

#header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#header-phone .header-phone-numbers {
  display: flex;
  flex-direction: column;
}

#header-phone a {
  font-family: var(--font-oswald);
  font-size: 16px;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

#header-phone .header-phone-icon {
  text-decoration: none;
}

#header-phone i,
.header-telegram i {
  font-size: 31px;
  color: rgba(255,255,255,0.28);
}

.header-telegram {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  padding: 8px 0;
}

.header-nav a {
  font-family: var(--font-roboto);
  font-size: 14px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.header-nav a:hover {
  color: var(--gold);
}

.header-nav i {
  font-size: 14px;
}

/* ========== HERO ========== */
.hero {
  /* background: radial-gradient(at center center, #eacb4f 0%, #f6a623 64%); */
  background: radial-gradient(at center center, #72b8d4, #ced2f3 64%);
  padding: 40px 50px;
  position: relative;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 0 0 60%;
}

.hero-content h1 {
  font-family: var(--font-oswald);
  font-size: 72px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.hero-content h2 {
  font-family: var(--font-philosopher);
  font-size: 40px;
  color: #54595f;
  font-weight: 400;
  margin-top: 10px;
}

.hero-spacer {
  height: 30px;
}

.hero-btn {
  display: inline-block;
  background-color: var(--btn-color);
  color: var(--white);
  font-family: var(--font-oswald);
  font-size: 18px;
  text-transform: uppercase;
  padding: 18px 45px;
  border-bottom: 4px solid var(--btn-border);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  border-bottom: 4px solid var(--btn-border);
  animation: fadeInLeft 1s ease;
}

.hero-btn:hover {
  background-color: var(--green-dark);
  border-bottom-color: #019e35;
  transform: scale(1.05);
}

.hero-image {
  flex-shrink: 0;
  position: relative;
  left: 6em;
  animation: fadeInRight 1s ease;
}

.hero-image img {
  width: 458px;
  height: auto;
}

/* Shape dividers */
.shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.shape-divider svg {
  display: block;
  width: calc(110% + 1.3px);
  height: 35px;
}

.shape-divider--top {
  top: -1px;
}

.shape-divider--bottom {
  bottom: -1px;
}

.shape-divider .shape-fill {
  fill: var(--dark);
}

/* ========== ADVANTAGES ========== */
.advantages {
  background-color: var(--black);
  padding: 0 0 25px;
}

.advantages h3 {
  text-align: center;
  font-family: var(--font-oswald);
  font-size: 59px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 30px;
}

#golden {
  text-align: center;
  font-family: var(--font-oswald);
  font-size: 59px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 30px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 0 0 30px;
}

.advantage-icon {
  flex-shrink: 0;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #fff;
  transition: all 0.3s;
}

.advantage-card:hover .advantage-icon {
  animation: pulse 1s ease infinite;
}

.advantage-text h4 {
  font-family: var(--font-oswald);
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.advantage-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ========== PRICING ========== */
.pricing {
  background-color: var(--black);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.pricing .shape-divider--top .shape-fill {
  fill: var(--dark);
}

.shape-divider--bottom svg {
  transform: rotate(180deg);
}

.pricing .shape-divider--bottom .shape-fill {
  fill: var(--darker);
}

.pricing h2 {
  text-align: center;
  font-family: var(--font-oswald);
  font-size: 65px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pricing-card {
  border: 1px solid var(--white);
  border-bottom: 3px solid var(--white);
  border-radius: 10px;
  margin: 10px;
  padding: 45px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card h6 {
  font-size: 26px;
  color: var(--white);
  font-weight: 700;
}

.pricing-card .price {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-gray);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pricing-card .price sup {
  font-size: 10px;
  top: -0.4em;
}

.pricing-btn {
  display: inline-block;
  background-color: var(--btn-color);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 45px;
  border: none;
  border-bottom: 3px solid var(--btn-border);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
}

.pricing-btn:hover {
  background-color: var(--green-hover);
  border-bottom-color: #00a513;
  animation: bounceIn 0.5s;
}

.pricing-extras {
  margin-top: 40px;
  text-align: center;
  color: var(--white);
}

.pricing-extras h4 {
  font-family: var(--font-oswald);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 25px;
}

.pricing-extras p {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 6px;
}

.pricing-extras small {
  font-size: 13px;
  color: var(--text-gray);
}

/* ========== ACHIEVEMENTS ========== */
.achievements {
  background-color: var(--darker);
  padding: 100px 0;
}

.achievements h2 {
  text-align: center;
  font-family: var(--font-oswald);
  font-size: 65px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.achievement-card {
  border: 1px solid var(--text-gray);
  padding: 55px;
  text-align: center;
}

.achievement-number {
  font-size: 85px;
  font-weight: 100;
  color: var(--text-gray);
  line-height: 1;
}

.achievement-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 2px;
  margin-top: 10px;
}

.achievement-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.8;
  margin-top: 15px;
}

/* ========== TEAM ========== */
.team {
  background: radial-gradient(at center center, #3b4656 0%, #f36f24 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.team .shape-divider .shape-fill {
  fill: var(--darker);
}

.team .shape-divider--bottom .shape-fill {
  fill: var(--dark);
}

.team h2 {
  text-align: center;
  font-family: var(--font-oswald);
  font-size: 65px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.team-card {
  text-align: center;
  padding: 0 0 30px;
}

.team-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  transition: all 0.3s;
}

.team-card:hover img {
  animation: bob 1s ease infinite;
}

.team-card h4 {
  font-family: var(--font-oswald);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 5px;
}

.team-card p {
  font-size: 22px;
  color: var(--white);
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background-color: var(--darker);
  padding: 50px 0 100px;
}

.testimonial-block {
  background-color: var(--darker);
  border: 2px dashed var(--gold);
  padding: 50px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-block h2 {
  font-family: var(--font-oswald);
  font-size: 65px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}

.testimonials-slider {
  position: relative;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
}

.testimonial-slide h4 {
  font-family: var(--font-oswald);
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 15px;
}

.testimonial-slide p {
  font-size: 16px;
  color: var(--white);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.3);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.testimonial-dot.active {
  background-color: var(--gold);
}

/* ========== EQUIPMENT ========== */
.equipment {
  background-color: var(--darker);
  padding: 50px 0 80px;
}

.equipment h2 {
  text-align: center;
  font-family: var(--font-oswald);
  font-size: 65px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  justify-content: center;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 calc(100% / 3);
  padding: 0 10px;
}

.carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.3);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.carousel-dot.active {
  background-color: var(--gold);
}

/* ========== FOOTER ========== */
.footer {
  background-color: #000000;
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer .shape-divider--top .shape-fill {
  fill: var(--darker);
}

.footer .shape-divider--top svg {
  width: calc(171% + 1.3px);
  transform: rotate(180deg);
}

.footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col h3 {
  font-family: var(--font-oswald);
  font-size: 24px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-col ul li {
  color: var(--text-gray);
  font-size: 14px;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.footer-phone {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ========== POPUP ========== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.popup-overlay.open {
  display: flex;
}

.popup {
  background: var(--white);
  width: 640px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: 5px;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  border: none;
  background: none;
  line-height: 1;
}

.popup-close:hover {
  color: #333;
}

.popup h3 {
  font-family: var(--font-oswald);
  font-size: 24px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-roboto);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background-color: var(--gold);
  color: var(--white);
  border: none;
  border-bottom: 3px solid var(--gold-border);
  border-radius: 3px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover {
  background-color: var(--green-hover);
  border-bottom-color: #00a513;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--green);
  font-size: 18px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes bounceIn {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes bob {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.animate-fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.animate-fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.animate-fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== MOUNTAINS SHAPE ========== */
.shape-mountains .shape-fill {
  fill: var(--dark);
}

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .carousel-slide { flex: 0 0 calc(100% / 3); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 60px 20px 40px; }
  .hero .container { flex-direction: column; text-align: center; min-height: auto; }
  .hero-content { flex: 1; padding-top: 20px; }
  .hero-content h1 { font-size: 42px; }
  .hero-content h2 { font-size: 28px; }
  .hero-image { margin: 20px 0 0; position: static; left: auto; }
  .hero-image img { width: 300px; }
  .hero-btn { margin: 0 auto; }
      .header { padding: 10px 20px 0; }
      .header-inner { grid-template-columns: auto 1fr; gap: 10px; }
      .header-logo img { width: 60px; height: 60px; }
      .header-right { text-align: left; margin-top: 0; }
      .header-top-row { justify-content: flex-end; gap: 10px; }
      .header-nav { justify-content: flex-start; }

  .hamburger { display: flex; }
  #header-phone .header-phone-numbers { display: none; }
  #header-phone .header-phone-icon i { cursor: pointer; }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 0;
    z-index: 999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
  }

  .header-nav.open {
    right: 0;
  }

  .header-nav a {
    font-size: 16px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-slide { flex: 0 0 calc(100% / 2); }
  .carousel-track { justify-content: flex-start; }
  .footer .container { grid-template-columns: 1fr; }
  .pricing { padding: 60px 0; }
  .achievements { padding: 60px 0; }
  .team { padding: 60px 0; }
  .pricing h2 { font-size: 40px; }
  .advantages h3 { font-size: 36px; }
  .achievements h2 { font-size: 40px; }
  .team h2 { font-size: 40px; }
  .testimonial-block { padding: 30px 20px; }
  .testimonial-block h2 { font-size: 36px; }
  .testimonials { padding: 20px 20px 50px; }
  .pricing-card { padding: 25px; }
  .achievement-card { padding: 30px; }
  .equipment h2 { font-size: 40px; }
  .equipment { padding: 30px 30px; }
}

/* Overlay when nav is open */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

.nav-overlay.open {
  display: block;
}

@media (max-width: 380px) {
  #header-phone i,
  .header-telegram i { font-size: 18px; }
  #header-phone a { font-size: 11px; letter-spacing: 0.5px; }
  .header-lang { gap: 5px; }
  .header-lang a { font-size: 11px; }
  .header-top-row { gap: 4px; }
  .header-logo img { width: 45px; height: 45px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .carousel-slide { flex: 0 0 100%; }
  .carousel-track { justify-content: flex-start; }
  .hero { padding: 30px 15px 30px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content h2 { font-size: 22px; }
  .hero-btn { font-size: 14px; padding: 14px 25px; }
  .hero-image { left: 0; }
  .hero-image img { width: 250px; }
  .advantage-card { flex-direction: column; align-items: center; text-align: center; }
  #header-phone i,
  .header-telegram i { font-size: 22px; }
  #header-phone a { font-size: 13px; }
  .header-lang a { font-size: 13px; }
  .header-top-row { gap: 6px; }
  .hamburger { width: 30px; height: 30px; gap: 4px; }
  .hamburger span { width: 16px; }
}
