:root {
    --dark: #000000;
    --txt-color: #64748b;
    --white: #ffffff;
    --gray: #F0F3F6;
    --steel :#51585D;
    --yellow: #FFD000;
    --radius:8px;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* ================================================================
   БАЗОВЫЕ / ГЛОБАЛЬНЫЕ СТИЛИ
   ================================================================ */
body {font-family: "Roboto Condensed", sans-serif; font-optical-sizing: auto;}
.box { background: var(--gray); padding: 2rem; }
section a {color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--yellow);}
section a:hover {color: var(--txt-color); border-bottom: 1px solid transparent;}
.btn {background: var(--yellow); color: var(--dark); transition: .5s; padding: .8rem 3rem; font-weight: 700; letter-spacing: .5px;}
.btn:hover {background: var(--dark); color: var(--yellow);}
main {padding-top:0;}
.yellow {background: var(--yellow);}
.gray {background: var(--gray);}
.white {background: var(--white);}
.shadow {background: rgba(0, 0, 0, 0.6); position: absolute; top:0; bottom:0; left:0; right: 0; z-index: 1;}
h1, h2, h3 {font-family: "Rubik", sans-serif; font-optical-sizing: auto;}
.heart {animation: heartbeat 2.5s ease-in-out infinite; width: 100px; transform-origin: center;filter: drop-shadow(0 0 5px rgba(255,208,0, 0.3));}

.header { background: var(--white); border-bottom: 1px solid #e9edf2; box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06); display: flex; align-items: center; height: 80px; position: sticky; top: 0; transition: box-shadow 0.3s; z-index: 1000; }
.header .wr { display: flex; flex-direction: row; align-items: center; justify-content: space-between; }

/* ----- ЛОГОТИП ----- */
.logo {display: flex; flex-shrink: 0; width: 160px;}
.logo span { background: #2563eb; border-radius: 50%; display: inline-block; height: 10px; margin-left: 2px; width: 10px; }
.nav { align-items: center; display: flex; gap: 8px; }
.nav a { border-radius: var(--radius); color: #1e293b; display: inline-block; font-size: 0.95rem; font-weight: 500; padding: 8px 18px; text-decoration: none; transition: all 0.2s ease; white-space: nowrap; }
.nav a:hover { background: #f1f5f9; color: #0f172a; }
.nav .btn { background: #2563eb; border-radius: 40px !important; color: #ffffff !important; font-weight: 600; padding: 10px 28px !important; transition: background 0.2s; }
.nav .btn:hover { background: #1d4ed8 !important; color: #ffffff !important; }

/* ----- КОНТАКТЫ В ШАПКЕ ----- */
.header_contact { align-items: flex-end; display: flex; flex-direction: column; flex-shrink: 0; gap: 2px; }
.header_contact p { line-height: 1.3; margin: 0; }
.header_contact a { color: #0f172a; font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.header_contact a:hover { color: #2563eb; }
.phone a { font-size: 1.05rem; font-weight: 600; }
.mail a { color: #64748b; font-size: 0.85rem; }
.mail a:hover { color: #2563eb; }

/* ================================================================
   ГАМБУРГЕР (МОБИЛЬНОЕ МЕНЮ)
   ================================================================ */
.hamburger { background: transparent; border: none; cursor: pointer; display: none; flex-direction: column; flex-shrink: 0; height: 24px; justify-content: space-between; margin-left: 12px; padding: 0; width: 32px; z-index: 110; }
.hamburger-line { background: #0f172a; border-radius: 4px; display: block; height: 2.5px; transition: all 0.3s ease; transform-origin: center; width: 100%; }
.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ----- МОБИЛЬНОЕ МЕНЮ (OVERLAY) ----- */
.mobile-menu { align-items: center; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 24px; height: 100vh; justify-content: center; left: 0; opacity: 0; padding: 40px 24px; position: fixed; top: 0; transition: opacity 0.35s ease, visibility 0.35s ease; visibility: hidden; width: 100%; z-index: 105; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { border-radius: 40px; color: #0f172a; font-size: 1.5rem; font-weight: 500; padding: 10px 20px; text-decoration: none; transition: background 0.2s; }
.mobile-menu a:hover { background: #f1f5f9; }
.mobile-menu .mobile-btn { background: #2563eb; border-radius: 50px; color: #ffffff !important; font-weight: 600; margin-top: 8px; padding: 14px 44px !important; }
.mobile-menu .mobile-btn:hover { background: #1d4ed8 !important; }

/* ----- МОБИЛЬНЫЕ КОНТАКТЫ ----- */
.mobile-contact { align-items: center; display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.mobile-contact a { color: #0f172a; font-size: 1.1rem; font-weight: 500; padding: 4px 12px; text-decoration: none; }
.mobile-contact .mobile-phone { font-size: 1.3rem; font-weight: 600; }
.mobile-contact .mobile-mail { color: #64748b; font-size: 0.95rem; }

.hero {position: relative; overflow: hidden; color: var(--white); padding:0; min-height: 660px; display: flex; align-items: center; justify-content: space-between;}
.hero__image {position: absolute;inset: 0; z-index: 0;}
.hero__image img {width: 100%;height: 100%;display: block; object-fit: cover;object-position: center;}
.hero .wr {z-index: 2; position: relative;}
.hero .box {background: transparent; z-index: 2; gap:2rem; display: flex; flex-direction: column; align-items: start; }
.hero h1 {font-size: 3.3rem; line-height: 1.2;}
.hero h1 span {border-bottom: 2px solid var(--yellow);}
.hero .subtitle {font-size: 1.2rem; line-height: 1.6;}


.triggers .box {}
.triggers .box img {width: 50%; margin: 1em auto; }
.triggers .box .title {text-align: center; font-size: 1.1em; line-height: 1.1;}

.about {padding: 0; margin-bottom: 3rem;}
.about h2 {text-align: left; line-height: 1.2;}
.about .box {background: transparent; padding: 0;}
.about .box_text {padding: 2rem;}

.tech {}
.tech .box {background: var(--white);}
.tech .box img {margin-bottom: .5em; transition: .5s;}
.tech .box .title {line-height: 1.4;}
.tech .box:hover img {transform: scale(1.1);}

.remont h2 {text-align: left;}
.remont .box {background: #FFDA6B; text-align: center; padding: 1rem;}
.remont .box img {min-width: 64px; max-width: 96px; margin: 1rem auto; transition: .5s;}
.remont .box .title {font-weight: 700;}
.remont .box:hover img {transform: scale(1.1);}

.main_brands .box {text-align: center; font-weight: 700; background: var(--white); padding: 0; overflow: hidden; position: relative;}
.main_brands .box p {padding: 1em;}
.main_brands .box a {}
.main_brands img {padding: 1em; transition: .5s;}
.main_brands .box:hover img {transform: scale(1.1);}
.main_brands .box a:before {display: block; content:''; position: absolute; top:0; left:0; right:0; bottom: 0; z-index: 1;}

.text ul, .text ol {margin: 1em 0 2em;}
.text ul li {list-style-type: square; margin-bottom: .5em;}
.text ul li::before {content: "■"; color: var(--yellow); font-size: 18px;margin-right: 12px;display: inline-block;transition: transform 0.3s ease;}
.text h2, .text h3 {text-align: left;}
.text h2 {margin-bottom: 1rem; margin-top: 2rem; line-height: 1.2;}


.breadcrumbs {background: var(--gray); height: auto; padding: 0; margin: 0;}
.breadcrumbs ul li {display: inline-block; list-style-type: none;padding:.7em 0;}
.breadcrumbs ul li::after {display: inline-block; content: "\f105"; font-family: FontAwesome ;margin: 0 8px;}
.breadcrumbs ul li:last-child::after {display: none;}
.breadcrumbs a {color: var(--steel); border-bottom: none;}

.footer { background: var(--dark); color: var(--txt-color); }
.footer-top {padding: 2rem 0;}
.footer-bottom {padding-bottom: 2rem;}
.footer .title {color:var(--steel); font-size: 1.2em; font-weight: 700; margin-bottom: .9em;}
.footer a {color: var(--txt-color); text-decoration: none; }
.footer a:hover {color: var(--yellow);}
.copy {font-size: 0.9em;}
.copy .wr {border-top: 1px solid var(--txt-color); padding: 1rem 0 .5rem;}

.cookie-banner {position: fixed; bottom: 0; right: 15px; bottom: 15px; width: 65%; font-size: .9em; border-radius: 16px; padding: 1.5rem; background: var(--white); box-shadow: 0px 0px 50px 0px rgba(34, 60, 80, 0.3); color: var(--txt-color); display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap:4em; z-index: 100;}
.cookie-banner a {color: var(--txt-color); border-bottom: 1px solid var(--yellow);}
.cookie-banner a:hover {border-bottom: 1px solid transparent; color: var(--txt-color);}
.cookie-btn {padding: .5em 2rem; background: var(--yellow); color: var(--dark); border-radius: 4px; cursor: pointer; border: none; transition: .5s;}
.cookie-btn:hover {background: var(--dark); color: var(--yellow);}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255,208,0, 0.3));
  }
  14%, 42% {
    transform: scale(1.3);
    filter: drop-shadow(0 0 20px rgba(255,208,0, 0.8));
  }
  28%, 70% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255,208,0, 0.3));
  }
}



/* ================================================================
   АДАПТИВ (ПЛАНШЕТ / МОБИЛКА)
   ================================================================ */
@media (max-width: 900px) {
    .header { height: 68px; }
    .wr { padding: 0 16px; }
    .logo { font-size: 1.4rem; }
    .logo span { height: 8px; width: 8px; }
    .nav { display: none; }
    .header_contact { display: none; }
    .hamburger { display: flex; }
    .cookie-banner {width: auto; gap:1em; flex-direction: column; right: 15px; left: 15px; bottom: 15px;}
    .cookie-btn {padding: .5em 4rem;}
}

@media (max-width: 680px) {
.header { height: 60px; }
section {padding: 1rem 0;}
section h2 {font-size: 1.5rem;}
.breadcrumbs {overflow-x: auto; overflow-y: hidden;  white-space: nowrap; -webkit-overflow-scrolling: touch;   scrollbar-width: thin; }
.breadcrumbs::-webkit-scrollbar {height: 4px; background-color: #f0f0f0;}
.breadcrumbs::-webkit-scrollbar-thumb {background-color: #c0c0c0;border-radius: 4px;}
.breadcrumbs ul {display: flex;  flex-wrap: nowrap; padding: 10px 0;          /* Отступы для воздуха */ margin: 0; list-style: none;align-items: center;}
.breadcrumbs ul li {flex-shrink: 0;  white-space: nowrap;  display: inline-flex; align-items: center;}
.breadcrumbs ul li::after {content: "/";margin-left: 8px;flex-shrink: 0;}
.breadcrumbs ul li:last-child::after {content: "";display: none;}
.hero {min-height: auto;}
.hero .box {align-items:center; text-align: center; padding: 2rem 1rem;}
.hero h1 {font-size: 2rem;}
.hero .subtitle {font-size: 1rem;}
.mobile-menu a { font-size: 1.3rem; }
.mobile-contact .mobile-phone { font-size: 1.1rem; }

}





/* ================================================================
   КНОПКИ-ТРИГГЕРЫ (ДЛЯ МОДАЛЬНЫХ ОКОН)
   ================================================================ */
.trigger-grid { display: flex; flex-wrap: wrap; gap: 16px; max-width: 800px; margin: 0 auto 40px; justify-content: center; }
.trigger-btn { padding: 14px 32px; border: none; border-radius: 12px; background: #2563eb; color: white; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); }
.trigger-btn:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35); }
.trigger-btn.secondary { background: #7c3aed; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25); }
.trigger-btn.secondary:hover { background: #6d28d9; box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35); }
.trigger-btn.success { background: #059669; box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25); }
.trigger-btn.success:hover { background: #047857; box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35); }

/* ================================================================
   МОДАЛЬНЫЕ ОКНА (OVERLAY)
   ================================================================ */
.modal-overlay_f7x3 { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; padding: 20px; }
.modal-overlay_f7x3.active_k9p2 { opacity: 1; visibility: visible; }

/* ----- КОНТЕЙНЕР МОДАЛКИ ----- */
.modal-container_h4m8 { background: #ffffff; border-radius: 24px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 40px 44px 36px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16); transform: scale(0.92) translateY(20px); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease; opacity: 0; position: relative; }
.modal-overlay_f7x3.active_k9p2 .modal-container_h4m8 { transform: scale(1) translateY(0); opacity: 1; }

/* ----- КНОПКА ЗАКРЫТИЯ (КРЕСТИК) ----- */
.modal-close_btn6 { position: absolute; top: 16px; right: 20px; background: transparent; border: none; width: 40px; height: 40px; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; font-size: 1.6rem; color: #64748b; line-height: 1; }
.modal-close_btn6:hover { background: #f1f5f9; color: #0f172a; }

/* ----- ЗАГОЛОВОК ----- */
.modal-title_g5r1 { font-size: 1.8rem; font-weight: 700; color: #0b1a33; margin-bottom: 8px; padding-right: 32px; }
.modal-subtitle_j9k4 { font-size: 1rem; color: #64748b; margin-bottom: 24px; line-height: 1.5; }

/* ----- ТЕЛО МОДАЛКИ (КОНТЕНТ) ----- */
.modal-body_q2w7 { color: #334155; line-height: 1.6; }
.modal-body_q2w7 p { margin-bottom: 16px; }
.modal-body_q2w7 p:last-child { margin-bottom: 0; }

/* ----- КНОПКИ ВНУТРИ МОДАЛКИ ----- */
.modal-actions_d8f0 { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #e9edf2; }
.modal-action-btn_h6t3 { padding: 12px 28px; border: none; border-radius: 40px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; }
.modal-action-btn_h6t3.primary_x2k9 { background: #2563eb; color: white; }
.modal-action-btn_h6t3.primary_x2k9:hover { background: #1d4ed8; }
.modal-action-btn_h6t3.secondary_h8w4 { background: #f1f5f9; color: #1e293b; }
.modal-action-btn_h6t3.secondary_h8w4:hover { background: #e2e8f0; }
.modal-action-btn_h6t3.danger_z9m1 { background: #ef4444; color: white; }
.modal-action-btn_h6t3.danger_z9m1:hover { background: #dc2626; }

/* ----- ИКОНКИ ДЛЯ РАЗНЫХ ТИПОВ МОДАЛОК ----- */
.modal-icon_p3l6 { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; font-size: 2rem; margin-bottom: 16px; }
.modal-icon_p3l6.info_x7b2 { background: #dbeafe; color: #2563eb; }
.modal-icon_p3l6.warning_p4v9 { background: #fef3c7; color: #d97706; }
.modal-icon_p3l6.success_d8r2 { background: #d1fae5; color: #059669; }
.modal-icon_p3l6.danger_t3n7 { background: #fee2e2; color: #dc2626; }

/* ================================================================
   АДАПТИВ МОДАЛЬНЫХ ОКОН
   ================================================================ */
@media (max-width: 640px) {
    .modal-container_h4m8 { padding: 28px 24px 28px; border-radius: 20px; max-width: 100%; margin: 10px; }
    .modal-title_g5r1 { font-size: 1.4rem; padding-right: 28px; }
    .modal-actions_d8f0 { flex-direction: column; }
    .modal-action-btn_h6t3 { width: 100%; text-align: center; justify-content: center; }
    .trigger-btn { padding: 12px 24px; font-size: 0.9rem; }
}

@media (max-width: 400px) {
    .modal-container_h4m8 { padding: 20px 16px 24px; }
    .modal-close_btn6 { top: 10px; right: 12px; width: 34px; height: 34px; font-size: 1.4rem; }
}

/* ================================================================
   СКРОЛЛ ВНУТРИ МОДАЛКИ (WebKit)
   ================================================================ */
.modal-container_h4m8::-webkit-scrollbar { width: 4px; }
.modal-container_h4m8::-webkit-scrollbar-track { background: transparent; }
.modal-container_h4m8::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }