/* =====================================================================
   Fitness Clubs — landing styles (landing 3)
   Tokens from styles/parts/variables.css. Blocks added incrementally.
   ===================================================================== */

.fc-page {
    --mmb-max: 1220px;
    --mmb-gap: clamp(1.5rem, 3vw, 4rem);
    color: var(--color-dark);
}

/* ---------- BLOCK 1 — HERO (full-bleed dark; background image added later) ---------- */
.fc-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 82vh, 760px);
    /* fitness-club background + left-dark overlay for text legibility */
    background-color: #15151c;
    background-image: linear-gradient(90deg, rgba(16, 16, 22, 0.8) 0%, rgba(16, 16, 22, 0.4) 42%, rgba(16, 16, 22, 0) 68%), url('../../images/landings/fc/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--color-light);
}

.fc-hero__content {
    max-width: 600px;
    padding: clamp(6rem, 12vh, 9rem) 0 clamp(2rem, 5vh, 4rem);
}

.fc-hero__title {
    font-size: clamp(2.25rem, 1rem + 4vw, 4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--color-light);
    margin: 0 0 1.25rem;
}

.fc-hero__subtitle {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    line-height: 1.45;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    max-width: 40ch;
    margin: 0 0 1.75rem;
}

.fc-hero__features {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fc-hero__features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 16px;
    color: var(--color-light);
}

.fc-check {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #22C55E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.fc-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 2rem;
    border-radius: 16px;
    background: var(--color-light);
    color: var(--color-dark);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow var(--transition-time);
}

.fc-hero__cta:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
    .fc-hero {
        background-image: linear-gradient(rgba(16, 16, 22, 0.7), rgba(16, 16, 22, 0.7)), url('../../images/landings/fc/hero-bg-m.webp');
    }
    .fc-hero__content { padding-top: clamp(7rem, 18vh, 9rem); }
    .fc-hero__cta { width: 100%; }
}

/* ---------- BLOCK 2 — Fitness food ecosystem ---------- */
.fc-eco {
    padding-top: clamp(3rem, 6vw, 6rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
    text-align: center;
}

.fc-eco__title {
    font-size: clamp(1.75rem, 1rem + 3vw, 3rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    margin: 0 auto 0.75rem;
    max-width: 20ch;
    color: transparent;
    background: linear-gradient(180deg, #1F1F29 0%, rgba(31, 41, 33, 0.72) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fc-eco__subtitle {
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
    font-weight: 500;
    color: #59596E;
    margin: 0 0 1.5rem;
}

.fc-eco__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.fc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(31, 31, 41, 0.08);
    box-shadow: 0 2px 10px rgba(31, 31, 41, 0.04);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
}

.fc-chip__icon { width: 20px; height: 20px; object-fit: contain; }

.fc-eco__dev-title {
    font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.fc-dev-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    max-width: 1220px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: left;
}

.fc-dev-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(31, 31, 41, 0.06);
    border-radius: 20px;
    padding: 1.5rem;
    min-height: 180px;
    box-shadow: 0 8px 24px rgba(31, 31, 41, 0.04);
    background-repeat: no-repeat;
    background-position: right 0.85rem top 0.85rem;
    background-size: auto 52%;
}

.fc-dev-card--1 { background-image: url('../../images/landings/fc/dev/1.webp'); }
.fc-dev-card--2 { background-image: url('../../images/landings/fc/dev/2.webp'); }
.fc-dev-card--3 { background-image: url('../../images/landings/fc/dev/3.webp'); }
.fc-dev-card--4 { background-image: url('../../images/landings/fc/dev/4.webp'); }

.fc-dev-card h4 {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 0.6rem;
    max-width: 80%;
}

.fc-dev-card p {
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 1.45;
    color: #59596E;
    margin: 0;
}

.fc-eco__cta-note {
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
    color: #59596E;
    margin: 0 0 1.25rem;
}

.fc-eco__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 2rem;
    border-radius: 16px;
    background: var(--color-dark);
    color: var(--color-light);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow var(--transition-time);
}

.fc-eco__cta:hover { box-shadow: 0 8px 24px rgba(31, 31, 41, 0.25); }

@media (max-width: 900px) {
    .fc-dev-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .fc-dev-grid { grid-template-columns: 1fr; }
}

/* ---------- BLOCK 3 — What your business gets ---------- */
.fc-biz {
    padding-top: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

.fc-biz__title {
    font-size: clamp(1.75rem, 1rem + 3vw, 3rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    text-align: center;
    margin: 0 auto clamp(2rem, 4vw, 3.25rem);
    color: var(--color-dark);
}

.fc-biz__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 1.6vw, 1.5rem);
    max-width: 1080px;
    margin: 0 auto;
}

.fc-biz__card {
    background: #fff;
    border: 1px solid rgba(31, 31, 41, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(31, 31, 41, 0.04);
}

.fc-biz__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 0 1.1rem;
}

.fc-biz__card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-dark);
    margin: 0 0 0.55rem;
}

.fc-biz__card p {
    font-size: 14px;
    line-height: 1.5;
    color: #59596E;
    margin: 0;
}

@media (max-width: 900px) {
    .fc-biz__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .fc-biz__grid { grid-template-columns: 1fr; }
}

/* ---------- BLOCK 4 — Client case study ---------- */
.fc-case {
    padding-top: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

.fc-case__title {
    font-size: clamp(1.75rem, 1rem + 3vw, 3rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    text-align: center;
    color: var(--color-dark);
    margin: 0 auto clamp(2rem, 4vw, 3.25rem);
}

.fc-case__card {
    /* background reused from landing-2 "Vending vs AI" (.cfp-vs) */
    background:
        radial-gradient(circle 460px at 90% 12%, rgba(117, 112, 255, 0.25), transparent),
        radial-gradient(circle 360px at 6% 88%, rgba(48, 178, 252, 0.20), transparent),
        var(--color-dark);
    color: var(--color-light);
    border-radius: 24px;
    padding: clamp(1.75rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.fc-case__body {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.fc-case__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fc-case__logo {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    padding: 9px;
}

.fc-case__name {
    font-size: clamp(1.3rem, 1rem + 1vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--color-light);
    margin: 0 0 0.5rem;
}

.fc-case__lead {
    font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 80ch;
}

.fc-case__more {
    display: none;
    align-self: flex-start;
    margin: 0.6rem 0 0;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #30B2FC;
}
.fc-case__more:hover { text-decoration: underline; }

@media (max-width: 820px) {
    .fc-case__more { display: inline-block; }
    .fc-case__lead-wrap.js-clamp:not(.is-open) .fc-case__lead {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.fc-case__tag--accent {
    background: rgba(48, 178, 252, 0.15);
    border-color: rgba(48, 178, 252, 0.4);
    color: #fff;
}

.fc-case__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.fc-case__tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

.fc-case__heading {
    font-size: clamp(1.5rem, 1rem + 1.8vw, 2.25rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-light);
    margin: 0 0 1rem;
}

.fc-case__desc {
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.0625rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 46ch;
}

.fc-case__results-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 1.25rem;
}

.fc-case__results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fc-case__results-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
}

.fc-case__check {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #30B2FC 0%, #22C5A8 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    margin-top: 1px;
}

@media (max-width: 820px) {
    .fc-case__body { grid-template-columns: 1fr; }
}

/* ---------- BLOCK 5 — How it works for business (copied verbatim from landing-1 .mmb-biz) ---------- */
.mmb-biz {
    padding-top: clamp(2rem, 5vw, 5rem);
    padding-bottom: clamp(2rem, 5vw, 5rem);
}

.mmb-biz__title {
    text-align: center;
    font-size: clamp(2rem, 1rem + 3vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.mmb-biz__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 1.5vw, 1.5rem);
}

.mmb-biz__card {
    background: var(--color-light);
    border: 1px solid rgba(31, 31, 41, 0.06);
    border-radius: 24px;
    padding: clamp(1.5rem, 2vw, 2rem);
    box-shadow: 0 12px 32px rgba(31, 31, 41, 0.05);
}

.mmb-biz__icon {
    display: block;
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
}

.mmb-biz__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.mmb-biz__card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 0.65rem;
}

.mmb-biz__card p {
    font-size: 16px;
    line-height: 1.5;
    color: #59596E;
    margin: 0;
}

@media (max-width: 1024px) {
    .mmb-biz__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .mmb-biz__grid { grid-template-columns: 1fr; }
}

/* ---------- BLOCK 6 — Healthy food ecosystem inside your club ---------- */
.fc-hfe {
    padding-top: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
    text-align: center;
}

.fc-hfe__title {
    font-size: clamp(1.75rem, 1rem + 3vw, 3rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--color-dark);
    margin: 0 0 0.5rem;
}

.fc-hfe__subtitle {
    font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.4rem);
    font-weight: 600;
    margin: 0 0 0.85rem;
    color: transparent;
    background-image: linear-gradient(90deg, #22C9D6 0%, #21C58A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fc-hfe__desc {
    font-size: clamp(1rem, 0.9rem + 0.3vw, 1.0625rem);
    line-height: 1.55;
    color: #59596E;
    max-width: 56ch;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.fc-hfe__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 1.6vw, 1.5rem);
    max-width: 1120px;
    margin: 0 auto;
    text-align: left;
}

.fc-hfe__card {
    background: #fff;
    border: 1px solid rgba(31, 31, 41, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(31, 31, 41, 0.04);
}

.fc-hfe__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 0 1.1rem;
}

.fc-hfe__card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-dark);
    margin: 0 0 0.55rem;
}

.fc-hfe__card p {
    font-size: 14px;
    line-height: 1.5;
    color: #59596E;
    margin: 0;
}

@media (max-width: 900px) {
    .fc-hfe__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .fc-hfe__grid { grid-template-columns: 1fr; }
}

/* ---------- BLOCK 7 — "Что даёт AI-технология" (copied verbatim from landing-1 .mmb-tech) ---------- */
.mmb-tech {
    background:
        radial-gradient(circle 460px at 90% 12%, rgba(117, 112, 255, 0.25), transparent),
        radial-gradient(circle 360px at 6% 88%, rgba(48, 178, 252, 0.20), transparent),
        var(--color-dark);
    color: var(--color-light);
    padding-top: clamp(3rem, 6vw, 6rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

.mmb-tech__title {
    text-align: center;
    color: var(--color-light);
    font-size: clamp(2rem, 1rem + 3vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    margin: 0 0 1rem;
}

.mmb-tech__subtitle {
    text-align: center;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem);
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.7);
    max-width: 62ch;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.mmb-tech__cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2vw, 2rem);
    max-width: 1220px;
    margin: 0 auto clamp(2rem, 3vw, 2.5rem);
}

.mmb-tech__col {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-light);
    border-radius: 24px;
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
}

.mmb-tech__col h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 1.25rem;
    width: fit-content;
    background: linear-gradient(90deg, #30B2FC 0%, #7570FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.mmb-tech__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mmb-tech__col li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 18px;
    line-height: 1.35;
}

.mmb-tech__col:last-child h3 {
    background: linear-gradient(90deg, #7570FF 0%, #FF80B2 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.mmb-tech__col:last-child .mmb-tech__check {
    background: linear-gradient(135deg, #7570FF 0%, #FF80B2 100%);
}

.mmb-tech__check {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #30B2FC 0%, #7570FF 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.mmb-tech__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 380px;
    max-width: 100%;
    height: 60px;
    margin: 0 auto;
    border-radius: 20px;
    background: linear-gradient(90deg, #30B2FC 0%, #7570FF 100%);
    color: var(--color-light);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition-time);
}

.mmb-tech__cta:hover { opacity: 0.92; }

@media (max-width: 768px) {
    .mmb-tech__cols { grid-template-columns: 1fr; }
}
