/* demo8 responsive layer — kept last so desktop styling remains unchanged. */

.topbar-mobile-contact { display: none; }

@media (max-width: 1240px) {
  html,
  body { overflow-x: hidden; }
  .desktop-nav { display: none; }
  .header-quote { display: none; }
  .menu-toggle { display: grid; }
  .mobile-menu {
    right: 0;
    width: min(420px, 100vw);
    padding: 34px 40px 44px;
    color: #173d31;
    border-left: 1px solid #edf1ee;
    background: #fff;
    box-shadow: -20px 0 55px rgba(5, 42, 31, .16);
    transform: translateX(102%);
    transition: transform .42s cubic-bezier(.22, .61, .36, 1);
  }

  .mobile-menu.is-open { transform: translateX(0); }
  .mobile-menu-head { min-height: 56px; padding: 0 0 24px; border-bottom: 0; }
  .mobile-menu-head img {
    width: 174px;
    height: 54px;
    object-fit: contain;
    object-position: left center;
    filter: none;
  }
  .menu-close {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #e44d43;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 300;
  }
  .mobile-menu nav { padding: 10px 0 0; }
  .mobile-menu nav > ul > li { border-bottom: 1px solid #edf0ee; }
  .mobile-menu nav > ul > li > a,
  .mobile-has-children > div > a {
    min-height: 50px;
    padding: 14px 0;
    color: #4c5d57;
    font-size: 16px;
    font-weight: 560;
    line-height: 1.35;
  }
  .mobile-menu a.active { color: #43c879; }
  .mobile-has-children > div { min-height: 50px; }
  .mobile-has-children button {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    color: #52645e;
    border-left: 1px solid #edf0ee;
    background: #fafbfa;
  }
  .mobile-has-children button i { font-size: 13px; transition: transform .25s ease; }
  .mobile-has-children.is-open button i { transform: rotate(180deg); }
  .mobile-has-children ul { padding: 2px 0 12px 18px; border-top: 1px solid #f2f4f2; }
  .mobile-has-children li a { padding: 9px 0; color: #7b8984; font-size: 14px; }
  .mobile-menu-contact { display: none; }
  .menu-backdrop { background: rgba(3, 31, 23, .48); }
  .menu-toggle {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
  }
  .menu-toggle span { display: none; }
  .menu-toggle::before {
    width: 7px;
    height: 7px;
    border: 1.5px solid #173d31;
    content: '';
    box-shadow: 11px 0 0 -1.5px #fff, 11px 0 0 0 #173d31,
                0 11px 0 -1.5px #fff, 0 11px 0 0 #173d31,
                11px 11px 0 -1.5px #fff, 11px 11px 0 0 #173d31;
    transform: translate(-5.5px, -5.5px);
  }

  .home-page .section-head h2,
  .home-page .solution-heading h2,
  .home-page .intro-copy h2 {
    font-size: clamp(38px, 5.2vw, 52px);
    line-height: 1.08;
  }
  .home-page .collection-section .section-head,
  .home-page .service-head,
  .home-page .project-gallery .section-head { align-items: flex-start; gap: 24px; }
  .home-page .service-showcase-body { gap: 30px; }
  .home-page .intro-grid { gap: 52px; }
  .home-page .project-swiper { width: calc(100% - 48px); }
}

@media (max-width: 768px) {
  .container { width: 100%; padding-right: 20px; padding-left: 20px; }
  .section-space { padding-top: 76px; padding-bottom: 76px; }
  .section-head { align-items: flex-start; gap: 22px; }
  .section-head h2,
  .center-head h2,
  .intro-copy h2 { font-size: clamp(34px, 6.2vw, 46px); line-height: 1.08; }
  .nav-inner { min-height: 76px; }
  .site-logo { width: 148px; height: 58px; }
  .category-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }
  .category-layout > *,
  .category-layout > div,
  .category-side,
  .product-grid.two-col { min-width: 0; width: 100%; }
  .product-grid.two-col { grid-template-columns: minmax(0, 1fr); }

  .home-page .collection-section,
  .home-page .home-solutions,
  .home-page .intro-section,
  .home-page .news-section { padding-top: 82px; padding-bottom: 82px; }
  .home-page .services-section,
  .home-page .project-gallery { padding-top: 92px; padding-bottom: 92px; }
  .home-page .section-head,
  .home-page .solution-heading { margin-bottom: 36px; }
  .home-page .collection-section .section-head,
  .home-page .service-head,
  .home-page .project-gallery .section-head { padding-right: 0; padding-left: 0; }
  .home-page .collection-tabs { margin-top: 0; }
  .home-page .service-showcase-body { gap: 24px; }
  .home-page .service-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-page .service-tabs::-webkit-scrollbar { display: none; }
  .home-page .service-tabs button {
    min-width: 225px;
    min-height: 82px;
    scroll-snap-align: start;
    border-right: 1px solid rgba(255, 255, 255, .14);
  }
  .home-page .service-panel { min-height: 480px; }
  .home-page .solution-story-card { min-height: 0; }
  .home-page .project-swiper { width: calc(100% - 40px); }
  .home-page .project-feature { height: 450px; }
  .home-page .intro-collage { min-height: 420px; }
  .home-page .intro-large { height: 390px; }
  .home-page .intro-small { height: 205px; }
  .home-page .home-proof-strip { padding-top: 68px; padding-bottom: 84px; }
  .home-page .home-proof-item,
  .home-page .home-proof-item:nth-child(even) { min-height: 190px; transform: none; }
  .home-page .home-media-story { height: 430px; }
  .home-page .news-section { padding-bottom: 190px; }
  .home-page .footer-grid { gap: 36px 28px; }
}

@media (max-width: 520px) {
  .topbar,
  body.home-page .topbar {
    width: 100%;
    height: 106px;
    min-height: 106px;
  }
  .topbar-inner,
  body.home-page .topbar-inner {
    height: 106px;
    min-height: 106px;
    justify-content: center;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .topbar-contact { flex-direction: column; align-items: center; gap: 5px; }
  .topbar-contact a { font-size: 13px; line-height: 1.25; }
  .topbar-contact a:first-child { display: inline-flex; }
  .topbar-social { display: flex; align-items: center; justify-content: center; gap: 7px; }
  .topbar-social > span { display: none; }
  .topbar-social a { width: 25px; height: 25px; }
  .topbar-social a i { font-size: 11px; }
  .nav-bar,
  .nav-inner,
  body.home-page .nav-bar,
  body.home-page .nav-inner {
    height: 70px;
    min-height: 70px;
  }
  .site-logo { width: 138px; height: 52px; }
  .nav-actions { gap: 8px; margin-left: auto; }
  .search-open { width: 42px; height: 42px; min-height: 42px; }
  .mobile-menu { width: 100vw; padding: 30px 38px 40px; border-left: 0; }
  .mobile-menu-head img { width: 168px; }

  .inner-hero { height: 500px; min-height: 500px; }
  .inner-hero-content {
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    padding-right: 24px;
    padding-left: 24px;
    transform: none;
  }
  .inner-hero-content h1,
  .inner-hero-content .hero-title {
    max-width: 330px;
    font-size: 40px;
    line-height: 1.05;
  }
  .inner-hero-content .hero-copy { max-width: 330px; font-size: 14px; line-height: 1.6; }
  .category-layout { gap: 38px; }
  .category-side { border-radius: 18px; }

  body.home-page .hero-section,
  body.home-page .hero-swiper,
  body.home-page .hero-slide,
  body.home-page .hero-slide .hero-content {
    width: 100%;
  }
  body.home-page .hero-section { margin: 0; }
  .home-page .hero-swiper,
  .home-page .hero-slide { border-radius: 0 0 24px 24px; }
  .home-page .hero-slide > img { object-position: 56% center; }
  body.home-page .hero-slide .hero-content {
    inset: 0;
    max-width: none;
    transform: none;
  }
  .home-page .hero-kicker {
    display: inline-flex;
    width: auto;
    max-width: 320px;
    min-height: 29px;
    margin: 0 auto 24px;
    padding: 7px 15px;
    color: #fff;
    border-radius: 999px;
    background: #43c879;
    font-size: 10px;
    letter-spacing: .08em;
  }
  .home-page .hero-kicker::before { display: none; }
  .home-page .hero-content .hero-title,
  .home-page .hero-content .hero-title-alt {
    max-width: 342px;
    margin: 0 auto;
    font-size: clamp(40px, 11.2vw, 44px);
    line-height: 1.03;
  }
  .home-page .hero-copy,
  .home-page .hero-content > .btn { display: none; }
  .home-page .hero-round-link { bottom: -62px; width: 124px; height: 124px; border-width: 7px; }
  .home-page .hero-round-link .hero-round-image { width: 64px; height: 64px; }
  .home-page .hero-round-image img { width: 40px; height: 40px; }
  .home-page .collection-section { padding-top: 122px; }
  .home-page .section-head h2,
  .home-page .solution-heading h2,
  .home-page .intro-copy h2,
  .home-page .project-gallery .section-head h2 { font-size: 34px; line-height: 1.08; }
  .home-page .collection-section .section-head,
  .home-page .service-head,
  .home-page .project-gallery .section-head { gap: 18px; }
  .home-page .collection-section .section-head p { font-size: 15px; line-height: 1.65; }
  .home-page .collection-actions .btn,
  .home-page .service-head .btn,
  .home-page .project-gallery .gallery-actions .btn-outline,
  .home-page .news-section .section-head > .btn {
    min-width: 158px;
    min-height: 52px;
    padding-right: 22px;
    padding-left: 22px;
  }
  .home-page .collection-tabs { height: 58px; border-radius: 8px; }
  .home-page .collection-tabs button {
    min-width: 112px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
  }
  .home-page .product-swiper { padding-right: 4px; padding-left: 4px; }
  .home-page .product-card { min-height: 0; }
  .home-page .service-showcase { padding-bottom: 82px; }
  .home-page .service-tabs button { min-width: 205px; min-height: 78px; }
  body.home-page .service-tabs {
    height: 78px;
    min-height: 78px;
    align-items: stretch;
  }
  body.home-page .service-tabs button,
  body.home-page .service-tabs button.active {
    width: 205px;
    min-width: 205px;
    height: 78px;
    min-height: 78px;
    flex: 0 0 205px;
  }
  .home-page .service-tabs small { font-size: 21px; }
  .home-page .service-panel { min-height: 430px; border-radius: 14px; }
  .home-page .service-panel-copy { right: 22px; bottom: 22px; left: 22px; }
  .home-page .service-panel-copy h3 { font-size: 29px; }
  .home-page .home-solutions { padding-top: 76px; padding-bottom: 76px; }
  .home-page .solution-story-card > a { height: 275px; }
  .home-page .solution-story-card > div { padding: 24px 22px 26px; }
  .home-page .project-gallery { padding-top: 82px; padding-bottom: 80px; }
  .home-page .project-feature { height: 430px; }
  body.home-page .project-swiper .swiper-slide { width: 100%; }
  .home-page .project-feature-copy {
    right: 0;
    left: 0;
    min-height: 112px;
    padding: 22px 62px 20px 20px;
  }
  .home-page .intro-section { padding-top: 78px; padding-bottom: 78px; }
  .home-page .intro-grid { gap: 42px; }
  .home-page .intro-collage { min-height: 350px; }
  .home-page .intro-large { width: 88%; height: 320px; border-radius: 0 74px 74px 74px; }
  .home-page .intro-small {
    width: 52%;
    height: 174px;
    border-width: 7px;
    border-radius: 54px 0 54px 0;
  }
  .home-page .intro-description { font-size: 15px; line-height: 1.7; }
  .home-page .intro-points { gap: 10px; }
  .home-page .home-proof-strip { padding-top: 62px; padding-bottom: 68px; }
  .home-page .home-proof-strip > .home-proof-grid { width: calc(100% - 40px); gap: 14px; }
  .home-page .home-proof-item,
  .home-page .home-proof-item:nth-child(even) {
    min-height: 158px;
    padding: 24px 22px;
    border-radius: 18px;
  }
  .home-page .home-proof-value { padding-bottom: 18px; }
  .home-page .home-proof-item strong { font-size: 38px; }
  .home-page .home-proof-item > span { margin-top: 16px; font-size: 12px; }
  .home-page .home-proof-item > span b { font-size: 17px; }
  .home-page .home-media-story { width: calc(100% - 28px); height: 390px; border-radius: 18px; }
  .home-page .home-media-content { padding-right: 24px; padding-left: 24px; }
  .home-page .home-media-content h2 { font-size: 34px; }
  .home-page .news-section { padding-top: 78px; padding-bottom: 178px; }
  .home-page .news-section .section-head { gap: 20px; }
  .home-page .news-card-image { height: 240px; }
  .home-page .news-card-body { padding: 24px 22px 22px; }
  .home-page .site-footer { margin-top: 0; }
  .home-page .newsletter-card {
    width: calc(100vw - 28px);
    min-height: 420px;
    padding-top: 142px;
    border-radius: 22px;
  }
  .home-page .newsletter-visual { top: -104px; height: 246px; }
  .home-page .newsletter-visual img { height: 270px; }
  .home-page .newsletter-content { padding: 14px 20px 26px; }
  .home-page .newsletter-card .newsletter-title { margin-bottom: 18px; font-size: 28px; }
  .home-page .footer-grid { gap: 34px; padding-top: 18px; padding-bottom: 44px; }
}

@media (max-width: 360px) {
  .topbar-inner { min-height: 100px; }
  .site-logo { width: 124px; }
  .mobile-menu { padding-right: 28px; padding-left: 28px; }
  .home-page .hero-content { padding-right: 20px; padding-left: 20px; }
  .home-page .hero-content .hero-title,
  .home-page .hero-content .hero-title-alt { font-size: 38px; }
  .home-page .section-head h2,
  .home-page .solution-heading h2,
  .home-page .intro-copy h2,
  .home-page .project-gallery .section-head h2 { font-size: 31px; }
}

/* demo8.docx mobile corrections v43 */
@media (max-width: 1240px) {
  .mobile-has-children ul { display: none; }
  .mobile-has-children.is-open > ul { display: block; }
  .mobile-has-children button i { transform: none; }
  .mobile-has-children.is-open > div > button i { transform: rotate(180deg); }
  .mobile-subgroup { border-top: 1px solid #f0f3f1; }
  .mobile-subgroup > div > a {
    display: block;
    min-height: 44px;
    flex: 1;
    padding: 11px 0;
    color: #71817b;
    font-size: 14px;
  }
  .mobile-subgroup > div > button {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .mobile-subgroup > ul {
    margin-left: 8px;
    padding: 3px 0 9px 16px;
    border-top: 1px solid #f4f6f4;
    border-left: 1px solid #dfe7e2;
  }
  .mobile-subgroup > ul a { padding: 7px 0; font-size: 13px; }
}

@media (max-width: 520px) {
  .topbar,
  body.home-page .topbar,
  .topbar-inner,
  body.home-page .topbar-inner {
    height: 46px;
    min-height: 46px;
  }
  
  .topbar-inner,
  body.home-page .topbar-inner {
    padding: 0 14px;
    flex-direction: row;
  }
  .topbar-contact,
  .topbar-social { display: none; }
  .topbar-mobile-contact {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 18px;
    white-space: nowrap;
  }
  .topbar-mobile-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.9);
    font-size: 12px;
  }
  .topbar-mobile-contact i { color: #43c879; font-size: 13px; }

  .search-overlay {
    position: fixed;
    top: 112px;
    right: 16px;
    bottom: auto;
    left: auto;
    display: block;
    width: min(322px, calc(100vw - 32px));
    height: auto;
    padding: 0;
    background: transparent;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .24s ease, visibility .24s ease, transform .24s ease;
  }
  .site-header.is-sticky .search-overlay { top: 76px; }
  .search-overlay.is-open { pointer-events: auto; transform: translateY(0); }
  .search-overlay-inner {
    width: 100%;
  }
  .search-label,
  .search-close { display: none; }
  .search-overlay-form {
    align-items: center;
    background: #f6f8f6;
  }
  .search-overlay-form input,
  .search-overlay-form input:focus,
  .search-overlay-form input:focus-visible {
    min-width: 0;
    padding: 0 14px;
    color: #173d31;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
  }
  .search-overlay-form input::placeholder { color: #87958f; opacity: 1; }
  .search-overlay-form button { height: 52px; color: #173d31; font-size: 18px; }

  body.home-page .hero-section,
  body.home-page .hero-swiper,
  body.home-page .hero-slide,
  body.home-page .hero-slide .hero-content {
    height: 590px;
    min-height: 590px;
  }
  body.home-page .hero-slide .hero-content { padding: 44px 24px 84px; }
  body.home-page .hero-content .hero-title,
  body.home-page .hero-content .hero-title-alt { font-size: 40px; line-height: 1.04; }
  body.home-page .hero-copy {
    display: block;
    max-width: 330px;
    margin: 18px auto 24px;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    line-height: 1.58;
    text-align: center;
  }
  body.home-page .hero-content > .btn {
    display: inline-flex;
    min-width: 182px;
    min-height: 52px;
    margin: 0 auto;
  }

  
  body.home-page .service-panel-shade {
    background: linear-gradient(180deg, rgba(5,35,26,.08) 24%, rgba(5,35,26,.94) 78%);
  }
  body.home-page .service-panel-copy {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }
  body.home-page .service-panel-copy > span,
  body.home-page .service-panel-copy h3,
  body.home-page .service-panel-copy p { display: block; }
  body.home-page .service-panel-copy > span { margin-bottom: 10px; font-size: 10px; }
  body.home-page .service-panel-copy h3 { margin-bottom: 12px; font-size: 26px; line-height: 1.08; }
  body.home-page .service-panel-copy p { margin-bottom: 18px; font-size: 13px; line-height: 1.55; }
  body.home-page .service-panel-copy .btn { min-height: 52px; }

  body.home-page .project-gallery > .project-swiper {
    width: calc(100% - 40px);
    padding-right: 0;
    padding-left: 0;
    overflow: hidden;
  }
  body.home-page .project-gallery > .project-swiper .swiper-wrapper,
  body.home-page .project-gallery > .project-swiper .swiper-slide { width: 100%; }

  body.home-page .news-section { padding-bottom: 82px; }
  .site-footer,
  body.home-page .site-footer { margin-top: 0; padding-top: 22px; }
  .newsletter-card,
  body.home-page .newsletter-card {
    left: 50%;
    display: block;
    width: calc(100vw - 32px);
    min-height: 0;
    margin-bottom: 34px;
    padding: 0;
    overflow: hidden;
    transform: translateX(-50%);
  }
  .newsletter-visual,
  body.home-page .newsletter-visual { display: none; }
  .newsletter-content,
  body.home-page .newsletter-content { padding: 36px 20px 28px; text-align: center; }
  .newsletter-card .footer-kicker,
  body.home-page .newsletter-card .footer-kicker { margin-bottom: 9px; }
  .newsletter-card .newsletter-title,
  body.home-page .newsletter-card .newsletter-title { margin-bottom: 22px; font-size: 28px; line-height: 1.12; }
  .newsletter-card form,
  body.home-page .newsletter-card form { margin: 0; }

  .footer-grid > .footer-col:not(.footer-contact) { display: none; }
  .footer-grid,
  body.home-page .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* demo8.docx mobile corrections v45 */
.collection-actions .btn,
.collection-actions .btn span,
.collection-actions .btn i {
  color: #fff;
}

@media (max-width: 520px) {
  .topbar,
  body.home-page .topbar {
    border-radius: 0 0 8px 8px;
  }

  .search-overlay-inner {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: 0 18px 45px rgba(4, 37, 27, .18);
  }
  .search-overlay-form {
    display: flex;
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .search-overlay-form input { width: calc(100% - 52px); }
  .search-overlay-form button { flex: 0 0 52px; width: 52px; }

  body.home-page .hero-slide .hero-content {
    justify-content: center;
  }
  body.home-page .hero-kicker { display: none; }

  body.home-page .service-panel-copy {
    top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }
  body.home-page .service-panel-copy > span { display: none; }
  body.home-page .service-panel-copy h3,
  body.home-page .service-panel-copy p,
  body.home-page .service-panel-copy .btn {
    position: static;
    inset: auto;
    transform: none;
  }
  body.home-page .service-panel-copy p { width: 100%; }
  body.home-page .service-panel-copy .btn { align-self: flex-start; }

  body.home-page .product-swiper {
    width: calc(100% + 32px);
    margin-left: -16px;
    padding: 16px 20px 58px;
    overflow: hidden;
  }
  body.home-page .product-swiper .product-card {
    box-shadow: 0 14px 20px rgba(5, 47, 34, .10);
  }

  body.home-page .service-panel {
    height: 500px;
    min-height: 500px;
  }

  body.home-page .news-card-image {
    position: relative;
    height: auto;
  }
  body.home-page .news-card-image > a:first-child,
  body.home-page .news-card-image img {
    display: block;
    width: 100%;
    height: auto;
  }
  body.home-page .news-category {
    top: auto;
    bottom: -16px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-height: 32px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
  }

  .newsletter-card .footer-kicker,
  body.home-page .newsletter-card .footer-kicker { display: none; }
}
