/*
 * DTA Premium V29 - final layout stability pass
 * - Thu nhỏ chiều cao/khung section
 * - Tăng line-height để chữ không dính
 * - Loại bỏ các backplate lớn che phần 3D
 * - Sửa menu mobile/tablet neo đúng vào header
 */

body.dta-premium-v29 section{
  clear:both;
  min-height:0;
}
body.dta-premium-v29 .container{
  position:relative;
}

/* Header / navigation */
body.dta-premium-v29 .nav-wrap{
  position:relative;
  min-height:72px;
  gap:16px;
  padding:9px 14px 9px 18px;
}
body.dta-premium-v29 .brand img{
  width:150px;
  max-height:54px;
}
body.dta-premium-v29 .main-nav{
  gap:clamp(1px,.42vw,6px);
}
body.dta-premium-v29 .main-nav > a,
body.dta-premium-v29 .nav-service-trigger{
  min-height:42px;
  padding:10px 12px;
  font-size:12px;
  line-height:1.25;
}
body.dta-premium-v29 .nav-submenu{
  width:310px;
  max-height:min(66vh,560px);
}

/* Hero sizing and typography */
body.dta-premium-v29 .dta-premium-hero{
  min-height:auto !important;
  padding:76px 0 56px !important;
  overflow:hidden !important;
}
body.dta-premium-v29 .hero-grid-real{
  grid-template-columns:minmax(0,1.06fr) minmax(400px,.94fr) !important;
  column-gap:40px !important;
  row-gap:34px !important;
  align-items:center !important;
}
body.dta-premium-v29 .hero-copy{
  max-width:690px !important;
  padding-top:0 !important;
}
body.dta-premium-v29 .dta-premium-eyebrow{
  margin-bottom:24px !important;
  padding:10px 16px !important;
  font-size:12px !important;
  line-height:1.45 !important;
}
body.dta-premium-v29 .hero-copy h1{
  margin:0 0 26px !important;
  font-size:clamp(46px,4.65vw,72px) !important;
  line-height:1.13 !important;
  letter-spacing:-.045em !important;
  text-wrap:balance;
}
body.dta-premium-v29 .hero-line{
  display:block;
  margin:0 0 .08em;
  line-height:inherit;
}
body.dta-premium-v29 .hero-copy .lead{
  max-width:675px !important;
  margin:0 0 30px !important;
  font-size:17px !important;
  line-height:1.9 !important;
}
body.dta-premium-v29 .hero-actions{
  gap:14px !important;
}
body.dta-premium-v29 .hero-actions .btn{
  min-height:56px !important;
  padding:15px 22px !important;
  border-radius:18px !important;
  font-size:16px !important;
}

/* 3D scene: compact, no large blank boxes */
body.dta-premium-v29 .hero-visual{
  overflow:visible !important;
}
body.dta-premium-v29 .dta-3d-stage{
  width:min(100%,540px) !important;
  max-height:540px;
  aspect-ratio:1 / 1 !important;
  margin-inline:auto !important;
}
body.dta-premium-v29 .dta-stage-grid{
  inset:5% !important;
  border-radius:30px !important;
}
body.dta-premium-v29 .dta-logo-showcase{
  inset:0 !important;
}
body.dta-premium-v29 .dta-logo-backplate{
  display:none !important;
}
body.dta-premium-v29 .dta-glass-core{
  left:50% !important;
  top:45% !important;
  width:168px !important;
  height:168px !important;
  transform:translate(-50%,-50%) translateZ(120px) !important;
  z-index:7 !important;
}
body.dta-premium-v29 .dta-glass-core img{
  width:102px !important;
}
body.dta-premium-v29 .dta-platform{
  bottom:8% !important;
  width:70% !important;
  height:25% !important;
}
body.dta-premium-v29 .dta-platform-ring{
  border-width:13px !important;
}
body.dta-premium-v29 .dta-platform-ring.ring-two{
  border-width:8px !important;
}
body.dta-premium-v29 .dta-platform-ring.ring-three{
  border-width:5px !important;
}
body.dta-premium-v29 .floating-card{
  min-width:0 !important;
  width:190px !important;
  max-width:190px !important;
  padding:13px 14px !important;
  gap:9px !important;
  border-radius:17px !important;
}
body.dta-premium-v29 .floating-card strong{
  font-size:13px !important;
  line-height:1.28 !important;
}
body.dta-premium-v29 .floating-card span:last-child{
  font-size:10.5px !important;
  line-height:1.42 !important;
}
body.dta-premium-v29 .floating-card-icon{
  flex:0 0 28px;
  width:28px !important;
  height:28px !important;
}
body.dta-premium-v29 .floating-card.card-1{
  right:0 !important;
  top:10% !important;
  bottom:auto !important;
}
body.dta-premium-v29 .floating-card.card-2{
  left:0 !important;
  top:59% !important;
  bottom:auto !important;
}
body.dta-premium-v29 .floating-card.card-3{
  right:2% !important;
  top:auto !important;
  bottom:8% !important;
}
body.dta-premium-v29 .dta-data-panel{
  left:7% !important;
  right:auto !important;
  bottom:7% !important;
  width:108px !important;
  height:72px !important;
  padding:11px !important;
}
body.dta-premium-v29 .dta-mini-pill{
  min-width:82px !important;
  padding:7px 11px !important;
  font-size:10px !important;
}
body.dta-premium-v29 .dta-mini-pill.pill-1{
  left:5% !important;
  top:17% !important;
}
body.dta-premium-v29 .dta-mini-pill.pill-2{
  right:0 !important;
  top:42% !important;
}
body.dta-premium-v29 .dta-mini-pill.pill-3{
  left:10% !important;
  bottom:17% !important;
}
body.dta-premium-v29 .hero-insight-panel{
  margin-top:4px;
  padding:18px 20px !important;
  border-radius:23px !important;
}
body.dta-premium-v29 .hero-awards ul{
  line-height:1.7 !important;
}

/* Reduce section boxes and preserve clear separation */
body.dta-premium-v29 .partner-band{
  padding:18px 0 !important;
}
body.dta-premium-v29 .partner-panel{
  padding:12px !important;
  gap:12px !important;
  border-radius:22px !important;
}
body.dta-premium-v29 .partner-logo{
  min-height:78px !important;
}
body.dta-premium-v29 .about,
body.dta-premium-v29 .services,
body.dta-premium-v29 .faq-section,
body.dta-premium-v29 .news,
body.dta-premium-v29 .register,
body.dta-premium-v29 .journey,
body.dta-premium-v29 .projects,
body.dta-premium-v29 .contact{
  padding:84px 0 !important;
  min-height:0 !important;
}
body.dta-premium-v29 .about-grid-real{
  gap:48px !important;
}
body.dta-premium-v29 .about-media-real{
  min-height:420px !important;
  overflow:hidden;
}
body.dta-premium-v29 .about-media-real img{
  width:80% !important;
  max-height:400px !important;
}
body.dta-premium-v29 .about-copy-real h2,
body.dta-premium-v29 .services-head h2,
body.dta-premium-v29 .section-head h2,
body.dta-premium-v29 .journey-head h2,
body.dta-premium-v29 .faq-copy h2{
  line-height:1.14 !important;
  margin-bottom:20px !important;
}
body.dta-premium-v29 .about-head-real p,
body.dta-premium-v29 .section-head p,
body.dta-premium-v29 .faq-copy p,
body.dta-premium-v29 .register p{
  line-height:1.85 !important;
}
body.dta-premium-v29 .about-metric-row{
  grid-template-columns:150px 1fr !important;
  padding:15px 18px !important;
  border-radius:18px !important;
}
body.dta-premium-v29 .service-grid,
body.dta-premium-v29 .news-grid,
body.dta-premium-v29 .journey-grid{
  gap:18px !important;
}
body.dta-premium-v29 .service-card-simple{
  min-height:230px !important;
  padding:24px !important;
  border-radius:22px !important;
}
body.dta-premium-v29 .service-card-simple h3,
body.dta-premium-v29 .news-card h3,
body.dta-premium-v29 .journey-card h3{
  line-height:1.35 !important;
}
body.dta-premium-v29 .service-card-simple p,
body.dta-premium-v29 .news-card p,
body.dta-premium-v29 .journey-card p{
  line-height:1.75 !important;
}
body.dta-premium-v29 .faq-visual{
  min-height:400px !important;
  overflow:hidden;
}
body.dta-premium-v29 .register-grid{
  gap:32px !important;
  padding:28px !important;
}
body.dta-premium-v29 .dta-page-hero,
body.dta-premium-v29 .dta-single-head{
  padding:68px 0 50px !important;
  min-height:0 !important;
}
body.dta-premium-v29 .dta-page-hero h1,
body.dta-premium-v29 .dta-single-head h1{
  line-height:1.12 !important;
}
body.dta-premium-v29 .dta-card-body h2{
  line-height:1.35 !important;
}
body.dta-premium-v29 .dta-card-body p{
  line-height:1.78 !important;
}

/* Tablet/mobile menu anchored to header: no blank area, no jumping close button */
@media (max-width:1100px){
  body.dta-premium-v29 .nav-wrap{
    position:relative !important;
  }
  body.dta-premium-v29 .menu-toggle{
    display:flex !important;
    position:relative !important;
    top:auto !important;
    right:auto !important;
    z-index:1310 !important;
    margin-left:auto;
  }
  body.dta-premium-v29.dta-mobile-menu-open .menu-toggle{
    position:relative !important;
    top:auto !important;
    right:auto !important;
  }
  body.dta-premium-v29 .main-nav{
    display:flex !important;
    position:absolute !important;
    top:calc(100% + 10px) !important;
    left:0 !important;
    right:0 !important;
    width:auto !important;
    max-height:min(72vh,600px) !important;
    margin:0 !important;
    padding:14px !important;
    overflow:auto !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:4px !important;
    border:1px solid rgba(26,120,222,.13) !important;
    border-radius:22px !important;
    background:rgba(255,255,255,.98) !important;
    backdrop-filter:blur(18px) !important;
    box-shadow:0 24px 60px rgba(17,73,143,.18) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(-8px) !important;
    z-index:1305 !important;
  }
  body.dta-premium-v29 .main-nav.open{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) !important;
  }
  body.dta-premium-v29 .main-nav > a,
  body.dta-premium-v29 .main-nav > .nav-dropdown > .nav-service-trigger{
    width:100% !important;
    min-height:48px !important;
    justify-content:space-between !important;
    padding:13px 15px !important;
    font-size:14px !important;
  }
  body.dta-premium-v29 .nav-dropdown{
    display:block !important;
    width:100% !important;
  }
  body.dta-premium-v29 .nav-submenu{
    position:static !important;
    width:100% !important;
    min-width:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 8px !important;
    overflow:hidden !important;
    border:0 !important;
    border-radius:15px !important;
    background:#f2f8ff !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    transition:max-height .28s ease,padding .28s ease !important;
  }
  body.dta-premium-v29 .nav-dropdown:not(.submenu-open) .nav-submenu,
  body.dta-premium-v29 .nav-dropdown:not(.submenu-open):hover .nav-submenu,
  body.dta-premium-v29 .nav-dropdown:not(.submenu-open):focus-within .nav-submenu{
    max-height:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
  body.dta-premium-v29 .nav-dropdown.submenu-open .nav-submenu{
    max-height:48vh !important;
    padding:8px !important;
    overflow:auto !important;
  }
  body.dta-premium-v29 .hero-grid-real{
    grid-template-columns:1fr !important;
  }
  body.dta-premium-v29 .hero-copy{
    max-width:760px !important;
    margin-inline:auto;
    text-align:left;
  }
  body.dta-premium-v29 .dta-3d-stage{
    width:min(100%,520px) !important;
    margin-inline:auto !important;
  }
  body.dta-premium-v29 .about-grid-real{
    grid-template-columns:1fr !important;
  }
}

@media (max-width:767px){
  body.dta-premium-v29 .container{
    width:calc(100% - 28px) !important;
  }
  body.dta-premium-v29 .dta-premium-hero{
    padding:56px 0 38px !important;
  }
  body.dta-premium-v29 .hero-copy h1{
    font-size:clamp(38px,10.8vw,54px) !important;
    line-height:1.16 !important;
    letter-spacing:-.035em !important;
    margin-bottom:20px !important;
  }
  body.dta-premium-v29 .hero-line{
    margin-bottom:.1em !important;
  }
  body.dta-premium-v29 .hero-copy .lead{
    font-size:15px !important;
    line-height:1.82 !important;
    margin-bottom:24px !important;
  }
  body.dta-premium-v29 .hero-actions{
    flex-direction:column !important;
  }
  body.dta-premium-v29 .hero-actions .btn{
    width:100% !important;
  }
  body.dta-premium-v29 .dta-3d-stage{
    width:min(100%,360px) !important;
    max-height:360px !important;
    margin-top:8px !important;
  }
  body.dta-premium-v29 .dta-glass-core{
    width:128px !important;
    height:128px !important;
  }
  body.dta-premium-v29 .dta-glass-core img{
    width:78px !important;
  }
  body.dta-premium-v29 .floating-card{
    width:142px !important;
    max-width:142px !important;
    padding:9px 10px !important;
    gap:7px !important;
  }
  body.dta-premium-v29 .floating-card strong{
    font-size:11px !important;
  }
  body.dta-premium-v29 .floating-card span:last-child{
    display:none !important;
  }
  body.dta-premium-v29 .floating-card.card-1{
    right:0 !important;
    top:8% !important;
  }
  body.dta-premium-v29 .floating-card.card-2{
    left:0 !important;
    top:58% !important;
  }
  body.dta-premium-v29 .floating-card.card-3{
    right:0 !important;
    bottom:8% !important;
  }
  body.dta-premium-v29 .dta-mini-pill{
    display:none !important;
  }
  body.dta-premium-v29 .dta-data-panel{
    width:82px !important;
    height:58px !important;
    left:8% !important;
    bottom:5% !important;
  }
  body.dta-premium-v29 .hero-insight-panel{
    margin-top:18px !important;
  }
  body.dta-premium-v29 .about,
  body.dta-premium-v29 .services,
  body.dta-premium-v29 .faq-section,
  body.dta-premium-v29 .news,
  body.dta-premium-v29 .register,
  body.dta-premium-v29 .journey,
  body.dta-premium-v29 .projects,
  body.dta-premium-v29 .contact{
    padding:64px 0 !important;
  }
  body.dta-premium-v29 .about-media-real{
    min-height:320px !important;
  }
  body.dta-premium-v29 .about-media-real img{
    max-height:300px !important;
  }
  body.dta-premium-v29 .about-metric-row{
    grid-template-columns:112px 1fr !important;
    padding:13px !important;
  }
  body.dta-premium-v29 .service-card-simple{
    min-height:210px !important;
  }
}

@media (max-width:420px){
  body.dta-premium-v29 .hero-copy h1{
    font-size:37px !important;
    line-height:1.17 !important;
  }
  body.dta-premium-v29 .dta-3d-stage{
    width:min(100%,330px) !important;
    max-height:330px !important;
  }
  body.dta-premium-v29 .floating-card{
    width:128px !important;
    max-width:128px !important;
  }
  body.dta-premium-v29 .floating-card.card-2{
    top:61% !important;
  }
  body.dta-premium-v29 .about-metric-row{
    grid-template-columns:96px 1fr !important;
  }
}

