/* ==========================================================================
   CRED PR - Unified Mobile Responsive Stylesheet
   Targets: Viewports 768px and below down to 320px
   ========================================================================== */

@media (max-width: 767px) {

    /* --------------------------------------------------------------------------
     Global Tokens & Root Spacing
     -------------------------------------------------------------------------- */
    :root {
        --container-padding: 20px;
        --section-py: 60px;
        --section-py-lg: 70px;
    }

    /* Universal Overflow & Layout Safety */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        width: 100%;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    /* --------------------------------------------------------------------------
     Typography Scaling
     -------------------------------------------------------------------------- */
    .section-title,
    .about-heading,
    .approach-heading,
    .difference-heading,
    .sectors-heading,
    .people-heading,
    .cta-heading,
    .ecosystem-heading,
    .moments-heading,
    .showcase-heading,
    .cap-main-heading,
    .together-heading,
    .priority-heading,
    .why-cred-heading,
    .service-approach-heading,
    .service-cta-heading,
    .faq-main-heading,
    .perspective-cta-heading {
        font-size: 32px;
        line-height: 1.18;
        letter-spacing: -0.015em;
    }

    .section-eyebrow,
    .difference-eyebrow,
    .service-cta-eyebrow {
        font-size: 13px;
        letter-spacing: 0.14em;
        margin-bottom: 12px;
    }

    /* --------------------------------------------------------------------------
     Header & Navigation
     -------------------------------------------------------------------------- */
    .header-container {
        height: 70px;
    }

    .brand-logo img {
        height: 38px;
    }

    .header-center,
    .conversation-btn {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .mobile-nav {
        padding: 24px 20px;
        gap: 18px;
    }

    .mobile-conversation-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* --------------------------------------------------------------------------
     Home: Hero Section (Compact & Well-Proportioned)
     -------------------------------------------------------------------------- */
    .hero-banner {
        min-height: auto;
        padding-top: 36px;
        padding-bottom: 40px;
        background-position: center center;
    }

    .hero-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .hero-tagline {
        margin-bottom: 12px;
        gap: 8px;
    }

    .tagline-dash {
        width: 18px;
    }

    .hero-tagline .section-eyebrow {
        font-size: 12px;
        letter-spacing: 0.12em;
        margin-bottom: 0;
    }

    .hero-heading {
        font-size: 32px;
        line-height: 1.1;
        letter-spacing: -0.02em;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 14.5px;
        line-height: 1.55;
        max-width: 100%;
        width: 100%;
        margin-bottom: 22px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .hero-actions .btn-build-cred,
    .hero-actions .btn-explore {
        width: 100%;
        padding: 13px 20px;
        font-size: 14px;
        text-align: center;
        justify-content: center;
    }

    .hero-bottom-line {
        display: none;
    }

    /* --------------------------------------------------------------------------
     Home: Clients / Trusted Row (Horizontal Touch Scroll)
     -------------------------------------------------------------------------- */
    .trusted-grid-wrap {
        overflow-x: auto;
        padding: 10px 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .trusted-grid-wrap::-webkit-scrollbar {
        display: none;
    }

    .trusted-grid-wrap::before,
    .trusted-grid-wrap::after {
        display: none;
    }

    .trusted-row {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 8px;
        gap: 28px;
    }

    .client-logo-item {
        width: 50px;
        flex-shrink: 0;
    }

    /* --------------------------------------------------------------------------
     Home: Strategic Outlook / About Section
     -------------------------------------------------------------------------- */
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrapper {
        max-width: 440px;
        width: 100%;
        margin: 0 auto;
        position: relative;
    }

    .about-frame {
        height: auto;
        width: 100%;
        padding: 12px;
        border: 1.5px solid #111827;
        background: #ffffff;
        position: relative;
        z-index: 2;
    }

    .about-img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .about-blue-block {
        bottom: -10px;
        right: -10px;
        width: 50px;
        height: 50px;
        position: absolute;
        z-index: 3;
    }

    .about-content {
        width: 100%;
    }

    .about-heading {
        font-size: 32px;
        width: 100%;
        max-width: 100%;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.65;
    }

    .about-quote {
        font-size: 16px;
        padding-left: 14px;
    }

    .about-pillars {
        flex-wrap: wrap;
        gap: 6px 10px;
        font-size: 12px;
    }

    /* --------------------------------------------------------------------------
     Home: Capabilities / Services Section
     -------------------------------------------------------------------------- */
    .services-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 26px 20px;
    }

    .service-title {
        font-size: 18px;
    }

    .service-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    /* --------------------------------------------------------------------------
     Home: Approach Section
     -------------------------------------------------------------------------- */
    .approach-top-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 32px;
    }

    .approach-image-wrap {
        width: 100%;
        max-width: 100%;
    }

    .approach-img-frame {
        height: 260px;
    }

    .approach-steps-box {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .approach-step-col {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 26px 20px;
    }

    .approach-step-col:last-child {
        border-bottom: none;
    }

    .step-large-num {
        font-size: 32px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-desc {
        font-size: 14px;
    }

    /* --------------------------------------------------------------------------
     Home: The CRED Difference Section
     -------------------------------------------------------------------------- */
    .difference-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .difference-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .difference-quote-box {
        padding: 20px;
    }

    .difference-quote-box p {
        font-size: 15px;
    }

    .perspective-card {
        padding: 22px 18px;
    }

    .perspective-title {
        font-size: 16px;
    }

    /* --------------------------------------------------------------------------
     Home: Work Showcase / Case Studies
     -------------------------------------------------------------------------- */
    .work-showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-study-media {
        height: 220px;
    }

    .case-study-info {
        padding: 24px 20px;
    }

    .case-study-title {
        font-size: 18px;
    }

    .case-meta-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* --------------------------------------------------------------------------
     Home: Sectors Grid
     -------------------------------------------------------------------------- */
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sector-card {
        height: 170px;
        border-radius: 10px;
    }

    .sector-title {
        font-size: 17px;
    }

    /* --------------------------------------------------------------------------
     Home: People / Team Section
     -------------------------------------------------------------------------- */
    .people-header-wrap {
        margin-bottom: 32px;
    }

    .people-eyebrow-right {
        justify-content: flex-start;
        margin-bottom: 12px;
    }

    .people-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .people-media {
        height: 260px;
    }

    .people-card-title {
        font-size: 16px;
    }

    .people-card-desc {
        font-size: 13px;
    }

    /* --------------------------------------------------------------------------
     Home: CTA Section
     -------------------------------------------------------------------------- */
    .cta-section {
        padding: 60px 0;
    }

    .cta-desc {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .cta-btn-wrap {
        width: 100%;
    }

    .btn-primary-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* --------------------------------------------------------------------------
     Service Pages: Banner Section
     -------------------------------------------------------------------------- */
    .service-banner-section {
        padding: 65px 0 55px;
    }

    .service-banner-title {
        font-size: 34px;
        line-height: 1.15;
    }

    .service-banner-desc {
        font-size: 15px;
        line-height: 1.6;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 01 — Ecosystem Grid
     -------------------------------------------------------------------------- */
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ecosystem-card.card-span-2 {
        grid-column: span 1;
    }

    .ecosystem-card {
        padding: 24px 20px;
    }

    .ecosystem-card-title {
        font-size: 18px;
    }

    .ecosystem-card-desc {
        font-size: 14px;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 02 — Moments Grid
     -------------------------------------------------------------------------- */
    .moment-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 18px;
    }

    .moment-media {
        width: 100%;
        height: 190px;
        border-radius: 10px;
    }

    .moment-body {
        width: 100%;
    }

    .moment-title {
        font-size: 16.5px;
        line-height: 1.3;
    }

    .moment-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .moment-link {
        font-size: 12.5px;
    }

    /* --------------------------------------------------------------------------
     Service-2: Showcase Section (WHAT YOU NEED...)
     -------------------------------------------------------------------------- */
    .service-showcase-grid {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .showcase-left-col {
        width: 100%;
    }

    .showcase-heading {
        font-size: 30px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .showcase-desc {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .showcase-pillars-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-center-col {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .showcase-quote-card {
        width: 100%;
        padding: 26px 20px;
    }

    .showcase-quote-text {
        font-size: 19px;
        line-height: 1.35;
        margin-bottom: 20px;
    }

    .btn-talk-team {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .showcase-sub-media {
        width: 100%;
        height: 200px;
    }

    .showcase-right-col {
        width: 100%;
    }

    .showcase-tall-media {
        width: 100%;
        height: 260px;
        min-height: 260px;
    }

    /* --------------------------------------------------------------------------
     Service-2: Core Services 5-Cards Grid
     -------------------------------------------------------------------------- */
    .core-service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .core-service-card {
        height: 280px;
        border-radius: 10px;
    }

    .core-service-pill {
        bottom: 12px;
        font-size: 12px;
        padding: 6px 14px;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 03 — Capabilities List
     -------------------------------------------------------------------------- */
    .capabilities-rows {
        gap: 0;
    }

    .capability-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 26px 0;
    }

    .cap-col-num {
        font-size: 16px;
    }

    .cap-title {
        font-size: 17.5px;
    }

    .cap-quote {
        font-size: 13px;
    }

    .cap-desc {
        font-size: 14px;
    }

    /* --------------------------------------------------------------------------
     Service-2: Impact Banner & Overlapping Stats Card
     -------------------------------------------------------------------------- */
    .impact-banner-media {
        height: 280px;
        border-radius: 14px;
    }

    .impact-stats-card {
        margin-top: -60px;
        padding: 28px 20px;
        border-radius: 16px;
        width: 100%;
    }

    .impact-stats-title {
        font-size: 24px;
        margin-bottom: 22px;
        line-height: 1.22;
    }

    .impact-metrics-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .impact-metric-num {
        font-size: 24px;
    }

    .impact-metric-desc {
        font-size: 14px;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 04 — When Services Work Together
     -------------------------------------------------------------------------- */
    .together-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .together-quote-highlight {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .together-desc {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .together-action .btn-build-cred {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .scenario-card {
        padding: 20px 18px;
    }

    /* --------------------------------------------------------------------------
     Service-2: Strategic PR That Builds Lasting Influence
     -------------------------------------------------------------------------- */
    .strategic-influence-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .strategic-influence-media {
        height: 280px;
        border-radius: 14px;
    }

    .strategic-influence-heading {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .strategic-influence-desc {
        font-size: 14.5px;
        margin-bottom: 22px;
    }

    .strategic-feature-item {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .strategic-feature-text {
        font-size: 13.5px;
    }

    .strategic-cta-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 05 — Priority Grid
     -------------------------------------------------------------------------- */
    .priority-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .priority-card {
        min-height: 280px;
    }

    .priority-card-inner {
        padding: 24px 20px;
    }

    .priority-title {
        font-size: 20px;
    }

    .priority-desc {
        font-size: 13.5px;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 06 — Why CRED PR Grid
     -------------------------------------------------------------------------- */
    .why-cred-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-cred-card {
        padding: 24px 20px;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 07 — How We Approach PR Steps
     -------------------------------------------------------------------------- */
    .approach-steps-row {
        grid-template-columns: 1fr;
        border-radius: 10px;
    }

    .approach-step-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 24px 18px;
    }

    .approach-step-item:last-child {
        border-bottom: none;
    }

    .approach-step-item .step-num {
        font-size: 28px;
    }

    .approach-step-item .step-title {
        font-size: 18px;
    }

    .approach-step-item .step-desc {
        font-size: 14px;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 08 — Service CTA Grid
     -------------------------------------------------------------------------- */
    .service-cta-banner-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .service-cta-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-cta-heading {
        font-size: 28px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .service-cta-tagline {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .service-cta-right {
        height: auto;
        gap: 20px;
    }

    .service-cta-body p {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .service-cta-btn-wrap {
        width: 100%;
    }

    .btn-service-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 24px;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 10 — FAQ Section
     -------------------------------------------------------------------------- */
    .faq-content {
        padding-left: 0;
        padding-right: 0;
        padding-top: 10px;
    }

    .faq-trigger {
        gap: 12px;
        padding: 18px 0;
    }

    .faq-num {
        width: 26px;
        font-size: 13.5px;
    }

    .faq-question {
        font-size: 15.5px;
    }

    .faq-content p {
        font-size: 14px;
    }

    /* --------------------------------------------------------------------------
     Service Pages: 11 — Perspective CTA Section
     -------------------------------------------------------------------------- */
    .service-perspective-cta-section {
        padding: 70px 0;
    }

    .narrative-line {
        font-size: 16px;
    }

    .narrative-highlight {
        font-size: 15px;
    }

    .perspective-cta-prompt {
        font-size: 18px;
    }

    .perspective-cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .perspective-cta-actions .btn-build-cred,
    .perspective-cta-actions .btn-explore {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* --------------------------------------------------------------------------
     Footer Section
     -------------------------------------------------------------------------- */
    .site-footer {
        padding: 60px 0 30px;
    }

    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-contact-item {
        font-size: 16px;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-legal-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================================================
   Extra Small Mobile Screens (520px and below)
   ========================================================================== */
@media (max-width: 520px) {

    :root {
        --container-padding: 16px;
        --section-py: 50px;
        --section-py-lg: 60px;
    }

    .section-title,
    .about-heading,
    .approach-heading,
    .difference-heading,
    .sectors-heading,
    .people-heading,
    .cta-heading,
    .ecosystem-heading,
    .moments-heading,
    .showcase-heading,
    .cap-main-heading,
    .together-heading,
    .priority-heading,
    .why-cred-heading,
    .service-approach-heading,
    .service-cta-heading,
    .faq-main-heading,
    .perspective-cta-heading {
        font-size: 27px;
    }

    .hero-banner {
        padding-top: 28px;
        padding-bottom: 32px;
    }

    .hero-heading {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .btn-build-cred,
    .hero-actions .btn-explore {
        padding: 12px 18px;
        font-size: 13.5px;
    }

    .service-banner-title {
        font-size: 28px;
    }

    /* Core Services 5-cards Grid */
    .core-service-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .core-service-card {
        height: 310px;
    }

    /* Impact Banner */
    .impact-banner-media {
        height: 230px;
    }

    .impact-stats-card {
        margin-top: -45px;
        padding: 22px 16px;
    }

    .impact-stats-title {
        font-size: 21px;
    }

    .impact-metric-num {
        font-size: 22px;
    }

    /* Strategic PR */
    .strategic-influence-media {
        height: 230px;
    }

    .strategic-influence-heading {
        font-size: 24px;
    }

    .together-quote-highlight {
        font-size: 19px;
    }

    .moment-media {
        height: 160px;
    }
}