/* ==========================================================================
   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 {
    --nav-height: 76px;
    --container-padding: 32px;
    --section-py: 70px;
    --section-py-lg: 85px;
  }

  /* Universal Overflow Safety */
  body,
  html {
    overflow-x: hidden;
    overflow-x: clip;
    scroll-padding-top: 76px;
  }

  /* --------------------------------------------------------------------------
     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: 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 (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: center;
    background-size: cover;
    background-position: var(--hero-pos, center center);
  }

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

  .hero-slide::before {
    background: linear-gradient(
      180deg,
      rgba(5, 7, 12, 0.32) 0%,
      rgba(5, 7, 12, 0.5) 42%,
      rgba(5, 7, 12, 0.86) 100%
    );
  }

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

  .hero-heading {
    font-size: clamp(34px, 5vw, 46px);
    line-height: 1.1;
  }

  .hero-description {
    font-size: 15px;
    max-width: 540px;
    margin-bottom: 22px;
  }

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

  .hero-slider-ui {
    right: auto;
    left: 50%;
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    justify-content: center;
    gap: 12px;
    width: auto;
    max-width: calc(100% - 40px);
    z-index: 6;
  }

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

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

  .hero-slider-dots {
    gap: 7px;
  }

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

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

  /* --------------------------------------------------------------------------
     Home: Clients / Trusted Row
     -------------------------------------------------------------------------- */
  .clients-section {
    --clients-card-w: 190px;
    --clients-card-h: 100px;
    --clients-logo-w: 140px;
    --clients-logo-h: 62px;
    --clients-gap: 16px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

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

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

  .visibility-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .visibility-media {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .visibility-content {
    padding-top: 0;
  }

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

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

  .visibility-text,
  .visibility-pills {
    margin-top: 32px;
  }

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

  .capabilities-heading {
    margin-bottom: 40px;
  }

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

  .capability-card {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    padding: 24px;
    border-radius: 14px;
  }

  .capability-title {
    padding-top: 0;
    font-size: 18px;
  }

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

  .method-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .method-intro {
    padding-top: 0;
  }

  .method-media {
    width: 100%;
    max-width: 100%;
  }

  .method-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    margin-top: 40px;
  }

  .method-capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
  }

  .method-step + .method-step::before {
    display: none;
  }

  .method-step:nth-child(even)::before {
    display: block;
    left: -32px;
  }

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

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

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

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

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

  .work-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }

  .case-study-media {
    margin-bottom: 16px;
  }

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

  .case-study-desc {
    font-size: 14.5px;
    line-height: 1.6;
  }

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

  .sector-card {
    height: 180px;
  }

  .sector-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-transform: none;
  }

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

  .people-culture {
    padding: 72px 0 64px;
  }

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

  .people-culture-heading {
    font-size: clamp(30px, 4vw, 42px);
  }

  .people-tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .people-tile-card {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }

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

  .people-header-wrap {
    margin-bottom: 32px;
  }

  .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .people-media {
    margin-bottom: 16px;
  }

  .people-card-title {
    font-size: 17px;
    line-height: 1.4;
  }

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

  /* --------------------------------------------------------------------------
     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-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 32px;
  }

}