/* =============================================
   CARTANTS - services.css
   Career Planning + Service Pages
   ============================================= */

/* ════ CAREER PLANNING HERO ═════════════════════
   Figma: padding 196px 100px, gap 32px
   bg: gradient pastel + white screen blend
   ═══════════════════════════════════════════ */
.cp-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 160px 100px;
    gap: 32px;
    width: 100%;
    min-height: 580px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;

    /* Figma: white screen blend over pastel gradient */
    background:
        linear-gradient(0deg, rgba(255,255,255,0.34), rgba(255,255,255,0.34)),
        linear-gradient(107.49deg,
            #AED7EB 7.25%,
            #C598E3 51.3%,
            #92ADE6 73.32%,
            #888DE8 95.34%
        );
    background-blend-mode: screen, normal;
}

/* Subtle noise texture overlay */
.cp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Content box */
.cp-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 816px;
    animation: cpFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}

@keyframes cpFadeUp {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ── Breadcrumb ── */
.cp-breadcrumb {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 14px;
    gap: 8px;
    background: rgba(0,0,0,0.004);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.35);
}
.cp-breadcrumb__part {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #3D4470;
}
.cp-breadcrumb__part a {
    color: #3D4470;
    text-decoration: none;
    transition: color 0.15s;
}
.cp-breadcrumb__part a:hover { color: #7661B4; }
.cp-breadcrumb__part img { opacity: 0.7; flex-shrink: 0; }
.cp-breadcrumb__part--active span {
    font-weight: 600;
    color: #2D335D;
}
.cp-breadcrumb > img { opacity: 0.5; flex-shrink: 0; }

/* ── H1 — Figma: 61px semibold #2D335D → professional 48px ── */
.cp-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
    color: #2D335D;
    margin: 0;
    letter-spacing: -0.02em;
}

.cp-hero__title-accent {
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Description — Figma: 25px → professional 17px ── */
.cp-hero__desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 26px;
    color: #2D335D;
    margin: 0;
    max-width: 600px;
}

/* ── Responsive ── */
@media(max-width:1280px) {
    .cp-hero { padding: 140px 60px; }
}
@media(max-width:1024px) {
    .cp-hero { padding: 120px 40px; min-height: auto; }
    .cp-hero__title { font-size: 38px; line-height: 48px; }
}
@media(max-width:768px) {
    .cp-hero { padding: 100px 24px 60px; }
    .cp-hero__title { font-size: 30px; line-height: 38px; }
    .cp-hero__title br { display: none; }
    .cp-hero__desc { font-size: 15px; }
    .cp-hero__desc br { display: none; }
}
@media(max-width:480px) {
    .cp-hero__title { font-size: 26px; line-height: 34px; }
}


/* ════ CAREER PLANNING PACKAGES ═════════════════
   ═══════════════════════════════════════════ */
.cp-packages {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 100px;
    gap: 48px;
    width: 100%;
    background: #ffffff;
    box-sizing: border-box;
}

/* ── Header ── */
.cp-pkg-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 802px;
    text-align: center;
}
/* Figma: 49px → 28px */
.cp-pkg-header__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 28px;
    line-height: 36px; color: #2D335D; margin: 0;
}
/* Figma: 25px → 15px */
.cp-pkg-header__desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 15px;
    line-height: 22px; color: #2D335D; margin: 0;
}

/* ── Level Selector Tabs ── */
.cp-level-tabs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cp-level-tab {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14px 32px;
    gap: 6px;
    min-width: 200px;
    min-height: 80px;
    background: rgba(0,0,0,0.004);
    border: 1.5px solid #EEEFF6;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.cp-level-tab:hover {
    border-color: rgba(118,97,180,0.4);
    background: rgba(118,97,180,0.03);
}
.cp-level-tab--active {
    border-color: #7661B4;
    background: rgba(118,97,180,0.04);
}

/* Figma: 31px → 17px */
.cp-level-tab__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 17px;
    line-height: 22px; text-align: center;
    color: #222747;
    display: block;
}
.cp-level-tab--active .cp-level-tab__name {
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Figma: 16px → 12px */
.cp-level-tab__sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; font-size: 12px;
    line-height: 16px; text-align: center;
    color: #8A92C5; display: block;
}
.cp-level-tab--active .cp-level-tab__sub {
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Cards Row ── */
.cp-cards-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1240px;
    animation: cpFadeUp 0.3s ease both;
}

/* ── Single Card ── */
.cp-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    flex: 1;
    max-width: 397px;
    min-height: 560px;
    /* Figma: radial gradient bg */
    background: radial-gradient(168.45% 168.45% at 51.89% 3.51%,
        rgba(254,254,254,0.5) 12.98%,
        rgba(81,89,173,0.5) 100%
    );
    box-shadow:
        0px 6px 26.3px rgba(49,32,70,0.20),
        0px 1px 5.2px rgba(0,0,0,0.15);
    border-radius: 24px;
    border: 1px solid rgba(201,205,228,0.4);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 16px 40px rgba(49,32,70,0.22), 0px 2px 8px rgba(0,0,0,0.12);
}

/* Popular card — Figma: gradient bg */
.cp-card--popular {
    background: linear-gradient(107.49deg,
        rgba(174,215,235,0.5) 7.25%,
        rgba(197,152,227,0.5) 51.3%,
        rgba(146,173,230,0.5) 73.32%,
        rgba(136,141,232,0.5) 95.34%
    );
    min-height: 620px;
    box-shadow: 0px 6px 26.3px rgba(49,32,70,0.20);
    border: 1px solid rgba(118,97,180,0.3);
}

/* Most Popular badge — Figma: gradient bg 170x32 radius 32 */
.cp-card__badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    border-radius: 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 12px;
    color: #FFFFFF; white-space: nowrap;
}

/* Card header — Figma: border-bottom #C9CDE4 */
.cp-card__header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 12px 0;
    gap: 6px;
    width: 100%;
    border-bottom: 1px solid #C9CDE4;
}

/* Figma: 49px → professional 24px */
.cp-card__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 24px;
    line-height: 32px; color: #2D335D; margin: 0;
}

/* Figma: 25px → 13px */
.cp-card__tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 13px;
    line-height: 18px; color: #2D335D; margin: 0;
}

/* Price — Figma: 49px → 28px */
.cp-card__price { width: 100%; }
.cp-card__price-amount {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 28px;
    line-height: 36px; color: #2D335D; display: block;
}

/* Features list */
.cp-card__features {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column;
    gap: 10px; width: 100%; flex: 1;
}
.cp-card__features li {
    display: flex; align-items: center;
    gap: 10px;
}
.cp-card__features li img {
    width: 18px; height: 18px;
    object-fit: contain; flex-shrink: 0; opacity: 0.8;
}
/* Figma: 25px → 13px */
.cp-card__features li span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 13px;
    line-height: 18px; color: #2D335D;
}

/* CTA button */
.cp-card__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; height: 48px;
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    border-radius: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 14px;
    color: #FFFFFF !important; text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s;
    margin-top: auto;
}
.cp-card__btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
    color: #FFFFFF !important;
}

/* ── Responsive ── */
@media(max-width:1280px){
    .cp-packages { padding: 64px 60px; }
}
@media(max-width:1024px){
    .cp-packages   { padding: 64px 40px; }
    .cp-cards-row  { flex-wrap: wrap; gap: 20px; }
    .cp-card       { min-width: calc(50% - 10px); max-width: none; flex: none; }
    .cp-card--popular { min-width: 100%; order: -1; min-height: auto; }
}
@media(max-width:768px){
    .cp-packages   { padding: 48px 24px; }
    .cp-level-tabs { flex-wrap: wrap; gap: 12px; }
    .cp-level-tab  { min-width: calc(50% - 6px); flex: 1; padding: 12px 16px; }
    .cp-level-tab__name { font-size: 15px; }
    .cp-cards-row  { flex-direction: column; align-items: center; }
    .cp-card       { width: 100%; max-width: 400px; min-width: auto; }
    .cp-card--popular { min-height: auto; }
}


/* ════ SECTION 3 — CAN'T DECIDE ═════════════════
   Figma: padding 128px 100px, gap 128px
   bg: pastel gradient 16% opacity
   ═══════════════════════════════════════════ */
.cp-decide {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 80px 100px;
    gap: 80px;
    width: 100%;
    box-sizing: border-box;
    margin: 48px 0;         /* gap above and below */
    background: linear-gradient(107.49deg,
        rgba(174,215,235,0.16) 7.25%,
        rgba(197,152,227,0.16) 51.3%,
        rgba(146,173,230,0.16) 73.32%,
        rgba(136,141,232,0.16) 95.34%
    );
}

/* Left text — 504px */
.cp-decide__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;              /* take all available space */
    max-width: 560px;
}

/* Figma: 49px → professional 32px */
.cp-decide__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 42px;
    color: #2D335D;
    margin: 0;
}

.cp-decide__desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #6B7280;
    margin: 0;
}

/* ── Chat Box ── */
.cp-decide__chat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border: 1px solid #EEEFF6;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(13,35,172,0.08);
    overflow: hidden;
    max-width: 560px;
}

/* Chat header */
.cp-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(107.49deg, rgba(118,97,180,0.08) 0%, rgba(13,35,172,0.05) 100%);
    border-bottom: 1px solid #EEEFF6;
}
.cp-chat-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(118,97,180,0.15), rgba(13,35,172,0.1));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cp-chat-header__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 13px;
    color: #222747; display: block;
}
.cp-chat-header__status {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; color: #8A92C5;
    display: flex; align-items: center; gap: 5px;
    margin-top: 2px;
}
.cp-chat-online {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22C55E;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(34,197,94,0.2);
}

/* Messages area */
.cp-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    min-height: 180px;
    max-height: 260px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Message bubbles */
.cp-chat-msg { display: flex; }
.cp-chat-msg--bot  { justify-content: flex-start; }
.cp-chat-msg--user { justify-content: flex-end; }

.cp-chat-msg__bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; line-height: 20px;
}
.cp-chat-msg--bot  .cp-chat-msg__bubble {
    background: #F4F5FF;
    border-radius: 4px 16px 16px 16px;
    color: #222747;
}
.cp-chat-msg--user .cp-chat-msg__bubble {
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    border-radius: 16px 4px 16px 16px;
    color: #ffffff;
}

/* Typing indicator */
.cp-chat-typing {
    display: flex; align-items: center; gap: 5px;
    padding: 12px 16px;
}
.cp-chat-typing span {
    width: 7px; height: 7px;
    border-radius: 50%; background: #7661B4;
    display: block; opacity: 0.4;
    animation: typingDot 1.2s ease-in-out infinite;
}
.cp-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.cp-chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
    0%,60%,100% { opacity:0.4; transform:translateY(0); }
    30% { opacity:1; transform:translateY(-5px); }
}

/* Quick reply buttons */
.cp-chat-quick {
    display: flex;
    gap: 8px;
    padding: 0 20px 12px;
    flex-wrap: wrap;
}
.cp-chat-quick-btn {
    padding: 6px 14px;
    background: transparent;
    border: 1.5px solid rgba(118,97,180,0.4);
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 600;
    color: #7661B4; cursor: pointer;
    transition: all 0.15s;
}
.cp-chat-quick-btn:hover {
    background: rgba(118,97,180,0.08);
    border-color: #7661B4;
}

/* Input row */
.cp-chat-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #EEEFF6;
}
.cp-chat-input {
    flex: 1; height: 40px;
    padding: 8px 14px;
    background: #F9F9FC;
    border: 1px solid #DCDCE2;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; color: #222747;
    outline: none;
    transition: border-color 0.15s;
}
.cp-chat-input:focus { border-color: #7661B4; background: #fff; }
.cp-chat-input::placeholder { color: #AFB4D7; }

.cp-chat-send {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s, opacity 0.15s;
}
.cp-chat-send:hover { transform: scale(1.08); opacity: 0.9; }

/* ── Responsive ── */
@media(max-width:1280px){
    .cp-decide { padding: 80px 60px; gap: 60px; }
}
@media(max-width:1024px){
    .cp-decide { padding: 64px 40px; gap: 40px; }
    .cp-decide__text { flex: 0 0 320px; max-width: 320px; }
    .cp-decide__title { font-size: 26px; line-height: 34px; }
}
@media(max-width:768px){
    .cp-decide { flex-direction: column; padding: 48px 24px; gap: 32px; }
    .cp-decide__text { flex: none; max-width: 100%; }
    .cp-decide__chat-box { max-width: 100%; }
    .cp-decide__title { font-size: 24px; }
}


/* ════ SECTION 3 — CAN'T DECIDE (simplified) ═══ */
.cp-decide__cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 36px 32px;
    background: #ffffff;
    border: 1px solid #EEEFF6;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(13,35,172,0.07);
    flex: 1;
    max-width: 480px;
    text-align: center;
}
.cp-decide__cta-icon {
    width: 64px; height: 64px;
    border-radius: 20px;
    background: rgba(118,97,180,0.08);
    display: flex; align-items: center; justify-content: center;
}
.cp-decide__cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 18px;
    line-height: 26px; color: #222747; margin: 0;
}
.cp-decide__cta-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; line-height: 20px;
    color: #6B7280; margin: 0; max-width: 340px;
}
.cp-decide__cta-btn {
    display: inline-flex; align-items: center;
    justify-content: center; gap: 8px;
    padding: 13px 28px; height: 48px;
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    border-radius: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 14px;
    color: #ffffff !important; text-decoration: none;
    transition: transform 0.15s ease;
    width: 100%;
}
.cp-decide__cta-btn:hover { transform: translateY(-1px); color: #fff !important; }
.cp-decide__cta-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; color: #8A92C5; margin: 0;
}


/* ════ SECTION 4 — HOW IT WORKS ═════════════════
   Figma: padding 32px 112px, gap 32px
   bg: radial-gradient + #F3F4FE
   ═══════════════════════════════════════════ */
.cp-how {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 64px 112px;
    gap: 48px;
    width: 100%;
    box-sizing: border-box;
    background:
        radial-gradient(100% 690.5% at 100% 1.55%,
            rgba(197,152,227,0.2) 0%,
            rgba(255,255,255,0) 100%
        ),
        #F3F4FE;
}

/* Header */
.cp-how__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
/* Figma: 49px → 28px */
.cp-how__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 28px;
    line-height: 36px; color: #2D335D; margin: 0;
}
/* Figma: 20px → 15px */
.cp-how__desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; font-size: 15px;
    line-height: 22px; color: #2D335D; margin: 0;
}

/* Cards row */
.cp-how__cards {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: 1217px;
}

/* Single card — Figma: 384x292 radius 32 */
.cp-how__card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 32px;
    flex: 1;
    min-height: 260px;
    background: transparent;   /* transparent as Figma */
    border-radius: 24px;
    border: 1.5px solid rgba(118,97,180,0.25);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.cp-how__card:hover {
    transform: translateY(-3px);
    border-color: rgba(118,97,180,0.5);
}

.cp-how__card-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}

/* Number circle — Figma: 72x72 gradient radius 32 */
.cp-how__num-wrap {
    width: 56px; height: 56px;
    border-radius: 20px;
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    box-shadow:
        0px 4px 4px rgba(0,0,0,0.19),
        inset 0px 4px 10px rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
/* Figma: 39px → 20px */
.cp-how__num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 20px;
    line-height: 1; color: #ffffff;
    text-align: center;
}

/* Card title — Figma: 31px → 18px */
.cp-how__card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 18px;
    line-height: 26px; color: #2D335D; margin: 0;
}

/* Card desc — Figma: 20px → 13px */
.cp-how__card-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 13px;
    line-height: 20px; color: #2D335D; margin: 0;
}

/* ── Responsive ── */
@media(max-width:1280px){
    .cp-how { padding: 64px 60px; }
}
@media(max-width:1024px){
    .cp-how { padding: 48px 40px; }
    .cp-how__cards { flex-wrap: wrap; }
    .cp-how__card  { min-width: calc(50% - 12px); flex: none; }
}
@media(max-width:768px){
    .cp-how { padding: 48px 24px; }
    .cp-how__cards { flex-direction: column; }
    .cp-how__card  { width: 100%; min-width: auto; min-height: auto; }
    .cp-how__title { font-size: 24px; }
    /* also fix section 3 responsive */
    .cp-decide { flex-direction: column; padding: 48px 24px; gap: 32px; }
    .cp-decide__text { flex: none; max-width: 100%; }
    .cp-decide__cta-box { max-width: 100%; }
}


/* ════ SECTION 5 — WHY CARTANTS WRAPPER ══════════
   Figma: padding 32px, gap 32px, radius 64
   bg: pastel gradient 15% opacity
   ═══════════════════════════════════════════ */
.cp-why-wrapper {
    width: 100%;
    padding: 40px 100px 60px;
    box-sizing: border-box;
    background: #ffffff;
}

.cp-why-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 40px;
    width: 100%;
    max-width: 1236px;
    margin: 0 auto;
    background: linear-gradient(107.49deg,
        rgba(174,215,235,0.15) 9.26%,
        rgba(197,152,227,0.15) 29.56%,
        rgba(146,173,230,0.15) 64.06%,
        rgba(136,141,232,0.15) 92.97%
    );
    border-radius: 48px;
    box-sizing: border-box;
}

/* ── Shared section title ── */
.cp-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 22px;
    line-height: 30px; color: #2D335D;
    margin: 0; text-align: center;
    width: 100%;
}

/* ── Part A: Why cards ── */
.cp-why-top {
    display: flex; flex-direction: column;
    gap: 16px; width: 100%;
}
.cp-why__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 22px;
    line-height: 30px; color: #2D335D; margin: 0;
    text-align: center; width: 100%;
}
.cp-why-cards {
    display: flex; flex-direction: row;
    gap: 16px; width: 100%;
    filter: drop-shadow(0px 0px 10.3px rgba(4,3,11,0.09));
}
.cp-why-card {
    box-sizing: border-box;
    display: flex; flex-direction: column;
    align-items: flex-start;
    padding: 20px; gap: 12px;
    flex: 1; min-height: 160px;
    background: rgba(251,251,253,0.5);
    border-radius: 24px;
}
.cp-why-card__top {
    display: flex; flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px; width: 100%;
}
.cp-why-card__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 14px;
    line-height: 20px; color: #2D335D; margin: 0; flex: 1;
}
.cp-why-card__top img { width:36px; height:36px; object-fit:contain; flex-shrink:0; opacity:0.8; }
.cp-why-card__desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 12px;
    line-height: 18px; color: #2D335D; margin: 0;
}

/* ── Part B: Testimonials ── */
.cp-customers { display:flex; flex-direction:column; gap:16px; width:100%; }
.cp-testimonials-row { display:flex; flex-direction:row; gap:12px; width:100%; }

.cp-tcard {
    flex: 1;
    display: flex; flex-direction: column;
    background: rgba(251,251,253,0.7);
    border: 1px solid #C9CDE4;
    border-radius: 20px; overflow: hidden;
}
.cp-tcard__header {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    background: #C6CDFA;
    border-radius: 20px 20px 0 0;
}
.cp-tcard__photo { width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0; }
.cp-tcard__photo img { width:100%;height:100%;object-fit:cover; }
.cp-tcard__photo-ph { width:40px;height:40px;border-radius:50%;background:#B2ADD2; }
.cp-tcard__photo-ph--sm { width:32px;height:32px; }
.cp-tcard__name { font-family:'Montserrat',sans-serif;font-weight:600;font-size:12px;color:#141414;display:block; }
.cp-tcard__meta { display:flex;align-items:center;gap:3px;font-size:10px;color:#3A4278;font-family:'Montserrat',sans-serif;margin-top:2px; }
.cp-tcard__meta img { opacity:0.7; }
.cp-tcard__feedback { font-family:'Montserrat',sans-serif;font-size:12px;line-height:18px;color:#141414;margin:0;padding:12px 16px;flex:1; }
.cp-tcard__user { display:flex;align-items:center;gap:8px;padding:10px 16px;border-top:1px solid #EEEFF6; }
.cp-tcard__user-photo { width:32px;height:32px;border-radius:50%;overflow:hidden;flex-shrink:0; }
.cp-tcard__user-photo img { width:100%;height:100%;object-fit:cover; }
.cp-tcard__user-name { font-family:'Montserrat',sans-serif;font-weight:500;font-size:11px;color:#3A4278;display:block; }
.cp-tcard__user-sub  { font-family:'Montserrat',sans-serif;font-size:10px;color:#8A92C5;display:block; }
.cp-tcard__stars { display:flex;gap:2px;margin-top:3px; }

/* ── Part C: Data charts ── */
.cp-data { display:flex;flex-direction:column;gap:16px;width:100%;align-items:center; }
.cp-data-charts { display:flex;flex-direction:row;gap:8px;width:100%; }

.cp-data-chart-box {
    flex: 1;
    box-sizing: border-box;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 16px 20px; gap: 16px;
    background: rgba(251,251,253,0.5);
    border: 1px solid #D8DDFC;
    box-shadow: 0px 0px 10.3px rgba(4,3,11,0.09);
    border-radius: 24px;
}
.cp-data-chart-box__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 13px;
    line-height: 18px; color: #2D335D; margin: 0;
    align-self: flex-start;
}
.cp-data-chart-inner { display:flex;flex-direction:row;align-items:center;gap:16px;width:100%; }
.cp-data-chart-img { width:140px;height:auto;object-fit:contain;display:block;flex-shrink:0; }
.cp-data-legend { display:flex;flex-direction:column;gap:8px;flex:1; }
.cp-data-legend-item { display:flex;align-items:center;gap:6px;font-family:'Montserrat',sans-serif;font-size:11px;color:#2D335D; }
.cp-legend-dot { width:10px;height:10px;border-radius:50%;flex-shrink:0; }
.cp-legend-pct { color:#8A92C5;font-size:10px;min-width:34px; }

/* ── Part D: Stats bar ── */
.cp-stats-bar {
    display: flex; flex-direction: row;
    justify-content: center; align-items: center;
    padding: 32px; gap: 0;
    width: 100%;
    /* Figma: radial-gradient #7661B4 → #172262 */
    background: radial-gradient(124.41% 513.32% at -20.35% 183.17%, #7661B4 0%, #172262 100%);
    border-radius: 24px;
    box-sizing: border-box;
}
.cp-stat-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    flex: 1; text-align: center;
}
.cp-stat-item__number {
    font-family: 'Cairo', sans-serif;
    font-weight: 700; font-size: 40px;
    line-height: 48px; color: #ffffff; display: block;
}
.cp-stat-item__label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 14px;
    line-height: 20px; color: #C6CDFA; display: block;
}
.cp-stat-item__note {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; color: rgba(198,205,250,0.7); display: block;
}
.cp-stat-divider { width:1px;height:60px;background:rgba(255,255,255,0.15);flex-shrink:0; }

/* ── Responsive ── */
@media(max-width:1280px){
    .cp-why-wrapper { padding:40px 60px 60px; }
}
@media(max-width:1024px){
    .cp-why-wrapper { padding:32px 40px 48px; }
    .cp-why-cards   { flex-wrap:wrap; }
    .cp-why-card    { min-width:calc(50% - 8px); flex:none; }
    .cp-testimonials-row { flex-wrap:wrap; }
    .cp-tcard       { min-width:calc(50% - 6px); }
    .cp-data-charts { flex-direction:column; }
}
@media(max-width:768px){
    .cp-why-wrapper { padding:24px 24px 40px; }
    .cp-why-inner   { border-radius:24px; padding:20px; }
    .cp-why-cards   { flex-direction:column; }
    .cp-why-card    { min-width:100%; }
    .cp-testimonials-row { flex-direction:column; }
    .cp-tcard       { min-width:100%; }
    .cp-stats-bar   { flex-direction:column;gap:24px; }
    .cp-stat-divider{ width:80%;height:1px; }
}


/* ════ SECTION 6 — CONTACT FORM ═════════════════
   Figma: padding 32px 100px, gap 573px
   bg: radial-gradient frosted
   ═══════════════════════════════════════════ */
.cp-contact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 48px 100px;
    gap: 60px;
    width: 100%;
    min-height: 220px;
    box-sizing: border-box;
    /* Figma: radial-gradient frosted glass */
    background: radial-gradient(168.45% 168.45% at 51.89% 3.51%,
        rgba(254,254,254,0.59) 12.98%,
        rgba(81,89,173,0.59) 100%
    );
}

/* Left text */
.cp-contact__text { flex: 1; }

/* Figma: 31px → professional 22px */
.cp-contact__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    color: #3A4278;
    margin: 0;
}

/* Right form */
.cp-contact__form-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 540px;
    flex-shrink: 0;
}

.cp-contact__success {
    padding: 10px 14px;
    background: rgba(22,163,74,0.08);
    border: 1px solid rgba(22,163,74,0.2);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; color: #15803D;
}

.cp-contact__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.cp-contact__field { width: 100%; }

/* Figma: bg #F9F9FC border #DCDCE2 radius 16 */
.cp-contact__input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(249,249,252,0.9);
    border: 1px solid rgba(220,220,226,0.6);
    border-radius: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; color: #222747;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, background 0.15s;
}
.cp-contact__input:focus {
    border-color: #7661B4;
    background: rgba(255,255,255,0.95);
}
.cp-contact__input::placeholder { color: #AFB4D7; }

.cp-contact__textarea {
    resize: none;
    min-height: 80px;
}

/* Logged-in notice */
.cp-contact__logged-in {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; color: #8A92C5;
    padding: 8px 12px;
    background: rgba(118,97,180,0.06);
    border-radius: 10px;
}

/* Submit button */
.cp-contact__btn {
    width: 100%; height: 48px;
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    border: none; border-radius: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 14px;
    color: #ffffff; cursor: pointer;
    transition: transform 0.15s ease;
}
.cp-contact__btn:hover { transform: translateY(-1px); }

/* ── Responsive ── */
@media(max-width:1280px){ .cp-contact { padding: 48px 60px; } }
@media(max-width:1024px){ .cp-contact { padding: 48px 40px; gap: 40px; } }
@media(max-width:768px){
    .cp-contact { flex-direction: column; padding: 40px 24px; gap: 24px; align-items: flex-start; }
    .cp-contact__form-wrap { max-width: 100%; width: 100%; }
    .cp-contact__title { font-size: 20px; }
}


/* ── WooCommerce-connected card buttons ── */
.cp-card__actions {
    display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: auto;
}
.cp-card__btn--cart {
    width: 100%; height: 44px; padding: 10px 16px;
    border: 1.5px solid #515DA9; border-radius: 22px;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 13px; color: #515DA9;
    cursor: pointer; transition: background 0.15s, color 0.15s;
}
.cp-card__btn--cart:hover { background: #515DA9; color: #ffffff; }
.cp-card--popular .cp-card__btn--cart { border-color: rgba(255,255,255,0.7); color: rgba(255,255,255,0.9); }
.cp-card--popular .cp-card__btn--cart:hover { background: rgba(255,255,255,0.15); }
.cp-card__btn--checkout {
    width: 100%; height: 44px; padding: 10px 16px;
    background: linear-gradient(107.49deg, #7661B4 7.25%, #0D23AC 95.34%);
    border: none; border-radius: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 13px; color: #ffffff;
    cursor: pointer; transition: opacity 0.15s, transform 0.15s;
}
.cp-card__btn--checkout:hover { opacity: 0.9; transform: translateY(-1px); }
.cp-cart-msg {
    padding: 6px 12px; border-radius: 8px; font-size: 11px;
    font-family: 'Montserrat', sans-serif; text-align: center;
}
.cp-cart-msg--success { background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.25); color: #15803D; }
.cp-cart-msg--error   { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);  color: #B91C1C; }
