/* =========================
   RESET + GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #212121;
  font-size: 16px;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
}

ul {
  list-style: none;
}

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

/* =========================
   HEADER (DESKTOP BASE)
========================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 130px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: visible;
}

/* Дополнительное пространство под FOMO-полоску */
.site-header {
  padding-top: 4.7rem !important;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
  margin-top: -95px;
}

/* 🔧 LOGO LEFT POSITION FIX (desktop) */
.logo {
  position: relative;
  left: 0;
  top: -3px;  /* поднимаем выше */
  transform: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  z-index: 1;
}

.logo img,
.logo-icon {
  height: 180px;
  max-height: 220px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0;
}

/* Navigation (desktop) */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a,
.main-nav button {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  color: #212121;
  line-height: 1;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav button:hover {
  color: #0066cc;
}

/* Call Now Button (desktop base) */
.call-now {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  background: #2ecc71;
  color: #fff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  gap: 0.4rem;
  transition: background 0.2s ease;
}

.call-now:hover {
  background: #27ae60;
}

/* — Mobile toggle (hidden on desktop) — */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================
   FOMO BAR
========================= */
.fomo-bar {
  background: #d32f2f;
  color: white;
  padding: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  position: sticky;
  top: 64px;
  z-index: 999;
  overflow: hidden;
  white-space: nowrap;
}

/* moving text */
.fomo-bar .marquee {
  display: inline-block;
  padding-left: 50%;
  animation: marquee 12s linear infinite;
}

.fomo-bar:hover .marquee {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* =========================
   DROPDOWN + SERVICES MENU
========================= */
.dropdown {
  position: relative;
}

.dropdown button {
  background: none;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: #212121;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  min-width: 260px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  z-index: 1001;
  max-height: 60vh;
  overflow-y: auto;
}

.dropdown-menu.open {
  display: flex;
}

.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

/* Specific Services Dropdown (Styled for Conversion) */
.services-menu a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  display: block;
  color: #222;
  border-left: 4px solid transparent;
  transition: background 0.2s ease, border-left 0.2s ease, color 0.2s ease;
}

.services-menu a:hover {
  background: #f5faff;
  border-left: 4px solid #0066cc;
  color: #0066cc;
}

/* ✅ Floating Services Button */
.floating-services-toggle {
  position: fixed;
  bottom: 67px;
  left: 24px;
  z-index: 1001;
  text-align: left;
}

.floating-services-btn {
  background: #0066cc;
  color: #fff;
  border: none;
  padding: 0.60rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.floating-services-btn:hover {
  background: #004999;
}

.floating-services-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-height: 280px;
  overflow-y: auto;
  padding: 0.5rem 0;
  width: 260px;
}

.floating-services-menu.open {
  display: flex;
}

.floating-services-menu a {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif !important;
  color: #222;
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
}

.floating-services-menu a:hover {
  background: #f4f9ff;
  border-left: 4px solid #0066cc;
  color: #0066cc;
}

/* =============================
   📍 Floating Button (LEFT SIDE)
============================= */
.floating-call-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1001;
}

.floating-toggle {
  background: #b22234;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.floating-toggle:hover {
  background: #800000;
}

/* =============================
   📦 Dialog Box Popup (LEFT)
============================= */
.floating-dialog {
  display: none;
  background: white;
  border: 2px solid #3c3b6e;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 280px;
  animation: fadeInUp 0.3s ease;
}

.floating-dialog h4 {
  margin-bottom: 0.5rem;
  color: #b22234;
  font-size: 1.1rem;
}

.floating-dialog p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.dialog-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dialog-btn {
  flex: 1;
  padding: 0.6rem;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.dialog-btn.call {
  background: #3c3b6e;
  color: white;
}

.dialog-btn.message {
  background: #f39c12;
  color: white;
}

.dialog-full {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background: #b22234;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.dialog-full:hover {
  background: #800000;
}

/* =============================
   📩 Modal Form (Full Screen)
============================= */
.form-modal {
  display: none;
  position: fixed;
  z-index: 1002;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* =============================
   💬 Form Content Box
============================= */
.form-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.3s ease;
  box-sizing: border-box;
}

.form-content h3 {
  margin-bottom: 1rem;
  color: #3c3b6e;
  font-size: 1.3rem;
  text-align: center;
}

.form-content label {
  display: block;
  margin: 0.8rem 0 0.3rem;
  font-weight: 600;
  color: #333;
}

.form-content input,
.form-content textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-content button[type="submit"] {
  margin-top: 1rem;
  background: #3c3b6e;
  color: white;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-content button[type="submit"]:hover {
  background: #2a2956;
}

/* ❌ Close Button */
.form-content .close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* =========================
   MARKETING NOTIFICATION
========================= */
.marketing-notification {
  position: fixed;
  top: 57%;
  right: 1rem;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  border: 1px solid #ccc;
  border-left: 4px solid #0066cc;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: #333;
  display: none;
  z-index: 10000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.marketing-notification.show {
  display: block;
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.marketing-notification.hide {
  opacity: 0;
  transform: translateY(-50%) translateX(10px);
}

/* =============================
   FOOTER
============================= */
footer {
  background: #fafafa;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #eee;
}

.payment-icons {
  margin-top: 0.5rem;
  color: #555;
  font-size: 1rem;
}

/* ==================================
   ABOUT US PAGE – VISUAL REDESIGN
================================== */
.about-hero {
  background: linear-gradient(135deg, #f4f9ff, #ffffff);
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}

.about-hero h1 {
  font-size: 2.6rem;
  color: #0b355d;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}

section.container {
  padding: 4rem 1rem;
}

section.container h2 {
  text-align: center;
  color: #0b355d;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.about p {
  max-width: 900px;
  font-size: 1.1rem;
  margin: auto;
  text-align: center;
  color: #333;
}

.values ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.values li {
  background: #f4f9ff;
  padding: 1.5rem;
  border-left: 5px solid #0066cc;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  font-weight: 500;
  transition: all 0.2s ease;
}

.values li:hover {
  transform: translateY(-3px);
}

.equipment p {
  max-width: 900px;
  background: #fdfdfd;
  border-left: 4px solid #2ecc71;
  padding: 2rem;
  border-radius: 12px;
  margin: auto;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}

.testimonials blockquote {
  background: #f8f8f8;
  padding: 2rem;
  border-left: 5px solid #2ecc71;
  border-radius: 10px;
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
  font-style: italic;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.testimonials footer {
  text-align: right;
  font-size: 0.9rem;
  color: #777;
  margin-top: 1rem;
}

.patriotism {
  background: #fff4f4;
  text-align: center;
}

.patriotism p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: auto;
  color: #444;
}

.patriotism .cta-button {
  margin-top: 2rem;
  display: inline-block;
  background: #b22234;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.patriotism .cta-button:hover {
  background: #800000;
}

/* =========================
   MOBILE + TABLET STYLES
========================= */
@media (max-width: 768px) {

  .site-header {
    height: auto;
    padding: 0.75rem 1rem;
    padding-bottom: 2.2rem !important;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 0;
  }

  .mobile-toggle {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    background: none;
    border: none;
    color: #212121;
    z-index: 2002;
    padding: 0.5rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: -10.5px;
  }

  .logo {
    width: auto;
    max-width: none;
    height: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -3.2rem;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo img,
  .logo-icon {
    height: 130px;
    max-height: 150px;
    width: 220px;
    margin: 0 auto;
  }

  .site-header {
    padding-top: 1rem !important;
    padding-bottom: 2.5rem !important;
  }

  .call-now {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    margin: 0;
    background: #2ecc71;
    border-radius: 6px;
    color: #fff;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: -5px;
  }

  /* Main nav (mobile menu) */
  .main-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 0rem;
    width: 100%;
    height: 100vh;
    z-index: 1999;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a,
  .main-nav button {
    font-size: 1.1rem;
    padding: 1rem;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #eee;
    color: #212121;
  }

  body.nav-open {
    overflow: hidden;
  }

  .services-toggle {
    width: 100%;
    text-align: left;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    background: none;
    color: #212121;
    cursor: pointer;
  }

  .services-menu {
    display: none;
    flex-direction: column;
    top: 100%;
    left: 0;
    background: #fff;
    width: 100%;
    z-index: 999;
    border-radius: 0;
    padding: 0.5rem 0;
    box-shadow: none;
  }

  .services-menu.open {
    display: flex;
  }

  .services-menu a {
    padding: 0.8rem 1.2rem;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem;
    color: #222;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
  }

  .services-menu a:hover {
    background: #f5faff;
    border-left: 4px solid #0066cc;
    color: #0066cc;
  }

  .floating-services-toggle {
    bottom: 68px !important;
    left: 20px;
    right: 20px;
    position: fixed;
    z-index: 1001;
  }

  .floating-services-btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    background: #0066cc;
    color: white;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    border: none;
  }

  .marketing-notification {
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    font-size: 0.8rem;
    max-width: 80%;
    padding: 0.75rem 1rem;
  }

  .fomo-bar {
    position: relative;
    top: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    margin-top: -0.5rem !important;
  }

  .fomo-bar .marquee {
    display: inline-block;
    padding-left: 0;
    animation: marqueeMobile 18s linear infinite;
  }

  .popup-content {
    max-width: 95%;
    padding: 1rem;
  }

  .spin-content {
    padding: 1rem;
  }

  .spin-input {
    font-size: 0.9rem;
  }

  .spin-submit {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .spinner {
    width: 120px;
    height: 120px;
    border-width: 6px;
  }

  footer {
    padding-bottom: 7.5rem;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p,
  .about p,
  .equipment p,
  .patriotism p {
    font-size: 1rem;
  }

  .values ul {
    grid-template-columns: 1fr;
  }
}

/* ===== Mobile Marquee Animation ===== */
@keyframes marqueeMobile {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* PHONE-SIZED EXTRA TWEAKS */
@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .cta-button {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .status-grid {
    grid-template-columns: 1fr;
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .form-content h3 {
    font-size: 1.1rem;
  }

  .gift-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    bottom: 5rem;
    right: 1rem;
  }

  .spin-submit {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .floating-fee-card {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .spinner {
    width: 120px;
    height: 120px;
    border-width: 6px;
  }
}

/* 🔔 Minimal Call Now Style (shared) */
.call-now {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: white;
  background: none;
  border: none;
  padding: 0.4rem 0.6rem;
  text-decoration: none;
}

.call-now:hover {
  text-decoration: underline;
}

/* 📱 On mobile: hide text, leave icon (если внутри <span>) */
@media (max-width: 768px) {
  .call-now span {
    display: none;
  }
}

/* =========================
   GLOBAL OVERFLOW FIX
========================= */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}