/* ========== SERVICES — BIG SQUARE CARDS ========== */
.services-section {
    position: relative;
    z-index: 10;
    background: var(--services-bg);
    border-radius: 40px 40px 0 0;
    margin-top: -60px;
    padding-top: 20px;
    box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.5);
}

.services-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* -- Header -- */
.services-header {
    padding: 120px 60px 70px;
}

.services-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
}

.services-header p {
    color: #999;
    font-size: 1.1rem;
    margin-top: 22px;
    max-width: 550px;
    line-height: 1.65;
    font-family: 'Inter', sans-serif;
}

/* -- Grid -- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0 60px 100px;
}

/* -- Each Square Card -- */
.srv-card {
    position: relative;
    aspect-ratio: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.5s ease;
}

.srv-card:nth-child(odd) {
    background: rgba(255, 255, 255, 0.03);
}

.srv-card:nth-child(even) {
    background: rgba(255, 255, 255, 0.06);
}

.srv-card:hover {
    background: rgba(201, 149, 106, 0.12);
}

/* -- Giant background letter -- */
.srv-bg-letter {
    position: absolute;
    right: -10px;
    bottom: -30px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(14rem, 22vw, 20rem);
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    user-select: none;
    transition: color 0.5s ease, transform 0.5s ease;
}

.srv-card:hover .srv-bg-letter {
    color: rgba(201, 149, 106, 0.08);
    transform: translate(-5px, -5px);
}

/* -- Number -- */
.srv-num {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(201, 149, 106, 0.5);
    display: block;
    margin-bottom: 10px;
}

/* -- Title -- */
.srv-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.srv-card:hover .srv-title {
    transform: translateX(8px);
}

/* -- Description -- */
.srv-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.4);
    max-width: 280px;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.srv-card:hover .srv-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* -- Link -- */
.srv-link {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(201, 149, 106, 0.5);
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.srv-card:hover .srv-link {
    opacity: 1;
    transform: translateY(0);
}

.srv-link:hover {
    color: #c9956a;
}

/* -- Scroll reveal -- */
.srv-card {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.5s ease;
}

.srv-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.srv-card:nth-child(1) { transition-delay: 0s; }
.srv-card:nth-child(2) { transition-delay: 0.08s; }
.srv-card:nth-child(3) { transition-delay: 0.16s; }
.srv-card:nth-child(4) { transition-delay: 0.24s; }
.srv-card:nth-child(5) { transition-delay: 0.32s; }
.srv-card:nth-child(6) { transition-delay: 0.4s; }

/* corner accent line on hover */
.srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #c9956a, rgba(201, 149, 106, 0));
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.srv-card:hover::before {
    width: 100%;
}

/* -- Responsive -- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px 80px;
    }

    .srv-bg-letter {
        font-size: 12rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        border-radius: 24px 24px 0 0;
        margin-top: -24px;
    }

    .services-header {
        padding: 60px 18px 40px;
    }

    .services-header h2 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .services-header p {
        font-size: 0.95rem;
        margin-top: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 18px 50px;
    }

    .srv-card {
        aspect-ratio: auto;
        min-height: 260px;
        padding: 28px 22px;
    }

    .srv-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .srv-bg-letter {
        font-size: 8rem;
    }

    .srv-desc {
        max-width: 100%;
    }

    .srv-link {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .services-section {
        border-radius: 18px 18px 0 0;
        margin-top: -18px;
    }

    .services-header {
        padding: 46px 14px 30px;
    }

    .services-header h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .services-header p {
        font-size: 0.85rem;
    }

    .services-grid {
        padding: 0 14px 40px;
    }

    .srv-card {
        min-height: 220px;
        padding: 24px 18px;
    }

    .srv-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .srv-bg-letter {
        font-size: 6rem;
    }

    .srv-num {
        font-size: 11px;
    }

    .srv-desc {
        font-size: 12px;
    }
}
