/* =============================================================
   PDAM Website - style.css
   PERUMDAM Tirta Makmur
   ============================================================= */

/* ===========================
   1. CSS VARIABLES / DESIGN TOKENS
   =========================== */
:root {
  /* Primary Brand Colors */
  --color-primary: #0077b6;
  --color-primary-dark: #005f8e;
  --color-primary-light: #00b4d8;
  --color-secondary: #00cfe8;
  --color-accent: #48cae4;

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
  --gradient-hero: linear-gradient(160deg, #023e8a 0%, #0077b6 40%, #00b4d8 100%);
  --gradient-dark: linear-gradient(135deg, #03045e 0%, #0077b6 100%);

  /* Neutral */
  --color-bg: #f0f8ff;
  --color-bg-alt: #e8f4fd;
  --color-surface: #ffffff;
  --color-border: #d0e8f5;
  --color-text: #1a2b3c;
  --color-text-muted: #5a7a99;
  --color-text-light: #8aafc8;

  /* Status */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  /* Spacing */
  --section-padding: 80px;
  --container-max-width: 1200px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 119, 182, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 119, 182, 0.14);
  --shadow-lg: 0 16px 48px rgba(0, 119, 182, 0.18);
  --shadow-xl: 0 24px 64px rgba(0, 119, 182, 0.24);

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Inter", sans-serif;

  /* Transition */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow: 0.6s ease;

  /* Navbar */
  --navbar-height: 72px;
}

/* ===========================
   2. RESET & BASE
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-secondary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

main,
section,
footer {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
input,
textarea,
select {
  font-family: inherit;
}

/* ===========================
   3. CONTAINER
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   4. TYPOGRAPHY
   =========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ===========================
   5. NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition:
    background var(--transition-normal),
    box-shadow var(--transition-normal),
    height var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  height: 64px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.4);
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-icon-wrap {
  transform: rotate(-10deg) scale(1.05);
}

.brand-logo {
  height: 44px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition-normal);
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-normal);
}

.navbar.scrolled .brand-name {
  color: var(--color-text);
}
.navbar.scrolled .brand-tagline {
  color: var(--color-text-muted);
}

/* Nav Menu */
.navbar-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-fast);
}

.navbar.scrolled .nav-link {
  color: var(--color-text);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

/* Highlight (Cek Tagihan) */
.nav-highlight {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar.scrolled .nav-highlight {
  background: var(--gradient-primary) !important;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.3);
}

.navbar.scrolled .nav-highlight:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

/* CTA Button (Pengaduan) */
.nav-btn {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(72, 202, 228, 0.4);
  transition: all var(--transition-fast);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 202, 228, 0.5);
  background: #5dd0e8 !important;
}

/* Dropdown */
.nav-item.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-item.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.dropdown-menu li a i {
  width: 18px;
  color: var(--color-primary);
}

.dropdown-menu li a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  padding-left: 18px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 4px;
  transition: all var(--transition-normal);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar.scrolled .hamburger {
  background: var(--color-bg-alt);
}
.navbar.scrolled .hamburger-line {
  background: var(--color-text);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(4px);
}

/* ===========================
   6. HERO SECTION
   =========================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero-circle-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}
.hero-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -50px;
  background: rgba(255, 255, 255, 0.04);
}
.hero-circle-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 30%;
  background: rgba(255, 255, 255, 0.03);
}

.swiper.hero-swiper {
  width: 100%;
  min-height: 100vh;
}

.hero-slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #fff;
  padding: 60px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-title .highlight {
  background: linear-gradient(90deg, #48cae4, #ade8f4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--color-primary-dark);
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-3px);
}

/* Hero Quick Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* Swiper Pagination */
.hero-pagination {
  position: absolute;
  bottom: 32px !important;
  left: 50% !important;
  transform: translateX(-50%);
}

.hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all var(--transition-normal);
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 4px;
  background: #fff;
}

/* ===========================
   7. STATS SECTION
   =========================== */
.stats-section {
  background: var(--color-surface);
  padding: 0;
  margin-top: -1px;
}

.stats-bar {
  background: var(--gradient-primary);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.stat-card {
  text-align: center;
  padding: 24px;
  color: #fff;
  position: relative;
}

.stat-card + .stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 12px;
}

.stat-value {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  opacity: 0.85;
  font-weight: 500;
}

/* ===========================
   8. LAYANAN SECTION
   =========================== */
.layanan-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.layanan-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.layanan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

.layanan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.layanan-card:hover::before {
  transform: scaleX(1);
}

.layanan-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 20px;
  transition: transform var(--transition-normal);
}

.layanan-card:hover .layanan-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.layanan-title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.layanan-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ===========================
   9. BERITA SECTION
   =========================== */
.berita-section {
  padding: var(--section-padding) 0;
  background: var(--color-surface);
}

.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.berita-card {
  background: var(--color-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.berita-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.berita-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: var(--gradient-primary);
}

.berita-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.berita-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.5);
}

.berita-kategori {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 100px;
}

.berita-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.berita-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.berita-meta i {
  color: var(--color-primary-light);
}

.berita-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  transition: color var(--transition-fast);
}

.berita-card:hover .berita-title {
  color: var(--color-primary);
}

.berita-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 18px;
}

.berita-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.berita-card:hover .berita-link {
  gap: 10px;
}

/* ===========================
   10. GALERI SECTION
   =========================== */
.galeri-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.galeri-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gradient-dark);
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.galeri-item:hover img {
  transform: scale(1.1);
}

.galeri-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 60, 100, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.galeri-item:hover .galeri-overlay {
  opacity: 1;
}

.galeri-caption {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.galeri-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: rgba(255, 255, 255, 0.5);
  font-size: 2.5rem;
}

/* ===========================
   11. CTA SECTION
   =========================== */
.cta-section {
  padding: var(--section-padding) 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ===========================
   12. BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.45);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--color-primary-dark);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 12px;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.btn-see-all:hover {
  background: var(--color-bg-alt);
  gap: 12px;
}

/* ===========================
   13. SECTION HEADER WITH ACTION
   =========================== */
.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header-flex .section-title {
  margin-bottom: 8px;
}
.section-header-flex .section-subtitle {
  margin: 0;
  text-align: left;
}

/* ===========================
   14. CEK TAGIHAN PAGE
   =========================== */
.page-header {
  background: var(--gradient-hero);
  padding: 120px 0 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.page-header-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-header-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}
.page-header-breadcrumb a:hover {
  color: #fff;
}

.tagihan-section {
  padding: 60px 0 var(--section-padding);
}

.tagihan-search-box {
  background: var(--color-surface);
  border-radius: var(--border-radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto 48px;
  border: 1px solid var(--color-border);
}

.tagihan-search-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.tagihan-search-desc {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.search-form-group {
  display: flex;
  gap: 12px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 1rem;
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition-fast);
  outline: none;
}

.search-input:focus {
  border-color: var(--color-primary);
  background: #fff;
}

.tagihan-result {
  max-width: 760px;
  margin: 0 auto;
  display: none;
}

.tagihan-result.show {
  display: block;
}

.pelanggan-info-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.pelanggan-info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 12px;
}

.pelanggan-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.pelanggan-info-item label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.pelanggan-info-item span {
  font-weight: 600;
  color: var(--color-text);
}

.tagihan-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.tagihan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--color-border);
}

.tagihan-card-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-danger {
  background: #fee2e2;
  color: var(--color-danger);
}
.badge-success {
  background: #d1fae5;
  color: var(--color-success);
}
.badge-warning {
  background: #fef3c7;
  color: var(--color-warning);
}
.badge-info {
  background: #dbeafe;
  color: var(--color-info);
}
.badge-secondary {
  background: #f1f5f9;
  color: #64748b;
}

.tagihan-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.tagihan-detail-item label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 3px;
}

.tagihan-detail-item span {
  font-weight: 600;
  font-size: 0.95rem;
}

.tagihan-total {
  background: var(--gradient-primary);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tagihan-total-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.tagihan-total-value {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-primary);
}

/* ===========================
   15. PENGADUAN PAGE
   =========================== */
.pengaduan-section {
  padding: 60px 0 var(--section-padding);
}

.pengaduan-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.form-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.form-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--color-danger);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A7A99' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 5px;
}

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid var(--color-success);
}
.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid var(--color-danger);
}
.alert-info {
  background: #dbeafe;
  color: #1e40af;
  border-left: 4px solid var(--color-info);
}

/* ===========================
   16. BERITA PAGE
   =========================== */
.berita-page-section {
  padding: 60px 0 var(--section-padding);
}

.berita-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.berita-list-card {
  display: flex;
  gap: 20px;
  background: var(--color-surface);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}

.berita-list-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.berita-list-thumb {
  width: 180px;
  min-height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--gradient-primary);
}

.berita-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.berita-list-card:hover .berita-list-thumb img {
  transform: scale(1.1);
}

.berita-list-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.sidebar-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}

.sidebar-recent-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.sidebar-recent-item:last-child {
  border-bottom: none;
}
.sidebar-recent-item:hover {
  color: var(--color-primary);
}

.sidebar-recent-thumb {
  width: 60px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gradient-primary);
}

.sidebar-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-recent-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-recent-date {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Pagination */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.page-item .page-link:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.page-item.active .page-link {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

/* ===========================
   17. DETAIL BERITA
   =========================== */
.berita-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
}

.article-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.article-featured-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.article-body {
  padding: 40px;
}

.article-kategori {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.article-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
}

.article-content p {
  margin-bottom: 18px;
}
.article-content h2,
.article-content h3 {
  margin: 28px 0 14px;
  font-family: var(--font-primary);
}
.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content img {
  border-radius: var(--border-radius);
  margin: 16px 0;
  width: 100%;
}
.article-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 12px 20px;
  background: var(--color-bg-alt);
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}

/* ===========================
   18. FOOTER
   =========================== */
.footer {
  background: #03045e;
  color: rgba(255, 255, 255, 0.8);
}

.footer-top {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1.5fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand-name {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.footer-sosmed {
  display: flex;
  gap: 10px;
}

.sosmed-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.sosmed-link:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-primary-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
  transition: all var(--transition-fast);
}

.footer-links li a i {
  font-size: 0.65rem;
  color: var(--color-primary-light);
}

.footer-links li a:hover {
  color: #fff;
  padding-left: 4px;
}

.jam-layanan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.jam-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
}

.jam-item i {
  color: var(--color-primary-light);
  margin-top: 2px;
}
.jam-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
  font-size: 0.82rem;
}
.jam-item span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}
.jam-libur i {
  color: var(--color-danger);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact li i {
  color: var(--color-primary-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}
.footer-contact li a:hover {
  color: #fff;
}

.footer-map {
  border-radius: var(--border-radius);
  overflow: hidden;
}
.footer-map-placeholder {
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  gap: 8px;
  font-size: 2rem;
}
.footer-map-placeholder p {
  font-size: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.copyright,
.footer-bottom-right {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-right .fa-heart {
  color: #ef4444;
  margin: 0 2px;
}

.mt-4 {
  margin-top: 24px;
}

/* ===========================
   19. BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===========================
   20. LIGHTBOX
   =========================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-normal);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
  font-size: 0.88rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===========================
   21. LOADING SPINNER
   =========================== */
.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(0, 119, 182, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===========================
   22. UTILITY
   =========================== */
.text-center {
  text-align: center;
}
.text-primary {
  color: var(--color-primary);
}
.text-muted {
  color: var(--color-text-muted);
}
.text-success {
  color: var(--color-success);
}
.text-danger {
  color: var(--color-danger);
}
.text-warning {
  color: var(--color-warning);
}
.fw-bold {
  font-weight: 700;
}
.fw-semibold {
  font-weight: 600;
}
.d-none {
  display: none !important;
}
.d-flex {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.gap-2 {
  gap: 8px;
}
.gap-3 {
  gap: 16px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-2 {
  margin-bottom: 8px;
}
.mb-3 {
  margin-bottom: 16px;
}
.mb-4 {
  margin-bottom: 24px;
}

/* ===========================
   23. RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .layanan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .berita-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .berita-page-layout {
    grid-template-columns: 1fr;
  }
  .berita-detail-layout {
    grid-template-columns: 1fr;
  }
  .pengaduan-layout {
    grid-template-columns: 1fr;
  }
}

/* FIX SIDEBAR MOBILE FULL HEIGHT */
@media screen and (max-width: 768px) {
  .navbar,
  .navbar.scrolled,
  .navbar.navbar-subpage {
    overflow: visible !important;
    contain: none !important;
    transform: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #navbarMenu.navbar-menu {
    position: fixed !important;
    inset: 0 0 0 auto !important;

    width: min(300px, 85vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;

    margin: 0 !important;
    padding: 80px 20px 24px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    background: #ffffff !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;

    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
    z-index: 9999 !important;

    transform: translateX(105%);
    transition: transform 0.35s ease !important;
  }

  #navbarMenu.navbar-menu.open {
    right: 0 !important;
    transform: translateX(0) !important;
  }

  #navbarMenu .nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #navbarMenu .nav-item {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    flex: none !important;
  }

  #navbarMenu .nav-link {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
  }

  #hamburgerBtn {
    position: relative;
    z-index: 10000 !important;
  }

  #navOverlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9998 !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .galeri-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .tagihan-detail-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats {
    gap: 12px;
  }
}
/* Logo footer agar kontras dengan background */
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-logo-wrap img {
  display: block;
  width: auto;
  max-width: 280px;
  max-height: 150px;
  object-fit: contain;
}

/* Ikon media sosial */
.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  transition: 0.25s ease;
}

.footer-social a:hover {
  color: #052d55;
  background: #ffffff;
  transform: translateY(-3px);
}

/* Tombol kembali ke atas */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  padding: 0;

  color: #ffffff;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.4);

  font-size: 1.1rem;
  line-height: 1;

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.3s ease;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: linear-gradient(135deg, #005f8e, #0077b6);
  transform: translateY(-3px);
}

#backToTop i {
  display: block;
  color: #ffffff;
}
/* Logo PDAM pada footer */
.footer-logo {
  display: block;
  width: 100%;
  margin-bottom: 24px;
}

.footer-logo-background {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 330px;
  min-height: 180px;
  padding: 18px 24px;

  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.footer-logo-background img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 285px;
  max-height: 160px;
  object-fit: contain;
}

/* Tampilan mobile */
@media (max-width: 768px) {
  .footer-logo-background {
    max-width: 300px;
    min-height: 150px;
    padding: 16px 20px;
  }

  .footer-logo-background img {
    max-width: 260px;
    max-height: 130px;
  }
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  margin-bottom: 40px;
}

.galeri-item {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #e2e8f0;
  cursor: pointer;
}

.galeri-item > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galeri-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94a3b8;
  background: #f1f5f9;
}

.galeri-placeholder i {
  font-size: 2.5rem;
}

.galeri-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 45px 16px 15px;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.9), transparent);
  pointer-events: none;
}

.galeri-caption {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.galeri-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-surface);
  color: var(--color-text-muted);
  text-align: center;
}

.galeri-empty i {
  display: block;
  margin-bottom: 16px;
  color: var(--color-text-light);
  font-size: 3rem;
}

.galeri-empty p {
  margin: 0;
  font-size: 1.1rem;
}

.galeri-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Tersembunyi sebelum dibuka */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox[aria-hidden="true"] {
  display: none;
}

.gallery-lightbox[aria-hidden="false"] {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.92);
}

.gallery-lightbox-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1100px, 92vw);
  max-height: 90vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 5;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  cursor: pointer;
}

.lightbox-img {
  display: none;
  max-width: 100%;
  max-height: 76vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-img.is-loaded {
  display: block;
}

.gallery-lightbox-loading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
}

.gallery-lightbox-loading.is-hidden {
  display: none;
}

.lightbox-caption {
  margin-top: 16px;
  color: #fff;
  text-align: center;
}

body.lightbox-open {
  overflow: hidden;
}

/* =========================================================
   HERO HOME - FINAL
   ========================================================= */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-section .hero-swiper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 650px;
  overflow: hidden;
}

.hero-section .hero-swiper .swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
}

.hero-section .hero-swiper .swiper-slide {
  position: relative;

  width: 100% !important;
  min-width: 100% !important;

  height: 100vh;
  min-height: 650px;

  flex: 0 0 100%;

  display: flex;
  align-items: center;

  /* PENTING UNTUK BACKGROUND */
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;

  overflow: hidden;
}

/* overlay supaya tulisan tetap jelas */
.hero-section .hero-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(90deg, rgba(0, 48, 82, 0.82) 0%, rgba(0, 65, 105, 0.65) 42%, rgba(0, 80, 125, 0.25) 75%, rgba(0, 80, 125, 0.1) 100%);

  pointer-events: none;
}

.hero-section .hero-swiper .swiper-slide > .container {
  position: relative;
  z-index: 3;

  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 3;

  width: 100%;
  max-width: 680px;

  padding: calc(var(--navbar-height) + 40px) 0 80px;

  color: #fff;
}

/* PAGINATION */
.hero-section .hero-pagination {
  position: absolute;

  left: 0 !important;
  right: 0 !important;
  bottom: 25px !important;

  width: 100%;
  z-index: 20;

  transform: none !important;
  text-align: center;
}

/* BUTTON PREV NEXT */
.hero-button-prev,
.hero-button-next {
  z-index: 25;

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;

  background: rgba(0, 43, 73, 0.55);
  color: #fff;

  backdrop-filter: blur(6px);
}

.hero-button-prev::after,
.hero-button-next::after {
  font-size: 1rem;
  font-weight: 800;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
  .hero-section,
  .hero-section .hero-swiper,
  .hero-section .hero-swiper .swiper-slide {
    min-height: 700px;
  }

  .hero-content {
    max-width: 600px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: 680px;
  }

  .hero-section .hero-swiper {
    min-height: 680px;
  }

  .hero-section .hero-swiper .swiper-slide {
    height: auto;
    min-height: 680px;

    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  .hero-section .hero-swiper .swiper-slide > .container {
    min-height: 680px;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;

    padding-top: 110px;
    padding-bottom: 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-button-prev,
  .hero-button-next {
    display: none !important;
  }
}

/* =========================================================
   MOBILE KECIL
   ========================================================= */

@media (max-width: 480px) {
  .hero-section,
  .hero-section .hero-swiper,
  .hero-section .hero-swiper .swiper-slide,
  .hero-section .hero-swiper .swiper-slide > .container {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 70px;
  }

  .hero-tag {
    font-size: 0.68rem;
    padding: 7px 12px;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 25px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    margin-top: 30px;
    padding-top: 22px;
    gap: 20px;
  }

  .hero-stat-value {
    font-size: 1.45rem;
  }

  .hero-stat-label {
    font-size: 0.68rem;
  }
}

/* =============================================================
   RIWAYAT TAGIHAN
============================================================= */
.history-card {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #dbe7f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 64, 97, 0.08);
}

.history-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid #e6eef4;
  background: linear-gradient(135deg, #ffffff, #f5fbff);
}

.history-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.history-card-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(0, 119, 182, 0.11);
  color: var(--color-primary);
  font-size: 1.1rem;
}

.history-card-title h3 {
  margin: 0 0 3px;
  color: var(--color-text);
  font-size: 1.12rem;
}

.history-card-title p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.history-count {
  display: flex;
  min-width: 110px;
  padding: 9px 14px;
  flex-direction: column;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
}

.history-count strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.history-count span {
  font-size: 0.68rem;
  opacity: 0.85;
}

.history-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.history-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.history-table th {
  padding: 13px 14px;
  border-bottom: 2px solid #dfeaf2;
  background: #f6f9fc;
  color: #60758a;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.history-table td {
  padding: 15px 14px;
  border-bottom: 1px solid #e8eff4;
  color: var(--color-text);
  vertical-align: middle;
}

.history-table tbody tr:last-child td {
  border-bottom: 0;
}

.history-table tbody tr {
  transition: background 0.2s ease;
}

.history-table tbody tr:hover {
  background: #f8fcff;
}

.history-number {
  width: 45px;
  color: var(--color-text-muted) !important;
  text-align: center;
}

.history-period {
  display: flex;
  min-width: 145px;
  align-items: center;
  gap: 10px;
}

.history-period-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #e8f6fc;
  color: var(--color-primary);
}

.history-period strong,
.history-period small {
  display: block;
  white-space: nowrap;
}

.history-period strong {
  font-size: 0.82rem;
}

.history-period small {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-family: monospace;
  font-size: 0.68rem;
}

.history-meter {
  display: flex;
  min-width: 155px;
  align-items: center;
  gap: 9px;
}

.history-meter > div {
  min-width: 48px;
}

.history-meter small,
.history-meter strong {
  display: block;
}

.history-meter small {
  color: var(--color-text-muted);
  font-size: 0.65rem;
}

.history-meter strong {
  margin-top: 2px;
  font-size: 0.82rem;
}

.history-meter > i {
  color: #a7b8c6;
  font-size: 0.65rem;
}

.history-usage {
  display: inline-flex;
  min-width: 65px;
  padding: 7px 10px;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  border-radius: 9px;
  background: #e9f9f3;
  color: #047857;
  font-weight: 800;
}

.history-usage small {
  font-size: 0.65rem;
}

.history-cost-detail {
  display: grid;
  min-width: 145px;
  gap: 3px;
}

.history-cost-detail span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.68rem;
}

.history-cost-detail strong {
  color: var(--color-text);
  font-weight: 600;
}

.history-cost-detail .cost-penalty,
.history-cost-detail .cost-penalty strong {
  color: #dc2626;
}

.history-total {
  display: block;
  min-width: 100px;
  color: var(--color-primary);
  font-size: 0.88rem;
  white-space: nowrap;
}

.tagihan-status {
  display: inline-flex;
  min-width: 105px;
  padding: 6px 10px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
}

.status-paid {
  background: #dcfce7;
  color: #047857;
}

.status-unpaid {
  background: #fee2e2;
  color: #b91c1c;
}

.history-payment {
  min-width: 130px;
}

.history-payment strong,
.history-payment small {
  display: block;
}

.history-payment strong {
  font-size: 0.75rem;
  white-space: nowrap;
}

.history-payment small {
  max-width: 150px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-payment small i {
  margin-right: 3px;
  color: var(--color-primary);
}

.history-not-paid {
  color: #b91c1c;
  font-size: 0.7rem;
  font-style: italic;
  white-space: nowrap;
}

/* Mobile: tabel berubah menjadi kartu */
@media (max-width: 768px) {
  .history-card-header {
    align-items: flex-start;
    padding: 18px;
    flex-direction: column;
  }

  .history-count {
    min-width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
  }

  .history-table-wrapper {
    padding: 12px;
    overflow: visible;
  }

  .history-table {
    min-width: 0;
  }

  .history-table thead {
    display: none;
  }

  .history-table,
  .history-table tbody,
  .history-table tr,
  .history-table td {
    display: block;
    width: 100%;
  }

  .history-table tr {
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid #dce8f0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 64, 97, 0.06);
  }

  .history-table tr:last-child {
    margin-bottom: 0;
  }

  .history-table td {
    display: flex;
    min-height: 45px;
    padding: 10px 0;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px dashed #e0e9ef;
    text-align: right;
  }

  .history-table td:last-child {
    border-bottom: 0;
  }

  .history-table td::before {
    content: attr(data-label);
    flex-shrink: 0;
    color: var(--color-text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
  }

  .history-number {
    display: none !important;
  }

  .history-period,
  .history-meter,
  .history-cost-detail,
  .history-payment {
    min-width: 0;
  }

  .history-period-icon {
    display: none;
  }

  .history-cost-detail {
    width: min(190px, 65%);
  }

  .history-payment {
    max-width: 65%;
  }
}
.tagihan-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.tagihan-summary-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #dbe8f0;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(15, 63, 88, 0.07);
}

.tagihan-summary-card.nominal {
  background: linear-gradient(135deg, #fff7f7, #ffffff);
  border-color: #fecaca;
}

.tagihan-summary-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.3rem;
}

.tagihan-summary-icon.count {
  color: #0284c7;
  background: #e0f2fe;
}

.tagihan-summary-icon.money {
  color: #dc2626;
  background: #fee2e2;
}

.tagihan-summary-content {
  min-width: 0;
}

.tagihan-summary-label {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
}

.tagihan-summary-value {
  display: block;
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
}

.tagihan-summary-value.nominal-value {
  color: #dc2626;
}

.tagihan-summary-note {
  display: block;
  margin-top: 5px;
  color: #94a3b8;
  font-size: 0.72rem;
}

@media (max-width: 640px) {
  .tagihan-summary-grid {
    grid-template-columns: 1fr;
  }

  .tagihan-summary-card {
    min-height: 96px;
    padding: 16px;
  }

  .tagihan-summary-value {
    font-size: 1.15rem;
  }
}

/* =========================================================
   HOME POPUP
========================================================= */

.home-popup {
  position: fixed;
  inset: 0;

  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.home-popup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-popup-backdrop {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
  padding: 0;

  background: rgba(5, 18, 32, 0.82);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  cursor: pointer;
}

.home-popup-dialog {
  position: relative;
  z-index: 2;

  width: auto;
  max-width: min(600px, 92vw);

  max-height: 90vh;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;

  transform: translateY(18px) scale(0.94);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.home-popup.show .home-popup-dialog {
  opacity: 1;

  transform: translateY(0) scale(1);
}

.home-popup-image {
  display: block;

  width: auto;
  max-width: 100%;

  height: auto;
  max-height: 88vh;

  object-fit: contain;

  border-radius: 16px;

  background: #fff;

  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.home-popup-close {
  position: absolute;

  top: -17px;
  right: -17px;

  z-index: 5;

  width: 43px;
  height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 3px solid #fff;
  border-radius: 50%;

  background: #ec407a;
  color: #fff;

  font-size: 19px;

  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.home-popup-close:hover {
  background: #d81b60;
  transform: scale(1.06);
}

body.home-popup-open {
  overflow: hidden !important;
}

/* Mobile */
@media (max-width: 576px) {
  .home-popup {
    padding: 14px;
  }

  .home-popup-dialog {
    max-width: 94vw;
    max-height: 92vh;
  }

  .home-popup-image {
    max-height: 88vh;
    border-radius: 13px;
  }

  .home-popup-close {
    top: -12px;
    right: -7px;

    width: 38px;
    height: 38px;

    border-width: 2px;

    font-size: 17px;
  }
}
