/* ============================================
   STEPHEN BANDAR LAW OFFICE — Design System
   Premium Black & Gold Law Firm
   Cross-browser: Chrome, Safari, Firefox, Edge, Comet, Opera, Brave
   ============================================ */

/* Cross-browser resets */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Firefox scrollbar styling */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.3) transparent;
}

/* Webkit scrollbar (Chrome, Safari, Edge, Comet, Opera) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201, 168, 76, 0.5); }

/* Edge-specific fixes */
@supports (-ms-ime-align: auto) {
  .btn { display: inline-flex; }
  .grid { display: -ms-grid; }
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
  .btn--primary::after { display: none; }
  .shimmer { -moz-background-clip: text; }
}

/* ---------- Design Tokens ---------- */
:root {
  /* Backgrounds — True Premium Black with Warm Undertone */
  --bg-primary: #0A0A0A;
  --bg-secondary: #121212;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;
  --bg-elevated: #2A2A2A;

  /* Gold Palette */
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-dark: #A88B3D;
  --gold-shimmer: #E8D48B;
  --gold-glow: rgba(201, 168, 76, 0.25);
  --gold-subtle: rgba(201, 168, 76, 0.08);

  /* Text */
  --white: #FFFFFF;
  --text-primary: #F0F2F5;
  --text-secondary: #B0B8C8;
  --text-muted: #717D8E;

  /* Accent */
  --green: #2EA043;
  --green-glow: rgba(46, 160, 67, 0.2);

  /* Borders & Surfaces */
  --border: rgba(201, 168, 76, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(201, 168, 76, 0.3);

  /* Shadows — gold-tinted depth system */
  --shadow-ambient: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-standard: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(201, 168, 76, 0.06);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(201, 168, 76, 0.1);
  --shadow-gold-glow: 0 0 30px rgba(201, 168, 76, 0.15), 0 0 60px rgba(201, 168, 76, 0.05);
  --shadow-3d: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 168, 76, 0.08);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 900px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Cross-browser box-sizing reset */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Cross-browser smooth scrolling fallback */
html {
  -webkit-scroll-behavior: smooth;
  scroll-behavior: smooth;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--white);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -1.2px;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.8px;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: -0.4px;
}

h4 {
  font-size: 1.25rem;
  letter-spacing: -0.2px;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-gold {
  color: var(--gold);
}

.text-white {
  color: var(--white);
}

/* ---------- Container & Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

.section--dark {
  background: var(--bg-secondary);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

.flex {
  display: flex;
  align-items: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--center {
  justify-content: center;
}

.flex--gap-sm { gap: var(--space-sm); }
.flex--gap-md { gap: var(--space-md); }
.flex--gap-lg { gap: var(--space-lg); }

/* ---------- Section Headers ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--bg-primary);
  box-shadow: 0 6px 30px rgba(201, 168, 76, 0.45);
  transform: translateY(-2px);
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn--primary:hover::after {
  left: 120%;
}

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

.btn--outline:hover {
  background: var(--gold-subtle);
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--bg-primary);
}

.btn--white:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: var(--space-lg);
}

.navbar__logo-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(201, 168, 76, 0.4)) drop-shadow(0 0 20px rgba(201, 168, 76, 0.18));
  transition: filter var(--transition-base), transform var(--transition-base);
}

.navbar__logo:hover .navbar__logo-icon {
  filter: drop-shadow(0 4px 14px rgba(201, 168, 76, 0.6)) drop-shadow(0 0 28px rgba(201, 168, 76, 0.3));
  transform: scale(1.08) rotate(-2deg);
}

.navbar.scrolled .navbar__logo-icon {
  width: 44px;
  height: 44px;
}

.navbar__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.4px;
  line-height: 1.15;
  white-space: nowrap;
}

.navbar__logo-text span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-shrink: 1;
}

.navbar__link {
  white-space: nowrap;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--gold);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.navbar__dropdown-toggle:hover {
  color: var(--gold);
}

.navbar__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.navbar__dropdown:hover .navbar__dropdown-toggle svg {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-elevated);
}

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

.navbar__dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.navbar__dropdown-item:hover {
  background: var(--gold-subtle);
  color: var(--gold);
}

/* Language Switcher — Premium Modern Flag Style */
.navbar__lang {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 50px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.navbar__lang:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--border-gold);
}

.navbar__lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.7;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-card);
  padding: 0;
  position: relative;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.navbar__lang-btn svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.35s ease;
}

.navbar__lang-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
  z-index: 2;
}

.navbar__lang-btn:hover {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px) scale(1.08);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(201, 168, 76, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar__lang-btn:hover svg {
  transform: scale(1.1);
}

.navbar__lang-btn.active {
  opacity: 1;
  border-color: var(--gold);
  transform: scale(1.05);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(201, 168, 76, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar__lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.8);
  z-index: 3;
}

/* Hover tooltip for language flags */
.navbar__lang-btn[data-lang]:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: var(--bg-card);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.3px;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(201, 168, 76, 0.2);
  -webkit-animation: tooltip-fade 0.2s ease both;
  animation: tooltip-fade 0.2s ease both;
}

@-webkit-keyframes tooltip-fade {
  from { opacity: 0; -webkit-transform: translateX(-50%) translateY(-4px); transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; -webkit-transform: translateX(-50%) translateY(0); transform: translateX(-50%) translateY(0); }
}
@keyframes tooltip-fade {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Mobile flag switcher — even more prominent */
.navbar__mobile-lang {
  display: flex;
  gap: 16px;
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
}

.navbar__mobile-lang .navbar__lang-btn {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  border-width: 2.5px;
}

.navbar__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.navbar__phone svg {
  width: 16px;
  height: 16px;
}

/* Mobile Search Button */
.navbar__search-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--gold-subtle);
  border: 1.5px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
}

.navbar__search-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.navbar__search-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile Search Overlay */
.mobile-search {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--bg-primary);
  border-bottom: 2px solid var(--border-gold);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
  -webkit-animation: modal-slide 0.3s ease both;
  animation: modal-slide 0.3s ease both;
}

.mobile-search.open {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mobile-search__input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  outline: none;
}

.mobile-search__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.mobile-search__input::placeholder {
  color: var(--text-muted);
}

.mobile-search__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.mobile-search__close svg {
  width: 18px;
  height: 18px;
}

.mobile-search__results {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: var(--bg-primary);
  padding: var(--space-md);
  overflow-y: auto;
  display: none;
}

.mobile-search__results.open {
  display: block;
}

.mobile-search__result {
  display: block;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.mobile-search__result:hover {
  border-color: var(--gold);
  background: var(--bg-card-hover);
}

.mobile-search__result-title {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.mobile-search__result-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.navbar__mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  transition: right var(--transition-slow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
}

.navbar__mobile-menu.open {
  right: 0;
}

.navbar__mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--white);
}

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

.navbar__mobile-lang-deprecated {
  display: none;
}

.navbar__mobile-lang-old .navbar__lang-btn {
  width: 48px;
  height: 36px;
  font-size: 28px;
  opacity: 0.7;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-5xl) 0 var(--space-4xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: var(--space-lg);
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-shimmer) 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 4s ease infinite;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-3xl);
}

.hero__phone svg {
  width: 20px;
  height: 20px;
}

/* Trust Badges Row */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-badge__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--gold);
  flex-shrink: 0;
}

.trust-badge__icon svg {
  width: 20px;
  height: 20px;
}

.trust-badge__text {
  font-size: 0.85rem;
  line-height: 1.3;
}

.trust-badge__number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  display: block;
}

.trust-badge__label {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ---------- Cards — 3D Premium ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-3d);
}

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

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-subtle), rgba(201, 168, 76, 0.15));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  color: var(--gold);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.card:hover .card__icon {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.3));
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition-base);
}

.card__link:hover {
  gap: 10px;
  color: var(--gold-light);
}

/* Featured / Highlighted Card */
.card--featured {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 168, 76, 0.05) 100%);
}

.card--featured::after {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  right: 24px;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* ---------- Attorney Cards ---------- */
.attorney-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.attorney-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-3d);
}

.attorney-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-elevated);
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  object-position: center top;
}

/* Fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 3 / 4) {
  .attorney-card__photo {
    height: 440px;
  }
}

/* For div-based placeholders (still used for "photo coming soon" cards) */
div.attorney-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.attorney-card {
  position: relative;
}

.attorney-card__info {
  padding: var(--space-lg);
}

.attorney-card__name {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.attorney-card__title {
  font-size: 0.825rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.attorney-card__detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.attorney-card__languages {
  display: flex;
  gap: 6px;
  margin-top: var(--space-sm);
}

.attorney-card__lang-tag {
  padding: 2px 8px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-standard);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--gold);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}

.testimonial-card__source {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testimonial-card__google {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

/* ---------- Stats / Counter ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
}

.stat {
  text-align: center;
  padding: var(--space-lg);
  position: relative;
}

.stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat:last-child::after {
  display: none;
}

.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Our Commitment Section (Fight Until The Last Second) ---------- */
.commitment {
  position: relative;
  padding: var(--space-4xl) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
    #060606;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
}

.commitment::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.6;
}

.commitment::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.6;
}

.commitment__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.commitment__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.commitment__label::before,
.commitment__label::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.commitment__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.commitment__title .gold-highlight {
  background: linear-gradient(
    135deg,
    #8b6f2a 0%,
    var(--gold) 25%,
    var(--gold-shimmer) 50%,
    var(--gold) 75%,
    #8b6f2a 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-animation: shimmer 5s linear infinite;
  animation: shimmer 5s linear infinite;
  font-style: italic;
}

.commitment__quote {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.commitment__quote strong {
  color: var(--white);
  font-weight: 600;
}

.commitment__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.commitment__pillar {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}

.commitment__pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-subtle), rgba(201, 168, 76, 0.12));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--gold);
}

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

.commitment__pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.commitment__pillar-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.commitment__signature {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-gold);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.commitment__signature strong {
  display: block;
  margin-top: 4px;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .commitment__pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .commitment__label::before,
  .commitment__label::after {
    width: 24px;
  }
}

/* ---------- Free Consultation Spotlight ---------- */
.free-spotlight {
  position: relative;
  padding: var(--space-3xl) var(--space-2xl);
  background:
    radial-gradient(ellipse at top left, rgba(201, 168, 76, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(201, 168, 76, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #1a1510 0%, #0f0a04 50%, #1a1510 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(201, 168, 76, 0.2),
    inset 0 1px 0 rgba(201, 168, 76, 0.3);
  text-align: center;
}

.free-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(201, 168, 76, 0.12) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  -webkit-animation: spotlight-sweep 4s linear infinite;
  animation: spotlight-sweep 4s linear infinite;
  pointer-events: none;
}

@-webkit-keyframes spotlight-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes spotlight-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.free-spotlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #2a1f0e 0%, #0f0a04 100%);
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.free-spotlight__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  -webkit-animation: pulse-dot 2s ease infinite;
  animation: pulse-dot 2s ease infinite;
  box-shadow: 0 0 12px var(--gold);
}

.free-spotlight__price-crossed {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: line-through;
  -webkit-text-decoration-color: #B22222;
  text-decoration-color: #B22222;
  text-decoration-thickness: 3px;
  display: block;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.free-spotlight__free {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
  background: linear-gradient(
    135deg,
    #8b6f2a 0%,
    var(--gold) 20%,
    var(--gold-shimmer) 40%,
    #fff4c4 50%,
    var(--gold-shimmer) 60%,
    var(--gold) 80%,
    #8b6f2a 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-animation: shimmer 4s linear infinite;
  animation: shimmer 4s linear infinite;
  text-shadow: 0 0 60px rgba(201, 168, 76, 0.4);
}

.free-spotlight__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
}

.free-spotlight__description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.free-spotlight__cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 48px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow:
    0 8px 32px rgba(201, 168, 76, 0.4),
    0 0 0 3px rgba(201, 168, 76, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  overflow: hidden;
}

.free-spotlight__cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  -webkit-transform: skewX(-20deg);
  transform: skewX(-20deg);
  -webkit-transition: left 0.6s ease;
  transition: left 0.6s ease;
}

.free-spotlight__cta:hover {
  -webkit-transform: translateY(-3px) scale(1.02);
  transform: translateY(-3px) scale(1.02);
  color: var(--bg-primary);
  box-shadow:
    0 12px 40px rgba(201, 168, 76, 0.55),
    0 0 0 4px rgba(201, 168, 76, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.free-spotlight__cta:hover::before {
  left: 120%;
}

.free-spotlight__proof {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.free-spotlight__proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.free-spotlight__proof-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .free-spotlight {
    padding: var(--space-2xl) var(--space-md);
  }
  .free-spotlight__cta {
    padding: 16px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
  .free-spotlight__proof {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  position: relative;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-card);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer__inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

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

.footer__social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--gold);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.footer__social-link:hover {
  border-color: var(--gold);
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-transform: translateY(-3px) scale(1.05);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.footer__social-link svg {
  width: 22px;
  height: 22px;
}

/* ---------- Leave A Review (QR Codes) ---------- */
.review-us {
  padding: var(--space-4xl) 0;
  background:
    radial-gradient(ellipse at top right, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
    var(--bg-primary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}

.review-us__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
}

.review-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  -webkit-transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.review-card:hover {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 168, 76, 0.2);
}

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

.review-card__platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.review-card__platform svg {
  width: 14px;
  height: 14px;
}

.review-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.review-card__subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.review-card__qr {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-lg);
  padding: 12px;
  background: #fff;
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 168, 76, 0.15);
  position: relative;
  z-index: 2;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.review-card:hover .review-card__qr {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 32px rgba(201, 168, 76, 0.3);
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

.review-card__qr img {
  width: 100%;
  height: 100%;
  display: block;
}

.review-card__qr-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.review-card__qr-label strong {
  color: var(--gold);
  font-weight: 700;
}

.review-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: var(--radius-md);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
  position: relative;
  z-index: 2;
}

.review-card__link:hover {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  color: var(--bg-primary);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.5);
}

.review-card__link svg {
  width: 16px;
  height: 16px;
}

.review-card--facebook .review-card__platform {
  color: #4267B2;
}

.review-card--facebook .review-card__qr {
  border-color: #4267B2;
}

@media (max-width: 768px) {
  .review-us__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .review-card {
    padding: var(--space-xl);
  }
  .review-card__qr {
    width: 160px;
    height: 160px;
  }
}

/* ---------- Quick Contact Modal (Call / WhatsApp / Form) ---------- */
.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  -webkit-animation: modal-fade 0.3s ease both;
  animation: modal-fade 0.3s ease both;
}

.contact-modal.open {
  display: flex;
}

@-webkit-keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.contact-modal__inner {
  background: linear-gradient(135deg, #1a1510 0%, #0a0605 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.8),
    0 0 80px rgba(201, 168, 76, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-animation: modal-slide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation: modal-slide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  text-align: center;
}

@-webkit-keyframes modal-slide {
  from { opacity: 0; -webkit-transform: scale(0.85) translateY(20px); transform: scale(0.85) translateY(20px); }
  to { opacity: 1; -webkit-transform: scale(1) translateY(0); transform: scale(1) translateY(0); }
}
@keyframes modal-slide {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.contact-modal__close:hover {
  background: var(--gold-subtle);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.contact-modal__close svg {
  width: 18px;
  height: 18px;
}

.contact-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.contact-modal__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.contact-modal__title .text-gold {
  color: var(--gold);
}

.contact-modal__subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.contact-modal__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-modal__option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-modal__option:hover {
  -webkit-transform: translateY(-2px) scale(1.02);
  transform: translateY(-2px) scale(1.02);
}

.contact-modal__option svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.contact-modal__option-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  text-align: left;
}

.contact-modal__option-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  line-height: 1.2;
}

.contact-modal__option-value {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 2px;
}

.contact-modal__option--call {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  border: 1.5px solid var(--gold-light);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-modal__option--call:hover {
  color: var(--bg-primary);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.contact-modal__option--whatsapp {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.4);
}

.contact-modal__option--whatsapp:hover {
  background: linear-gradient(135deg, #1ba898 0%, #0a7566 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(18, 140, 126, 0.55);
}

.contact-modal__divider {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-modal__divider::before,
.contact-modal__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.contact-modal__form-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.contact-modal__form-link:hover {
  color: var(--gold);
}

.contact-modal__form-link svg {
  width: 16px;
  height: 16px;
}

.contact-modal__footer {
  margin-top: var(--space-md);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.contact-modal__footer svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

@media (max-width: 480px) {
  .contact-modal__inner {
    padding: var(--space-xl);
  }
  .contact-modal__option {
    padding: 16px 18px;
  }
  .contact-modal__option svg {
    width: 24px;
    height: 24px;
  }
}

/* ---------- Know Your Rights Video Section ---------- */
.know-rights {
  padding: var(--space-4xl) 0;
  background:
    radial-gradient(ellipse at top right, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
    #060606;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}

.know-rights__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.know-rights__content {
  order: 1;
}

.know-rights__video {
  order: 2;
  position: relative;
}

.know-rights__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.know-rights__label svg {
  width: 14px;
  height: 14px;
}

.know-rights__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.know-rights__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.know-rights__tips {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
}

.know-rights__tips li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.know-rights__tips li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  margin-top: 2px;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.know-rights__tips strong {
  color: var(--white);
  font-weight: 600;
}

.know-rights__share {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.35);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin-right: var(--space-sm);
}

.know-rights__share:hover {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1ba898 0%, #0a7566 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.5);
}

.know-rights__share svg {
  width: 18px;
  height: 18px;
}

/* Video wrapper with gold border */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(201, 168, 76, 0.2),
    inset 0 0 0 1px rgba(201, 168, 76, 0.2);
  background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-wrapper__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  background: linear-gradient(135deg, #1a1510 0%, #0a0605 100%);
  color: var(--text-muted);
}

.video-wrapper__placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--gold);
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.video-wrapper__placeholder strong {
  display: block;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.video-wrapper__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  z-index: 5;
}

@media (max-width: 900px) {
  .know-rights__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .know-rights__content {
    order: 1;
  }
  .know-rights__video {
    order: 2;
  }
}

/* ---------- Success Gallery (Real Client Win Photos) ---------- */
.success-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.success-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-gold);
  background: var(--bg-card);
  cursor: pointer;
  -webkit-transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.success-gallery__item:hover {
  -webkit-transform: translateY(-6px) scale(1.02);
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 168, 76, 0.25);
  z-index: 2;
}

.success-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-transition: transform 0.5s ease;
  transition: transform 0.5s ease;
}

.success-gallery__item:hover img {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

.success-gallery__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .success-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .success-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  .success-gallery__badge {
    font-size: 0.58rem;
    padding: 3px 8px;
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 480px) {
  .success-gallery {
    grid-template-columns: 1fr;
  }
}

/* ---------- Success Stories / Client Wins ---------- */
.success-stories {
  position: relative;
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.success-stories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.success-stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.success-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  -webkit-transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.success-card:hover {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 168, 76, 0.2);
}

.success-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
}

div.success-card__image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
  gap: 8px;
}

.success-card__image svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  color: var(--gold);
}

.success-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #2EA043, #1a7530);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(46, 160, 67, 0.4);
  z-index: 2;
}

.success-card__case-type {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  z-index: 2;
}

.success-card__body {
  padding: var(--space-lg);
}

.success-card__quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}

.success-card__client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.success-card__name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

.success-card__location {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.success-card__stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.success-card__stars svg {
  width: 14px;
  height: 14px;
}

.success-stories__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.success-stories__cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

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

@media (max-width: 640px) {
  .success-stories__grid {
    grid-template-columns: 1fr;
  }
  .success-card__image {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Social Connect Section (Home Page) ---------- */
.social-connect {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.social-connect__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-md);
}

.social-connect__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.social-connect__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.social-connect__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.social-connect__icons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.social-connect__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
  text-decoration: none;
  min-width: 140px;
  -webkit-transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.social-connect__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.social-connect__link:hover {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 168, 76, 0.15);
  color: var(--gold);
}

.social-connect__link:hover::before {
  opacity: 1;
}

.social-connect__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-subtle), rgba(201, 168, 76, 0.15));
  border: 1.5px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.social-connect__link:hover .social-connect__icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.4);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.social-connect__icon svg {
  width: 26px;
  height: 26px;
}

.social-connect__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  position: relative;
  z-index: 2;
}

.social-connect__handle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .social-connect__icons {
    gap: var(--space-sm);
  }
  .social-connect__link {
    min-width: calc(50% - var(--space-sm));
    padding: var(--space-md) var(--space-sm);
  }
}

.footer__heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
}

.footer__lang {
  display: flex;
  gap: 8px;
}

/* ---------- Direct Line Bar (Just-In-Case Contact) ---------- */
.emergency-bar {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1f0e 50%, #1a1a1a 100%);
  color: var(--text-secondary);
  padding: 10px 16px;
  text-align: center;
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.emergency-bar svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}

.emergency-bar a {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.emergency-bar a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(201, 168, 76, 0.6);
}

.emergency-card {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(201, 168, 76, 0.04) 100%);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  position: relative;
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.1), 0 8px 24px rgba(0,0,0,0.3);
}

.emergency-card::before {
  content: 'JUST IN CASE';
  position: absolute;
  top: -10px;
  left: 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
}

.emergency-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.emergency-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.emergency-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.emergency-card__phone {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  text-align: center;
  padding: 14px;
  background: rgba(0,0,0,0.5);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  letter-spacing: 1.5px;
  box-shadow: inset 0 1px 0 rgba(201, 168, 76, 0.15);
}

.emergency-card__phone:hover {
  background: rgba(0,0,0,0.7);
  border-color: var(--gold);
  color: var(--gold-light);
  text-shadow: 0 0 16px rgba(201, 168, 76, 0.6);
  transform: scale(1.02);
  box-shadow: inset 0 1px 0 rgba(201, 168, 76, 0.25), 0 0 24px rgba(201, 168, 76, 0.2);
}

/* Adjust navbar position when emergency bar is present */
body.has-emergency-bar .navbar {
  top: 44px;
}

@media (max-width: 768px) {
  .emergency-bar {
    font-size: 0.78rem;
    padding: 8px 12px;
    gap: 6px;
  }
  .emergency-bar a {
    font-size: 0.9rem;
  }
  body.has-emergency-bar .navbar {
    top: 56px;
  }
}

/* ---------- Mobile Sticky CTA Bar — Single Premium Bilingual Button ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, var(--bg-primary) 40%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 2px solid var(--border-gold);
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.6), 0 -2px 16px rgba(201, 168, 76, 0.2);
}

.mobile-cta-bar a.mobile-cta-bar__book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 8px 28px rgba(201, 168, 76, 0.45),
    0 0 0 3px rgba(201, 168, 76, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 58px;
  line-height: 1.2;
}

.mobile-cta-bar a.mobile-cta-bar__book::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  -webkit-transform: skewX(-20deg);
  transform: skewX(-20deg);
  -webkit-animation: btn-shimmer 3.5s ease-in-out infinite;
  animation: btn-shimmer 3.5s ease-in-out infinite;
}

.mobile-cta-bar a.mobile-cta-bar__book:active {
  -webkit-transform: scale(0.97);
  transform: scale(0.97);
}

.mobile-cta-bar a.mobile-cta-bar__book svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ---------- Floating Chat & WhatsApp ---------- */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elevated);
  transition: all var(--transition-base);
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn--whatsapp {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(18, 140, 126, 0.3);
}

.floating-btn--whatsapp:hover {
  background: linear-gradient(135deg, #1ba898 0%, #0a7566 100%);
  border-color: rgba(255, 255, 255, 0.25);
}

.floating-btn--chat {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
}

.floating-btn svg {
  width: 26px;
  height: 26px;
}

.chat-popup {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-elevated);
  z-index: 997;
  display: none;
}

.chat-popup.open {
  display: block;
  animation: slideUp 0.3s ease;
}

.chat-popup__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.chat-popup__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.chat-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.chat-popup__close:hover {
  background: var(--gold-subtle);
  color: var(--gold);
}

/* ---------- Community Section ---------- */
.community {
  position: relative;
  overflow: hidden;
}

.community__flags {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.community__flag {
  width: 96px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 168, 76, 0.15);
  transition: all var(--transition-base);
  cursor: pointer;
  display: block;
}

.community__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.community__flag:hover {
  transform: scale(1.1) translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 168, 76, 0.3);
}

.community__langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.community__lang-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.community__lang-badge:hover {
  border-color: var(--gold);
  background: var(--gold-subtle);
}

.community__lang-badge span,
.community__lang-badge svg.flag-mini {
  font-size: 1.3rem;
  width: 28px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid var(--border-gold);
  background: #000;
  flex-shrink: 0;
  position: relative;
}

/* Force SVGs inside lang badges to fill their container */
.community__lang-badge span svg,
.community__lang-badge svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Generic fix for ALL inline flag SVGs on the site */
.flag-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Service Page Template ---------- */
.service-hero {
  padding: var(--space-5xl) 0 var(--space-3xl);
  position: relative;
}

.service-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.service-hero__breadcrumb a {
  color: var(--text-muted);
}

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

.process-steps {
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}

.process-step__content h4 {
  margin-bottom: var(--space-sm);
}

.process-step__content p {
  font-size: 0.925rem;
}

/* ---------- Contact Page / 2-Column Hero Grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* Attorney Hero Grid — Photo + Story 2-column layout (robust) */
.attorney-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 500px) 1fr;
  gap: var(--space-2xl);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .attorney-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Attorney Hero Photo Wrapper — full photo, no cropping, 2:3 portrait */
.attorney-hero-photo {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 168, 76, 0.15);
  margin: 0 auto;
}

@supports not (aspect-ratio: 2 / 3) {
  .attorney-hero-photo {
    height: 750px;
  }
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23717D8E' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12L8 12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--bg-card);
  color: var(--white);
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-info-item span,
.contact-info-item a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ---------- Blog ---------- */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.blog-card__image {
  height: 200px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.blog-card__body {
  padding: var(--space-lg);
}

.blog-card__tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.blog-card__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Map ---------- */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) brightness(0.7) contrast(1.2);
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mt-lg { margin-top: var(--space-lg); }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Keyframes referenced in style.css */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

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

@keyframes shimmer-text {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
