/* ================================================================
   MPP Kota Magelang – Premium Government Portal
   ================================================================ */

:root {
  /* ── MPP Kota Magelang Official Colors ── */
  /* Teal/Toska dari dinding ruangan MPP */
  --primary:        #007A6E;
  --primary-dark:   #005A52;
  --primary-light:  #009688;
  /* Kuning cerah dari furnitur & rak MPP */
  --secondary:      #FFD600;
  --secondary-dark: #F9A825;
  /* Background dengan nuansa toska lembut */
  --bg:             #F0FAF9;
  --surface:        #FFFFFF;
  --success:        #2E7D32;
  --error:          #DC2626;
  --text:           #1A2B28;
  --text-mid:       #4A6963;
  --text-light:     #8AADA8;
  --border:         #B2DFDB;
  --border-light:   #E0F2F1;
  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.15);
  --shadow-blue: 0 8px 30px rgba(0,122,110,.35);
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px;
  --r-xl: 24px; --r-2xl: 32px; --r-full: 9999px;
  --font: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --t-fast:   150ms cubic-bezier(.4,0,.2,1);
  --t-normal: 250ms cubic-bezier(.4,0,.2,1);
  --t-slow:   400ms cubic-bezier(.4,0,.2,1);
  --nav-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; border-radius: var(--r-full);
  transition: all var(--t-normal); white-space: nowrap;
  font-size: .9375rem; letter-spacing: .01em;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background var(--t-fast);
}
.btn:hover::after { background: rgba(255,255,255,.12); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }

.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: .875rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; box-shadow: var(--shadow-blue); padding: .75rem 1.75rem;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #00B5A0, var(--primary-light));
  box-shadow: 0 12px 40px rgba(0,122,110,.45); transform: translateY(-2px);
}
.btn-secondary {
  background: linear-gradient(135deg, #FFD54F, var(--secondary));
  color: #1E293B; box-shadow: 0 6px 20px rgba(255,193,7,.4); padding: .75rem 1.75rem;
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,193,7,.5); }

.btn-ghost {
  color: var(--primary); border: 2px solid var(--border);
  background: transparent; padding: .625rem 1.5rem;
}
.btn-ghost:hover { border-color: var(--primary); background: rgba(0,122,110,.07); }

.btn-ghost-white {
  color: #fff; border: 2px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px); padding: .75rem 1.75rem;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.2); transform: translateY(-2px); }

.btn-outline-primary {
  color: var(--primary); border: 2px solid var(--primary);
  background: transparent; padding: .75rem 2rem;
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; box-shadow: 0 8px 30px rgba(0,122,110,.35); transform: translateY(-2px); }
.btn-outline-primary svg { width: 16px; height: 16px; }

/* ── SECTIONS ── */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-light { background: var(--bg); }
.section-alt { background: var(--surface); }
.section-gradient {
  background: linear-gradient(135deg, #004A42 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative; overflow: hidden;
}
.section-gradient::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='%23ffffff' fill-opacity='0.03'%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/svg%3E");
}

.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(0,122,110,.08); color: var(--primary);
  border: 1px solid rgba(0,122,110,.2); border-radius: var(--r-full);
  padding: .375rem 1rem; font-size: .8125rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1rem;
}
.badge-white { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800;
  color: var(--text); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.0625rem; color: var(--text-mid);
  max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.text-white { color: #fff !important; }
.text-white-80 { color: rgba(255,255,255,.8) !important; }
.section-cta { text-align: center; margin-top: 3rem; }

.glass-card {
  background: rgba(255,255,255,.85); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
.glass-card-dark {
  background: rgba(255,255,255,.08); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-xl); box-shadow: 0 4px 30px rgba(0,0,0,.2);
}

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--t-slow), box-shadow var(--t-slow);
  height: var(--nav-h);
}
.header.scrolled {
  background: rgba(255,255,255,.95); backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.header.scrolled .logo-title { color: var(--primary); }
.header.scrolled .logo-subtitle { color: var(--text-mid); }
.header.scrolled .nav-link { color: var(--text-mid); }
.header.scrolled .nav-link:hover { color: var(--primary); }
.header.scrolled .btn-ghost { color: var(--text-mid); }

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: var(--nav-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  max-width: 1280px; margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  flex-shrink: 0; transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: .85; }
.logo-emblem { display: flex; align-items: center; }
.logo-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  /* Clip precisely to circle — removes the white corners of JPG */
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  overflow: hidden;
  display: block;
  /* Crisp rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
  transition: transform var(--t-fast), filter var(--t-fast);
}
.nav-logo:hover .logo-img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.45));
}
.header.scrolled .logo-img {
  filter: drop-shadow(0 2px 8px rgba(0,122,110,.3));
}
/* Footer logo — slightly larger */
.footer-logo-emblem .logo-img {
  width: 60px;
  height: 60px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-title { font-size: 1.125rem; font-weight: 800; color: #fff; transition: color var(--t-fast); }
.logo-subtitle { font-size: .7rem; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: .04em; text-transform: uppercase; transition: color var(--t-fast); }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .5rem .875rem; border-radius: var(--r-full);
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.85);
  transition: all var(--t-fast); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.15); }

.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-actions .btn-ghost { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.4); }
.nav-actions .btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.1); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: .5rem; border-radius: var(--r-sm); }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; transition: all var(--t-normal); }
.header.scrolled .hamburger span { background: var(--text-mid); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.97); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1rem,4vw,2.5rem) 2rem;
  transform: translateY(-110%); opacity: 0;
  transition: all var(--t-slow); z-index: 999; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu ul { margin-bottom: 1.5rem; }
.mobile-menu .nav-link { display: block; color: var(--text); padding: .875rem 0; border-bottom: 1px solid var(--border-light); border-radius: 0; }
.mobile-menu .nav-link:hover { color: var(--primary); background: none; }
.mobile-actions { display: flex; flex-direction: column; gap: .75rem; }

/* ================================================================
   HERO
   ================================================================ */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-image-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.05); transition: transform 8s ease;
}
.hero-section:hover .hero-image-bg { transform: scale(1.02); }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,50,44,.75) 0%,
    rgba(0,90,80,.65) 35%,
    rgba(0,150,136,.45) 65%,
    rgba(0,60,52,.60) 100%
  );
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding-top: 1.5rem; padding-bottom: 2rem; width: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-full); padding: .4rem 1rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .875rem;
  animation: fadeInDown .6s ease both;
}
.badge-dot { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; animation: pulse 2s infinite; }

.hero-headline {
  font-size: clamp(1.75rem, 4.5vw, 3.25rem); font-weight: 800; color: #fff;
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: .875rem;
  animation: fadeInDown .7s .1s ease both;
}
.headline-accent {
  background: linear-gradient(135deg, var(--secondary), #FFD54F);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subheadline {
  font-size: clamp(.9rem, 1.6vw, 1.05rem); color: rgba(255,255,255,.85);
  max-width: 600px; line-height: 1.6; margin-bottom: 1.25rem;
  animation: fadeInDown .7s .2s ease both;
}
.hero-subheadline strong { color: #fff; font-weight: 600; }

.hero-search { max-width: 640px; margin-bottom: 1.25rem; animation: fadeInDown .7s .3s ease both; }
.search-wrapper {
  display: flex; align-items: center;
  background: rgba(255,255,255,.96); border-radius: var(--r-full);
  padding: .5rem .5rem .5rem 1.25rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.3);
  transition: box-shadow var(--t-normal);
}
.search-wrapper:focus-within { box-shadow: 0 8px 40px rgba(0,0,0,.3), 0 0 0 3px var(--secondary); }
.search-icon { width: 20px; height: 20px; color: var(--text-light); flex-shrink: 0; }
.search-input { flex: 1; border: none; background: transparent; outline: none; padding: .5rem .75rem; font-size: 1rem; color: var(--text); }
.search-input::placeholder { color: var(--text-light); }
.search-btn {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; border-radius: var(--r-full); padding: .75rem 1.75rem;
  font-size: .9375rem; font-weight: 600; transition: all var(--t-normal); flex-shrink: 0;
}
.search-btn:hover { background: linear-gradient(135deg, #0082F5, var(--primary-light)); box-shadow: var(--shadow-blue); }

.search-tags { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .875rem; color: rgba(255,255,255,.7); font-size: .85rem; }
.search-tag {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85); border-radius: var(--r-full);
  padding: .3rem .875rem; font-size: .8125rem; font-weight: 500; transition: all var(--t-fast);
}
.search-tag:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); color: #fff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; animation: fadeInDown .7s .4s ease both; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 1rem; animation: fadeInUp .8s .5s ease both; }
.stat-card {
  display: flex; align-items: center; gap: .875rem;
  background: rgba(255,255,255,.1); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-lg);
  padding: 1rem 1.5rem; transition: all var(--t-normal); box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.stat-card:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.stat-icon { width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon svg { width: 22px; height: 22px; }
.stat-blue   { background: rgba(0,122,110,.4);   color: #A7F3EC; }
.stat-gold   { background: rgba(255,214,0,.30);  color: var(--secondary); }
.stat-green  { background: rgba(22,163,74,.25);  color: #86EFAC; }
.stat-purple { background: rgba(147,51,234,.25); color: #C4B5FD; }
.stat-info { display: flex; flex-direction: column; }
.stat-number { font-size: 1.625rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat-plus { color: var(--secondary); font-weight: 700; font-size: 1.25rem; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.7); font-weight: 500; margin-top: .125rem; }

.floating-1 { animation: float1 4s ease-in-out infinite; }
.floating-2 { animation: float2 4.5s ease-in-out infinite .5s; }
.floating-3 { animation: float3 5s ease-in-out infinite 1s; }
.floating-4 { animation: float4 4.2s ease-in-out infinite 1.5s; }

.hero-scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .05em;
  animation: fadeIn 1s 1s ease both;
}
.scroll-mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.4); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 3px; height: 8px; background: rgba(255,255,255,.6); border-radius: 3px; animation: scrollWheel 1.5s ease-in-out infinite; }

/* ================================================================
   QUICK SERVICES
   ================================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 1.75rem 1.5rem; cursor: pointer; transition: all var(--t-normal);
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .625rem;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  opacity: 0; transition: opacity var(--t-normal);
}
.service-card:hover { border-color: transparent; box-shadow: 0 12px 40px rgba(0,122,110,.22); transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-name, .service-card:hover .service-count { color: #fff; }
.service-card:hover .service-icon-wrap { background: rgba(255,255,255,.2) !important; }
.service-card:hover .service-icon { stroke: #fff !important; }
.service-card:hover .service-arrow { color: #fff; }
.service-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.service-card:hover .service-icon-wrap { background: rgba(255,255,255,.18) !important; }

.service-icon-wrap {
  width: 64px; height: 64px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .25rem; transition: background var(--t-normal); position: relative; z-index: 1;
}
.service-icon { width: 30px; height: 30px; transition: stroke var(--t-normal); }
.service-name { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.3; transition: color var(--t-normal); position: relative; z-index: 1; }
.service-count { font-size: .8125rem; color: var(--text-light); font-weight: 500; transition: color var(--t-normal); position: relative; z-index: 1; }
.service-arrow { margin-top: auto; width: 20px; height: 20px; color: var(--text-light); transition: all var(--t-fast); position: relative; z-index: 1; }
.service-card:hover .service-arrow { transform: translateX(4px); }

/* ================================================================
   SERVICE CATEGORIES
   ================================================================ */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.category-card { display: flex; gap: 1.5rem; padding: 2rem; transition: all var(--t-normal); cursor: pointer; }
.category-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: rgba(0,91,172,.2); }
.category-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.category-illustration { flex-shrink: 0; }
.cat-icon-bg { width: 64px; height: 64px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; }
.cat-icon-bg svg { width: 32px; height: 32px; }
.category-content { flex: 1; min-width: 0; }
.category-tag { display: inline-block; background: rgba(0,122,110,.09); color: var(--primary); border-radius: var(--r-full); padding: .25rem .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .75rem; }
.category-title { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; line-height: 1.3; }
.category-desc { font-size: .875rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 1rem; }
.category-meta { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1.25rem; }
.meta-item { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--text-mid); }
.meta-item svg { width: 14px; height: 14px; color: var(--primary-light); flex-shrink: 0; }
.category-cta { font-size: .9rem; font-weight: 700; color: var(--primary); transition: gap var(--t-fast); display: inline-flex; align-items: center; gap: .25rem; }
.category-cta:hover { gap: .5rem; }

/* ================================================================
   AGENCIES
   ================================================================ */
.agencies-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.agency-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.5rem; transition: all var(--t-normal); display: flex; flex-direction: column; gap: 1rem; cursor: pointer; }
.agency-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(0,122,110,.25); }
.agency-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.agency-logo-wrap { display: flex; justify-content: center; }
.agency-logo { width: 80px; height: 80px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.agency-logo span { color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-align: center; }
.agency-info { text-align: center; }
.agency-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.agency-full { font-size: .78rem; color: var(--text-light); line-height: 1.4; margin-bottom: .75rem; }
.agency-meta-row { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1rem; }
.agency-services { font-size: .8125rem; color: var(--text-mid); font-weight: 500; }
.agency-status { font-size: .75rem; font-weight: 600; }
.agency-status.open { color: var(--success); }
.agency-status.closed { color: var(--error); }
.agency-detail-btn { display: block; width: 100%; text-align: center; padding: .625rem 1rem; border: 1.5px solid var(--primary); border-radius: var(--r-full); font-size: .875rem; font-weight: 600; color: var(--primary); transition: all var(--t-fast); }
.agency-detail-btn:hover { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(0,122,110,.35); }

/* ================================================================
   ONLINE QUEUE
   ================================================================ */
.queue-dashboard { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; position: relative; z-index: 1; }
.queue-card { padding: 2.5rem; }
.queue-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.queue-header-info h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: .25rem; }
.queue-date { font-size: .875rem; color: rgba(255,255,255,.65); }
.queue-status-badge { display: flex; align-items: center; gap: .5rem; background: rgba(22,163,74,.2); border: 1px solid rgba(22,163,74,.4); color: #86EFAC; border-radius: var(--r-full); padding: .375rem 1rem; font-size: .8125rem; font-weight: 600; }
.pulse-dot { width: 8px; height: 8px; background: #86EFAC; border-radius: 50%; animation: pulse 1.5s infinite; }

.queue-numbers { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.queue-number-box { flex: 1; text-align: center; padding: 1.5rem; border-radius: var(--r-lg); }
.queue-number-box.current { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.queue-number-box.yours { background: rgba(255,193,7,.15); border: 1px solid rgba(255,193,7,.3); }
.queue-label { font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .5rem; }
.queue-num { font-size: 2.5rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; }
.queue-number-box.yours .queue-num { color: var(--secondary); }
.queue-sublabel { font-size: .8125rem; color: rgba(255,255,255,.65); margin-top: .5rem; }
.queue-divider { color: rgba(255,255,255,.3); width: 24px; height: 24px; flex-shrink: 0; }
.queue-divider svg { width: 24px; height: 24px; }

.queue-wait-info { display: flex; gap: 2rem; margin-bottom: 1.75rem; }
.wait-stat { display: flex; align-items: center; gap: .75rem; }
.wait-stat svg { width: 20px; height: 20px; color: rgba(255,255,255,.5); }
.wait-value { display: block; font-size: 1.0625rem; font-weight: 700; color: #fff; }
.wait-label { display: block; font-size: .78rem; color: rgba(255,255,255,.6); }

.queue-progress { margin-bottom: 2rem; }
.progress-label { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: .5rem; }
.progress-bar-track { height: 8px; background: rgba(255,255,255,.12); border-radius: var(--r-full); position: relative; overflow: visible; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, #FFC107, #FFD54F); border-radius: var(--r-full); transition: width .5s ease; box-shadow: 0 0 12px rgba(255,193,7,.4); }
.progress-indicator { position: absolute; top: -24px; transform: translateX(-50%); background: var(--secondary); color: #1E293B; font-size: .68rem; font-weight: 700; padding: .2rem .5rem; border-radius: var(--r-full); white-space: nowrap; }
.queue-actions { display: flex; gap: 1rem; }

.queue-info-panel { display: flex; flex-direction: column; gap: 1rem; }
.info-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 1.5rem; }
.info-card h4 { font-size: .9375rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.hours-list li { display: flex; justify-content: space-between; align-items: center; font-size: .875rem; color: rgba(255,255,255,.7); padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hours-list li:last-child { border-bottom: none; }
.hours-list strong { color: #fff; font-weight: 600; }
.hours-list .closed { color: rgba(255,255,255,.35); }
.counters-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.counter-item { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .75rem; border-radius: var(--r-md); text-align: center; }
.counter-item.active { background: rgba(22,163,74,.15); border: 1px solid rgba(22,163,74,.25); }
.counter-item.inactive { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); opacity: .5; }
.counter-code { font-size: 1.25rem; font-weight: 800; color: #fff; }
.counter-name { font-size: .7rem; color: rgba(255,255,255,.65); font-weight: 500; }

/* ================================================================
   TRACKING
   ================================================================ */
.tracking-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2rem; align-items: start; }
.tracking-form-card { padding: 2.5rem; }
.tracking-form-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.tracking-form-header svg { width: 28px; height: 28px; color: var(--primary); }
.tracking-form-header h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.input-label { display: block; font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.tracking-input { width: 100%; padding: .875rem 1.25rem; border: 2px solid var(--border); border-radius: var(--r-lg); font-size: 1rem; color: var(--text); background: var(--bg); outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); margin-bottom: .5rem; }
.tracking-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,122,110,.12);
}
.input-hint { font-size: .8125rem; color: var(--text-light); margin-bottom: 1.25rem; }

.tracking-result { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); display: none; }
.tracking-result.show { display: block; animation: fadeInUp .4s ease; }
.tracking-result-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.result-label { display: block; font-size: .78rem; color: var(--text-light); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .25rem; }
.result-value { font-size: 1rem; font-weight: 700; color: var(--text); }
.result-status { padding: .375rem 1rem; border-radius: var(--r-full); font-size: .8125rem; font-weight: 700; }
.status-processing { background: rgba(245,158,11,.1); color: #D97706; border: 1px solid rgba(245,158,11,.3); }

.tracking-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-step { display: flex; gap: 1.25rem; align-items: flex-start; position: relative; }
.timeline-step:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 40px; width: 2px; height: calc(100% - 8px); background: var(--border); }
.timeline-step.done:not(:last-child)::after { background: var(--success); }
.timeline-step.active:not(:last-child)::after { background: linear-gradient(to bottom, var(--primary), var(--border)); }
.timeline-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; margin-bottom: 1.5rem; }
.timeline-step.done .timeline-icon { background: var(--success); color: #fff; }
.timeline-step.done .timeline-icon svg { width: 18px; height: 18px; }
.timeline-step.active .timeline-icon { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(0,122,110,.22); }
.timeline-step.pending .timeline-icon { background: var(--border); color: var(--text-light); }
.timeline-step.pending .timeline-icon svg { width: 18px; height: 18px; }
.timeline-content { padding: .5rem 0; }
.timeline-content h4 { font-size: .9375rem; font-weight: 600; color: var(--text); margin-bottom: .2rem; }
.timeline-content p { font-size: .8125rem; color: var(--text-light); }
.timeline-step.pending .timeline-content h4 { color: var(--text-light); }
.timeline-spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; }

.tracking-tips h3 { font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: 1.25rem; }
.tip-card { display: flex; gap: 1rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: .875rem; transition: all var(--t-fast); }
.tip-card:hover { border-color: rgba(0,122,110,.2); box-shadow: var(--shadow-sm); }
.tip-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1.2; }
.tip-card h4 { font-size: .9375rem; font-weight: 600; color: var(--text); margin-bottom: .25rem; }
.tip-card p { font-size: .875rem; color: var(--text-mid); line-height: 1.5; }

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.howto-timeline { display: flex; align-items: flex-start; gap: 0; position: relative; }
.howto-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem; border-radius: var(--r-xl); transition: all var(--t-normal); cursor: pointer; position: relative; z-index: 1; }
.howto-step:hover { background: #E0F2F1; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.howto-step:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.howto-number { position: absolute; top: 1.25rem; right: 1.5rem; width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 50%; font-size: .8125rem; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,91,172,.35); }
.howto-icon-wrap { width: 96px; height: 96px; margin-bottom: 1.25rem; transition: transform var(--t-normal); }
.howto-step:hover .howto-icon-wrap { transform: scale(1.05) rotate(-3deg); }
.howto-icon-wrap svg { width: 100%; height: 100%; }
.howto-title { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.howto-desc { font-size: .875rem; color: var(--text-mid); line-height: 1.6; max-width: 200px; }
.howto-connector { flex-shrink: 0; width: 48px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); margin-top: 80px; position: relative; }
.howto-connector::after { content: '\203A'; position: absolute; right: -10px; top: -12px; color: var(--primary); font-size: 1.25rem; font-weight: 700; }

/* ================================================================
   NEWS
   ================================================================ */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; transition: all var(--t-normal); cursor: pointer; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(0,122,110,.2); }
.news-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.news-card.featured { display: flex; flex-direction: column; }
.news-image-wrap { position: relative; overflow: hidden; }
.news-image-wrap.small-img { width: 100px; height: 100px; flex-shrink: 0; border-radius: var(--r-md); overflow: hidden; }
.news-image { width: 100%; height: 260px; object-fit: cover; transition: transform var(--t-slow); }
.news-card:hover .news-image { transform: scale(1.03); }
.news-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.news-image-placeholder svg { width: 48px; height: 48px; opacity: .6; }
.news-category-badge { position: absolute; top: 1rem; left: 1rem; background: var(--secondary); color: #1E293B; border-radius: var(--r-full); padding: .3rem .875rem; font-size: .75rem; font-weight: 700; }
.news-category-badge-sm {
  background: rgba(0,122,110,.1);
  color: var(--primary); border-radius: var(--r-full); padding: .2rem .625rem; font-size: .7rem; font-weight: 700; }
.news-content { padding: 1.5rem; flex: 1; }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .875rem; font-size: .8125rem; color: var(--text-light); }
.news-meta time { font-weight: 500; }
.news-dot { opacity: .4; }
.news-title { font-size: 1.0625rem; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: .875rem; }
.featured-title { font-size: 1.25rem; }
.news-excerpt { font-size: .9rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 1.25rem; }
.news-read-more { font-size: .875rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: .25rem; transition: gap var(--t-fast); }
.news-read-more:hover { gap: .5rem; }
.news-secondary { display: flex; flex-direction: column; gap: 1.25rem; }
.news-card.small { display: flex; gap: 1rem; padding: 1.25rem; }
.news-card.small .news-content { padding: 0; }

/* ================================================================
   STATISTICS
   ================================================================ */
.stats-dashboard { position: relative; z-index: 1; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
.stat-widget { padding: 1.75rem; transition: transform var(--t-normal); }
.stat-widget:hover { transform: translateY(-4px); }
.stat-widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .875rem; }
.stat-widget-header h4 { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.7); }
.stat-trend { font-size: .78rem; font-weight: 700; padding: .2rem .625rem; border-radius: var(--r-full); }
.stat-trend.positive { background: rgba(22,163,74,.2); color: #86EFAC; }
.stat-trend.negative { background: rgba(59,130,246,.2); color: #93C5FD; }
.stat-widget-value { font-size: 2.25rem; font-weight: 800; color: #fff; letter-spacing: -.03em; margin-bottom: 1rem; }
.mini-chart { height: 60px; display: flex; align-items: flex-end; margin-bottom: .875rem; }
.bar-chart { display: flex; align-items: flex-end; gap: 4px; width: 100%; height: 100%; }
.bar { flex: 1; background: rgba(255,255,255,.2); border-radius: 3px 3px 0 0; }
.bar.active { background: var(--secondary); }
.stat-sub { font-size: .78rem; color: rgba(255,255,255,.5); }

.circular-chart { position: relative; width: 80px; height: 80px; margin: 0 auto 1rem; }
.circular-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.circular-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: #fff; text-align: center; line-height: 1.2; }
.circular-label small { font-size: .6rem; color: rgba(255,255,255,.6); }
.satisfaction-stars { font-size: 1.5rem; letter-spacing: .125rem; margin-bottom: .75rem; }
.star.filled { color: var(--secondary); }
.star.half { color: rgba(255,193,7,.5); }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonial-slider-wrap { position: relative; overflow: hidden; }
.testimonial-slider { overflow: hidden; border-radius: var(--r-xl); }
.testimonials-track { display: flex; gap: 1.5rem; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.testimonial-card { min-width: calc(33.333% - 1rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2rem; transition: all var(--t-normal); flex-shrink: 0; }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .875rem; font-weight: 800; flex-shrink: 0; }
.testimonial-info strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--text); }
.testimonial-info span { font-size: .8125rem; color: var(--text-light); }
.stars { color: var(--secondary); font-size: .875rem; margin-top: .25rem; }
.testimonial-text { font-size: .9375rem; color: var(--text-mid); line-height: 1.7; font-style: italic; margin-bottom: 1rem; border-left: 3px solid var(--primary-light); padding-left: 1rem; }
.testimonial-date { font-size: .8rem; color: var(--text-light); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-btn { width: 44px; height: 44px; background: var(--surface); border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-mid); transition: all var(--t-fast); }
.slider-btn svg { width: 18px; height: 18px; }
.slider-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,122,110,.06);
  box-shadow: var(--shadow-md);
}
.slider-dots { display: flex; gap: .5rem; }
.dot { width: 8px; height: 8px; background: var(--border); border-radius: 50%; transition: all var(--t-fast); }
.dot.active { background: var(--primary); width: 24px; border-radius: var(--r-full); }

/* ================================================================
   LOCATION
   ================================================================ */
.location-layout { display: grid; grid-template-columns: 1fr 440px; gap: 2rem; align-items: start; }
.map-container { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-placeholder { height: 480px; background: linear-gradient(135deg, #004A42 0%, var(--primary) 50%, var(--primary-light) 100%); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.map-overlay-ui { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.map-pin-pulse { position: relative; display: inline-block; margin-bottom: .5rem; }
.pin-inner { width: 20px; height: 20px; background: var(--secondary); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 16px rgba(255,193,7,.5); animation: pinBounce 2s ease-in-out infinite; }
.pin-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border: 2px solid rgba(255,193,7,.4); border-radius: 50%; animation: ringPulse 2s ease-out infinite; }
.map-label { background: rgba(255,255,255,.15); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-lg); padding: 1rem 1.5rem; color: #fff; text-align: center; }
.map-label strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.map-label span { font-size: .875rem; color: rgba(255,255,255,.8); }
.open-maps-btn { position: absolute; bottom: 1.25rem; right: 1.25rem; z-index: 3; display: flex; align-items: center; gap: .5rem; background: #fff; color: var(--primary); border-radius: var(--r-full); padding: .625rem 1.25rem; font-size: .875rem; font-weight: 600; box-shadow: var(--shadow-md); transition: all var(--t-fast); }
.open-maps-btn svg { width: 16px; height: 16px; }
.open-maps-btn:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.location-info-panel { display: flex; flex-direction: column; gap: 1rem; }
.location-detail-card { display: flex; gap: 1rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: all var(--t-fast); }
.location-detail-card:hover { border-color: rgba(0,122,110,.22); box-shadow: var(--shadow-sm); }
.location-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1.2; }
.location-detail-card h4 { font-size: .9375rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.location-detail-card p { font-size: .875rem; color: var(--text-mid); line-height: 1.6; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.hours-table td { padding: .3rem 0; color: var(--text-mid); }
.hours-table td:last-child { text-align: right; }
.hours-table strong { color: var(--text); font-weight: 600; }
.hours-table .closed { color: var(--text-light); }
.floor-plan { display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; }
.floor { padding: .625rem 1rem; border-radius: var(--r-md); display: flex; flex-direction: column; gap: .125rem; }
.floor-1 { background: rgba(0,122,110,.09); }
.floor-2 { background: rgba(255,214,0,.12); }
.floor strong { font-size: .8125rem; font-weight: 700; color: var(--text); }
.floor span { font-size: .75rem; color: var(--text-mid); }

/* ================================================================
   SURVEY
   ================================================================ */
.survey-banner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem 3rem; flex-wrap: wrap; }
.survey-content { display: flex; align-items: center; gap: 1.25rem; }
.survey-icon { font-size: 2.5rem; }
.survey-title { font-size: 1.375rem; font-weight: 700; color: var(--text); margin-bottom: .375rem; }
.survey-desc { font-size: .9375rem; color: var(--text-mid); }
.survey-rating { text-align: center; }
.survey-question { font-size: .9375rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.emoji-rating { display: flex; gap: .5rem; justify-content: center; }
.emoji-btn { font-size: 1.75rem; padding: .5rem; border-radius: var(--r-md); transition: all var(--t-fast); filter: grayscale(0.5); }
.emoji-btn:hover { transform: scale(1.2); filter: grayscale(0); }
.emoji-btn.selected { transform: scale(1.2); filter: grayscale(0); background: rgba(0,122,110,.1); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: linear-gradient(180deg, #002922 0%, #001F1A 100%); color: rgba(255,255,255,.75); }
.footer-top { padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-logo { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.25rem; }
.footer-logo-emblem svg { width: 44px; height: 44px; }
.footer-brand-name { font-size: 1.0625rem; font-weight: 800; color: #fff; }
.footer-brand-sub { font-size: .75rem; color: rgba(255,255,255,.5); }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.social-btn { width: 40px; height: 40px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); transition: all var(--t-fast); }
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; transform: translateY(-2px); }
.footer-nav-title { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; letter-spacing: .03em; text-transform: uppercase; }
.footer-nav ul { display: flex; flex-direction: column; gap: .625rem; }
.footer-nav a { font-size: .9rem; color: rgba(255,255,255,.55); transition: color var(--t-fast), padding-left var(--t-fast); display: inline-block; }
.footer-nav a:hover { color: var(--secondary); padding-left: .25rem; }
.contact-list { display: flex; flex-direction: column; gap: .875rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .875rem; }
.contact-list svg { width: 18px; height: 18px; color: rgba(255,255,255,.35); margin-top: .1rem; flex-shrink: 0; }
.contact-label { display: block; font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .125rem; }
.contact-list a { font-size: .9rem; color: rgba(255,255,255,.7); transition: color var(--t-fast); }
.contact-list a:hover { color: #fff; }
.emergency-link { color: #FC4242 !important; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a { font-size: .8125rem; color: rgba(255,255,255,.35); transition: color var(--t-fast); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top { position: fixed; bottom: 5.5rem; right: 2rem; width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,122,110,.4); z-index: 100; opacity: 0; transform: translateY(16px); transition: all var(--t-normal); pointer-events: none; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); box-shadow: 0 8px 30px rgba(0,122,110,.5); transform: translateY(-4px); }
.back-to-top:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.back-to-top svg { width: 20px; height: 20px; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(.5deg); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float4 { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-.5deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .7; transform: scale(.9); } }
@keyframes scrollWheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pinBounce { 0%, 100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-6px); } }
@keyframes ringPulse { 0% { transform: translate(-50%,-50%) scale(1); opacity: .6; } 100% { transform: translate(-50%,-50%) scale(2.5); opacity: 0; } }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  .agencies-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn-primary { display: none; }
  .queue-dashboard { grid-template-columns: 1fr; }
  .queue-info-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .tracking-layout { grid-template-columns: 1fr; }
  .location-layout { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-secondary { display: grid; grid-template-columns: 1fr 1fr; }
  .howto-timeline { flex-wrap: wrap; gap: 1rem; }
  .howto-connector { display: none; }
  .howto-step { flex: 0 0 calc(33.333% - .75rem); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { min-width: calc(50% - .75rem); }
  .categories-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  .hero-section {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding-top: calc(var(--nav-h) + 3rem) !important;
    padding-bottom: 4rem !important;
  }
  .hero-content {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    text-align: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }
  .search-tags {
    justify-content: center;
  }
  .search-wrapper {
    padding: .375rem .375rem .375rem 1rem !important;
  }
  .search-btn {
    padding: .625rem 1.25rem !important;
    font-size: .875rem !important;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    width: 100%;
  }
  .stat-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .agencies-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-step { flex: 0 0 calc(50% - .5rem); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .queue-info-panel { grid-template-columns: 1fr; }
  .news-secondary { grid-template-columns: 1fr; }
  .survey-banner { flex-direction: column; text-align: center; padding: 2rem; }
  .survey-content { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .testimonial-card { min-width: 100%; }
  .queue-numbers { flex-direction: column; gap: 1rem; }
  .hero-actions { flex-direction: row; justify-content: center; align-items: center; }
  .hero-actions .btn { width: auto; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .service-card { padding: 1.25rem 1rem; }
  .agencies-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .howto-step { flex: 0 0 100%; }
  .stats-row { grid-template-columns: 1fr; }
  .hero-headline { font-size: 1.875rem; }
  .category-card { flex-direction: column; }
}
@media print { .header, .back-to-top, .hero-scroll-indicator { display: none; } .section { padding: 2rem 0; } }

/* ================================================================
   ACCESSIBILITY (A11Y) STYLES
   ================================================================ */

/* Widget UI */
.a11y-btn-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  border: 2px solid rgba(255,255,255,0.2);
}
.a11y-btn-float:hover {
  transform: scale(1.05);
  background: var(--primary-dark);
}
.a11y-btn-float svg { width: 28px; height: 28px; }

.a11y-panel {
  position: fixed;
  bottom: calc(2rem + 64px);
  left: 2rem;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.a11y-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.a11y-panel-header {
  background: var(--bg);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}
.a11y-panel-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}
.a11y-btn-close {
  background: none;
  border: none;
  color: var(--text-mid);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
}
.a11y-btn-close:hover { background: rgba(0,0,0,0.05); color: var(--error); }
.a11y-btn-close svg { width: 20px; height: 20px; }

.a11y-panel-content { padding: 1.25rem; }
.a11y-group { margin-bottom: 1.5rem; }
.a11y-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.a11y-actions {
  display: flex;
  gap: 0.5rem;
}
.a11y-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.a11y-btn:hover { border-color: var(--primary); background: var(--bg); }
.a11y-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.a11y-btn-full { width: 100%; margin-bottom: 0.5rem; justify-content: flex-start; padding-left: 1rem; }
.a11y-btn-full svg { width: 20px; height: 20px; }
.a11y-btn-reset {
  width: 100%;
  color: var(--error);
  border-color: rgba(220, 38, 38, 0.3);
  margin-top: 0.5rem;
}
.a11y-btn-reset:hover { background: rgba(220, 38, 38, 0.05); border-color: var(--error); }
.a11y-btn-reset svg { width: 18px; height: 18px; }

/* Modifier Classes */

/* 1. Text Size */
html.a11y-text-large { font-size: 110% !important; }
html.a11y-text-xlarge { font-size: 125% !important; }

/* 2. Dyslexic Font */
html.a11y-dyslexic, html.a11y-dyslexic * {
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.1em !important;
  line-height: 1.8 !important;
}

/* 3. Highlight Links */
html.a11y-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 3px !important;
  text-decoration-color: #FFD600 !important;
  color: #000 !important;
  background-color: rgba(255, 214, 0, 0.2) !important;
}

/* 4. High Contrast Mode */
html.a11y-high-contrast {
  filter: contrast(120%) !important;
}
html.a11y-high-contrast body,
html.a11y-high-contrast .section,
html.a11y-high-contrast .section-light,
html.a11y-high-contrast .section-alt,
html.a11y-high-contrast .glass-card,
html.a11y-high-contrast .hero-section,
html.a11y-high-contrast .service-card,
html.a11y-high-contrast .news-card,
html.a11y-high-contrast .category-card,
html.a11y-high-contrast .article-card,
html.a11y-high-contrast .faq-item,
html.a11y-high-contrast .instansi-item-card,
html.a11y-high-contrast .location-detail-card,
html.a11y-high-contrast .testimonial-card,
html.a11y-high-contrast .company-card,
html.a11y-high-contrast .company-header,
html.a11y-high-contrast .service-item-row,
html.a11y-high-contrast .mobile-menu,
html.a11y-high-contrast .stat-card,
html.a11y-high-contrast .modal-content,
html.a11y-high-contrast .a11y-panel,
html.a11y-high-contrast .a11y-panel-header,
html.a11y-high-contrast .a11y-btn,
html.a11y-high-contrast .status-open,
html.a11y-high-contrast .status-closed,
html.a11y-high-contrast .service-status {
  background: #000 !important;
  color: #FFF !important;
}
html.a11y-high-contrast .a11y-btn.active {
  background: #FFD600 !important;
  color: #000 !important;
  border-color: #FFD600 !important;
}
html.a11y-high-contrast * {
  color: #FFF !important;
  border-color: #FFF !important;
}
html.a11y-high-contrast a {
  color: #FFD600 !important;
}
html.a11y-high-contrast .btn-primary {
  background: #FFD600 !important;
  color: #000 !important;
  border: 2px solid #FFF !important;
}
html.a11y-high-contrast .header.scrolled {
  background: #000 !important;
  border-bottom: 2px solid #FFF !important;
}