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

@media (max-width: 767px) {

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

    /* Universal Overflow & Layout Safety */
    body,
    html {
        overflow-x: hidden;
        overflow-x: clip;
        width: 100%;
        scroll-padding-top: 70px;
    }


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

    /* --------------------------------------------------------------------------
     Typography Scaling
     -------------------------------------------------------------------------- */
    .section-title,
    .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: 48px;
    }


    .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 (Single viewport: content + pagination visible)
     -------------------------------------------------------------------------- */
    .hero-banner {
        height: calc(100svh - var(--nav-height));
        height: calc(100dvh - var(--nav-height));
        min-height: calc(100svh - var(--nav-height));
        min-height: calc(100dvh - var(--nav-height));
        max-height: calc(100dvh - var(--nav-height));
        padding: 0;
        overflow: hidden;
    }

    .hero-slider,
    .hero-slides {
        position: relative;
        height: 100%;
        min-height: 100%;
        max-height: 100%;
    }

    .hero-slide {
        position: absolute;
        inset: 0;
        justify-content: flex-end;
        background-image: var(--hero-bg-mobile, var(--hero-bg));
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .hero-slide.is-active {
        position: absolute;
        inset: 0;
    }

    .hero-slide::before {
        background: linear-gradient(
            180deg,
            rgba(5, 7, 12, 0.35) 0%,
            rgba(5, 7, 12, 0.55) 38%,
            rgba(5, 7, 12, 0.9) 100%
        );
    }

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

    .hero-content {
        max-width: 100%;
    }

    .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: clamp(26px, 7.5vw, 34px);
        line-height: 1.08;
        letter-spacing: -0.02em;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
        width: 100%;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

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

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

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

    .hero-slider-ui {
        position: absolute;
        left: 50%;
        right: auto;
        bottom: max(14px, env(safe-area-inset-bottom, 0px));
        transform: translateX(-50%);
        justify-content: center;
        gap: 10px;
        margin: 0;
        padding: 0;
        width: auto;
        max-width: calc(100% - 24px);
        z-index: 6;
    }

    .hero-slider-btn {
        width: 36px;
        height: 36px;
    }

    .hero-slider-btn-icon {
        width: 13px;
        height: 13px;
    }

    .hero-slider-dots {
        gap: 6px;
        padding: 0 2px;
    }

    .hero-slider-dot {
        width: 7px;
        height: 7px;
        min-width: 7px;
        max-width: 7px;
    }

    .hero-slider-dot.is-active {
        width: 26px;
        min-width: 26px;
        max-width: 26px;
    }

    /* --------------------------------------------------------------------------
     Home: Clients / Trusted Marquee
     -------------------------------------------------------------------------- */
    .clients-section {
        --clients-card-w: 150px;
        --clients-card-h: 84px;
        --clients-logo-w: 116px;
        --clients-logo-h: 52px;
        --clients-gap: 12px;
        --clients-speed: 35s;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .clients-title {
        margin-bottom: 24px;
        font-size: 32px;
    }

    .clients-card {
        padding: 12px;
        border-radius: 14px;
    }

    /* --------------------------------------------------------------------------
     Home: Strategic Outlook / About Section
     -------------------------------------------------------------------------- */
    .visibility-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .visibility-container {
        gap: 32px;
    }

    .visibility-media {
        max-width: 440px;
        border-radius: 18px;
    }

    .visibility-heading,
    .capabilities-heading,
    .method-heading {
        font-size: 38px;
    }

    .visibility-heading {
        font-size: 32px;
    }

    .visibility-text {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

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

    .visibility-pills {
        margin-top: 24px;
    }

    .visibility-pill {
        padding: 7px 12px;
        letter-spacing: 1.6px;
    }

    /* --------------------------------------------------------------------------
     Home: Capabilities / Services Section
     -------------------------------------------------------------------------- */
    .capabilities-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .capabilities-heading {
        padding-top: 0;
        margin-bottom: 28px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        border-radius: 0;
        background: transparent;
        border: 0;
    }

    .capability-card {
        height: 280px;
        min-height: 280px;
        max-height: 280px;
        padding: 22px 20px;
        border-radius: 14px;
        justify-content: flex-end;
    }

    .capability-title {
        max-width: none;
        padding-top: 0;
        font-size: 17px;
        line-height: 1.3;
    }

    .capability-desc {
        max-width: none;
        font-size: 14px;
        line-height: 1.6;
    }

    /* --------------------------------------------------------------------------
     Home: Approach Section
     -------------------------------------------------------------------------- */
    .method-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .method-top {
        gap: 28px;
    }

    .method-quote {
        margin-top: 16px;
        font-size: 16px;
    }

    .method-media {
        max-width: 533px;
        border-radius: 18px;
    }

    .method-steps {
        grid-template-columns: 1fr;
        row-gap: 0;
        margin-top: 32px;
        padding-top: 0;
    }

    .method-capabilities-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .method-step {
        padding: 20px 0;
    }

    .method-step + .method-step {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .method-step:nth-child(even)::before {
        display: none;
    }

    .method-step-title {
        padding-top: 0;
        font-size: 18px;
        line-height: 1.4;
    }

    .method-step-desc {
        margin-top: 8px;
        font-size: 14.5px;
        line-height: 1.65;
    }

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

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

    /* --------------------------------------------------------------------------
     Home: The CRED Difference / Beyond The Headline Section
     -------------------------------------------------------------------------- */
    .difference-container {
        gap: 32px;
    }

    .difference-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .perspective-title {
        left: 18px;
        right: 18px;
        bottom: 14px;
        font-size: 15px;
    }

    /* --------------------------------------------------------------------------
     Home: Work Showcase / Case Studies
     -------------------------------------------------------------------------- */
    .work-showcase-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .work-heading {
        margin-bottom: 32px;
    }

    .work-showcase-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    /* --------------------------------------------------------------------------
     Home: Sectors Grid
     -------------------------------------------------------------------------- */
    .sectors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

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

    .sector-title {
        font-size: 17px;
        font-weight: 800;
        letter-spacing: -0.025em;
        text-transform: none;
        padding: 0 10px;
        text-align: center;
    }

    /* --------------------------------------------------------------------------
     Home: People / Team Section
     -------------------------------------------------------------------------- */
    .people-section {
        padding: 0;
    }

    .people-culture {
        padding: 56px 0 48px;
    }

    .people-culture-head {
        margin-bottom: 28px;
    }

    .people-culture-heading {
        font-size: clamp(26px, 7vw, 32px);
        margin-bottom: 16px;
    }

    .people-culture-intro {
        font-size: 14.5px;
        line-height: 1.65;
    }

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

    .people-tile-card {
        height: 280px;
        min-height: 280px;
        max-height: 280px;
        padding: 20px;
        padding-right: 64px;
        border-radius: 16px;
    }

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

    .people-tile-arrow {
        right: 20px;
        bottom: 20px;
        width: 36px;
        height: 36px;
    }

    .people-leadership {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .people-text {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.65;
    }

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

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

    /* --------------------------------------------------------------------------
     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: 56px 0 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 36px;
    }

    .footer-brand-desc {
        max-width: none;
    }

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

    .footer-legal-links {
        flex-wrap: wrap;
        gap: 14px 20px;
    }
}

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

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

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

    .capability-card {
        height: 260px;
        min-height: 260px;
        max-height: 260px;
    }

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

    .section-title,
    .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;
    }

    .visibility-heading,
    .capabilities-heading,
    .method-heading {
        font-size: 32px;
    }

    .visibility-heading {
        font-size: 28px;
    }

    .hero-banner {
        height: calc(100svh - var(--nav-height));
        height: calc(100dvh - var(--nav-height));
        min-height: calc(100svh - var(--nav-height));
        min-height: calc(100dvh - var(--nav-height));
        max-height: calc(100dvh - var(--nav-height));
        padding: 0;
    }

    .hero-heading {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.08;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 14px;
        -webkit-line-clamp: 3;
    }

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

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .btn-build-cred,
    .hero-actions .btn-explore {
        padding: 11px 16px;
        font-size: 12.5px;
    }

    .hero-slider-ui {
        bottom: max(12px, env(safe-area-inset-bottom, 0px));
    }

    .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;
    }
}