/* assets/css/responsive.css */

/* Tablet and up: show phone number */
@media (min-width: 768px) {
  .header-actions__phone {
    display: flex;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop: horizontal nav, hide hamburger */
@media (min-width: 1024px) {
  .main-nav {
    position: static;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border-bottom: none;
    background: transparent;
  }
  .main-nav__list {
    flex-direction: row;
    padding: 0;
    gap: var(--space-md);
  }
  .main-nav__link {
    padding: 0.5rem 0.25rem;
  }

  .nav-toggle {
    display: none;
  }
}

/* assets/css/responsive.css — hero + feature strip breakpoints
   (nav breakpoints above this stay exactly as they are — unchanged) */
/* assets/css/responsive.css — hero breakpoints */

/* Tablet */
@media (min-width: 640px) {
  .hero__title {
    font-size: 2.5rem;
  }
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Section 2 */
  .emotive__media {
    height: 440px;
  }
  .emotive__title {
    font-size: 1.875rem;
  }
  .emotive__content {
    padding-inline: var(--space-md);
  }

  /* Section 3 */
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card {
    min-height: 520px;
  }

  /* How It Works */
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why Families Choose Us */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Commitment to Quality Care */
  .quality-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-band__title {
    font-size: 2.25rem;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }

  /* Services page */
  .page-hero__title {
    font-size: 2.25rem;
  }

  /* Services page- S2 */
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Specialized Care */
  .specialty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* .care-process .section-intro__actions {
    flex-wrap: nowrap;
  } */

  /* about us Values Section s3 */
  .value-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* about us Credentials Section s4 */
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Contact Methods */
  .contact-method-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop: image bleeds to the section edge WITHIN .hero__top only.
   .hero__top has its own defined height, so the image can never
   stretch into the feature strip below it. */
@media (min-width: 1024px) {
  .hero__top {
    position: relative;
    min-height: 640px;
  }

  /* Full hero image layer */
  .hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }

  .hero__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    border-radius: var(--radius-lg);
  }
  .hero__top > .container {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 640px;
    display: flex;
    align-items: center;
  }

  .hero__content {
    max-width: 480px;
    padding-block: var(--space-xl);
  }

  .hero__title {
    font-size: 3rem;
  }

  /* Badge */
  .hero__badge {
    left: auto;
    right: var(--space-lg);
    bottom: var(--space-lg);
  }

  .feature-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Section2  */
  .emotive__media {
    height: 520px;
  }
  .emotive__content {
    padding-block: var(--space-xl);
    padding-inline: var(--space-lg);
  }
  .emotive__title {
    font-size: 2.25rem;
  }
  .emotive__desc {
    font-size: 1rem;
  }

  /* section 3 */
  .service-grid {
    gap: var(--space-lg);
  }
  .service-card {
    min-height: 560px;
  }
  .service-card__content {
    padding: var(--space-lg);
  }
  .service-card__title {
    font-size: 1.75rem;
  }

  /* How It Works */
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
  }

  /* Decorative connecting line behind the icons, spanning the row */
  .steps::before {
    content: "";
    position: absolute;
    top: calc(var(--space-lg) + 32px); /* aligns with icon vertical center */
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
  }

  .step {
    position: relative;
    z-index: 1;
  }

  /* Why Families Choose Us */
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  /* Commitment to Quality Care */
  .quality-grid {
    /* grid-template-columns: repeat(3, 1fr); */
    gap: var(--space-lg);
  }

  .testimonial-grid {
    gap: var(--space-lg);
  }

  .coverage__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
  }
  .coverage__content {
    flex: 1;
  }
  .coverage__map {
    flex: 1;
  }
  .coverage__title {
    font-size: 1.875rem;
  }

  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
  }
  .cta-band__actions {
    flex-shrink: 0;
    width: 220px; /* fixed width so stacked buttons align neatly */
  }
  .cta-band__title {
    font-size: 1.625rem;
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Services page */
  .page-hero__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-xl);
    padding-top: var(--space-sm);
  }
  .page-hero__content {
    flex: 1;
    max-width: 480px;
  }
  .page-hero__media {
    flex: 1.1;
  }
  .page-hero__title {
    font-size: 2.75rem;
  }

  /* Services page- S2 */
  .service-detail__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
  }
  .service-detail__media {
    flex: 1;
  }
  .service-detail__content {
    flex: 1.1;
  }
  .service-detail__title {
    font-size: 2rem;
  }

  /* Specialized Care */
  .specialty-grid {
    gap: var(--space-lg);
  }
  .specialty-card {
    min-height: 300px;
  }

  /* Care Process
  .process-visual {
    padding: var(--space-lg);
  } */
}

@media (min-width: 1280px) {
  .hero__media {
    left: 0;
  }
}
