/* ==========================================================================
   BELENTINO - Responsive Styles
   Mobile-first breakpoints for belentino.com
   ========================================================================== */

/* --------------------------------------------------------------------------
   TABLET: 768px and below
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

  /* Typography */
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }

  /* Layout */
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .grid--2-1,
  .grid--1-2 {
    grid-template-columns: 1fr;
  }

  /* Header */
  .main-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-logo .logo-full {
    display: none;
  }

  .site-logo .logo-icon {
    display: block;
    height: 40px;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
  }

  /* Stats */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .process-step::after {
    display: none;
  }

  .process-step {
    text-align: left;
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-lg);
  }

  .process-step::before {
    font-size: var(--text-3xl);
    flex-shrink: 0;
    margin-bottom: 0;
  }

  /* Persona grid */
  .persona-grid {
    grid-template-columns: 1fr;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  .email-signup {
    flex-direction: column;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Tool grid */
  .tool-grid {
    grid-template-columns: 1fr;
  }

  /* Stub features */
  .stub-features {
    grid-template-columns: 1fr;
  }

  /* Stub related */
  .stub-related {
    grid-template-columns: 1fr;
  }

  /* Project stats */
  .project-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Breadcrumb */
  .breadcrumb {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Button group */
  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}


/* --------------------------------------------------------------------------
   SMALL MOBILE: 480px and below
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {

  html {
    font-size: 15px;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .hero {
    min-height: 60vh;
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: var(--text-3xl);
  }

  .card {
    padding: var(--space-lg);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .project-stats {
    grid-template-columns: 1fr 1fr;
  }
}


/* --------------------------------------------------------------------------
   DESKTOP: 1024px and above
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {

  .hero__title {
    font-size: var(--text-7xl);
  }

  /* Larger spacing for wide screens */
  .section {
    padding: var(--space-5xl) 0;
  }
}


/* --------------------------------------------------------------------------
   WIDE: 1200px and above
   -------------------------------------------------------------------------- */

@media (min-width: 1200px) {

  .container {
    padding: 0 var(--space-2xl);
  }
}


/* --------------------------------------------------------------------------
   PRINT STYLES
   -------------------------------------------------------------------------- */

@media print {

  .site-header,
  .nav-toggle,
  .mobile-nav-overlay,
  .site-footer,
  .btn,
  .email-signup,
  .stub-badge {
    display: none !important;
  }

  .header-spacer {
    height: 0;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .hero {
    min-height: auto;
    background: none !important;
    color: #000;
  }

  .hero__title,
  .hero__subtitle {
    color: #000;
  }

  .section--dark,
  .section--green {
    background: none;
    color: #000;
  }

  .section--dark h1,
  .section--dark h2,
  .section--dark h3,
  .section--dark h4,
  .section--green h1,
  .section--green h2,
  .section--green h3,
  .section--green h4 {
    color: #000;
  }
}
