html, body{
    margin:0;
    padding:0;
    height:100%;
  }

  body{
    background:#000;
    overflow-x:hidden;
    font-family:Helvetica, Arial, sans-serif;
  }

  .section-inner{
    position:relative;
    z-index:2;
    max-width:1600px;
    margin:0 auto;
    padding:0 4vw;
  }

  .home-hero{
    position:relative;
    width:100vw;
    min-height:100vh;
    margin-left:calc(50% - 50vw);
  }

  .hero-block{
    position:relative;
    width:100vw;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:url('../../images/home/ast-home-hero-industrial-site.webp') center/cover no-repeat fixed;
    background-size:cover;
    overflow:hidden;
  }

  @media (max-width:1024px){
    .hero-block{
      background-attachment:scroll;
    }
  }

  @media (min-width:1025px){
    .hero-block{
      background-attachment:fixed;
    }
  }

  .hero-overlay{
    position:absolute;
    top:0;left:0;
    width:100%;height:100%;
    background:rgba(0,0,0,0.65);
    z-index:1;
  }

  .hero-gradient{
    position:absolute;
    top:0;left:0;
    width:100%;
    height:100%;
    background:linear-gradient(to bottom,
      rgba(0,0,0,0.4) 0%,
      rgba(0,0,0,0.0) 25%,
      rgba(0,0,0,0.0) 75%,
      rgba(0,0,0,0.4) 100%);
    z-index:2;
    pointer-events:none;
  }

  .hero-content{
    position:relative;
    z-index:3;
    text-align:center;
    padding:0 20px;
    will-change:transform;
    transition:transform 0.2s ease-out;
  }

  @keyframes glow-breath{
    0%,100%{text-shadow:0 0 3px rgba(255,255,255,0.25),0 0 6px rgba(255,255,255,0.15);}
    50%{text-shadow:0 0 8px rgba(255,255,255,0.35),0 0 14px rgba(255,255,255,0.25);}
  }

  .glow-text{
    animation:glow-breath 6s infinite ease-in-out;
    color:#fff;
  }

  .hero-content h1{
    font-size:4vw;
    font-weight:900;
    letter-spacing:1.5px;
    line-height:1.2;
    margin-bottom:15px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .hero-content p{
    font-size:1.4vw;
    line-height:1.4;
    margin-bottom:25px;
    letter-spacing:0.5px;
  }

  @keyframes button-glow{
    0%,100%{box-shadow:0 6px 15px rgba(196,0,0,0.25);}
    50%{box-shadow:0 8px 20px rgba(255,255,255,0.2);}
  }

  .hero-btn{
    position:relative;
    display:inline-block;
    padding:12px 28px;
    font-size:1vw;
    font-weight:700;
    color:#fff;
    background:linear-gradient(135deg,#c40000,#ff4d4d);
    border-radius:50px;
    text-decoration:none;
    transition:all 0.3s ease;
    animation:button-glow 6s infinite ease-in-out;
    overflow:hidden;
  }

  .hero-btn:hover{
    color:#fff;
    transform:translateY(-3px);
  }

  .btn-shine{
    position:absolute;
    top:0;left:-75%;
    width:50%;
    height:100%;
    background:rgba(255,255,255,0.25);
    transform:skewX(-25deg);
    pointer-events:none;
    animation:shine-slide 6s infinite ease-in-out;
  }

  @keyframes shine-slide{
    0%,100%{left:-75%;opacity:0;}
    45%{left:50%;opacity:1;}
    55%{left:50%;opacity:0;}
  }

  @media (max-width:1024px){
    .hero-content h1{font-size:6vw;}
    .hero-content p{font-size:1.8vw;}
    .hero-btn{font-size:1.2vw;padding:10px 24px;}
  }

  @media (max-width:768px){
    .hero-content h1{
      font-size:5vw;
      letter-spacing:0.8px;
      line-height:1.1;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .hero-content p{font-size:2.2vw;}
    .hero-btn{font-size:1.8vw;padding:8px 20px;}
  }

  @media (max-width:480px){
    .hero-content h1{
      font-size:6vw;
      letter-spacing:0.5px;
      line-height:1.1;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .hero-content p{
      font-size:3vw;
      line-height:1.4;
    }
    .hero-btn{
      font-size:2.2vw;
      padding:6px 16px;
    }
  }

  .parallax-glow{
    position:absolute;
    top:-20%;
    left:50%;
    width:2000px;
    height:2000px;
    background:radial-gradient(circle, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0) 70%);
    transform:translateX(-50%);
    z-index:0;
    transition:transform 0.4s ease;
    pointer-events:none;
  }

  .home-about{
    position:relative;
    overflow:hidden;
    background:#0a0a0a;
    color:#fff;
    width:100vw;
    margin-left:calc(50% - 50vw);
    padding:110px 0 40px;
    text-align:center;
  }

  .section-title{
    font-size:46px;
    font-weight:600;
    margin-bottom:25px;
    background:linear-gradient(90deg,#ffffff,#c0c0c0);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
  }

  .section-lead{
    font-size:20px;
    max-width:1100px;
    margin:0 auto 60px;
    line-height:1.7;
    color:#cfcfcf;
  }

  .about-gallery{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:20px;
    width:100%;
    max-width:1200px;
    margin:0 auto 70px;
  }

  .img-box{
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    border-radius:22px;
    box-shadow:0 0 30px rgba(255,255,255,0.05);
    transition:transform .5s ease, box-shadow .5s ease;
  }

  .img-box img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .6s ease;
  }

  .img-box:hover img{transform:scale(1.08);}
  .img-box:hover{box-shadow:0 0 50px rgba(255,255,255,0.15);}

  .counter-wrap{
    margin:0 auto 40px;
  }

  .projects-counter{
    font-size:130px;
    font-weight:700;
    color:#e53935;
    margin-bottom:10px;
    text-shadow:0 0 25px rgba(229,57,53,0.6);
  }

  .counter-text{
    font-size:18px;
    margin:0 auto 40px;
    max-width:1100px;
    color:#bdbdbd;
  }

  .swiper{
    max-width:1200px;
    margin:0 auto;
  }

  .card{
    border-radius:25px;
    overflow:hidden;
    background:rgba(255,255,255,0.03);
    backdrop-filter:blur(8px);
    box-shadow:0 0 25px rgba(255,255,255,0.1);
  }

  .card img{
    width:100%;
    height:360px;
    object-fit:cover;
    min-height:200px;
  }

  .card-body{
    padding:30px;
    text-align:left;
  }

  .card-body h3{
    font-size:24px;
    margin-bottom:10px;
    color:#fff;
  }

  .card-body p{
    font-size:17px;
    line-height:1.6;
    color:#d0d0d0;
  }

  .swiper-pagination-bullet{
    background:#e53935 !important;
    opacity:0.8;
  }
  .swiper-pagination-bullet-active{
    background:#fff !important;
  }

  .projects-cta{
    margin-top:32px;
  }

  @media (max-width:1024px){
    .section-title{font-size:36px;}
    .section-lead{font-size:18px;margin-bottom:50px;}
    .projects-counter{font-size:110px;}
  }
  @media (max-width:768px){
    .projects-counter{font-size:96px;}
    .counter-text{font-size:17px;}
  }
  @media (max-width:600px){
    .projects-counter{font-size:82px;}
    .counter-text{font-size:16px;}
    .about-gallery{gap:12px;margin-bottom:50px;}
  }

  .home-products{
    position:relative;
    overflow:hidden;
    background:#0a0a0a;
    color:#fff;
    width:100vw;
    margin-left:calc(50% - 50vw);
    padding:55px 0 40px;
    text-align:center;
  }

  .products-title{
    font-size:40px;
    font-weight:600;
    margin-bottom:22px;
    background:linear-gradient(90deg,#ffffff,#cfcfcf);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    text-shadow:0 0 15px rgba(255,255,255,0.2);
  }

  .services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px 25px;
    margin:0 auto;
  }

  .service-card{
    position:relative;
    border-radius:25px;
    overflow:hidden;
    background:rgba(255,255,255,0.02);
    backdrop-filter:blur(10px);
    box-shadow:0 0 25px rgba(255,255,255,0.05);
    transition:transform .5s ease, box-shadow .5s.ease, background .5s ease, opacity .6s ease;
    text-align:left;
    cursor:pointer;
    opacity:0;
    transform:translateY(30px);
  }

  .service-card[data-aos].aos-animate{
    opacity:1;
    transform:translateY(0);
  }

  .service-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:transform .5s ease;
  }

  .service-card:hover{
    background:linear-gradient(to bottom, rgba(227,38,54,0.15) 0%, rgba(227,38,54,0) 70%);
    box-shadow:0 0 50px rgba(229,57,53,0.2);
    transform:translateY(-5px);
  }

  .service-card:hover img{transform:scale(1.08);}

  .service-card .card-body{
    padding:20px 25px;
  }

  .service-card h3{
    font-size:22px;
    margin-bottom:10px;
    color:#e0e0e0;
  }

  .service-card ul{
    padding-left:20px;
    margin:0;
    color:#bfbfbf;
    font-size:16px;
    line-height:1.5;
    transition:color .3s ease;
  }

  .service-card ul li:hover{
    color:#e32636;
    text-shadow:0 0 5px rgba(255,255,255,0.3);
  }

  @media (max-width:1024px){
    .products-title{font-size:32px;}
    .services-grid{
      display:flex;
      flex-direction:column;
      gap:20px;
      align-items:center;
    }
    .service-card{
      max-width:90vw;
      width:100%;
    }
  }
  @media (max-width:768px){
    .products-title{font-size:26px;}
    .service-card img{height:160px;}
    .service-card h3{font-size:17px;}
    .service-card ul{font-size:14px;}
    .service-card .card-body{padding:15px 20px;}
  }
  @media (max-width:480px){
    .products-title{font-size:22px;}
  }

  .partners-carousel-apple{
    position:relative;
    overflow:hidden;
    width:100vw;
    margin-left:calc(50% - 50vw);
    background:
      radial-gradient(circle at top, #ffffff 0, #f5f6fa 42%, #e5e7f0 100%);
    padding:80px 0 32px;
    text-align:center;
    color:#0f172a;
  }

  .carousel-title{
    font-size:36px;
    font-weight:600;
    background:linear-gradient(90deg,#0f172a,#4b5563);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    text-shadow:0 0 18px rgba(148,163,184,0.4);
    margin-bottom:40px;
  }

  .carousel-wrapper{
    position:relative;
    z-index:2;
    max-width:1200px;
    margin:0 auto;
  }

  .marquee-container{
    display:grid;
    grid-template-rows:repeat(2,auto);
    gap:18px;
    overflow:hidden;
  }

  .marquee-row{
    overflow:hidden;
  }

  .marquee-row.left .marquee-content,
  .marquee-row.right .marquee-content{
    display:flex;
    align-items:center;
  }

  .marquee-row.left .marquee-content{
    animation:marquee-left 26s linear infinite;
  }

  .marquee-row.right .marquee-content{
    animation:marquee-right 28s linear infinite;
  }

  .marquee-item{
    flex:0 0 auto;
    width:180px;
    height:110px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 10px;
    background:rgba(255,255,255,0.95);
    border-radius:20px;
    border:1px solid rgba(148,163,184,0.35);
    box-shadow:
      0 14px 35px rgba(15,23,42,0.06),
      0 0 0 1px rgba(255,255,255,0.8);
    backdrop-filter:blur(14px);
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease,
      background 0.35s ease;
  }

  .marquee-item img{
    max-width:140px;
    max-height:60px;
    width:auto;
    height:auto;
    object-fit:contain;
    padding:4px 10px;
    border-radius:14px;
    opacity:0.96;
    filter:none;
    transition:
      filter 0.35s ease,
      opacity 0.35s.ease,
      transform 0.35s ease;
    cursor:pointer;
  }

  .marquee-item:hover{
    transform:translateY(-4px);
    box-shadow:
      0 18px 45px rgba(15,23,42,0.15),
      0 0 0 1px rgba(148,163,184,0.4);
    border-color:rgba(148,163,184,0.55);
    background:#ffffff;
  }

  .marquee-item:hover img{
    opacity:1;
    filter:brightness(1.06) saturate(1.05);
    transform:scale(1.03);
  }

  @keyframes marquee-left{
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
  }

  @keyframes marquee-right{
    0%{transform:translateX(-50%);}
    100%{transform:translateX(0);}
  }

  .logo-popup{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,0.85);
    backdrop-filter:blur(18px);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    cursor:pointer;
  }

  .popup-content{
    background:rgba(15,23,42,0.4);
    border-radius:24px;
    padding:20px;
    box-shadow:
      0 20px 60px rgba(15,23,42,0.6),
      0 0 0 1px rgba(148,163,184,0.4);
    transition:transform 0.3s ease;
  }

  .popup-content img{
    max-width:80vw;
    max-height:80vh;
    object-fit:contain;
    border-radius:18px;
    box-shadow:0 14px 45px rgba(15,23,42,0.9);
  }

  @media (max-width:1024px){
    .carousel-title{
      font-size:32px;
      margin-bottom:32px;
    }

    .marquee-item{
      width:160px;
      height:100px;
    }

    .marquee-item img{
      max-width:120px;
      max-height:52px;
    }
  }

  @media (max-width:768px){
    .carousel-title{
      font-size:28px;
      margin-bottom:26px;
    }

    .marquee-container{
      display:flex;
      flex-direction:column;
      gap:16px;
    }

    .marquee-row{
      overflow-x:auto;
      overflow-y:hidden;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
    }
    .marquee-row::-webkit-scrollbar{
      display:none;
    }

    .marquee-row .marquee-content{
      animation:none;
      width:max-content;
    }

    .marquee-item{
      width:150px;
      height:90px;
      margin:0 8px;
      box-shadow:
        0 10px 28px rgba(15,23,42,0.09),
        0 0 0 1px rgba(226,232,240,0.9);
    }

    .marquee-item img{
      max-width:110px;
      max-height:46px;
    }
  }

  @media (max-width:480px){
    .carousel-title{
      font-size:24px;
      margin-bottom:22px;
    }

    .partners-carousel-apple{
      padding:64px 0 24px;
    }

    .marquee-item{
      width:140px;
      height:84px;
      margin:0 6px;
    }

    .marquee-item img{
      max-width:100px;
      max-height:42px;
    }

    .popup-content{
      padding:14px;
    }

    .popup-content img{
      max-width:90vw;
      max-height:70vh;
    }
  }
