/*
Theme Name: NBL
Theme URI:
Author:
Author URI:
Description:
Tags:
Version: 1.3
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License:
License URI:
Text Domain: nbl
*/

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

body {
    font-family: Inter, sans-serif;
    background: #f5f9ff;
    color: #1e2f3e;
    line-height: 1.5
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px
}

.main-header {
    background: linear-gradient(135deg, #0a2e3f, #1a4d6b);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1)
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px
}

.logo h1 {
    font-size: 1.7rem;
    font-weight: 800
}

.logo p {
    font-size: .85rem;
    opacity: .9
}

.contact-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.contact-highlight {
    background: rgba(255, 255, 255, .15);
    padding: 8px 18px;
    border-radius: 60px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px
}

.social-icons a {
    transition: opacity .2s;
    display: inline-block
}

.social-icons a:hover {
    opacity: .7
}

.whatsapp-icon {
    color: #25D366;
    font-size: 1.6rem
}

.telegram-icon {
    color: #26A5E4;
    font-size: 1.6rem
}

.gosuslugi-icon {
    height: 28px;
    width: auto;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    background: transparent
}

.hero {
    background: linear-gradient(120deg, #eef4fc, #fff);
    padding: 60px 0 40px
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px
}

.hero-text {
    flex: 1.2
}

.hero-text h1 {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1b5e6e, #1a4d6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px
}

.hero-badge {
    display: inline-block;
    background: #e2f0ea;
    color: #1e6f5c;
    padding: 6px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: 20px
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap
}

.stat {
    background: #fff;
    padding: 12px 24px;
    border-radius: 32px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .03);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px
}

.hero-image {
    flex: .8;
    text-align: center
}

.hero-image i {
    font-size: 8rem;
    color: #1a4d6b;
    opacity: .8
}

.section {
    padding: 70px 0
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #1b5e6e
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px
}

.card {
    background: #fff;
    border-radius: 32px;
    padding: 30px 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .05);
    transition: .25s;
    border: 1px solid #e2edf2;
    text-align: center
}

.card:hover {
    transform: translateY(-6px)
}

.card-icon {
    font-size: 2.8rem;
    color: #1a4d6b;
    margin-bottom: 20px
}

.price-table {
    background: #fff;
    border-radius: 32px;
    overflow-x: auto;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .05)
}

.price-table table {
    min-width: 500px;
    width: 100%;
    border-collapse: collapse
}

th,
td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid #e2edf2
}

th {
    background: #e9f3f0;
    font-weight: 700;
    color: #145c4a
}

.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px
}

.form-card {
    flex: 1;
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .04);
    border: 1px solid #dfecef
}

.form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px
}

input,
textarea {
    width: 100%;
    padding: 14px 18px;
    margin: 12px 0;
    border: 1px solid #cbdde6;
    border-radius: 40px;
    font-family: inherit;
    font-size: 1rem
}

.btn {
    background: #1a4d6b;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: .2s
}

.btn:hover {
    background: #0f3a52
}

.legal-note {
    font-size: .7rem;
    color: #6f8f9c;
    text-align: center;
    margin-top: 16px
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px
}

.review {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .03)
}

.alert-warning,
.alert-danger {
    padding: 20px;
    border-radius: 24px;
    margin: 30px 0
}

.alert-warning {
    background: #fff3e0;
    border-left: 6px solid #e67e22
}

.alert-danger {
    background: #ffeae9;
    border-left: 6px solid #c0392b
}

.info-block {
    background: #eaf5f0;
    padding: 28px;
    border-radius: 28px;
    margin: 30px 0
}

footer {
    background: #0a2e3a;
    color: #bdd3de;
    padding: 40px 0;
    text-align: center
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center
}

.footer-links a {
    transition: opacity .2s;
    display: inline-block
}

.footer-links a:hover {
    opacity: .7
}

.footer-wa {
    color: #25D366;
    font-size: 1.8rem
}

.footer-tg {
    color: #26A5E4;
    font-size: 1.8rem
}

.footer-gos {
    height: 32px;
    width: auto;
    vertical-align: middle;
    filter: brightness(0) invert(1)
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        padding: 40px 0 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-flex {
        flex-direction: column;
        text-align: center;
    }

    .contact-links {
        justify-content: center;
    }

    .hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 12px;
    }

    .stat {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-image i {
        font-size: 5rem;
    }

    .hero-image p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .cards-grid {
        gap: 20px;
    }

    .card {
        padding: 20px 16px;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .two-columns {
        flex-direction: column;
        gap: 20px;
    }

    .form-card {
        padding: 24px;
    }

    .form-card h3 {
        font-size: 1.4rem;
    }

    .reviews-grid {
        gap: 20px;
    }

    .review {
        padding: 20px;
    }

    .info-block,
    .alert-warning,
    .alert-danger {
        padding: 20px;
        margin: 20px 0;
    }

    .info-block h3 {
        font-size: 1.3rem;
    }

    .seo-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .seo-card {
        padding: 20px !important;
    }

    .seo-card h3 {
        font-size: 1.3rem !important;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    input,
    textarea {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    footer {
        padding: 30px 0;
    }

    footer p {
        font-size: 0.8rem;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-wa,
    .footer-tg {
        font-size: 1.5rem;
    }

    .footer-gos {
        height: 28px;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .stat i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card-icon {
        font-size: 2.2rem;
    }

    .stat {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-stats {
        gap: 8px;
    }

    .price-table table {
        min-width: 400px;
    }

    th,
    td {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .form-card h3 {
        font-size: 1.2rem;
    }

    .info-block h3 {
        font-size: 1.2rem;
    }
}

/*.wpcf7-response-output,*/
.wpcf7-spinner {
    display: none !important;
}

.wpcf7-form-control.wpcf7-submit.has-spinner.btn {
    margin: 0;
}
