:root {
  --white: #FDFBFB;
  --gray: #766F6F;
  --orange-start: #F5A035;
  --orange-end: #DC6D1B;
  --blue-text: #27313A;
  --footer-start: #404A54;
  --footer-end: #0B161E;
  --font-title: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
}

.container, body { font-family: var(--font-text); }

.brand-logo, .footer-logo { width: 200px; height: 50px; object-fit: contain; }

.brand-text-main { color: var(--blue-text); font-weight: 700; }
.brand-text-main strong { font-weight: 800; }
.brand-24 { color: var(--orange-end); font-weight: 800; }

.btn-cta {
  background: linear-gradient(180deg, var(--orange-start), var(--orange-end));
  color: #fff;
  border: 0;
  border-radius: 16px;
  padding: 10px 24px;
  font-weight: 700; /* Inter bold */
  font-size: 15px; /* desktop guideline */
}
.btn-cta:hover { filter: brightness(1.05); color:#fff; }

.navbar-toggler { border-color: rgba(0,0,0,.2); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

.dropdown-menu-services { left: 0; right: auto; top: calc(100% + 2px); width: auto; min-width: 320px; max-width: 420px; z-index: 1050; border: 0; margin-top: 0; }
.services-card { background: linear-gradient(180deg, var(--orange-start), var(--orange-end)); border-radius: 16px; box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.dropdown-menu-services .container { max-width: 420px; padding-left: 16px; padding-right: 16px; }
.dropdown-menu-services .row { display: block; }
.dropdown-menu-services .row > [class^="col-"],
.dropdown-menu-services .row > [class*=" col-"] { width: 100%; max-width: 100%; }
.dropdown-menu-services h6 { font-size: 15px; font-weight: 700; }
.dropdown-menu-services a { font-size: 15px; font-weight: 700; }
.nav-item.dropdown:hover > .dropdown-menu { display: block; }

.site-footer { background: transparent; }
.site-footer .footer-brand { font-weight: 600; }
.site-footer .footer-links li { margin-right: 28px; }
.site-footer .footer-links a { color: rgba(255,255,255,.5); }
.site-footer .footer-links a:hover { color: #ffffff; }

/* Footer layout */
.footer-top { background: #fff; }
.footer-headline { color: var(--blue-text); font-size: 1.25rem; }
.footer-dark { background: linear-gradient(180deg, var(--footer-start), var(--footer-end)); }

/* Social icons */
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; color: #fff;
  text-decoration: none;
}
.social-icon i { font-size: 1.4rem; }
.social-wa { background: #25D366; }
.social-tg { background: #229ED9; }
.social-max { background: #7C4DFF; }
.social-max-img, .callback-fab-max-img { display: block; object-fit: contain; }
.social-icon:hover { filter: brightness(1.05); color: #fff; }

@media (max-width: 575.98px) {
  .brand-text-main { font-size: 0.95rem; }
  .footer-headline { font-size: 1.1rem; }
  .brand-logo, .footer-logo { width: 150px; height: 40px; }
  .dropdown-menu-services h6 { font-size: 12px; }
  .dropdown-menu-services a { font-size: 10px; }
}

/* Hero (РіР»Р°РІРЅС‹Р№ Р±Р°РЅРЅРµСЂ) */
.hero-banner {
  min-height: 360px;
  background-size: cover;
  background-position: center;

}
.hero-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 48%, rgba(255,255,255,0) 100%);
  z-index: 0;
}
.hero-banner::after {
  content: "";
  position: absolute; inset: 0;
  
  z-index: 1;
}
.hero-title { color: var(--blue-text); }
.hero-title { font-family: var(--font-title); font-weight: 700; font-size: 35px; line-height: 1.2; }
.hero-subtitle { color: var(--gray); max-width: 48ch; font-family: var(--font-text); font-size: 25px; }
.hero-content .btn-cta { display: inline-block; }
.hero-truck { 
  position: absolute; right: 0; bottom: -10px; 
  width: min(50vw, 680px); max-width: 100%; height: auto; 
  z-index: 2; pointer-events: none;
}

@media (max-width: 991.98px) {
  .hero-truck { width: min(60vw, 520px); }
}

@media (max-width: 767.98px) {
  .hero-banner { min-height: 520px; }
  .hero-banner::before { 
    background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.8) 55%, rgba(255,255,255,0) 100%);
  }
  .hero-truck { right: 50%; transform: translateX(50%); width: 92%; bottom: -20px; }
  .hero-title { font-size: 20px; }
  .hero-subtitle { font-size: 15px; }
  .btn-cta { font-size: 15px; }
  .hero-content { text-align: center; }
}

/* Features block */
.features { }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { width: 60px; height: 60px; flex: 0 0 60px; }
.feature-title { font-family: var(--font-text); font-weight: 700; font-size: 25px; color: var(--blue-text); margin-bottom: 6px; }
.feature-text { font-family: var(--font-text); font-weight: 400; font-size: 15px; color: var(--gray); margin: 0; }

@media (min-width: 768px) {
  .features .col-md-4 + .col-md-4 { position: relative; }
  .features .col-md-4 + .col-md-4::before {
    content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--orange-start), var(--orange-end)); opacity: .7;
  }
}

@media (max-width: 767.98px) {
  .feature { margin-bottom: 20px; }
  .feature-title { font-size: 15px; }
  .feature-text { font-size: 10px; }
}

/* Categories grid */
.category-tile { aspect-ratio: 1 / 1; min-height: 320px; }
.category-tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover; background-position: center;
  filter: blur(6px);
  transform: scale(1.06); /* compensate blur crop */
}
.category-overlay { z-index: 1; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.35), rgba(0,0,0,.45)); }
.service-cats h3 { font-size: 25px; }

@media (max-width: 767.98px) {
  .category-tile { min-height: 360px; }
  .service-cats h3 { font-size: 20px; }
}

/* Portfolio grid */
.portfolio-grid .portfolio-thumb { aspect-ratio: 4 / 3; background: #f1f1f1; }
.portfolio-grid .portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; display:block; }
.portfolio-grid a:hover .portfolio-thumb img { transform: scale(1.02); }
.portfolio-grid .small { color: var(--blue-text); }

/* Services page tiles */
.service-tile { position: relative; aspect-ratio: 4 / 3; min-height: 320px; }
.service-tile::before { content:""; position:absolute; inset:0; background-image: var(--bg); background-size: cover; background-position:center; filter: blur(6px); transform: scale(1.06); z-index: 0; }
.service-panel { position: absolute; left: 0; bottom: 0; width: 62%; background: #F7D7B7; z-index: 1; }
@media (max-width: 991.98px) { .service-panel { width: 75%; } }
@media (max-width: 575.98px) { .service-panel { position: static; width: 100%; } }

/* Services page: stacked card variant */
.service-card { background: #fff; border-radius: 12px; overflow: hidden; }
.service-thumb { width: 100%; aspect-ratio: 4 / 3; min-height: 220px; background-image: var(--bg); background-size: cover; background-position:center; filter: blur(6px); transform: scale(1.02); }
.service-panel--static { position: static; width: 100%; background: #F7D7B7; }

/* Typography for service tiles */
.service-panel h5 { margin: 0 0 10px 0; font-family: var(--font-title); font-weight: 700; font-size: 18px; line-height: 1.2; color: var(--blue-text); }
.service-panel ul { margin: 0 0 12px 0; padding: 0; font-family: var(--font-text); font-size: 14px; line-height: 1.4; color: var(--blue-text); }
.service-panel ul li { margin: 0 0 6px 0; }
.service-panel .service-link { color: var(--blue-text); text-decoration: none; }
.service-panel .service-link:hover { text-decoration: underline; }
.service-panel a.btn { font-weight: 700; }

/* Equipment we move */
.equip-wrap { position: relative; }
.equip-ill-left { position: absolute; left: -24px; bottom: -14px; width: 220px; pointer-events: none; z-index: 3; }
.equip-ill-right { position: absolute; right: -24px; bottom: -18px; width: 300px; pointer-events: none; z-index: 3; }
.equip-what-we-move .equip-table { width: 100%; }
.equip-what-we-move .equip-row { display: grid; grid-template-columns: 1fr 1fr; }
.equip-what-we-move .equip-row > div { padding: 12px 20px; font-family: var(--font-text); font-size: 16px; color: var(--blue-text); text-align: center; }
.equip-what-we-move .equip-row > div:first-child { padding-left: 240px; }
.equip-what-we-move .equip-row > div:last-child { padding-right: 320px; }
.equip-what-we-move .equip-row:nth-child(odd) { background: #FDE9D3; }
.equip-what-we-move .equip-row:nth-child(even) { background: #F7D7B7; }
/* РЈР±РёСЂР°РµРј РєР°СЂС‚РёРЅРєРё СЂР°РЅСЊС€Рµ (РґРѕ 1200px) Рё РІРѕР·РІСЂР°С‰Р°РµРј РѕС‚СЃС‚СѓРїС‹ */
@media (max-width: 1199.98px) {
  /* РЎРєСЂС‹РІР°РµРј РёР»Р»СЋСЃС‚СЂР°С†РёРё Рё РѕСЃС‚Р°РІР»СЏРµРј РѕР±С‹С‡РЅСѓСЋ С‚Р°Р±Р»РёС†Сѓ 2 СЃС‚РѕР»Р±С†Р° */
  .equip-ill-left, .equip-ill-right { display: none; }
  .equip-what-we-move .equip-row { grid-template-columns: 1fr 1fr; }
  .equip-what-we-move .equip-row > div { padding: 12px 16px; text-align: left; }
  .equip-what-we-move .equip-row > div:first-child { padding-left: 16px; }
  .equip-what-we-move .equip-row > div:last-child { padding-right: 16px; }
}
.equip-what-we-move .equip-table { width: 100%; max-width: none; margin: 0 auto; border-radius: 10px; overflow: hidden; position: relative; z-index: 1; padding-right: 0; }
.equip-what-we-move .equip-row > div:last-child { padding-right: 360px; }
.equip-what-we-move .equip-row { display: grid; grid-template-columns: 1fr 1fr; }
.equip-what-we-move .equip-row > div { padding: 12px 20px; font-family: var(--font-text); font-size: 16px; color: var(--blue-text); }
.equip-what-we-move .equip-row:nth-child(odd) { background: #FDE9D3; }
.equip-what-we-move .equip-row:nth-child(even) { background: #F7D7B7; }
.equip-grid { position: relative; }
.equip-ill-left { position: absolute; left: -40px; top: -20px; width: 220px; max-width: 28%; pointer-events: none; z-index: 3; }
.equip-ill-right { position: absolute; right: -20px; top: -40px; width: 280px; max-width: 32%; pointer-events: none; z-index: 3; }
@media (max-width: 991.98px) {
  .equip-ill-left, .equip-ill-right { width: 180px; }
}
@media (max-width: 767.98px) {
  .equip-ill-left, .equip-ill-right { display: none !important; }
  .equip-what-we-move .equip-row > div { padding: 10px 14px; font-size: 15px; }
  .equip-what-we-move .equip-row > div:last-child { padding-right: 0; }
}

/* Steps (РљР°Рє РјС‹ СЂР°Р±РѕС‚Р°РµРј) */
.steps-row { gap: 18px; }
/* Р¦РµРЅС‚СЂРёСЂСѓРµРј СЃС‚СЂРµР»РєРё РІРµСЂС‚РёРєР°Р»СЊРЅРѕ РѕС‚РЅРѕСЃРёС‚РµР»СЊРЅРѕ СЂСЏРґР° (РїРµСЂРµР±РёРІР°РµРј .align-items-start РёР· Bootstrap) */
.steps .steps-row { align-items: center !important; }
.step-item .step-icon { width: 72px; height: 72px; object-fit: contain; }
.step-text { color: var(--blue-text); font-family: var(--font-text); font-size: 15px; }
.step-arrow { width: 36px; height: 36px; border-radius: 50%; display:flex; align-items:center; justify-content:center; color: var(--orange-end); border: 2px solid var(--orange-end); font-weight:700; }

@media (max-width: 767.98px) {
  .step-item .step-icon { width: 60px; height: 60px; }
  .step-text { font-size: 12px; }
}

/* Testimonials */
.testimonial-card { background: #FDE9D3; }
.testimonial-card .bi-star-fill { color: var(--orange-end); margin-right: 2px; }
.testimonial-text { color: var(--blue-text); }

/* Estimate form */
.estimate-card { background: linear-gradient(180deg, #FAD4A9, #F6C48B); overflow: hidden; }
.estimate .estimate-card { padding-top: 20px !important; padding-bottom: 20px !important; }
.estimate-input { border: 0; border-radius: 16px; }
.estimate-img { width: 100%; height: auto; max-width: 360px; }
@media (max-width: 991.98px) { .estimate-img { display: none; } }

/* Pricing block */
.pricing-card { background: #ffffff; border: none; border-radius: 8px; overflow: visible; }
.pricing-rows { background: transparent; border-radius: 0; overflow: visible; position: relative; z-index: 0; margin: 0; }
.pricing-rows::before { content: ""; position: absolute; left: 340px; right: 0; top: 0; bottom: 0; background: #EAEAEA; z-index: 0; }
.pricing-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 24px 18px 340px; font-family: var(--font-text); font-size: 15px; color: var(--blue-text); line-height: 1.4; }
.pricing-row:nth-child(odd) { background: #F7D7B7; }
.pricing-row:nth-child(even) { background: #FDE9D3; }
.pricing-crane { position: absolute; left: -20px; bottom: -12px; width: 420px; max-width: 45%; pointer-events:none; z-index: 3; }

@media (max-width: 767.98px) {
  .pricing-rows::before { display: none; }
  .pricing-row { grid-template-columns: 1fr; text-align: center; padding-left: 24px; }
  .pricing-crane { display: none; }
}

/* About page */
.about-pane { background: #FDE9D3; }
.equipment-card { background: #FDE9D3; }

/* Tariffs */
.tariff-table thead th { background: #F7D7B7; border-bottom: 0; }
.tariff-table tbody tr:nth-child(odd) td { background: #FDE9D3; }
.tariff-table tbody tr:nth-child(even) td { background: #F7D7B7; }
.tariff-table th, .tariff-table td { border-color: transparent; }

/* Service/category detail */
.service-illustration { max-width: 520px; }
@media (max-width: 575.98px) { .service-illustration { max-width: 100%; } }

.about-tabs .nav-tabs { border-bottom: 0; }
.about-tabs .nav-link { color: var(--blue-text); font-weight: 600; border: 0; }
.about-tabs .nav-link.active { background: #FDE9D3; border-radius: 14px 14px 0 0; }
.about-pane { background: #FDE9D3; border-radius: 14px; margin-top: 0; padding: 24px !important; }
.about-pane p { margin-bottom: 1.25rem; }
.about-pane .table { background: transparent; }
.about-pane .table > :not(caption) > * > * { background-color: transparent !important; }
.about-pane .table td, .about-pane .table th { border-color: rgba(0,0,0,.1); }
.about-photos { position: relative; min-height: 340px; }
.about-photo-main { position: absolute; top: 8px; right: 8px; width: 60%; border-radius: 12px; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.about-photo-small { position: absolute; bottom: 8px; left: 12%; width: 45%; border-radius: 12px; box-shadow: 0 6px 14px rgba(0,0,0,.18); }
@media (max-width: 991.98px) {
  /* РќР° Р°РґР°РїС‚РёРІРµ С„РѕС‚Рѕ РІ Р±Р»РѕРєРµ "Рћ РєРѕРјРїР°РЅРёРё" СЃРєСЂС‹РІР°РµРј */
  .about-photos { display: none; }
}


@media (max-width: 1199.98px) {
  /* Скрываем иллюстрации и оставляем обычную таблицу 2 столбца */
  .equip-ill-left, .equip-ill-right { display: none; }
  .equip-what-we-move .equip-row { grid-template-columns: 1fr 1fr; }
  .equip-what-we-move .equip-row > div { padding: 12px 16px; text-align: left; }
  .equip-what-we-move .equip-row > div:first-child { padding-left: 16px; }
  .equip-what-we-move .equip-row > div:last-child { padding-right: 16px; }
}

/* Portfolio gallery (service page) */
.object-fit-cover { object-fit: cover; }
.portfolio-gallery .carousel { max-width: 960px; margin: 0 auto; }
.portfolio-gallery .portfolio-ratio { --bs-aspect-ratio: 42%; }
.portfolio-gallery .carousel-indicators { margin-top: 10px; }
.portfolio-gallery .carousel-indicators { position: static; margin-top: 10px; }
.portfolio-gallery .carousel-indicators [data-bs-target] {
  width: 26px; height: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--orange-start), var(--orange-end));
  opacity: .35;
}
.portfolio-gallery .carousel-indicators .active {
  opacity: 1;
}
.portfolio-gallery .carousel-control-prev-icon,
.portfolio-gallery .carousel-control-next-icon {
  filter: invert(58%) sepia(55%) saturate(726%) hue-rotate(347deg) brightness(96%) contrast(95%);
}
@media (max-width: 575.98px) {
  .portfolio-gallery .carousel { max-width: 100%; }
  .portfolio-gallery .portfolio-ratio { --bs-aspect-ratio: 48%; }
}

/* Contacts */
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-icon { width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain; filter: hue-rotate(350deg) saturate(120%) brightness(1); }
.contact-text { font-family: var(--font-text); color: var(--blue-text); }
/* Modal orange styling */
.modal-orange .modal-content { background: linear-gradient(180deg, #F7D7B7, #FDE9D3); border: 0; border-radius: 16px; }
.modal-orange .modal-body { padding: 0; }
.modal-orange .modal-header { border: 0; padding: 0; position: absolute; right: 8px; top: 8px; z-index: 10; background: transparent; }
.modal-orange .btn-close { filter: invert(1); opacity: .8; }
/* Убираем отступы и фон у внутренней карточки формы внутри модалки */
.modal-orange #estimate { margin: 0 !important; }
.modal-orange .estimate-card { padding: 0 !important; background: transparent !important; box-shadow: none; }
.modal-orange .estimate-card .row { margin-left: 0; margin-right: 0; }
.modal-orange .estimate-card [class^="col-"],
.modal-orange .estimate-card [class*=" col-"] { padding-left: 12px; padding-right: 12px; }

/* Floating callback buttons (callback + messengers) */
.callback-fab {
  position: fixed;
  right: 18px;
  bottom: 80px;
  z-index: 1080;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callback-fab-circle,
.callback-fab-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.callback-fab-circle {
  background: linear-gradient(180deg, var(--orange-start), var(--orange-end));
  color: #fff;
  border: 0;
}

.callback-fab-circle i,
.callback-fab-icon i {
  font-size: 1.4rem;
}

@media (max-width: 575.98px) {
  .callback-fab {
    right: 12px;
    bottom: 70px;
  }

  .callback-fab-circle,
  .callback-fab-icon {
    width: 52px;
    height: 52px;
  }
}
