/* Reference match: CodeForge Digital Agency desktop composition. */
:root {
    --ref-ink: #18252d;
    --ref-blue: #3441be;
    --ref-cyan: #08a9ee;
    --ref-dot: #d9dee6;
}

body,
button, input, textarea, select { font-family: 'DM Sans', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Quicksand', sans-serif; }

@media (min-width: 1200px) {
    body { background: #fff; font-family: 'DM Sans', sans-serif; }
    h1, h2, h3, h4, h5, h6,
    .hero-title, .service-card h3, .section-header h2 {
        font-family: 'Quicksand', sans-serif;
    }

    .container { max-width: 1290px; }

    .site-header {
        height: 104px;
        background-color: #fff;
        background-image: radial-gradient(circle, var(--ref-dot) 1px, transparent 1px);
        background-size: 28px 28px;
        border-bottom: 0;
    }
    .site-header > .container,
    .hero-section > .hero-container {
        max-width: 1770px;
    }
    .site-header > .container { padding-left: 64px; padding-right: 80px; }
    .header-inner {
        height: 104px;
        padding: 0 0;
    }
    .header-hamburger {
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 8px 22px rgba(24,37,45,.08);
        gap: 4px;
    }
    .header-hamburger span { width: 20px; height: 2px; background: var(--ref-ink); }
    .header-logo-img { height: 49px; width: 78px; object-fit: contain; }
    .site-logo { gap: 0; }
    .main-nav { margin-left: auto; margin-right: 64px; flex: 0 0 auto; }
    .main-nav ul { gap: 30px; }
    .main-nav a { color: #09111a; font-size: 15px; font-weight: 500; }
    .main-nav a.active::after { background: #09111a; height: 2px; }
    .header-right { gap: 32px; }
    .header-search-btn { color: #09111a; padding: 0; }
    .header-cta .btn-lets-talk { background: var(--ref-cyan); padding: 15px 35px; font-size: 14px; }

    .hero-section {
        margin-top: 0;
        height: 900px;
        min-height: 900px;
        box-sizing: border-box;
        padding: 260px 0 0;
        background-color: #fff;
        background-image: radial-gradient(circle, var(--ref-dot) 1px, transparent 1px);
        background-size: 28px 28px;
    }
    .hero-section::before,
    .hero-section::after { display: none; }
    .hero-container { padding: 0 30px; }
    .hero-content-center { max-width: 820px; }
    .hero-title {
        max-width: 820px;
        margin: 0 auto 28px;
        color: var(--ref-ink);
        font-size: 70px;
        font-weight: 600;
        line-height: 1.04;
        letter-spacing: -4px;
    }
    .hero-star-svg { display: none; }
    .hero-desc { max-width: 560px; margin-bottom: 31px; font-size: 16px; line-height: 1.75; color: #78818c; }
    .btn-discover { background: var(--ref-blue); padding: 15px 45px; font-size: 15px; }
    .btn-discover:hover { background: #2935a8; }
    .hero-chars-bg {
        height: 100%;
        background-image: url('assets/images/bg-1.2.png');
        background-size: cover;
        background-position: center bottom;
    }

    .services-section {
        position: relative;
        z-index: 5;
        width: min(1100px, calc(100% - 60px));
        height: 442px;
        margin: -160px auto 0;
        padding: 75px 0;
        box-sizing: border-box;
        background: #fff;
        border-radius: 20px 20px 0 0;
    }
    .services-section > .container { max-width: 1100px; padding: 0; }
    .services-section .section-header { display: none; }
    .services-grid { height: 292px; gap: 0; }
    .service-card {
        height: 292px;
        min-height: 292px;
        padding: 0 34px;
        text-align: center;
        border-radius: 0;
        border: 0;
        box-shadow: none;
    }
    .service-card + .service-card { border-left: 1px solid #e0e3e8; }
    .service-icon { width: 80px; height: 80px; margin: 0 auto 30px; }
    .service-icon img { width: 80px; height: 80px; }
    .service-card h3 { color: var(--ref-ink); font-size: 1.35rem; margin-bottom: 14px; }
    .service-card p { color: #92979e; font-size: 15px; line-height: 1.75; }
    .service-card::after { display: none; }

    .spiceup-section {
        height: 583px;
        margin-top: 100px;
        padding: 0;
    }
    .spiceup-section > .container { max-width: 1120px; padding: 0; }
    .spiceup-inner {
        height: 583px;
        grid-template-columns: 659px 443px;
        gap: 0;
        align-items: start;
    }
    .spiceup-text { padding-top: 0; }
    .spiceup-text .label-accent { margin-bottom: 18px; }
    .spiceup-text h2 {
        font-size: 50px;
        line-height: 1.08;
        letter-spacing: -2px;
        font-weight: 600;
        margin-bottom: 20px;
    }
    .spiceup-text > p { max-width: 500px; margin-bottom: 36px; }
    .spiceup-list { display: none; }
    .btn-learn-more { background: var(--ref-blue); padding: 15px 43px; }
    .spiceup-media { width: 443px; height: 503px; }
    .spiceup-media::before {
        content: '';
        position: absolute;
        z-index: 0;
        left: -183px;
        top: 177px;
        width: 335px;
        height: 406px;
        border-radius: 20px;
        background: url('assets/images/image-45.jpg') center/cover no-repeat;
    }
    .spiceup-img-wrap {
        position: relative;
        z-index: 1;
        width: 443px;
        height: 503px;
        border-radius: 20px;
        box-shadow: none;
    }
    .spiceup-img-wrap img { width: 443px; height: 503px; object-fit: cover; }
    .spiceup-img-wrap::before { display: none; }

    /* Match the reference page's 100px separators and section rhythm. */
    .pricing-section {
        height: 709px;
        margin-top: 100px;
        box-sizing: border-box;
    }
    .testimonials-section {
        height: 587px;
        margin-top: 100px;
        box-sizing: border-box;
    }
    .awards-section {
        height: 554px;
        margin-top: 100px;
        box-sizing: border-box;
    }
    .about-section {
        height: 679px;
        margin-top: 100px;
        box-sizing: border-box;
    }
    .blog-section {
        height: 886px;
        margin-top: 0;
        box-sizing: border-box;
    }

    .reference-page { padding-top: 104px; background: #f9faff; }
    .reference-page-hero {
        min-height: 480px;
        padding: 150px 0 110px;
        text-align: center;
        background: #fff;
        background-image: radial-gradient(circle, var(--ref-dot) 1px, transparent 1px);
        background-size: 28px 28px;
    }
    .reference-page-hero .container { max-width: 1120px; }
    .reference-page-hero h1 {
        max-width: 900px;
        margin: 0 auto 24px;
        color: var(--ref-ink);
        font-size: 70px;
        line-height: 1.08;
        font-weight: 600;
        letter-spacing: -4px;
    }
    .reference-page-hero p { max-width: 620px; margin: 0 auto 38px; color: #7a818b; font-size: 16px; }
    .reference-page-content { padding: 100px 0 120px; background: #f9faff; }
    .reference-page-content .container { max-width: 1120px; }
    .reference-page-content h2 { margin: 0 0 50px; font-size: 50px; font-weight: 600; letter-spacing: -2px; color: var(--ref-ink); }
    .reference-page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .reference-page-card { min-height: 260px; padding: 32px 28px; background: #fff; border-radius: 16px; box-shadow: 0 10px 35px rgba(24,37,45,.07); }
    .reference-page-number { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 28px; border-radius: 10px; color: var(--ref-blue); background: #eef2ff; font-weight: 700; }
    .reference-page-card h3 { margin-bottom: 14px; color: var(--ref-ink); font-size: 21px; font-weight: 600; }
    .reference-page-card p { color: #7b838d; font-size: 14px; line-height: 1.7; }
    .reference-page-card a { display: inline-block; margin-top: 22px; color: var(--ref-ink); font-size: 24px; }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .hero-chars-bg { background-size: cover; }
}

/* Route pages: same dotted canvas and component language as the reference. */
.reference-creative-agency { padding-top: 20px; background: #f9fbff; color: var(--ref-ink); }
.reference-creative-agency > section > .container { width: 1120px; max-width: 1120px; padding-left: 0 !important; padding-right: 0 !important; }
.creative-hero { min-height: 700px; padding: 188px 0 90px; box-sizing: border-box; text-align: center; background: radial-gradient(circle at 15% 85%, #eefaff 0, transparent 34%), radial-gradient(circle at 85% 60%, #f1f0ff 0, transparent 34%), #fff; }
.creative-hero .label-accent { display: block; margin-bottom: 24px; }
.creative-hero h1 { max-width: 950px; margin: 0 auto 35px; font: 600 52px/1.08 'Quicksand', sans-serif; letter-spacing: -2px; }
.creative-hero strong { display: block; font: 600 17px 'Quicksand', sans-serif; }
.creative-role { display: block; margin-top: 8px; color: #a0a5ad; font-size: 15px; }
.creative-about { padding: 125px 0 145px; background: #fff; }
.creative-about > .container { text-align: center; }
.creative-about h2 { margin: 18px auto 22px; font: 600 54px/1.08 'Quicksand', sans-serif; letter-spacing: -2px; }
.creative-about > .container > p { max-width: 620px; margin: 0 auto; color: #7d858f; line-height: 1.8; }
.creative-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 75px; text-align: left; }
.creative-feature-grid article { padding: 30px; border-top: 1px solid #dfe4ea; }
.creative-feature-grid strong { color: var(--ref-blue); font: 600 18px 'Quicksand', sans-serif; }
.creative-feature-grid h3 { margin: 42px 0 14px; font: 600 21px 'Quicksand', sans-serif; }
.creative-feature-grid p { color: #89919b; font-size: 14px; line-height: 1.65; }

@media (max-width: 768px) {
    .reference-creative-agency { padding-top: 80px; }
    .reference-creative-agency > section > .container { width: auto; max-width: none; }
    .creative-hero { min-height: 560px; padding: 90px 22px 70px; }
    .creative-hero h1, .creative-about h2 { font-size: 40px; }
    .creative-about { padding: 80px 22px; }
    .creative-feature-grid { grid-template-columns: 1fr; margin-top: 45px; }
}

.reference-seo-agency { padding-top: 20px; background: #0d0e10; color: #fff; }
body:has(.reference-seo-agency) { background: #0d0e10; }
body:has(.reference-seo-agency) .site-header { background-color: #0d0e10; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 49px 49px; color: #fff; }
body:has(.reference-seo-agency) .header-hamburger { background: #18191d; }
body:has(.reference-seo-agency) .header-hamburger span,
body:has(.reference-seo-agency) .main-nav a,
body:has(.reference-seo-agency) .header-search-btn { color: #fff; background-color: transparent; }
body:has(.reference-seo-agency) .main-nav a.active::after { background: #fff; }
body:has(.reference-seo-agency) .header-cta .btn-lets-talk { background: #fff; color: #101114; }
.reference-seo-agency > section > .container { width: 1120px; max-width: 1120px; padding-left: 0 !important; padding-right: 0 !important; }
.seo-hero { min-height: 690px; padding: 150px 0 80px; background-color: #0d0e10; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 64px 64px; }
.seo-hero-grid { display: grid; grid-template-columns: 480px 1fr; gap: 8px; align-items: start; }
.seo-hero-copy { padding-top: 35px; }
.seo-hero-copy h1 { margin: 0 0 35px; color: #fff; font: 600 66px/1.08 'Quicksand', sans-serif; letter-spacing: -3px; }
.seo-hero-copy p { max-width: 465px; margin-bottom: 35px; color: #85888f; font-size: 16px; line-height: 1.75; }
.seo-hero-copy .btn-discover { display: inline-block; }
.seo-hero-visual { overflow: hidden; border-radius: 18px; }
.seo-hero-visual img { display: block; width: 100%; height: 520px; object-fit: cover; }
.seo-intro { padding: 135px 0; background: #0d0e10; color: #fff; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 49px 49px; }
.seo-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.seo-intro h2, .seo-services h2 { max-width: 540px; margin: 18px 0 22px; color: #fff; font: 600 54px/1.08 'Quicksand', sans-serif; letter-spacing: -2px; }
.seo-intro p { max-width: 500px; color: #7d858f; line-height: 1.8; }
.seo-intro .btn-discover { display: inline-block; margin-top: 28px; }
.seo-feature-list article { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid #dfe4ea; }
.seo-feature-list strong, .seo-service-grid strong { color: var(--ref-blue); font: 600 18px 'Quicksand', sans-serif; }
.seo-feature-list h3, .seo-service-grid h3 { margin: 0 0 10px; font: 600 22px 'Quicksand', sans-serif; }
.seo-feature-list p { margin: 0; font-size: 14px; }
.seo-services { padding: 125px 0 145px; background: #0d0e10; color: #fff; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 49px 49px; }
.seo-services > .container > .label-accent { display: block; text-align: center; }
.seo-services h2 { margin-left: auto; margin-right: auto; text-align: center; }
.seo-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 65px; }
.seo-service-grid article { padding: 28px 20px; border-top: 1px solid #dfe4ea; }
.seo-service-grid h3 { margin-top: 42px; font-size: 20px; }
.seo-service-grid p { color: #89919b; font-size: 14px; line-height: 1.65; }
@keyframes seoFadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }
@keyframes seoSlideIn { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: translateX(0); } }
.reference-seo-agency .seo-hero-copy { animation: seoFadeUp .8s cubic-bezier(.22,1,.36,1) both; }
.reference-seo-agency .seo-hero-visual { animation: seoSlideIn 1s .12s cubic-bezier(.22,1,.36,1) both; }
.reference-seo-agency .seo-hero-copy p { animation: seoFadeUp .7s .18s both; }
.reference-seo-agency .seo-hero-copy .btn-discover { animation: seoFadeUp .7s .3s both; }
.reference-seo-agency .seo-feature-list article,
.reference-seo-agency .seo-service-grid article { animation: seoFadeUp .7s both; }
.reference-seo-agency .seo-feature-list article:nth-child(2) { animation-delay: .12s; }
.reference-seo-agency .seo-service-grid article:nth-child(2) { animation-delay: .08s; }
.reference-seo-agency .seo-service-grid article:nth-child(3) { animation-delay: .16s; }
.reference-seo-agency .seo-service-grid article:nth-child(4) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .reference-seo-agency *, .reference-seo-agency *::before, .reference-seo-agency *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 768px) {
    .reference-seo-agency { padding-top: 80px; }
    .reference-seo-agency > section > .container { width: auto; max-width: none; }
    .seo-hero { padding: 0 22px 75px; }
    .seo-hero-grid, .seo-intro-grid, .seo-service-grid { grid-template-columns: 1fr; gap: 45px; }
    .seo-hero-copy h1, .seo-intro h2, .seo-services h2 { font-size: 42px; }
    .seo-hero-visual img { height: 330px; }
    .seo-intro, .seo-services { padding: 80px 22px; }
}

.reference-stats { background: #3441be; color: #fff; padding: 46px 20px; }
.reference-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.reference-stats-grid strong { display: block; font: 600 42px/1 'Quicksand', sans-serif; }
.reference-stats-grid span { display: block; margin-top: 10px; opacity: .8; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; }
.reference-faq-list { max-width: 900px; }
.reference-faq-list details { background: #fff; border-bottom: 1px solid #e1e5ed; padding: 24px 28px; }
.reference-faq-list details:first-child { border-radius: 14px 14px 0 0; }
.reference-faq-list details:last-child { border-radius: 0 0 14px 14px; }
.reference-faq-list summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--ref-ink); font: 600 20px 'Quicksand', sans-serif; list-style: none; }
.reference-faq-list summary::-webkit-details-marker { display: none; }
.reference-faq-list summary span { color: var(--ref-blue); font: 400 28px/1 'DM Sans', sans-serif; }
.reference-faq-list details[open] summary span { transform: rotate(45deg); }
.reference-faq-list p { max-width: 720px; margin: 18px 40px 0 0; color: #7b838d; line-height: 1.7; }
.reference-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reference-plan { padding: 36px 34px; background: #fff; border-radius: 18px; box-shadow: 0 12px 34px rgba(24,37,45,.08); }
.reference-plan.is-featured { color: #fff; background: var(--ref-blue); transform: translateY(-16px); }
.reference-plan > span { font: 600 20px 'Quicksand', sans-serif; }
.reference-plan strong { display: block; margin: 28px 0 10px; font: 600 64px/1 'Quicksand', sans-serif; }
.reference-plan strong sup { font: 400 26px 'DM Sans', sans-serif; vertical-align: top; }
.reference-plan strong small { font: 400 14px 'DM Sans', sans-serif; }
.reference-plan p { min-height: 50px; color: #7b838d; line-height: 1.6; }
.reference-plan.is-featured p { color: rgba(255,255,255,.8); }
.reference-plan ul { margin: 25px 0; padding: 0; list-style: none; color: #66707a; line-height: 2; }
.reference-plan.is-featured ul { color: rgba(255,255,255,.88); }
.reference-plan li::before { content: '✓'; margin-right: 10px; color: var(--ref-blue); }
.reference-plan.is-featured li::before { color: #fff; }
.reference-plan .btn-discover { display: inline-block; background: var(--ref-blue); }
.reference-plan.is-featured .btn-discover { background: #fff; color: var(--ref-blue); }
.reference-team { margin-top: 90px; }
.reference-team > h3 { margin-bottom: 24px; color: var(--ref-ink); font: 600 36px 'Quicksand', sans-serif; }
.reference-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reference-team-grid > div { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border-radius: 14px; }
.reference-team-grid span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #eef2ff; color: var(--ref-blue); font: 700 20px 'Quicksand', sans-serif; }
.reference-team-grid strong { display: block; color: var(--ref-ink); font: 600 16px 'Quicksand', sans-serif; }
.reference-team-grid small { display: block; margin-top: 3px; color: #8a929b; }

@media (max-width: 768px) {
    .reference-page { padding-top: 80px; }
    .reference-page-hero { min-height: 0; padding: 100px 22px 90px; }
    .reference-page-hero h1 { font-size: clamp(42px, 10vw, 64px); letter-spacing: -2px; }
    .reference-page-content { padding: 70px 22px 90px; }
    .reference-page-content h2 { font-size: 38px; }
    .reference-page-grid, .reference-plans, .reference-team-grid, .reference-stats-grid { grid-template-columns: 1fr; }
    .reference-plan.is-featured { transform: none; }
    .reference-faq-list summary { font-size: 17px; }
}

/* Services Agency page: reference's image-led long form layout. */
.reference-online-marketing { padding-top: 20px; background: #eef9ff; color: var(--ref-ink); }
.reference-online-marketing > section > .container { width: 1120px; max-width: 1120px; padding-left: 0 !important; padding-right: 0 !important; }
.om-hero { min-height: 790px; padding: 15px 0 100px; box-sizing: border-box; background: linear-gradient(110deg, #d8f2ff 0%, #f7fbff 63%, #fbf3ff 100%); }
.om-hero-grid { display: grid; grid-template-columns: 520px 1fr; gap: 120px; align-items: start; }
.om-hero-visual { overflow: hidden; border-radius: 0 18px 18px 0; margin-left: -120px; }
.om-hero-visual img { display: block; width: 640px; height: 520px; object-fit: cover; object-position: left center; }
.om-hero-copy { padding-top: 135px; }
.om-hero-copy h1 { max-width: 510px; margin: 0 0 36px; font: 600 58px/1.02 'Quicksand', sans-serif; letter-spacing: -3px; }
.om-hero-copy p { max-width: 540px; margin-bottom: 40px; color: #8a929b; font-size: 17px; line-height: 1.75; }
.om-subscribe { display: flex; gap: 12px; max-width: 510px; }
.om-subscribe input { flex: 1; min-width: 0; padding: 17px 25px; border: 0; border-radius: 32px; color: #7a838d; background: #fff; box-shadow: 0 8px 26px rgba(40,80,120,.05); }
.om-subscribe button { border: 0; border-radius: 32px; padding: 0 38px; color: #fff; background: var(--ref-blue); font: 600 16px 'DM Sans', sans-serif; cursor: pointer; }
.om-consent { display: block; margin-top: 18px; color: #8a929b; font-size: 13px; }
.om-consent input { margin-right: 8px; accent-color: var(--ref-blue); }
.om-services { padding: 125px 0 140px; background: #fff; text-align: center; }
.om-services h2 { max-width: 650px; margin: 20px auto 65px; font: 600 52px/1.08 'Quicksand', sans-serif; letter-spacing: -2px; }
.om-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.om-service-grid article { padding: 30px 25px; border-top: 1px solid #dfe4ea; }
.om-service-grid strong { color: var(--ref-blue); font: 600 17px 'Quicksand', sans-serif; }
.om-service-grid h3 { margin: 42px 0 14px; font: 600 21px 'Quicksand', sans-serif; }
.om-service-grid p { color: #89919b; line-height: 1.65; font-size: 14px; }
.om-success { padding: 140px 0; background: #f7f8fc; }
.om-success-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.om-success h2 { max-width: 530px; margin: 18px 0 22px; font: 600 54px/1.06 'Quicksand', sans-serif; letter-spacing: -2px; }
.om-success p { max-width: 500px; color: #7d858f; line-height: 1.8; }
.om-success .btn-discover { display: inline-block; margin-top: 28px; }
.om-success-image { overflow: hidden; border-radius: 18px; }
.om-success-image img { display: block; width: 100%; aspect-ratio: 1.34; object-fit: cover; }
.om-pricing, .om-testimonials, .om-blog { padding: 125px 0; background: #fff; }
.om-pricing > .container, .om-testimonials > .container, .om-blog > .container { text-align: center; }
.om-pricing h2, .om-testimonials h2, .om-blog h2 { margin: 18px auto 60px; color: var(--ref-ink); font: 600 52px/1.08 'Quicksand', sans-serif; letter-spacing: -2px; }
.om-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.om-pricing-grid article { padding: 34px; border-radius: 16px; background: #f7f8fc; }
.om-pricing-grid article.featured { color: #fff; background: var(--ref-blue); transform: translateY(-12px); }
.om-pricing-grid h3 { font: 600 22px 'Quicksand', sans-serif; }
.om-pricing-grid strong { display: block; margin: 30px 0 12px; font: 600 58px 'Quicksand', sans-serif; }
.om-pricing-grid small { font: 400 14px 'DM Sans', sans-serif; }
.om-pricing-grid p { min-height: 44px; color: #818a95; }
.om-pricing-grid article.featured p { color: rgba(255,255,255,.75); }
.om-pricing-grid a { display: inline-block; margin-top: 25px; color: var(--ref-blue); font-weight: 600; }
.om-pricing-grid .featured a { color: #fff; }
.om-testimonials { background: #f7f8fc; }
.om-testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: left; }
.om-testimonial-grid article { padding: 35px; border-radius: 18px; background: #fff; }
.om-testimonial-grid p { color: #68727d; line-height: 1.8; }
.om-testimonial-grid strong, .om-testimonial-grid small { display: block; margin-top: 24px; }
.om-testimonial-grid small { margin-top: 5px; color: #9299a2; }
.om-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.om-blog-grid article { overflow: hidden; border-radius: 16px; background: #f7f8fc; }
.om-blog-grid img { display: block; width: 100%; aspect-ratio: 1.34; object-fit: cover; }
.om-blog-grid h3 { padding: 22px; color: var(--ref-ink); font: 600 20px 'Quicksand', sans-serif; }
.om-cta { padding: 85px 0; background: #17191d; color: #fff; }
.om-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.om-cta h2 { margin: 0; font: 600 42px/1.1 'Quicksand', sans-serif; }

@media (max-width: 768px) {
    .reference-online-marketing { padding-top: 80px; }
    .reference-online-marketing > section > .container { width: auto; max-width: none; }
    .om-hero { padding: 0 22px 75px; }
    .om-hero-grid, .om-success-grid, .om-service-grid { grid-template-columns: 1fr; gap: 45px; }
    .om-hero-visual { margin-left: -22px; margin-right: -22px; border-radius: 0; }
    .om-hero-visual img { width: 100%; height: 330px; }
    .om-hero-copy h1, .om-services h2, .om-success h2 { font-size: 42px; }
    .om-services, .om-success, .om-pricing, .om-testimonials, .om-blog, .om-cta { padding: 80px 22px; }
    .om-pricing-grid, .om-testimonial-grid, .om-blog-grid { grid-template-columns: 1fr; }
    .om-pricing-grid article.featured { transform: none; }
    .om-cta .container { display: block; }
    .om-cta h2 { margin-bottom: 30px; font-size: 36px; }
    .om-subscribe { flex-direction: column; }
    .om-subscribe button { min-height: 54px; }
}

/* Services Agency page: reference's image-led long form layout. */
.reference-service-agency { padding-top: 104px; background: #f7f8fc; color: var(--ref-ink); }
.reference-service-agency > section > .container { width: 1120px; max-width: 1120px; padding-left: 0 !important; padding-right: 0 !important; }
.ra-title-hero { min-height: 286px; padding: 86px 0 70px; box-sizing: border-box; text-align: center; background: #f7f8fc; }
.reference-service-agency .ra-title-hero .container { text-align: center !important; }
.ra-title-hero h1 { margin: 0; font: 600 58px/1.1 'Quicksand', sans-serif; letter-spacing: -2px; }
.ra-scroll-mark { display: block; width: 12px; height: 12px; margin: 22px auto 0; border-right: 2px solid var(--ref-blue); border-bottom: 2px solid var(--ref-blue); transform: rotate(45deg); font-size: 0; }
.reference-service-agency .ra-two-col { display: grid !important; grid-template-columns: 580px minmax(0, 1fr) !important; gap: 75px; align-items: center; }
.ra-intro { padding: 0 0 135px; background: #f7f8fc; }
.ra-image-wrap { overflow: hidden; border-radius: 18px; }
.ra-image-wrap img { display: block; width: 100%; aspect-ratio: 1.34; object-fit: cover; }
.ra-copy .label-accent { margin-bottom: 18px; }
.ra-copy h2, .ra-awards h2 { max-width: 540px; margin: 0 0 22px; font: 600 54px/1.08 'Quicksand', sans-serif; letter-spacing: -2px; }
.ra-copy p { max-width: 490px; color: #7d858f; font-size: 16px; line-height: 1.8; }
.ra-mini-stats { display: flex; gap: 70px; margin-top: 42px; }
.ra-mini-stats strong { display: block; color: var(--ref-blue); font: 600 45px/1 'Quicksand', sans-serif; }
.ra-mini-stats span { display: block; margin-top: 8px; color: #77808b; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; }
.ra-services { padding: 95px 0 125px; background: #fff; }
.ra-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ra-service-grid article { min-height: 290px; padding: 0 48px; text-align: center; border-left: 1px solid #e0e3e8; }
.ra-service-grid article:first-child { border-left: 0; }
.ra-service-grid img { width: 78px; height: 78px; margin-bottom: 28px; }
.ra-service-grid h3 { margin: 0 0 15px; font: 600 22px 'Quicksand', sans-serif; }
.ra-service-grid p { margin: 0 auto 20px; max-width: 260px; color: #8b929a; font-size: 15px; line-height: 1.7; }
.ra-service-grid a { color: var(--ref-blue); font-size: 14px; font-weight: 600; }
.ra-counter { padding: 95px 0; background: #f7f8fc; }
.ra-counter .container { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.ra-counter strong { display: block; font: 600 70px/1 'Quicksand', sans-serif; }
.ra-counter span { display: block; margin-top: 15px; color: #7e8791; font-size: 15px; }
.ra-awards { padding: 125px 0 150px; background: #1b2a34; color: #fff; }
.ra-awards .label-accent { color: #56c9ff; }
.ra-awards h2 { color: #fff; }
.ra-award-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 70px; }
.ra-award-grid div { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); }
.ra-award-grid strong { display: block; font: 600 21px 'Quicksand', sans-serif; }
.ra-award-grid span { display: block; margin-top: 14px; color: rgba(255,255,255,.65); line-height: 1.6; font-size: 14px; }
.ra-who { padding: 145px 0; background: #f7f8fc; }
.ra-who .btn-discover { display: inline-block; margin-top: 28px; }

@media (max-width: 768px) {
    .reference-service-agency { padding-top: 80px; }
    .ra-title-hero { min-height: 220px; padding: 70px 20px 50px; }
    .ra-title-hero h1 { font-size: 42px; }
    .ra-intro, .ra-services, .ra-counter, .ra-awards, .ra-who { padding: 75px 22px; }
    .reference-service-agency .ra-two-col, .ra-service-grid, .ra-counter .container, .ra-award-grid { grid-template-columns: 1fr !important; gap: 45px; }
    .ra-copy h2, .ra-awards h2 { font-size: 40px; }
    .ra-service-grid article { border-left: 0; border-top: 1px solid #e0e3e8; padding: 45px 0 0; }
    .ra-service-grid article:first-child { border-top: 0; padding-top: 0; }
}
