/* ==========================================================================
   Responsive rules — breakpoints follow the reference (Elementor/UiCore):
   laptop ≤1279 (fluid container), tablet ≤1024, mobile ≤767.
   ========================================================================== */

/* ---------- Laptop: container becomes fluid */
@media (max-width: 1299px) {
  :root { --gutter: 20px; }
  .home-hero__content { padding-left: 120px; }
  .post-layout { column-gap: 80px; justify-content: space-between; }
}

@media (max-width: 1199px) {
  .main-nav__link { padding: 0 16px; }
  .site-header__login { margin-left: 10px; padding-inline: 18px; }
  .solution-cta__inner { padding-inline: 80px; }
  .offer__img--back { width: 300px; }
  .offer__img--front { width: 380px; }
  .offer__media--lrw .offer__img { width: 340px; }
}

/* ---------- Tablet (≤1024): hamburger navigation, centred heroes */
@media (max-width: 1024px) {
  :root { --fs-h1: 60px; --fs-h2: 34px; --fs-h3: 21px; --fs-h4: 18px; --fs-h5: 15px; --fs-h6: 13px; --fs-p: 15px; --header-h: 93px; --gutter: 50px; }
  body { font-size: 15px; }

  .main-nav, .site-header__extra { display: none; }
  .menu-toggle { display: block; }
  .site-header__inner { padding-inline: var(--gutter); }
  .site-header.is-sticky .site-header__inner { height: 93px; }

  h2, .footer-cta__title, .rta-title, .faq-block__title { font-size: 34px; }

  /* home hero: 550px centred column */
  .home-hero { padding: 125px 0 0; }
  .home-hero .container { padding-inline: 20px; }
  .home-hero__content { max-width: 550px; margin: 0 auto; padding: 0 0 10px; text-align: center; }
  .home-hero__eyebrow { margin-left: 0; padding: 10px 18px; }
  .home-hero__text { margin: 0 auto; }
  .home-hero__actions { justify-content: center; gap: 20px; }

  .offer--card { padding: 90px 0; }
  .offer--plain { padding: 90px 0; }
  .offer__img--back { width: 100%; margin: 0; max-width: none; }
  .offer__media { margin-left: 0; padding-top: 0; }
  .offer__media .offer__img--back { width: calc(100% - 80px); margin: 0 80px 0 0; border-radius: 14px; }
  .offer__media .offer__img--front { width: calc(100% - 80px); margin: -75px 0 0 80px; border-radius: 14px; }
  .offer__media--lrw .offer__img--front { margin-top: -80px; }
  .offer--reverse .offer__text { padding-left: 30px; }
  .offer--lrw .offer__text { padding-left: 10px; }

  .why__title { font-size: 34px; }
  .stat__number { font-size: 36px; }

  .home-faq { padding: 90px 0; }

  .page-hero { padding-top: 150px; }
  .page-hero__inner { max-width: 550px; padding-bottom: 50px; text-align: center; }
  .page-hero__inner > .btn { margin-top: 20px; }
  .page-hero__text { max-width: 420px; margin-inline: auto; }
  .page-hero__title { font-size: 34px; }
  .page-hero__title--h1 { font-size: 40px; }
  .page-hero--podcast .page-hero__inner, .page-hero--pricing .page-hero__inner { text-align: left; max-width: none; }

  .solution-intro { padding: 90px 0; }
  .solution-intro__title { font-size: 28px; line-height: 1.35; }
  .feature .icon-box { padding: 10px 24px 32px; }
  .icon-box__icon { font-size: 40px; margin-bottom: 32px; }
  .icon-box__title { font-size: 18px; margin-bottom: 16px; }
  .icon-box__text { font-size: 15px; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .solution-cta { padding: 90px 0; }
  .solution-cta__inner { padding-inline: 20px; }
  .solution-cta__title { font-size: 28px; line-height: 1.35; }

  .about-overview__title { padding-right: 0; font-size: 28px; }
  .about-heading, .about-heading--narrow { font-size: 28px; line-height: 1.3; }
  .commitment { padding-top: 70px; }
  .commitment__title { font-size: 34px; }
  .about-cta__img { width: 100%; }
  .about-cta__body { padding-left: 30px; }
  .about-cta__bg { height: 420px; }

  .post-tiles, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-grid { column-gap: 30px; }
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel__slide { flex-basis: calc((100% - 20px) / 2); }

  .page-title { padding-top: 72px; }
  .page-title__inner { padding-top: 60px; padding-bottom: 60px; }
  .page-title__heading { font-size: 48px; }
  .post-main { padding: 60px 0; }
  .post-layout { grid-template-columns: minmax(0, 1fr); row-gap: 60px; }
  .post-sidebar { position: static; max-width: 420px; }
  .entry-content { font-size: 18px; line-height: 1.75; }

  .footer-cta { padding: 60px 0; }
  .footer-cta__inner { grid-template-columns: 1fr; max-width: 550px; text-align: center; row-gap: 30px; }
  .footer-cta__text { padding-right: 0; }
  .footer-cta__title { max-width: none; }
  .footer-cta__actions { justify-content: center; padding-left: 0; }
  .footer-col__title { font-size: 18px; }
  .footer-col__list li + li { margin-top: 20px; }
  .footer-col__list a { font-size: 15px; }
  .footer-brand__mark { width: 82px; }
  .footer-brand__copy { font-size: 15px; }
  .footer-social a { font-size: 22px; }

  .plans__grid { column-gap: 40px; }
  .contact__title { font-size: 56px; }
  .page-rta main, .page-contact main { padding-top: 100px; }
  .rta-boxes__grid { gap: 30px; }
}

/* ---------- Mobile (≤767): single column stacks */
@media (max-width: 767px) {
  :root { --fs-h1: 40px; --fs-h2: 26px; --fs-h3: 20px; --fs-h4: 16px; --fs-h5: 14px; --fs-h6: 12px; --fs-p: 14px; --gutter: 30px; --header-h: 74px; }
  .site-header__brand img { height: 26px; }
  .site-header.is-sticky .site-header__inner { height: 74px; }
  body { font-size: 14px; line-height: 1.85; }
  h2, .footer-cta__title, .rta-title, .faq-block__title { font-size: 26px; }

  .home-hero { padding: 100px 0 0; }
  .home-hero__content { max-width: none; text-align: left; padding-bottom: 40px; }
  .home-hero__eyebrow { padding: 8px 16px; font-size: 14px; }
  .home-hero__title { font-size: 40px; }
  .home-hero__actions { flex-direction: column; align-items: stretch; gap: 20px; padding: 10px 10px 0; }
  .home-hero__actions .btn { width: 100%; padding-block: 13px; }

  .trusted__logos { grid-template-columns: 1fr; gap: 20px; }
  .trusted__logos img { max-width: none; }

  .offer--card { padding: 90px 0 60px; }
  .offer--card .offer__media { order: -1; margin: 0 0 40px; }
  .offer--plain { padding: 90px 0 60px; }
  .offer__inner { grid-template-columns: 1fr; }
  .offer__text, .offer--reverse .offer__text, .offer--lrw .offer__text { padding: 0 10px; }
  .offer--reverse .offer__media { order: 2; }
  .offer__media { margin-top: 30px; }
  .offer__media .offer__img--back { width: calc(100% - 60px); margin-right: 60px; border-radius: 10px; }
  .offer__media .offer__img--front { width: calc(100% - 60px); margin: -100px 0 0 60px; border-radius: 10px; }
  .offer__media--lrw .offer__img--front { margin-top: -130px; }
  .offer__btn { display: flex; width: 100%; }

  .why { border-width: 10px; border-radius: 30px; }
  .why__title { font-size: 36px; }
  .why::before { border-radius: 20px; }
  .why__stats { grid-template-columns: 1fr; gap: 20px; }

  .split-head { padding: 80px 0 20px; }
  .split-head__grid { grid-template-columns: 1fr; }
  .split-head__text { grid-column: 1; padding-left: 0; }
  .post-tiles, .post-tiles--blog { grid-template-columns: 1fr; }

  .home-faq { border-width: 10px; border-radius: 30px; padding: 70px 0; }
  .home-faq__inner { grid-template-columns: 1fr; }
  .accordion--qa .accordion__trigger, .accordion--faq .accordion__trigger { font-size: 17px; line-height: 26px; }

  .carousel__slide { flex-basis: 100%; }

  .page-hero { padding-top: 120px; }
  .page-hero__inner { max-width: none; padding-bottom: 40px; }
  .page-hero__title { font-size: 26px; }
  .page-hero__title--h1 { font-size: 34px; }
  .page-hero__inner > .btn { display: flex; width: 100%; }

  .features__grid { grid-template-columns: 1fr; }
  .feature:nth-child(odd), .feature:nth-child(even) { grid-column: 1; }
  .feature .icon-box { border-right-width: 0; }
  .solution-intro { padding: 60px 0 30px; }
  .solution-intro__title, .solution-cta__title { font-size: 24px; }
  .solution-cta { padding: 60px 0; }
  .solution-cta__inner { padding-inline: var(--gutter); }

  .about-services, .team__grid, .commitment, .about-cta__grid, .testimonial-grid,
  .archive-grid, .compare__grid, .podcast__grid, .contact__grid, .rta-boxes__grid { grid-template-columns: 1fr; }
  .commitment__spacer { display: none; }
  .commitment { padding-top: 60px; }
  .commitment__title { font-size: 28px; }
  .journey, .team { padding: 60px 0 20px; }
  .about-heading, .about-heading--narrow, .about-overview__title { font-size: 22px; }
  .about-cta { padding-top: 60px; }
  .about-cta__bg { display: none; }
  .about-cta__body { padding-left: 0; }
  .about-cta__actions { flex-wrap: wrap; gap: 20px; }
  .track-line { width: 125px; }
  .track-line--center { width: 250px; }

  .samples-group__title { font-size: 20px; }
  .testimonial-grid { gap: 30px; }

  .page-title__heading { font-size: 34px; }
  .entry-content { font-size: 16px; }
  .post-sidebar { max-width: none; }

  .project-plan { grid-template-columns: 1fr; margin-inline: 0; }
  .project-plan__btn { justify-self: start; }
  .plans__grid { grid-template-columns: minmax(0, 318px); row-gap: 40px; }
  .compare-card { margin: 10px 0; }
  .cost-list dt { max-width: 65%; }
  .save-band__title, .save-band__amount { font-size: 28px; }
  .pricing-intro__lead { font-size: 18px; line-height: 1.5; }

  .contact__title { font-size: 40px; }
  .page-rta main, .page-contact main { padding-top: 90px; }

  .footer-cta { padding: 50px 0 30px; }
  .footer-cta__actions { flex-direction: column; align-items: stretch; gap: 0; }
  .footer-cta__actions .btn { width: 100%; margin-bottom: 15px; }
  .footer-main__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .footer-social { gap: 20px; }
  .footer-col__list li + li { margin-top: 16px; }
  .footer-col__list a { font-size: 14px; }
  .footer-brand__copy { font-size: 14px; }
  .back-to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 400px) {
  .home-hero__title { font-size: 34px; }
  .contact__title { font-size: 34px; }
}
