/* ==========================================================================
   KHENCHI LEGAL ASSOCIATES - STYLESHEET
   Aesthetic: Editorial Luxury Law & Property Legal Services
   Palette: Deep Midnight Navy, Charcoal, Crisp White, Antique Champagne Gold
   ========================================================================== */

:root {
  /* Colors */
  --bg-deep: #070d14;
  --bg-primary: #0b131e;
  --bg-surface: #101c2c;
  --bg-surface-elevated: #16253a;
  --bg-card: rgba(16, 28, 44, 0.75);
  --bg-card-hover: rgba(22, 37, 58, 0.95);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070d14;

  --gold-primary: #c5a880;
  --gold-light: #e4d1b7;
  --gold-dark: #9a7d57;
  --gold-glow: rgba(197, 168, 128, 0.18);
  --gold-glow-soft: rgba(197, 168, 128, 0.08);

  --border-subtle: rgba(197, 168, 128, 0.15);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(197, 168, 128, 0.45);

  --accent-blue-tint: rgba(56, 189, 248, 0.03);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-pad-y: 110px;
  --section-pad-y-mobile: 70px;

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 32px rgba(197, 168, 128, 0.15);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(197, 168, 128, 0.07), transparent),
    radial-gradient(circle at 100% 60%, rgba(20, 35, 55, 0.4), transparent 50%),
    radial-gradient(circle at 0% 90%, rgba(197, 168, 128, 0.04), transparent 40%);
  background-attachment: fixed;
}

/* Subtle architectural grid pattern overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* Accessibility Focus */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 4px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

/* Typographic Elements */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-heading {
  font-family: var(--font-heading);
}

.tagline-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

.tagline-eyebrow::before,
.tagline-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--gold-primary);
  opacity: 0.6;
}

.tagline-eyebrow.no-after::after {
  display: none;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: var(--bg-deep);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f0dfcb, #d4b58e);
  box-shadow: 0 6px 28px rgba(197, 168, 128, 0.4);
  transform: translateY(-2px);
  color: #05080c;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background-color: rgba(197, 168, 128, 0.06);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   STICKY NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--trans-smooth);
  padding: 1.25rem 0;
}

.site-header.scrolled {
  background: rgba(7, 13, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-insignia {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-primary);
  border-radius: 2px;
  background: rgba(197, 168, 128, 0.05);
  transition: all var(--trans-smooth);
}

.brand-logo:hover .brand-insignia {
  border-color: var(--gold-light);
  box-shadow: 0 0 16px var(--gold-glow);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 500;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--trans-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold-primary);
  transition: width var(--trans-smooth);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-glass);
  width: 42px;
  height: 42px;
  border-radius: 2px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  transition: border-color var(--trans-fast);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: all var(--trans-smooth);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 170px;
  padding-bottom: 100px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-meta-strip {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

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

.hero-meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero-meta-val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Hero Visual Composition (Sophisticated Deed & Architectural Law Motif) */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(160deg, rgba(20, 34, 53, 0.95), rgba(10, 18, 28, 0.98));
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(197, 168, 128, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(197, 168, 128, 0.2), transparent 70%);
}

.deed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.deed-seal-icon {
  width: 44px;
  height: 44px;
  border: 1px dashed var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  background: rgba(197, 168, 128, 0.05);
}

.deed-code {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.deed-preview-content {
  margin-bottom: 1.75rem;
}

.deed-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.deed-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.deed-checklist {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.deed-check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.deed-footer-stamp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.25rem;
}

.stamp-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stamp-badge {
  border: 1px solid var(--gold-primary);
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  background: rgba(197, 168, 128, 0.08);
}

/* Floating Architectural Ornament */
.floating-accent-box {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.floating-icon {
  color: var(--gold-primary);
}

.floating-text-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.floating-text-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INTRODUCTION SECTION
   ========================================================================== */
.intro-section {
  padding: var(--section-pad-y) 0;
  background-color: var(--bg-primary);
  position: relative;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.intro-lead-wrapper {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 4.5rem auto;
}

.intro-quote-badge {
  color: var(--gold-primary);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.intro-headline {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.intro-desc {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.25rem 1.75rem;
  border-radius: 2px;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity var(--trans-smooth);
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

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

.highlight-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  display: block;
}

.highlight-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold-primary);
  border: 1px solid var(--border-subtle);
  background: rgba(197, 168, 128, 0.04);
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.highlight-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES SECTION (6 Confirmed Service Cards)
   ========================================================================== */
.services-section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.75rem 2.25rem;
  border-radius: 3px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
  backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--gold-glow-soft);
  background: var(--bg-card-hover);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  background: rgba(197, 168, 128, 0.05);
  transition: all var(--trans-smooth);
}

.service-card:hover .service-icon {
  border-color: var(--gold-light);
  background: rgba(197, 168, 128, 0.12);
  transform: scale(1.05);
}

.service-index {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  transition: color var(--trans-fast);
}

.service-card:hover .service-title {
  color: var(--gold-light);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  text-decoration: none;
  transition: gap var(--trans-fast), color var(--trans-fast);
}

.service-link:hover {
  color: var(--gold-light);
  gap: 0.8rem;
}

/* ==========================================================================
   PROPERTY LEGAL ASSISTANCE (FEATURE SECTION)
   Editorial layout: Documentation, Drafting, Registration, Legal Verification
   ========================================================================== */
.pillar-section {
  padding: var(--section-pad-y) 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.pillar-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.pillar-intro h2 {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.pillar-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.pillar-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-left: 3px solid transparent;
  border-radius: 2px;
  transition: all var(--trans-smooth);
}

.pillar-item:hover,
.pillar-item.active {
  border-left-color: var(--gold-primary);
  border-color: var(--border-subtle);
  background: var(--bg-surface-elevated);
  transform: translateX(6px);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-primary);
  font-weight: 600;
  opacity: 0.85;
}

.pillar-details h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

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

/* ==========================================================================
   ABOUT ADVOCATE SECTION
   (Strictly uses confirmed info, with refined editable profile area)
   ========================================================================== */
.about-section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

/* Portrait Placeholder Visual */
.about-portrait-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.portrait-inner {
  background: linear-gradient(180deg, #101c2a, #070d14);
  border: 1px solid var(--border-glass);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.advocate-crest-badge {
  width: 90px;
  height: 90px;
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  background: rgba(197, 168, 128, 0.06);
  margin-bottom: 1.75rem;
}

.portrait-advocate-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.portrait-advocate-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.portrait-placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--border-subtle);
  color: var(--text-muted);
  border-radius: 20px;
}

/* About Narrative */
.about-text-content {
  padding-left: 1rem;
}

.about-headline {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.about-summary-lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--gold-primary);
  padding-left: 1.25rem;
}

.about-summary-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* Professional Profile (Refined Editable Area) */
.profile-placeholder-box {
  background: rgba(16, 28, 44, 0.5);
  border: 1px dashed var(--border-subtle);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
}

.placeholder-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.75rem;
  border-radius: 2px;
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.profile-field-item {
  display: flex;
  flex-direction: column;
}

.profile-field-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.profile-field-value {
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.45rem 0.75rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-style: italic;
}

/* ==========================================================================
   WHY PROFESSIONAL LEGAL ASSISTANCE (4 Clean Points)
   ========================================================================== */
.why-section {
  padding: var(--section-pad-y) 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.5rem 1.75rem;
  border-radius: 2px;
  transition: all var(--trans-smooth);
}

.why-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
  background: rgba(197, 168, 128, 0.05);
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.why-card-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT SECTION (Details & Consultation Form)
   ========================================================================== */
.contact-section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-info-panel h2 {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.contact-intro-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 2px;
  transition: all var(--trans-fast);
}

.contact-card-item:hover {
  border-color: var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.contact-card-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  border: 1px solid var(--border-subtle);
  background: rgba(197, 168, 128, 0.05);
  flex-shrink: 0;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
}

.contact-card-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-card-detail {
  font-size: 0.925rem;
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
}

a.contact-card-detail:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Consultation Form Card */
.consultation-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 3rem 2.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.25rem;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.form-note {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(7, 13, 20, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 2px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: all var(--trans-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
  background: rgba(7, 13, 20, 0.95);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

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

.form-error {
  display: none;
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 0.35rem;
}

.form-group.has-error .form-control {
  border-color: #ef4444;
}

.form-group.has-error .form-error {
  display: block;
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.form-feedback-message {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--gold-primary);
  border-radius: 2px;
  font-size: 0.875rem;
  color: var(--gold-light);
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

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

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--trans-fast), padding-left var(--trans-fast);
}

.footer-link:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-hours-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.hours-row .highlight {
  color: var(--gold-light);
  font-weight: 500;
}

.legal-disclaimer {
  padding: 1.75rem 2rem;
  background: rgba(16, 28, 44, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 2px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 3rem;
  text-align: justify;
}

.legal-disclaimer strong {
  color: var(--gold-primary);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATION MODAL
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-primary);
  padding: 1.25rem 1.75rem;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2000;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--trans-smooth);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--gold-primary);
}

.toast-body h5 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.toast-body p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-visual-wrapper {
    order: -1;
  }

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

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

  .pillar-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-y: var(--section-pad-y-mobile);
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(7, 13, 20, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 2rem 2rem;
    gap: 1.5rem;
    align-items: flex-start;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

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

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

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

  .profile-meta-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .consultation-form-card {
    padding: 2rem 1.5rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
