/* ==========================================================================
   COMPANY FORMATION PAGE — Dedicated Styles
   Theme: Deep navy with red accents, 3D effects, particle hero, premium feel
   ========================================================================== */

/* ==========================================================================
   SECTION 1 — HERO
   ========================================================================== */
.cf-hero {
    background: linear-gradient(135deg, #060B22 0%, #0D1533 50%, #141E45 100%);
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* Animated background shapes */
.cf-hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.cf-hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: cfShapePulse 8s ease-in-out infinite;
}
.cf-hero__shape--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(216,12,20,0.18) 0%, transparent 70%);
    top: -150px; right: -100px;
    animation-delay: 0s;
}
.cf-hero__shape--2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(9,14,45,0.6) 0%, rgba(30,60,120,0.25) 70%);
    bottom: -100px; left: 10%;
    animation-delay: 3s;
}
.cf-hero__shape--3 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    top: 30%; left: 40%;
    animation-delay: 5s;
}

@keyframes cfShapePulse {
    0%, 100% { transform: scale(1) translateY(0); opacity: 1; }
    50% { transform: scale(1.1) translateY(-20px); opacity: 0.75; }
}

/* Floating particles */
.cf-hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.cf-hero__particles::before,
.cf-hero__particles::after {
    content: '';
    position: absolute;
    width: 2px; height: 2px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    box-shadow:
        80px 120px 0 rgba(255,255,255,0.3),
        200px 50px 0 rgba(216,12,20,0.5),
        350px 200px 0 rgba(255,255,255,0.2),
        500px 80px 0 rgba(255,255,255,0.3),
        650px 300px 0 rgba(216,12,20,0.4),
        820px 150px 0 rgba(255,255,255,0.25),
        980px 400px 0 rgba(255,255,255,0.2),
        1100px 60px 0 rgba(216,12,20,0.35),
        1200px 280px 0 rgba(255,255,255,0.3),
        150px 450px 0 rgba(255,255,255,0.15),
        430px 500px 0 rgba(216,12,20,0.25),
        700px 420px 0 rgba(255,255,255,0.2);
    animation: cfParticleFloat 15s linear infinite;
}
.cf-hero__particles::after {
    animation-delay: -7s;
    box-shadow:
        120px 80px 0 rgba(255,255,255,0.2),
        290px 320px 0 rgba(216,12,20,0.3),
        460px 140px 0 rgba(255,255,255,0.25),
        580px 380px 0 rgba(216,12,20,0.2),
        740px 60px 0 rgba(255,255,255,0.3),
        900px 260px 0 rgba(216,12,20,0.4),
        1050px 420px 0 rgba(255,255,255,0.15);
}

@keyframes cfParticleFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); opacity: 0; }
}

.cf-hero__grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cf-hero__tag { color: rgba(255,255,255,0.6) !important; }

.cf-hero__h1 {
    color: #fff;
    font-size: clamp(28px, 3.5vw, 46px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}

.cf-hero__accent {
    background: linear-gradient(135deg, #FF4D55 0%, #D80C14 60%, #FF8A30 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cf-hero__lead {
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.cf-hero__body {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.cf-hero__outline-btn {
    border-color: rgba(255,255,255,0.5) !important;
    color: #fff !important;
}
.cf-hero__outline-btn:hover {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.8) !important;
}

/* Hero Stats */
.cf-hero__stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 24px;
    backdrop-filter: blur(10px);
}
.cf-hero__stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}
.cf-hero__stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cf-hero__stat-plus {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-red);
    display: inline;
}
.cf-hero__stat-text {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.cf-hero__stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}
.cf-hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* Hero Image Card */
.cf-hero__image-wrap { position: relative; }

.cf-hero__image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
    will-change: transform;
}
.cf-hero__image-card:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 40px rgba(216,12,20,0.15);
}

.cf-hero__image-glow {
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(216,12,20,0.4), rgba(9,14,45,0.2), rgba(216,12,20,0.3));
    z-index: -1;
    animation: cfGlowRotate 4s linear infinite;
}
@keyframes cfGlowRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(30deg); }
}

.cf-hero__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.cf-hero__image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(9,14,45,0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    animation: cfBadgeFloat 3s ease-in-out infinite;
}
@keyframes cfBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.cf-hero__badge-icon { font-size: 24px; }
.cf-hero__image-badge strong { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.cf-hero__image-badge span { font-size: 12px; color: rgba(255,255,255,0.6); }


/* ==========================================================================
   SECTION 2 — BENEFITS
   ========================================================================== */
.cf-benefits__grid {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 70px;
    align-items: start;
}

.cf-benefits__items {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
}

.cf-benefit-item {
    display: flex;
    gap: 18px;
    padding: 22px 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
    animation-delay: var(--delay, 0s);
    margin-bottom: 8px;
}
.cf-benefit-item:hover {
    background: #fff;
    border-color: rgba(216,12,20,0.15);
    box-shadow: 0 12px 40px rgba(9,14,45,0.09);
    transform: translateX(8px);
}

.cf-benefit-icon {
    font-size: 28px;
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(216,12,20,0.08), rgba(9,14,45,0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.cf-benefit-item:hover .cf-benefit-icon {
    transform: scale(1.1) rotate(-5deg);
}

.cf-benefit-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 6px;
}
.cf-benefit-text p { font-size: 14px; color: var(--text-body); margin: 0; line-height: 1.65; }

/* Benefits image */
.cf-benefits__image { position: relative; }
.cf-benefits__img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(9,14,45,0.18);
}
.cf-benefits__img-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.cf-benefits__img-wrapper:hover img { transform: scale(1.04); }

.cf-benefits__img-float {
    position: absolute;
    top: 24px;
    right: -20px;
    background: var(--brand-navy);
    color: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(9,14,45,0.3);
    animation: cfBadgeFloat 3s ease-in-out infinite;
}
.cf-benefits__img-float span { font-size: 28px; }
.cf-benefits__img-float strong { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.cf-benefits__img-float span:last-child { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ==========================================================================
   SECTION 3 — TRUST BADGES
   ========================================================================== */
.cf-trust__badges {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.cf-trust__badge {
    background: #fff;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(9,14,45,0.06);
    border: 1px solid rgba(9,14,45,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    animation-delay: var(--delay, 0s);
    cursor: default;
}
.cf-trust__badge::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-navy));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.cf-trust__badge:hover::before { transform: scaleX(1); }
.cf-trust__badge:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(9,14,45,0.12);
}

.cf-trust__badge-icon {
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cf-trust__badge:hover .cf-trust__badge-icon { transform: scale(1.2) rotate(-5deg); }

.cf-trust__badge strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.3;
}
.cf-trust__badge span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}


/* ==========================================================================
   SECTION 4 — TYPES OF COMPANY
   ========================================================================== */
.cf-types__intro {
    max-width: 700px;
    margin: 14px auto 0;
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.7;
}

.cf-types__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
    align-items: stretch;
}

.cf-type-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(9,14,45,0.08);
    border: 1px solid rgba(9,14,45,0.07);
    display: flex;
    flex-direction: column;
    padding: 0 0 32px 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    will-change: transform;
    animation-delay: var(--delay, 0s);
    position: relative;
}
.cf-type-card:hover {
    transform: perspective(900px) rotateX(4deg) rotateY(-3deg) translateY(-12px) scale(1.01);
    box-shadow: -15px 30px 60px rgba(9,14,45,0.15), 0 0 30px rgba(216,12,20,0.08);
}

.cf-type-card--featured {
    border-color: var(--brand-red);
    box-shadow: 0 8px 30px rgba(216,12,20,0.15), 0 0 0 2px var(--brand-red);
}
.cf-type-card--featured:hover {
    box-shadow: -15px 30px 60px rgba(216,12,20,0.2), 0 0 0 2px var(--brand-red);
}

.cf-type-card__header {
    padding: 28px 32px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.cf-type-card__header--mainland { background: linear-gradient(135deg, #060B22, #0D1533); }
.cf-type-card__header--freezone { background: linear-gradient(135deg, #8B0000, #D80C14); }
.cf-type-card__header--offshore { background: linear-gradient(135deg, #1a3a6e, #0D2444); }

.cf-type-card__icon { font-size: 36px; }
.cf-type-card__label {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.cf-type-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--brand-navy);
    padding: 20px 32px 0;
    margin-bottom: 14px;
}
.cf-type-card p {
    font-size: 14px;
    color: var(--text-body);
    padding: 0 32px;
    line-height: 1.65;
    margin-bottom: 12px;
}

.cf-type-card__cost {
    display: flex;
    flex-direction: column;
    padding: 16px 32px;
    margin-top: 4px;
    background: rgba(9,14,45,0.03);
    border-top: 1px solid rgba(9,14,45,0.06);
    border-bottom: 1px solid rgba(9,14,45,0.06);
}
.cf-type-card__cost-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.cf-type-card__cost-value { font-size: 24px; font-weight: 800; color: var(--brand-navy); }

.cf-type-card__covers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px 32px;
    margin-bottom: 8px;
}
.cf-type-card__covers span {
    background: var(--bg-alt);
    border: 1px solid rgba(9,14,45,0.08);
    color: var(--brand-navy);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.cf-type-card:hover .cf-type-card__covers span {
    background: var(--brand-navy);
    color: #fff;
    border-color: var(--brand-navy);
}

.cf-type-card .btn {
    margin: 8px 32px 0;
    text-align: center;
    align-self: flex-start;
}

.cf-types__cta {
    text-align: center;
    margin-top: 40px;
}
.cf-types__talk-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.cf-types__talk-link:hover { color: var(--brand-navy); }


/* ==========================================================================
   SECTION 5 — FEATURES
   ========================================================================== */
.cf-features__grid {
    display: grid;
    grid-template-columns: 1fr 0.75fr;  /* content left, image right */
    gap: 70px;
    align-items: stretch;  /* both columns stretch to same height */
}

/* ── Two-image stacked column ──────────────────────────────── */
.cf-features__image {
    display: flex;          /* needed so the stack can fill full height */
}

.cf-features__img-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    flex: 1;                /* fill the full column height */
}

/* Shared card base */
.cf-features__img-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.6s ease;
    will-change: transform;
    flex: 1;                /* each card takes equal share of stack height */
    min-height: 0;          /* prevents flex overflow */
}

/* Primary card — larger, slight left tilt */
.cf-features__img-card--primary {
    transform: perspective(900px) rotateY(5deg) rotateX(-2deg);
    box-shadow: -12px 24px 60px rgba(9,14,45,0.22),
                0 0 0 1px rgba(255,255,255,0.06);
}
.cf-features__img-card--primary:hover {
    transform: perspective(900px) rotateY(2deg) rotateX(0deg) scale(1.02);
    box-shadow: -6px 32px 80px rgba(9,14,45,0.28),
                0 0 30px rgba(216,12,20,0.12);
}

/* Secondary card — smaller, slight right tilt, offset left */
.cf-features__img-card--secondary {
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
    box-shadow: 12px 20px 50px rgba(9,14,45,0.18),
                0 0 0 1px rgba(255,255,255,0.06);
    margin-left: 30px;   /* visual offset for depth */
}
.cf-features__img-card--secondary:hover {
    transform: perspective(900px) rotateY(-1deg) rotateX(0deg) scale(1.02);
    box-shadow: 6px 28px 70px rgba(9,14,45,0.24),
                0 0 30px rgba(216,12,20,0.1);
}

/* Glowing border ring on hover */
.cf-features__img-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(216,12,20,0.4), rgba(9,14,45,0.2)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}
.cf-features__img-card:hover::before { opacity: 1; }

.cf-features__img-card img {
    width: 100%;
    height: 100%;           /* fill the full card height */
    display: block;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.cf-features__img-card--primary img { height: 100%; }   /* override removed */
.cf-features__img-card--secondary img { height: 100%; } /* override removed */
.cf-features__img-card:hover img { transform: scale(1.05); }

/* Gradient overlay + stat chip */
.cf-features__img-overlay {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    background: linear-gradient(to top, rgba(9,14,45,0.88) 0%, transparent 100%);
    padding: 24px 28px;
    z-index: 1;
}
.cf-features__overlay-stat strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.cf-features__overlay-stat span {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.cf-features__content h2 { margin-bottom: 12px; }
.cf-features__content > p { color: var(--text-body); font-size: 15px; margin-bottom: 24px; }

.cf-features__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.cf-feature {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.35s ease;
    animation-delay: var(--delay, 0s);
    cursor: default;
}
.cf-feature:hover {
    background: #fff;
    border-color: rgba(216,12,20,0.12);
    box-shadow: 0 8px 28px rgba(9,14,45,0.08);
    transform: translateX(6px);
}

.cf-feature__num {
    font-size: 13px;
    font-weight: 800;
    color: var(--brand-red);
    background: rgba(216,12,20,0.08);
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}
.cf-feature:hover .cf-feature__num {
    background: var(--brand-red);
    color: #fff;
    transform: scale(1.08);
}

.cf-feature__body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 5px;
}
.cf-feature__body p { font-size: 13.5px; color: var(--text-body); margin: 0; line-height: 1.6; }

/* ==========================================================================
   SECTION 6 — PROCESS / HOW IT WORKS
   ========================================================================== */
.cf-process__steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
    padding-left: 30px;
}

/* Vertical line connecting steps */
.cf-process__steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-red), var(--brand-navy));
    border-radius: 2px;
}

.cf-process__step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 0;
    position: relative;
    animation-delay: var(--delay, 0s);
}

.cf-process__step-num {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red), #90050A);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(216,12,20,0.35);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: -29px;
}
.cf-process__step:hover .cf-process__step-num {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 32px rgba(216,12,20,0.45);
}

.cf-process__step-body {
    background: #fff;
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 4px 20px rgba(9,14,45,0.07);
    border: 1px solid rgba(9,14,45,0.06);
    flex: 1;
    transition: all 0.35s ease;
}
.cf-process__step:hover .cf-process__step-body {
    box-shadow: 0 12px 40px rgba(9,14,45,0.12);
    transform: translateX(6px);
    border-color: rgba(216,12,20,0.12);
}

.cf-process__step-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 8px;
}
.cf-process__step-body p { font-size: 14px; color: var(--text-body); margin-bottom: 14px; line-height: 1.65; }

.cf-process__timeline {
    display: inline-block;
    background: rgba(9,14,45,0.05);
    color: var(--brand-navy);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    border-left: 3px solid var(--brand-red);
}

.cf-process__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}


/* ==========================================================================
   SECTION 7 — REVIEWS
   ========================================================================== */
.cf-reviews__layout {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 60px;
    align-items: start;
}

.cf-reviews__intro h2 { margin-bottom: 20px; }

.cf-reviews__score {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}
.cf-reviews__stars {
    font-size: 28px;
    color: #FFB800;
    letter-spacing: 2px;
}
.cf-reviews__rating {
    font-size: 48px;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1;
}
.cf-reviews__meta {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 28px;
}

.cf-reviews__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cf-review-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(9,14,45,0.07);
    border: 1px solid rgba(9,14,45,0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation-delay: var(--delay, 0s);
    position: relative;
    overflow: hidden;
}
.cf-review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 100px;
    font-weight: 800;
    color: rgba(216,12,20,0.06);
    line-height: 1;
    font-family: Georgia, serif;
}
.cf-review-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px rgba(9,14,45,0.12);
    border-color: rgba(216,12,20,0.15);
}

.cf-review-card__stars {
    font-size: 16px;
    color: #FFB800;
    letter-spacing: 2px;
}
.cf-review-card p {
    font-size: 14px;
    color: var(--text-h2);
    font-style: italic;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.cf-review-card cite {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-navy);
    font-style: normal;
}

/* ==========================================================================
   SECTION 8 — DOCUMENTS
   ========================================================================== */
.cf-docs__grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;   /* slightly wider image column */
    gap: 60px;
    align-items: stretch;               /* both columns same height */
}

.cf-docs__content h2 { margin-bottom: 20px; }
.cf-docs__sub {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 24px 0 12px;
    padding-left: 14px;
    border-left: 3px solid var(--brand-red);
}

.cf-docs__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cf-docs__list li {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-body);
    border-bottom: 1px solid rgba(9,14,45,0.05);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: background 0.2s ease, padding-left 0.2s ease;
}
.cf-docs__list li::before {
    content: '✓';
    color: var(--brand-red);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}
.cf-docs__list li:hover {
    background: rgba(216,12,20,0.03);
    padding-left: 20px;
}

/* ── Image column — two stacked cards ─────────────────────── */
.cf-docs__image {
    display: flex;
}

.cf-docs__img-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1;
}

/* Shared card base */
.cf-docs__img-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    flex: 1;
    min-height: 0;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.6s ease;
}

/* Glowing ring on hover */
.cf-docs__img-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(216,12,20,0.45), rgba(9,14,45,0.2)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}
.cf-docs__img-card:hover::before { opacity: 1; }

/* Top card — tilts left */
.cf-docs__img-card--top {
    transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
    box-shadow: -14px 22px 55px rgba(9,14,45,0.22),
                0 0 0 1px rgba(255,255,255,0.05);
}
.cf-docs__img-card--top:hover {
    transform: perspective(900px) rotateY(-2deg) rotateX(0deg) scale(1.02);
    box-shadow: -6px 30px 70px rgba(9,14,45,0.28),
                0 0 28px rgba(216,12,20,0.12);
}

/* Bottom card — tilts right, offset slightly */
.cf-docs__img-card--bottom {
    transform: perspective(900px) rotateY(5deg) rotateX(-2deg);
    box-shadow: 14px 20px 50px rgba(9,14,45,0.2),
                0 0 0 1px rgba(255,255,255,0.05);
    margin-right: 24px;   /* right-side offset for visual depth contrast */
}
.cf-docs__img-card--bottom:hover {
    transform: perspective(900px) rotateY(2deg) rotateX(0deg) scale(1.02);
    box-shadow: 6px 28px 65px rgba(9,14,45,0.26),
                0 0 28px rgba(216,12,20,0.1);
}

.cf-docs__img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.cf-docs__img-card:hover img { transform: scale(1.05); }

/* Small label chip on top card */
.cf-docs__img-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(9,14,45,0.75);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    z-index: 3;
}

/* Help CTA box on bottom card */
.cf-docs__help-box {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(9,14,45,0.95) 0%, transparent 100%);
    padding: 30px 24px 22px;
    text-align: center;
    z-index: 3;
}
.cf-docs__help-box span { font-size: 32px; display: block; margin-bottom: 8px; }
.cf-docs__help-box p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 9 — FAQ
   ========================================================================== */
.cf-faq__grid {
    display: grid;
    grid-template-columns: 0.65fr 1fr;
    gap: 70px;
    align-items: start;
}
.cf-faq__intro h2 { margin-bottom: 14px; }
.cf-faq__intro p { color: var(--text-muted); margin-bottom: 24px; font-size: 15px; }

.cf-faq__accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   SECTION 10 — RELATED SERVICES
   ========================================================================== */
.cf-related__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.cf-related-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 0 4px 20px rgba(9,14,45,0.07);
    border: 1px solid rgba(9,14,45,0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation-delay: var(--delay, 0s);
    position: relative;
    overflow: hidden;
}
.cf-related-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-navy));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.cf-related-card:hover::after { transform: scaleX(1); }
.cf-related-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 24px 60px rgba(9,14,45,0.13);
}

.cf-related-card__icon {
    font-size: 36px;
    width: 68px; height: 68px;
    background: linear-gradient(135deg, rgba(216,12,20,0.08), rgba(9,14,45,0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cf-related-card:hover .cf-related-card__icon { transform: scale(1.15) rotate(-8deg); }

.cf-related-card h3 { font-size: 18px; font-weight: 700; color: var(--brand-navy); margin: 0; }
.cf-related-card p { font-size: 14px; color: var(--text-body); margin: 0; line-height: 1.65; flex: 1; }

.cf-related-card__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-red);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}
.cf-related-card:hover .cf-related-card__link { gap: 8px; color: var(--brand-navy); }


/* ==========================================================================
   SECTION 11 — BOTTOM CTA
   ========================================================================== */
.cf-bottom-cta {
    background: linear-gradient(135deg, #060B22 0%, #0D1533 50%, var(--brand-red) 200%);
    background-color: var(--brand-navy);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.cf-bottom-cta__bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cf-bottom-cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.cf-bottom-cta__orb--1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(216,12,20,0.25) 0%, transparent 70%);
    top: -100px; right: 5%;
    animation: cfShapePulse 7s ease-in-out infinite;
}
.cf-bottom-cta__orb--2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    bottom: -80px; left: 10%;
    animation: cfShapePulse 9s ease-in-out infinite 2s;
}

.cf-bottom-cta .container { position: relative; z-index: 2; }
.cf-bottom-cta h2 { color: #fff; font-size: clamp(22px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cf-bottom-cta p { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 32px; }

.cf-bottom-cta__phone {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cf-bottom-cta__phone:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .cf-trust__badges { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .cf-hero__grid { grid-template-columns: 1fr; }
    .cf-hero__image-wrap { display: none; }
    .cf-hero { min-height: auto; padding: 70px 0; }
    .cf-hero__stats { max-width: 500px; }

    .cf-benefits__grid { grid-template-columns: 1fr; }
    .cf-benefits__image { display: none; }

    .cf-types__cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

    .cf-features__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    /* On tablet/mobile, image column drops below content */
    .cf-features__image {
        display: flex;
    }
    .cf-features__img-stack {
        flex-direction: row;   /* side-by-side on tablet */
        gap: 16px;
        height: 220px;         /* fixed height so both cards are equal */
    }
    .cf-features__img-card--primary {
        transform: perspective(600px) rotateY(3deg);
        flex: 1;
    }
    .cf-features__img-card--secondary {
        transform: perspective(600px) rotateY(-3deg);
        flex: 1;
        margin-left: 0;        /* remove desktop offset */
    }
    .cf-features__img-card--primary img { height: 100%; }
    .cf-features__img-card--secondary img { height: 100%; }

    .cf-reviews__layout { grid-template-columns: 1fr; }
    .cf-reviews__cards { grid-template-columns: 1fr 1fr; }

    .cf-docs__grid { grid-template-columns: 1fr; gap: 36px; }
    .cf-docs__image { display: flex; }
    .cf-docs__img-stack {
        flex-direction: row;
        gap: 14px;
        height: 230px;
    }
    .cf-docs__img-card--top {
        transform: perspective(600px) rotateY(-3deg);
        margin-right: 0;
        flex: 1;
    }
    .cf-docs__img-card--bottom {
        transform: perspective(600px) rotateY(3deg);
        margin-right: 0;
        flex: 1;
    }

    .cf-faq__grid { grid-template-columns: 1fr; }

    .cf-related__cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .cf-trust__badges { grid-template-columns: repeat(2, 1fr); }
    .cf-reviews__cards { grid-template-columns: 1fr; }
    .cf-process__steps { padding-left: 20px; }
    .cf-process__steps::before { left: 20px; }
    .cf-process__step-num { margin-left: -21px; }
    .cf-hero__stats { flex-direction: column; gap: 16px; text-align: center; }
    .cf-hero__stat-divider { width: 60px; height: 1px; }
}

@media (max-width: 480px) {
    .cf-trust__badges { grid-template-columns: 1fr 1fr; }
    .cf-process__step-body { padding: 20px; }
    .cf-type-card h3, .cf-type-card p, .cf-type-card__covers,
    .cf-type-card__cost, .cf-type-card .btn { padding-left: 20px; padding-right: 20px; }
    .cf-type-card .btn { margin-left: 20px; margin-right: 20px; }

    /* Stack images vertically on small phones */
    .cf-features__img-stack { flex-direction: column; gap: 16px; height: auto; }
    .cf-features__img-card--primary,
    .cf-features__img-card--secondary {
        transform: perspective(600px) rotateY(0deg);
        margin-left: 0;
        flex: none;            /* remove flex grow so fixed heights apply */
    }
    .cf-features__img-card--primary img { height: 200px; }
    .cf-features__img-card--secondary img { height: 200px; }

    /* Docs images — vertical stack on phones */
    .cf-docs__img-stack { flex-direction: column; gap: 14px; height: auto; }
    .cf-docs__img-card--top,
    .cf-docs__img-card--bottom {
        transform: none;
        margin-right: 0;
        flex: none;
    }
    .cf-docs__img-card--top img,
    .cf-docs__img-card--bottom img { height: 200px; }
}

/* ==========================================================================
   CF-HERO — FULL-COVER BACKGROUND IMAGE (matches index hero style)
   ========================================================================== */

/* Make cf-hero the positioning context for absolute children */
.cf-hero {
    position: relative;
}

/* Position image-wrap absolutely relative to cf-hero section (full bleed) */
.cf-hero .cf-hero__image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Remove 3D card effects — simple full-cover image */
.cf-hero .cf-hero__image-card {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    transform: none !important;
    transition: none;
    overflow: hidden;
}

.cf-hero .cf-hero__image-card:hover {
    transform: none !important;
    box-shadow: none;
}

/* Hide glow and badge */
.cf-hero .cf-hero__image-glow,
.cf-hero .cf-hero__image-badge {
    display: none;
}

/* Image fills the card */
.cf-hero .cf-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay so text is readable */
.cf-hero .cf-hero__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(6, 11, 34, 0.88) 0%,
        rgba(6, 11, 34, 0.65) 55%,
        rgba(6, 11, 34, 0.35) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Background shapes on top of image but below content */
.cf-hero .cf-hero__bg-shapes {
    z-index: 2;
    pointer-events: none;
}

/* Grid: single content column, on top */
.cf-hero .cf-hero__grid {
    grid-template-columns: 1fr !important;
    max-width: 700px;
    margin-left: 0;
    margin-right: auto;
    position: relative;
    z-index: 3;
    padding-left: 40px;
}
