/* Медиа-запросы для адаптивности */

/* Планшеты и небольшие ноутбуки (до 1024px) */
@media (max-width: 1024px) {
    .firstCategory-container {
        padding: 15px;
    }

    .firstCategory-header h1 {
        font-size: 28px;
    }

    .firstCategory-header p {
        font-size: 18px;
    }

    .firstCategory-hero h2 {
        font-size: 28px;
    }

    .firstCategory-hero p {
        font-size: 16px;
    }

    .firstCategory-section-title {
        font-size: 28px;
    }

    .firstCategory-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .firstCategory-advantages-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .firstCategory-testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .firstCategory-contact-info {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
}

/* Планшеты (до 768px) */
@media (max-width: 768px) {
    .firstCategory-container {
        padding: 10px;
    }

    .firstCategory-header {
        padding: 30px 15px;
    }

    .firstCategory-header h1 {
        font-size: 28px;
    }

    .firstCategory-header p {
        font-size: 16px;
    }

    .firstCategory-hero {
        padding: 40px 15px;
        margin: 20px 0;
    }

    .firstCategory-hero h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .firstCategory-hero p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .firstCategory-cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }

    .firstCategory-section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .firstCategory-products {
        margin: 40px 0;
    }

    .firstCategory-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }

    .firstCategory-product-card {
        border-width: 2px;
    }

    .firstCategory-product-image {
        height: 220px;
    }

    .firstCategory-product-info {
        padding: 20px;
    }

    .firstCategory-product-title {
        font-size: 28px;
    }

    .firstCategory-product-description {
        font-size: 15px;
    }

    .firstCategory-product-price {
        font-size: 24px;
    }

    .firstCategory-advantages {
        padding: 40px 15px;
        margin: 30px 0;
    }

    .firstCategory-advantages-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    .firstCategory-advantage-item {
        padding: 20px;
    }

    .firstCategory-advantage-item h4 {
        font-size: 28px;
    }

    .firstCategory-advantage-item p {
        font-size: 15px;
    }


    .firstCategory-testimonials {
        padding: 40px 15px;
        margin: 30px 0;
    }

    .firstCategory-testimonials h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .firstCategory-testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .firstCategory-testimonial-card {
        padding: 25px;
    }

    .firstCategory-testimonial-text {
        font-size: 15px;
    }

    .firstCategory-testimonial-author {
        font-size: 16px;
    }

    .firstCategory-contact {
        padding: 40px 15px;
        margin: 30px 0;
    }

    .firstCategory-contact h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .firstCategory-contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    .firstCategory-contact-item {
        padding: 20px;
    }

    .firstCategory-contact-item h3 {
        font-size: 28px;
    }

    .firstCategory-contact-item p {
        font-size: 16px;
    }

    .firstCategory-faq {
        padding: 40px 15px;
        margin: 30px 0;
    }

    .firstCategory-faq h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .firstCategory-faq-question {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .firstCategory-faq-question h3 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .firstCategory-faq-icon {
        position: absolute;
        right: 20px;
        top: 20px;
        margin-left: 0;
    }

    .firstCategory-faq-answer {
        padding: 20px;
    }

    .firstCategory-faq-answer p {
        font-size: 15px;
    }

    .firstCategory-specifications {
        padding: 40px 15px;
        margin: 30px 0;
    }

    .firstCategory-table-wrapper {
        margin-top: 30px;
    }

    .firstCategory-specs-table {
        min-width: 700px;
        font-size: 14px;
    }

    .firstCategory-specs-table th {
        padding: 12px;
        font-size: 12px;
    }

    .firstCategory-specs-table td {
        padding: 12px;
        font-size: 13px;
    }

    .firstCategory-specs-table td strong {
        font-size: 14px;
    }
}

/* Мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .firstCategory-container {
        padding: 5px;
    }

    .firstCategory-header {
        padding: 25px 10px;
    }

    .firstCategory-header h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .firstCategory-header p {
        font-size: 14px;
    }

    .firstCategory-hero {
        padding: 30px 10px;
        margin: 15px 0;
    }

    .firstCategory-hero h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .firstCategory-hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .firstCategory-cta-button {
        padding: 10px 25px;
        font-size: 16px;
    }

    .firstCategory-section-title {
        font-size: 24px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .firstCategory-section-title::after {
        width: 80px;
        height: 3px;
    }

    .firstCategory-products {
        margin: 30px 0;
    }

    .firstCategory-product-grid {
        gap: 15px;
        margin: 25px 0;
    }

    .firstCategory-product-image {
        height: 180px;
    }

    .firstCategory-product-info {
        padding: 15px;
    }

    .firstCategory-product-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .firstCategory-product-description {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .firstCategory-product-price {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .firstCategory-product-button {
        padding: 10px 20px;
        font-size: 15px;
    }

    .firstCategory-advantages {
        padding: 30px 10px;
        margin: 25px 0;
    }

    .firstCategory-advantages-list {
        gap: 15px;
        margin-top: 20px;
    }

    .firstCategory-advantage-item {
        padding: 15px;
    }

    .firstCategory-advantage-item h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .firstCategory-advantage-item p {
        font-size: 14px;
    }


    .firstCategory-testimonials {
        padding: 30px 10px;
        margin: 25px 0;
    }

    .firstCategory-testimonials h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .firstCategory-testimonial-grid {
        gap: 15px;
    }

    .firstCategory-testimonial-card {
        padding: 20px;
    }

    .firstCategory-testimonial-text {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .firstCategory-testimonial-author {
        font-size: 15px;
    }

    .firstCategory-contact {
        padding: 30px 10px;
        margin: 25px 0;
    }

    .firstCategory-contact h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .firstCategory-contact-info {
        gap: 15px;
        margin-top: 20px;
    }

    .firstCategory-contact-item {
        padding: 15px;
    }

    .firstCategory-contact-item h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .firstCategory-contact-item p {
        font-size: 15px;
    }

    .firstCategory-faq {
        padding: 30px 10px;
        margin: 25px 0;
    }

    .firstCategory-faq h2 {
        font-size: 24px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .firstCategory-faq h2::after {
        width: 80px;
        height: 3px;
    }

    .firstCategory-faq-item {
        margin-bottom: 15px;
    }

    .firstCategory-faq-question {
        padding: 15px;
        padding-right: 40px;
    }

    .firstCategory-faq-question h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .firstCategory-faq-icon {
        font-size: 20px;
        right: 15px;
        top: 15px;
    }

    .firstCategory-faq-answer {
        padding: 15px;
    }

    .firstCategory-faq-answer p {
        font-size: 14px;
    }

    .firstCategory-specifications {
        padding: 30px 10px;
        margin: 25px 0;
    }

    .firstCategory-table-wrapper {
        margin-top: 25px;
    }

    .firstCategory-specs-table {
        min-width: 600px;
        font-size: 12px;
    }

    .firstCategory-specs-table th {
        padding: 10px 8px;
        font-size: 11px;
    }

    .firstCategory-specs-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .firstCategory-specs-table td strong {
        font-size: 13px;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .firstCategory-header h1 {
        font-size: 20px;
    }

    .firstCategory-header p {
        font-size: 12px;
    }

    .firstCategory-hero h2 {
        font-size: 20px;
    }

    .firstCategory-hero p {
        font-size: 13px;
    }

    .firstCategory-cta-button {
        padding: 8px 20px;
        font-size: 14px;
    }

    .firstCategory-section-title {
        font-size: 20px;
    }

    .firstCategory-product-title {
        font-size: 16px;
    }

    .firstCategory-product-description {
        font-size: 13px;
    }

    .firstCategory-product-price {
        font-size: 20px;
    }

    .firstCategory-advantage-item h4 {
        font-size: 15px;
    }

    .firstCategory-advantage-item p {
        font-size: 13px;
    }


    .firstCategory-testimonials h2,
    .firstCategory-contact h2,
    .firstCategory-faq h2 {
        font-size: 20px;
    }

    .firstCategory-faq-question h3 {
        font-size: 15px;
    }

    .firstCategory-specs-table {
        min-width: 550px;
        font-size: 11px;
    }

    .firstCategory-specs-table th {
        padding: 8px 6px;
        font-size: 10px;
    }

    .firstCategory-specs-table td {
        padding: 8px 6px;
        font-size: 11px;
    }

    .firstCategory-specs-table td strong {
        font-size: 12px;
    }
}

/* Ландшафтная ориентация на мобильных устройствах */
@media (max-width: 768px) and (orientation: landscape) {
    .firstCategory-header {
        padding: 20px 15px;
    }

    .firstCategory-hero {
        padding: 30px 15px;
    }

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

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

}

/* Высокие экраны (более 1440px) */
@media (min-width: 1440px) {
    .firstCategory-container {
        max-width: 1400px;
    }

    .firstCategory-header h1 {
        font-size: 28px;
    }

    .firstCategory-header p {
        font-size: 22px;
    }

    .firstCategory-hero h2 {
        font-size: 28px;
    }

    .firstCategory-section-title {
        font-size: 28px;
    }

    .firstCategory-specs-table {
        font-size: 15px;
    }

    .firstCategory-specs-table th {
        padding: 18px;
        font-size: 15px;
    }

    .firstCategory-specs-table td {
        padding: 18px;
    }

    .firstCategory-specs-table td strong {
        font-size: 17px;
    }
}