/* Website publik PDAM Tirta Langkisau. Palet air (sama dengan halaman masuk). */
:root {
  --air-1: #062a43; --air-2: #0b4f78; --air-3: #0e7490; --air-4: #22d3ee; --air-muda: #e6f6fa;
  --tinta: #0f2133; --tinta-2: #4a5d6e; --garis: #e1e9f0; --latar: #f6f9fc;
  --radius: 1rem; --bayang: 0 .5rem 1.5rem rgba(6, 42, 67, .07); --bayang-naik: 0 1rem 2.25rem rgba(6, 42, 67, .14);
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--tinta); --bs-link-color: var(--air-3); --bs-link-hover-color: var(--air-2);
}
body { background: #fff; color: var(--tinta); }
.lewati { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--air-2); color: #fff; padding: .5rem 1rem; }
.lewati:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid rgba(14, 116, 144, .45); outline-offset: 2px; }

/* Navigasi */
.web-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.web-nav .container { min-height: 72px; }
.web-nav.tergulir { border-color: var(--garis); box-shadow: 0 .25rem 1rem rgba(6, 42, 67, .06); }
.web-brand { display: flex; align-items: center; gap: .65rem; color: var(--tinta); text-decoration: none; }
.web-brand img { height: 38px; width: auto; }
.web-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.web-brand b { font-weight: 800; letter-spacing: -.01em; }
.web-brand small { color: var(--tinta-2); font-size: .72rem; }
.web-brand-putih { color: #fff; } .web-brand-putih img { background: #fff; border-radius: .6rem; padding: .3rem .45rem; height: 44px; } .web-brand-putih small { color: rgba(255, 255, 255, .7); }
.web-menu { gap: .25rem; margin-left: 1.5rem; }
.web-menu a { color: var(--tinta-2); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .5rem .75rem; border-radius: .6rem; }
.web-menu a:hover { color: var(--air-2); background: var(--air-muda); }
.web-menu a.active { color: var(--air-2); background: var(--air-muda); }
.web-btn-utama, .web-btn-garis { align-items: center; justify-content: center; font-weight: 700; border-radius: .75rem; padding: .6rem 1.1rem; }
.web-btn-utama { color: #fff; border: 0; background: linear-gradient(135deg, var(--air-3), var(--air-2)); box-shadow: 0 .5rem 1.2rem rgba(14, 116, 144, .25); }
.web-btn-utama:hover, .web-btn-utama:focus-visible { color: #fff; background: linear-gradient(135deg, var(--air-2), var(--air-1)); }
.web-btn-garis { color: var(--air-2); background: #fff; border: 1.5px solid var(--garis); }
.web-btn-garis:hover { color: var(--air-2); border-color: var(--air-3); background: var(--air-muda); }
.web-burger { width: 44px; height: 44px; border-radius: .75rem; border: 1px solid var(--garis); background: #fff; font-size: 1.35rem; color: var(--tinta); }
.web-laci { max-width: 320px; }
.web-laci-menu a { display: flex; justify-content: space-between; align-items: center; padding: .85rem .5rem; border-bottom: 1px solid var(--garis); color: var(--tinta); text-decoration: none; font-weight: 600; }
.web-laci-menu a.active, .web-laci-menu a:hover { color: var(--air-3); }

/* Hero */
.web-hero { position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0 6.5rem;
  background: radial-gradient(90% 80% at 85% 0%, rgba(34, 211, 238, .25), transparent 60%), linear-gradient(160deg, var(--air-1) 0%, var(--air-2) 55%, var(--air-3) 100%); }
.web-hero h1 { font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.1; letter-spacing: -.025em; margin: 1rem 0; }
.web-hero h1 span { color: #a5f3fc; }
.web-hero .lead { color: rgba(255, 255, 255, .8); max-width: 34rem; margin-bottom: 1.5rem; }
.web-pita { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; padding: .4rem .8rem; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.web-hero-info span { display: inline-flex; gap: .4rem; align-items: center; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.web-hero-riak { position: absolute; inset: 0; width: 100%; height: 100%; }
.web-hero-riak circle { fill: none; stroke: rgba(165, 243, 252, .13); stroke-width: 1.5; transform-origin: 470px 180px; animation: riak 10s ease-out infinite; }
.web-hero-riak circle:nth-child(2) { animation-delay: -3.3s; } .web-hero-riak circle:nth-child(3) { animation-delay: -6.6s; }
@keyframes riak { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.web-hero-gelombang { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: #fff; }

.web-cek { background: #fff; color: var(--tinta); border-radius: 1.25rem; padding: 2rem; box-shadow: 0 1.5rem 3rem rgba(2, 20, 34, .3); }
.web-cek h2 { font-weight: 800; font-size: 1.4rem; margin-bottom: .25rem; }
.web-cek > p { color: var(--tinta-2); font-size: .92rem; }
.web-cek-input { position: relative; }
.web-cek-input i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--air-3); }
.web-cek-input input { width: 100%; height: 3.5rem; padding: 0 1rem 0 3rem; font-size: 1.15rem; font-weight: 600; letter-spacing: .04em; border: 1.5px solid var(--garis); border-radius: .9rem; background: var(--latar); }
.web-cek-input input:focus { outline: none; border-color: var(--air-3); background: #fff; box-shadow: 0 0 0 .25rem rgba(14, 116, 144, .15); }
.web-cek .btn { height: 3rem; }
.web-cek-bayar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--garis); font-size: .82rem; color: var(--tinta-2); }
.web-cek-bayar b { font-weight: 600; color: var(--tinta); display: inline-flex; gap: .3rem; align-items: center; } .web-cek-bayar i { color: var(--air-3); }

/* Bagian */
.web-bagian { padding: 4.5rem 0; }
.web-bagian-lembut { background: var(--latar); }
.web-judul { text-align: center; margin-bottom: 2.25rem; }
.web-judul span { color: var(--air-3); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.web-judul h2 { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: .35rem 0 0; }
.web-tautan { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--air-3); }
.web-layanan { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--garis); color: var(--tinta); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.web-layanan:hover, .web-layanan:focus-visible { transform: translateY(-3px); box-shadow: var(--bayang-naik); border-color: transparent; color: var(--tinta); }
.web-layanan b { font-weight: 700; margin-top: .5rem; }
.web-layanan small { color: var(--tinta-2); line-height: 1.45; }
.web-ikon { width: 3rem; height: 3rem; border-radius: .9rem; display: grid; place-items: center; font-size: 1.45rem; color: var(--air-3); background: var(--air-muda); transition: background .2s, color .2s; }
.web-layanan:hover .web-ikon { background: var(--air-3); color: #fff; }

.web-gangguan { display: flex; gap: 1rem; margin-top: -2.5rem; margin-bottom: 1rem; position: relative; z-index: 2; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; box-shadow: var(--bayang); }
.web-gangguan > i { font-size: 1.6rem; color: #ea580c; }

.web-berita { display: block; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--garis); color: var(--tinta); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.web-berita:hover { box-shadow: var(--bayang-naik); transform: translateY(-3px); color: var(--tinta); }
.web-berita-gambar { aspect-ratio: 16 / 10; background: var(--air-muda); display: grid; place-items: center; color: var(--air-3); font-size: 2rem; }
.web-berita-gambar img { width: 100%; height: 100%; object-fit: cover; }
.web-berita small { color: var(--tinta-2); display: block; margin-bottom: .25rem; }
.web-berita b { font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.web-pengumuman { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); overflow: hidden; }
.web-pengumuman > a:not(.web-tautan) { display: flex; gap: .85rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--garis); text-decoration: none; color: var(--tinta); }
.web-pengumuman > a:not(.web-tautan):hover { background: var(--air-muda); }
.web-pengumuman i { font-size: 1.3rem; color: var(--air-3); }
.web-pengumuman b { font-weight: 600; font-size: .92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.web-pengumuman small { display: block; color: var(--tinta-2); margin-top: .2rem; }
.web-pengumuman .web-tautan { display: flex; padding: .9rem; }

.web-statistik { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3.5rem 0; padding: 1.75rem; border-radius: 1.25rem; background: linear-gradient(135deg, var(--air-muda), #f0f9ff); border: 1px solid var(--garis); text-align: center; }
.web-statistik b { display: block; font-weight: 800; font-size: clamp(1.3rem, 3vw, 2rem); color: var(--air-2); }
.web-statistik span { color: var(--tinta-2); font-size: .85rem; }

/* Footer */
.web-kaki { background: var(--air-1); color: rgba(255, 255, 255, .72); padding: 3.5rem 0 1.5rem; font-size: .92rem; }
.web-kaki h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.web-kaki a { display: block; color: rgba(255, 255, 255, .72); text-decoration: none; padding: .2rem 0; }
.web-kaki a:hover { color: #a5f3fc; }
.web-kaki-bawah { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; text-align: center; }

/* Navigasi bawah (HP) */
.web-bawah { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--garis); padding-bottom: env(safe-area-inset-bottom); }
.web-bawah a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem 0 .5rem; font-size: .7rem; font-weight: 600; color: var(--tinta-2); text-decoration: none; }
.web-bawah i { font-size: 1.35rem; }
.web-bawah a.active { color: var(--air-3); }
@media (max-width: 991.98px) { body { padding-bottom: 64px; } }

.web-toast { border: 0; border-radius: .9rem; box-shadow: var(--bayang-naik); }

/* ---- Halaman isi lama (template Suha): judul halaman + kartu konten ---- */
.web-isi > .header-area { background: linear-gradient(160deg, var(--air-1), var(--air-2) 60%, var(--air-3)); color: #fff; padding: 2.25rem 0 3.5rem; }
.web-isi > .header-area .container { display: flex; align-items: center; justify-content: flex-start !important; gap: .85rem; }
.web-isi > .header-area .back-button a { width: 42px; height: 42px; border-radius: .75rem; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .14); }
.web-isi > .header-area .back-button a:hover { background: rgba(255, 255, 255, .24); }
.web-isi > .header-area .page-heading h6 { color: #fff; font-weight: 800; font-size: clamp(1.25rem, 2.5vw, 1.75rem); letter-spacing: -.01em; margin: 0; }
.web-isi .suha-navbar-toggler, .internet-connection-status, .preloader { display: none !important; }
.web-isi > .page-content-wrapper { margin-top: -2.25rem; padding-bottom: 3.5rem; position: relative; }
.web-isi > .page-content-wrapper > .container { max-width: 960px; }
.web-isi .page-content-wrapper .card { border: 1px solid var(--garis); border-radius: var(--radius); box-shadow: var(--bayang); margin-bottom: 1rem; }
.web-isi .page-content-wrapper .card-body { padding: 1.5rem; }
.about-content-wrap h5, .web-isi .section-heading h6 { font-weight: 800; letter-spacing: -.01em; }
.web-isi .form-control, .web-isi .form-select { min-height: 3rem; border-radius: .75rem; border: 1.5px solid var(--garis); }
.web-isi .form-control:focus, .web-isi .form-select:focus { border-color: var(--air-3); box-shadow: 0 0 0 .25rem rgba(14, 116, 144, .15); }
.web-isi .btn-primary { background: linear-gradient(135deg, var(--air-3), var(--air-2)); border: 0; border-radius: .75rem; font-weight: 700; }
.web-isi .btn-primary:hover { background: linear-gradient(135deg, var(--air-2), var(--air-1)); }
.web-isi .table { --bs-table-striped-bg: var(--latar); }
.web-isi .table th { font-size: .82rem; color: var(--tinta-2); font-weight: 700; }
.catagory-card { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.catagory-card a { color: var(--tinta); text-decoration: none; font-weight: 600; }
.pricing-title { font-weight: 800; color: var(--air-2); }
.pricing-type { color: var(--tinta-2); }
.web-isi img { max-width: 100%; height: auto; }

@media (max-width: 991.98px) {
  .web-hero { padding: 2.75rem 0 5rem; }
  .web-cek { padding: 1.5rem; }
  .web-bagian { padding: 3rem 0; }
  .web-layanan { padding: 1.1rem; } .web-layanan small { font-size: .78rem; }
  .web-statistik { padding: 1.25rem .75rem; margin: 2.5rem 0; }
}
@media (prefers-reduced-motion: reduce) { .web-hero-riak circle { animation: none; } .web-layanan, .web-berita { transition: none; } }
@media (max-width: 767.98px) {
  .web-nav .container, .web-isi .container, .web-kaki .container { padding-left: 1.1rem; padding-right: 1.1rem; }
  .web-berita { display: flex; align-items: stretch; }
  .web-berita-gambar { width: 104px; aspect-ratio: auto; min-height: 92px; flex-shrink: 0; font-size: 1.5rem; }
}
