/*
 * Nurano responsive layer
 * Desktop styles remain in style.css. This file only adapts layouts below
 * the desktop navigation breakpoint.
 */

.site-nav__toggle,
.site-nav__backdrop {
  display: none;
}

@media (max-width: 1279px) {
  html,
  body {
    overflow-x: hidden;
  }

  img,
  video,
  svg {
    max-width: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }

  .container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(20px, 4vw, 40px);
  }

  /* Header and off-canvas navigation */
  header > .container {
    position: relative;
    z-index: 13;
  }

  body.nav-open header::before {
    content: "";
    position: fixed;
    z-index: 12;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: #fff;
  }

  .site-nav.main_nav,
  .site-nav.other_nav {
    min-height: 72px;
    justify-content: space-between;
    gap: 16px;
    padding-block: 11px;
  }

  .site-nav__logo {
    position: relative;
    z-index: 15;
    width: 132px;
    flex: 0 0 132px;
  }

  .site-nav__toggle {
    position: relative;
    z-index: 15;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 12px;
    place-content: center;
    gap: 5px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .site-nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .site-nav__toggle:focus-visible,
  .site-nav__links a:focus-visible,
  .site-nav__actions a:focus-visible,
  .site-nav__actions button:focus-visible {
    outline: 2px solid #806b57;
    outline-offset: 3px;
  }

  .site-nav__panel {
    position: fixed;
    z-index: 14;
    top: 0;
    right: 0;
    display: flex;
    width: min(430px, 100%);
    height: 100dvh;
    padding: 104px 32px 32px;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    overflow-y: auto;
    background: #fff;
    color: #111;
    box-shadow: -16px 0 48px rgb(0 0 0 / 16%);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 16px;
  }

  .site-nav__links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-bottom: 1px solid #e7e7e7;
  }

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .site-nav__actions > a {
    display: flex;
    min-height: 44px;
    align-items: center;
    font-size: 17px;
  }

  .site-nav__actions .get_modal {
    width: 100%;
    min-height: 48px;
    padding-inline: 20px;
  }

  .site-nav__backdrop {
    position: fixed;
    z-index: 11;
    inset: 0;
    display: block;
    border: 0;
    background: rgb(0 0 0 / 46%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  }

  body.nav-open .site-nav__panel {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  body.nav-open .site-nav__backdrop {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  body.nav-open .site-nav__toggle {
    color: #111;
  }

  body.nav-open .site-nav__toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  body.nav-open .site-nav__toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .site-nav__toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  body.nav-open .site-nav__logo img {
    filter: brightness(0);
  }

  header.is-scrolled .site-nav__toggle,
  .other_nav .site-nav__toggle {
    color: #111;
  }

  /* Common page rhythm */
  .home-page h1,
  .home-page h2,
  .static-page h1,
  .static-page h2,
  .fullstory-page h1,
  .fullstory-page h2,
  .inner-page > section h1 {
    overflow-wrap: anywhere;
  }

  .home-page .text-8xl,
  .static-page .text-8xl,
  .fullstory-page .text-8xl {
    font-size: clamp(52px, 7vw, 76px);
    line-height: 1;
  }

  .home-page .text-7xl,
  .static-page .text-7xl,
  .fullstory-page .text-7xl {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.08;
  }

  .home-page .text-6xl,
  .static-page .text-6xl,
  .fullstory-page .text-6xl {
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.1;
  }

  footer > .container > div > .flex {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer > .container > div > .flex > div:last-child {
    grid-column: 1 / -1;
  }

  /* Home */
  .home-benefits > .container > .flex {
    gap: 40px;
  }

  .home-benefits > .container > .flex > div:first-child {
    width: calc(58% - 20px);
  }

  .home-benefits > .container > .flex > div:last-child {
    width: calc(42% - 20px);
  }

  #service_banner {
    height: 650px;
  }

  .home-services .service_card {
    width: 50%;
  }

  .home-products #products_wrapper .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-partners .container > .flex > div {
    width: calc(25% - 15px);
  }

  .home-blog .container > .flex > article {
    width: calc(50% - 20px);
  }

  /* Generic category pages */
  .inner-page > section > .container {
    margin-top: 104px;
  }

  .inner-page .grid-cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inner-page .grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Static: about */
  .static-about > section:nth-of-type(2) > .container > .flex {
    gap: 40px;
  }

  .static-about > section:nth-of-type(2) > .container > .flex > div:first-child,
  .static-about > section:nth-of-type(2) > .container > .flex > div:last-child {
    width: calc(50% - 20px);
  }

  .static-about > section:nth-of-type(2) h1 {
    font-size: clamp(40px, 5vw, 56px);
  }

  .static-about > section:nth-of-type(2) > .container > .flex > div:last-child {
    height: 680px;
  }

  #about_wrapper {
    height: auto;
    min-height: 100svh;
    padding-block: 56px;
  }

  #about_wrapper > .container > .grid {
    margin-left: 0;
  }

  #about_wrapper > .container > .grid > div {
    padding-inline: 20px;
  }

  #about_wrapper .text-\[8rem\] {
    font-size: 6rem;
  }

  .static-about > section:nth-last-of-type(2) > div > div {
    width: 92%;
  }

  /* Static: portfolio */
  .static-portfolio > section > .container > .flex {
    gap: 40px;
  }

  .static-portfolio > section > .container > .flex > div {
    width: calc(50% - 20px);
  }

  /* Fullstory: common */
  .fullstory-page .portfolio_carousel_viewport {
    margin-top: 32px;
  }

  .fullstory-blog > section:first-of-type .h-\[600px\] {
    height: 520px;
  }

  .fullstory-portfolio > section:first-of-type .flex > div:first-child {
    max-width: 32%;
  }

  .fullstory-portfolio > section:first-of-type .h-\[740px\] {
    width: 66%;
    height: 620px;
  }

  .fullstory-portfolio .bg-\[\#F8F7F6\] > div {
    width: min(100% - 64px, 900px);
  }

  .fullstory-service > section:nth-of-type(3) .h-\[900px\] {
    height: 700px;
  }

  .fullstory-service > section:nth-of-type(4) .sticky {
    width: calc(50% - 20px);
  }

  .fullstory-service > section:nth-of-type(4) .about_faq {
    gap: 24px;
  }

  .fullstory-service .about_faq li {
    width: 100%;
    padding-left: 40px;
  }

  /* Feedback */
  .feedback-page > section:nth-of-type(2) .container > .flex {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .feedback-page > section:last-of-type .container > .flex:last-child {
    align-items: flex-start;
    gap: 40px;
  }

  .feedback-page > section:last-of-type .container > .flex:last-child > div:first-child {
    width: calc(38% - 20px);
  }

  .feedback-page > section:last-of-type .container > .flex:last-child > div:last-child {
    width: calc(62% - 20px);
  }

  .feedback-page button {
    padding-inline: 24px;
  }
}

@media (max-width: 767px) {
    .banner_contact_personal {
        display: none;
    }
    .banner_content_wrapper {
        position: absolute;
        bottom: 100px;
    }
  .container {
    padding-inline: 16px;
  }

  .site-nav.main_nav,
  .site-nav.other_nav {
    min-height: 64px;
    padding-block: 8px;
  }

  body.nav-open header::before {
    height: 64px;
  }

  .site-nav__logo {
    width: 112px;
    flex-basis: 112px;
  }

  .site-nav__toggle {
    width: 44px;
    height: 44px;
  }

  .site-nav__panel {
    padding: 88px 20px 24px;
  }

  #livechat_button {
    bottom: 20px;
    left: 16px;
    width: 48px;
    height: 48px;
  }

  #livechat_button svg {
    width: 25px;
  }

  body > .fixed.right-\[10px\] {
    right: -6px;
    bottom: 20px;
    transform: scale(0.75);
    transform-origin: right bottom;
  }

  #fixed_right_phone,
  #right_box {
    display: none;
  }

  .order-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .order-modal__dialog {
    max-height: calc(100dvh - 24px);
    padding: 36px 20px 24px;
    border-radius: 20px;
  }

  /* Reusable mobile typography and spacing */
  .home-page .mt-32,
  .static-page .mt-32,
  .fullstory-page .mt-32,
  .feedback-page .mt-32 {
    margin-top: 80px;
  }

  .home-page .mt-24,
  .static-page .mt-24,
  .fullstory-page .mt-24,
  .feedback-page .mt-24 {
    margin-top: 56px;
  }

  .home-page .mt-12,
  .static-page .mt-12,
  .fullstory-page .mt-12,
  .feedback-page .mt-12 {
    margin-top: 32px;
  }

  .home-page .text-8xl,
  .static-page .text-8xl,
  .fullstory-page .text-8xl {
    font-size: clamp(40px, 12vw, 56px);
  }

  .home-page .text-7xl,
  .static-page .text-7xl,
  .fullstory-page .text-7xl,
  .inner-page .text-7xl {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.08;
  }

  .home-page .text-6xl,
  .static-page .text-6xl,
  .fullstory-page .text-6xl,
  .inner-page .text-\[60px\] {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.1;
  }

  /* Mobile hero shared by home, about and service fullstory */
  .home-hero > .relative,
  .static-about > section:first-of-type > .relative,
  .fullstory-service > section:first-of-type > .relative {
    height: auto;
    min-height: 100svh;
  }

  .home-hero .container > .flex,
  .static-about > section:first-of-type .container > .flex,
  .fullstory-service > section:first-of-type .container > .flex {
    padding-bottom: 24px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 24px;
  }

  .home-hero h1,
  .static-about > section:first-of-type .container > .flex > p,
  .fullstory-service > section:first-of-type h1 {
    width: 100%;
  }

  .home-hero .container > .flex > div,
  .static-about > section:first-of-type .container > .flex > div,
  .fullstory-service > section:first-of-type .container > .flex > div {
    width: 100%;
    margin-right: 0;
  }

  .home-hero .container > .flex > div > .flex > div:first-child,
  .static-about > section:first-of-type .container > .flex > div > .flex > div:first-child,
  .fullstory-service > section:first-of-type .container > .flex > div > .flex > div:first-child {
    width: 80px;
    height: 80px;
  }

  .home-hero .mt-\[35px\],
  .static-about .mt-\[35px\],
  .fullstory-service .mt-\[35px\] {
    margin-top: 20px;
  }

  /* Home sections */
  .home-benefits > .container > .flex {
    flex-direction: column;
    gap: 32px;
  }

  .home-benefits > .container > .flex > div:first-child,
  .home-benefits > .container > .flex > div:last-child {
    width: 100%;
    padding-right: 0;
  }

  .home-benefits .gap-32 {
    gap: 56px;
  }

  .home-benefits button,
  .home-benefits h2 {
    width: 100%;
    margin-left: 0;
  }

  .home-benefits .flex.flex-wrap.gap-4 > div {
    width: 100%;
  }

  .home-benefits > .container > .flex > div:last-child {
    height: min(125vw, 560px);
  }

  .home-benefits .h-\[370px\] {
    height: 420px;
  }

  .home-services > div {
    margin-top: 72px;
  }

  #service_banner {
    height: 600px;
  }

  #service_banner > .flex {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
    padding: 24px 16px;
  }

  #service_banner > .absolute {
      position: relative;
    width: 100%;
  }
  .cover_video {
      height: 60%;
  }
    .video_text {
        text-align: center;
    }
    .banner_content  {
        display: flex;
        align-items:center;
    }
    .banner_content_wrapper {
        gap: 80px !important;
    }
  .home-services .service_card {
    width: 100%;
    height: 320px;
  }

  #products_section {
    height: 78svh;
    min-height: 540px;
  }

  #products_section .text-6xl {
    font-size: 36px;
  }

  #products_section .text-xl {
    padding-inline: 16px;
    font-size: 16px;
  }

  #products_section br {
    display: none;
  }

  .home-products #products_wrapper .grid {
    grid-template-columns: 1fr;
  }

  .home-products .product_card {
    height: 340px;
  }

  .home-portfolio .container,
  .home-partners .container {
    margin-top: 64px;
  }

  #portfolio_wrapper_infinite_carousel {
    gap: 16px;
  }

  #portfolio_wrapper_infinite_carousel a,
  #about_portfolio #portfolio_wrapper_infinite_carousel a {
    height: 440px;
  }

  .home-partners .container > .flex {
    gap: 12px;
  }

  .home-partners .container > .flex > div {
    width: calc(50% - 6px);
    height: 112px;
    border: 1px solid #0001;
    padding: 10px;
  }

  .home-blog .container > .flex {
    gap: 40px;
  }

  .home-blog .container > .flex > article {
    width: 100%;
  }

  .home-blog article .h-\[300px\] {
    height: 280px;
  }

  /* Inner category/list pages */
  .inner-page > section > .container {
    margin-top: 88px;
  }

  .inner-page .grid-cols-5,
  .inner-page .grid-cols-3,
  .inner-page .md\:grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .inner-page > section > .container > .flex.items-center {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .inner-page > section > .container > .flex.items-center > h1,
  .inner-page > section > .container > .flex.items-center > div {
    width: 100%;
  }

  .inner-page .button_portfolio {
    min-width: max-content;
    padding: 12px 16px;
  }

  .inner-page .portfolio-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  /* Static about */
  .static-about > section:nth-of-type(2) > .container > .flex {
    flex-direction: column;
    gap: 40px;
  }

  .static-about > section:nth-of-type(2) > .container > .flex > div:first-child,
  .static-about > section:nth-of-type(2) > .container > .flex > div:last-child {
    width: 100%;
  }

  .static-about > section:nth-of-type(2) h1 {
    font-size: 36px;
  }

  .static-about > section:nth-of-type(2) .ml-\[33\%\],
  .static-about .acc_quest_content p {
    margin-left: 0;
  }

  .static-about > section:nth-of-type(2) .text-\[22px\] {
    font-size: 18px;
  }

  .static-about .acc_quest button {
    margin-left: 16px;
    text-align: left;
  }

  .static-about > section:nth-of-type(2) > .container > .flex > div:last-child {
    height: 520px;
  }

  #about_wrapper {
    margin-top: 64px;
    min-height: 0;
    padding-block: 40px;
  }

  #about_wrapper > .container > .flex {
    flex-direction: column;
    gap: 24px;
  }

  #about_wrapper > .container > .flex > p {
    font-size: 44px;
  }

  #about_wrapper > .container > .flex > div {
    width: 100%;
    margin-top: 0;
    font-size: 18px;
  }

  #about_wrapper > .container > .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #about_wrapper > .container > .grid > div {
    padding: 20px;
  }

  #about_wrapper .mb-\[64px\] {
    margin-bottom: 24px;
  }

  #about_wrapper .text-\[8rem\] {
    font-size: 72px;
  }

  .static-about > section:nth-last-of-type(2) > div {
    min-height: 0;
    padding-block: 64px;
  }

  .static-about > section:nth-last-of-type(2) > div > div {
    width: calc(100% - 32px);
    height: auto;
  }

  .static-about > section:nth-last-of-type(2) > div > div > div {
    width: 100%;
  }

  .static-about > section:nth-last-of-type(2) > div > div > div:first-child {
    padding: 24px 20px;
  }

  .static-about > section:nth-last-of-type(2) > div > div > div:last-child {
    height: 360px;
  }

  .static-about > section:nth-last-of-type(2) .text-\[40px\] {
    margin-bottom: 24px;
    font-size: 30px;
  }

  #about_form button {
    width: 100%;
  }
  .content_top_banner {
      padding-top: 45vh;
  }

  .static-about > section:last-of-type ul,
  .fullstory-page > section:last-of-type ul {
    gap: 20px;
  }

  .static-about > section:last-of-type li,
  .fullstory-page > section:last-of-type li {
    width: 45%;
    font-size: 22px;
  }

  /* Static portfolio */
  .static-portfolio > section > .container > .flex {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .static-portfolio > section > .container > .flex > div {
    width: 100%;
    margin-top: 0;
  }

  .static-portfolio h1 {
    margin-block: 24px 32px;
    font-size: 42px;
  }

  .static-portfolio a[class*="px-32"] {
    width: 100%;
    padding-inline: 16px;
    text-align: center;
  }

  /* Fullstory: blog */
  .fullstory-blog > section:first-of-type .md\:max-w-\[800px\] {
    max-width: 100%;
  }

  .fullstory-blog > section:first-of-type h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  .fullstory-blog > section:first-of-type .h-\[600px\] {
    height: 62vw;
    min-height: 260px;
    max-height: 440px;
  }

  .fullstory-blog .full_content_blog {
    line-height: 1.75;
  }

  .fullstory-blog > section:nth-of-type(2) .grid {
    grid-template-columns: 1fr;
  }

  .fullstory-blog > section:nth-of-type(2) a[class*="px-24"] {
    width: 100%;
    padding-inline: 16px;
    text-align: center;
  }

  /* Fullstory: portfolio */
  .fullstory-portfolio > section:first-of-type > .container {
    margin-top: 88px;
  }

  .fullstory-portfolio > section:first-of-type h1 {
    font-size: 36px;
    line-height: 1.15;
  }

  .fullstory-portfolio > section:first-of-type .flex {
    flex-direction: column;
    gap: 24px;
  }

  .fullstory-portfolio > section:first-of-type .flex > div:first-child {
    max-width: none;
    font-size: 18px;
  }

  .fullstory-portfolio > section:first-of-type .h-\[740px\] {
    width: 100%;
    height: 115vw;
    max-height: 620px;
  }

  .fullstory-portfolio .bg-\[\#F8F7F6\] {
    padding-block: 40px;
  }

  .fullstory-portfolio .bg-\[\#F8F7F6\] > div {
    width: calc(100% - 32px);
    font-size: 18px;
  }

  /* Fullstory: service */
  .fullstory-service .breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
  }

  .fullstory-service > section:nth-of-type(3) > .container > .flex {
    flex-direction: column;
    gap: 24px;
    margin-top: 56px;
  }

  .fullstory-service > section:nth-of-type(3) > .container > .flex > div {
    width: 100%;
    font-size: 18px;
    line-height: 1.6;
  }

  .fullstory-service > section:nth-of-type(3) .h-\[900px\] {
    height: 110vw;
    min-height: 400px;
    max-height: 620px;
  }

  .fullstory-service > section:nth-of-type(4) h2,
  .fullstory-service > section:nth-of-type(5) h2 {
    width: 100%;
    font-size: 34px;
    line-height: 1.2;
  }

  .fullstory-service > section:nth-of-type(4) > .container > .flex {
    flex-direction: column;
    gap: 40px;
  }

  .fullstory-service > section:nth-of-type(4) .sticky {
    position: static;
    width: 100%;
    height: 110vw;
    max-height: 520px;
  }

  .fullstory-service > section:nth-of-type(4) .flex > div:last-child {
    width: 100%;
  }

  .fullstory-service .about_faq {
    padding-left: 24px;
  }

  .fullstory-service .about_faq li {
    padding-left: 8px;
    font-size: 16px;
  }

  .fullstory-service > section:nth-of-type(4) a {
    width: 100%;
    margin-top: 30px;
    margin-left: 0;
    padding: 12px 16px;
    text-align: center;
  }

  .fullstory-service > section:nth-of-type(5) .flex > div {
    width: 100%;
  }

  .fullstory-service > section:nth-of-type(6) .flex {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .fullstory-service > section:nth-of-type(6) a {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
  }

  /* Feedback */
  .feedback-page > .mt-32 {
    margin-top: 88px;
  }

  .feedback-page > section:nth-of-type(2) h1,
  .feedback-page > section:last-of-type h2 {
    margin-top: 48px;
    font-size: 32px;
  }

  .feedback-page > section:nth-of-type(2) .container > .flex {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feedback-page > section:last-of-type .container > .flex:nth-of-type(1) {
    gap: 12px;
  }

  .feedback-page > section:last-of-type .container > .flex:nth-of-type(1) a {
    width: 100%;
  }

  .feedback-page > section:last-of-type .container > .flex:last-child {
    flex-direction: column;
    gap: 32px;
  }

  .feedback-page > section:last-of-type .container > .flex:last-child > div:first-child,
  .feedback-page > section:last-of-type .container > .flex:last-child > div:last-child {
    width: 100%;
  }

  .feedback-page > section:last-of-type .container > .flex:last-child > div:last-child > .flex {
    flex-direction: column;
  }

  .feedback-page input,
  .feedback-page button {
    width: 100%;
    min-height: 48px;
    padding-inline: 16px;
  }

  .feedback-page .confid {
    align-items: flex-start;
  }

  .feedback-page .confid p {
    width: calc(100% - 32px);
  }

  /* Footer */
  footer > .container > div > .flex {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about_top_content {
      padding-top: 50vh;
  }

  footer > .container > div > .flex > div:last-child {
    grid-column: auto;
  }

  footer button.get_modal {
    width: 132px;
    height: 132px;
  }
}

@media (max-width: 359px) {
  .container {
    padding-inline: 12px;
  }

  .site-nav__panel {
    padding-inline: 16px;
  }

  #service_banner > .flex {
    grid-template-columns: 1fr;
  }

  #service_banner {
    height: 680px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__panel,
  .site-nav__backdrop,
  .site-nav__toggle span {
    transition-duration: 0.01ms;
  }
}
