/* ── Features Widget ────────────────────────────────────────────────────────── */
.neweb-features {
    padding: 10rem 1.5rem 14rem;
    overflow: hidden;
}

.neweb-features__inner {
    max-width: 72rem;
    margin: 0 auto;
}

.neweb-features__header {
    text-align: center;
    margin-bottom: 5rem;
}

.neweb-features__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-brand);
}

.neweb-features__heading {
    margin-top: 1.25rem;
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
}

[data-theme="dark"] .neweb-features__heading {
    color: #ffffff;
}

.neweb-features__heading-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: #94a3b8;
}

[data-theme="dark"] .neweb-features__heading-italic {
    color: #64748b;
}

/* Hero card */
.neweb-features__hero-card {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.5s;
}

.neweb-features__hero-card:hover {
    border-color: rgba(36, 127, 195, 0.3);
    box-shadow: 0 20px 40px rgba(36, 127, 195, 0.04);
}

[data-theme="dark"] .neweb-features__hero-card {
    border-color: #334155;
    background: rgba(30, 41, 59, 0.5);
}

.neweb-features__hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.neweb-features__hero-content {
    padding: 2rem 3rem;
}

.neweb-features__hero-image {
    padding: 1rem 1rem 1rem 0;
}

.neweb-features__hero-image-wrap {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .neweb-features__hero-image-wrap {
    border-color: #334155;
}

.neweb-features__hero-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

/* Icon box */
.neweb-features__icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(36, 127, 195, 0.1);
    color: var(--color-brand);
    margin-bottom: 1.25rem;
    transition: background 0.3s;
}

.neweb-features__card:hover .neweb-features__icon-box {
    background: rgba(36, 127, 195, 0.15);
}

/* Card titles */
.neweb-features__card-title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.neweb-features__card-title--lg {
    font-size: 1.5rem;
}

[data-theme="dark"] .neweb-features__card-title {
    color: #ffffff;
}

.neweb-features__card-desc {
    margin-top: 0.75rem;
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    max-width: 28rem;
}

[data-theme="dark"] .neweb-features__card-desc {
    color: #94a3b8;
}

/* Grid cards */
.neweb-features__grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.neweb-features__grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.neweb-features__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.5s;
}

.neweb-features__card:hover {
    border-color: rgba(36, 127, 195, 0.3);
    box-shadow: 0 20px 40px rgba(36, 127, 195, 0.04);
}

[data-theme="dark"] .neweb-features__card {
    border-color: #334155;
    background: rgba(30, 41, 59, 0.5);
}

@media (max-width: 768px) {
    .neweb-features__hero-grid {
        grid-template-columns: 1fr;
    }
    .neweb-features__hero-image {
        padding: 0 1rem 1rem;
    }
    .neweb-features__grid-3 {
        grid-template-columns: 1fr;
    }
    .neweb-features__grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .neweb-features__grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
