/*
Theme Name: VeziPro.ru
Theme URI: https://vezipro.ru
Author: VeziPro Team
Author URI: https://vezipro.ru
Description: Премиальная, быстрая и удобная тема для службы грузоперевозок, квартирных, дачных и офисных переездов по Москве и МО. Включает быстрый расчет перевозки, каталог автопарка, готовые тарифы, форму заявок с AJAX и блок официальных документов.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vezipro
Tags: one-column, custom-menu, translation-ready, custom-colors, wide-blocks
*/

:root {
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-800: #1E40AF;
  --blue-900: #1E3A8A;
  --blue-50: #EFF6FF;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --emerald-600: #059669;
  --slate-950: #020617;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  background: var(--slate-50);
  color: var(--slate-900);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

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

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary, .btn-gradient {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 40%, #EA580C 100%);
  background-size: 200% auto;
  color: #020617;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover, .btn-gradient:hover {
  background-position: right center;
  box-shadow: 0 14px 28px -5px rgba(245, 158, 11, 0.65);
  transform: translateY(-2px);
  color: #000;
}

.btn-blue {
  background: var(--blue-600);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-700);
}

.btn-dark {
  background: var(--slate-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue-600);
}

/* Header Animated Wave Order Button */
.btn-header-order {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 45%, #EA580C 100%);
  color: #020617;
  font-weight: 900;
  font-size: 13px;
  padding: 8px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  animation: pvzWavePulse 2.4s ease-in-out infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-header-order::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.65) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-20deg);
  animation: pvzShimmerWave 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.btn-header-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6);
}

.btn-flame-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.12);
  padding: 3px;
  border-radius: 6px;
}

.btn-header-order__badge {
  background: #020617;
  color: #FCD34D;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
  margin-left: 4px;
}

@keyframes pvzShimmerWave {
  0% { transform: translateX(-160%) skewX(-20deg); }
  35%, 100% { transform: translateX(260%) skewX(-20deg); }
}

@keyframes pvzWavePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4), 0 0 0 0 rgba(245, 158, 11, 0.5); }
  50% { box-shadow: 0 6px 24px rgba(245, 158, 11, 0.65), 0 0 0 7px rgba(245, 158, 11, 0); }
}

/* ==========================================================================
   Site Header Styles
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.site-logo__text-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.site-logo__title {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-logo__title span {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-pro-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 2px;
  -webkit-text-fill-color: #0f172a !important;
}

.site-logo__subtitle {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1199px) {
  .site-nav {
    display: none;
  }
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: max-content;
}

.phone-link {
  font-size: 18px;
  font-weight: 900;
  color: var(--slate-950);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.phone-link:hover {
  color: var(--blue-600);
}

.phone-sub {
  font-size: 11px;
  color: var(--emerald-600);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 2px;
  white-space: nowrap;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  display: inline-block;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: var(--slate-900);
}

@media (max-width: 1199px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-phone {
    display: none;
  }
}

/* ==========================================================================
   Professional Footer Styles
   ========================================================================== */
.site-footer {
  background-color: #020617;
  color: #94a3b8;
  font-size: 13px;
  padding: 48px 0 40px;
  border-top: 1px solid #1e293b;
}

/* Upper Footer Trust Strip */
.footer-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.6);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  transition: border-color 0.2s, transform 0.2s;
}
.footer-trust-item:hover {
  border-color: #334155;
  transform: translateY(-2px);
}

.footer-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-trust-icon.blue { background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.2); color: #60a5fa; }
.footer-trust-icon.amber { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); color: #fbbf24; }
.footer-trust-icon.emerald { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: #34d399; }
.footer-trust-icon.purple { background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.2); color: #c084fc; }

.footer-trust-info strong { display: block; color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.footer-trust-info span { font-size: 11px; color: #94a3b8; }

@media (max-width: 991px) {
  .footer-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 32px 0 28px;
  }
  .footer-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 20px;
  }
  .footer-trust-item {
    padding: 10px 8px;
    gap: 8px;
    border-radius: 10px;
  }
  .footer-trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }
  .footer-trust-icon svg {
    width: 16px;
    height: 16px;
  }
  .footer-trust-info strong {
    font-size: 11px;
    line-height: 1.2;
    margin-bottom: 1px;
  }
  .footer-trust-info span {
    font-size: 9.5px;
    line-height: 1.2;
  }
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr 1.4fr;
  gap: 36px;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

@media (max-width: 991px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-dot { width: 6px; height: 6px; border-radius: 5px; }
.col-dot.blue { background: #3b82f6; }
.col-dot.amber { background: #f59e0b; }
.col-dot.emerald { background: #10b981; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo__text {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.footer-logo__text span { color: #3b82f6; }
.logo-badge {
  background: #f59e0b;
  color: #020617;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.footer-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  font-size: 12px;
  margin-bottom: 16px;
}
.footer-rating .stars { color: #f59e0b; letter-spacing: 2px; }
.footer-rating strong { color: #fff; font-weight: 700; }

.footer-reg {
  font-size: 11px;
  color: #64748b;
  font-family: monospace;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: #fff; }
.footer-links a span { font-size: 10px; color: #64748b; font-family: monospace; }
.footer-links a:hover span { color: #fbbf24; }

.footer-phone {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.footer-phone:hover { color: #fbbf24; }

.footer-status {
  font-size: 11px;
  color: #34d399;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.footer-addr, .footer-email {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.footer-email a { color: #94a3b8; text-decoration: none; }
.footer-email a:hover { color: #fff; }

.footer-messengers {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.msg-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.msg-btn.wa { background: rgba(6, 78, 59, 0.6); border: 1px solid rgba(16, 185, 129, 0.3); color: #6ee7b7; }
.msg-btn.wa:hover { background: rgba(6, 78, 59, 0.9); color: #fff; }
.msg-btn.tg { background: rgba(12, 74, 110, 0.6); border: 1px solid rgba(14, 165, 233, 0.3); color: #7dd3fc; }
.msg-btn.tg:hover { background: rgba(12, 74, 110, 0.9); color: #fff; }

.btn-footer-callback {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #020617;
  font-weight: 800;
  font-size: 12px;
  padding: 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.btn-footer-callback:hover { background: #fbbf24; }

.footer-payment-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #0f172a;
}
.ssl-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
}
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.payment-badges span {
  background: #0f172a;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #1e293b;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: #64748b;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.footer-legal-links a { color: #64748b; text-decoration: none; }
.footer-legal-links a:hover { color: #94a3b8; }
.disclaimer { font-size: 10px; color: #475569; }

@media (max-width: 640px) {
  .container { padding-left: 10px !important; padding-right: 10px !important; }
  .site-header__inner {
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
  }
  .site-logo {
    gap: 7px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }
  .site-logo__icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    border-radius: 9px;
    flex-shrink: 0;
  }
  .site-logo__text-wrap {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }
  .site-logo__title {
    font-size: 15px !important;
    line-height: 1.1;
    white-space: nowrap;
  }
  .logo-pro-badge {
    font-size: 8px !important;
    padding: 1px 3px !important;
  }
  .site-logo__subtitle {
    font-size: 9px !important;
    line-height: 1.15;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    color: #94a3b8;
  }
  .site-header__actions {
    gap: 5px;
    flex-shrink: 0;
    margin-left: auto;
  }
  .site-header__actions .header-phone { display: none !important; }
  .btn-header-order {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    height: 32px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35) !important;
  }
  .btn-header-order .btn-flame-wrap {
    display: inline-flex !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .btn-header-order .btn-flame-wrap svg {
    width: 13px !important;
    height: 13px !important;
  }
  .mobile-toggle {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    padding: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    flex-shrink: 0 !important;
    cursor: pointer;
  }
  .mobile-toggle svg {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 380px) {
  .site-logo__subtitle { display: none !important; }
  .site-logo__title { font-size: 14px !important; }
  .btn-header-order { padding: 5px 8px !important; font-size: 10.5px !important; }
}