/* ================================================================
   TAMPILAN MODERN — PT TRITAMA ADHISTHANA KONSULTAN
   Dimuat PALING AKHIR (setelah styles.css dan animations.css).
   Hanya mengubah tampilan: teks, struktur HTML, dan sistem 3 bahasa
   tidak disentuh. Hapus <link> file ini di index.html untuk kembali
   ke tampilan sebelumnya.

   Isi:
   1. Token desain          5. Marquee sektor
   2. Navbar kaca melayang  6. Tentang, Layanan, Sektor, Keunggulan
   3. Hero                  7. Kontak & Footer
   4. Kartu statistik       8. Tombol kembali ke atas
                            9. Responsif
   ================================================================ */

/* ---------- 1. TOKEN ---------- */
:root{
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --glass: rgba(255,255,255,.07);
  --glass-line: rgba(255,255,255,.15);
  --grad: linear-gradient(120deg, #ffc65e 0%, #ff9a17 46%, #ff6d00 100%);
  --ink-soft: rgba(22,39,61,.08);
  --shadow-card: 0 24px 50px -26px rgba(22,39,61,.45);
}
@property --ang{ syntax: "<angle>"; initial-value: 0deg; inherits: false; }

@keyframes spin-ang{ to{ --ang: 360deg; } }
@keyframes blob-a{
  from{ transform: translate3d(0,0,0) scale(1); }
  to{   transform: translate3d(-60px,50px,0) scale(1.18); }
}
@keyframes blob-b{
  from{ transform: translate3d(0,0,0) scale(1.05); }
  to{   transform: translate3d(70px,-40px,0) scale(.92); }
}
@keyframes marquee{ to{ transform: translateX(-50%); } }
@keyframes gradient-pan{
  from{ background-position: 0% 50%; }
  to{   background-position: 200% 50%; }
}

html{ scroll-padding-top: 96px; }
body{ background: var(--concrete); }
::selection{ background: var(--safety); color: #1b1206; }

/* ---------- 2. NAVBAR: KAPSUL KACA MELAYANG ---------- */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  pointer-events: none;
  animation: none !important;
  box-shadow: none !important;
}
header .nav-inner{
  pointer-events: auto;
  position: relative;
  width: calc(100% - 32px);
  max-width: 1318px;
  height: 70px;
  margin: 14px auto 0;
  padding: 0 12px 0 16px;
  gap: 18px;
  background: rgba(16,22,31,.55);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-line);
  border-radius: 24px;
  box-shadow: 0 14px 40px -22px rgba(0,0,0,.6);
  transition: background-color .4s ease, box-shadow .4s ease, height .4s var(--ease-out), margin .4s var(--ease-out);
}
header.is-scrolled .nav-inner{
  height: 62px;
  margin-top: 10px;
  background: rgba(14,20,28,.86);
  box-shadow: 0 20px 44px -20px rgba(0,0,0,.75);
}
.logo{ font-size: 15px; letter-spacing: .05em; gap: 12px; min-width: 0; flex-shrink: 1; }
.logo .mark{ width: 54px; height: 54px; }
header .logo-profile{ width: 54px; height: auto; }

nav ul{ gap: 2px; }
nav a{
  display: block;
  padding: 10px 15px;
  border-radius: 12px;
  border-bottom: 0;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
}
nav a::after{ display: none; }
nav a:hover{ background: rgba(255,255,255,.09); color: var(--white); border-color: transparent; }
nav a.active{ background: rgba(255,154,23,.16); color: #ffbe5c; }

.nav-right{ gap: 12px; }
.lang-switch{
  gap: 2px;
  padding: 4px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
}
.lang-switch > span{ display: none; }
.lang-btn{ padding: 6px 11px; border-radius: 10px; transition: background-color .25s ease, color .25s ease; }
.lang-btn.active{ background: var(--safety); color: #1b1206; }
header .btn{ padding: 12px 20px; border-radius: 14px; font-size: 12px; }
.nav-toggle{
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--glass-line);
  font-size: 22px;
  line-height: 1;
}

/* ---------- 3. HERO ---------- */
.hero{
  padding: 160px 0 0;
  border-radius: 0 0 48px 48px;
  background:
    radial-gradient(900px 520px at 82% -8%, #27456f 0%, transparent 62%),
    linear-gradient(180deg, #0e1b2d 0%, var(--navy) 55%, #0b1625 100%);
}
/* gumpalan cahaya yang ikut bergeser mengikuti kursor */
.hero > .wrap::before,
.hero > .wrap::after{
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  transition: translate .9s var(--ease-out);
}
.hero > .wrap::before{
  width: 560px; height: 560px;
  right: -4%; top: -8%;
  background: radial-gradient(closest-side, rgba(255,154,23,.40), transparent);
  translate: calc(var(--px, 0) * -46px) calc(var(--py, 0) * -34px);
  animation: blob-a 15s ease-in-out infinite alternate;
}
.hero > .wrap::after{
  width: 520px; height: 520px;
  left: -8%; bottom: 8%;
  background: radial-gradient(closest-side, rgba(84,140,255,.30), transparent);
  translate: calc(var(--px, 0) * 52px) calc(var(--py, 0) * 38px);
  animation: blob-b 18s ease-in-out infinite alternate;
}
.hero-inner{ gap: 72px; padding-bottom: 70px; }
.hero-inner > *{ min-width: 0; }
@media (min-width: 981px){ .hero-inner{ grid-template-columns: 1.1fr .9fr; } }

.hero .eyebrow{
  display: inline-flex;
  padding: 9px 18px;
  margin-bottom: 8px;
  font-size: 11.5px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.hero .eyebrow::before{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--safety);
  transform: none;
  animation: dot-ping 2.2s ease-out infinite;
}
.hero h1{ margin: 24px 0 26px; line-height: 1.02; }
.hero h1 br{ display: none; }
.hero h1 > span{
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.25vw, 15px);
  font-weight: 500;
  letter-spacing: .3em;
  color: rgba(255,255,255,.72);
}
.hero h1 > em{
  display: block;
  margin-top: 16px;
  font-size: clamp(40px, 5.8vw, 82px);
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: headline-rise 1.1s var(--ease-out) .7s backwards,
             gradient-pan 7s linear 2s infinite;
}
.hero p.lead{ font-size: 18px; line-height: 1.65; max-width: 520px; color: rgba(255,255,255,.72); }

/* tombol */
.btn{ border-radius: var(--r-sm); padding: 16px 28px; font-size: 12.5px; }
.btn-primary{
  background: var(--grad);
  background-size: 140% 100%;
  color: #1b1206;
  box-shadow: 0 14px 30px -12px rgba(255,154,23,.75);
}
.btn-primary:hover{ background: var(--grad); background-size: 140% 100%; box-shadow: 0 18px 38px -12px rgba(255,154,23,.9); }
.btn-outline{
  background: var(--glass);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.btn-outline.dark{ background: transparent; }

/* bingkai video: sudut membulat + cincin cahaya berputar */
.hero-figure{
  border-radius: var(--r-lg);
  box-shadow: 0 44px 80px -34px rgba(0,0,0,.75);
  perspective: 1000px;
}
.hero-figure video{
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  transform: rotateY(calc(var(--px, 0) * -3deg)) rotateX(calc(var(--py, 0) * 2.5deg));
  transition: transform .8s var(--ease-out);
}
.hero-figure::before{
  inset: -2px;
  border-radius: calc(var(--r-lg) + 2px);
  padding: 2px;
  background: conic-gradient(from var(--ang), rgba(255,255,255,.10) 0 62%, #ffb347 82%, #fff 88%, rgba(255,255,255,.10) 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin-ang 7s linear infinite;
}
.hero-figure .tag{
  bottom: 18px; left: 18px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--glass-line);
  border-left: 1px solid var(--glass-line);
  border-radius: 999px;
  background: rgba(14,20,28,.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 3;
}
.hero-figure .tag::before{
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  animation: dot-ping 1.8s ease-out infinite;
}

/* ---------- 4. KARTU STATISTIK ---------- */
.dim-stats{ border-top: 0; background: none; padding-bottom: 56px; }
.dim-row{ gap: 16px; }
.dim-stats .dim-item{
  padding: 26px 18px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: transform .45s var(--ease-out), border-color .3s ease, background-color .3s ease;
  overflow: hidden;
}
.dim-item::before{
  top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,154,23,.9), transparent);
}
.dim-item::after{ content: none; }
.dim-item::marker{ content: none; }
.dim-stats .dim-item:hover{
  transform: translateY(-8px);
  border-color: rgba(255,154,23,.55);
  background: rgba(255,255,255,.10);
}
.dim-num{
  font-size: clamp(22px, 2.5vw, 34px);
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.dim-label{ margin-top: 8px; }

/* ---------- 5. MARQUEE SEKTOR (dibuat oleh js/modern.js) ---------- */
.marquee{
  padding: 52px 0 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track{
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
.mq-item{
  padding: 0 26px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 46px);
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(22,39,61,.5);
  transition: color .3s ease, -webkit-text-stroke-color .3s ease;
}
.mq-item.fill{ color: var(--navy); -webkit-text-stroke: 0; }
.mq-item:hover{ color: var(--safety); -webkit-text-stroke-color: var(--safety); }
.mq-sep{
  flex: none;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--safety);
  transform: rotate(45deg);
}

/* ---------- 6. BAGIAN ISI ---------- */
section.pad{ padding: 120px 0; }
.sec-head h2{ font-size: clamp(30px, 4.2vw, 54px); letter-spacing: 0; }
.sec-head .desc{ line-height: 1.7; }
.eyebrow{ letter-spacing: .16em; }

/* Tentang */
.about{ background: transparent; padding-top: 80px; }
.about-grid{ gap: 84px; }
.about-figure{
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: 0 34px 60px -30px rgba(22,39,61,.5), 16px 16px 0 0 rgba(255,154,23,.22);
}
.about-title{ font-size: clamp(28px, 3.4vw, 44px); }
.about-text p{ font-size: 16px; line-height: 1.75; }
.about-quote{
  padding: 24px 28px;
  font-size: 20px;
  background: var(--white);
  border: 1px solid var(--ink-soft);
  border-left: 4px solid var(--safety);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.about-badges span{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
}
.about-badges span::before{
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--safety);
}

/* Layanan */
.services{
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(255,154,23,.10), transparent 60%),
    var(--concrete);
}
.services-grid{ gap: 20px; background: none; border: 0; }
.service-card{
  padding: 34px 26px 30px;
  background-color: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.service-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255,154,23,.20), transparent 46%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.service-card:hover::before{ opacity: 1; }
.service-card:hover{ box-shadow: 0 30px 50px -24px rgba(22,39,61,.5); }
.service-card .icon{
  width: 54px; height: 54px;
  padding: 12px;
  background: rgba(255,154,23,.13);
  border-radius: 16px;
  margin-bottom: 24px;
}
.service-card:hover .icon{ background: var(--safety); color: #1b1206; }
.service-card .idx{ font-size: 12px; }

/* Sektor */
.industries{
  background:
    radial-gradient(800px 420px at 8% 0%, rgba(255,154,23,.14), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(84,140,255,.14), transparent 60%),
    var(--navy);
  border-radius: 48px;
  margin: 0 16px;
}
.ind-pill{
  padding: 14px 22px;
  background: var(--glass);
  border-color: var(--glass-line);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.ind-pill:hover{ background: rgba(255,154,23,.14); border-color: rgba(255,154,23,.7); }

/* Keunggulan */
.why{ background: transparent; }
.spec-list{ border-top: 0; display: grid; gap: 14px; }
.spec-row{
  padding: 28px 30px;
  background-color: var(--white);
  border: 1px solid var(--ink-soft);
  border-radius: var(--r-md);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.spec-row::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 0%) var(--my, 50%), rgba(255,154,23,.14), transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.spec-row:hover::before{ opacity: 1; }
.spec-row:hover{ box-shadow: var(--shadow-card); border-color: rgba(255,154,23,.5); }
.spec-code{
  width: fit-content;
  padding: 7px 12px;
  font-size: 11px;
  background: rgba(255,154,23,.13);
  border-radius: 999px;
}
.spec-row h4{ font-size: 18px; }

/* ---------- 7. KONTAK & FOOTER ---------- */
.contact{ background: transparent; }
.contact-grid{
  gap: 0;
  background: none;
  border: 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 50px 90px -46px rgba(22,39,61,.65);
}
.contact-info{
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1f3a60 0%, var(--navy) 55%, #0f1c2e 100%);
}
.contact-info::before{
  content: "";
  position: absolute;
  right: -90px; bottom: -90px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,154,23,.40), transparent);
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}
.contact-info > *{ position: relative; z-index: 1; }
.contact-info h3{ font-size: 20px; }
.contact-form{ background: var(--paper); }
.field input, .field select, .field textarea{
  padding: 15px 16px;
  background: var(--white);
  border: 1.5px solid rgba(22,39,61,.14);
  border-radius: var(--r-sm);
}
.field input:hover, .field select:hover, .field textarea:hover{ border-color: rgba(22,39,61,.3); }
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--safety); }
.btn-wa{ background: linear-gradient(120deg, #2fe074, #1fb457); color: #04210f; box-shadow: 0 14px 28px -14px rgba(31,180,87,.8); }
.btn-wa:hover{ background: linear-gradient(120deg, #2fe074, #1fb457); }
.btn-mail{ background: linear-gradient(120deg, #24446e, var(--navy)); box-shadow: 0 14px 28px -14px rgba(22,39,61,.8); }

footer{
  margin-top: 40px;
  padding-top: 72px;
  background: linear-gradient(180deg, #f8f7f4 0%, #ecebe6 100%);
  border-radius: 44px 44px 0 0;
  box-shadow: 0 -20px 50px -30px rgba(22,39,61,.25);
}
.footer-grid{ border-bottom: 1px solid var(--ink-soft); }

/* ---------- 8. TOMBOL KEMBALI KE ATAS (dibuat oleh js/modern.js) ---------- */
.to-top{
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 150;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--safety);
  font-size: 20px;
  background:
    linear-gradient(var(--navy), var(--navy)) padding-box,
    conic-gradient(var(--safety) var(--p, 0deg), rgba(255,255,255,.18) 0) border-box;
  border: 3px solid transparent;
  box-shadow: 0 16px 30px -12px rgba(22,39,61,.7);
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s var(--ease-out);
}
.to-top.show{ opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover{ transform: translateY(-4px); }

/* ---------- 9. RESPONSIF ---------- */
/* panel menu ponsel (nav dibuka script.js lewat gaya inline, jadi pakai !important) */
@media (max-width: 980px){
  header .nav-inner{ padding-right: 10px; }
  nav{
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    padding: 12px !important;
    background: rgba(12,18,27,.94) !important;
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
    border: 1px solid var(--glass-line);
    border-radius: 22px;
    box-shadow: 0 30px 60px -24px rgba(0,0,0,.8);
  }
  nav ul{ flex-direction: column; gap: 2px; }
  nav a{ padding: 15px 16px; font-size: 13.5px; }
  .m-extra{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 14px 4px 4px;
    border-top: 1px solid var(--glass-line);
  }
  .m-extra .lang-btn{ padding: 8px 12px; border-radius: 10px; font-size: 12px; }
  .m-extra .m-lang{ display: flex; gap: 4px; }
  .hero{ padding-top: 130px; border-radius: 0 0 34px 34px; }
  .hero-figure video{ transform: none; }
  .industries{ border-radius: 34px; }
  .about-grid{ gap: 50px; }
  .spec-row{ grid-template-columns: 110px 1fr; }
  .spec-row p{ grid-column: 1 / -1; }
}
@media (min-width: 981px){
  .m-extra{ display: none; }
  .spec-row{ grid-template-columns: 140px 1fr 2fr; }
}
@media (max-width: 640px){
  header .nav-inner{ height: 64px; gap: 10px; }
  .logo{ font-size: 11.5px; letter-spacing: .03em; gap: 8px; }
  .logo > span:not(.mark){ white-space: normal; line-height: 1.15; max-width: 148px; }
  .logo .mark{ width: 44px; height: 44px; }
  header .logo-profile{ width: 44px; }
  .nav-right > .btn{ display: none; }
  .nav-toggle{ width: 42px; height: 42px; }
}
@media (max-width: 560px){
  .hero{ padding-top: 118px; }
  .hero-inner{ gap: 40px; padding-bottom: 40px; }
  .hero h1 > em{ font-size: clamp(30px, 9vw, 46px); }
  .hero h1 > span{ letter-spacing: .18em; }
  .dim-row{ gap: 12px; }
  .dim-stats .dim-item{ padding: 20px 12px; }
  .contact-info, .contact-form{ padding: 32px 22px; }
  section.pad{ padding: 80px 0; }
  .industries{ margin: 0 8px; border-radius: 28px; }
  .about-figure{ box-shadow: 0 30px 50px -28px rgba(22,39,61,.5), 10px 10px 0 0 rgba(255,154,23,.22); }
  footer{ border-radius: 30px 30px 0 0; }
  .to-top{ width: 46px; height: 46px; }
}

/* ---------- 10. PENYEMPURNAAN ---------- */
/* logo di navbar diberi alas putih agar tulisan navy terbaca di atas kaca gelap */
header .logo-profile{
  width: 54px; height: 54px;
  padding: 5px;
  object-fit: contain;
  background: #fff;
  border-radius: 15px;
}
@media (max-width: 640px){ header .logo-profile{ width: 44px; height: 44px; padding: 4px; border-radius: 12px; } }
@media (max-width: 980px){
  nav li{ animation: none; }
  nav{ background: rgb(12,18,27) !important; }
}
