/* ==========================================================================
   /stroitelstvo/ — ИИ для строительных компаний
   Mobile-first, brand: #c495ff, font: Inter
   ========================================================================== */

/* --- Hero --- */
/* Inherits background: #c495ff from base .gg--home__hero (app.min.css) */

.gg--home__hero:has(.str-hero) {
    padding-top: 8rem;
}

.str-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 2.5rem;
    text-align: center;
}

.str-hero__content {
    max-width: 640px;
}

.str-hero__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin: 0 0 1rem;
}

.str-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.str-hero__cta .gg--btn_home__hero__call {
    display: inline-block;
}

.str-hero__image {
    margin-top: 1.5rem;
    max-width: 280px;
}

.str-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

@media (min-width: 768px) {
    .str-hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 3.5rem 0;
        gap: 2rem;
    }
    .str-hero__content {
        flex: 1;
        max-width: 540px;
    }
    .str-hero__image {
        flex-shrink: 0;
        margin-top: 0;
        max-width: 240px;
    }
}

@media (min-width: 1024px) {
    .str-hero__image {
        max-width: 280px;
    }
    .str-hero__title {
        font-size: 2.5rem;
    }
    .str-hero__subtitle {
        font-size: 1.2rem;
    }
}

/* --- Intro (SEO text) --- */
.str-intro {
    padding: 2.5rem 0 1rem;
}

.str-intro__inner {
    max-width: 720px;
    margin: 0 auto;
}

.str-intro__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem;
    text-align: center;
}

.str-intro p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.str-intro p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .str-intro {
        padding: 3.5rem 0 1.5rem;
    }
    .str-intro__title {
        font-size: 1.6rem;
    }
    .str-intro p {
        font-size: 1rem;
    }
}

/* --- Tasks (what can be automated) --- */
.str-tasks {
    padding: 2rem 0;
}

.str-tasks__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.str-tasks__card {
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 24px rgba(196, 149, 255, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.str-tasks__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.str-tasks__icon {
    margin-bottom: 0.75rem;
}

.str-tasks__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.str-tasks__text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .str-tasks {
        padding: 3rem 0;
    }
    .str-tasks__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .str-tasks__card {
        padding: 1.5rem;
    }
}

/* --- Pains --- */
.str-pains {
    padding: 2.5rem 0 2rem;
}

.str-pains__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.str-pains__card {
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.str-pains__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.str-pains__icon {
    margin-bottom: 0.75rem;
}

.str-pains__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.str-pains__text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .str-pains {
        padding: 3.5rem 0 3rem;
    }
    .str-pains__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .str-pains__card {
        padding: 1.5rem;
    }
}

/* --- Qualifying --- */
.str-qualifying {
    padding: 2rem 0 2.5rem;
}

.str-qualifying__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.str-qualifying__card {
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.str-qualifying__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.str-qualifying__card--yes {
    border-left-color: #22c55e;
}

.str-qualifying__card--no {
    border-left-color: #ef4444;
}

.str-qualifying__heading {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.str-qualifying__icon {
    flex-shrink: 0;
}

.str-qualifying__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.str-qualifying__list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.str-qualifying__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #94a3b8;
}

@media (min-width: 768px) {
    .str-qualifying {
        padding: 3rem 0;
    }
    .str-qualifying__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .str-qualifying__card {
        padding: 1.5rem;
    }
}

/* --- Case / Value Anchoring --- */
.str-case {
    padding: 2rem 0;
}

.str-case__inner {
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(196, 149, 255, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.str-case__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #c495ff;
    margin-bottom: 0.5rem;
}

.str-case__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.25rem;
}

.str-case__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.str-case__block {
    padding: 1rem;
    background: #f8efff;
    border-radius: 8px;
}

.str-case__block-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c495ff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.str-case__block p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.str-case__anchor {
    padding: 1rem;
    background: #f3e8ff;
    border-radius: 8px;
    border-left: 3px solid #c495ff;
}

.str-case__anchor-text {
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .str-case {
        padding: 3rem 0;
    }
    .str-case__inner {
        padding: 2rem;
    }
    .str-case__title {
        font-size: 1.5rem;
    }
    .str-case__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* --- Offer Stack --- */
.str-offer {
    padding: 2.5rem 0 2rem;
}

.str-offer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.str-offer__subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.str-offer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.str-offer__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.str-offer__list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #c495ff;
    font-size: 1.25rem;
    line-height: 1.2;
}

.str-offer__list--bonus li::before {
    content: '\2713';
    color: #22c55e;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .str-offer {
        padding: 3.5rem 0 3rem;
    }
    .str-offer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* --- Guarantees --- */
.str-guarantees {
    padding: 2.5rem 0 2rem;
}

.str-guarantees__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.str-guarantees__card {
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.str-guarantees__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.str-guarantees__icon {
    margin-bottom: 0.75rem;
}

.str-guarantees__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.str-guarantees__text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .str-guarantees {
        padding: 3.5rem 0;
    }
    .str-guarantees__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .str-guarantees__card {
        padding: 1.5rem;
    }
}

/* --- Process Steps --- */
.str-process {
    padding: 2.5rem 0 2rem;
}

.str-process__steps {
    max-width: 640px;
    margin: 1.5rem auto 0;
}

.str-process__step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.str-process__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #c495ff;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.str-process__step-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem;
}

.str-process__step-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .str-process {
        padding: 3.5rem 0;
    }
}

/* --- Final CTA --- */
.str-final-cta {
    padding: 2.5rem 0;
}

.str-final-cta__inner {
    background: #c495ff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.str-final-cta__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.25rem;
    line-height: 1.3;
}

.str-final-cta__buttons {
    margin-bottom: 1rem;
}

.str-final-cta__fallback {
    margin-top: 0.5rem;
}

.str-final-cta__link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.str-final-cta__link:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .str-final-cta__inner {
        padding: 3rem 2rem;
    }
    .str-final-cta__title {
        font-size: 1.75rem;
    }
}

/* --- Urgency --- */
.str-urgency {
    padding: 1.5rem 0;
    text-align: center;
}

.str-urgency__inner {
    display: inline-block;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
}

.str-urgency__inner p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #92400e;
    margin: 0;
}

/* --- FAQ override for stroitelstvo --- */
.gg--home_faq__section--stroitelstvo {
    padding-bottom: 1rem;
}
