/* --- RESET & VARIABLES --- */ 
:root { 
 --color-primary: #0b2545; /* Deep Navy */ 
 --color-secondary: #134074; /* Medical Blue */ 
 --color-accent: #ef233c; /* Emergency Red */ 
 --color-accent-hover: #d90429; 
 --color-text: #2b2d42; 
 --color-text-light: #8d99ae; 
 --color-bg-light: #edf2f4; 
 --white: #ffffff; 
 
 --shadow-card: 0 15px 35px rgba(0,0,0,0.1); 
 --shadow-hover: 0 20px 40px rgba(0,0,0,0.15); 
 --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s; 
 
 --max-width: 1440px; 
 --header-height: 80px; 
} 
 
* { margin: 0; padding: 0; box-sizing: border-box; } 
 
body { 
 font-family: 'Inter', sans-serif; 
 color: var(--color-text); 
 background-color: var(--white); 
 overflow-x: hidden; 
 line-height: 1.6; 
} 
 
h1, h2, h3, h4, h5 { 
 font-family: 'Montserrat', sans-serif; 
 line-height: 1.2; 
} 
 
a { text-decoration: none; color: inherit; transition: var(--transition); } 
ul { list-style: none; } 
img { max-width: 100%; display: block; } 
 
.container { 
 max-width: var(--max-width); 
 margin: 0 auto; 
 padding: 0 20px; 
 width: 100%; 
} 
 
/* --- UI COMPONENTS --- */ 
.btn { 
 display: inline-flex; 
 align-items: center; 
 justify-content: center; 
 padding: 16px 32px; 
 font-weight: 700; 
 font-size: 1rem; 
 border-radius: 50px; 
 text-transform: uppercase; 
 letter-spacing: 0.5px; 
 cursor: pointer; 
 transition: var(--transition); 
 border: none; 
 position: relative; 
 overflow: hidden; 
 font-family: 'Montserrat', sans-serif; 
} 
 
.btn-red { 
 background-color: var(--color-accent); 
 color: var(--white); 
 box-shadow: 0 4px 15px rgba(239, 35, 60, 0.4); 
} 
 
.btn-red:hover { 
 background-color: var(--color-accent-hover); 
 transform: translateY(-3px); 
 box-shadow: 0 8px 25px rgba(239, 35, 60, 0.6); 
} 
 
.btn-outline { 
 background: transparent; 
 border: 2px solid var(--white); 
 color: var(--white); 
} 
 
.btn-outline:hover { 
 background: var(--white); 
 color: var(--color-primary); 
} 
 
/* Кнопка с темным фоном - текст должен оставаться белым при наведении */ 
.btn-outline[style*="background:var(--color-primary)"], 
.btn-outline[style*="background: var(--color-primary)"] { 
 background: var(--color-primary) !important; 
 color: var(--white) !important; 
 border-color: var(--color-primary) !important; 
} 
 
.btn-outline[style*="background:var(--color-primary)"]:hover, 
.btn-outline[style*="background: var(--color-primary)"]:hover { 
 background: var(--color-secondary) !important; 
 color: var(--white) !important; 
 border-color: var(--color-secondary) !important; 
} 
 
.btn-white-outline { 
 background: transparent; 
 border: 2px solid var(--white); 
 color: var(--white); 
} 
 
.btn-white-outline:hover { 
 background: var(--white); 
 color: var(--color-primary); 
} 
 
.section-title { 
 text-align: center; 
 margin-bottom: 4rem; 
} 
 
.section-title h2 { 
 font-size: 2.8rem; 
 font-weight: 800; 
 color: var(--color-primary); 
 margin-bottom: 1rem; 
 position: relative; 
 display: inline-block; 
} 
 
.section-title h2::after { 
 content: ''; 
 display: block; 
 width: 60px; 
 height: 4px; 
 background: var(--color-accent); 
 margin: 15px auto 0; 
 border-radius: 2px; 
} 
 
.section-title p { 
 font-size: 1.1rem; 
 color: var(--color-text-light); 
 max-width: 600px; 
 margin: 0 auto; 
} 
 
/* --- ANIMATIONS --- */ 
@keyframes fadeIn { 
 from { opacity: 0; transform: translateY(20px); } 
 to { opacity: 1; transform: translateY(0); } 
} 
 
@keyframes fadeInUp { 
 from { opacity: 0; transform: translateY(50px); } 
 to { opacity: 1; transform: translateY(0); } 
} 
 
@keyframes fadeInLeft { 
 from { opacity: 0; transform: translateX(-50px); } 
 to { opacity: 1; transform: translateX(0); } 
} 
 
@keyframes fadeInRight { 
 from { opacity: 0; transform: translateX(50px); } 
 to { opacity: 1; transform: translateX(0); } 
} 
 
@keyframes pulse-red { 
 0% { box-shadow: 0 0 0 0 rgba(239, 35, 60, 0.7); } 
 70% { box-shadow: 0 0 0 15px rgba(239, 35, 60, 0); } 
 100% { box-shadow: 0 0 0 0 rgba(239, 35, 60, 0); } 
} 
 
.pulse-effect { 
 animation: pulse-red 2s infinite; 
} 
 
.animate { 
 opacity: 0; 
 transition: opacity 0.8s ease, transform 0.8s ease; 
} 
 
.animate.appear { 
 opacity: 1; 
} 
 
.animate.fadeInUp { 
 animation: fadeInUp 0.8s ease forwards; 
} 
 
.animate.fadeInLeft { 
 animation: fadeInLeft 0.8s ease forwards; 
} 
 
.animate.fadeInRight { 
 animation: fadeInRight 0.8s ease forwards; 
} 
 
/* --- HEADER --- */ 
header { 
 position: fixed; 
 top: 0; 
 left: 0; 
 width: 100%; 
 z-index: 1000; 
 background: rgba(11, 37, 69, 0.95); 
 backdrop-filter: blur(10px); 
 height: var(--header-height); 
 display: block; 
 padding: 0; 
 box-shadow: 0 2px 20px rgba(0,0,0,0.1); 
} 
 
.navbar { 
 display: flex; 
 justify-content: space-between; 
 align-items: center; 
} 
 
/* Ensure navbar fills header height so items are vertically centered */ 
.navbar { height: 100%; } 
 
/* Make header items flexible to avoid horizontal overflow */ 
.navbar { 
 gap: 16px; 
} 
.logo { 
 flex: 0 0 auto; 
 min-width: 0; 
} 
.nav-links { 
 flex: 1 1 auto; 
 min-width: 0; 
 display: flex; 
 gap: 30px; 
 justify-content: center; 
} 
.nav-links a { 
 white-space: nowrap; 
 overflow: hidden; 
 text-overflow: ellipsis; 
} 
.header-contact { 
 flex: 0 0 auto; 
} 
 
.logo { 
 display: flex; 
 align-items: center; 
 gap: 12px; 
 color: var(--white); 
 font-size: 1.5rem; 
 font-weight: 900; 
 text-transform: uppercase; 
} 
 
/* make sure logo contents stay centered vertically */ 
.logo { align-items: center; } 
 
.logo i { color: var(--color-accent); font-size: 2rem; } 
.logo span { color: var(--color-accent); } 
 
.nav-links { 
 display: flex; 
 gap: 30px; 
} 
 
/* by default hide mobile-only phone item (shown only in mobile media query) */ 
.nav-links .mobile-phone { display: none; } 
 
.nav-links a { 
 color: rgba(255,255,255,0.8); 
 font-weight: 500; 
 font-size: 0.95rem; 
 position: relative; 
} 
 
.nav-links a::after { 
 content: ''; 
 position: absolute; 
 bottom: -5px; 
 left: 0; 
 width: 0; 
 height: 2px; 
 background: var(--color-accent); 
 transition: var(--transition); 
} 
 
.nav-links a:hover { color: var(--white); } 
.nav-links a:hover::after { width: 100%; } 
 
.header-contact { 
 display: flex; 
 flex-direction: row; 
 align-items: center; 
 gap: 12px; 
 color: var(--white); 
} 
 
.header-phone { 
 font-size: 1.3rem; 
 font-weight: 800; 
 font-family: 'Montserrat', sans-serif; 
 color: var(--white); 
 text-decoration: none;
}

.header-phones {
 display: flex;
 flex-direction: column;
 gap: 6px;
}

.header-phone {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-size: 1.05rem;
 line-height: 1.2;
 white-space: nowrap;
 transition: color 0.2s ease;
}

.header-phone:hover {
 color: var(--color-accent);
}

.header-phone--primary .phone-number {
 color: var(--white);
}

.phone-status {
 width: 9px;
 height: 9px;
 border-radius: 50%;
 flex-shrink: 0;
}

.phone-status--online {
 background: #22c55e;
 box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
 animation: pulse-dot 2s ease-in-out infinite;
}

.phone-status--offline {
 background: #94a3b8;
 box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.25);
}

.phone-status-text {
 font-size: 0.62rem;
 font-weight: 700;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 padding: 2px 7px;
 border-radius: 999px;
 line-height: 1.2;
}

.phone-status-text--online {
 color: #86efac;
 background: rgba(34, 197, 94, 0.16);
}

.phone-status-text--offline {
 color: #cbd5e1;
 background: rgba(148, 163, 184, 0.16);
}
 
.social-row { 
 display: flex; 
 gap: 10px; 
 margin-top: 5px; 
} 
.social-row a { color: var(--color-accent); font-size: 1.1rem; } 
.social-row a:hover { color: var(--white); transform: scale(1.1); } 
 
/* --- HERO SLIDER --- */ 
.hero { 
 height: 100vh; 
 min-height: 700px; 
 position: relative; 
 overflow: hidden; 
 display: flex; 
 align-items: center; 
} 
 
.hero.simple-hero { 
 height: 80vh; 
 min-height: 600px; 
 background: linear-gradient(rgba(11,37,69,0.7), rgba(11,37,69,0.7)), url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; 
 color: var(--white); 
} 
 
.slide { 
 position: absolute; 
 top: 0; 
 left: 0; 
 width: 100%; 
 height: 100%; 
 opacity: 0; 
 transition: opacity 1.2s ease-in-out; 
 background-size: cover; 
 background-position: center; 
} 
 
.slide.active { opacity: 1; } 
 
/* Dark overlay gradient for readability */ 
.slide::before { 
 content: ''; 
 position: absolute; 
 top: 0; 
 left: 0; 
 width: 100%; 
 height: 100%; 
 background: linear-gradient(90deg, rgba(11,37,69,0.9) 0%, rgba(11,37,69,0.6) 50%, rgba(11,37,69,0.2) 100%); 
} 
 
.hero-content { 
 position: relative; 
 z-index: 2; 
 color: var(--white); 
 max-width: 800px; 
 padding-top: 60px; 
} 
 
.hero-badge { 
 display: inline-block; 
 background: rgba(239, 35, 60, 0.2); 
 border: 1px solid var(--color-accent); 
 padding: 8px 16px; 
 border-radius: 30px; 
 font-size: 0.9rem; 
 font-weight: 600; 
 margin-bottom: 25px; 
 backdrop-filter: blur(5px); 
 animation: fadeIn 0.8s ease forwards; 
 margin-top: 40px; 
} 
 
.hero-title { 
 font-size: 4rem; 
 font-weight: 800; 
 margin-bottom: 20px; 
 line-height: 1.1; 
 transform: translateY(30px); 
 opacity: 0; 
 transition: all 0.8s ease 0.2s; 
} 
 
.slide.active .hero-title { 
 transform: translateY(0); 
 opacity: 1; 
} 
 
/* Mobile-specific hero slide backgrounds */ 
@media (max-width: 768px) { 
 /* Slide 1: мобильная версия */ 
 .hero .slide:nth-child(1) { 
 background-image: url('../image/scormedmob.jpg') !important; 
 } 
 
 /* Slide 3: мобильная версия */ 
 .hero .slide:nth-child(3) { 
 background-image: url('../image/scormedmob2.jpg') !important; 
 } 
} 
 
/* Make hero text visible when its container gets the 'appear' class (non-slider pages) */ 
.animate.appear .hero-title { 
 transform: translateY(0); 
 opacity: 1; 
} 
.animate.appear .hero-desc { 
 transform: translateY(0); 
 opacity: 1; 
} 
 
/* --- INFO OVERLAP --- */ 
.info-overlap { margin-top: -60px; } 
.info-grid { 
 display: grid; 
 grid-template-columns: repeat(4, 1fr); 
 gap: 18px; 
 background: var(--white); 
 padding: 18px; 
 border-radius: 12px; 
 box-shadow: var(--shadow-card); 
} 
.info-item { text-align: center; padding: 12px; } 
.info-icon { font-size: 2rem; color: var(--color-accent); margin-bottom: 8px; } 
.info-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; } 
.info-text { color: var(--color-text-light); font-size: 0.95rem; } 
 
/* --- SERVICES GRID --- */ 
.services-grid { 
 display: grid; 
 grid-template-columns: repeat(3, 1fr); 
 gap: 18px; 
} 
.service-card { display: block; position: relative; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); } 
.service-img { width: 100%; height: 180px; object-fit: cover; display: block; } 
.service-overlay { padding: 14px; } 
.service-title { font-size: 1.05rem; margin-bottom: 6px; color: var(--color-primary); } 
.service-desc { font-size: 0.95rem; color: var(--color-text-light); } 
 
/* --- CALCULATOR / FORM --- */ 
.calculator-container { max-width: 880px; margin: 0 auto; background: #fff; padding: 22px; border-radius: 10px; box-shadow: var(--shadow-card); } 
.calculator-title { text-align: center; margin-bottom: 12px; } 
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; } 
.form-control { padding: 10px 12px; border: 1px solid #e6e9ef; border-radius: 8px; font-size: 1rem; } 
.submit-btn { display: inline-block; } 
 
/* --- PRICES --- */ 
.prices-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; } 
.price-card { background: #fff; padding: 18px; border-radius: 10px; box-shadow: var(--shadow-card); } 
.price-head { display:flex; flex-direction: column; gap:6px; margin-bottom: 10px; } 
.price-qty { font-weight:800; font-size:1.1rem; color:var(--color-primary); } 
.prices-cta { display:flex; align-items:center; justify-content:center; } 
 
/* --- REVIEWS --- */ 
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } 
.review-card { background:#fff; padding:16px; border-radius:8px; box-shadow: var(--shadow-card); } 
.review-avatar img { width:72px; height:72px; object-fit:cover; border-radius:50%; } 
.review-info h4 { margin-bottom:4px; } 
.review-text { color: var(--color-text); font-size: 0.95rem; } 
 
/* --- FOOTER GRID --- */ 
.footer-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 36px 0; } 
.logo--compact { font-size: 1.2rem; font-weight: 800; } 
.logo-desc { color: var(--color-text-light); margin-top: 8px; } 
.f-links li, .f-contact li { margin-bottom: 8px; } 
.bottom-bar { border-top: 1px solid #f0f0f0; padding: 12px 0; margin-top: 16px; text-align: left; } 
 
/* --- RESPONSIVE RULES (tablet & mobile) --- */ 
@media (max-width: 1200px) { 
 .services-grid { grid-template-columns: repeat(2, 1fr); } 
 .prices-container { grid-template-columns: repeat(2, 1fr); } 
 .reviews-grid { grid-template-columns: repeat(2, 1fr); } 
 .info-grid { grid-template-columns: repeat(2, 1fr); } 
 .footer-grid { grid-template-columns: repeat(2, 1fr); } 
} 
 
@media (max-width: 768px) { 
 .info-overlap { margin-top: -40px; } 
 .services-grid { grid-template-columns: 1fr; } 
 .service-img { height: 160px; } 
 .calculator-container { padding: 16px; } 
 .prices-container { grid-template-columns: 1fr; } 
 .reviews-grid { grid-template-columns: 1fr; } 
 .footer-grid { grid-template-columns: 1fr; } 
 .info-grid { grid-template-columns: 1fr; } 
 .hero-title { font-size: 2.1rem !important; } 
} 
 
@media (max-width: 480px) { 
 .info-overlap { margin-top: -20px; padding: 0 8px; } 
 .service-img { height: 140px; } 
 .calculator-container { padding: 12px; } 
 .form-control { font-size: 0.95rem; } 
 .submit-btn { width: 100%; } 
 .bottom-bar { text-align: center; } 
} 
.animate.appear .hero-btns { 
 transform: translateY(0); 
 opacity: 1; 
} 
 
.hero-desc { 
 font-size: 1.25rem; 
 margin-bottom: 40px; 
 color: rgba(255,255,255,0.9); 
 max-width: 600px; 
 transform: translateY(30px); 
 opacity: 0; 
 transition: all 0.8s ease 0.4s; 
} 
 
.slide.active .hero-desc { 
 transform: translateY(0); 
 opacity: 1; 
} 
 
.hero-btns { 
 display: flex; 
 gap: 20px; 
 transform: translateY(30px); 
 opacity: 0; 
 transition: all 0.8s ease 0.6s; 
} 
 
.slide.active .hero-btns { 
 transform: translateY(0); 
 opacity: 1; 
} 
 
/* --- FLOATING INFO BLOCK (OVERLAP) --- */ 
.info-overlap { 
 position: relative; 
 z-index: 10; 
 margin-top: -100px; 
 margin-bottom: 4rem; 
} 
 
.info-grid { 
 display: grid; 
 grid-template-columns: repeat(4, 1fr); 
 gap: 0; 
 background: var(--white); 
 border-radius: 20px; 
 box-shadow: var(--shadow-card); 
 overflow: hidden; 
} 
 
.info-item { 
 padding: 40px 30px; 
 border-right: 1px solid #eee; 
 text-align: center; 
 transition: var(--transition); 
} 
 
.info-item:last-child { border-right: none; } 
.info-item:hover { background: #fdfdfd; } 
 
.info-icon { 
 font-size: 2.5rem; 
 color: var(--color-secondary); 
 margin-bottom: 20px; 
} 
 
.info-item:hover .info-icon { 
 color: var(--color-accent); 
 transform: scale(1.1); 
} 
 
.info-title { 
 font-weight: 700; 
 font-size: 1.1rem; 
 margin-bottom: 10px; 
 color: var(--color-primary); 
} 
 
.info-text { font-size: 0.9rem; color: var(--color-text-light); } 
 
/* --- ABOUT & CITIES --- */ 
.about-section { 
 padding: 4rem 0 8rem; 
} 
 
.about-grid { 
 display: grid; 
 grid-template-columns: 1fr 420px; 
 gap: 40px; 
 align-items: start; 
} 
 
/* --- COMPANY CONTENT (О нас) — как seo-article по ширине --- */ 
.company-details { 
 padding: 4rem 0; 
 background: var(--white); 
} 
.company-content { 
 max-width: 800px; 
 margin: 2.5rem auto 3rem; 
 display: block; 
} 
.company-image { 
 width: 100%; 
 max-width: 800px; 
 margin: 0 auto 2rem; 
 display: block; 
} 
.company-image img { 
 width: 100%; 
 height: auto; 
 border-radius: 16px; 
 box-shadow: var(--shadow-card); 
 object-fit: cover; 
} 
.company-info h2 { 
 font-size: 2rem; 
 color: var(--color-primary); 
 margin-bottom: 1rem; 
 overflow-wrap: anywhere; 
 word-wrap: break-word; 
} 
.company-features { 
 margin: 1.5rem 0 2rem; 
 display: grid; 
 grid-template-columns: 1fr; 
 gap: 10px 20px; 
} 
.company-features li { 
 display: flex; 
 align-items: flex-start; 
 gap: 12px; 
 font-weight: 500; 
 color: var(--color-text); 
} 
 
@media (max-width: 768px) { 
 .company-details { 
 padding: 3rem 0; 
 } 
 .company-content { 
 margin: 2rem auto 2.5rem; 
 padding: 0 4px; 
 box-sizing: border-box; 
 } 
} 
 
@media (max-width: 480px) { 
 .company-details { 
 padding: 2.5rem 0; 
 } 
 .company-content { 
 margin: 1.5rem auto 2rem; 
 } 
 .company-info h2 { 
 font-size: 1.6rem; 
 line-height: 1.2; 
 } 
} 
 
/* Дополнительная защита от переполнения изображения в блоке О компании */ 
@media (max-width: 480px) { 
 .company-content { 
 gap: 16px; 
 } 
 .company-image { 
 max-width: 100%; 
 width: 100%; 
 overflow: hidden; 
 box-sizing: border-box; 
 } 
 .company-image img { 
 width: 100%; 
 max-width: 320px; 
 margin: 0 auto; 
 } 
} 
 
/* --- RESPONSIVE HELPERS & EXTRA FIXES --- */ 
:root { 
 --bp-large: 1200px; 
 --bp-medium: 992px; 
 --bp-tablet: 768px; 
 --bp-mobile: 576px; 
} 
 
/* Prevent main content from being hidden under fixed header on all pages */ 
/* apply padding only to main/content, not to every .container (avoids shifting header children) */ 
main, .content { 
 padding-top: calc(var(--header-height) + 12px); 
} 
 
/* Make media elements reliably responsive */ 
img, picture, video, svg { 
 max-width: 100%; 
 height: auto; 
 display: block; 
} 
 
/* Grid and card fallbacks to improve tablet/mobile layouts */ 
.prices-container, .equipment-grid, .footer-grid, .info-grid, .about-grid, .benefits-grid { 
 gap: 24px; 
} 
 
.equipment-grid { grid-template-columns: repeat(3, 1fr); } 
.prices-container.extended { grid-template-columns: repeat(3, 1fr); } 
 
@media (max-width: 1024px) { 
 .equipment-grid { grid-template-columns: repeat(2, 1fr); } 
 .prices-container.extended { grid-template-columns: repeat(2, 1fr); } 
 .hero { min-height: 60vh; min-height: 520px; } 
} 
 
@media (max-width: 768px) { 
 .equipment-grid { grid-template-columns: 1fr; } 
 .prices-container.extended { grid-template-columns: 1fr; } 
 .hero { min-height: 50vh; min-height: 360px; } 
 
 /* tighten header spacing on small screens to avoid overflow */ 
 header { padding: 10px 6px; } 
 .navbar { gap: 8px; align-items: center; } 
 .logo { font-size: 1.05rem; gap: 8px; } 
 .nav-links { gap: 8px; } 
 
 /* collapse any long text inside nav to avoid horizontal scroll */ 
 .nav-links a { white-space: normal; text-align: left; } 
 
 /* price cards and typography adjustments for small screens */ 
 .price-card { padding: 18px; } 
 .price-card .price-qty { font-size: 1.8rem; } 
 .section-title h2 { font-size: 1.8rem; } 
} 
 
@media (max-width: 576px) { 
 .hero { min-height: 42vh; } 
 .section-title h2 { font-size: 1.6rem; } 
 .btn { padding: 12px 18px; font-size: 0.95rem; } 
 .header-contact { display: none; } 
 /* ensure mobile menu fills available width but stays inset from edges */ 
 .nav-links.open { left: 8px; right: 8px; } 
} 
 
/* Узкие экраны (до ~375px) */ 
@media (max-width: 400px) { 
 .container { 
 padding: 0 12px; 
 } 
 .hero-title { 
 font-size: 1.6rem !important; 
 } 
 .btn { 
 padding: 10px 14px; 
 font-size: 0.9rem; 
 } 
 .services-grid { 
 grid-template-columns: 1fr; 
 gap: 20px; 
 } 
 .prices-container, 
 .prices-container.extended { 
 grid-template-columns: 1fr; 
 gap: 20px; 
 } 
 .benefits-grid, 
 .equipment-grid, 
 .licenses-grid, 
 .reviews-grid { 
 grid-template-columns: 1fr; 
 } 
 .nav-links.open { 
 left: 6px; 
 right: 6px; 
 } 
 /* чуть больший отступ иконки бургера от правого края */ 
 .mobile-toggle { 
 margin-right: 48px; 
 } 
} 
 
/* Ensure long unbroken text wraps in cards and grid items */ 
.price-card, .equipment-card, .info-item, .f-links li { 
 word-wrap: break-word; 
 overflow-wrap: anywhere; 
} 
 
/* small utility: center important-info icon/title and ensure readable spacing */ 
.important-info { display: flex; flex-direction: column; align-items: center; gap: 12px; } 
.important-info li { display: flex; gap: 10px; align-items: flex-start; } 
 
/* improve focus/hover hit area for interactive elements on touch devices */ 
.nav-links a, .btn { touch-action: manipulation; } 
 
/* final safety: if any page still shows horizontal scrolling, this will hide overflow while preserving layout */ 
html, body { -webkit-text-size-adjust: 100%; } 
 
/* utility classes to replace inline styles */ 
.accent-underline { 
 height: 4px; 
 width: 80px; 
 background: var(--color-accent); 
 margin-bottom: 2rem; 
} 
 
.logo--compact { margin-bottom: 20px; } 
.logo-desc { opacity: 0.7; font-size: 0.9rem; margin-top: 15px; } 
 
.btn.full { width: 100%; display: block; margin-top: 20px; text-align: center; } 
.primary-bg { background: var(--color-primary) !important; color: var(--white) !important; } 
 
.hero-pad { padding-top: 150px; } 
 
.delay-1 { animation-delay: 0.1s !important; transition-delay: 0.1s !important; } 
.delay-2 { animation-delay: 0.2s !important; transition-delay: 0.2s !important; } 
.delay-3 { animation-delay: 0.3s !important; transition-delay: 0.3s !important; } 
 
/* icons shortcuts */ 
.icon-info { color: #3498db; } 
.icon-danger { color: #e74c3c; } 
 
.icon-accent { color: var(--color-accent); } 
.muted { margin-bottom: 20px; font-size: 0.9rem; color: #666; } 
 
 
.about-content h2 { 
 font-size: 2.5rem; 
 margin-bottom: 1.5rem; 
 color: var(--color-primary); 
} 
 
.about-content { 
 padding: 24px 18px; 
} 
 
.about-content ul { 
 margin: 2rem 0; 
} 
 
.about-content li { 
 margin-bottom: 15px; 
 display: flex; 
 align-items: center; 
 gap: 15px; 
 font-weight: 500; 
} 
.about-content li i { color: var(--color-accent); } 
 
.city-cloud-container { 
 background: var(--color-bg-light); 
 padding: 40px; 
 border-radius: 20px; 
 position: relative; 
} 
 
.city-cloud-container h3 { 
 margin-bottom: 25px; 
 font-size: 1.5rem; 
 color: var(--color-secondary); 
} 
 
.city-tags { 
 display: flex; 
 flex-wrap: wrap; 
 gap: 10px; 
} 
 
.city-badge { 
 background: var(--white); 
 color: var(--color-primary); 
 padding: 10px 20px; 
 border-radius: 50px; 
 font-size: 0.9rem; 
 font-weight: 600; 
 box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
 transition: var(--transition); 
 border: 1px solid transparent; 
 cursor: default; 
} 
 
.city-badge:hover { 
 background: var(--color-secondary); 
 color: var(--white); 
 transform: translateY(-2px); 
} 
 
.city-badge.major { 
 background: var(--color-primary); 
 color: var(--white); 
 font-weight: 700; 
} 
 
@media (max-width: 1024px) { 
 .about-grid { grid-template-columns: 1fr; gap: 20px; } 
 .about-section { padding: 2.5rem 0 3.5rem; } 
 .about-content h2 { font-size: 1.9rem; margin-bottom: 10px; } 
 .about-content p { font-size: 1rem; } 
 .about-content { padding: 18px; } 
 .city-cloud-container { padding: 24px; } 
 .city-cloud-container h3 { font-size: 1.1rem; } 
 .city-badge { padding: 8px 12px; font-size: 0.88rem; } 
 .about-content .btn { width: 100%; box-sizing: border-box; } 
} 
 
@media (max-width: 480px) { 
 .about-content h2 { font-size: 1.4rem; } 
 .about-content p { font-size: 0.95rem; } 
 .city-tags { gap: 6px; } 
 .city-badge { padding: 6px 10px; font-size: 0.82rem; } 
 .city-cloud-container { padding: 14px; } 
} 
 
/* --- CALCULATOR SECTION --- */ 
.calculator-section { 
 padding: 6rem 0; 
 background: var(--color-bg-light); 
} 
.calculator-container { 
 max-width: 800px; 
 margin: 0 auto; 
 background: white; 
 border-radius: 20px; 
 padding: 40px; 
 box-shadow: var(--shadow-card); 
} 
.calculator-title { 
 text-align: center; 
 font-size: 2rem; 
 color: var(--color-primary); 
 margin-bottom: 2rem; 
} 
.form-group { 
 margin-bottom: 20px; 
} 
.form-group label { 
 display: block; 
 margin-bottom: 8px; 
 font-weight: 600; 
 color: var(--color-primary); 
} 
.form-control { 
 width: 100%; 
 padding: 15px; 
 border: 2px solid #ddd; 
 border-radius: 10px; 
 font-size: 1rem; 
 transition: border-color 0.3s; 
 font-family: 'Inter', sans-serif; 
} 
.form-control:focus { 
 outline: none; 
 border-color: var(--color-accent); 
} 
.checkbox-group { 
 display: flex; 
 align-items: center; 
 gap: 10px; 
 margin-top: 5px; 
} 
.checkbox-group input[type="checkbox"] { 
 width: 20px; 
 height: 20px; 
} 
.select-group { 
 position: relative; 
} 
.select-group::after { 
 content: '▼'; 
 position: absolute; 
 top: 50%; 
 right: 15px; 
 transform: translateY(-50%); 
 pointer-events: none; 
 color: #999; 
 font-size: 0.8rem; 
} 
.select-control { 
 appearance: none; 
 width: 100%; 
 padding: 15px; 
 border: 2px solid #ddd; 
 border-radius: 10px; 
 font-size: 1rem; 
 background: white; 
 cursor: pointer; 
 font-family: 'Inter', sans-serif; 
} 
.select-control:focus { 
 outline: none; 
 border-color: var(--color-accent); 
} 
.submit-btn { 
 width: 100%; 
 margin-top: 20px; 
} 
 
/* --- SERVICES GRID --- */ 
.services { 
 padding: 6rem 0; 
 background: #fff; 
} 
 
.services-grid { 
 display: grid; 
 grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
 gap: 30px; 
} 
 
.service-card { 
 position: relative; 
 height: 350px; 
 border-radius: 20px; 
 overflow: hidden; 
 cursor: pointer; 
 box-shadow: var(--shadow-card); 
} 
 
.service-img { 
 width: 100%; 
 height: 100%; 
 object-fit: cover; 
 transition: transform 0.6s ease; 
} 
 
.service-overlay { 
 position: absolute; 
 bottom: 0; 
 left: 0; 
 width: 100%; 
 height: 100%; 
 background: linear-gradient(to top, rgba(11, 37, 69, 0.95) 10%, rgba(11, 37, 69, 0.4) 60%, transparent 100%); 
 display: flex; 
 flex-direction: column; 
 justify-content: flex-end; 
 padding: 30px; 
 transition: var(--transition); 
} 
 
.service-card:hover .service-img { transform: scale(1.1); } 
.service-card:hover .service-overlay { background: linear-gradient(to top, rgba(239, 35, 60, 0.95) 0%, rgba(11, 37, 69, 0.6) 100%); } 
 
.service-title { 
 color: var(--white); 
 font-size: 1.5rem; 
 font-weight: 700; 
 margin-bottom: 10px; 
} 
 
.service-desc { 
 color: rgba(255,255,255,0.9); 
 font-size: 0.95rem; 
 margin-bottom: 20px; 
 height: 0; 
 overflow: hidden; 
 opacity: 0; 
 transition: var(--transition); 
} 
 
.service-card:hover .service-desc { 
 height: auto; 
 opacity: 1; 
 margin-bottom: 20px; 
} 
 
.service-icon { 
 position: absolute; 
 top: 20px; 
 right: 20px; 
 width: 50px; 
 height: 50px; 
 background: var(--white); 
 border-radius: 50%; 
 display: flex; 
 align-items: center; 
 justify-content: center; 
 color: var(--color-primary); 
 font-size: 1.2rem; 
 z-index: 5; 
} 
 
/* Service Details Page Styles */ 
.service-details { 
 padding: 6rem 0; 
 background: var(--white); 
} 
.service-content { 
 display: grid; 
 grid-template-columns: 1fr 1fr; 
 gap: 60px; 
 align-items: center; 
} 
.service-image { 
 border-radius: 20px; 
 overflow: hidden; 
 box-shadow: var(--shadow-card); 
} 
.service-image img { 
 width: 100%; 
 height: auto; 
 display: block; 
 transition: transform 0.5s ease; 
} 
.service-image:hover img { 
 transform: scale(1.05); 
} 
.service-info h2 { 
 font-size: 2.5rem; 
 color: var(--color-primary); 
 margin-bottom: 1.5rem; 
} 
.service-features { 
 margin: 2rem 0; 
} 
.service-features li { 
 margin-bottom: 15px; 
 display: flex; 
 align-items: center; 
 gap: 15px; 
 font-weight: 500; 
} 
.service-features li i { color: var(--color-accent); } 
 
.benefits-section { 
 padding: 6rem 0; 
 background: var(--color-bg-light); 
} 
.benefits-grid { 
 display: grid; 
 grid-template-columns: repeat(3, 1fr); 
 gap: 30px; 
} 
.benefit-card { 
 background: var(--white); 
 border-radius: 20px; 
 padding: 30px; 
 box-shadow: var(--shadow-card); 
 text-align: center; 
 transition: var(--transition); 
} 
.benefit-card:hover { 
 transform: translateY(-10px); 
 box-shadow: var(--shadow-hover); 
} 
.benefit-icon { 
 font-size: 3rem; 
 color: var(--color-secondary); 
 margin-bottom: 20px; 
} 
.benefit-title { 
 font-size: 1.3rem; 
 font-weight: 700; 
 color: var(--color-primary); 
 margin-bottom: 15px; 
} 
.benefit-desc { 
 color: var(--color-text-light); 
 font-size: 0.95rem; 
} 
 
.seo-article { 
 padding: 6rem 0; 
 background: var(--white); 
} 
.article-content { 
 max-width: 800px; 
 margin: 0 auto; 
 line-height: 1.8; 
} 
.article-content h2 { 
 font-size: 2rem; 
 color: var(--color-primary); 
 margin: 2rem 0 1.5rem 0; 
} 
.article-content h3 { 
 font-size: 1.5rem; 
 color: var(--color-secondary); 
 margin: 1.5rem 0 1rem 0; 
} 
.article-content p { 
 margin-bottom: 1.5rem; 
 font-size: 1.1rem; 
} 
.article-content ul { 
 margin: 1.5rem 0; 
 padding-left: 1.5rem; 
} 
.article-content li { 
 margin-bottom: 0.8rem; 
 font-size: 1.1rem; 
} 
 
/* --- EQUIPMENT SECTION --- */ 
.equipment-section { 
 padding: 4rem 0; 
 background: var(--white); 
} 
.equipment-grid { 
 display: grid; 
 grid-template-columns: repeat(3, 1fr); 
 gap: 24px; 
 align-items: start; 
} 
.equipment-card { 
 background: var(--white); 
 border-radius: 16px; 
 padding: 20px; 
 box-shadow: var(--shadow-card); 
 text-align: center; 
 transition: var(--transition); 
} 
.equipment-card img { 
 width: 100%; 
 height: 180px; 
 object-fit: contain; 
 object-position: center; 
 background: var(--white); 
 border-radius: 12px; 
 margin-bottom: 16px; 
} 
.equipment-card h3 { 
 font-size: 1.15rem; 
 color: var(--color-primary); 
 margin-bottom: 8px; 
} 
.equipment-card p { 
 color: var(--color-text-light); 
 font-size: 0.95rem; 
 line-height: 1.5; 
} 
.equipment-card:hover { 
 transform: translateY(-8px); 
 box-shadow: var(--shadow-hover); 
} 
 
@media (max-width: 1024px) { 
 .equipment-grid { grid-template-columns: repeat(2, 1fr); } 
} 
@media (max-width: 768px) { 
 .equipment-grid { grid-template-columns: 1fr; } 
 .equipment-card img { height: 220px; } 
} 
 
/* --- LICENSES GRID --- */ 
.licenses-grid { 
 display: grid; 
 grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
 gap: 24px; 
 margin-top: 2rem; 
 align-items: stretch; 
} 
.license-card { 
 background: var(--white); 
 border-radius: 16px; 
 padding: 28px; 
 box-shadow: var(--shadow-card); 
 text-align: center; 
 transition: var(--transition); 
} 
.license-card:hover { 
 transform: translateY(-8px); 
 box-shadow: var(--shadow-hover); 
} 
.license-icon { 
 font-size: 3rem; 
 color: var(--color-accent); 
 margin-bottom: 12px; 
} 
.license-title { 
 font-size: 1.1rem; 
 font-weight: 700; 
 color: var(--color-primary); 
 margin-bottom: 8px; 
} 
.license-desc { 
 color: var(--color-text-light); 
 font-size: 0.95rem; 
} 
 
/* --- PRICE --- */ 
.price-section { 
 padding: 6rem 0; 
 background: var(--color-bg-light); 
} 
 
.prices-container { 
 display: grid; 
 grid-template-columns: repeat(3, 1fr); 
 gap: 30px; 
} 
 
/* CTA inside prices grid: spans full row and centers the button */ 
.prices-cta { 
 grid-column: 1 / -1; 
 display: flex; 
 justify-content: center; 
 align-items: center; 
 margin-top: 32px; 
} 
 
.btn-cta { 
 padding: 16px 44px; 
 font-size: 1.05rem; 
 border-radius: 999px; 
 box-shadow: 0 14px 40px rgba(11,37,69,0.12); 
 position: relative; 
 overflow: visible; 
 text-transform: none; 
} 
 
.btn-cta::before { 
 content: ''; 
 position: absolute; 
 left: -10%; 
 top: -10%; 
 width: 120%; 
 height: 120%; 
 background: radial-gradient(circle at 50% 40%, rgba(239,35,60,0.12), transparent 40%); 
 border-radius: 999px; 
 z-index: -1; 
 transition: opacity 0.3s ease; 
} 
 
.btn-cta:hover { 
 transform: translateY(-4px); 
 box-shadow: 0 22px 48px rgba(11,37,69,0.16); 
} 
 
@keyframes float-cta { 
 0% { transform: translateY(0); } 
 50% { transform: translateY(-6px); } 
 100% { transform: translateY(0); } 
} 
 
.btn-cta.pulse-effect { 
 animation: float-cta 2.6s ease-in-out infinite; 
} 
 
.prices-container.extended { 
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
} 
 
/* Important info box on prices page */ 
.important-info { 
 margin-top: 4rem; 
 padding: 28px 30px; 
 background: var(--white); 
 border-radius: 16px; 
 box-shadow: var(--shadow-card); 
 border-left: 4px solid rgba(239,35,60,0.12); 
} 
.important-info h3 { 
 font-size: 1.4rem; 
 color: var(--color-primary); 
 margin-bottom: 1rem; 
 font-weight: 700; 
 text-align: center; 
} 
.important-info .important-list { 
 list-style: none; 
 padding-left: 0; 
 color: var(--color-text); 
} 
.important-info .important-list li { 
 margin-bottom: 10px; 
 line-height: 1.5; 
 display: flex; 
 gap: 12px; 
 align-items: flex-start; 
} 
 
.important-icon { 
 color: var(--color-accent); 
 font-size: 1.1rem; 
 margin-top: 4px; 
 min-width: 26px; 
 display: inline-block; 
} 
 
@media (max-width: 768px) { 
 .important-info { padding: 18px; border-radius: 12px; } 
 .important-info h3 { font-size: 1.15rem; } 
} 
 
.price-card { 
 background: var(--white); 
 border-radius: 20px; 
 padding: 40px; 
 box-shadow: var(--shadow-card); 
 position: relative; 
 transition: var(--transition); 
 border-top: 5px solid transparent; 
} 
 
.price-card:hover { 
 transform: translateY(-10px); 
 border-top-color: var(--color-accent); 
 box-shadow: var(--shadow-hover); 
} 
 
.price-card.featured { 
 transform: scale(1.05); 
 border: 2px solid var(--color-accent); 
 z-index: 2; 
} 
 
.price-card.featured:hover { 
 transform: scale(1.08); 
} 
 
.popular-badge { 
 position: absolute; 
 top: -15px; 
 left: 50%; 
 transform: translateX(-50%); 
 background: var(--color-accent); 
 color: var(--white); 
 padding: 8px 16px; 
 border-radius: 20px; 
 font-size: 0.8rem; 
 font-weight: 700; 
 text-transform: uppercase; 
} 
 
.price-head { text-align: center; margin-bottom: 30px; } 
.price-qty { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); display: block; } 
.home .price-qty { font-size: 3rem; line-height: 1; } 
.price-sub { font-size: 0.9rem; color: var(--color-text-light); } 
.price-name { font-size: 1.2rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 10px; display: block;} 
 
.price-list li { 
 margin-bottom: 15px; 
 display: flex; 
 align-items: flex-start; 
 gap: 10px; 
 font-size: 0.95rem; 
} 
.price-list i { color: #2ecc71; margin-top: 5px; } 
 
/* --- REVIEWS SECTION (визуально как блок цен) --- */ 
.reviews { 
 padding: 6rem 0; 
 background: var(--color-bg-light); 
} 
 
.reviews-grid { 
 display: grid; 
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
 gap: 30px; 
} 
 
.review-card { 
 background: var(--white); 
 border-radius: 20px; 
 padding: 40px; 
 box-shadow: var(--shadow-card); 
 position: relative; 
 border-top: 5px solid transparent; 
 transition: var(--transition); 
} 
 
.review-card:hover { 
 transform: translateY(-10px); 
 border-top-color: var(--color-accent); 
 box-shadow: var(--shadow-hover); 
} 
 
.review-header { 
 display: flex; 
 align-items: center; 
 margin-bottom: 20px; 
} 
 
.review-avatar { 
 width: 60px; 
 height: 60px; 
 border-radius: 50%; 
 background: var(--color-bg-light); 
 display: flex; 
 align-items: center; 
 justify-content: center; 
 font-size: 1.5rem; 
 color: var(--color-secondary); 
 margin-right: 15px; 
 flex-shrink: 0; 
 overflow: hidden; 
} 
 
.review-avatar img { 
 width: 100%; 
 height: 100%; 
 object-fit: cover; 
 border-radius: 50%; 
} 
 
.review-info h4 { 
 font-size: 1.1rem; 
 color: var(--color-primary); 
 margin-bottom: 5px; 
} 
 
.review-date { 
 font-size: 0.8rem; 
 color: var(--color-text-light); 
} 
 
.review-rating { 
 color: #ffc107; 
 margin-bottom: 15px; 
 font-size: 1.2rem; 
} 
 
.review-text { 
 color: var(--color-text); 
 font-size: 1rem; 
 line-height: 1.6; 
 margin-bottom: 15px; 
} 
 
/* --- FOOTER --- */ 
footer { 
 background: var(--color-primary); 
 color: var(--white); 
 padding: 4rem 0 0; 
 font-size: 0.9rem; 
} 
 
.footer-grid { 
 display: grid; 
 grid-template-columns: 1.5fr 1fr 1fr 1fr; 
 gap: 40px; 
 padding-bottom: 4rem; 
 border-bottom: 1px solid rgba(255,255,255,0.1); 
} 
 
.f-col h4 { 
 font-size: 1.2rem; 
 margin-bottom: 1.5rem; 
 font-weight: 700; 
} 
 
.f-links li { margin-bottom: 12px; } 
.f-links a { opacity: 0.7; transition: var(--transition); } 
.f-links a:hover { opacity: 1; color: var(--color-accent); padding-left: 5px; } 
 
.f-contact li { 
 display: flex; 
 gap: 15px; 
 margin-bottom: 15px; 
 opacity: 0.8; 
} 
 
.bottom-bar { 
 padding: 20px 0; 
 text-align: center; 
 opacity: 0.5; 
 font-size: 0.8rem; 
} 
 
/* --- MOBILE ADAPTATION --- */ 
.mobile-toggle { display: none; font-size: 1.5rem; color: var(--white); cursor: pointer; } 
 
/* center mobile toggle inside navbar */ 
.mobile-toggle { align-self: center; } 
 
@media (max-width: 1024px) { 
 .hero-title { font-size: 3rem; } 
 .info-grid { grid-template-columns: repeat(2, 1fr); } 
 .info-item { border-bottom: 1px solid #eee; } 
 .prices-container { grid-template-columns: 1fr; gap: 40px; } 
 .prices-container.extended { grid-template-columns: repeat(2, 1fr); } 
 .price-card.featured { transform: scale(1); } 
 .about-grid { grid-template-columns: 1fr; } 
 .service-content { grid-template-columns: 1fr; } 
 .benefits-grid { grid-template-columns: 1fr; } 
 
 /* allow nav links to wrap and avoid overflow on medium screens */ 
 .nav-links { 
 flex-wrap: wrap; 
 justify-content: center; 
 gap: 12px; 
 } 
} 
 
@media (max-width: 768px) { 
 .navbar { padding: 0 10px; } 
 .nav-links { display: none; } 
 .mobile-toggle { display: block; } 
 
 .hero-title { font-size: 2.2rem; } 
 .hero-btns { flex-direction: column; width: 100%; } 
 .btn { width: 100%; } 
 
 .info-overlap { margin-top: 0; margin-bottom: 2rem; } 
 .info-grid { grid-template-columns: 1fr; border-radius: 0; } 
 .info-item { border-right: none; } 
 
 .footer-grid { grid-template-columns: 1fr; } 
 
 .city-cloud-container { padding: 20px; } 
 .city-badge { font-size: 0.8rem; padding: 8px 12px; } 
 
 .prices-container.extended { grid-template-columns: 1fr; } 
 .calculator-container { padding: 30px; } 
 /* уменьшим размер суммы на мобильных для корректного отображения */ 
 .price-qty { font-size: 1.6rem; } 
 /* уменьшим размер суммы на мобильных для корректного отображения (только для главной) */ 
 .home .price-qty { font-size: 1.6rem; } 
 
 /* отступ для кнопки 'Все цены' на мобильных */ 
 .prices-cta { margin-top: 20px; } 
 
 /* скрываем телефон в шапке на мобильных — показываем в меню */ 
 .header-phone { display: none !important; } 
 
 /* мобильный номер внутри меню */ 
 .nav-links .mobile-phone { 
 display: block; 
 color: var(--color-primary); 
 font-weight: 800; 
 padding: 10px 12px; 
 border-radius: 8px; 
 text-decoration: none; 
 } 
 .nav-links .mobile-phone::before { content: '\f095'; font-family: 'Font Awesome 5 Free'; font-weight: 900; margin-right: 8px; } 
 
 /* мобильное меню (открытое состояние) */ 
 .nav-links.open { 
 display: flex; 
 position: absolute; 
 top: var(--header-height); 
 right: 12px; 
 left: 12px; 
 background: var(--white); 
 flex-direction: column; 
 gap: 8px; 
 padding: 14px; 
 border-radius: 12px; 
 box-shadow: var(--shadow-card); 
 z-index: 1200; 
 } 
 .nav-links.open a { color: var(--color-primary); padding: 10px 12px; border-radius: 8px; } 
 .nav-links.open a:hover { background: var(--color-bg-light); color: var(--color-secondary); transform: none; } 
 .mobile-toggle.open { transform: rotate(90deg); color: var(--color-accent); } 
} 
 
/* Force images to be smaller on narrow screens (both width and height) */ 
@media (max-width: 768px) { 
 .service-content { grid-template-columns: 1fr; gap: 18px; } 
 .service-image { display: flex; justify-content: center; align-items: center; } 
 .service-image img { 
 width: 90%; 
 max-width: 320px; 
 height: auto; 
 object-fit: cover; 
 display: block; 
 margin: 0 auto; 
 } 
 .service-info { width: 100%; } 
 .service-info .btn { width: 100%; } 
} 
 
@media (max-width: 480px) { 
 .service-image img { 
 width: 92%; 
 max-width: 260px; 
 } 
} 
 
/* Service info adaptive tweaks for tablet/mobile */ 
@media (max-width: 1024px) { 
 .service-info { 
 padding: 8px 12px; 
 box-sizing: border-box; 
 } 
 .service-info h2 { 
 font-size: 1.6rem; 
 line-height: 1.15; 
 margin-bottom: 8px; 
 } 
 .accent-underline { width: 56px; height: 3px; margin-bottom: 12px; } 
 .service-info p { 
 font-size: 0.98rem; 
 margin-bottom: 12px; 
 color: var(--color-text); 
 } 
 .service-features { margin: 12px 0; } 
 .service-features li { font-size: 0.95rem; gap: 10px; } 
 .service-features li i { font-size: 1.05rem; } 
 .service-info .btn { width: 100%; padding: 12px 16px; } 
} 
 
@media (max-width: 480px) { 
 .service-info h2 { font-size: 1.3rem; } 
 .service-info p { font-size: 0.95rem; } 
 .service-features li { font-size: 0.9rem; } 
 .service-info .btn { font-size: 0.95rem; padding: 10px 14px; } 
} 
 
/* Strong mobile overrides to ensure .service-image container shrinks to image */ 
@media (max-width: 768px) { 
 .service-content { display: flex !important; flex-direction: column !important; gap: 12px !important; } 
 .service-image { width: 100% !important; max-width: 360px !important; margin: 0 auto !important; } 
 .service-image, .service-image img { box-sizing: border-box !important; } 
 .service-image img { width: 100% !important; max-width: 360px !important; height: auto !important; } 
 .service-image.appear, .service-image.animate { display: block !important; } 
} 

/* ============================================================
   LOCAL OVERRIDES — header, mobile menu, home, blocks, cards
   ============================================================ */

html {
    scroll-padding-top: var(--header-height);
    overflow-x: hidden;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    max-width: 100%;
    padding-top: var(--header-height);
}

body.menu-open {
    overflow: hidden;
}

body.home .hero {
    margin-top: calc(-1 * var(--header-height));
}

/* Inner pages: hero under fixed header, content below header */
body:not(.home) .hero {
    margin-top: calc(-1 * var(--header-height));
    align-items: flex-start;
}

body:not(.home) .hero .slide {
    display: flex;
    align-items: flex-start;
}

body:not(.home) .hero .slide > .container {
    width: 100%;
}

body:not(.home) .hero-content.hero-pad {
    padding-top: calc(var(--header-height) + 40px);
}

body:not(.home) .hero-badge {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .home .hero-desc {
        display: none;
    }

    body:not(.home) .hero .slide {
        flex-direction: column;
        align-items: stretch;
    }

    body:not(.home) .hero .slide > .container {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    body:not(.home) .hero-content.hero-pad {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    body:not(.home) .hero-btns {
        display: none;
    }

    body:not(.home) .hero-scroll-hint--inline {
        display: flex;
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        align-self: center;
        margin-top: auto;
        margin-bottom: 36px;
        padding: 20px 0 0;
        flex-shrink: 0;
        z-index: 3;
    }
}

.container {
    min-width: 0;
}

header {
    right: 0;
    max-width: 100%;
    background: rgba(11, 37, 69, 0.98);
}

header .navbar {
    position: relative;
    height: 100%;
}

.hero {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    max-width: 100%;
}

.about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-content {
        order: 1;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .city-cloud-container {
        order: 2;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-section.container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-section {
        padding-top: 2.5rem;
        padding-bottom: 3rem;
    }

    .about-content h2 {
        font-size: 1.75rem;
    }

    .about-content .btn {
        width: 100%;
    }
}

.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.footer-phone-link:hover {
    color: var(--color-accent);
}

.f-contact .footer-phones {
    margin-top: 2px;
}

.footer-phones-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-phones-item > i {
    margin-top: 4px;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.35); }
}

.pulse-effect {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 35, 60, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(239, 35, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 35, 60, 0); }
}

/* Burger */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.burger-btn:hover,
.burger-btn:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    outline: none;
}

.burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    transform-origin: center;
    pointer-events: none;
}

.burger-btn.open {
    background: rgba(239, 35, 60, 0.15);
    border-color: var(--color-accent);
}

.burger-btn.open .burger-line { background: var(--color-accent); }
.burger-btn.open .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.open .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-backdrop {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 37, 69, 0.55);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.visible {
    display: block;
    opacity: 1;
}

@media (max-width: 1024px) {
    .navbar { padding: 0 10px; max-width: 100%; min-width: 0; }
    .nav-links { display: none !important; }
    .burger-btn.mobile-toggle { display: flex !important; }
    .header-contact { display: none; }
    .header-phone { display: none !important; }

    .nav-links .mobile-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        color: var(--color-primary);
        font-weight: 800;
        padding: 12px 14px;
        border-radius: 10px;
        text-decoration: none;
    }

    .mobile-phones {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-bottom: 10px;
    }

    .nav-links .mobile-phone .phone-number {
        font-size: 1.1rem;
    }

    .nav-links .mobile-phone .phone-status-text {
        font-size: 0.68rem;
    }

    .nav-links.open {
        display: flex !important;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        flex: none;
        min-width: 0;
        background: var(--white);
        flex-direction: column;
        gap: 4px;
        padding: 16px 20px 32px;
        z-index: 1100;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        animation: menuSlideIn 0.28s ease;
    }

    .nav-links.open a {
        display: block;
        width: 100%;
        color: var(--color-primary);
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 1.05rem;
        font-weight: 600;
        border-bottom: 1px solid #edf2f4;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .nav-links.open .mobile-phones .mobile-phone {
        margin-bottom: 0;
        text-align: center;
        font-size: 1.05rem;
        border: 2px solid #e2e8f0;
        background: #f8fafc;
        color: var(--color-primary);
    }

    .nav-links.open .mobile-phones .mobile-phone--primary {
        border: 2px solid #e2e8f0;
        border-left: 4px solid #16a34a;
        background: #fff;
    }

    .nav-links .mobile-phone .phone-status-text--online {
        color: #166534;
        background: #dcfce7;
    }

    .nav-links .mobile-phone .phone-status-text--offline {
        color: #475569;
        background: #e2e8f0;
    }

    .nav-links .mobile-phone .phone-status--online {
        background: #16a34a;
        box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.28);
    }

    .nav-links .mobile-phone .phone-status--offline {
        background: #64748b;
        box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.22);
    }
}

@keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Price cards */
.prices-container {
    align-items: stretch;
    padding-top: 28px;
    padding-bottom: 12px;
}

.price-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 440px;
}

.price-card.featured {
    transform: none;
    padding-top: 48px;
    min-height: 460px;
}

.price-card.featured:hover {
    transform: translateY(-8px);
}

.price-list {
    flex: 1;
    margin-bottom: 8px;
}

.btn.full {
    margin-top: auto;
}

.btn-cta {
    overflow: hidden;
    max-width: 100%;
}

/* Hero live timer */
.home .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Hero ECG animation */
.hero-ecg {
    position: absolute;
    top: 18%;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.hero-ecg svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ecg-path {
    stroke: #C9A961;
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    filter: drop-shadow(0 0 8px #C9A961);
    animation: draw-ecg 4s linear infinite;
}

@keyframes draw-ecg {
    to { stroke-dashoffset: -2000; }
}

.hero .slide > .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-ecg {
        top: 22%;
        height: 60px;
        opacity: 0.35;
    }
}

.hero-timer-bridge {
    position: relative;
    z-index: 12;
    flex-shrink: 0;
    margin-top: auto;
    padding-bottom: 28px;
    pointer-events: none;
}

.hero-timer-bridge .hero-timer {
    pointer-events: auto;
}

.home .info-overlap {
    margin-top: 0;
}

.hero-timer-wrap {
    display: none;
}

.hero-timer {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 18px 28px;
    border-radius: 20px;
    background: rgba(11, 37, 69, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    box-shadow: 0 12px 40px rgba(11, 37, 69, 0.25);
    animation: fadeInUp 1s ease 1.1s both;
    max-width: 100%;
}

.hero-timer-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.35);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #b8f5d0;
    flex: 0 0 auto;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.8);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

.hero-timer-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 4px;
}

.hero-timer-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    transition: transform 0.35s ease, color 0.35s ease;
}

.hero-timer-value.is-updating {
    transform: scale(1.1);
    color: #ff8a9a;
}

.hero-timer-unit {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.hero-timer-divider {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* Why ScormedDS */
.why-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(239, 35, 60, 0.35);
    background: rgba(239, 35, 60, 0.06);
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title .section-eyebrow {
    display: inline-flex;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.why-section .section-title,
.process-section .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-section .section-title h2,
.process-section .section-title h2 {
    display: block;
    width: 100%;
}

.section-eyebrow i { animation: pulse-dot 2s infinite; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid #edf2f4;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(239, 35, 60, 0.2);
}

.why-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: rgba(19, 64, 116, 0.08);
    border: 1px solid rgba(19, 64, 116, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 1.6rem;
}

.why-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.why-unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 12px;
    min-height: 1.1rem;
}

.why-label {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0;
}

/* Process */
.process-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--color-primary) 0%, #0d1f3a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(239, 35, 60, 0.12), transparent 50%);
    pointer-events: none;
}

.section-title--light h2,
.section-title--light p { color: var(--white); }

.section-title--light p { opacity: 0.8; }

.section-eyebrow--light {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: #ffd6dc;
}

.process-timeline {
    position: relative;
    max-width: 820px;
    margin: 48px auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--color-accent) 8%, var(--color-accent) 92%, transparent);
}

.process-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.process-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-accent);
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(239, 35, 60, 0.08);
}

.process-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--white);
}

.process-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.process-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

/* FAQ, Key takeaways, tables, chief doctor */
.faq-section {
    padding: 4rem 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid var(--color-accent);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--color-text);
    margin: 0;
}

.key-takeaways {
    background: #f0f7ff;
    border-left: 4px solid var(--color-primary);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 2rem auto;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.key-takeaways.container {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Hero scroll hint (prices and similar pages) */
.hero--with-scroll {
    position: relative;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    text-align: center;
    transition: opacity 0.35s ease, color 0.25s ease;
}

.hero-scroll-hint:hover {
    color: var(--white);
}

.hero-scroll-hint-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-scroll-hint-icon {
    font-size: 1.35rem;
    line-height: 1;
    animation: scroll-hint-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-hint-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.45; }
}

.hero-scroll-hint.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-scroll-hint--inline {
    display: none;
}

@media (max-width: 768px) {
    .hero-scroll-hint {
        bottom: 18px;
    }

    .key-takeaways {
        margin-left: auto;
        margin-right: auto;
        padding: 20px 18px;
    }
}

.key-takeaways h2,
.key-takeaways h3 {
    color: var(--color-primary);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style: disc;
}

.key-takeaways li {
    margin-bottom: 8px;
    color: var(--color-text);
}

.price-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.price-table th,
.price-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #edf2f4;
    font-size: 0.95rem;
}

.price-table th {
    background: var(--color-primary);
    color: var(--white);
    font-weight: 700;
}

.price-table tr:last-child td { border-bottom: none; }

.chief-doctor-section {
    padding: 4rem 0;
    background: var(--color-bg-light);
}

.chief-doctor-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    max-width: 900px;
    margin: 0 auto;
}

.chief-doctor-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.chief-doctor-role {
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .hero-timer-bridge {
        padding-bottom: 20px;
        margin-top: auto;
    }

    .hero-timer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        padding: 16px 18px;
    }

    .hero-timer-divider { display: none; }

    .hero-timer-item {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 2px 12px;
        align-items: center;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-timer-item:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-timer-label { grid-column: 1 / -1; }
    .hero-timer-value { font-size: 2rem; }
    .hero-timer-unit { margin-top: 0; text-align: right; }

    .hero-timer-live {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .price-card,
    .price-card.featured {
        min-height: 0;
        padding: 28px 24px;
    }

    .price-card.featured { padding-top: 40px; }
}

@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-value { font-size: 2.2rem; }
    .process-step { grid-template-columns: 48px 1fr; gap: 16px; }
    .process-node { width: 48px; height: 48px; font-size: 0.95rem; }
    .process-timeline::before { left: 23px; }
    .chief-doctor-card { grid-template-columns: 1fr; text-align: center; }
    .chief-doctor-photo { margin: 0 auto; }
}
 
