/* ===== THEME SWITCHER ===== */
.theme-switcher {
  position: fixed; top: 12px; right: 12px; z-index: 10000;
  display: flex; gap: 4px; background: var(--card-bg);
  padding: 4px; border-radius: 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.15); border: 1px solid var(--border);
}
.theme-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; transition: all 0.2s; display: flex; align-items: center;
  justify-content: center; font-size: 14px; background: var(--bg-alt);
  color: var(--text);
}
.theme-btn.active { border-color: var(--primary); box-shadow: 0 0 8px rgba(245,130,32,0.3); }
.theme-btn:hover { transform: scale(1.1); }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  border-bottom: 3px solid var(--header-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: background 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; max-width: 1200px; margin: 0 auto;
}
.header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header-logo img { height: 44px; width: auto; }
.header-logo span { font-size: 18px; font-weight: 800; color: var(--text); }
.header-nav { display: flex; gap: 4px; }
.header-nav a,
.header-nav li a {
  padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); transition: all 0.2s; cursor: pointer;
  text-decoration: none; display: inline-block;
}
.header-nav a:hover, .header-nav a.active,
.header-nav li a:hover,
.header-nav .current-menu-item > a,
.header-nav .current_page_item > a {
  background: var(--badge-bg); color: var(--primary); font-weight: 600;
}
/* Make WP nav menu flat (remove list styles) */
.header-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.header-nav li { list-style: none; margin: 0; padding: 0; }

.header-right { display: flex; align-items: center; gap: 16px; }
.header-phone {
  font-size: 16px; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; gap: 6px; text-decoration: none;
}
.header-phone:hover { color: var(--primary-hover); }
.header-messengers { display: flex; gap: 8px; }
.header-messengers a {
  width: 34px; height: 34px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 14px;
  color: #fff; transition: transform 0.2s; text-decoration: none;
}
.header-messengers a:hover { transform: scale(1.1); }
.header-messengers .tg-btn { background: #229ED9; }
.header-messengers .vk-btn { background: #4C75A3; }
.header-messengers .max-btn { background: linear-gradient(135deg, #44ccff, #5533ee, #9933dd); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 5px;
}
.mobile-menu-btn span {
  display: block; width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0 80px; background: var(--bg);
  position: relative; overflow: visible; z-index: 10;
}
.hero::after {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
.hero-title {
  font-size: 42px; font-weight: 900; line-height: 1.15;
  color: var(--text); margin-bottom: 16px;
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
  font-size: 18px; color: var(--text-secondary);
  margin-bottom: 32px; line-height: 1.7;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gradient-orange); color: #fff;
  padding: 16px 36px; border-radius: 50px; border: none;
  font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 20px rgba(245,130,32,0.4);
  transition: all 0.3s; font-family: inherit; text-decoration: none;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,130,32,0.5); color: #fff; }
.hero-badges {
  display: flex; gap: 10px; margin-top: 36px; flex-wrap: nowrap;
}
.hero-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-secondary); font-weight: 500;
  white-space: nowrap;
}
.hero-badge-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--badge-bg); display: flex;
  align-items: center; justify-content: center;
  font-size: 13px; color: var(--primary); flex-shrink: 0;
}
.hero-image { text-align: center; }
.hero-image img {
  max-width: 500px; width: 100%; border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* ===== SECTION STYLES ===== */
.section { padding: 80px 0; }
.section-blue { background: var(--bg-section-blue); }
.section-orange { background: var(--bg-section-orange); }
.section-title {
  text-align: center; font-size: 32px; font-weight: 800;
  margin-bottom: 12px; color: var(--text);
}
.section-subtitle {
  text-align: center; font-size: 16px; color: var(--text-secondary);
  margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient-orange); padding: 60px 0;
  text-align: center; color: #fff;
}
.cta-section h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 17px; margin-bottom: 28px; opacity: 0.9; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-btn-white {
  padding: 14px 32px; border-radius: 50px; font-weight: 700;
  font-size: 15px; cursor: pointer; transition: all 0.3s;
  border: none; font-family: inherit;
  background: #fff; color: var(--primary); text-decoration: none;
}
.cta-btn-outline {
  padding: 14px 32px; border-radius: 50px; font-weight: 700;
  font-size: 15px; cursor: pointer; transition: all 0.3s;
  font-family: inherit; background: transparent;
  border: 2px solid #fff; color: #fff; text-decoration: none;
}
.cta-btn-white:hover, .cta-btn-outline:hover { transform: translateY(-2px); color: #fff; }
.cta-btn-white:hover { color: var(--primary); }

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg); color: var(--footer-text);
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-col p, .footer-col a { font-size: 14px; color: var(--footer-text); display: block; margin-bottom: 10px; line-height: 1.6; }
.footer-col:last-child p { font-size: 13px; white-space: nowrap; }
.footer-col a:hover { color: var(--primary); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0; padding: 0; }
.footer-col li a { display: block; padding: 0; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.footer-logo img { height: 40px; }
.footer-logo span { color: #fff; font-weight: 800; font-size: 16px; line-height: 1; }
/* Footer social icons (small round) */
.footer-social-icons { display: flex !important; gap: 8px; margin-top: 14px; }
.footer-social-icons a {
  width: 30px; height: 30px; border-radius: 50%; display: flex !important;
  align-items: center; justify-content: center;
  color: #fff; transition: transform 0.2s; text-decoration: none;
  margin-bottom: 0 !important;
}
.footer-social-icons a:hover { transform: scale(1.15); }
.footer-social-icons .tg-btn { background: #229ED9; }
.footer-social-icons .vk-btn { background: #4C75A3; }
.footer-social-icons .max-btn { background: linear-gradient(135deg, #44ccff, #5533ee, #9933dd); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; text-align: center;
  font-size: 13px; color: var(--text-muted);
}

/* ===== FLOATING MESSENGERS ===== */
.floating-messengers {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.floating-messengers a {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); text-decoration: none;
}
.floating-messengers a:hover { transform: scale(1.12); color: #fff; }
.floating-messengers .fm-tg { background: #229ED9; }
.floating-messengers .fm-vk { background: #4C75A3; }
.floating-messengers .fm-max { background: linear-gradient(135deg, #44ccff, #5533ee, #9933dd); }
