:root {
  --brand-blue: #2962ed;
  --brand-green: #13a34c;
  --bg-start: #eff9fb;
  --bg-end: #ffffff;
  --text-dark: #1e293b;
  --white: #ffffff;
  
  --section-padding-desktop: 60px 5%;
  --section-padding-mobile: 40px 5%;
  
  --promo-height: 40px;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif !important;
  background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%) !important;
  color: var(--text-dark) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

h1,h2,h3,h4,h5 { 
  font-family: 'Montserrat', sans-serif !important; 
  font-weight: 700 !important; 
  line-height: 1.2 !important; 
  color: #0f172a !important;
}

a { text-decoration: none !important; color: inherit !important; }

/* --- ПРОМО-ПОЛОСКА --- */
.promo-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--promo-height);
    background: #0f172a;
    color: white;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0 10px;
    text-align: center;
}
.promo-bar strong {
    color: #14be5c;
    margin-left: 5px;
    font-weight: 700;
}

/* --- ГЛОБАЛЬНЫЕ ОТСТУПЫ --- */
section { 
    padding: var(--section-padding-desktop) !important;
    scroll-margin-top: 150px !important; 
}

/* --- АНИМАЦИИ --- */
@keyframes vibrate-strong {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-2px, 0px); }
  80% { transform: translate(2px, 2px); }
  100% { transform: translate(0); }
}

@keyframes fadeInFast {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-shadow-only {
  0% { box-shadow: 0 0 0 0 rgba(41, 98, 237, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(41, 98, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 98, 237, 0); }
}

/* --- КНОПКА НАВЕРХ --- */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2147483647;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #2962ed 0%, #13a34c 100%);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
#scrollTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- HEADER --- */
header {
  position: fixed;
  top: var(--promo-height) !important;
  left:0; right:0;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  z-index: 9999 !important;
  padding: 0.5rem 5% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
  min-height: 80px !important;
}

.logo { 
  font-weight: 700; 
  font-size: 1.6rem; 
  color: var(--brand-blue) !important;
  display: flex;
  align-items: center; 
  z-index: 10001; 
}

.header-logo-img { height: 55px; width: auto; margin-right: 15px; object-fit: contain; }
.logo span { color: var(--brand-green) !important; }

/* MENU */
.nav-menu { display: flex; gap: 30px; }
.nav-link {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    color: var(--text-dark) !important;
    transition: color 0.3s;
}
.nav-link:hover { color: var(--brand-blue) !important; }

.hamburger {
    display: none; 
    font-size: 1.8rem;
    color: var(--brand-blue);
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out; 
}
.hamburger.active { transform: rotate(90deg); color: var(--brand-green); }

.header-contact-wrapper { display: flex; flex-direction: column; align-items: flex-end; }
.phone-header { font-weight: 600; font-size: 1.2rem; color: var(--brand-blue) !important; display: flex; align-items: center; z-index: 10001; }
.phone-header i { 
    margin-right: 8px; font-size: 1.2rem; background: linear-gradient(135deg, #2962ed 0%, #13a34c 100%); 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: #13a34c; display: inline-block; animation: vibrate-strong 2s linear infinite both; animation-delay: 1s; 
}
.work-hours { font-size: 0.75rem; color: #666; margin-top: 2px; font-weight: 600; white-space: nowrap; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 190px 5% 80px 5% !important; 
  color: var(--white) !important;
  background: url('https://images.unsplash.com/photo-1581578731548-5f6f6d10b981?ixlib=rb-4.0.3&auto=format&fit=crop&q=80') center/cover no-repeat !important;
  scroll-margin-top: 0 !important; 
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(41, 98, 237, 0.85), rgba(19, 163, 76, 0.8)); z-index: 1; }
.hero > div { position: relative; z-index: 2; }
.hero h1 { font-size: 3.2rem !important; margin-bottom: 2.5rem !important; color: var(--white) !important; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero-intro { display: flex; align-items: center; justify-content: center; max-width: 800px; margin: 0 auto 1.5rem; text-align: left; }
.hero-team-img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, 0.9); box-shadow: 0 4px 20px rgba(0,0,0,0.2); margin-right: 25px; flex-shrink: 0; background: #fff; }
.hero-intro p { font-size: 1.3rem !important; color: #f1f5f9 !important; font-weight: 500; margin: 0; }

/* --- КНОПКИ --- */
.btn-primary {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  background: linear-gradient(90deg, #2962ed 0%, #13a34c 100%) !important;
  color: white !important; padding: 18px 45px !important; min-width: 280px !important; border-radius: 50px !important;
  font-family: 'Montserrat', sans-serif !important; font-weight: 700 !important; font-size: 1.15rem !important;
  border: none !important; cursor: pointer !important;
  box-shadow: 0 10px 20px rgba(41, 98, 237, 0.3) !important;
  transition: background 0.3s, box-shadow 0.3s !important; outline: none !important;
  animation: pulse-shadow-only 2s infinite !important;
}
.btn-primary i { margin-right: 10px; }
.btn-primary:hover { transform: translateY(-3px) !important; transition: transform 0.2s ease !important; animation: none !important; box-shadow: 0 15px 30px rgba(19, 163, 76, 0.4) !important; }
.btn-primary:active { transform: scale(0.98) !important; }

/* --- ВТОРИЧНЫЕ КНОПКИ (SMS/WhatsApp) --- */
.secondary-contact-links { display: flex; justify-content: center; gap: 15px; margin-top: 20px; padding-bottom: 20px; }
.social-contact-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 15px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; color: var(--white) !important; background: var(--text-dark); transition: all 0.3s ease; outline: none !important; text-decoration: none !important; }
.social-contact-btn:hover { background: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.social-contact-btn i { margin-right: 5px; font-size: 1.1rem; color: var(--brand-green); }

/* --- OFFERS & SPECIALS (NEW BLOCK) --- */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.offer-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-color: var(--brand-green);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #2962ed 0%, #13a34c 100%);
}

.offer-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2962ed 0%, #13a34c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offer-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.offer-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.offer-highlight { color: var(--brand-green); font-weight: 700; }
.offer-disclaimer { margin-top: 2.5rem; font-size: 0.85rem; color: #888; text-align: center; background: #f8fafc; padding: 10px; border-radius: 8px; display: inline-block; width: 100%; }

/* --- SERVICES --- */
.section-title { text-align: center; font-size: 2.5rem !important; color: #0f172a !important; margin-bottom: 1rem !important; }
.section-subtitle { text-align: center; font-size: 1.2rem !important; color: #555 !important; max-width: 700px; margin: 0 auto 3.5rem auto !important; line-height: 1.6 !important; }
.grid { max-width: 1400px; margin: 0 auto; }
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.service-card { background: var(--white) !important; padding: 2.5rem 2rem !important; border-radius: 16px !important; box-shadow: 0 10px 40px rgba(0,0,0,0.06) !important; text-align: center !important; flex: 1 1 250px; max-width: 320px; border: 1px solid rgba(255,255,255,0.5); display: flex !important; flex-direction: column !important; justify-content: flex-start !important; }
.service-card i { font-size: 3.5rem !important; margin-bottom: 1.5rem !important; background: linear-gradient(135deg, #2962ed 0%, #13a34c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: #13a34c; display: inline-block; }
.service-card h3 { margin-bottom: 0.5rem; color: #0f172a !important; }
.service-price { display: block; margin-top: auto !important; padding-top: 15px; font-weight: 700; color: var(--brand-green); font-size: 1.15rem; font-family: 'Montserrat', sans-serif; }

/* --- TABS --- */
.tabs-container { max-width: 1100px; margin: 0 auto; }
.tabs-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 3rem; overflow-x: auto; padding: 10px 10px 20px 10px !important; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { background: white; border: 2px solid #e2e8f0 !important; border-radius: 50px; padding: 12px 30px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem; color: #555; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; flex-shrink: 0; outline: none !important; -webkit-tap-highlight-color: transparent; }
.tab-btn.active { border: none !important; padding: 14px 32px !important; background: linear-gradient(90deg, #2962ed 0%, #13a34c 100%) !important; color: white !important; box-shadow: 0 5px 15px rgba(41, 98, 237, 0.3) !important; }
.tab-content { display: none; }
.tab-content.active { display: flex; align-items: flex-start; gap: 4rem; background: white; border-radius: 24px; padding: 2.5rem; box-shadow: 0 10px 40px rgba(0,0,0,0.05); animation: fadeInFast 0.3s ease; }
.tab-graphic-container { flex: 0 0 45%; height: 450px; border-radius: 16px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); background: linear-gradient(135deg, #f0f7ff 0%, #e6fff0 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.graphic-icon { font-size: 7rem; background: linear-gradient(135deg, #2962ed 0%, #13a34c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 6px rgba(41, 98, 237, 0.2)); margin: 0 10px; z-index: 2; }
.graphic-icon.secondary { font-size: 5rem; opacity: 0.8; }
.graphic-bg-circle { position: absolute; width: 300px; height: 300px; background: linear-gradient(135deg, rgba(41, 98, 237, 0.1), rgba(19, 163, 76, 0.1)); border-radius: 50%; z-index: 1; }
.tab-text { flex: 1; padding-top: 10px; }
.tab-text h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: #0f172a; line-height: 1.2; }
.tab-subtitle { color: var(--brand-blue); font-weight: 600; margin-bottom: 1.5rem; display: block; }
.tab-list { list-style: none; padding: 0; }
.tab-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #444; }
.tab-list li i { position: absolute; left: 0; top: 4px; color: var(--brand-green); }

/* --- ADD-ONS --- */
.addons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.addon-card { background: var(--white); padding: 1.5rem; border-radius: 12px; border: 1px solid #eee; text-align: center; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.addon-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.08); border-color: var(--brand-blue); }
.addon-icon { font-size: 2rem; margin-bottom: 1rem; }
.addon-icon i { background: linear-gradient(135deg, #2962ed 0%, #13a34c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: #13a34c; display: inline-block; }
.addon-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; color: #0f172a; margin-bottom: 0.5rem; }
.addon-desc { font-size: 0.9rem; color: #666; line-height: 1.4; }

/* --- ГАРАНТИЯ --- */
.guarantee-box {
    background: linear-gradient(135deg, rgba(41, 98, 237, 0.1), rgba(19, 163, 76, 0.1));
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 50px;
    border: 2px solid var(--brand-green);
}
.guarantee-box h3 {
    color: var(--brand-blue);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guarantee-box h3 i { color: var(--brand-green); margin-right: 15px; font-size: 2rem; }

/* --- AREAS SERVED (NEW) --- */
.areas-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    text-align: left;
}
.area-column {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #eee;
}
.area-column h3 {
    color: var(--brand-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--brand-green);
    padding-bottom: 10px;
    display: inline-block;
}
.area-list {
    list-style: none;
    padding: 0;
}
.area-list li {
    padding: 6px 0;
    color: #555;
    display: flex;
    align-items: center;
    font-weight: 500;
}
.area-list li i {
    color: var(--brand-green);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* --- ABOUT --- */
.about { background: var(--white) !important; border-radius: 24px !important; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.08) !important; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.about img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.about-text { padding: 4rem 3rem !important; }
.about-description { margin-bottom: 1.5rem !important; display: block; }
.about-list { list-style: none !important; padding-left: 0 !important; margin-top: 0 !important; margin-bottom: 2.5rem !important; }
.about-list li { display: flex; align-items: flex-start; margin-bottom: 1rem; text-align: left; line-height: 1.5; }
.check-icon { background: linear-gradient(135deg, #2962ed 0%, #13a34c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: #13a34c; min-width: 30px; margin-right: 0; font-size: 1.3rem; padding-top: 3px; }

/* --- TESTIMONIALS --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial { background: var(--white) !important; padding: 2.5rem; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.stars { color: #fbbf24; font-size: 1.4rem; margin-bottom: 1rem; }

/* --- FAQ --- */
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 12px; margin-bottom: 1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #eee; overflow: hidden; }
.faq-question { padding: 1.5rem 2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text-dark); transition: background 0.3s; }
.faq-question:hover { background: #fdfdfd; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fcfcfc; }
.faq-answer-inner { padding: 0 2rem 2rem 2rem; color: #555; line-height: 1.7; }
.faq-icon { font-size: 1.2rem; color: var(--brand-blue); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--brand-green); }
.faq-item.active .faq-answer { max-height: 1000px; transition: max-height 0.5s ease-in; }
.faq-answer-inner ul { margin: 10px 0; padding-left: 20px; }
.faq-answer-inner li { margin-bottom: 5px; }

/* --- CTA --- */
.cta { background: var(--white) !important; text-align: center; padding: 60px 5% !important; border-radius: 24px; margin: 0 !important; box-shadow: 0 20px 60px rgba(0,0,0,0.08); border: 1px solid #e2e8f0; }
.cta h2 { color: #0f172a !important; margin-bottom: 1rem; }
.cta p { color: var(--text-gray) !important; margin-bottom: 1rem; }
.cta-team-img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid white; box-shadow: 0 4px 20px rgba(0,0,0,0.1); margin: 1.5rem auto 0.5rem auto !important; display: block; background: #fff; }
.cta-name { font-family: 'Montserrat', sans-serif !important; font-weight: 700 !important; font-size: 1.2rem !important; color: var(--brand-blue) !important; margin-bottom: 2rem !important; display: block !important; }

/* --- FOOTER --- */
footer { background: #0f172a !important; color: #94a3b8 !important; text-align: center; padding: 3rem 5%; }
footer a { color: var(--white) !important; }
.footer-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.5rem; color: white !important; }
.footer-logo-img { height: 45px; width: auto; margin-right: 15px; object-fit: contain; }
.footer-logo span { color: var(--brand-green); }

/* --- POPUP MODAL --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-content {
    background: white; padding: 2.5rem; border-radius: 20px;
    max-width: 450px; width: 90%; text-align: center;
    position: relative; transform: translateY(20px); transition: transform 0.4s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.modal-overlay.show .modal-content { transform: translateY(0); }
.close-modal {
    position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: #999;
}
.close-modal:hover { color: #333; }
.modal-content h2 { color: var(--brand-blue) !important; margin-bottom: 10px; }
.modal-subtitle { font-size: 1.1rem; margin-bottom: 25px; color: #555; }
.modal-buttons { display: flex; flex-direction: column; gap: 12px; }
.modal-btn-main {
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-green) 100%);
    color: white; padding: 15px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(41, 98, 237, 0.3);
    animation: pulse-shadow-only 2s infinite;
}
.modal-btn-sec {
    background: #f1f5f9; color: var(--text-dark); padding: 12px; border-radius: 50px; text-decoration: none; font-weight: 600;
    display: flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.modal-btn-sec:hover { background: #e2e8f0; }
.modal-btn-sec i { margin-right: 8px; color: var(--brand-green); font-size: 1.2rem; }
.modal-row { display: flex; gap: 10px; }
.modal-row a { flex: 1; }

/* Настройка для картинок в табах */
.tab-graphic-container {
    padding: 0 !important;
    display: block !important;
    background: none !important;
}
.tab-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}

/* --- FORM STYLES (NETLIFY) --- */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    max-width: 100%;        /* ИСПРАВЛЕНИЕ: Не дает вылезать за границы */
    box-sizing: border-box; /* ИСПРАВЛЕНИЕ: Учитывает рамки и отступы в ширине */
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
}

/* Специально для большого текстового поля */
.form-textarea {
    resize: vertical;       /* Разрешает тянуть только вниз */
    max-height: 200px;      /* ОГРАНИЧЕНИЕ: Больше 200px в высоту не растянется */
    min-height: 100px;      /* ОГРАНИЧЕНИЕ: Меньше 100px не сжать */
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(41, 98, 237, 0.1);
}

.form-btn {
    width: 100%;
    background: linear-gradient(90deg, #2962ed 0%, #13a34c 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 98, 237, 0.3);
}

/* --- MOBILE ADAPTIVITY --- */
@media (max-width: 1100px) {
  section { padding: var(--section-padding-mobile) !important; scroll-margin-top: 260px !important; }
  
  header { flex-wrap: wrap !important; justify-content: space-between !important; padding: 10px 5% !important; min-height: auto !important; }
  .logo { order: 1; }
  .hamburger { display: flex !important; order: 2; }
  .header-contact-wrapper { order: 3; width: 100% !important; flex-direction: row !important; justify-content: center !important; align-items: center !important; margin-top: 10px !important; padding-top: 8px !important; border-top: 1px solid #f0f0f0; gap: 15px; }
  .phone-header { width: auto !important; margin: 0 !important; padding: 0 !important; border: none !important; }
  .work-hours { display: block !important; margin-top: 0 !important; font-size: 0.8rem; }

  /* Скрываем десктопное меню, включаем мобильное */
  .nav-menu { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: white; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out; box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 0; gap: 0; z-index: 9998; }
  .nav-menu.active { max-height: 400px; opacity: 1; padding: 20px 0; }
  .nav-link { padding: 15px 5%; border-bottom: 1px solid #eee; width: 100%; display: block; }

  .hero h1 { font-size: 2.2rem !important; }
  /* Hero отступ */
  .hero { padding-bottom: 80px !important; padding-top: 220px !important; } 
  .hero > div { margin-top: 0 !important; }
  .hero-intro { flex-direction: column; text-align: center; }
  .hero-team-img { margin-right: 0; margin-bottom: 15px; width: 140px; height: 140px; }
  .hero-intro p { font-size: 1.2rem !important; }
  
  .tab-content.active { flex-direction: column-reverse; gap: 2rem; padding: 1.5rem; }
  .tab-graphic-container { flex: auto; width: 100%; aspect-ratio: 1 / 1; max-width: 350px; margin: 0 auto; }
  .tabs-nav { justify-content: flex-start; }

  .about { grid-template-columns: 1fr; }
  .about-text { text-align: left; padding: 3rem 1.5rem !important; }
  .about-text .btn-primary { margin: 0 auto !important; display: flex !important; }
  .about h2 { text-align: center; }
  .about img { height: 300px; object-position: top; }
  .service-card { max-width: 100%; }
  .faq-question { padding: 1.2rem 1rem; font-size: 1rem; }
  .faq-answer-inner { padding: 0 1rem 1.5rem 1rem; }
  .cta { padding: 40px 1.5rem !important; }

  .promo-bar { height: auto !important; min-height: 40px !important; padding: 8px 10px !important; font-size: 0.80rem !important; line-height: 1.3 !important; display: none !important; }
  header { top: 0 !important; }
  .hero { padding-top: 180px !important; }
  section { scroll-margin-top: 260px !important; }

  /* Адаптация вторичных кнопок */
  .secondary-contact-links { flex-direction: column; align-items: center; width: 100%; }
  .social-contact-btn { width: 100%; max-width: 280px; }

  /* ИСПРАВЛЕНИЕ БЛОКА ГАРАНТИИ НА ТЕЛЕФОНЕ */
    .guarantee-box h3 {
        flex-direction: column; /* Иконка станет над текстом */
        gap: 10px;              /* Отступ между иконкой и текстом */
        line-height: 1.3;       /* Межстрочный интервал */
    }
    .guarantee-box h3 i {
        margin-right: 0 !important; /* Убираем отступ справа */
        margin-bottom: 5px;         /* Добавляем отступ снизу */
        font-size: 2.5rem;          /* Можно чуть увеличить иконку для красоты */
    }
}

@media (min-width: 1101px) {
    .hamburger { display: none !important; }
    .nav-menu { display: flex !important; flex-direction: row; position: static; background: transparent; box-shadow: none; opacity: 1; max-height: none; }
    .nav-link { border-bottom: none; padding: 0; }
}

/* --- SPLIT CONTACT SECTION --- */
.split-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4rem; /* Расстояние между колонками */
    max-width: 1200px;
    margin: 0 auto;
}

.split-left, .split-right {
    flex: 1;
    min-width: 300px; /* Чтобы не сжимались слишком сильно */
}

/* Настройки левой части (Текст) */
.split-left {
    text-align: center;
    padding: 20px;
}

/* Адаптив для телефонов */
@media (max-width: 900px) {
    .split-container {
        flex-direction: column; /* На телефоне друг под другом */
        gap: 2rem;
    }
    .split-left {
        order: 1; /* Кэти сверху */
    }
    .split-right {
        order: 2; /* Форма снизу */
        width: 100%;
    }
}