/* ==============================================================================
   TIMEOUTLET.RU - Stylesheet
   Modern Bootstrap 5.3.3 Design System for TimeOutlet
   ============================================================================== */

:root {
  --to-dark: #0e1626;
  --to-dark-alt: #131d31;
  --to-dark-card: #18243c;
  --to-orange: #ff7a18;
  --to-orange-hover: #e86400;
  --to-orange-dark: #c95200;
  --to-orange-light: #fff5ee;
  --to-orange-soft: #ffe4d2;
  --to-orange-gradient: linear-gradient(135deg, #ff8c2e 0%, #f2680c 100%);
  --to-blue-accent: #2563eb;
  --to-graphite: #1e293b;
  --to-border: #e2e8f0;
  --to-border-dark: #263550;
  --to-text-dark: #0f172a;
  --to-text-muted: #64748b;
  --to-bg-light: #f8fafc;
  --to-bg-card: #ffffff;
  --to-font-headings: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --to-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --to-radius: 12px;
  --to-radius-lg: 16px;
  --to-shadow-sm: 0 2px 8px rgba(14, 22, 38, 0.06);
  --to-shadow: 0 10px 25px -5px rgba(14, 22, 38, 0.08), 0 8px 10px -6px rgba(14, 22, 38, 0.04);
  --to-shadow-lg: 0 20px 35px -5px rgba(14, 22, 38, 0.12), 0 10px 15px -5px rgba(14, 22, 38, 0.06);
  --to-shadow-orange: 0 10px 25px -5px rgba(255, 122, 24, 0.35);
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 110px;
}

body {
  font-family: var(--to-font-body);
  color: var(--to-text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: var(--to-font-headings);
  font-weight: 700;
  color: var(--to-text-dark);
  letter-spacing: -0.02em;
}

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

/* ----------------------------------------------------
   TOPBAR
---------------------------------------------------- */
.to-topbar {
  background-color: var(--to-dark);
  border-bottom: 1px solid var(--to-border-dark);
  font-size: 13px;
  padding: 8px 0;
  color: #94a3b8;
}

.to-topbar a {
  color: #cbd5e1;
}

.to-topbar a:hover {
  color: var(--to-orange);
}

/* ----------------------------------------------------
   MAIN HEADER
---------------------------------------------------- */
.to-main-header {
  padding: 14px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--to-border);
}

.to-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.to-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.to-logo-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--to-dark);
  line-height: 1;
  text-transform: uppercase;
}

.to-logo-title span {
  color: var(--to-orange);
}

.to-logo-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--to-text-muted);
  font-weight: 600;
  margin-top: 3px;
}

.to-header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.to-header-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.to-header-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--to-orange-light);
  color: var(--to-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.to-header-contact-label {
  font-size: 11px;
  color: var(--to-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.2;
}

.to-header-contact-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--to-dark);
  line-height: 1.3;
}

/* ----------------------------------------------------
   DEVELOPMENT DISCLAIMER BANNER
---------------------------------------------------- */
.to-dev-banner {
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 50%, #fffbeb 100%);
  border-top: 1px solid #fde68a;
  border-bottom: 2px solid #f59e0b;
  color: #92400e;
  font-size: 13.5px;
  line-height: 1.45;
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
  position: relative;
  z-index: 1040;
}

.to-dev-badge {
  background-color: #d97706;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.to-dev-banner-text {
  color: #78350f;
  font-size: 13px;
}

/* ----------------------------------------------------
   STICKY NAVBAR
---------------------------------------------------- */
.to-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.to-navbar {
  background-color: var(--to-dark);
  padding: 0;
  border-top: 2px solid var(--to-orange);
}

.to-navbar .nav-link {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 18px !important;
  position: relative;
  transition: all 0.2s ease;
}

.to-navbar .nav-link:hover,
.to-navbar .nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 122, 24, 0.12);
}

.to-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--to-orange-gradient);
}

.to-nav-btn {
  background: var(--to-orange-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 6px;
  box-shadow: var(--to-shadow-orange);
  transition: all 0.25s ease;
}

.to-nav-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
.to-hero {
  background: radial-gradient(circle at 80% 20%, #1f2c45 0%, #0e1626 70%);
  color: #ffffff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.to-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 122, 24, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.to-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 122, 24, 0.15);
  border: 1px solid rgba(255, 122, 24, 0.4);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #ffb066;
  margin-bottom: 24px;
}

.to-hero-title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.to-hero-title span {
  background: var(--to-orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.to-hero-lead {
  font-size: 17px;
  color: #94a3b8;
  max-width: 560px;
  margin-bottom: 35px;
  line-height: 1.6;
}

.to-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.to-btn-primary {
  background: var(--to-orange-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  box-shadow: var(--to-shadow-orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.to-btn-primary:hover {
  color: #ffffff;
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(255, 122, 24, 0.45);
}

.to-btn-outline {
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.to-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.to-hero-image-wrap {
  position: relative;
  border-radius: var(--to-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--to-border-dark);
}

.to-hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.to-hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(14, 22, 38, 0.88);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ----------------------------------------------------
   STATS BAR
---------------------------------------------------- */
.to-stats-bar {
  background-color: var(--to-dark-alt);
  border-bottom: 1px solid var(--to-border-dark);
  padding: 30px 0;
  color: #ffffff;
}

.to-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.to-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 122, 24, 0.15);
  color: var(--to-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.to-stat-number {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-family: var(--to-font-headings);
}

.to-stat-label {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 2px;
}

/* ----------------------------------------------------
   SECTION HEADINGS
---------------------------------------------------- */
.to-section {
  padding: 85px 0;
}

.to-section-alt {
  background-color: var(--to-bg-light);
}

.to-section-tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--to-orange);
  background: var(--to-orange-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.to-section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--to-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.to-section-desc {
  font-size: 16px;
  color: var(--to-text-muted);
  max-width: 650px;
  margin-bottom: 45px;
}

/* ----------------------------------------------------
   ABOUT SECTION
---------------------------------------------------- */
.to-about-box {
  background: #ffffff;
  border-radius: var(--to-radius-lg);
  padding: 40px;
  box-shadow: var(--to-shadow);
  border: 1px solid var(--to-border);
}

.to-about-highlight {
  border-left: 4px solid var(--to-orange);
  padding: 16px 20px;
  background: var(--to-orange-light);
  border-radius: 0 10px 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: #6d2f00;
  margin: 25px 0;
}

.to-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.to-timeline-step {
  display: flex;
  gap: 16px;
}

.to-timeline-bullet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--to-orange-light);
  color: var(--to-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ----------------------------------------------------
   STORES DIRECTORY & MAP
---------------------------------------------------- */
.to-store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.to-tab-btn {
  background: #ffffff;
  border: 1px solid var(--to-border);
  color: var(--to-dark);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.to-tab-btn:hover {
  border-color: var(--to-orange);
  color: var(--to-orange);
}

.to-tab-btn.active {
  background: var(--to-orange);
  border-color: var(--to-orange);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 122, 24, 0.3);
}

.to-stores-scrollbox {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 8px;
}

.to-stores-scrollbox::-webkit-scrollbar {
  width: 6px;
}

.to-stores-scrollbox::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.to-store-card {
  background: #ffffff;
  border-radius: var(--to-radius);
  border: 1px solid var(--to-border);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.to-store-card:hover,
.to-store-card.active {
  border-color: var(--to-orange);
  box-shadow: var(--to-shadow);
  transform: translateX(4px);
}

.to-store-card-img {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
}

.to-store-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--to-dark);
  margin-bottom: 6px;
}

.to-store-addr {
  font-size: 13px;
  color: var(--to-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.to-store-hours {
  font-size: 12px;
  color: #059669;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

#storesMap {
  width: 100%;
  height: 520px;
  border-radius: var(--to-radius-lg);
  box-shadow: var(--to-shadow);
  border: 1px solid var(--to-border);
}

/* ----------------------------------------------------
   GUARANTEE SECTION
---------------------------------------------------- */
.to-guarantee-card {
  background: #ffffff;
  border-radius: var(--to-radius);
  padding: 30px 24px;
  border: 1px solid var(--to-border);
  box-shadow: var(--to-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.to-guarantee-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--to-shadow);
  border-color: var(--to-orange);
}

.to-guarantee-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--to-orange-light);
  color: var(--to-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.to-guarantee-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.to-guarantee-card p {
  font-size: 14px;
  color: var(--to-text-muted);
  margin: 0;
}

/* ----------------------------------------------------
   PARTNERSHIP ADVANTAGES
---------------------------------------------------- */
.to-adv-card {
  background: #ffffff;
  border-radius: var(--to-radius);
  padding: 28px;
  border: 1px solid var(--to-border);
  box-shadow: var(--to-shadow-sm);
  height: 100%;
  transition: all 0.25s ease;
}

.to-adv-card:hover {
  border-color: var(--to-orange);
  box-shadow: var(--to-shadow);
  transform: translateY(-4px);
}

.to-adv-number {
  font-size: 28px;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--to-font-headings);
}

.to-adv-card:hover .to-adv-number {
  color: var(--to-orange);
}

.to-adv-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--to-dark);
  margin-bottom: 10px;
}

.to-adv-card p {
  font-size: 14px;
  color: var(--to-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------
   APPLICATION FORM (B2B)
---------------------------------------------------- */
.to-form-section {
  background: radial-gradient(circle at 20% 50%, #172339 0%, #0e1626 100%);
  color: #ffffff;
  padding: 85px 0;
}

.to-form-section .to-section-title {
  color: #ffffff;
}

.to-form-section .to-section-desc {
  color: #94a3b8;
}

.to-form-card {
  background: #ffffff;
  color: var(--to-text-dark);
  border-radius: var(--to-radius-lg);
  padding: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.to-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--to-dark);
  margin-bottom: 6px;
}

.to-form-control {
  border: 1px solid var(--to-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 100%;
}

.to-form-control:focus {
  border-color: var(--to-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.15);
}

/* Honeypot field (hidden from real users) */
.to-hp-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ----------------------------------------------------
   CONTACTS SECTION
---------------------------------------------------- */
.to-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.to-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--to-orange-light);
  color: var(--to-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

#showroomMap,
#officeMap {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--to-radius-lg);
  box-shadow: var(--to-shadow);
  border: 1px solid var(--to-border);
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.to-footer {
  background: #080d17;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 14px;
  border-top: 1px solid #1a2538;
}

.to-footer p,
.to-footer .to-footer-desc {
  color: #cbd5e1;
  line-height: 1.6;
}

.to-footer .text-muted {
  color: #94a3b8 !important;
}

.to-footer a {
  color: #94a3b8;
}

.to-footer a:hover {
  color: var(--to-orange);
}

.to-footer h5 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.to-footer-bottom {
  border-top: 1px solid #1a2538;
  margin-top: 40px;
  padding-top: 24px;
  font-size: 13px;
}

/* Back to Top Button */
#backToTopBtn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--to-dark);
  border: 2px solid var(--to-orange);
  color: var(--to-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#backToTopBtn:hover {
  background: var(--to-orange);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ----------------------------------------------------
   TOAST NOTIFICATION
---------------------------------------------------- */
.to-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1080;
}

/* ----------------------------------------------------
   RESPONSIVE TWEAKS
---------------------------------------------------- */
@media (max-width: 991.98px) {
  .to-hero-title {
    font-size: 34px;
  }
  .to-hero {
    padding: 60px 0 50px;
  }
  .to-form-card {
    padding: 24px;
  }
}
