/* ==========================================================================
   ProfitEdge Consulting - Responsive Media Queries Stylesheet
   Fully responsive across Desktop, Laptop, Tablet, Mobile Portrait & Mobile Landscape
   ========================================================================== */

/* ==========================================================================
   Large Tablets & Compact Laptops (max-width: 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
  .section-container,
  .hero-content,
  .bento-grid,
  .two-col-narrative,
  .navy-showstopper-card,
  .competencies-box,
  .journey-banner,
  .footer-grid,
  .footer-bottom-bar {
    max-width: 95%;
  }

  .hero-headline {
    font-size: 52px;
  }

  .framework-branches {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Tablets (max-width: 960px)
   ========================================================================== */
@media (max-width: 960px) {
  .navbar {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero-wrapper {
    padding: 100px 20px 60px;
  }

  .hero-headline {
    font-size: 40px;
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 40px;
  }

  .hero-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-stat-item {
    padding: 18px 14px;
  }

  .hero-stat-num {
    font-size: 28px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bento-left-col,
  .bento-right-col {
    gap: 24px;
  }

  .two-col-narrative {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }

  .three-pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .competencies-box {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 32px;
    border-radius: 28px 0 28px 0;
  }

  .journey-banner {
    padding: 50px 28px;
    border-radius: 28px 0 28px 0;
    margin: 40px auto;
  }

  .journey-timeline-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .framework-branches {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .framework-core {
    padding: 20px;
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    margin-bottom: 40px;
  }

  .navy-showstopper-card {
    padding: 44px 28px;
    border-radius: 28px 0 28px 0;
  }

  .navy-card-title {
    font-size: 30px;
  }

  .houston-card {
    padding: 48px 28px;
    border-radius: 28px 0 28px 0;
  }

  .houston-headline {
    font-size: 30px;
  }
}

/* ==========================================================================
   Small Tablets & Large Mobile (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .section-container {
    padding: 60px 16px;
  }

  .section-title-large {
    font-size: 32px;
    line-height: 1.25;
  }

  .section-subtitle-text {
    font-size: 15px;
  }

  .card-asymmetric-coral,
  .card-asymmetric-blue,
  .card-asymmetric-white {
    padding: 28px 20px;
    border-radius: 24px 0 24px 0;
  }

  .card-asymmetric-white {
    border-radius: 24px;
  }

  .card-asymmetric-white h3 {
    font-size: 22px;
  }

  .framework-wings {
    flex-direction: column;
    gap: 16px;
  }

  .wing-card {
    padding: 16px 20px;
    font-size: 15px;
  }

  .sticky-note {
    position: static;
    transform: none !important;
    margin: 8px auto;
    width: 90%;
    max-width: 320px;
  }

  .mindmap-board {
    padding: 28px 16px;
    border-radius: 24px;
  }

  .pillar-item {
    padding: 24px 16px;
  }

  .accordion-summary {
    padding: 18px 20px;
    font-size: 16px;
  }

  .accordion-content {
    padding: 0 20px 20px;
  }

  .industry-badge {
    padding: 10px 18px;
    font-size: 13.5px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 20px;
  }

  .footer-bottom-bar > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }
}

/* ==========================================================================
   Standard Mobile (max-width: 600px)
   ========================================================================== */
@media (max-width: 600px) {
  .navbar {
    padding: 12px 16px;
  }

  .brand-logo-img {
    height: 32px;
  }

  .brand-tagline {
    font-size: 9.5px;
    padding-left: 8px;
    margin-left: 0;
  }

  .hero-wrapper {
    padding: 85px 16px 45px;
  }

  .hero-badge-pill {
    font-size: 11.5px;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .script-cursive {
    font-size: 30px;
    margin-bottom: 4px;
  }

  .hero-headline {
    font-size: 28px;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-stat-item {
    padding: 14px 10px;
    border-radius: 14px;
  }

  .hero-stat-num {
    font-size: 24px;
  }

  .hero-stat-label {
    font-size: 11px;
  }

  .section-title-large {
    font-size: 26px;
  }

  .comp-row {
    padding: 11px 14px;
    gap: 12px;
  }

  .comp-number {
    font-size: 12px;
  }

  .comp-label {
    font-size: 13.5px;
  }

  .comp-showcase-panel {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .comp-showcase-panel h4 {
    font-size: 18px;
  }

  .comp-showcase-panel p {
    font-size: 13.5px;
  }

  .pedagogy-badge {
    font-size: 12.5px;
    padding: 10px 14px;
  }

  .framework-branches {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .branch-card {
    padding: 14px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .houston-card {
    padding: 36px 18px;
    border-radius: 24px 0 24px 0;
  }

  .houston-script {
    font-size: 40px;
  }

  .houston-headline {
    font-size: 24px;
  }

  .houston-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .site-footer {
    padding: 60px 20px 24px;
    border-radius: 32px 0 0 0;
  }

  .journey-banner {
    padding: 36px 16px;
    border-radius: 24px 0 24px 0;
  }

  .journey-role {
    font-size: 18px;
  }

  .journey-bullets {
    font-size: 13px;
    padding-left: 18px;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
    padding-top: 24px !important;
  }

  .footer-bottom-bar > div:first-child {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .footer-legal-links {
    justify-content: center !important;
    gap: 20px !important;
  }
}

/* ==========================================================================
   Compact / Ultra-Narrow Mobile (max-width: 400px)
   ========================================================================== */
@media (max-width: 400px) {
  .hero-wrapper {
    padding: 80px 14px 40px;
  }

  .hero-headline {
    font-size: 24px;
  }

  .brand-tagline {
    display: none;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
  }

  .btn-pill-red,
  .btn-pill-ghost,
  .btn-pill-linkedin {
    padding: 11px 20px;
    font-size: 13.5px;
  }

  .industry-pills-row {
    gap: 8px;
  }

  .industry-badge {
    width: 100%;
    justify-content: center;
    font-size: 13px;
  }
}

/* ==========================================================================
   Motion Preference: Respect Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
