/* ============================
   ТутТур — Styles
   ============================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
  background: #f8fafc;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   Typography
   ============================ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.text-highlight {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient {
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================
   Preloader
   ============================ */
#preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader {
  text-align: center;
}
.plane-icon {
  font-size: 3rem;
  animation: bounce 1s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ============================
   Header
   ============================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}
.header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}
.logo-icon { font-size: 1.8rem; }
.logo-text { letter-spacing: -0.5px; }
.logo-accent {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav {
  display: flex;
  gap: 32px;
}
.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  transition: width 0.3s;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* Header CTA button */
.header-btn {
  white-space: nowrap;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.btn-sm { padding: 8px 20px; font-size: 0.8rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}
.btn-accent:active {
  transform: translateY(0);
}

/* Hero button — THE MAIN CTA */
.btn-hero {
  background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
  background-size: 200% 200%;
  color: #fff;
  font-size: 1.1rem;
  padding: 18px 44px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.4);
  animation: gradientShift 4s ease infinite;
  position: relative;
  z-index: 1;
}
.btn-hero::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 19px;
  background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899, #8b5cf6);
  background-size: 300% 300%;
  z-index: -1;
  filter: blur(8px);
  opacity: 0.6;
  animation: gradientShift 3s ease infinite;
}
.btn-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
}
.btn-hero:active {
  transform: translateY(-1px) scale(0.98);
}
.btn-hero .btn-shimmer {
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 3s infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* ============================
   Sections
   ============================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
  color: #0ea5e9;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #0f172a;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: #64748b;
  font-size: 1.05rem;
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(239, 68, 68, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  animation: heroBgShift 20s ease infinite;
}
@keyframes heroBgShift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-5%, -5%); }
  50% { transform: translate(5%, 5%); }
  75% { transform: translate(-5%, 5%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 3;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
}
.hero-wave path {
  fill: #f8fafc;
}

/* ============================
   About
   ============================ */
.about {
  background: #f8fafc;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.about-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: rgba(245, 158, 11, 0.2);
}

.about-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}
.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0f172a;
}
.about-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

/* ============================
   CTA Banner
   ============================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner-content h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}
.cta-banner-content p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
}

.btn-cta-banner {
  flex-shrink: 0;
}

/* ============================
   Services
   ============================ */
.services {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  min-height: 240px;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  transition: transform 0.4s;
}
.service-card:hover .service-bg {
  transform: scale(1.08);
}

.service-content {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.service-emoji {
  font-size: 2.5rem;
  margin-bottom: 4px;
}
.service-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
.service-content p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
}
.service-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: auto;
}

.services-cta {
  text-align: center;
}

/* ============================
   Reviews
   ============================ */
.reviews {
  background: #f8fafc;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.review-stars {
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}
.review-name {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9rem;
}
.review-date {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* ============================
   Final CTA
   ============================ */
.final-cta {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
}

.final-cta-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.final-cta-card h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 16px;
}
.final-cta-card > p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.final-cta-note {
  margin-top: 24px;
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.4) !important;
}

/* ============================
   Footer
   ============================ */
.footer {
  background: #0f172a;
  padding: 60px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer .logo-text {
  font-size: 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 20px 0;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.social-link:hover {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #f59e0b;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.contact-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-cta-text {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-btn {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}
.footer-bottom-disclaimer {
  max-width: 400px;
  text-align: right;
}

/* ============================
   Scroll to top
   ============================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s;
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: #0f172a;
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 8px;
    transition: right 0.4s ease;
    z-index: 500;
    border-left: 1px solid rgba(255,255,255,0.06);
  }
  .nav.open {
    right: 0;
  }
  .nav-link {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .burger {
    display: flex;
    z-index: 600;
  }
  .header-btn {
    display: none;
  }
  .header-btn.mobile-visible {
    display: inline-flex;
    margin-top: 20px;
    width: 100%;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
    padding: 100px 0 60px;
  }
  .hero-stats {
    gap: 24px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .hero-wave svg {
    height: 40px;
  }

  /* CTA banner */
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner-content h2 {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-disclaimer {
    text-align: center;
  }

  /* Scroll top */
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .btn-hero {
    padding: 14px 28px;
    font-size: 1rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   Animations — Reveal
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   Mobile nav overlay
   ============================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 499;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
