/* ==========================================================================
   Мирчев Студио — Services page redesign (service-v1)
   Builds on the shared v1 design system in index-v1.css (tokens, header,
   page hero, breadcrumbs, buttons, CTA, footer). Only Services-specific
   parts live here. Scoped to body.v1-page-service.
   ========================================================================== */

/* Hero line is a tagline (the page <h1> lives in the intro, as in the original) */
.v1-page-service .v1-hero--page .v1-hero__title {
    max-width: 20ch;
    font-size: clamp(2.3rem, 1.3rem + 4vw, 4.6rem);
}

/* ---------- Intro (dark) ---------- */
.v1-svc-intro__title {
    display: flex;
    flex-direction: column;
    gap: .2em;
}

.v1-svc-intro__title span {
    font-style: italic;
    font-weight: 500;
    font-size: .72em;
    line-height: 1.2;
    color: var(--v1-gold);
}

.v1-svc-intro__lead {
    font-size: 1.15rem;
    color: var(--v1-on-dark);
}

.v1-svc-intro__lead strong {
    color: var(--v1-gold);
}

.v1-svc-intro .v1-btn {
    margin-top: 10px;
}

.v1-svc-intro__down {
    transform: rotate(90deg);
}

/* ---------- Services grid: even rows, no staggering ---------- */
.v1-svc__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

@media (min-width: 560px) {
    .v1-svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .v1-svc__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}

.v1-svc-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--v1-radius-lg);
    background: var(--v1-ink);
    box-shadow: var(--v1-shadow-sm);
    transition: transform .5s var(--v1-ease), box-shadow .5s var(--v1-ease);
}

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

.v1-svc-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 1.2s var(--v1-ease);
}

.v1-svc-card:hover img {
    transform: scale(1.05);
}

.v1-svc-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(22, 17, 13, .92) 0%, rgba(22, 17, 13, .55) 32%, rgba(22, 17, 13, 0) 60%);
    pointer-events: none;
}

.v1-svc-card__body {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 26px 28px;
    color: #fff;
}

.v1-svc-card__num {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--v1-gold);
}

.v1-svc-card__num::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    transition: width .5s var(--v1-ease);
}

.v1-svc-card:hover .v1-svc-card__num::after {
    width: 56px;
}

.v1-svc-card__title {
    font-family: var(--v1-serif);
    font-size: clamp(1.6rem, 1.35rem + .8vw, 1.95rem);
    font-weight: 600;
    line-height: 1.12;
    color: #fff;
    text-wrap: balance;
}

/* Links to prices / FAQ under the grid */
.v1-svc__next {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(40px, 5vw, 64px);
}

@media (max-width: 575.98px) {
    .v1-svc__next .v1-btn { flex: 1 1 100%; }
    .v1-svc-card__body { padding: 22px; }
}
