/* ==========================================================================
   FCI Landing Page System - Responsive Styles
   Mobile-First Breakpoint Overrides
   ========================================================================== */

/* ========================================
   SM BREAKPOINT (640px+)
   ======================================== */
@media (min-width: 640px) {
  /* Typography */
  h1 {
    font-size: var(--text-5xl);
  }

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

  /* Hero */
  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__cta-group {
    flex-direction: row;
  }

  /* Value Props */
  .value-props__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__item--featured {
    grid-column: 1 / 3;
    aspect-ratio: 16/9;
  }

  /* Meet the Team */
  .meet-team__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Video Testimonials */
  .video-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Educational Videos */
  .edu-videos__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Time slots */
  .time-slots {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__brand,
  .footer__contact,
  .footer__hours {
    text-align: left;
  }

  .footer__logo {
    margin: 0 0 var(--space-4);
  }
}

/* ========================================
   MD BREAKPOINT (768px+)
   ======================================== */
@media (min-width: 768px) {
  /* Header */
  .header-phone {
    display: flex;
  }

  .header-logo img {
    height: 56px;
  }

  /* Hero */
  .hero__container {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  /* Process Steps - horizontal layout */
  .process-timeline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }

  .process-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    flex-direction: column;
    text-align: center;
  }

  .process-step__number {
    margin: 0 auto var(--space-3);
  }

  .process-step:not(:last-child) .process-step__content {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }

  .process-step__content {
    padding-bottom: 0;
  }

  /* Trust badges */
  .trust-badges__grid {
    gap: var(--space-8);
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Video Testimonials */
  .video-testimonials__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Financing Promo - horizontal layout */
  .financing-promo__banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .financing-promo__text {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .financing-promo__cta {
    flex-shrink: 0;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
  }
}

/* ========================================
   LG BREAKPOINT (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  /* Typography */
  h1 {
    font-size: var(--text-6xl);
  }

  /* Header */
  .header-logo img {
    height: 64px;
  }

  /* Hero - side by side layout */
  .hero__container {
    grid-template-columns: 1fr 400px;
    align-items: start;
    gap: var(--space-12);
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

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

  .hero__form {
    position: sticky;
    top: calc(100px + var(--space-4));
  }

  /* Value Props - 5 column grid */
  .value-props__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
  }

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

  .value-card__icon {
    width: 48px;
    height: 48px;
  }

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

  .value-card__text {
    font-size: var(--text-xs);
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Meet the Team */
  .meet-team__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Contact Form */
  .contact-form {
    padding: var(--space-10);
  }

  /* Footer */
  .footer__grid {
    gap: var(--space-16);
  }
}

/* ========================================
   XL BREAKPOINT (1280px+)
   ======================================== */
@media (min-width: 1280px) {
  /* Hero */
  .hero__container {
    grid-template-columns: 1fr 450px;
  }

  /* Sections padding */
  .value-props,
  .meet-team,
  .process-steps,
  .video-testimonials,
  .testimonials,
  .gallery,
  .awards,
  .edu-videos,
  .contact-section,
  .faq-section,
  .service-areas {
    padding: var(--space-20) 0;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .site-header,
  .hero__form,
  .booking-widget,
  .contact-form,
  .footer__contact {
    display: none;
  }

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

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }

  .container {
    max-width: 100%;
  }
}

/* ========================================
   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;
  }
}

/* ========================================
   DARK MODE (System Preference)
   Optional - uncomment to enable
   ======================================== */
/*
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-primary: #1a1a1a;
    --color-bg-secondary: #252525;
    --color-text-primary: #f5f5f5;
    --color-text-secondary: #a0a0a0;
    --color-border: rgba(255, 255, 255, 0.1);
  }
}
*/
