/*
Theme Name: Bimbel TNI Polri
Theme URI: https://bimbeltnipolri.com
Author: Pendidikan Abdi Negara
Author URI: https://bimbeltnipolri.com
Description: Tema profesional untuk Bimbel TNI Polri - Bimbel Spesialis Polri-TNI terpercaya di Indonesia
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bimbel-tni-polri
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ============================================
   CSS VARIABLES & ROOT
============================================ */
:root {
  /* Brand Colors */
  --color-navy: #0A1628;
  --color-navy-mid: #102040;
  --color-navy-light: #1A3260;
  --color-gold: #C8A84B;
  --color-gold-light: #E8C76B;
  --color-gold-pale: #F5E8C0;
  --color-red: #C0392B;
  --color-red-dark: #922B21;
  --color-white: #FFFFFF;
  --color-off-white: #F8F7F4;
  --color-gray-100: #F1EFE9;
  --color-gray-200: #DDD9CE;
  --color-gray-400: #9E9780;
  --color-gray-600: #5A5548;
  --color-gray-800: #2C2920;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'Barlow', Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --border-radius: 4px;
  --border-radius-lg: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.12);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.18);
  --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.25);
  --shadow-gold: 0 4px 20px rgba(200, 168, 75, 0.3);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--color-gold); }

ul, ol { list-style: none; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

.display-text {
  font-family: var(--font-display);
  font-style: italic;
}

.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }
.text-red { color: var(--color-red); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; }

/* ============================================
   LAYOUT CONTAINERS
============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-navy:hover {
  background: var(--color-navy-light);
  border-color: var(--color-navy-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   SECTION HEADER
============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  position: relative;
  padding: 0 var(--space-md);
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.section-label::before { right: 100%; }
.section-label::after { left: 100%; }

.section-title {
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   DIVIDER
============================================ */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin: var(--space-md) auto;
  border-radius: 2px;
}

.divider-left {
  margin: var(--space-md) 0;
}

/* ============================================
   CARDS
============================================ */
.card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

/* ============================================
   BADGE
============================================ */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
}

.badge-gold {
  background: var(--color-gold-pale);
  color: var(--color-navy);
}

.badge-navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.badge-red {
  background: var(--color-red);
  color: var(--color-white);
}

/* ============================================
   NAVIGATION
============================================ */
#masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-navy);
  box-shadow: var(--shadow-md);
}

.topbar {
  background: var(--color-navy-mid);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(200, 168, 75, 0.2);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.topbar-info a,
.topbar-info span {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-info a:hover { color: var(--color-gold); }

.topbar-social {
  display: flex;
  gap: 0.75rem;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  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.8rem;
  transition: var(--transition);
}

.topbar-social a:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: var(--space-lg);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 0;
  flex-shrink: 0;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-main span { color: var(--color-gold); }

.logo-sub {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

.logo-emblem {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  flex-shrink: 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.primary-nav > ul > li {
  position: relative;
}

.primary-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 1.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  white-space: nowrap;
}

.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-menu-parent > a {
  color: var(--color-gold);
}

.primary-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition);
}

.primary-nav > ul > li:hover > a::after,
.primary-nav > ul > li.current-menu-item > a::after {
  width: 80%;
}

/* Dropdown */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-navy-mid);
  border-top: 2px solid var(--color-gold);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.primary-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu li a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.primary-nav .sub-menu li:last-child a {
  border-bottom: none;
}

.primary-nav .sub-menu li a:hover {
  color: var(--color-gold);
  padding-left: 1.75rem;
  background: rgba(200, 168, 75, 0.06);
}

.nav-cta {
  flex-shrink: 0;
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  padding: 0.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(10, 22, 40, 0.97) 0%, rgba(26, 50, 96, 0.92) 50%, rgba(10, 22, 40, 0.85) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(200, 168, 75, 1) 20px,
      rgba(200, 168, 75, 1) 21px
    );
  z-index: 0;
}

.hero-accent {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, transparent 0%, rgba(200, 168, 75, 0.04) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-eyebrow .badge { font-size: 0.7rem; }

.hero-tag {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.hero-title .highlight {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-style: italic;
}

.hero-title .line-break {
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.12);
}

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* Hero Visual Side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-emblem-large {
  width: 320px;
  height: 320px;
  position: relative;
}

.emblem-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 168, 75, 0.2);
  border-radius: 50%;
  animation: rotateSlow 20s linear infinite;
}

.emblem-ring::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

.emblem-ring-2 {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(200, 168, 75, 0.12);
  border-radius: 50%;
  animation: rotateSlow 30s linear infinite reverse;
}

.emblem-center {
  position: absolute;
  inset: 40px;
  background: linear-gradient(135deg, var(--color-navy-mid) 0%, var(--color-navy-light) 100%);
  border-radius: 50%;
  border: 2px solid rgba(200, 168, 75, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.emblem-icon {
  font-size: 4rem;
  line-height: 1;
}

.emblem-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

.emblem-subtext {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-floating-cards {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.floating-card {
  background: rgba(26, 50, 96, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 168, 75, 0.25);
  border-radius: var(--border-radius-lg);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatUp 3s ease-in-out infinite;
  min-width: 180px;
}

.floating-card:nth-child(2) { animation-delay: 1s; }
.floating-card:nth-child(3) { animation-delay: 2s; }

.floating-card-icon {
  font-size: 1.5rem;
  width: 36px;
  text-align: center;
}

.floating-card-text {
  display: flex;
  flex-direction: column;
}

.floating-card-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1;
}

.floating-card-value {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--color-gold);
  margin-top: 2px;
}

/* ============================================
   WHY US SECTIONS
============================================ */
.why-section {
  background: var(--color-off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.why-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-gold));
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-card:hover::before { opacity: 1; }

.why-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.03em;
}

.why-card-subtitle {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

.why-list .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--color-navy);
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}

/* ============================================
   SERVICES SECTION
============================================ */
.services-section {
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.05) 0%, transparent 70%);
}

.services-section .section-label { color: var(--color-gold); }
.services-section .section-title { color: var(--color-white); }
.services-section .section-desc { color: rgba(255,255,255,0.65); }
.services-section .divider { background: var(--color-gold); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200, 168, 75, 0.15);
  border-radius: var(--border-radius-lg);
  padding: var(--space-md) var(--space-md);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  background: rgba(200, 168, 75, 0.08);
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(200, 168, 75, 0.15);
}

.service-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.service-card-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.service-card-type {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--color-gold);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* ============================================
   STATS SECTION
============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--color-navy-mid) 0%, var(--color-navy-light) 100%);
  padding: var(--space-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  display: block;
}

/* ============================================
   COVERAGE / WILAYAH TABLE
============================================ */
.coverage-section {
  background: var(--color-off-white);
}

.coverage-table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.coverage-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  font-family: var(--font-ui);
  font-size: 0.88rem;
}

.coverage-table thead {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
}

.coverage-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
}

.coverage-table thead th:first-child {
  border-radius: var(--border-radius-lg) 0 0 0;
  width: 50px;
  text-align: center;
}

.coverage-table thead th:last-child {
  border-radius: 0 var(--border-radius-lg) 0 0;
}

.coverage-table tbody tr {
  border-bottom: 1px solid var(--color-gray-100);
  transition: var(--transition);
}

.coverage-table tbody tr:last-child { border-bottom: none; }

.coverage-table tbody tr:hover {
  background: rgba(200, 168, 75, 0.05);
}

.coverage-table tbody td {
  padding: 0.85rem 1.25rem;
  color: var(--color-gray-800);
}

.coverage-table tbody td:first-child {
  text-align: center;
  color: var(--color-gray-400);
  font-weight: 600;
}

.coverage-table .province-name {
  font-weight: 600;
  color: var(--color-navy);
}

.coverage-table .branch-highlight {
  color: var(--color-gold);
  font-weight: 600;
}

.coverage-table .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.status-active {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.status-coming {
  background: rgba(200, 168, 75, 0.12);
  color: #92660e;
}

/* ============================================
   GALLERY SECTION
============================================ */
.gallery-section {
  background: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 60%, rgba(200, 168, 75, 0.3) 100%);
  transition: transform 0.6s ease;
}

.gallery-placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.6;
}

.gallery-placeholder-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-item:hover .gallery-item-img,
.gallery-item:hover .gallery-placeholder {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

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

.gallery-overlay-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.gallery-overlay-sub {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--color-gold);
  margin-top: 0.25rem;
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials-section {
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.testimonials-section::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='%23C8A84B' 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/g%3E%3C/svg%3E");
}

.testimonials-section .section-title { color: var(--color-white); }
.testimonials-section .section-label { color: var(--color-gold); }
.testimonials-section .section-desc { color: rgba(255,255,255,0.6); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200, 168, 75, 0.15);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(200, 168, 75, 0.06);
  border-color: rgba(200, 168, 75, 0.3);
  transform: translateY(-4px);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--color-gold);
  opacity: 0.3;
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
}

.testimonial-info {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--color-gold);
  margin-top: 1px;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

/* ============================================
   PORTFOLIO / MENU SECTION
============================================ */
.portfolio-nav {
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-gray-200);
  position: sticky;
  top: 70px;
  z-index: 100;
}

.portfolio-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.portfolio-nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gray-600);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.portfolio-nav-item:hover,
.portfolio-nav-item.active {
  color: var(--color-navy);
  border-bottom-color: var(--color-gold);
}

/* ============================================
   CAREER SECTION
============================================ */
.career-section {
  background: var(--color-white);
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.career-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.career-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-gold);
}

.career-card-header {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: var(--space-md) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.career-card-icon {
  font-size: 1.75rem;
}

.career-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.03em;
}

.career-card-type {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--color-gold);
  margin-top: 1px;
}

.career-card-body {
  padding: var(--space-md);
}

.career-card-desc {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: var(--color-sm);
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-section {
  background: var(--color-off-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-content .section-header {
  text-align: left;
}

.about-content .section-label::before { display: none; }

.about-desc {
  font-size: 1rem;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-highlight {
  background: var(--color-white);
  border-left: 3px solid var(--color-gold);
  padding: var(--space-md);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin-bottom: var(--space-lg);
}

.about-highlight p {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-navy);
  margin: 0;
  font-size: 1rem;
}

.about-visual {
  position: relative;
}

.about-main-card {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-main-card::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.12) 0%, transparent 70%);
}

.about-card-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  display: block;
}

.about-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.about-card-desc {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.about-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.about-mini-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200, 168, 75, 0.15);
  border-radius: var(--border-radius);
  padding: var(--space-sm);
  text-align: center;
}

.about-mini-stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  display: block;
}

.about-mini-stat-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
  display: block;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  padding: var(--space-2xl) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.cta-content .cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.cta-content .cta-desc {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: rgba(10, 22, 40, 0.75);
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.75);
}

.footer-main {
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-brand .logo-main {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.footer-brand-desc {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(200, 168, 75, 0.2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 0.25rem;
}

.footer-links a::before {
  content: '›';
  color: var(--color-gold);
  opacity: 0;
  transition: var(--transition);
}

.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-icon {
  color: var(--color-gold);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

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

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-copyright {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-copyright strong {
  color: var(--color-gold);
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover {
  color: var(--color-gold);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }
.animate-delay-4 { animation-delay: 0.6s; }

/* ============================================
   BACK TO TOP
============================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-gold-light);
  transform: translateY(-3px);
  color: var(--color-navy);
}

/* ============================================
   WHATSAPP FLOAT
============================================ */
.wa-float {
  position: fixed;
  bottom: 70px;
  right: var(--space-md);
  width: 50px;
  height: 50px;
  background: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: var(--transition);
  animation: floatUp 3s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  color: var(--color-white);
  background: #20ba5a;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual { display: none; }

  .hero-eyebrow { justify-content: center; }

  .hero-desc { margin: 0 auto var(--space-lg); }

  .hero-actions { justify-content: center; }

  .hero-stats { justify-content: center; }

  .why-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  .career-grid { grid-template-columns: 1fr 1fr; }

  .about-inner { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }

  .gallery-item:first-child {
    grid-column: span 2;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .topbar { display: none; }

  .menu-toggle { display: flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy-mid);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
  }

  .primary-nav.active { display: block; }

  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .primary-nav > ul > li > a {
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    background: rgba(255,255,255,0.04);
    display: none;
    margin-top: 0;
  }

  .primary-nav li.menu-open > .sub-menu { display: block; }

  .nav-cta { display: none; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .career-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item { height: 200px; }

  .gallery-item:first-child { grid-column: span 1; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-stats { flex-direction: column; gap: var(--space-md); }

  .hero-stat-item { align-items: center; }
}

/* ============================================
   WORDPRESS SPECIFIC
============================================ */
.wp-caption { max-width: 100%; }
.wp-caption img { display: block; }
.wp-caption .wp-caption-text {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--color-gray-400);
  text-align: center;
  margin-top: 0.5rem;
}

.alignleft { float: left; margin-right: var(--space-md); }
.alignright { float: right; margin-left: var(--space-md); }
.aligncenter { margin: 0 auto; }

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

/* Page content area */
.entry-content {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray-800);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.entry-content p { margin-bottom: var(--space-sm); }

.entry-content ul,
.entry-content ol {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.entry-content ol { list-style: decimal; }

.entry-content li { margin-bottom: 0.25rem; }

/* Comments */
.comments-area {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-gray-200);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--color-gray-200);
  color: var(--color-gray-600);
  transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
