/*
  Minimal, non-destructive responsive layer
  Existing desktop styles stay intact.
  This file only overrides layout at narrower widths.
*/

:root{
  --mobile-gutter: 20px;
}

img,
video,
svg{
  max-width: 100%;
}

html,
body{
  overflow-x: hidden;
}

body.menu-open{
  overflow: hidden;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1200px){
  #mainHeader{
    height: 100px;
    padding: 0 24px;
  }

  .nav-container{
    max-width: 100%;
    gap: 18px;
  }

  .nav-links{
    gap: 18px;
    padding: 10px 20px;
  }

  .nav-cta{
    padding: 12px 22px;
    font-size: 13px;
  }

  .main-title{
    font-size: clamp(52px, 7vw, 72px);
    line-height: 1.05;
    padding: 0 24px;
  }

  .floating-card span{
    font-size: 18px;
  }

  .divorta{
    border-radius: 40px;
    padding: 80px 0;
  }

  .contact-cta_panel{
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-cta_formCard{
    width: calc(100% - 48px);
    margin: 0 24px 24px;
  }
}

/* =========================
   MOBILE / TABLET DOWN
========================= */
@media (max-width: 991px){

  body{
    background: #010409;
    position: relative;
  }

  body.is-mobile-layout{
    overflow-x: hidden;
  }

  /* ---------- HEADER ---------- */
  #mainHeader{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: auto !important;
    padding: 14px 16px;
    background: rgba(1, 4, 9, 0.88) !important;
    backdrop-filter: blur(18px);
    box-sizing: border-box;
    overflow: visible;
    z-index: 1000;
  }

  .nav-container{
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    z-index: 20;
  }

  .menu-toggle{
    grid-column: 1;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
  }

  .menu-toggle span{
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: #fff;
    transition: .3s ease;
  }

  .menu-toggle.is-active span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2){
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand-logo{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    justify-self: center;
    z-index: 2;
  }

  .brand-logo:hover{
    transform: translateX(-50%);
  }

  .brand-logo img,
  #logoImg{
    height: 40px !important;
    width: auto;
    display: block;
  }

  .nav-links{
    display: none !important;
  }

  .nav-cta{
    grid-column: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    z-index: 3;
  }

  .mobile-menu{
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    width: auto;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1001;
    transition: max-height .35s ease, opacity .35s ease, padding .35s ease;
  }

  .mobile-menu.is-open{
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    background-color: #000;
    border-radius: 20px;
  }

  .mobile-menu a{
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
  }

  /* ---------- HERO / SCENE ---------- */
  .scroll-space{
    display: none !important;
  }

  .scene,
  .main-wrapper,
  .bg-wrap,
  .divAtmosfer,
  .divorta,
  .section-requires,
  .contact-cta,
  .site-footer{
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .scene{
    position: relative !important;
    inset: auto !important;
    min-height: auto !important;
    height: auto !important;
    padding-top: 92px;
    overflow: hidden;
  }

  .hero-fixed-layer{
    position: absolute;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    padding: 10% 0;
    text-align: center;
    align-items: center;
    pointer-events: auto;
  }

  .badge{
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 14px;
    padding: 9px 16px;
    font-size: 10px;
    letter-spacing: 1px;
    text-align: center;
  }

  .main-title{
    opacity: 1 !important;
    transform: none !important;
    font-size: clamp(34px, 9vw, 48px) !important;
    line-height: 1.05;
    text-align: center;
    padding: 0 16px;
  }

  .main-title br{
    display: none;
  }

  .main-wrapper{
    position: relative !important;
    inset: auto !important;
    min-height: auto;
  }

  .bg-wrap{
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    height: 48vh;
    min-height: 320px;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .bg-video{
    display: none !important;
  }

  .bg-mobile-image{
    display: block !important;
    width: 100%;
    height: 100%;
  }

  .bg-mobile-image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
  }

  .svg-wrap,
  #rocket-group,
  #mist-ball,
  #card,
  #card1,
  #card2,
  #card3,
  .scroll-indicator,
  #centerOverlay{
    display: none !important;
  }

  /* ---------- ATMOSFER ---------- */
  .divAtmosfer{
    padding: 56px 20px 24px;
    margin-top: 0;
    opacity: 1 !important;
    transform: none !important;
    line-height: 1.3;
    font-size: 16px;
    min-height: auto;
  }

  .divAtmosfer .atmosMask{
    opacity: 1;
    filter: none;
  }

  .divAtmosfer h2,
  .divAtmosfer p{
    width: 100%;
    max-width: 100%;
  }

  .divAtmosfer h2 span{
    font-size: 20px !important;
  }

  /* ---------- DIVORTA ---------- */
  .divorta{
    margin-top: 24px;
    min-height: auto;
    padding: 36px 0 28px;
    border-radius: 28px;
    transform: none !important;
    opacity: 1 !important;
    overflow: hidden;
  }

  .divorta-title{
    padding: 0 20px;
    font-size: 16px;
    letter-spacing: -1px;
  }

  .divorta-title h1{
    font-size: clamp(30px, 7vw, 42px);
    line-height: 1.04;
  }

  .divorta-title h2{
    font-size: 16px;
    line-height: 1.45;
  }

  .divorta-title h2 br{
    display: none;
  }

  .divorta_alt{
    width: auto !important;
    max-width: 100%;
    margin-top: 24px;
    padding: 0 20px 10px;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    will-change: auto;
    transform: none !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .divorta_alt::-webkit-scrollbar{
    display: none;
  }

  .divorta_alt > div{
    margin-right: 0;
    height: auto;
    scroll-snap-align: start;
  }

  .divortaico{
    width: 84px;
    float: none;
    margin-left: auto;
    margin-bottom: -20%;
  }

  .divorta_alt p{
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: -.2px;
  }

  .divorta_alt span{
    font-size: 20px;
    margin-bottom: 0;
  }

  .divOrtaTumu{
    margin-top: 20px;
    padding: 0 16px;
  }

  /* ---------- REQUIRES ---------- */
  .section-requires{
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    padding: 60px 20px 20px;
    background-image: none;
    background-position: center top;
    background-size: 140%;
  }

  .section-requires .container{
    width: 100%;
  }

  .circle-container{
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    background-image: none !important;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 24px 20px;
    opacity: 1 !important;
    transform: none !important;
  }

  .require-circle-title,
  .cicrcle-text{
    width: 100%;
  }

  .require-circle-title{
    margin: 0 0 12px;
    font-size: 26px;
  }

  .cicrcle-text{
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .result-btn{
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 0;
  }

  .first-link-list,
  .second-link-list,
  .under-marker-container,
  .dm-item,
  .seo-item,
  .geo-item,
  .sm-item,
  .data-item,
  .cm-item,
  .paid-container{
    position: static !important;
  }

  .first-link-list,
  .second-link-list{
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 14px;
  }

  .google-item,
  .post-item,
  .discord-item,
  .dm-item,
  .seo-item,
  .geo-item,
  .sm-item,
  .data-item,
  .cm-item,
  .paid-container{
    width: 100% !important;
    height: auto !important;
    min-height: 84px;
    border-radius: 18px;
    padding: 14px;
  }

  .paid-container{
    display: none;
  }

  .orbit-item{
    display: flex;
    gap: 10px;
    justify-content: center;
    text-align: center;
  }

  .orbit-item span,
  .organic-text{
    position: relative;
    opacity: 1;
    right: 0;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    text-align: right;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.35;
  }

  .under-marker-container{
    border: 0;
    background: none;
    backdrop-filter: none;
    padding: 0;
  }

  .under-marker-text{
    font-size: 14px;
  }

  .pin-buffer,
  .atmos-pin-buffer{
    display: none;
  }

  /* ---------- TESTIMONIALS ---------- */
  .testimonials-slider{
    position: relative;
    overflow: hidden;
    padding: 40px 16px;
  }

  /* ---------- FOOTER ---------- */
  .contact-cta{
    margin-top: 0;
    padding: 56px 0 20px;
  }

  .contact-cta_inner,
  .site-footer_inner,
  .site-footer_bottom{
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
    display: block;
  }
.site-footer_menu, .site-footer_logo {display:none}
  .contact-cta_left{
    padding: 34px 24px 20px;
  }

  .contact-cta_left h2{
    font-size: clamp(28px, 7vw, 38px);
  }

  .contact-cta_stats{
    gap: 20px;
    margin-top: 28px;
  }

  .contact-cta_formCard{
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 28px 20px 24px;
    border-radius: 24px;
  }

  .site-footer{
    background-size: 90%;
    overflow: hidden;
  }

  .site-footer_inner,
  .site-footer_right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .site-footer_socials{
    gap: 16px 22px;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 640px){
  :root{
    --mobile-gutter: 16px;
  }

  #mainHeader{
    padding: 12px 12px;
    height: 74px;
  }

  .nav-container{
    grid-template-columns: 42px 1fr auto;
    gap: 8px;
  }

  .brand-logo img,
  #logoImg{
    height: 34px !important;
  }

  .nav-cta{
    padding: 9px 12px;
    font-size: 10px;
  }

  .scene{
    padding-top: 88px;
  }

  .main-title{
    font-size: clamp(34px, 10vw, 46px);
  }

  .divAtmosfer{
    padding-top: 52px;
  }

  .divorta_alt{
    grid-template-columns: 1fr;
  }

  .first-link-list,
  .second-link-list{
    grid-template-columns: 1fr;
  }

  .require-circle-title{
    font-size: 24px;
  }

  .cicrcle-text{
    font-size: 15px;
  }

  .contact-cta_stats{
    grid-template-columns: 1fr 1fr;
  }

  .site-footer_bottom{
    gap: 12px;
  }

  .section-requires .container {padding: 0;}

  .contact-cta_left {
    padding: 30px 15px 20px;
  }

  .contact-cta_left h2 {
    font-size: clamp(18px, 4vw, 30px);
  }

  .contact-cta_stat span {
    font-size: clamp(18px, 2vw, 58px);
  }

  .contact-cta_stat small {font-size: 10px;}
  .contact-cta_formCard {width: 95%;margin: 10px auto;}
}