/* ================================
   Базовые стили
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #333;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.section {
    padding: 60px 0;
}

.section:last-child {
    margin-bottom: 0 !important;
}

/* ================================
   Шапка сайта
   ================================ */

.site-header {
    background: #1a1a2e;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden; 
}

.logo-icon img {
    width: 24px; 
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1); 
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-sans);
}

.logo-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    width: 100%;
}

/* ================================
   Футер сайта
   ================================ */

.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 80px 0 0 0; /* ← Увеличили верхний отступ (было 60px) */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* ← Добавили черту сверху */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden; 
}

.footer-logo-icon img {
    width: 24px; 
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1); 
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-sans);
}

.footer-logo-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-top: 16px; /* ← Отступ сверху у описания */
}

.footer-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    font-family: var(--font-sans);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.footer-contact-link,
.footer-contact-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: #fff;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* ← Черта над копирайтом */
    padding: 24px 0;
    margin-top: 40px; /* ← Отступ сверху */
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* ================================
   Главная страница - Hero
   ================================ */

.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f6f8 0%, #e8eaf0 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-sans);
}

.hero-description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: #1a1a2e;
    color: #fff;
}

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

.btn-outline {
    background: #fff;
    color: #1a1a2e;
    border: 1px solid #1a1a2e;
}

.btn-outline:hover {
    background: #f5f6f8;
}

.hero-phone {
    font-size: 14px;
    color: #666;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================
   Главная страница - Trust
   ================================ */

.trust-section {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.section-subtitle {
    font-size: 16px;
    color: #666;
}

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

.trust-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.2s ease;
}

.trust-card:hover {
    background: #f0f1f3;
    transform: translateY(-4px);
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: #1a1a2e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
}

.trust-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.trust-card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
/* ================================
   Главная страница - Services
   ================================ */

#services.services-section .services-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 120px;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* ← Сильное смещение вправо (было 1fr 1.2fr) */
    gap: 120px; /* ← Большой отступ между текстом и картинкой (было 80px) */
    align-items: center;
}

.services-content {
    max-width: 500px;
    justify-self: start; /* ← Текст слева */
}

.section-description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 32px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
}

#services.services-section {
    background: #f8f9fa;
    padding: 100px 0 !important;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: #1a1a2e;
    flex-shrink: 0;
}

.services-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    justify-self: end; 
    width: 100%;
    max-width: 500px; 
}

.services-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================
   Главная страница - How
   ================================ */

.how-section {
    padding: 80px 0;
    background: #fff;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.how-step {
    text-align: center;
    padding: 0 20px;
}

.step-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    font-family: var(--font-sans);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.step-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ================================
   Страница контактов
   ================================ */

.contacts-page {
    padding: 60px 0;
    background: #fff;
}

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

.contacts-form-section {
    max-width: 500px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: var(--font-sans);
}

.page-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-input {
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1);
}

.form-input.input-error {
    border-color: #dc3545;
}

.form-input::placeholder {
    color: #999;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    font-size: 13px;
    color: #dc3545;
    margin-top: 4px;
}

.submit-btn {
    padding: 16px 32px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

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

.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.contacts-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-family: var(--font-sans);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.contact-card:hover {
    background: #f0f1f3;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    border-radius: 10px;
    color: #fff;
}

.icon-placeholder {
    width: 24px;
    height: 24px;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.contact-text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.contact-values {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-link {
    font-size: 16px;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #3a3a5e;
}

.service-247-card {
    padding: 30px;
    background: #1a1a2e;
    border-radius: 12px;
    color: #fff;
}

.service-247-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.service-247-text {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0 0 0;
    background: #f8f9fa;
}

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

.faq-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.faq-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.5;
    margin: 0;
    font-family: var(--font-sans);
}

.faq-answer {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ================================
   Страница услуг
   ================================ */

.services-header {
    padding: 60px 0 40px 0;
    background: linear-gradient(135deg, #f5f6f8 0%, #e8eaf0 100%);
    text-align: center;
}

.services-catalog {
    padding: 60px 0;
    background: #fff;
}

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

.service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: #1a1a2e;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: #f0f1f3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.service-list li {
    font-size: 14px;
    color: #333;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.service-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1a1a2e;
    font-weight: bold;
}

.pricing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #e0e0e0;
}

.pricing-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 32px;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.pricing-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.pricing-note {
    font-size: 13px;
    color: #999;
    margin-top: 24px;
    font-style: italic;
}

/* ================================
   Страница калькулятора
   ================================ */

.calculator-page {
    padding: 60px 0;
    background: #f8f9fa;
}

.calculator-header {
    max-width: 600px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.calculator-header .page-title {
    font-family: var(--font-sans);
}

.calculator-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid #e0e0e0;
    border-top-color: #1a1a2e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.calculator-loading p {
    color: #666;
    font-size: 14px;
}

.success-message {
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px auto;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-family: var(--font-sans);
}

.success-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}


.cta-section {
    position: relative;
    z-index: 1;
    overflow: hidden; 
}

.site-footer {
    position: relative;
    z-index: 2;
}


.cta-content {
    transform: translateZ(0);
}


.cta-section::before,
.cta-section::after {
    content: none !important;
    display: none !important;
}

/* Кнопка мобильного меню (гамбургер) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Анимация гамбургера в крестик */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Адаптив для хедера */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-nav {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: #1a1a2e;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .header-nav.active {
        transform: translateY(0);
    }
    
    .header-nav .nav-link {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
        text-align: center;
    }
    
    .header-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .header-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* Скрываем логотип на очень маленьких экранах для экономии места */
@media (max-width: 380px) {
    .logo-subtitle {
        display: none;
    }
    
    .logo-name {
        font-size: 18px;
    }
}

.footer-mobile-hide {
    display: block;
}

.footer-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .footer-mobile-hide {
        display: none;
    }
    
    .footer-mobile-only {
        display: block;
    }
    
    .footer-description {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .footer-contact-text,
    .footer-contact-link {
        font-size: 13px;
    }
    
    .footer-column-title {
        font-size: 15px;
    }
    
    .footer-nav-link {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }
    
    .footer-description {
        font-size: 12px;
    }
    
    .footer-contact-text,
    .footer-contact-link {
        font-size: 12px;
    }
    
    .footer-logo-name {
        font-size: 18px;
    }
    
    .footer-logo-subtitle {
        font-size: 12px;
    }
}


/* ================================
   Главная страница - Мобильная адаптация (360px - 480px)
   ================================ */

@media (max-width: 480px) {
    /* Hero Section */
    .hero-section {
        padding: 60px 0 40px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    
    .hero-title {
        font-size: 32px; 
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%; 
        justify-content: center;
        padding: 14px 24px;
    }
    
    .hero-phone {
        font-size: 13px;
        text-align: center;
    }
    
    .hero-image {
        order: -1; 
        max-width: 100%;
    }

    /* Trust Section */
    .trust-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px; 
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .trust-card {
        padding: 24px 20px;
    }
    
    .trust-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }
    
    .trust-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .trust-card-title {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .trust-card-text {
        font-size: 14px;
    }

    /* Services Section (на главной) */
    #services.services-section {
        padding: 25px 0 !important;
    }
    
    #services.services-section .services-grid {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 40px;
    }
    
    .services-content {
        max-width: 100%;
        justify-self: center;
    }
    
    .section-description {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .services-list {
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .service-item {
        font-size: 14px;
    }
    
    .check-icon {
        width: 18px;
        height: 18px;
    }
    
    .services-image {
        max-width: 100%;
        justify-self: center;
    }

    /* How We Work */
    .how-section {
        padding: 20px 0;
    }
    
    .how-grid {
        grid-template-columns: 1fr; 
        gap: 32px;
        margin-top: 40px;
    }
    
    .how-step {
        padding: 0;
    }
    
    .step-number {
        font-size: 36px; 
        margin-bottom: 12px;
    }
    
    .step-title {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .step-text {
        font-size: 14px;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 26px; 
        margin-bottom: 14px;
    }
    
    .cta-text {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-white,
    .btn-outline-white {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* Очень маленькие экраны (320px - 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 25px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .trust-card,
    .service-card {
        padding: 20px 16px;
    }
    
    .step-number {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .btn,
    .form-input,
    .submit-btn {
        min-height: 44px; 
    }
    

    .trust-card:hover,
    .service-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    #services.services-section {
        background: #f8f9fa;
        margin: 0 12px;
        border-radius: 12px;
        padding: 40px 0 !important; 
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        overflow: hidden;
    }

    #services.services-section .container {
        padding: 0 20px; 
    }

    #services.services-section .section-header {
        margin-bottom: 24px; 
    }

    #services.services-section .section-title {
        font-size: 22px; 
        line-height: 1.3;
    }

    #services.services-section .section-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 24px; 
        color: #555;
    }


    #services.services-section .services-list {
        margin-bottom: 28px; 
        gap: 14px; 
    }

    #services.services-section .service-item {
        font-size: 15px; 
        line-height: 1.5;
        gap: 10px;
    }

    #services.services-section .btn {
        margin-bottom: 20px;
    }

    #services.services-section .services-image {
        margin-top: 8px;
        border-radius: 8px;
    }
}

/* ================================
   Секция с ботом
   ================================ */

.bot-cta-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.bot-cta-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.bot-cta-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: #1a1a2e;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.bot-cta-icon svg {
    width: 40px;
    height: 40px;
}

.bot-cta-content {
    flex: 1;
}

.bot-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.3;
}

.bot-cta-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.bot-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bot-cta-button:hover {
    background: #2a2a3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.3);
}

.bot-cta-button svg {
    transition: transform 0.2s ease;
}

.bot-cta-button:hover svg {
    transform: translateX(4px);
}

/* Адаптив для бота */
@media (max-width: 768px) {
    .bot-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .bot-cta-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .bot-cta-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .bot-cta-title {
        font-size: 22px;
    }
    
    .bot-cta-text {
        font-size: 14px;
    }
    
    .bot-cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bot-cta-section {
        padding: 40px 0;
    }
    
    .bot-cta-card {
        padding: 24px;
    }
    
    .bot-cta-title {
        font-size: 20px;
    }
    
    .bot-cta-text {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .bot-cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}
