/* ============================================================
   CFM sections.css — Vision / Biz / Subsidiary / Stats / CTA
============================================================ */

/* --- Shared scroll reveal --------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .24s; }
[data-reveal][data-delay="3"] { transition-delay: .36s; }

.section { padding: clamp(90px, 12vw, 160px) 0; }
.section__head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.section__head h2 { margin: 16px 0 18px; }
.section__head p  { color: var(--cfm-muted); font-size: 1.05rem; }

/* ============================================================
   1) Vision — large hero-style intro
============================================================ */
.vision {
    position: relative;
    padding: clamp(120px, 16vw, 220px) 0;
    background: linear-gradient(180deg, #fff 0%, var(--cfm-bg-soft) 100%);
    overflow: hidden;
}
.vision::before {
    content: '';
    position: absolute; inset: auto -10% -30% auto;
    width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
    background: radial-gradient(circle at center, rgba(241,90,36,.10), transparent 60%);
    pointer-events: none;
}
.vision__inner {
    max-width: 1080px; margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    text-align: center;
    position: relative; z-index: 1;
}
.vision__title {
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    margin: 20px 0 28px;
}
.vision__title .accent { color: var(--cfm-orange); font-style: italic; }
.vision__desc {
    max-width: 780px; margin: 0 auto;
    font-size: 1.08rem;
    color: var(--cfm-ink-2);
    line-height: 1.85;
}
.vision__mark {
    display: inline-block; margin-bottom: 6px;
    width: 46px; height: 2px; background: var(--cfm-orange);
}

/* ============================================================
   2) Business — C · F · M cards
============================================================ */
.biz { background: #fff; }
.biz__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}
.biz__card {
    position: relative;
    padding: 56px 40px 48px;
    background: var(--cfm-bg-soft);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .5s var(--ease), background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
    min-height: 380px;
    display: flex; flex-direction: column;
}
.biz__card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--cfm-orange);
    transform: scaleY(0); transform-origin: top;
    transition: transform .5s var(--ease);
}
.biz__card:hover {
    transform: translateY(-8px);
    background: var(--cfm-ink);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.biz__card:hover::before { transform: scaleY(1); }
.biz__card:hover .biz__card-title,
.biz__card:hover .biz__card-desc { color: inherit; }
.biz__card:hover .biz__card-arrow { transform: translateX(6px); color: var(--cfm-orange); }

.biz__card-num {
    font-size: .78rem; font-weight: 700;
    letter-spacing: .3em; color: var(--cfm-orange);
}
.biz__card-title {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    margin: 14px 0 14px;
    letter-spacing: -.02em;
    transition: color .5s var(--ease);
}
.biz__card-desc {
    color: var(--cfm-muted);
    font-size: .98rem;
    line-height: 1.7;
    transition: color .5s var(--ease);
}
.biz__card-arrow {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 10px;
    padding-top: 28px;
    font-weight: 600; font-size: .9rem;
    letter-spacing: .1em;
    transition: transform .5s var(--ease), color .5s var(--ease);
}
.biz__card-arrow svg { width: 22px; height: 10px; }

/* ============================================================
   3) Subsidiary — AT feature banner
============================================================ */
.sub {
    background: var(--cfm-bg-dark);
    color: rgba(255,255,255,.82);
    position: relative; overflow: hidden;
}
.sub__inner {
    max-width: var(--container); margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.sub__text .kicker { color: var(--cfm-orange-light); }
.sub__title {
    color: #fff; margin: 18px 0 22px;
    font-size: clamp(1.8rem, 3.4vw, 2.9rem);
    line-height: 1.2;
}
.sub__title .strong { color: var(--cfm-orange-light); }
.sub__desc { color: rgba(255,255,255,.72); font-size: 1.02rem; line-height: 1.85; max-width: 540px; }
.sub__points {
    margin: 32px 0 40px;
    display: grid; gap: 12px;
}
.sub__points li {
    display: flex; align-items: start; gap: 14px;
    color: rgba(255,255,255,.85); font-size: .98rem;
}
.sub__points li::before {
    content: ''; flex: 0 0 auto;
    width: 8px; height: 8px; margin-top: 9px;
    background: var(--cfm-orange); border-radius: 50%;
}
.sub__media {
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 16px;
}
.sub__media img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 10px;
    filter: brightness(.92) saturate(1.05);
    transition: filter .5s var(--ease), transform .5s var(--ease);
}
.sub__media img:hover { filter: none; transform: scale(1.02); }
.sub__media .a { grid-row: 1 / span 2; height: 416px; }
.sub__media .b { }
.sub__media .c { }

/* ============================================================
   4) Stats — number counters
============================================================ */
.stats {
    background: var(--cfm-bg-soft);
    padding: clamp(70px, 9vw, 120px) 0;
}
.stats__grid {
    max-width: var(--container); margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat {
    text-align: center; padding: 20px 12px;
    border-left: 1px solid var(--cfm-line);
}
.stat:first-child { border-left: 0; }
.stat__num {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800; color: var(--cfm-orange);
    line-height: 1; letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}
.stat__num .unit { font-size: .55em; margin-left: 4px; color: var(--cfm-ink); font-weight: 700; }
.stat__label {
    margin-top: 12px;
    color: var(--cfm-muted);
    font-size: .93rem; letter-spacing: .04em;
}

/* ============================================================
   5) Contact CTA — orange full block
============================================================ */
.cta {
    background: var(--cfm-orange);
    color: #fff;
    padding: clamp(80px, 10vw, 140px) 0;
    position: relative; overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute; inset: -20% -10% auto auto;
    width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    background: radial-gradient(circle at center, rgba(255,255,255,.14), transparent 60%);
    pointer-events: none;
}
.cta__inner {
    max-width: var(--container); margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: flex; align-items: center; justify-content: space-between;
    gap: 48px; flex-wrap: wrap;
    position: relative; z-index: 1;
}
.cta__text h2 {
    color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    margin-bottom: 12px; letter-spacing: -.02em;
}
.cta__text p { color: rgba(255,255,255,.86); font-size: 1.05rem; max-width: 640px; }
.cta .btn--dark {
    background: var(--cfm-ink); color: #fff;
    padding: 18px 36px; font-size: 1rem;
}
.cta .btn--dark:hover { background: #fff; color: var(--cfm-orange); transform: translateY(-2px); }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 960px) {
    .biz__grid { grid-template-columns: 1fr; }
    .biz__card { min-height: 260px; }
    .sub__inner { grid-template-columns: 1fr; }
    .sub__media { grid-template-rows: 180px 180px; }
    .sub__media .a { grid-row: auto; height: 180px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .stat { border-left: 0; }
    .cta__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
    .stats__grid { grid-template-columns: 1fr; }
    .sub__media { grid-template-columns: 1fr; grid-template-rows: none; }
    .sub__media .a { height: 220px; }
}
