/* ================================================================
   SERVICE PAGES DESIGN SYSTEM — shared by every redesigned service
   page (seo-analytics.php, branding.php, ai-content-creation.php,
   reels-tiktok.php, social-media-marketing.php, ai-marketing.php,
   web-development.php, e-commerce.php, perfomance-marketing.php).

   Reuses the site's existing glassmorphism language already used on
   the homepage (rgba white panels + backdrop-filter blur, purple
   #6A47ED accent, soft shadows, 16-22px radii) so every service page
   matches the homepage instead of looking like a separate theme.
   Loaded ONLY on pages that set $css before including partials/head.php:

     <?php $css = '<link rel="stylesheet" href="assets/css/service-pages.css">'; ?>
     <?php include './partials/head.php'; ?>

   Components defined here (see comments above each block):
     .svc-quickfacts   — glass pill strip of quick facts under the hero
     .svc-intro        — two-column keyword-rich intro + glass side card
     .svc-feature-grid / .svc-feature-card — benefit/deliverable cards
     .svc-process       — numbered "how we work" glass steps
     .svc-related        — "other services" internal-linking cards
     .svc-cta-banner      — gradient CTA band before the footer
     .svc-faq-note        — small wrapper so the theme's existing FAQ
                             accordion sits nicely inside the new layout
================================================================ */

/* ---------- shared section rhythm ---------- */
.svc-section {
    padding: 70px 0;
}
@media (max-width: 767px) {
    .svc-section { padding: 46px 0; }
}
.svc-eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #6A47ED;
    background: rgba(106, 71, 237, 0.08);
    border: 1px solid rgba(106, 71, 237, 0.15);
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.svc-h2 {
    font-size: 34px;
    font-weight: 800;
    color: #151515;
    margin-bottom: 16px;
    line-height: 1.25;
}
.svc-h2 span { color: #6A47ED; }
@media (max-width: 575px) {
    .svc-h2 { font-size: 26px; }
}
.svc-lead {
    font-size: 15.5px;
    line-height: 1.8;
    color: #5b5870;
}

/* ---------- quick facts pill strip (sits just under the hero) ---------- */
.svc-quickfacts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: -34px;
    margin-bottom: 10px;
    position: relative;
    z-index: 3;
}
.svc-quickfact {
    flex: 1;
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 10px 26px rgba(20, 15, 40, 0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .svc-quickfact { background: #fff; }
}
.svc-quickfact i {
    font-size: 22px;
    color: #6A47ED;
    flex-shrink: 0;
}
.svc-quickfact strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: #151515;
    line-height: 1.3;
}
.svc-quickfact span {
    font-size: 12px;
    color: #8a8798;
}

/* ---------- intro: keyword-rich copy + side glass card ---------- */
.svc-intro-card {
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 14px 36px rgba(20, 15, 40, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    height: 100%;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .svc-intro-card { background: #fff; }
}
.svc-intro-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #151515;
    margin-bottom: 16px;
}
.svc-intro-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.svc-intro-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #5b5870;
    line-height: 1.5;
}
.svc-intro-card ul li i {
    color: #6A47ED;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---------- feature / deliverable cards ---------- */
.svc-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .svc-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .svc-feature-grid { grid-template-columns: 1fr; }
}
.svc-feature-card {
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 30px 26px;
    box-shadow: 0 10px 28px rgba(20, 15, 40, 0.07);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .svc-feature-card { background: #fff; }
}
.svc-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(106, 71, 237, 0.16);
}
.svc-feature-card .svc-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 71, 237, 0.1);
    margin-bottom: 18px;
}
.svc-feature-card .svc-feature-icon i {
    font-size: 24px;
    color: #6A47ED;
}
.svc-feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #151515;
    margin-bottom: 10px;
}
.svc-feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #5b5870;
    margin: 0;
}

/* ---------- process steps ---------- */
.svc-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 991px) {
    .svc-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .svc-process { grid-template-columns: 1fr; }
}
.svc-process-step {
    position: relative;
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    padding: 26px 22px 22px;
    box-shadow: 0 8px 22px rgba(20, 15, 40, 0.06);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .svc-process-step { background: #fff; }
}
.svc-process-step .svc-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #6A47ED;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 16px;
}
.svc-process-step h5 {
    font-size: 15.5px;
    font-weight: 700;
    color: #151515;
    margin-bottom: 8px;
}
.svc-process-step p {
    font-size: 13px;
    line-height: 1.6;
    color: #5b5870;
    margin: 0;
}

/* ---------- related services (internal linking) ---------- */
.svc-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 991px) {
    .svc-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .svc-related-grid { grid-template-columns: 1fr; }
}
.svc-related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 18px 18px;
    box-shadow: 0 8px 20px rgba(20, 15, 40, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .svc-related-card { background: #fff; }
}
.svc-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(106, 71, 237, 0.15);
}
.svc-related-card i.svc-related-icon {
    font-size: 20px;
    color: #6A47ED;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(106, 71, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.svc-related-card .svc-related-text {
    flex: 1;
    min-width: 0;
}
.svc-related-card .svc-related-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #151515;
    line-height: 1.3;
}
.svc-related-card .svc-related-text span {
    font-size: 11.5px;
    color: #8a8798;
}
.svc-related-card .svc-related-arrow {
    color: #6A47ED;
    font-size: 14px;
    flex-shrink: 0;
}

/* ---------- CTA band ---------- */
.svc-cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 54px 46px;
    background: linear-gradient(135deg, #6A47ED 0%, #4a2fd1 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.svc-cta-banner::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(10px);
}
.svc-cta-banner h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.svc-cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    margin: 0;
    max-width: 480px;
    position: relative;
    z-index: 1;
}
.svc-cta-banner .main-button {
    position: relative;
    z-index: 1;
}
.svc-cta-banner .main-button .theme-btn {
    background-color: #fff;
    color: #151515;
}
.svc-cta-banner .main-button .arrow-btn {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.svc-cta-banner .main-button:hover .theme-btn,
.svc-cta-banner .main-button:hover .arrow-btn {
    background-color: #151515;
    color: #fff;
}
@media (max-width: 575px) {
    .svc-cta-banner { padding: 36px 26px; }
    .svc-cta-banner h3 { font-size: 21px; }
}

/* ---------- FAQ wrapper polish (keeps the theme's own accordion
   markup/JS untouched — only softens spacing to fit the new layout) ---------- */
.svc-faq-note {
    margin-top: 10px;
}

/* ================================================================
   CASE STUDY PAGE COMPONENTS (cs-*) — built for hive-case-study.php,
   reusable for any future full case-study page.
================================================================ */

/* ---------- hero card: client identity + quick facts, ONE floating
   glass panel that overlaps the breadcrumb banner. ---------- */
.cs-hero-card {
    position: relative;
    z-index: 3;
    margin-top: -564px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    padding: 26px 28px;
    box-shadow: 0 10px 26px rgba(20, 15, 40, 0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .cs-hero-card { background: #fff; }
}
@media (max-width: 575px) {
    .cs-hero-card { padding: 20px 18px; border-radius: 18px; }
}

.cs-client-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(20, 15, 40, 0.08);
}
.cs-client-strip img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(20, 15, 40, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}
.cs-client-strip h1 {
    font-size: 22px;
    font-weight: 800;
    color: #151515;
    margin: 0 0 4px;
    line-height: 1.25;
}
.cs-client-strip span {
    font-size: 13px;
    color: #8a8798;
    line-height: 1.4;
}
@media (max-width: 480px) {
    .cs-client-strip {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .cs-client-strip h1 { font-size: 19px; }
}

.cs-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.cs-hero-fact {
    flex: 1;
    min-width: 170px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cs-hero-fact i {
    font-size: 20px;
    color: #6A47ED;
    flex-shrink: 0;
}
.cs-hero-fact strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #151515;
    line-height: 1.3;
}
.cs-hero-fact span {
    font-size: 11.5px;
    color: #8a8798;
}
@media (max-width: 480px) {
    .cs-hero-fact { min-width: 100%; }
}

/* ---------- big headline stat row ---------- */
.cs-stat-big-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 991px) {
    .cs-stat-big-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .cs-stat-big-row { grid-template-columns: 1fr; gap: 14px; }
}
.cs-stat-big {
    text-align: center;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 30px 18px;
    box-shadow: 0 10px 26px rgba(20, 15, 40, 0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .cs-stat-big { background: #fff; }
}
.cs-stat-big i {
    font-size: 26px;
    color: #6A47ED;
    margin-bottom: 12px;
    display: block;
}
.cs-stat-big strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: #151515;
    line-height: 1.15;
    margin-bottom: 6px;
}
@media (max-width: 575px) {
    .cs-stat-big strong { font-size: 24px; }
}
.cs-stat-big span {
    font-size: 12.5px;
    color: #8a8798;
    font-weight: 600;
}

/* ---------- platform result cards (Meta Ads / Snapchat Ads) ---------- */
.cs-platform-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 767px) {
    .cs-platform-cards { grid-template-columns: 1fr; }
}
.cs-platform-card {
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    padding: 30px 26px;
    box-shadow: 0 12px 30px rgba(20, 15, 40, 0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .cs-platform-card { background: #fff; }
}
.cs-platform-card.meta-card { border-top: 3px solid #1877F2; }
.cs-platform-card.snap-card { border-top: 3px solid #FFFC00; }
.cs-platform-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.cs-platform-head .cs-platform-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 119, 242, 0.1);
    flex-shrink: 0;
}
.cs-platform-card.snap-card .cs-platform-icon { background: rgba(255, 252, 0, 0.18); }
.cs-platform-head .cs-platform-icon i { font-size: 22px; color: #1877F2; }
.cs-platform-card.snap-card .cs-platform-icon i { color: #B8B200; }
.cs-platform-head strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #151515;
}
.cs-platform-head small {
    font-size: 12px;
    color: #8a8798;
}
.cs-platform-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 14px;
}
@media (max-width: 400px) {
    .cs-platform-stat-grid { grid-template-columns: 1fr; }
}
.cs-platform-stat-grid > div {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    padding: 14px 14px;
}
.cs-platform-stat-grid i { color: #1877F2; font-size: 15px; margin-bottom: 6px; display: block; }
.cs-platform-card.snap-card .cs-platform-stat-grid i { color: #B8B200; }
.cs-platform-stat-grid strong { display: block; font-size: 19px; font-weight: 800; color: #151515; }
.cs-platform-stat-grid span { font-size: 11.5px; color: #8a8798; }
.cs-platform-foot {
    margin-top: 18px;
    font-size: 13px;
    color: #5b5870;
    line-height: 1.6;
}

/* ---------- real case-study image gallery ---------- */
.cs-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 767px) {
    .cs-gallery { grid-template-columns: 1fr; }
}
.cs-gallery-item {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(20, 15, 40, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: #fff;
}
.cs-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 767px) {
    .cs-gallery-item { aspect-ratio: 16 / 10; }
}
.cs-gallery-item:hover img { transform: scale(1.05); }
.cs-gallery-caption {
    display: block;
    text-align: center;
    font-size: 12.5px;
    color: #8a8798;
    margin-top: 10px;
}

/* ---------- pull-quote testimonial ---------- */
.cs-testimonial {
    position: relative;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 26px;
    padding: 48px 46px;
    text-align: center;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .cs-testimonial { background: #fff; }
}
.cs-testimonial i.cs-quote-icon {
    font-size: 30px;
    color: rgba(106, 71, 237, 0.3);
    margin-bottom: 18px;
}
.cs-testimonial p {
    font-size: 20px;
    line-height: 1.6;
    color: #151515;
    font-weight: 600;
    max-width: 720px;
    margin: 0 auto 24px;
}
@media (max-width: 575px) {
    .cs-testimonial { padding: 34px 24px; }
    .cs-testimonial p { font-size: 16px; }
}
.cs-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.cs-testimonial-author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}
.cs-testimonial-author strong {
    display: block;
    font-size: 14px;
    color: #151515;
}
.cs-testimonial-author span {
    font-size: 12px;
    color: #8a8798;
}