/* ==========================================================================
   CRED PR - Unified Tablet Responsive Stylesheet
   Targets: Viewports 1024px down to 768px (iPad Pro, iPad Air, iPad Mini, etc.)
   ========================================================================== */

@media (max-width: 1024px) {

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

  /* Universal Overflow Safety */
  body,
  html {
    overflow-x: hidden;
  }

  /* --------------------------------------------------------------------------
     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: 38px;
    line-height: 1.15;
  }

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

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

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

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

  /* --------------------------------------------------------------------------
     Home: Hero Banner
     -------------------------------------------------------------------------- */
  .hero-container {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-heading {
    font-size: 48px;
    line-height: 1.12;
  }

  .hero-description {
    font-size: 16px;
    max-width: 580px;
    margin-bottom: 28px;
  }

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

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

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

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

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

  .about-image-wrapper {
    max-width: 100%;
    margin: 0;
    width: 100%;
    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: 48px;
    height: 48px;
    position: absolute;
    z-index: 3;
  }

  .about-content {
    width: 100%;
  }

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

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

  /* --------------------------------------------------------------------------
     Home: Capabilities / Services Section
     -------------------------------------------------------------------------- */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card {
    padding: 30px 24px;
  }

  /* --------------------------------------------------------------------------
     Home: Approach Section
     -------------------------------------------------------------------------- */
  .approach-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 48px;
  }

  .approach-heading {
    font-size: 36px;
    line-height: 1.15;
  }

  .approach-quote {
    font-size: 18px;
  }

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

  .approach-img-frame {
    width: 100%;
  }

  .approach-steps-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-step-col {
    padding: 32px 24px;
  }

  .approach-step-col:nth-child(1),
  .approach-step-col:nth-child(3) {
    border-right: 1px solid #e2e8f0;
  }

  .approach-step-col:nth-child(2),
  .approach-step-col:nth-child(4) {
    border-right: none;
  }

  .approach-step-col:nth-child(1),
  .approach-step-col:nth-child(2) {
    border-bottom: 1px solid #e2e8f0;
  }

  .approach-step-col:nth-child(3),
  .approach-step-col:nth-child(4) {
    border-bottom: none;
  }

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

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

  /* --------------------------------------------------------------------------
     Home: Work Showcase / Case Studies
     -------------------------------------------------------------------------- */
  .work-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* --------------------------------------------------------------------------
     Home: Sectors Grid
     -------------------------------------------------------------------------- */
  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .sector-card {
    height: 180px;
  }

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

  .people-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

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

  /* --------------------------------------------------------------------------
     Service Pages: 01 — Ecosystem Grid
     -------------------------------------------------------------------------- */
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  /* --------------------------------------------------------------------------
     Service Pages: 02 — Moments Grid
     -------------------------------------------------------------------------- */
  .moments-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  .showcase-desc {
    font-size: 16px;
    max-width: 680px;
    margin-bottom: 28px;
  }

  .showcase-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .showcase-center-col {
    display: block;
    flex-direction: row;
    gap: 24px;
    width: 100%;
    align-items: stretch;
  }

  .showcase-quote-card {
    flex: 1;
    min-height: 240px;
    padding: 32px 28px;
  }

  .showcase-sub-media {
    flex: 1;
    height: auto;
    min-height: 240px;
  }

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

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

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

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

  /* --------------------------------------------------------------------------
     Service Pages: 03 — Capabilities List
     -------------------------------------------------------------------------- */
  .capabilities-list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .capability-row {
    grid-template-columns: 50px 1fr 1.2fr;
    gap: 24px;
    padding: 28px 0;
  }

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

  .impact-stats-card {
    margin-top: -100px;
    padding: 34px 36px;
    width: calc(100% - 24px);
  }

  .impact-stats-title {
    font-size: 30px;
    margin-bottom: 24px;
  }

  .impact-metrics-grid {
    gap: 24px;
  }

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

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

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

  .strategic-influence-media {
    height: 380px;
  }

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

  /* --------------------------------------------------------------------------
     Service Pages: 05 — Priority Grid
     -------------------------------------------------------------------------- */
  .priority-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* --------------------------------------------------------------------------
     Service Pages: 06 — Why CRED PR Grid
     -------------------------------------------------------------------------- */
  .why-cred-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* --------------------------------------------------------------------------
     Service Pages: 07 — How We Approach PR Steps
     -------------------------------------------------------------------------- */
  .approach-steps-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .approach-step-item:nth-child(3) {
    border-right: none;
  }

  .approach-step-item:nth-child(1),
  .approach-step-item:nth-child(2),
  .approach-step-item:nth-child(3) {
    border-bottom: 1px solid #e2e8f0;
  }

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

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

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

  .service-cta-tagline {
    font-size: 20px;
    margin-bottom: 16px;
  }

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

  .service-cta-body p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  /* --------------------------------------------------------------------------
     Footer Section
     -------------------------------------------------------------------------- */
  .footer-top-row {
    gap: 36px;
  }

  .hero-banner {
    min-height: auto;
  }

}