/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #26a2ed;
    --primary-dark: #0f3bb7;
    --secondary: #0b2b4f;
    --gray-light: #f8fafc;
    --gray-border: #eef2f6;
    --text-dark: #1e2a3a;
    --text-muted: #5a6a7a;	
    --shadow-sm: 0 5px 20px rgba(0,20,40,0.05);
    --shadow-md: 0 10px 30px rgba(0,20,40,0.08);
    --shadow-lg: 0 20px 40px rgba(0,20,40,0.12);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.5;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ЗАГОЛОВКИ ===== */
h1, h2, h3, h4, .section-title, .card-title, .modal-title {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
    color: var(--secondary);
}

h1 {
    font-size: 48px;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(38,162,237,0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(38,162,237,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-gray {
    background: var(--gray-light);
    color: var(--secondary);
    border: 1px solid var(--gray-border);
}

.btn-gray:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* ===== ШАПКА ===== */
header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo svg {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.2s;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    margin-right: 20px;
}

/* ===== ПОДВАЛ ===== */
footer {
    background: var(--gray-light);
    padding: 40px 0 20px;
    margin-top: 80px;
    border-top: 1px solid var(--gray-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo svg {
    height: 40px;
    width: auto;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-contacts p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.footer-contacts i {
    width: 20px;
    color: var(--primary);
}

.footer-contacts a {
    color: var(--text-dark);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
    border: 1px solid var(--gray-border);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--gray-border);
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
/* Герой */
.hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 56px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Сетка преимуществ (4 карточки) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.benefit-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Секции с карточками (практики, центры компетенций) */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Слайдер выполненных проектов */
.slider-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.slider-content {
    flex: 1;
    padding: 40px;
}

.slider-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.slider-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.slider-tag {
    background: var(--primary);
    color: #fff;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 14px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-border);
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.slider-nav button:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== СТРАНИЦА "О КОМПАНИИ" ===== */
.about-text {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}

.about-text h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.advantage-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 32px;
    margin: 0 auto 20px;
}

.quote-section {
    background: var(--gray-light);
    padding: 60px 0;
    margin: 40px 0;
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-prefix {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.quote-main {
    font-size: 32px;
    font-weight: 300;
    color: var(--secondary);
    line-height: 1.4;
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

.quote-main:before,
.quote-main:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary);
    top: 50%;
    transform: translateY(-50%);
}

.quote-main:before { left: -20px; }
.quote-main:after { right: -20px; }

@media (max-width: 768px) {
    .quote-main:before,
    .quote-main:after { display: none; }
    .quote-main { font-size: 26px; }
}

/* ===== СТРАНИЦА "ОТРАСЛИ" ===== */
.sector-section {
    margin-bottom: 80px;
}

.sector-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.sector-number {
    font-size: 120px;
    font-weight: 300;
    color: var(--primary);
    opacity: 0.3;
    line-height: 0.8;
}

.sector-title {
    font-size: 42px;
    font-weight: 300;
    color: var(--secondary);
}

.sector-content {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}

.sector-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.sector-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.sector-list {
    list-style: none;
    margin: 20px 0;
}

.sector-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.sector-list li:before {
    content: '•';
    color: var(--primary);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.sector-adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.sector-adv-card {
    background: var(--gray-light);
    border-radius: 16px;
    padding: 25px;
    transition: var(--transition);
}

.sector-adv-card:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}


/* ===== СТРАНИЦА "УСЛУГИ" ===== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== СТРАНИЦА "КОНТАКТЫ" ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contacts-info {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}

.contacts-info h2 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-dark);
}

.contact-item i {
    width: 24px;
    color: var(--primary);
    font-size: 18px;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form {
    margin-top: 40px;
}

.contact-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-border);
    border-radius: 12px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.contacts-map {
    height: 100%;
    min-height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15,59,183,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    max-width: 500px;
    width: 90%;
    animation: modalFade 0.3s;
}

.modal-content {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #9da0a9;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-title {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 20px;
    text-align: center;
}

.modal-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-submit:hover {
    background: var(--primary-dark);
}

.form-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 15px;
}

.success-message {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

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

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .header-phone { display: none; }
    .benefits-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-contacts p { justify-content: center; }
    .sector-header { flex-direction: column; text-align: center; gap: 10px; }
    .sector-number { font-size: 80px; }
    .sector-title { font-size: 32px; }
    .service-item { flex-direction: column; align-items: center; text-align: center; }
}	

/* ===== Фильтр услуг ===== */
.services-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}
.filter-btn {
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    border-radius: 30px;
    padding: 8px 22px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== Сетка услуг ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.service-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.service-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 20px;
    font-weight: 300;
    color: var(--secondary);
    margin-bottom: 15px;
    line-height: 1.4;
}
.service-card .short-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.service-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.service-card .btn-small {
    padding: 8px 18px;
    font-size: 14px;
}

/* ===== Аккордеон для FAQ ===== */
.accordion-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid var(--gray-border);
    overflow: hidden;
}
.accordion-header {
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary);
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}
.accordion-header:hover {
    background: var(--gray-light);
}
.accordion-header:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    transition: transform 0.3s;
}
.accordion-item.active .accordion-header:after {
    transform: rotate(180deg);
}
.accordion-content {
    padding: 0 25px 20px;
    display: none;
    color: var(--text-muted);
    line-height: 1.7;
}
.accordion-item.active .accordion-content {
    display: block;
}

/* ===== Секция "Как мы работаем" ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.step-item {
    text-align: center;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.step-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}
.step-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Контактная форма внизу ===== */
.contact-section {
    background: var(--gray-light);
    padding: 60px 0;
    border-radius: 40px;
    margin: 60px 0;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

/* ===== Адаптивность (дополнения к общим стилям) ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .filter-btn { font-size: 14px; padding: 6px 16px; }
}
