/* =====================================================================
   PT. BAZ GANDIVA ENGINEERING — mengikuti design awal (navy + oranye)
   ===================================================================== */
:root {
  --navy: #0f3b53;
  --navy-dark: #0a2a3c;
  --orange: #f28a1c;
  --orange-dark: #d97510;
  --light: #eef3f6;
  --line: #d9e1e7;
  --text: #3b4a55;
  --white: #ffffff;
  --radius: 6px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.65; font-size: 15px; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 90%; max-width: 1180px; margin: 0 auto; }
h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; color: var(--navy); line-height: 1.2; }
p + p { margin-top: 14px; }

/* ---------- Tipografi section ---------- */
.eyebrow { font-size: 12px; letter-spacing: 4px; font-weight: 600; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.section-title { font-size: 30px; font-weight: 800; }
.sub-title { font-size: 20px; font-weight: 700; margin: 30px 0 14px; }
.underline { width: 44px; height: 3px; background: var(--orange); margin: 12px 0 20px; }
.lead { font-size: 16px; }
.section { padding: 70px 0; }
.bg-light { background: var(--light); }
.mt-10 { margin-top: 20px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--orange); padding-bottom: 2px; white-space: nowrap; }
.link-more:hover { color: var(--orange); }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: var(--radius);
       font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; border: 2px solid transparent; cursor: pointer;
       transition: background .2s, color .2s, border-color .2s; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline-white { border-color: var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-disabled { background: var(--light); color: #8a99a4; cursor: not-allowed; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-badge { width: 62px; height: 62px; border-radius: 50%; border: 5px solid var(--orange); box-shadow: inset 0 0 0 3px var(--navy);
              display: grid; place-items: center; font-family: 'Montserrat'; font-weight: 900; font-size: 18px; color: var(--navy); background: var(--white); flex-shrink: 0; }
.logo-text strong { display: block; font-family: 'Montserrat'; font-weight: 800; font-size: 19px; line-height: 1.1; color: var(--navy); }
.logo-text small { font-size: 11px; color: var(--navy); }

/* ---------- Header & menu ---------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(15,59,83,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.menu { display: flex; gap: 28px; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--navy); padding: 22px 0 20px; border-bottom: 2px solid transparent; }
.menu > li > a:hover, .menu > li > a.active { color: var(--orange); border-color: var(--orange); }
.caret { font-size: 10px; }
.dropdown { position: absolute; top: 100%; left: -16px; min-width: 270px; background: var(--white); border-top: 3px solid var(--orange);
            box-shadow: 0 10px 25px rgba(15,59,83,.15); border-radius: 0 0 var(--radius) var(--radius); padding: 8px 0;
            opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 18px; font-size: 13px; color: var(--navy); }
.dropdown a:hover { background: var(--light); color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--navy); cursor: pointer; }

/* ---------- Hero (Home) ---------- */
.hero { position: relative; color: var(--white); padding: 80px 0 45px; overflow: hidden;
        background: linear-gradient(90deg, rgba(10,42,60,.96) 0%, rgba(10,42,60,.78) 50%, rgba(10,42,60,.15) 100%),
                    url('../images/hero.jpg') center/cover no-repeat, var(--navy-dark); }
.hero .eyebrow { color: var(--white); }
.hero h1 { color: var(--white); font-size: 58px; font-weight: 900; text-transform: uppercase; margin: 8px 0 20px; }
.hero h1 span { display: block; color: var(--orange); }
.hero-lead { max-width: 460px; margin-bottom: 30px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 50px; }
.hero-features { display: flex; flex-wrap: wrap; max-width: 640px; }
.hero-features li { display: flex; align-items: center; gap: 12px; padding: 0 22px; font-size: 13px; font-weight: 500; line-height: 1.3; border-right: 1px solid rgba(255,255,255,.25); }
.hero-features li:first-child { padding-left: 0; }
.hero-features li:last-child { border: none; }
.hero-features i { font-size: 26px; }
.tagline-script { position: absolute; right: 5%; top: 36%; font-family: 'Caveat', cursive; font-size: 46px; line-height: 1.1; text-align: center; transform: rotate(-12deg); color: var(--white); }

/* ---------- Banner halaman dalam ---------- */
.page-banner { position: relative; color: var(--white); padding: 70px 0 60px; overflow: hidden;
               background: linear-gradient(90deg, rgba(10,42,60,.96) 0%, rgba(10,42,60,.8) 55%, rgba(10,42,60,.35) 100%),
                           url('../images/banner.jpg') center/cover no-repeat, var(--navy-dark); }
.page-banner::after { content: 'Engineering a Better Tomorrow'; position: absolute; right: 5%; bottom: 26px; font-family: 'Caveat', cursive;
                      font-size: 30px; transform: rotate(-6deg); opacity: .9; }
.page-banner h1 { color: var(--white); font-size: 42px; font-weight: 900; text-transform: uppercase; margin-bottom: 12px; }
.page-banner h1::after { content: ''; display: block; width: 50px; height: 3px; background: var(--orange); margin-top: 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; }
.breadcrumb i { font-size: 9px; opacity: .7; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; align-items: center; }
.about-image { border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.about-image .photo { height: 250px; background: url('../images/gedung.jpg') center/cover, linear-gradient(135deg, #b8c7d1, #7e97a8); }
.about-image .photo.tall { height: 360px; }
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 10px; color: var(--white); }
.about-values li { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; line-height: 1.3; border-right: 1px solid rgba(255,255,255,.25); }
.about-values li:last-child { border: none; }
.about-values i { font-size: 24px; color: var(--orange); }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { background: var(--white); border-radius: var(--radius); padding: 30px; border-top: 4px solid var(--orange); }
.vm-card > i { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.vm-card h3 { font-size: 20px; margin-bottom: 10px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--navy); border-radius: var(--radius); overflow: hidden; }
.value-item { padding: 30px 24px; color: #cfdbe3; border-right: 1px solid rgba(255,255,255,.15); }
.value-item:last-child { border: none; }
.value-item i { font-size: 30px; color: var(--orange); margin-bottom: 14px; }
.value-item h3 { color: var(--white); font-size: 16px; margin-bottom: 8px; }
.value-item p { font-size: 13px; }

.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 2px;
                         width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: var(--white); font-size: 10px; display: grid; place-items: center; }

/* ---------- Kartu layanan ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: block; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(15,59,83,.12); }
.service-card .thumb, .service-row .thumb { height: 150px; background-size: cover; background-position: center; background-color: #9fb3c1; }
.service-card .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white); border: 3px solid var(--white);
                      display: grid; place-items: center; margin: -23px 0 0 16px; position: relative; }
.service-card .body { padding: 10px 16px 20px; }
.service-card h3 { font-size: 15px; margin-bottom: 8px; }
.service-card p { font-size: 13px; line-height: 1.55; }

.intro-text { max-width: 640px; margin-bottom: 36px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-row { display: grid; grid-template-columns: 220px 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-row .thumb { height: 100%; min-height: 200px; }
.service-row .body { padding: 22px 24px; }
.service-row .icon { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; margin-bottom: 12px; }
.service-row h3 { font-size: 17px; margin-bottom: 8px; }
.service-row p { font-size: 14px; margin-bottom: 14px; }

/* ---------- Detail layanan ---------- */
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.detail-image { height: 340px; border-radius: var(--radius); background-size: cover; background-position: center; background-color: #9fb3c1; margin-bottom: 30px; }
.sidebar { display: grid; gap: 20px; position: sticky; top: 110px; }
.side-box { background: var(--light); border-radius: var(--radius); padding: 24px; }
.side-box h4 { font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); }
.side-menu a { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--white); padding: 12px 14px; margin-bottom: 8px;
               border-radius: var(--radius); font-size: 13px; font-weight: 500; color: var(--navy); border-left: 3px solid transparent; }
.side-menu a i { font-size: 10px; }
.side-menu a:hover, .side-menu a.current { border-left-color: var(--orange); color: var(--orange); }
.side-contact { background: var(--navy); color: #cfdbe3; display: grid; gap: 12px; }
.side-contact h4 { color: var(--white); }

/* ---------- Brands ---------- */
.brands { padding: 50px 0; overflow: hidden; }
.brand-slider { position: relative; margin-top: 26px; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.brand-track { display: flex; width: max-content; animation: brand-scroll 45s linear infinite; }
.brand-slider:hover .brand-track { animation-play-state: paused; }
.brand-set { display: flex; align-items: center; gap: 16px; padding-right: 16px; }
.brand-tile { flex: 0 0 auto; width: 180px; height: 88px; display: grid; place-items: center; padding: 14px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.brand-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-tile.dark { background: #17181c; border-color: #17181c; }
.brand-more { text-align: center; margin-top: 22px; font-weight: 500; color: #7a8a95; }
@keyframes brand-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brand-track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ---------- Industries ---------- */
.industries { background: var(--navy); padding: 50px 0; }
.industries .eyebrow, .industries .section-title { color: var(--white); }
.head-note { color: var(--white); font-size: 14px; font-weight: 600; border-bottom: 2px solid var(--orange); }
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.industry-card { background: var(--navy-dark); border-radius: var(--radius); overflow: hidden; }
.industry-card .thumb { height: 95px; background-size: cover; background-position: center; background-color: #3a5b70; }
.industry-card p { color: var(--white); text-align: center; font-weight: 600; font-size: 14px; padding: 10px 6px; }

/* ---------- Download ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.tabs a { padding: 9px 20px; border-radius: var(--radius); border: 2px solid var(--navy); color: var(--navy); font-size: 13px; font-weight: 600; }
.tabs a:hover, .tabs a.active { background: var(--navy); color: var(--white); }
.download-list { display: grid; gap: 12px; }
.download-item { display: grid; grid-template-columns: 50px 1fr auto auto; align-items: center; gap: 20px; padding: 18px 22px;
                 background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); }
.file-icon { font-size: 34px; color: var(--navy); }
.download-item h3 { font-size: 15px; margin-bottom: 2px; }
.download-item p { font-size: 13px; }
.download-item .size { font-size: 13px; color: #6d7c87; white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.info-list { margin-top: 26px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list i { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.info-list strong { display: block; font-family: 'Montserrat'; color: var(--navy); font-size: 14px; }
.info-list a:hover { color: var(--orange); }
.form-box { background: var(--light); border-radius: var(--radius); padding: 34px; border-top: 4px solid var(--orange); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
                                               font-family: inherit; font-size: 14px; color: var(--text); background: var(--white); }
.field textarea { resize: vertical; }
.field-error { display: block; color: #c0392b; font-size: 12px; margin-top: 5px; }
.alert { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #e3f4e8; color: #1e6b3a; border-left: 4px solid #2e9d57; }
.alert-error { background: #fbe7e5; color: #9b2c20; border-left: 4px solid #c0392b; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- CTA ---------- */
.cta { background: var(--light); padding: 44px 0; }
.cta-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta h2 { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #cfdbe3; padding: 55px 0 20px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1.3fr; gap: 34px; }
.site-footer .logo-text strong, .site-footer .logo-text small { color: var(--white); }
.site-footer .logo-img { background: #fff; border-radius: 50%; padding: 5px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.footer-about { margin-top: 16px; max-width: 290px; }
.site-footer h5 { color: var(--white); font-size: 14px; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a:hover { color: var(--orange); }
.contact-list li { display: flex; gap: 10px; }
.contact-list i { width: 16px; margin-top: 4px; color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 34px; height: 34px; border-radius: var(--radius); display: grid; place-items: center; color: var(--white); font-size: 15px; }
.s-linkedin { background: #0a66c2; } .s-instagram { background: #c13584; } .s-youtube { background: #e62117; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 18px; }
.footer-bottom strong { color: var(--white); font-weight: 500; }

/* ---------- Tombol WhatsApp melayang ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white);
            display: grid; place-items: center; font-size: 28px; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 90; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .menu { gap: 20px; }
  .nav-right .btn { padding: 11px 16px; font-size: 13px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .service-list { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tagline-script, .page-banner::after { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  nav#nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 10px 20px rgba(15,59,83,.12); display: none; max-height: calc(100vh - 82px); overflow-y: auto; }
  nav#nav.open { display: block; }
  .menu { flex-direction: column; gap: 0; padding: 6px 5% 16px; }
  .menu > li > a { padding: 13px 0; border-bottom: 1px solid var(--light); justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; min-width: 0; padding: 0 0 6px 14px; }
  .dropdown a { padding: 9px 0; }
  .nav-right .btn { display: none; }
  .about-grid, .contact-grid, .detail-grid, .vm-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero h1 { font-size: 40px; }
  .page-banner h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .section { padding: 50px 0; }
  .section-title { font-size: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .services-grid, .industry-grid, .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .value-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .about-values { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .about-values li { border: none; }
  .hero-features li { border: none; padding: 8px 18px 8px 0; }
  .service-row { grid-template-columns: 1fr; }
  .service-row .thumb { min-height: 160px; }
  .download-item { grid-template-columns: 40px 1fr; }
  .download-item .size { grid-column: 2; }
  .download-item .btn { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text strong { font-size: 16px; }
  .logo-badge { width: 52px; height: 52px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
