@import "../service-detail-template.css?v=20260707-mobile-sticky-title";

.hero-opti-image img {
    object-position: center 38%;
}

.section-intro p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--hero-subtitle);
    font-size: 1rem;
    line-height: 1.6;
}

body.dark-theme .section-pretitle {
    color: var(--brand-blue-circuit);
}

.problems-section {
    background: var(--background-box);
    border-radius: 16px;
    padding: clamp(34px, 4vw, 56px);
    margin: 0 auto var(--section-spacing-y);
}

.problems-header {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.problems-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 800;
    color: var(--hero-title);
    margin-bottom: 14px;
    line-height: 1.2;
}

.problems-left p,
.problem-content p,
.problems-cta p,
.simple-card p {
    color: var(--hero-subtitle);
}

.problems-right {
    display: flex;
    justify-content: center;
}

.problems-stat {
    width: 100%;
    max-width: 260px;
    text-align: center;
    background: rgba(30, 30, 226, 0.06);
    border: 1px solid rgba(30, 30, 226, 0.12);
    border-radius: 16px;
    padding: 30px;
}

body.dark-theme .problems-stat {
    background: rgba(39, 153, 255, 0.08);
    border-color: rgba(39, 153, 255, 0.18);
}

.stat-number {
    color: var(--brand-sapphire);
    font-size: clamp(2.7rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

body.dark-theme .stat-number {
    color: var(--brand-blue-circuit);
}

.stat-text {
    color: var(--hero-subtitle);
    font-size: 0.95rem;
    font-weight: 700;
}

.problems-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px;
}

body.dark-theme .problem-item {
    background: #1e1e1e;
    border-color: #334155;
}

.problem-check {
    width: 30px;
    height: 30px;
    background: var(--brand-error);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.problem-check i {
    color: white;
    font-size: 0.86rem;
}

.problem-content h3 {
    color: var(--hero-title);
    font-size: 1.04rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.problem-content p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.problems-cta {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.problems-cta p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.problems-cta strong {
    color: var(--hero-title);
}

.info-banner {
    margin: 38px auto 0;
    max-width: 800px;
    color: var(--hero-subtitle);
    background: rgba(30, 30, 226, 0.06);
    border: 1px solid rgba(30, 30, 226, 0.12);
    border-radius: 12px;
    padding: 18px 24px;
    text-align: center;
    line-height: 1.6;
}

body.dark-theme .info-banner {
    background: rgba(39, 153, 255, 0.08);
    border-color: rgba(39, 153, 255, 0.18);
}

.price-quote-label {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.use-cases-section,
.brands-section {
    padding: var(--section-padding-y) var(--layout-gutter);
}

.section-white {
    padding: var(--section-padding-y) 0;
}

.cards-grid-3,
.cards-grid-4 {
    display: grid;
    gap: 24px;
    margin: 0 auto;
}

.cards-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1100px;
}

.cards-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1200px;
}

.simple-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 26px;
}

body.dark-theme .simple-card {
    background: #1e1e1e;
    border-color: #334155;
}

.card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(30, 30, 226, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-theme .card-icon {
    background: rgba(255, 255, 255, 0.08);
}

.card-icon i {
    color: var(--brand-sapphire);
    font-size: 1.35rem;
}

body.dark-theme .card-icon i {
    color: var(--brand-blue-circuit);
}

.simple-card h3 {
    color: var(--hero-title);
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.simple-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.brand-carousel {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 34px 20px;
    overflow: hidden;
}

body.dark-theme .brand-carousel {
    background: #1e1e1e;
    border-color: #334155;
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: clamp(28px, 4vw, 56px);
    width: max-content;
    align-items: center;
}

.carousel-track img {
    height: 48px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.72;
}

body.dark-theme .carousel-track img {
    filter: brightness(0) invert(1);
    opacity: 0.52;
}

@media (max-width: 992px) {
    .problems-header,
    .image-text-content {
        grid-template-columns: 1fr;
    }

    .cards-grid-3,
    .cards-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .problems-section {
        padding: 28px 20px;
    }

    .problems-list,
    .cards-grid-3,
    .cards-grid-4 {
        grid-template-columns: 1fr;
    }

    .problem-item,
    .simple-card {
        padding: 20px;
    }

    .price-quote-label {
        font-size: 2.45rem;
    }
}

@media (max-width: 576px) {
    .problems-section {
        padding: 24px 16px;
    }

    .problem-item {
        gap: 12px;
    }

    .brand-carousel {
        padding: 26px 16px;
    }

    .carousel-track img {
        height: 40px;
    }
}
