
.services-section {
    width: 100%;
    background-color: #000;
    padding: 60px 0 40px 0;
    box-sizing: border-box;
}

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

.services-content {
    text-align: center;
}

.services-title {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-description {
    max-width: 800px;
    margin: 0 auto;
}

.services-description p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.services-list li {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 15px;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #f4a300;
    transition: all 0.3s ease;
}

.services-list li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.services-list strong {
    color: #f4a300;
    font-weight: 600;
}

.services-guarantee {
    font-size: 20px;
    color: #f4a300 !important;
    font-weight: 600;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(244, 163, 0, 0.1);
    border-radius: 8px;
    border: 2px solid rgba(244, 163, 0, 0.3);
}

/* Планшеты */
@media (max-width: 1024px) {
    .services-title {
        font-size: 28px;
    }
    
    .services-description p,
    .services-list li {
        font-size: 16px;
    }
}

/* Мобильные */
@media (max-width: 600px) {
    .services-title {
        font-size: 24px;
    }
    
    .services-description p,
    .services-list li {
        font-size: 15px;
    }
    
    .services-list li {
        padding: 12px 15px;
        margin-bottom: 12px;
    }
    
    .services-guarantee {
        font-size: 18px;
        padding: 15px;
    }
}

/*Преимущества*/
.benefits-section {
    width: 100%;
    background-color: #fff;
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.benefits-title {
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #222;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.benefits-title .highlight {
    font-weight: 300;
    color: #555;
    letter-spacing: 0.5px;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    font-family: 'Roboto', sans-serif;
    color: #000;
    gap: 15px;
}

.benefit-item img {
    width: 70px;
    min-width: 70px;
    margin-top: 4px; /* Для выравнивания с текстом */
}

.benefit-item p {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #212123;
    letter-spacing: 0.3px;
    margin: 0;
    text-align: left;
}

/* Планшеты */
@media (max-width: 1024px) {
    .benefits-title {
        font-size: 28px;
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильные */
@media (max-width: 600px) {
    .benefits-title {
        font-size: 24px;
        text-align: center;
    }

    .benefit-item img {
        width: 40px;
        min-width: 40px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        justify-content: center;
        text-align: center;
    }

    .benefit-item p {
        text-align: left;
    }
}

/***************/

/* ТОП пар */
.crypto-pairs-section {
    width: 100%;
    background-image: url('../assets/img/backgroundcrypto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    box-sizing: border-box;
}

.crypto-pairs-container {
    max-width: 1200px; /* Как в cities-container */
    margin: 0 auto;
    padding: 0 20px; /* Важно */
    box-sizing: border-box;
}

.crypto-pairs-title {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
    text-align: left; /* Заголовок остаётся слева */
}

.crypto-pairs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.crypto-pair-button {
    display: block;
    background-color: #121212;
    color: orange;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 22px 0;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    min-width: 200px; /* Фиксируем минимальную ширину кнопки */
}

.crypto-pair-button:hover {
    background-color: #1f1f1f;
}

/* Планшеты */
@media (max-width: 1024px) {
    .crypto-pairs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .crypto-pairs-title {
        text-align: center;
    }
}

/* Мобильные */
@media (max-width: 600px) {
    .crypto-pairs-grid {
        grid-template-columns: 1fr;
    }

    .crypto-pairs-title {
        text-align: center;
        font-size: 28px;
    }

    .crypto-pair-button {
        padding: 20px 0;
        font-size: 16px;
    }
}
/***********/
/* Отзывы */
.reviews-section {
    width: 100%;
    background-color: #f3f3f3;
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.reviews-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.review-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Очень важно, чтобы текст прижимался к верху */
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-name {
    font-weight: bold;
    color: #000;
    font-size: 16px;
}

.review-date {
    font-size: 14px;
    color: #999;
}

.review-stars {
    color: #f1c40f;
    font-size: 18px;
    margin: 5px 0 15px 0; /* Сверху 5px, снизу 15px */
    display: flex;
    align-items: center;
}

.review-text {
    font-size: 15px;
    line-height: 1.7; /* Немного увеличиваем высоту строки для лучшего читаемости */
    color: #333;
}

/* Планшеты */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильные */
@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-title {
        text-align: center;
        font-size: 28px;
    }
}
/************/
/* Категории */
.services-section {
    width: 100%;
    background-image: url('../assets/img/backgroundcrypto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.services-title {
    font-size: 36px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

.services-description {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
}

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

.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-content {
    text-align: center;
    color: white;
    position: relative;
}

.service-icon {
    width: 40px;
    margin-bottom: 15px;
}

.service-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.service-button {
    display: inline-block;
    background-color: orange;
    color: black;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .service-button {
    opacity: 1;
}

/* Планшеты */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-title {
        text-align: center;
        font-size: 28px;
    }
}

/* Мобильные */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 250px;
    }
}
/************/
/* Новости */
.news-section {
    background-color: #fff;
    padding: 60px 20px;
}

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

.news-title {
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #222;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.news-title-light {
    font-weight: 300;
}

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

.news-card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: auto;
}

.news-image {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.news-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 15px 0 10px 0;
}

.news-card-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.news-card-description {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    flex-grow: 1;
    word-break: break-word;
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-title {
        font-size: 28px;
        text-align: center;
    }
}

/* Адаптация для мобильных устройств */
@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-title {
        font-size: 24px;
        text-align: center;
    }

    .news-card-title {
        font-size: 16px;
        text-align: center;
    }

    .news-card-date {
        font-size: 12px;
        text-align: center;
    }

    .news-card-description {
        font-size: 13px;
        text-align: center;
    }
}
/********/
/**** Лучшие предложения *****/
.best-offer-section {
    background-image: url('../assets/img/backgroundcrypto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
}

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

.best-offer-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.bitcoin-logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.best-offer-text {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.best-offer-text .highlight {
    font-weight: 700;
}

.offer-button {
    background-color: #f4a300;
    color: #000;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

.offer-button:hover {
    background-color: #e69500;
}

/* Адаптация планшеты */
@media (max-width: 1024px) {
    .best-offer-container {
        flex-direction: column;
        text-align: center;
    }

    .best-offer-left {
        justify-content: center;
        margin-bottom: 20px;
    }

    .best-offer-text {
        font-size: 28px;
    }
}

/* Адаптация телефоны */
@media (max-width: 600px) {
    .best-offer-text {
        font-size: 24px;
    }

    .offer-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/**********/
/*** Контакты ********/
.crypto-info-section {
    background-color: #fff;
    padding: 60px 20px;
}

.crypto-info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.crypto-info-content {
    flex: 2;
    max-height: 700px;
    overflow-y: auto;
    padding-right: 10px;
}

.crypto-info-content h1,
.crypto-info-content h2 {
    font-family: 'Roboto', sans-serif;
    color: #222;
    margin-bottom: 20px;
}

.crypto-info-content h1 {
    font-size: 32px;
    font-weight: 700;
}

.crypto-info-content h2 {
    font-size: 28px;
    font-weight: 600;
}

.crypto-info-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-list {
    list-style: disc inside;
    margin-bottom: 20px;
}

.info-list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.info-image {
    width: 100%;
    max-width: 450px;
    border-radius: 4px;
    margin: 20px 0;
}

.contact-info {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

.crypto-info-content::-webkit-scrollbar {
    width: 6px;
}

.crypto-info-content::-webkit-scrollbar-thumb {
    background-color: #76b52f;
    border-radius: 4px;
}

.crypto-info-content::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* Адаптация */
@media (max-width: 1024px) {
    .crypto-info-container {
        flex-direction: column;
    }

    .crypto-info-content {
        max-height: none;
        padding-right: 0;
    }

    .contact-info {
        margin-top: 30px;
    }
}

@media (max-width: 600px) {
    .crypto-info-content h1 {
        font-size: 24px;
    }

    .crypto-info-content h2 {
        font-size: 20px;
    }

    .info-image {
        max-width: 100%;
    }

    .crypto-info-content p,
    .info-list li {
        font-size: 14px;
    }
}

.contact-info {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    min-width: 350px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    box-sizing: border-box;
}

.contact-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #000000;
    text-align: center;
    border-bottom: 2px solid #f5a800;
    padding-bottom: 15px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 12px 15px;
    background-color: #fafafa;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-list li:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-list li img {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-list li span {
    font-size: 15px;
    color: #000000;
    line-height: 1.4;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Специальные стили для адреса */
.contact-list li:last-child span {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    font-weight: 400;
}

.contact-list li a {
    color: #f5a800;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-list li a:hover {
    color: #e69500;
    text-decoration: underline;
}

.contact-button {
    background: linear-gradient(135deg, #f5a800 0%, #e69500 100%);
    color: #000000;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    width: calc(100% - 40px);
    max-width: 320px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 168, 0, 0.3);
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.contact-button:hover {
    background: linear-gradient(135deg, #e69500 0%, #d68500 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 168, 0, 0.4);
    color: #000000;
}
/***************/
/******* FAQ *********/
.faq-wrapper {
    background-color: #fff; /* Белый фон на всю ширину блока */
    padding: 60px 20px;
}

.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0; /* Внутренние отступы оставляем здесь */
}

.faq-title {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #000;
}

.faq-item {
    background-color: #f7f7f7;
    border-radius: 5px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-item.active {
    background-color: #f1f1f1;
}

.faq-question {
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000; /* Чёрный текст */
}

.faq-answer {
    padding: 0 20px 20px 20px;
    display: none;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.faq-toggle {
    font-size: 24px;
    transition: transform 0.3s;
    color: #000; /* Чёрный значок */
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Адаптация */
@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
    }
    .faq-answer {
        font-size: 14px;
    }
}
/****************/