/* service.css — page-specific styles (tokens from shared.css) */

.svc-intro {
    max-width: 700px;
    margin: 48px auto 0;
    text-align: center;
    padding: 0 24px;
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ---- CARDS GRID ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 48px auto 0;
    padding: 0 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-card-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}

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

.card-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,26,78,0.35) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover .card-img-overlay { opacity: 1; }

.service-card-body { padding: 24px 24px 28px; flex: 1; }

.service-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 14px;
    padding-bottom: 12px;
    position: relative;
}

.service-card-body h3::after {
    content: '';
    display: block;
    width: 36px; height: 2px;
    background: var(--gold); border-radius: 1px;
    position: absolute; bottom: 0; left: 0;
}

.service-card-body p {
    font-size: 0.93rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 10px;
}
.service-card-body p:last-child { margin-bottom: 0; }

/* ---- ENVIRONMENT ---- */
.environment-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 24px;
    margin-top: 48px;
}

.environment-card { max-width: 500px; width: 100%; }

/* ---- CTA ---- */
.cta-section {
    text-align: center;
    max-width: 860px;
    margin: 48px auto 0;
    padding: 60px 40px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.cta-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--navy);
    margin-bottom: 14px;
}

.cta-section p {
    font-size: 1rem; color: var(--text-mid);
    margin-bottom: 32px;
    max-width: 560px; margin-left: auto; margin-right: auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center; gap: 10px;
    padding: 14px 36px;
    background: var(--navy); color: var(--white);
    border: none; border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: .97rem; font-weight: 600;
    letter-spacing: .04em; cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-cta:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-cta:active { transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; max-width: 500px; }
    .cta-section { padding: 40px 24px; margin: 40px 16px 0; }
}

@media (max-width: 600px) {
    .services-grid { max-width: 100%; padding: 0 16px; }
    .environment-wrapper { padding: 0 16px; }
}
