/* ============================================ */
/* SERVICES SECTION - COMPACT SINGLE ROW       */
/* All 4 cards fit in one row at 100% zoom     */
/* ============================================ */

.services {
    padding: 50px 0; /* Even more compact */
    background: var(--bg-light-parchment);
}

.services .container {
    max-width: 1400px; /* Wider to fit all cards */
    margin: 0 auto;
    padding: 0 20px;
}

.services h2 {
    text-align: center;
    margin-bottom: 6px;
    color: var(--brand-brown-dark);
    font-size: 2rem;
}

.services .section-subtitle {
    text-align: center;
    color: var(--brand-brown-medium);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* ============================================ */
/* SERVICES GRID - FORCE 4 COLUMNS             */
/* ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force exactly 4 columns */
    gap: 18px; /* Tighter gap */
    max-width: 100%;
    margin: 0 auto;
}

/* ============================================ */
/* SERVICE CARDS - ULTRA COMPACT               */
/* ============================================ */

.service-card {
    background: white;
    border-radius: 10px;
    padding: 20px 18px; /* Tighter padding */
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
}

.service-card.featured {
    border-color: var(--brand-brown-medium);
    background: linear-gradient(135deg, #fff 0%, var(--bg-light-parchment) 100%);
}

/* ============================================ */
/* CARD CONTENT - COMPACT                       */
/* ============================================ */

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-brown-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.service-icon i {
    font-size: 1.3rem;
    color: white;
}

.service-card h3 {
    color: var(--brand-brown-dark);
    font-size: 1.15rem; /* Smaller title */
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.2;
}

.service-card > p {
    color: var(--brand-brown-medium);
    margin-bottom: 12px;
    font-size: 0.85rem; /* Smaller text */
    line-height: 1.3;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.service-card ul li {
    padding: 4px 0; /* Very tight spacing */
    color: #555;
    font-size: 0.82rem; /* Smaller list items */
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.service-card ul li::before {
    content: "→";
    color: var(--brand-brown-medium);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================================ */
/* BUTTONS - COMPACT                            */
/* ============================================ */

.service-card .btn {
    width: 100%;
    text-align: center;
    padding: 9px 16px; /* Smaller button */
    font-size: 0.88rem;
    margin-top: auto;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card .btn-primary {
    background: var(--brand-brown-medium);
    color: white;
    border: 2px solid var(--brand-brown-medium);
}

.service-card .btn-primary:hover {
    background: var(--brand-brown-dark);
    border-color: var(--brand-brown-dark);
}

.service-card .btn-outline {
    background: transparent;
    color: var(--brand-brown-medium);
    border: 2px solid var(--brand-brown-medium);
}

.service-card .btn-outline:hover {
    background: var(--brand-brown-medium);
    color: white;
}

/* ============================================ */
/* RESPONSIVE DESIGN                            */
/* ============================================ */

/* Large tablets - 2 columns */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablets - 2 columns */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .services {
        padding: 50px 0;
    }

    .services h2 {
        font-size: 1.9rem;
    }

    .services .section-subtitle {
        margin-bottom: 30px;
        font-size: 0.95rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 22px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card > p {
        font-size: 0.95rem;
    }

    .service-card ul li {
        font-size: 0.9rem;
        padding: 6px 0;
    }

    .service-icon {
        width: 55px;
        height: 55px;
    }

    .service-icon i {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 40px 0;
    }

    .service-card {
        padding: 18px;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card > p {
        font-size: 0.9rem;
    }

    .service-card ul li {
        font-size: 0.85rem;
    }
}