/*
Theme Name: My Custom Theme
Theme URI: https://example.com/
Author: Valeri
Description: Моя собственная тема WordPress
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mytheme
*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 4vw;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fff;
}

section {
    max-width: 1200px;
    margin: 140px auto;
    padding: 0px 15px;
}

h1,
h2,
h3 {
    font-weight: 700;
    color: #111;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
}

/* Кнопки */
.btn-primary {
    background: #3b82f6;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
    display: inline-block;
}

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

.btn-secondary {
    background: #fdfdfb;
    border: 1px solid #ccc;
    color: #111;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
}

.accent {
    color: #3b82f6;
}

/* Первый экран */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Второй экран — боли */
.pain-points {
    background: #fff;
}

.pain-points .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pain-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pain-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.pain-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.pain-card .subtitle {
    font-size: 1rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 15px;
}

.pain-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.pain-card ul li {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 6px;
}


/* Третий экран — как мы работаем */
.insightcraft-delivers {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

.insightcraft-delivers h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 700;
    color: #111;
}

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

.card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    color: #222;
    cursor: pointer;
    border: 1px solid #ccc;
}

.card .icon {
    margin-bottom: 20px;
    color: #111;
}

.card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    transition: color 0.3s ease;
}

.card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* 🎨 Ховер-эффект */
.card:hover {
    background: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.card:hover .icon,
.card:hover h3,
.card:hover p {
    color: #fff;
}

.card:hover svg {
    stroke: #fff;
}

.how-it-works {
    padding: 60px 0px 0px;
    background: #fff;
    font-family: Arial, sans-serif;
}

.how-it-works .container {
    max-width: 800px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 700;
    color: #111;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-card {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border-radius: 14px;
    padding: 20px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    color: #222;
    border: 1px solid #ccc;
}

.step-card .icon {
    flex-shrink: 0;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    transition: color 0.3s ease;
}

.step-card p {
    margin: 0;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* 🎨 Hover эффект в стиле InsightCraft */
.step-card:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-card:hover h3,
.step-card:hover p,
.step-card:hover .icon {
    color: #fff;
}

.step-card:hover svg {
    stroke: #fff;
}

.different {
    padding: 60px 0px 0px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

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

.different-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.different-card .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    color: #3b82f6;
}

.different-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.different-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.4;
}

.different-card:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-4px);
}

.different-card:hover p,
.different-card:hover h3 {
    color: #fff;
}

.different-card:hover .icon {
    color: #fff;
}


/* Четвёртый экран — форма захвата */
.cta {
    text-align: center;
    background: #fff;
    /* белый фон */
    color: #111;
    /* тёмный текст */
    margin-bottom: 50px;
}

.cta-title {
    text-align: left !important;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #4b5563;
}

/* .cta-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1 1 200px;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.cta-form input:focus {
    border-color: #3b82f6;
}

.btn-primary2 {
    background: #3b82f6;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary2:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.dis-none {
    height: 1px;
    visibility: hidden;
    margin: 0;
} */


/* Контейнер формы */
.wpcf7 form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Первая строка: два поля */
.wpcf7 form p:nth-child(1),
.wpcf7 form p:nth-child(2) {
    flex: 1 1 calc(50% - 7.5px); /* два поля на ширину контейнера с учетом gap */
    margin: 0;
}

/* Вторая строка: третье поле и кнопка */
.wpcf7 form p:nth-child(3),
.wpcf7 form p:nth-child(4) {
    flex: 1 1 calc(50% - 7.5px);
    margin: 0;
}

/* Поля ввода */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus {
    border-color: #3b82f6;
}

/* Кнопка */
.wpcf7 input[type="submit"].btn-primary2 {
    width: 100%;
    background: #3b82f6;
    color: #fff;
    padding: 14px 0;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
    border: none;
    cursor: pointer;
}

.wpcf7 input[type="submit"].btn-primary2:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
    .wpcf7 form p {
        flex: 1 1 100%;
    }
}



@media (max-width: 900px) {
    h1 {
        font-size: 2.2rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .deliver-items {
        flex-direction: row;
        justify-content: space-between;
    }

    .deliver-item {
        flex: 1;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    section {
        margin: 80px auto;
    }

    h1 {
        text-align: center;
    }

    h3 {
        text-align: center;
    }

    p {
        text-align: center;
    }

    h2 {
        font-size: 25px !important;
    }

    .cta-title {
        text-align: center !important;
    }
}
