/* Responsive refinements */
@media (max-width: 1199.98px) {
  .site-container {
    width: min(var(--container), calc(100% - 2.5rem));
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 2.2rem;
  }

  .home-hero h1 { font-size: clamp(3.2rem, 5.25vw, 4.35rem); }

  .component-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 2.25rem;
  }

  .process-grid::before {
    display: none;
  }

  .process-icon {
    box-shadow: none;
  }
}

/* ========================================================================== */
/* Rays Atelier responsive system                                             */
/* ========================================================================== */
@media (max-width: 1199.98px) {
  .atelier-hero-layout { grid-template-columns: 1fr .95fr; gap: 38px; }
  .atelier-display { font-size: clamp(4rem, 6.6vw, 6.2rem); }
  .atelier-hero-visual { min-height: 520px; }
  .hero-sun-card { left: -20px; }
  .signature-grid { grid-template-columns: 100px minmax(0,1fr) 280px; gap: 34px; }
  .solution-showcase { grid-template-columns: 290px minmax(0,1fr); }
  .savings-story { padding: 55px; }
  .atelier-calculator { padding: 42px; }
  .trust-layout { gap: 55px; }
  .trust-photo { height: 660px; }
  .enquiry-layout { gap: 70px; }
}

@media (max-width: 991.98px) {
  .site-container { width: min(calc(100% - 40px), 1380px); }
  .atelier-home .section-space { padding: 100px 0; }
  .atelier-header .navbar-shell { min-height: 76px; }
  .atelier-header .navbar { min-height: 76px; }
  .atelier-hero { min-height: auto; }
  .atelier-hero-layout { grid-template-columns: 1fr; min-height: 0; padding-top: 80px; padding-bottom: 50px; }
  .atelier-hero-copy { max-width: 800px; padding-left: 0; }
  .atelier-display { font-size: clamp(5.2rem, 11vw, 7.5rem); }
  .atelier-hero-lead { max-width: 680px; }
  .atelier-hero-visual { height: 650px; min-height: 0; margin: 12px 0 0 40px; }
  .hero-sun-card { left: -38px; }
  .hero-segment-rail { height: 74px; }
  .signature-grid { grid-template-columns: 80px 1fr; }
  .signature-aside { grid-column: 2; max-width: 620px; }
  .atelier-section-head,
  .blueprint-head { grid-template-columns: 1fr; gap: 28px; }
  .atelier-section-head > p,
  .blueprint-head p { max-width: 680px; }
  .solution-showcase { grid-template-columns: 1fr; min-height: 720px; }
  .solution-tablist { display: grid; grid-template-columns: repeat(3,1fr); padding: 16px; }
  .solution-tab { grid-template-columns: auto 1fr; min-height: 75px; padding: 0 14px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 0; font-size: .9rem; }
  .solution-tab:last-of-type { border-right: 0; }
  .solution-tab i, .solution-tablist::after { display: none; }
  .solution-stage { min-height: 620px; }
  .blueprint-steps { grid-template-columns: 1fr 1fr; }
  .blueprint-step:nth-child(2) { border-right: 0; }
  .blueprint-step:nth-child(3), .blueprint-step:nth-child(4) { border-top: 1px solid rgba(255,255,255,.11); }
  .blueprint-step:nth-child(3)::before, .blueprint-step:nth-child(4)::before { top: -5px; }
  .savings-shell { grid-template-columns: 1fr; }
  .savings-story { min-height: 620px; }
  .atelier-calculator { margin-top: 0; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-card-featured { grid-row: auto; min-height: 460px; }
  .expertise-card-featured > i { margin-top: 50px; }
  .expertise-card-quote { grid-column: 1 / -1; min-height: 300px; }
  .trust-layout { grid-template-columns: 1fr; }
  .trust-photo { height: 620px; }
  .trust-content { max-width: 800px; }
  .atelier-cta,
  .atelier-cta-inner { min-height: 650px; }
  .enquiry-layout { grid-template-columns: 1fr; }
  .enquiry-intro { position: static; max-width: 720px; }
  .enquiry-direct { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
  .site-container { width: min(calc(100% - 28px), 1380px); }
  .atelier-home .section-space { padding: 78px 0; }
  .atelier-header .brand-logo { width: 44px; height: 44px; }
  .atelier-header .brand-copy { font-size: .86rem; }
  .atelier-header .brand-copy small { font-size: .52rem; }
  .atelier-hero-layout { gap: 36px; padding-top: 57px; }
  .hero-kicker { margin-bottom: 19px; font-size: .59rem; }
  .atelier-display { font-size: clamp(3.55rem, 16vw, 5.4rem); line-height: .9; }
  .atelier-hero-lead { margin-top: 24px; font-size: .95rem; line-height: 1.65; }
  .atelier-hero-actions { align-items: stretch; flex-direction: column; gap: 18px; margin-top: 28px; }
  .atelier-hero-actions .atelier-btn { width: 100%; }
  .atelier-text-link { align-self: flex-start; }
  .hero-proof { flex-direction: column; gap: 15px; margin-top: 30px; }
  .hero-proof i { width: 38px; height: 38px; }
  .atelier-hero-visual { height: 540px; margin-left: 16px; overflow: visible; border-radius: 24px 24px 5px 24px; }
  .atelier-hero-picture { overflow: hidden; border-radius: inherit; }
  .atelier-hero-picture img { object-position: 60% center; }
  .hero-method-card { right: 10px; bottom: 10px; left: 10px; width: auto; padding: 13px; }
  .method-card-icon { width: 42px; height: 42px; }
  .hero-method-card strong { font-size: .8rem; }
  .hero-sun-card { top: 36%; left: -16px; padding: 10px 12px; }
  .hero-image-index { top: 18px; left: 18px; }
  .hero-segment-rail { height: 64px; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .hero-segment-rail > span, .hero-rail-scroll { display: none; }
  .hero-segment-rail > a:not(.hero-rail-scroll) { flex: 0 0 auto; padding: 8px 10px; font-size: .64rem; }
  .trust-marquee-track { height: 54px; }
  .signature-grid { grid-template-columns: 1fr; gap: 25px; }
  .signature-index { flex-direction: row; align-items: center; }
  .signature-index span { font-size: 2.2rem; }
  .signature-statement h2 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .signature-aside { grid-column: auto; }
  .atelier-section-head { gap: 20px; margin-bottom: 40px; }
  .atelier-section-head h2,
  .blueprint-head h2 { font-size: clamp(2.85rem, 13vw, 4.6rem); }
  .atelier-section-head > p,
  .blueprint-head p { font-size: .9rem; }
  .solution-showcase { min-height: 690px; border-radius: 20px; }
  .solution-tablist { gap: 5px; padding: 8px; }
  .solution-tab { display: flex; justify-content: center; min-height: 60px; padding: 0 7px !important; border: 0; border-radius: 12px; font-size: .7rem; text-align: center; }
  .solution-tab span { display: none; }
  .solution-tab.active { background: rgba(255,255,255,.1); }
  .solution-stage { min-height: 620px; }
  .solution-pane-copy { right: 23px; bottom: 28px; left: 23px; }
  .solution-pane-copy h3 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .solution-pane-copy p { font-size: .86rem; }
  .solution-note { top: 14px; right: 14px; left: 14px; max-width: none; }
  .blueprint-line { margin-top: 50px; }
  .blueprint-steps { grid-template-columns: 1fr; }
  .blueprint-step,
  .blueprint-step + .blueprint-step { min-height: 0; padding: 32px 0 32px 70px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
  .blueprint-step:nth-child(3), .blueprint-step:nth-child(4) { border-top: 0; }
  .blueprint-step::before,
  .blueprint-step + .blueprint-step::before { top: 43px; left: 0; }
  .blueprint-step small { display: block; }
  .blueprint-icon { position: absolute; top: 27px; left: 17px; width: 40px; height: 40px; margin: 0; border: 0; }
  .blueprint-step h3 { margin-top: 8px; }
  .blueprint-cta { align-items: flex-start; flex-direction: column; }
  .savings-shell { border-radius: 22px; }
  .savings-story { min-height: 610px; padding: 38px 24px; }
  .savings-story h2 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .savings-feature-list { align-items: flex-start; flex-direction: column; }
  .savings-visual { right: 24px; bottom: 58px; left: 24px; }
  .savings-sun { right: -30px; font-size: 9rem; }
  .savings-disclaimer { right: 24px; bottom: 20px; left: 24px; }
  .atelier-calculator { gap: 20px; margin: 10px; padding: 30px 20px; border-radius: 18px; }
  .atelier-calculator-result > div { grid-template-columns: 1fr; }
  .expertise-head .atelier-arrow-link { justify-self: start; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card,
  .expertise-card-featured { min-height: 350px; padding: 28px; }
  .expertise-card-featured h3 { font-size: 2.25rem; }
  .expertise-card-quote { grid-column: auto; min-height: 300px; }
  .trust-photo { height: 520px; }
  .trust-content h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .trust-principles,
  .trust-credentials { grid-template-columns: 1fr; }
  .trust-principles span:nth-child(even) { padding-left: 0; border-left: 0; }
  .atelier-cta,
  .atelier-cta-inner { min-height: 570px; }
  .atelier-cta h2 { font-size: clamp(4.1rem, 18vw, 6.5rem); }
  .atelier-cta-actions { align-items: stretch; flex-direction: column; }
  .atelier-cta-actions .atelier-btn { width: 100%; }
  .atelier-cta-word { bottom: -25px; font-size: 25vw; }
  .enquiry-intro h2 { font-size: clamp(3rem, 13vw, 4.7rem); }
  .enquiry-direct { grid-template-columns: 1fr; }
  .atelier-enquiry-form { padding: 30px 20px; border-radius: 20px; }
  .footer-topline { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 45px; }
  body:not(.atelier-home) .page-hero { min-height: 500px; }
  body:not(.atelier-home) .page-hero h1 { font-size: clamp(3.35rem, 14vw, 5.4rem); }
}

@media (max-width: 390px) {
  .atelier-display { font-size: 3.35rem; }
  .atelier-hero-visual { height: 500px; margin-left: 8px; }
  .hero-sun-card { display: none; }
  .hero-method-card > a { display: none; }
  .signature-statement h2,
  .atelier-section-head h2,
  .blueprint-head h2,
  .trust-content h2 { font-size: 2.65rem; }
  .solution-pane-copy h3 { font-size: 2.5rem; }
  .atelier-cta h2 { font-size: 3.8rem; }
}

@media (max-width: 991.98px) {
  .topbar-item.location,
  .topbar-item.email {
    display: none;
  }

  .navbar-shell {
    min-height: 72px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .desktop-nav {
    display: none;
  }

  .home-hero {
    min-height: 880px;
    align-items: flex-start;
  }

  .home-hero::before {
    background:
      linear-gradient(100deg, rgba(7, 26, 20, 0.98), rgba(7, 59, 42, 0.84) 58%, rgba(7, 26, 20, 0.45)),
      linear-gradient(0deg, rgba(7, 26, 20, 0.62), transparent 48%);
  }

  .hero-scene { background-position: 60% center; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 5.5rem 8rem;
  }

  .hero-content { max-width: 700px; }

  .hero-visual {
    width: min(550px, 88%);
    min-height: 255px;
    justify-self: end;
    transform: none;
  }

  .hero-orbit { top: -30%; width: 330px; }
  .hero-energy-flow { top: 0; }
  .hero-savings-card { top: 52%; }
  .hero-journey-card { bottom: -5%; }

  .trust-metric:nth-child(2) {
    border-right: 0;
  }

  .trust-metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .benefit-item:nth-child(2) {
    border-right: 0;
  }

  .benefit-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .image-panel {
    min-height: 540px;
    margin-bottom: 2.5rem;
  }

  .image-panel > img {
    height: 500px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2) {
    grid-column: auto;
    min-height: 410px;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

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

  .team-image {
    height: 300px;
  }

  .contact-panel,
  .enquiry-form-shell {
    border-radius: var(--radius-lg);
  }

  .enquiry-form-shell {
    border-left: 1px solid var(--border);
  }

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-image {
    order: 0;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-space: 4.5rem;
  }

  .site-container {
    width: min(var(--container), calc(100% - 2rem));
  }

  .topbar {
    min-height: 34px;
  }

  .topbar-message {
    font-size: 0.72rem;
  }

  .topbar-links {
    gap: 0.7rem;
  }

  .topbar-item span {
    display: none;
  }

  .brand-copy {
    font-size: 0.92rem;
  }

  .brand-copy small {
    font-size: 0.55rem;
  }

  .home-hero {
    min-height: 820px;
  }

  .home-hero::before {
    background:
      linear-gradient(100deg, rgba(7, 26, 20, 0.98), rgba(7, 59, 42, 0.88)),
      linear-gradient(0deg, rgba(7, 26, 20, 0.7), transparent 50%);
  }

  .hero-scene { background-position: 62% center; }

  .hero-layout { gap: 1.8rem; padding-block: 4.75rem 7.25rem; }

  .home-hero h1 {
    font-size: clamp(2.55rem, 10vw, 3.5rem);
  }

  .hero-lead {
    max-width: 540px;
    font-size: 0.98rem;
  }

  .hero-beams,
  .hero-orbit,
  .hero-energy-flow,
  .hero-journey-card { display: none; }

  .hero-visual {
    width: 100%;
    min-height: 168px;
  }

  .hero-savings-card {
    position: relative;
    top: auto;
    right: auto;
    width: min(330px, 100%);
    margin-left: auto;
    animation: none;
  }

  .hero-scroll { bottom: 4.35rem; }
  .trust-strip { margin-top: -34px; }

  .trust-metric {
    min-height: 108px;
    padding: 1rem 0.6rem;
  }

  .solar-facts {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .image-panel {
    min-height: 470px;
  }

  .image-panel > img {
    width: calc(100% - 28px);
    height: 430px;
  }

  .recognition-shell {
    border-radius: var(--radius);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .component-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .energy-story-side {
    min-height: 370px;
  }

  .page-hero {
    min-height: 360px;
    padding-block: 5rem 3.5rem;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (max-width: 575.98px) {
  .site-container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .topbar-message {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-copy {
    font-size: 0.82rem;
  }

  .brand-copy small {
    letter-spacing: 0.07em;
  }

  .home-hero {
    min-height: 860px;
  }

  .hero-badge {
    max-width: 100%;
    font-size: 0.73rem;
  }

  .home-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 0.55rem 0.9rem;
  }

  .hero-layout { padding-top: 3.75rem; }
  .hero-savings-card { margin-inline: auto; }

  .trust-metric {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .metric-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .trust-metric strong {
    font-size: 1.25rem;
  }

  .benefit-item {
    min-height: 210px;
    padding: 1.5rem 1.2rem;
  }

  .benefit-number {
    margin-bottom: 2.2rem;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 420px;
  }

  .image-panel > img {
    width: calc(100% - 18px);
    height: 380px;
  }

  .overlap-card {
    width: min(245px, 84%);
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2) {
    min-height: 380px;
  }

  .service-card-content {
    padding: 1.25rem;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    display: block;
    margin-left: 1.15rem;
    padding-left: 2rem;
    border-left: 1px solid #becbc1;
  }

  .process-step {
    min-height: 145px;
  }

  .process-icon {
    position: absolute;
    top: 0;
    left: -3.35rem;
    width: 42px;
    height: 42px;
    background: var(--white);
    box-shadow: 0 0 0 6px var(--white);
    font-size: 1rem;
  }

  .project-card {
    min-height: 360px;
  }

  .component-grid {
    grid-template-columns: 1fr;
  }

  .component-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 0.75rem;
  }

  .component-card i {
    grid-row: 1 / 3;
    margin: 0;
  }

  .component-card h3,
  .component-card p {
    margin: 0;
  }

  .component-card p {
    margin-top: 0.3rem;
  }

  .team-image {
    height: 340px;
  }

  .contact-panel,
  .enquiry-form-shell {
    padding: 1.5rem;
    border-radius: var(--radius);
  }

  .floating-action {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .enquiry-button,
  .phone-button,
  .whatsapp-button,
  .back-to-top {
    width: 46px;
    height: 46px;
  }

  .service-detail-image {
    min-height: 260px;
  }
}

@media (max-width: 359.98px) {
  .brand-copy small {
    display: none;
  }

  .home-hero h1 {
    font-size: 2.15rem;
  }

  .hero-trust {
    font-size: 0.76rem;
  }

  .hero-badge { letter-spacing: 0.08em; }
}

/* Premium carousel hero */
@media (max-width: 1199.98px) {
  .hero-slide-content h1,
  .hero-slide-content h2 {
    font-size: clamp(3.15rem, 5.3vw, 4.25rem);
  }

  .hero-slide-extra {
    right: 0.25rem;
    width: 260px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .home-hero-carousel {
    height: clamp(700px, 88svh, 840px);
  }

  .hero-slide-content {
    width: 76%;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    font-size: clamp(3rem, 6.5vw, 3.8rem);
  }

  .hero-slide-extra {
    top: auto;
    right: 0.75rem;
    bottom: 7rem;
    width: 235px;
    padding: 1rem;
    transform: none;
  }

  .hero-service-extra {
    grid-template-columns: 1fr;
  }

  .hero-service-extra span {
    min-height: 0;
    align-items: center;
    flex-direction: row;
  }
}

@media (max-width: 767.98px) {
  .home-hero-carousel {
    height: clamp(690px, calc(100svh - 82px), 790px);
    min-height: 650px;
  }

  .hero-slide-container {
    align-items: flex-start;
    padding-top: clamp(3.2rem, 9vh, 5rem);
    padding-bottom: 6.5rem;
  }

  .hero-slide-content {
    width: 100%;
    transform: none;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    margin-bottom: 1.1rem;
    font-size: clamp(2.25rem, 10.4vw, 2.75rem);
    line-height: 1.02;
  }

  .hero-heading-line {
    white-space: normal;
  }

  .hero-eyebrow {
    max-width: 100%;
    margin-bottom: 1rem;
    font-size: 0.64rem;
    letter-spacing: 0.11em;
  }

  .hero-slide-lead {
    max-width: 100%;
    margin-bottom: 1.35rem;
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .hero-slide-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-slide-actions .btn {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding-inline: 1.1rem;
  }

  .hero-slide-trust {
    gap: 0.55rem 0.9rem;
    margin-top: 1rem;
    font-size: 0.68rem;
  }

  .hero-slide-extra {
    display: none;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(90deg, rgba(5, 29, 21, 0.94), rgba(6, 48, 34, 0.78)),
      linear-gradient(0deg, rgba(4, 23, 17, 0.76), transparent 54%);
  }

  [data-hero-slide="0"] .hero-slide-media img { object-position: 68% center; }
  [data-hero-slide="1"] .hero-slide-media img { object-position: 70% center; }
  [data-hero-slide="2"] .hero-slide-media img { object-position: 64% center; }
  [data-hero-slide="3"] .hero-slide-media img { object-position: 68% center; }

  .hero-carousel-indicators {
    bottom: 3.65rem;
    left: 1rem;
    gap: 0.48rem;
  }

  .hero-carousel-indicators [data-bs-target] {
    gap: 0.35rem;
    padding-block: 0.65rem;
  }

  .hero-indicator-number {
    font-size: 0.57rem;
  }

  .hero-indicator-track {
    width: 21px;
  }

  .hero-carousel-indicators button.active .hero-indicator-track {
    width: 42px;
  }

  .hero-carousel-nav {
    right: 1rem;
    bottom: 3.45rem;
    gap: 0.45rem;
  }

  .hero-carousel-control {
    width: 44px;
    height: 44px;
  }

  .hero-slide-number {
    display: none;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 430px) {
  .home-hero-carousel {
    height: clamp(700px, calc(100svh - 70px), 780px);
  }

  .hero-slide-container {
    padding-top: 3rem;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    font-size: clamp(2.15rem, 10.5vw, 2.6rem);
  }

  .hero-carousel-indicators button:nth-child(n+3) .hero-indicator-number {
    display: none;
  }
}

@media (max-width: 359.98px) {
  .home-hero-carousel {
    height: 740px;
  }

  .hero-slide-container {
    padding-top: 2.6rem;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    font-size: 2.08rem;
  }

  .hero-slide-lead {
    font-size: 0.88rem;
  }

  .hero-carousel-indicators {
    gap: 0.35rem;
  }

  .hero-carousel-control {
    width: 42px;
    height: 42px;
  }
}

/* Services journey: keep every phase readable as the grid wraps. */
.services-process-section {
  overflow: hidden;
}

.services-process-section .process-step {
  min-width: 0;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .services-process-section .process-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem 1.25rem;
  }

  .services-process-section .process-step {
    grid-column: span 3;
  }

  .services-process-section .process-step:nth-child(5) {
    grid-column: 2 / span 3;
  }

  .services-process-section .process-step:nth-child(6) {
    grid-column: 5 / span 3;
  }

  .services-process-section .process-step:nth-child(7) {
    grid-column: 8 / span 3;
  }

  .services-process-section .process-step:nth-child(4n)::after,
  .services-process-section .process-step:last-child::after {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .services-process-section .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }

  .services-process-section .process-step:last-child {
    grid-column: 1 / -1;
    max-width: calc((100% - 2rem) / 2);
    justify-self: center;
  }

  .services-process-section .process-step:nth-child(2n)::after,
  .services-process-section .process-step:last-child::after {
    display: none;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .services-process-section .process-grid {
    gap: 2.25rem 1.25rem;
  }

  .services-process-section .process-step:last-child {
    grid-column: 1 / -1;
    max-width: calc((100% - 1.25rem) / 2);
    justify-self: center;
  }

  .services-process-section .process-step:nth-child(2n)::after,
  .services-process-section .process-step:last-child::after {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .services-process-section .section-title {
    font-size: clamp(1.85rem, 9vw, 2.15rem);
  }

  .services-process-section .process-grid {
    margin-top: 2.5rem;
    border-left-color: var(--primary);
  }

  .services-process-section .process-step {
    min-height: 132px;
  }

  .services-process-section .process-step:last-child {
    min-height: auto;
  }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .services-process-section .process-icon {
    position: relative;
    z-index: 1;
  }

  .services-process-section .process-step::after {
    position: absolute;
    z-index: 0;
    top: 36px;
    left: 72px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), #bdcec2);
    content: "";
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .services-process-section .process-step::after {
    right: -1.25rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .services-process-section .process-step::after {
    right: -2rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .services-process-section .process-step::after {
    right: -1.25rem;
  }
}
