
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: white;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    height: 60px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.logo {
    flex: 1;
    text-align: center;
}
.logo img {
    height: 110px;
    margin-left: -35px;   /* чуть левее */
    margin-top: 29px;     /* чуть ниже */
}
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
}
.nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    width: 100%;
    left: 0;
    padding: 1rem 2rem;
}
.nav-links.open {
    display: flex;
}
.nav-links li {
    margin: 0.7rem 0;
}
.nav-links a {
    font-weight: 500;
    color: #333;
}
.dropdown .dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    margin-top: 0.5rem;
    background: #f5f5f5;
    border-radius: 6px;
}
.dropdown.open .dropdown-menu {
    display: flex;
}
.dropdown > a::after {
    content: " ▼";
    font-size: 0.75rem;
}

/* FOMO Bar */
.fomo-bar {
    background: #ff3b3f;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    position: relative;
    z-index: 9999;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    background: url('bg.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* затемнение */
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.btn {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}
.primary-btn {
    background: #007BFF;
    color: white;
}
.secondary-btn {
    background: white;
    color: #007BFF;
    border: 2px solid #007BFF;
}
.pill-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.pill-group div {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
}

/* Sections */
section {
    padding: 4rem 1rem;
    text-align: center;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.tags span {
    background: #eee;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.contact {
  background: linear-gradient(145deg, #007aff, #004bb5);
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  position: relative;
  border-top: 6px solid #fff;
}

.contact-overlay {
  max-width: 500px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact .urgent {
  font-weight: 600;
  color: #ffdf57;
}

.contact .slots {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff4d4d;
  animation: pulse 1.6s infinite;
}

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

.contact form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.contact input,
.contact textarea {
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.contact input:focus,
.contact textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contact button {
  background-color: #ffffff;
  color: #007aff;
  font-weight: 600;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact button:hover {
  background-color: #e6f0ff;
  color: #004bb5;
}
/* Chat Popup */
.chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007BFF;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
}
.chat-popup {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 90vw; /* ✅ адаптивно под экран */
    max-width: 320px; /* ✅ ограничим на больших экранах */
    background: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.chat-header {
    padding: 1rem;
    background: #007BFF;
    color: white;
    font-weight: bold;
}
.chat-body {
    padding: 1rem;
}
.chat-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.chat-btn {
    padding: 0.6rem;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
.chat-btn.primary {
    background: #007BFF;
    color: white;
}
.chat-btn.secondary {
    background: #e8f0fe;
    color: #007BFF;
}
.chat-btn.ghost {
    background: transparent;
    color: #007BFF;
    border: 1px solid #007BFF;
}
.chat-close {
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
}


/* Footer */
.footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}
.footer a {
    color: white;
    text-decoration: underline;
    margin: 0 0.5rem;
}

.highlight-section {
  background: linear-gradient(to right, #f9f9f9, #ffffff);
  padding: 4rem 1.5rem;
  text-align: center;
}

.highlight-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.section-title span {
  color: #e53935; /* Red highlight to match logo */
}

.section-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.features-list li {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-list li span {
  margin-left: 0.5rem;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  .features-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: 2.6rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }
}

.fancy-seo {
  background: #f7f9fb;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  border-top: 2px solid #e0e0e0;
}

.fancy-seo .container {
  max-width: 900px;
  margin: 0 auto;
}

.fancy-seo h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.fancy-seo h2 span {
  color: #e53935;
}

.fancy-seo p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.fancy-seo .extras {
  margin-top: 1rem;
  font-weight: 600;
  color: #2b2b2b;
}

/* FOOTER */
.modern-footer {
  background-color: #222;
  color: #ddd;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.modern-footer .container {
  max-width: 960px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #f0f0f0;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom p {
  font-size: 0.95rem;
  margin: 0.4rem 0;
}

.footer-bottom a {
  color: #90caf9;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.service-areas {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(145deg, #f1f5f9, #e3e8ef);
  border-top: 3px solid #007aff;
  border-bottom: 3px solid #007aff;
}

.service-areas h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 10px;
}

.service-areas p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 30px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-tags span {
  background: linear-gradient(120deg, #007aff, #00c6ff);
  color: white;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  cursor: default;
}

.area-tags span:hover {
  transform: scale(1.08);
  background: linear-gradient(120deg, #005eea, #00aaff);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.services-section {
  padding: 60px 20px;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  text-align: center;
}

.services-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #007aff;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
}

/* Responsive: 2 cards on tablets, 3 on desktop */
@media (min-width: 600px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonials {
  padding: 60px 20px;
  background: linear-gradient(145deg, #ffffff, #f0f8ff);
  text-align: center;
  color: #111;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #003366;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.testimonial-card .stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.testimonial-card strong {
  font-weight: 600;
  color: #007acc;
}

@media (min-width: 992px) {
  /* NAVBAR */
  .navbar {
    position: relative;
    overflow: visible;
    padding: 1.2rem 4rem;
    height: 80px;
    z-index: 9999;
  }
  .logo img {
    height: 120px;
    margin-left: -60;
    margin-top: 10;
  }
  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    background: none;
    padding: 0;
    gap: 2rem;
  }
  .nav-links li {
    margin: 0;
    position: relative;
  }
  .nav-links a {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease;
  }
  .nav-links a:hover {
    color: #007aff;
  }
  .dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    border: 1px solid #ddd;
    padding: 0.7rem 1rem;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    z-index: 10001;
  }
  .dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
  .nav-toggle {
    display: none;
  }

  /* HERO SECTION */
  .hero {
    min-height: 100vh;
    padding: 4rem;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero p {
    font-size: 1.4rem;
  }
  .btn {
    font-size: 1.1rem;
    padding: 1rem 1.8rem;
  }
  .pill-group div {
    font-size: 1rem;
  }

  /* FOMO BAR */
  .fomo-bar {
    position: relative;
    font-size: 1.05rem;
    padding: 0.5rem;
    z-index: 9998;
  }

  /* SERVICE GRID */
  .services-section .service-grid,
  .testimonials .testimonial-grid,
  .service-areas .area-tags {
    max-width: 1100px;
    margin: 0 auto;
  }

  .service-card {
    padding: 40px 30px;
  }

  /* TESTIMONIALS */
  .testimonial-card {
    padding: 35px;
    font-size: 1.05rem;
  }

  /* CONTACT FORM */
  .contact-overlay {
    max-width: 700px;
  }
  .contact input,
  .contact textarea {
    font-size: 1.1rem;
    padding: 16px;
  }
  .contact button {
    font-size: 1.1rem;
    padding: 16px;
  }

  /* CHAT */
  .chat-popup {
    max-width: 360px;
  }

  /* HIGHLIGHT SECTION */
  .highlight-section .section-title {
    font-size: 3rem;
  }
  .highlight-section .section-subtitle {
    font-size: 1.3rem;
  }

  /* SEO TEXT */
  .fancy-seo h2 {
    font-size: 2.5rem;
  }
  .fancy-seo p {
    font-size: 1.2rem;
  }

  /* FOOTER */
  .modern-footer .footer-links {
    justify-content: space-between;
    gap: 2rem;
    font-size: 1.05rem;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 1rem;
  }
  .footer-bottom p {
    margin: 0.2rem 0;
  }
}