/* ============================================================
   SMS Franchise PH — Homepage Styles
   All homepage CSS consolidated in one place
   ============================================================ */

/* ── BASE ── */
body {
    background: #f8f9fc;
}

/* ── HERO ── */
.hp-hero {
    background: linear-gradient(135deg, #ffffff 0%, #eef1ff 100%);
    padding: 100px 0 88px;
    border-bottom: 1px solid #e8ecf4;
    position: relative;
    overflow: hidden;
}

.hp-hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 240, .09), transparent 65%);
    top: -280px;
    right: -180px;
    pointer-events: none;
}

.hp-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .06), transparent 70%);
    bottom: -140px;
    left: -100px;
    pointer-events: none;
}

.hp-hero .container {
    position: relative;
    z-index: 1;
}

.hp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 80px;
    align-items: center;
}

/* Pill badge */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 82, 240, .08);
    border: 1px solid rgba(0, 82, 240, .18);
    color: #0052F1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 22px;
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0052F0;
    animation: blink 1.6s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

/* Headline */
.hp-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 900;
    color: #111827;
    letter-spacing: -.7px;
    margin-bottom: 20px;
    line-height: 1.12;
}

.hp-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #0052F0, #003BB0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-hero p.lead {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

/* Search bar */
.hp-search {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-end;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .05);
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.hp-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1.3;
    /* Even more space for Category and Location */
    min-width: 130px;
}

.hp-field:nth-child(3) {
    flex: 1;
    /* Budget can be smaller */
    min-width: 110px;
}

.hp-label {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding-left: 4px;
}

.hp-select {
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px 22px 12px 8px;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: -0.02em;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
}

.hp-select option {
    background: #ffffff;
    color: #1e293b;
    padding: 12px;
}

.hp-select:focus {
    border-color: var(--ph-blue);
    background-color: #ffffff;
    /* Prevents dark background from global styles */
    box-shadow: 0 0 0 3px rgba(0, 56, 168, 0.1);
}

.hp-search-btn {
    background: var(--ph-blue);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 13px 20px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0, 56, 168, 0.25);
    transition: all .3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.hp-search-btn:hover {
    background: var(--ph-blue-light);
    box-shadow: 0 12px 24px rgba(0, 86, 251, 0.3);
    transform: translateY(-2px);
}

/* Quick pills */
.hp-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hp-pill {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    color: #64748b;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hp-pill:hover {
    border-color: var(--ph-blue);
    color: var(--ph-blue);
    background: rgba(0, 56, 168, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Hero metrics */
.hp-metrics {
    display: flex;
    gap: 36px;
    padding-top: 28px;
    border-top: 1px solid #e8ecf4;
}

.hm-item {
    text-align: center;
}

.hm-num {
    font-size: 26px;
    font-weight: 900;
    color: #111827;
    display: block;
}

.hm-num span {
    color: #0052F0;
}

.hm-lbl {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 2px;
    display: block;
}

/* Signup card */
.hp-signup-card {
    background: #ffffff;
    border: 1.5px solid #e5e9f4;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 16px 56px rgba(0, 0, 0, .10);
}

.hp-signup-card h2 {
    font-size: 19px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.hp-signup-card>p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 22px;
}

.sg-field {
    margin-bottom: 14px;
}

.sg-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.sg-input {
    width: 100%;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 11px;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 14px;
    color: #111827;
    outline: none;
    box-sizing: border-box;
    transition: border-color .18s;
    appearance: none;
}

.sg-input:focus {
    border-color: #0052F0;
    background: #fff;
}

.sg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sg-btn {
    width: 100%;
    background: linear-gradient(135deg, #0052F0, #003BB0);
    color: #fff;
    border: none;
    border-radius: 13px;
    padding: 15px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 4px 18px rgba(30, 75, 224, 0.3);
    transition: all .2s;
}

.sg-btn:hover {
    box-shadow: 0 10px 32px rgba(12, 107, 250, 0.42);
    transform: translateY(-1px);
}

.sg-meta {
    font-size: 11.5px;
    color: #9ca3af;
    text-align: center;
    margin-top: 12px;
}

/* ── DARK STATS STRIP ── */
.hp-stats {
    background: linear-gradient(135deg, #111827, #1e293b);
    padding: 72px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .1);
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
}

.stat-box {
    background: linear-gradient(135deg, #111827, #1e293b);
    padding: 42px 24px;
    text-align: center;
    transition: background .2s;
}

.stat-box:hover {
    background: rgba(255, 255, 255, .04);
}

.stat-box-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.stat-box-num {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-box-num em {
    color: #0052F0;
    font-style: normal;
}

.stat-box-lbl {
    font-size: 15px;
    color: rgba(255, 255, 255, .55);
    font-weight: 500;
    line-height: 1.6;
}

/* ── TRUSTED BY (MARQUEE) ── */
.hp-trust {
    background: #ffffff;
    border-bottom: 1px solid #e8ecf4;
    padding: 40px 0;
    overflow: hidden;
}

.trust-label {
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.marquee-container {
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 120px;
    width: max-content;
    animation: scroll 15s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.trust-logo {
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.trust-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── SHARED SECTION STYLES ── */
.hp-section {
    padding: 100px 0;
}

.hp-section-alt {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid #e8ecf4;
    border-bottom: 1px solid #e8ecf4;
}

.sec-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 16px;
    margin-bottom: 14px;
}

.sec-title {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 14px;
    letter-spacing: -.4px;
    line-height: 1.2;
}

.sec-lead {
    font-size: 16.5px;
    color: #6b7280;
    line-height: 1.85;
    max-width: 640px;
    margin-bottom: 52px;
}

.sec-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 14px;
}

.sec-view-all {
    font-size: 14.5px;
    font-weight: 700;
    color: #0052F0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap .18s;
}

.sec-view-all:hover {
    gap: 11px;
}

/* ── FRANCHISE CARDS — 3 col grid ── */
.home-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hc {
    background: #ffffff;
    border: 1.5px solid #e5e9f4;
    border-radius: 20px;
    overflow: hidden;
    transition: all .25s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hc:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(0, 0, 0, .10);
    border-color: rgba(0, 82, 240, .22);
}

/* Badge */
.hc-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 9px;
}

.hc-badge-r {
    background: rgba(0, 82, 240, .1);
    color: #003BB0;
    border: 1px solid rgba(0, 82, 240, .22);
}

.hc-badge-g {
    background: rgba(34, 197, 94, .1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, .22);
}

.hc-badge-b {
    background: rgba(99, 102, 241, .1);
    color: #4338ca;
    border: 1px solid rgba(99, 102, 241, .22);
}

.hc-badge-y {
    background: rgba(245, 158, 11, .1);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, .22);
}

/* Card top */
.hc-top {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    padding: 30px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #e8ecf4;
}

.hc-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.hc-name {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 5px;
    line-height: 1.3;
}

.hc-cat {
    font-size: 13px;
    color: #0052F0;
    font-weight: 600;
}

/* Card body */
.hc-body {
    padding: 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hc-invest {
    font-size: 16px;
    font-weight: 800;
    color: #0052F0;
    background: rgba(0, 82, 240, .06);
    border: 1px solid rgba(0, 82, 240, .14);
    border-radius: 11px;
    padding: 12px 16px;
    text-align: center;
}

.hc-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 9px 0;
    border-bottom: 1px solid #f3f4f6;
}

.hc-row:last-of-type {
    border-bottom: none;
}

.hc-lbl {
    color: #9ca3af;
}

.hc-val {
    color: #374151;
    font-weight: 700;
}

.hc-cta {
    display: block;
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, #0052F0, #003BB0);
    color: #fff;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 13px;
    margin-top: auto;
    transition: all .22s;
    box-shadow: 0 4px 16px rgba(0, 82, 240, .22);
    letter-spacing: .2px;
}

.hc-cta:hover {
    box-shadow: 0 10px 32px rgba(0, 82, 240, .38);
    transform: translateY(-1px);
}

/* ── CATEGORY GRID ── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cat-card {
    background: #ffffff;
    border: 1.5px solid #e5e9f4;
    border-radius: 22px;
    padding: 40px 28px;
    text-align: center;
    text-decoration: none;
    transition: all .22s;
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity .25s;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .10);
}

.cat-card:hover::before {
    opacity: 1;
}

.cc-r::before {
    background: #0052F0;
}

.cc-b::before {
    background: #3b82f6;
}

.cc-g::before {
    background: #22c55e;
}

.cc-p::before {
    background: #a855f7;
}

.cc-o::before {
    background: #f59e0b;
}

.cc-t::before {
    background: #14b8a6;
}

.cc-i::before {
    background: #6366f1;
}

.cc-y::before {
    background: #eab308;
}

.cat-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
}

.cat-icon img {
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cat-card:hover .cat-icon img {
    transform: scale(1.1) rotate(2deg);
}

.cat-icon span {
    font-size: 44px;
}

.cat-name {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 7px;
}

.cat-count {
    font-size: 13.5px;
    color: #9ca3af;
    font-weight: 500;
}

/* ── WHY US GRID ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.why-card {
    background: #ffffff;
    border: 1.5px solid #e5e9f4;
    border-radius: 22px;
    padding: 38px;
    transition: all .22s;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .08);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.wc-r::before {
    background: #0052F0;
}

.wc-b::before {
    background: #3b82f6;
}

.wc-g::before {
    background: #22c55e;
}

.wc-p::before {
    background: #a855f7;
}

.wc-o::before {
    background: #f59e0b;
}

.wc-t::before {
    background: #14b8a6;
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
}

.wi-r {
    background: rgba(0, 82, 240, .1);
}

.wi-b {
    background: rgba(59, 130, 246, .1);
}

.wi-g {
    background: rgba(34, 197, 94, .1);
}

.wi-p {
    background: rgba(168, 85, 247, .1);
}

.wi-o {
    background: rgba(245, 158, 11, .1);
}

.wi-t {
    background: rgba(20, 184, 166, .1);
}

.why-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14.5px;
    color: #6b7280;
    line-height: 1.78;
}

/* ── PROCESS STEPS ── */
.process-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-row::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 14%;
    right: 14%;
    height: 2px;
    background: linear-gradient(90deg, #0052F0, rgba(0, 82, 240, .15));
    z-index: 0;
}

.proc-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.proc-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0052F0, #003BB0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(0, 82, 240, .32);
}

.proc-step h4 {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.proc-step p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.78;
}

/* ── TESTIMONIALS ── */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.testi-card {
    background: #ffffff;
    border: 1.5px solid #e5e9f4;
    border-radius: 22px;
    padding: 36px;
    transition: all .22s;
}

.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .09);
}

.testi-stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 18px;
    letter-spacing: 3px;
}

.testi-text {
    font-size: 15.5px;
    color: #374151;
    line-height: 1.82;
    margin-bottom: 22px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0052F0, #003BB0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.testi-name {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
}

.testi-role {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 2px;
}

/* ── EVENTS STRIP ── */
.events-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ev-mini {
    background: #ffffff;
    border: 1.5px solid #e5e9f4;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all .22s;
    text-decoration: none;
}

.ev-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .09);
    border-color: rgba(0, 82, 240, .22);
}

.ev-date-box {
    text-align: center;
    min-width: 68px;
    background: linear-gradient(135deg, #0052F0, #003BB0);
    border-radius: 16px;
    padding: 14px 10px;
    box-shadow: 0 6px 20px rgba(0, 82, 240, .3);
    flex-shrink: 0;
}

.ev-month {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .8px;
    text-transform: uppercase;
}

.ev-day {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

.ev-mini-body {
    flex: 1;
}

.ev-tag-mini {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9px;
    background: rgba(34, 197, 94, .1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, .22);
    margin-bottom: 10px;
    display: inline-block;
}

.ev-mini-name {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 7px;
    line-height: 1.35;
}

.ev-mini-venue {
    font-size: 13px;
    color: #9ca3af;
}

/* ── INSIGHTS GRID ── */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ins-mini {
    background: #ffffff;
    border: 1.5px solid #e5e9f4;
    border-radius: 20px;
    overflow: hidden;
    transition: all .22s;
}

.ins-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .1);
    border-color: rgba(0, 82, 240, .22);
}

.ins-mini-top {
    background: linear-gradient(135deg, #f4f5f8, #edf0f7);
    padding: 36px;
    font-size: 48px;
    text-align: center;
}

.ins-mini-body {
    padding: 26px 28px;
}

.ins-chips-mini {
    display: flex;
    gap: 7px;
    margin-bottom: 12px;
}

.ins-chip-mini {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
}

.ins-mini-body h4 {
    font-size: 15.5px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.45;
}

.ins-mini-body p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.75;
}

.ins-mini-link {
    font-size: 14px;
    font-weight: 700;
    color: #0052F0;
    text-decoration: none;
}

.ins-mini-link:hover {
    text-decoration: underline;
}

/* ── CTA DARK BANNER ── */
.hp-cta {
    background: linear-gradient(135deg, #111827, #1e293b);
    border-radius: 28px;
    padding: 88px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 0 100px;
}

.hp-cta::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 240, .22), transparent 70%);
    top: -240px;
    right: -120px;
}

.hp-cta::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .02);
    bottom: -120px;
    left: -80px;
}

.hp-cta h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.hp-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-w {
    background: #fff;
    color: #111827;
    border: none;
    border-radius: 13px;
    padding: 15px 32px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
}

.cta-w:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.cta-r {
    background: linear-gradient(135deg, #0052F0, #003BB0);
    color: #fff;
    border: none;
    border-radius: 13px;
    padding: 15px 32px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 82, 240, .4);
    transition: all .2s;
}

.cta-r:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 82, 240, .5);
}

/* ── NEWSLETTER ── */
.nl-section {
    padding: 72px 0;
    border-top: 1px solid #e8ecf4;
}

.nl-inner {
    background: #ffffff;
    border: 1.5px solid #e5e9f4;
    border-radius: 24px;
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, .06);
}

.nl-left h3 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.nl-left p {
    font-size: 15px;
    color: #6b7280;
}

.nl-form {
    display: flex;
    gap: 12px;
    flex: 0 0 460px;
}

.nl-email {
    flex: 1;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 14.5px;
    color: #111827;
    outline: none;
}

.nl-email:focus {
    border-color: #0052F0;
}

.nl-btn {
    background: linear-gradient(135deg, #0052F0, #003BB0);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 82, 240, .3);
}

/* ── RESPONSIVE ── */
@media (max-width: 1250px) {
    .home-cards {
        grid-template-columns: 1fr 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .hp-hero-inner {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-row::before {
        display: none;
    }

    .process-row {
        grid-template-columns: 1fr 1fr;
    }

    .testi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .events-strip,
    .insights-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nl-inner {
        flex-direction: column;
    }

    .nl-form {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 700px) {
    .hp-hero {
        padding: 60px 0 48px;
        text-align: center;
    }

    .hp-hero h1 {
        font-size: 34px;
        margin: 0 auto 20px;
        max-width: 100%;
    }

    .hero-pill {
        margin: 0 auto 16px;
    }

    .hp-hero p.lead {
        font-size: 16px;
        margin: 0 auto 32px;
        max-width: 100%;
    }

    .hp-search {
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        align-items: stretch;
    }

    .hp-field {
        width: 100%;
        flex: none;
        min-width: 0;
    }

    .hp-select {
        width: 100%;
        height: 48px;
        font-size: 14px;
    }

    .hp-search-btn {
        width: 100%;
        height: 50px;
        margin-top: 8px;
    }

    .hp-pills {
        justify-content: center;
        gap: 8px;
    }

    .hp-pill {
        padding: 8px 16px;
        font-size: 13px;
    }

    .home-cards {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid,
    .testi-grid,
    .events-strip,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .hp-metrics {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 32px;
    }

    .hm-item {
        flex: 1 1 140px;
    }

    .hp-signup-card {
        margin-top: 40px;
        padding: 30px 24px;
    }

    .hp-cta {
        padding: 44px 24px;
        margin-bottom: 60px;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .nl-inner {
        padding: 32px 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}