/* ============================================
   WHAT WE DO — V2
   Redesigned with focus hierarchy
   ============================================ */

.wwd-section {
    padding: 80px 5%;
    background: #f9fafb;
}

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

.wwd-header {
    text-align: center;
    margin-bottom: 56px;
}

.wwd-header p.wwd-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(28, 63, 96, 0.4);
    margin: 0 0 12px 0;
}

.wwd-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-color, #1c3f60);
    margin: 0 0 16px 0;
}

.wwd-header p.wwd-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Featured Row (Fire Rebuilds + Design Partnerships) --- */
.wwd-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.wwd-featured-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
}

.wwd-featured-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wwd-featured-card:hover img {
    transform: scale(1.04);
}

.wwd-featured-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 46, 71, 0.85) 0%, rgba(21, 46, 71, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.wwd-featured-card__content {
    position: relative;
    z-index: 2;
    padding: 32px;
    width: 100%;
}

.wwd-featured-card__badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 4px 12px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}

.wwd-featured-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.wwd-featured-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 16px 0;
    max-width: 420px;
}

.wwd-featured-card__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.wwd-featured-card:hover .wwd-featured-card__link {
    color: #fff;
}

/* --- Services Grid (remaining services) --- */
.wwd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wwd-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.wwd-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.wwd-card__image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.wwd-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wwd-card:hover .wwd-card__image img {
    transform: scale(1.06);
}

.wwd-card__body {
    padding: 20px 24px 24px;
}

.wwd-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color, #1c3f60);
    margin: 0 0 8px 0;
}

.wwd-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .wwd-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wwd-section {
        padding: 56px 5%;
    }

    .wwd-header {
        margin-bottom: 36px;
    }

    .wwd-header h2 {
        font-size: 1.6rem;
    }

    .wwd-featured {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .wwd-featured-card {
        min-height: 260px;
    }

    .wwd-featured-card h3 {
        font-size: 1.25rem;
    }

    .wwd-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .wwd-card__body {
        padding: 16px 18px 20px;
    }

    .wwd-card h3 {
        font-size: 0.78rem;
    }

    .wwd-card p {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .wwd-grid {
        grid-template-columns: 1fr;
    }
}
