
/* ═════════════════════════════════════════════════════════════════════
   SPRINT 4 PHASE 2 — Cluster page shared styles
   ═════════════════════════════════════════════════════════════════════ */

.tnw-cluster-page {
    font-family: 'Cairo', 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
    color: #0f172a;
    background: #fff;
}
.tnw-cp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ───────── HERO ───────── */
.tnw-cp-hero {
    position: relative;
    padding: 64px 0 56px;
    overflow: hidden;
    background:
        radial-gradient(900px 400px at 20% 0%, var(--cp-hero-tint, rgba(22,163,74,.08)), transparent 70%),
        radial-gradient(600px 300px at 90% 100%, var(--cp-hero-tint-2, rgba(37,99,235,.06)), transparent 70%),
        #fafafa;
}
.tnw-cp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--cp-eyebrow-bg, rgba(22,163,74,.10));
    color: var(--cp-eyebrow-color, #16A34A);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    margin-bottom: 16px;
}
.tnw-cp-hero__title {
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    max-width: 800px;
}
.tnw-cp-hero__title span { color: var(--cp-accent, #16A34A); }
.tnw-cp-hero__sub {
    font-size: clamp(15px, 1.5vw, 18px);
    color: #475569;
    max-width: 720px;
    line-height: 1.6;
    margin: 0 0 24px;
}
.tnw-cp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.tnw-cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
    cursor: pointer;
    border: 0;
}
.tnw-cp-btn--primary {
    background: var(--cp-accent, #16A34A);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(22,163,74,.25);
}
.tnw-cp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22,163,74,.35); }
.tnw-cp-btn--ghost {
    background: #fff;
    color: #0f172a !important;
    border: 1px solid #E2E8F0;
}
.tnw-cp-btn--ghost:hover { border-color: var(--cp-accent, #16A34A); color: var(--cp-accent, #16A34A) !important; }

/* ───────── SECTION ───────── */
.tnw-cp-section { padding: 56px 0; }
.tnw-cp-section--muted { background: #F8FAFC; }
.tnw-cp-section__title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    margin: 0 0 8px;
    text-align: center;
}
.tnw-cp-section__sub {
    font-size: 15px;
    color: #64748b;
    text-align: center;
    margin: 0 auto 32px;
    max-width: 620px;
}

/* ───────── FEATURE CARDS GRID ───────── */
.tnw-cp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .tnw-cp-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tnw-cp-features { grid-template-columns: 1fr; } }

.tnw-cp-feature {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.tnw-cp-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
}
.tnw-cp-feature__icon { font-size: 32px; margin-bottom: 12px; }
.tnw-cp-feature__title { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.tnw-cp-feature__body { font-size: 14px; color: #475569; line-height: 1.55; margin: 0; }

/* ───────── KIT / PRODUCT CARDS ───────── */
.tnw-cp-kits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 720px) { .tnw-cp-kits { grid-template-columns: 1fr; } }
.tnw-cp-kit {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.tnw-cp-kit:hover { border-color: var(--cp-accent, #16A34A); box-shadow: 0 8px 20px rgba(15,23,42,.05); }
.tnw-cp-kit__visual {
    flex: 0 0 96px;
    width: 96px; height: 96px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cp-soft, #DCFCE7), var(--cp-soft-2, #DBEAFE));
    display: flex; align-items: center; justify-content: center;
    font-size: 44px;
}
.tnw-cp-kit__body { flex: 1; }
.tnw-cp-kit__title { font-size: 17px; font-weight: 800; margin: 0 0 6px; }
.tnw-cp-kit__desc { font-size: 14px; color: #64748b; margin: 0 0 12px; line-height: 1.5; }
.tnw-cp-kit__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.tnw-cp-kit__price {
    font-weight: 800;
    color: var(--cp-accent, #16A34A);
    background: var(--cp-soft, #DCFCE7);
    padding: 4px 10px;
    border-radius: 999px;
}
.tnw-cp-kit__tag {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #F1F5F9;
    padding: 3px 9px;
    border-radius: 999px;
}
.tnw-cp-kit__tag--ai {
    background: linear-gradient(90deg, #2563EB, #7C3AED);
    color: #fff;
}

/* ───────── BIG CTA STRIP ───────── */
.tnw-cp-cta-strip {
    margin: 56px 0 0;
    padding: 48px 32px;
    background: linear-gradient(135deg, var(--cp-accent, #16A34A), var(--cp-accent-2, #2563EB));
    border-radius: 24px;
    color: #fff;
    text-align: center;
}
.tnw-cp-cta-strip h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 0 0 8px; color: #fff; }
.tnw-cp-cta-strip p { font-size: 15px; opacity: .9; margin: 0 0 20px; }
.tnw-cp-cta-strip .tnw-cp-btn {
    background: #fff;
    color: var(--cp-accent, #16A34A) !important;
}
.tnw-cp-cta-strip .tnw-cp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }

/* ───────── COMPETITION TIMELINE (Schools only) ───────── */
.tnw-cp-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: step;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 900px) { .tnw-cp-timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tnw-cp-timeline { grid-template-columns: 1fr; } }
.tnw-cp-timeline__step {
    position: relative;
    padding: 24px 20px 20px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    list-style: none !important;
}
.tnw-cp-timeline__step::marker { content: none !important; display: none !important; }
.tnw-cp-timeline__num {
    position: absolute;
    top: -16px; inset-inline-start: 16px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16A34A, #2563EB);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px;
    box-shadow: 0 4px 10px rgba(22,163,74,.25);
}
.tnw-cp-timeline__title { font-size: 15px; font-weight: 800; margin: 6px 0 8px; }
.tnw-cp-timeline__body { font-size: 13px; color: #64748b; margin: 0; line-height: 1.5; }

/* ───────── PALETTES per cluster ───────── */
.tnw-cluster-page--schools {
    --cp-accent:    #16A34A;
    --cp-accent-2:  #2563EB;
    --cp-soft:      #DCFCE7;
    --cp-soft-2:    #DBEAFE;
    --cp-hero-tint: rgba(22,163,74,.08);
    --cp-hero-tint-2: rgba(37,99,235,.06);
    --cp-eyebrow-bg: rgba(22,163,74,.10);
    --cp-eyebrow-color: #16A34A;
}
.tnw-cluster-page--homes {
    --cp-accent:    #2563EB;
    --cp-accent-2:  #16A34A;
    --cp-soft:      #DBEAFE;
    --cp-soft-2:    #DCFCE7;
    --cp-hero-tint: rgba(37,99,235,.10);
    --cp-hero-tint-2: rgba(22,163,74,.06);
    --cp-eyebrow-bg: rgba(37,99,235,.10);
    --cp-eyebrow-color: #2563EB;
}
.tnw-cluster-page--hotels {
    --cp-accent:    #7C3AED;
    --cp-accent-2:  #2563EB;
    --cp-soft:      #EDE9FE;
    --cp-soft-2:    #DBEAFE;
    --cp-hero-tint: rgba(124,58,237,.10);
    --cp-hero-tint-2: rgba(37,99,235,.06);
    --cp-eyebrow-bg: rgba(124,58,237,.10);
    --cp-eyebrow-color: #7C3AED;
}
.tnw-cluster-page--agriculture {
    --cp-accent:    #15803D;
    --cp-accent-2:  #16A34A;
    --cp-soft:      #DCFCE7;
    --cp-soft-2:    #BBF7D0;
    --cp-hero-tint: rgba(21,128,61,.10);
    --cp-hero-tint-2: rgba(22,163,74,.08);
    --cp-eyebrow-bg: rgba(21,128,61,.10);
    --cp-eyebrow-color: #15803D;
}
.tnw-cluster-page--vision {
    --cp-accent:    #7C3AED;
    --cp-accent-2:  #2563EB;
    --cp-soft:      #EDE9FE;
    --cp-soft-2:    #DBEAFE;
    --cp-hero-tint: rgba(124,58,237,.12);
    --cp-hero-tint-2: rgba(37,99,235,.08);
    --cp-eyebrow-bg: rgba(124,58,237,.12);
    --cp-eyebrow-color: #7C3AED;
}
.tnw-cluster-page--industries {
    --cp-accent:    #475569;
    --cp-accent-2:  #0f172a;
    --cp-soft:      #F1F5F9;
    --cp-soft-2:    #E2E8F0;
    --cp-hero-tint: rgba(71,85,105,.06);
    --cp-hero-tint-2: rgba(15,23,42,.04);
    --cp-eyebrow-bg: rgba(71,85,105,.10);
    --cp-eyebrow-color: #475569;
}

/* ───────── HORIZON GRID (Vision page) ───────── */
.tnw-cp-horizon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 900px) { .tnw-cp-horizon { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tnw-cp-horizon { grid-template-columns: 1fr; } }
.tnw-cp-horizon__item {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tnw-cp-horizon__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
    border-color: #7C3AED;
}
.tnw-cp-horizon__icon { font-size: 36px; line-height: 1; margin-bottom: 12px; }
.tnw-cp-horizon__title { font-size: 14px; font-weight: 800; margin: 0 0 6px; }
.tnw-cp-horizon__body { font-size: 12px; color: #64748b; margin: 0; line-height: 1.5; }

/* ───────── INDUSTRIES CARDS ───────── */
.tnw-cp-industries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 900px) { .tnw-cp-industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tnw-cp-industries { grid-template-columns: 1fr; } }
.tnw-cp-industry {
    padding: 24px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tnw-cp-industry__head { display: flex; align-items: center; gap: 12px; }
.tnw-cp-industry__icon { font-size: 32px; }
.tnw-cp-industry__name { font-size: 16px; font-weight: 800; margin: 0; }
.tnw-cp-industry__pitch { font-size: 13px; color: #64748b; margin: 0; line-height: 1.5; flex: 1; }
.tnw-cp-industry__cta {
    align-self: flex-start;
    margin-top: 4px;
    color: var(--cp-accent, #475569) !important;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tnw-cp-industry__cta:hover { color: #0f172a !important; }
[dir="rtl"] .tnw-cp-industry__cta svg { transform: scaleX(-1); }

/* ───────── REQUEST-A-SYSTEM FORM ───────── */
.tnw-cp-form {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 28px;
}
.tnw-cp-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 540px) { .tnw-cp-form__row { grid-template-columns: 1fr; } }
.tnw-cp-form__field { display: flex; flex-direction: column; }
.tnw-cp-form__label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}
.tnw-cp-form__input,
.tnw-cp-form__select,
.tnw-cp-form__textarea {
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tnw-cp-form__input:focus,
.tnw-cp-form__select:focus,
.tnw-cp-form__textarea:focus {
    outline: none;
    border-color: #16A34A;
    box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
.tnw-cp-form__textarea { min-height: 110px; resize: vertical; }
.tnw-cp-form__submit-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.tnw-cp-form__hint {
    margin: 0 0 20px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}
.tnw-cp-form__success {
    background: #DCFCE7;
    border: 1px solid #86EFAC;
    color: #166534;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.tnw-cp-form__error {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
}
