/* ==========================================================================
   PATRA LEGAL CONSULTANT & HR SOLUTIONS — OFFICIAL STYLESHEET
   Design System: Dark Obsidian & Champagne Gold Executive Luxury
   Compliance: Master SOP v2.14 | WCAG 2.2 AAA | Zero-Layout Shift
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --bg-base: #060911;
  --bg-surface: #0c1222;
  --bg-card: #111a30;
  --bg-card-hover: #172340;
  --bg-glass: rgba(12, 18, 34, 0.85);

  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-hover: #e5c158;
  --gold-subtle: rgba(212, 175, 55, 0.12);
  --gold-glow: rgba(212, 175, 55, 0.25);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-gold: rgba(212, 175, 55, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #e6c86e;

  --accent-red: #ef4444;
  --accent-red-bg: rgba(239, 68, 68, 0.12);
  --accent-green: #10b981;
  --accent-green-bg: rgba(16, 185, 129, 0.12);

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;

  /* Layout & Spacing */
  --container-pad: clamp(16px, 2.5vw, 40px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  background-color: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fluid Full-Width Container */
.container {
  width: 100%;
  max-width: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  margin-left: auto;
  margin-right: auto;
}

.section-wrapper {
  max-width: 1440px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   2B. SECTION CONTRAST THEMES (DARK VS ELEVATED LUXURY RHYTHM)
   Alternating Deep Obsidian (#060911) & Rich Slate Surface (#0c1424)
   -------------------------------------------------------------------------- */
.section-dark {
  background-color: var(--bg-base);
  position: relative;
}

.section-elevated {
  background: linear-gradient(180deg, #0d1527 0%, #090e1b 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: inset 0 20px 40px -20px rgba(0, 0, 0, 0.7), inset 0 -20px 40px -20px rgba(0, 0, 0, 0.7);
  position: relative;
}

/* Enhanced Cards within Elevated Sections */
.section-elevated .service-card,
.section-elevated .pillar-card,
.section-elevated .office-card,
.section-elevated .faq-item,
.section-elevated .sanction-card {
  background: #121c33;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.section-elevated .service-card:hover,
.section-elevated .pillar-card:hover,
.section-elevated .office-card:hover,
.section-elevated .faq-item.active {
  background: #182645;
  border-color: var(--gold-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.12);
}

/* Section Ambient Glow Elements */
.section-dark::before, .section-elevated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 80%);
  pointer-events: none;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. TOP ANNOUNCEMENT & CONTACT BAR
   -------------------------------------------------------------------------- */
.top-bar {
  background: #04060b;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

.top-item a:hover {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION HEADER (STICKY GLASSMORPHIC)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(6, 9, 17, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--border-gold);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Primary Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  text-decoration: none;
  min-height: 46px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, #b89327 100%);
  color: #060911;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: var(--gold-subtle);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.22);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(13, 21, 39, 0.9) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .text-gold {
  background: linear-gradient(135deg, #fceca2 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h4 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(12, 18, 34, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  max-width: 280px;
}

.hero-floating-card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.hero-floating-card .info h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hero-floating-card .info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5B. SUBPAGE HERO BANNER (SHARED FOR MULTI-PAGE SYSTEM)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: clamp(48px, 6vw, 80px) 0;
  background: radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #04060b 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.page-hero-content {
  max-width: 860px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.breadcrumbs .separator {
  color: var(--border-medium);
}

.breadcrumbs .current {
  color: var(--gold-light);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero-desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. SECTION HEADINGS (SHARED)
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. ABOUT US & FOUNDER PROFILE
   -------------------------------------------------------------------------- */
.about-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.founder-quote {
  padding: 20px 24px;
  background: var(--bg-card);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0 28px;
  font-style: italic;
  color: var(--text-gold);
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pillar-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.pillar-content h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.pillar-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. SERVICES CATALOG (INTERACTIVE TABS & CARDS)
   -------------------------------------------------------------------------- */
.services-section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}

.tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.tab-btn.active {
  background: var(--gold-primary);
  color: #060911;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 16px var(--gold-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

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

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.service-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light);
  border: 1px solid var(--border-subtle);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-action {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.btn-service-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.btn-service-inquiry:hover {
  color: var(--gold-light);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   9. RISK & PENALTY WARNING SECTION (LEGAL SANCTIONS)
   -------------------------------------------------------------------------- */
.sanctions-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #090e1b;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sanctions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.sanction-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 18px;
  transition: all var(--transition-fast);
}

.sanction-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  background: var(--bg-card-hover);
}

.sanction-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-red-bg);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sanction-icon svg {
  width: 22px;
  height: 22px;
}

.sanction-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.sanction-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. INTERACTIVE FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: clamp(60px, 8vw, 110px) 0;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-header:hover {
  color: var(--gold-light);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-body-inner {
  padding: 0 24px 22px 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* --------------------------------------------------------------------------
   11. OFFICES & CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition-fast);
}

.office-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.office-city {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: var(--gold-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.office-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.office-address {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.office-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-quick-bar {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(13, 21, 39, 0.8) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.quick-bar-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.quick-bar-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #030408;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(50px, 6vw, 80px) 0 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   13. CONSULTATION MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  padding: clamp(24px, 4vw, 36px);
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.15);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
  border-color: var(--border-gold);
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

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

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

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

/* --------------------------------------------------------------------------
   14. SCROLL REVEAL ANIMATIONS & STAT COUNTERS
   -------------------------------------------------------------------------- */
/* Reveal Base Classes */
.reveal {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(36px);
}

.reveal-down {
  transform: translateY(-28px);
}

.reveal-left {
  transform: translateX(-36px);
}

.reveal-right {
  transform: translateX(36px);
}

.reveal-fade {
  transform: scale(0.96);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger Delay Classes */
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Number Counter Styles */
.stat-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: transform var(--transition-fast);
}

.stat-item:hover .stat-counter,
.stat-banner-box:hover .stat-counter {
  transform: scale(1.05);
  color: var(--gold-light);
}

/* Dedicated Highlight Stats Bar */
.stats-banner {
  padding: 44px 0;
  background: linear-gradient(180deg, #090e1a 0%, #0d1527 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-banner-box {
  background: rgba(12, 18, 34, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.stat-banner-box:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  background: rgba(17, 26, 48, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

.stat-banner-box .stat-val {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-banner-box .stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   14B. LIVE WITA OFFICE BADGE, SEARCH FILTER & DIAGNOSTIC WIDGET
   -------------------------------------------------------------------------- */
/* Bali WITA Office Live Status Badge */
.office-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
}

.office-live-badge.open {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.office-live-badge.closed {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.office-live-badge.open .live-dot {
  background: #10b981;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dot-pulse-green 2s infinite;
}

.office-live-badge.closed .live-dot {
  background: #ef4444;
}

@keyframes dot-pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Live Service Search Bar (on layanan-kami.html) */
.service-search-wrapper {
  max-width: 640px;
  margin: 0 auto 36px;
  position: relative;
}

.service-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: #121c33;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-search-input:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25), 0 10px 30px rgba(0, 0, 0, 0.5);
  background: #162442;
}

.service-search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  pointer-events: none;
}

.service-search-count {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Legal Risk Diagnostic Interactive Widget (on index.html) */
.diagnostic-container {
  background: linear-gradient(135deg, rgba(13, 21, 39, 0.95) 0%, rgba(9, 14, 27, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.diag-result-box {
  background: rgba(18, 28, 51, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.diag-result-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.diag-result-status.safe {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}

.diag-result-status.warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fbbf24;
}

.diag-result-status.danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

/* --------------------------------------------------------------------------
   14C. FLOATING ACTION CLUSTER (OFFICIAL WHATSAPP & CIRCULAR BACK TO TOP)
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-smooth);
  position: relative;
  text-decoration: none;
  animation: wa-pulse 2.4s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Circular Scroll Progress Back to Top */
.back-to-top {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: #0d1527;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

.back-to-top:hover {
  background: var(--gold-primary);
  color: #060911;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.4);
}

.back-to-top svg.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-to-top svg.progress-ring circle {
  fill: none;
  stroke: var(--gold-primary);
  stroke-width: 2.5;
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  transition: stroke-dashoffset 0.15s ease-out;
}

.back-to-top svg.arrow-icon {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
/* Mobile Drawer Default (Hidden on Desktop) */
.mobile-drawer {
  display: none;
}

@media (max-width: 992px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image-frame img {
    height: 360px;
  }

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

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

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

  /* Mobile Drawer (Visible on Mobile/Tablet when toggled) */
  .mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-gold);
    z-index: 2500;
    padding: 32px 24px;
    transition: right var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .mobile-drawer.open {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
  }

  .drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
  }

  .drawer-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
  }
}

@media (max-width: 600px) {
  .top-bar {
    display: none;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-floating-card {
    display: none;
  }

  .quick-bar-text {
    text-align: center;
    width: 100%;
  }

  .contact-quick-bar .btn {
    width: 100%;
  }

  .floating-actions {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
  }

  .stats-banner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
