/* ==========================================================================
   JADESTONE PARTNERS - Template CSS
   Ultra-premium wealth advisory website
   Version: 1.1.0
   ========================================================================== */

/* ==========================================================================
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   0.  Google Fonts Import
   1.  CSS Custom Properties (Dark/Light Themes)
   2.  CSS Reset & Base
   3.  Scrollbar Styling
   4.  Selection & Focus
   5.  Typography
   6.  Layout & Container
   7.  Utility Classes
   8.  Preloader / Loading Screen
   9.  Navigation
   10. Mobile Menu Overlay
   11. Hero Section
   12. Sections General
   13. Core Expertise ("What We Do")
   14. Who We Advise
   15. Our Approach (Timeline)
   16. About Section
   17. Services Section (Tabs)
   18. International Wealth Structuring
   19. Family Wealth
   20. Tax Map Section
   21. Contact Section
   22. Footer
   23. Back to Top
   24. Animations
   25. Responsive - 1440px
   26. Responsive - 1280px
   27. Responsive - 1024px
   28. Responsive - 768px
   29. Responsive - 360px
   30. Reduced Motion
   31. Print Styles
   ========================================================================== */


/* ==========================================================================
   0. GOOGLE FONTS IMPORT
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');


/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (DARK / LIGHT THEMES)
   ========================================================================== */

:root {
  /* --- Dark Theme (Default) --- */
  --color-bg-primary:       #0a0a0a;
  --color-bg-secondary:     #111111;
  --color-surface:          #1a1a1a;
  --color-surface-elevated: #222222;
  --color-surface-glass:    rgba(26, 26, 26, 0.6);

  --color-text-primary:     #f0f0f0;
  --color-text-secondary:   #888888;
  --color-text-tertiary:    #555555;
  --color-text-inverse:     #0a0a0a;

  --color-accent-jade:      #2d8a6e;
  --color-accent-jade-light:#3aad8a;
  --color-accent-jade-dark: #1f6b54;
  --color-accent-gold:      #c9a84c;
  --color-accent-gold-light:#d4b965;
  --color-accent-gold-dark: #a8893a;

  --color-border:           #2a2a2a;
  --color-border-light:     #333333;
  --color-border-accent:    rgba(45, 138, 110, 0.3);

  --color-overlay:          rgba(0, 0, 0, 0.85);
  --color-shadow:           rgba(0, 0, 0, 0.4);
  --color-glow-jade:        rgba(45, 138, 110, 0.15);
  --color-glow-gold:        rgba(201, 168, 76, 0.1);

  /* --- Gradients --- */
  --gradient-jade-gold:     linear-gradient(135deg, var(--color-accent-jade), var(--color-accent-gold));
  --gradient-jade-subtle:   linear-gradient(135deg, var(--color-accent-jade), var(--color-accent-jade-light));
  --gradient-surface:       linear-gradient(180deg, var(--color-bg-primary), var(--color-bg-secondary));
  --gradient-glass:         linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  --gradient-hero-overlay:  linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%);

  /* --- Typography --- */
  --font-heading:           'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:              'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-display:             clamp(3rem, 6vw, 5.5rem);
  --fs-h1:                  clamp(2.5rem, 5vw, 4.5rem);
  --fs-h2:                  clamp(1.875rem, 3.5vw, 2.75rem);
  --fs-h3:                  clamp(1.5rem, 2.5vw, 2rem);
  --fs-h4:                  clamp(1.25rem, 2vw, 1.5rem);
  --fs-h5:                  clamp(1.1rem, 1.5vw, 1.25rem);
  --fs-body-lg:             clamp(1.05rem, 1.2vw, 1.2rem);
  --fs-body:                clamp(0.95rem, 1vw, 1.0625rem);
  --fs-body-sm:             clamp(0.85rem, 0.9vw, 0.9375rem);
  --fs-caption:             clamp(0.75rem, 0.8vw, 0.8125rem);
  --fs-label:               0.75rem;

  --lh-heading:             1.2;
  --lh-body:                1.7;

  --ls-heading:             -0.02em;
  --ls-heading-wide:        0.05em;
  --ls-body:                0.01em;
  --ls-label:               0.12em;

  /* --- Spacing --- */
  --space-xs:               0.5rem;
  --space-sm:               1rem;
  --space-md:               1.5rem;
  --space-lg:               2rem;
  --space-xl:               3rem;
  --space-2xl:              4rem;
  --space-3xl:              6rem;
  --space-4xl:              8rem;
  --space-section:          clamp(6rem, 10vw, 8rem);

  /* --- Layout --- */
  --container-max:          1200px;
  --container-wide:         1400px;
  --container-narrow:       800px;
  --container-padding:      clamp(1.25rem, 4vw, 2.5rem);

  /* --- Borders & Radius --- */
  --radius-sm:              4px;
  --radius-md:              8px;
  --radius-lg:              12px;
  --radius-xl:              16px;
  --radius-2xl:             24px;
  --radius-full:            9999px;

  /* --- Transitions --- */
  --transition-fast:        150ms ease;
  --transition-base:        300ms ease;
  --transition-slow:        500ms ease;
  --transition-spring:      500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth:      600ms cubic-bezier(0.23, 1, 0.32, 1);

  /* --- Z-index Scale --- */
  --z-base:                 1;
  --z-dropdown:             100;
  --z-sticky:               200;
  --z-header:               300;
  --z-overlay:              400;
  --z-modal:                500;
  --z-preloader:            9999;

  /* --- Shadows --- */
  --shadow-sm:              0 1px 3px var(--color-shadow);
  --shadow-md:              0 4px 12px var(--color-shadow);
  --shadow-lg:              0 8px 30px var(--color-shadow);
  --shadow-xl:              0 16px 50px var(--color-shadow);
  --shadow-glow-jade:       0 0 40px var(--color-glow-jade);
  --shadow-glow-gold:       0 0 30px var(--color-glow-gold);
}

/* --- Light Theme --- */
[data-theme="light"] {
  --color-bg-primary:       #fafafa;
  --color-bg-secondary:     #f3f3f3;
  --color-surface:          #ffffff;
  --color-surface-elevated: #ffffff;
  --color-surface-glass:    rgba(255, 255, 255, 0.7);

  --color-text-primary:     #1a1a1a;
  --color-text-secondary:   #666666;
  --color-text-tertiary:    #999999;
  --color-text-inverse:     #f0f0f0;

  --color-accent-jade:      #24785e;
  --color-accent-jade-light:#2d8a6e;
  --color-accent-jade-dark: #1b5c48;
  --color-accent-gold:      #b8972e;
  --color-accent-gold-light:#c9a84c;
  --color-accent-gold-dark: #9a7e24;

  --color-border:           #e0e0e0;
  --color-border-light:     #eeeeee;
  --color-border-accent:    rgba(36, 120, 94, 0.2);

  --color-overlay:          rgba(0, 0, 0, 0.6);
  --color-shadow:           rgba(0, 0, 0, 0.08);
  --color-glow-jade:        rgba(45, 138, 110, 0.1);
  --color-glow-gold:        rgba(201, 168, 76, 0.08);

  --gradient-glass:         linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.5));
  --gradient-surface:       linear-gradient(180deg, var(--color-bg-primary), var(--color-bg-secondary));
  --gradient-hero-overlay:  linear-gradient(180deg, rgba(250,250,250,0.3) 0%, rgba(250,250,250,0.85) 100%);

  --shadow-sm:              0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:              0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:              0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl:              0 16px 50px rgba(0,0,0,0.12);
}


/* ==========================================================================
   2. CSS RESET & BASE
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

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

img {
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-lg) 0;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}


/* ==========================================================================
   3. SCROLLBAR STYLING
   ========================================================================== */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-light);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-jade);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-light) var(--color-bg-primary);
}


/* ==========================================================================
   4. SELECTION & FOCUS
   ========================================================================== */

::selection {
  background-color: var(--color-accent-jade);
  color: #ffffff;
}

::-moz-selection {
  background-color: var(--color-accent-jade);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--color-accent-jade);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.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;
}


/* ==========================================================================
   5. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--color-text-primary);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-body-lg); }

p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 600;
  color: var(--color-text-primary);
}

em, i {
  font-style: italic;
}

blockquote {
  padding-left: var(--space-lg);
  border-left: 3px solid var(--color-accent-jade);
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-style: italic;
  color: var(--color-text-secondary);
  margin: var(--space-xl) 0;
}

blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-style: normal;
  color: var(--color-text-tertiary);
  margin-top: var(--space-sm);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

/* --- Text Accent (used in hero title) --- */
.text-accent {
  background: var(--gradient-jade-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* --- Required field marker --- */
.required {
  color: #c94c4c;
  font-weight: 600;
}


/* ==========================================================================
   6. LAYOUT & CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}


/* ==========================================================================
   7. UTILITY CLASSES & BUTTONS
   ========================================================================== */

/* --- Button Base --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-height: 48px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: var(--gradient-jade-gold);
  color: #ffffff;
  border: none;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-jade);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent-jade);
  border: 1px solid var(--color-accent-jade);
}

.btn--outline:hover {
  background: var(--color-accent-jade);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-caption);
  min-height: 40px;
}

.btn--lg {
  padding: 1.125rem 2.75rem;
  font-size: var(--fs-body);
}

.btn svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


/* ==========================================================================
   8. PRELOADER / LOADING SCREEN
   ========================================================================== */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: var(--z-preloader);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.preloader__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.preloader__name {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: var(--ls-heading-wide);
  background: var(--gradient-jade-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preloader__tagline {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.preloader__bar {
  width: 120px;
  height: 2px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.preloader__progress {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: var(--gradient-jade-gold);
  border-radius: var(--radius-full);
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0%   { left: -40%; }
  100% { left: 100%; }
}


/* ==========================================================================
   9. NAVIGATION / HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  padding: 1.5rem 0;
  transition: all var(--transition-base);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
  opacity: 0;
}

.site-header.scrolled {
  padding: 0.75rem 0;
}

.site-header.scrolled::before {
  opacity: 1;
  border-bottom-color: var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* --- Logo --- */
.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
  transition: color var(--transition-base);
  flex-shrink: 0;
  margin-right: var(--space-lg);
}

.site-header__logo:hover {
  color: var(--color-accent-jade);
}

.site-header__logo-icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent-jade);
  flex-shrink: 0;
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-header__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-primary);
}

.site-header__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 400;
  letter-spacing: var(--ls-label);
  color: var(--color-text-tertiary);
  margin-top: 2px;
}

/* --- Main Nav --- */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__item {
  list-style: none;
}

.site-nav__link {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
  position: relative;
  padding: var(--space-xs) 0;
  white-space: nowrap;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-jade);
  transition: width var(--transition-base);
}

.site-nav__link:hover,
.site-nav__link.active {
  color: var(--color-text-primary);
}

.site-nav__link:hover::after,
.site-nav__link.active::after {
  width: 100%;
}

.site-nav__link.active {
  color: var(--color-accent-jade);
}

/* --- Header Actions --- */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-header__cta {
  /* Inherits from .btn .btn--primary .btn--sm */
}

/* --- Theme Toggle --- */
.theme-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-accent-gold);
  transition: all var(--transition-base);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--color-accent-gold);
  margin-left: var(--space-md);
}

.theme-toggle:hover {
  color: #fff;
  border-color: var(--color-accent-gold);
  background: var(--color-accent-gold);
}

.theme-toggle svg {
  width: 14px;
  height: 14px;
}

.theme-toggle__icon {
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.theme-toggle__icon--sun,
.theme-toggle__icon--moon {
  transition: opacity var(--transition-base), transform var(--transition-base);
}

/* Dark mode (default): show sun icon (switch to light); Light mode: show moon icon (switch to dark) */
:root .theme-toggle__icon--sun  { display: block; }
:root .theme-toggle__icon--moon { display: none; }
[data-theme="light"] .theme-toggle__icon--sun  { display: none; }
[data-theme="light"] .theme-toggle__icon--moon { display: block; }

/* Ensure toggle icon is visible in both modes */
[data-theme="light"] .theme-toggle {
  color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
}

[data-theme="light"] .theme-toggle:hover {
  color: #fff;
  background: var(--color-accent-gold);
}

/* --- Mobile Menu Toggle (Hamburger) --- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: calc(var(--z-overlay) + 10);
}

.mobile-menu-toggle__bar {
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

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

.mobile-menu-toggle.active .mobile-menu-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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


/* ==========================================================================
   10. MOBILE MENU OVERLAY
   ========================================================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-primary);
  z-index: var(--z-overlay);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.mobile-menu[aria-hidden="false"],
.mobile-menu.open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  width: 100%;
  max-width: 400px;
  padding: var(--space-2xl);
}

.mobile-menu__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-menu__close:hover {
  border-color: var(--color-accent-jade);
  color: var(--color-accent-jade);
}

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

.mobile-menu__nav {
  width: 100%;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.mobile-menu__item {
  list-style: none;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
  position: relative;
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: var(--color-text-primary);
}

.mobile-menu__link.active::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--color-accent-jade);
  border-radius: var(--radius-full);
}

.mobile-menu__cta {
  margin-top: var(--space-sm);
}


/* ==========================================================================
   11. HERO SECTION
   ========================================================================== */

.section--hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-surface);
}

/* --- Decorative Background --- */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero__shape {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
}

.hero__shape--1 {
  background: var(--color-accent-jade);
  top: 10%;
  right: 15%;
  animation: floatSlow 20s ease-in-out infinite;
}

.hero__shape--2 {
  background: var(--color-accent-gold);
  bottom: 15%;
  left: 10%;
  animation: floatSlow 25s ease-in-out infinite reverse;
}

.hero__shape--3 {
  background: var(--color-accent-jade-light);
  top: 50%;
  left: 30%;
  width: 400px;
  height: 400px;
  opacity: 0.12;
  animation: floatSlow 22s ease-in-out infinite 5s;
}

.hero__shape--4 {
  background: var(--color-accent-gold-light);
  bottom: 30%;
  right: 20%;
  width: 300px;
  height: 300px;
  opacity: 0.1;
  animation: floatSlow 18s ease-in-out infinite 3s;
}

.hero__grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.04;
  z-index: 0;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(30px, -20px) scale(1.05); }
  50%      { transform: translate(-20px, 20px) scale(0.95); }
  75%      { transform: translate(15px, 10px) scale(1.02); }
}

/* --- Hero Content --- */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Hero Badge --- */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1.25rem;
  background: var(--color-surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-jade);
  border-radius: var(--radius-full);
  position: relative;
  flex-shrink: 0;
}

.hero__badge-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--color-accent-jade);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: var(--fs-body-lg);
  font-weight: 500;
  color: var(--color-accent-gold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  margin: 0 auto var(--space-md);
}

.hero__description {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

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

/* --- Stats Counter Row --- */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
  align-items: center;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
  display: block;
}

.hero__stat-label {
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  display: block;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* --- Scroll Indicator --- */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  z-index: 1;
  animation: scrollBounce 2s ease-in-out infinite;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hero__scroll-text {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-accent-jade), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot {
  width: 4px;
  height: 4px;
  background: var(--color-accent-jade);
  border-radius: var(--radius-full);
  position: absolute;
  top: 0;
  left: -1.5px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}


/* ==========================================================================
   12. SECTIONS GENERAL
   ========================================================================== */

.site {
  /* Body wrapper */
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}

/* --- Section Variants (alternating backgrounds) --- */
.section--expertise {
  background: var(--color-bg-primary);
}

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

.section--approach {
  background: var(--color-bg-primary);
}

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

.section--services {
  background: var(--color-bg-primary);
}

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

.section--family {
  background: var(--color-bg-primary);
}

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

/* --- Section Header (used in all sections) --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header__accent {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gradient-jade-gold);
  margin: 0 auto var(--space-md);
}

.section-header__label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.section-header__description {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
}


/* ==========================================================================
   13. CORE EXPERTISE - "WHAT WE DO"
   ========================================================================== */

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

.expertise-card {
  position: relative;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glass);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.expertise-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-jade);
  box-shadow: 0 0 30px var(--color-glow-jade), var(--shadow-lg);
}

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

.expertise-card__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 138, 110, 0.1);
  border: 1px solid rgba(45, 138, 110, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--color-accent-jade);
  transition: all var(--transition-base);
}

.expertise-card:hover .expertise-card__icon {
  background: var(--color-accent-jade);
  color: #ffffff;
  border-color: var(--color-accent-jade);
}

.expertise-card__icon svg {
  width: 24px;
  height: 24px;
}

.expertise-card__title {
  position: relative;
  z-index: 1;
  font-size: var(--fs-h5);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.expertise-card__description {
  position: relative;
  z-index: 1;
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.expertise-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--color-accent-jade);
  transition: all var(--transition-base);
}

.expertise-card__link:hover {
  gap: calc(var(--space-xs) + 4px);
  color: var(--color-accent-jade-light);
}

.expertise-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.expertise-card__link:hover svg {
  transform: translateX(4px);
}


/* ==========================================================================
   14. WHO WE ADVISE
   ========================================================================== */

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

.client-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: default;
}

.client-pill:hover {
  border-color: var(--color-accent-jade);
  background: rgba(45, 138, 110, 0.05);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.client-pill__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 138, 110, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-accent-jade);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.client-pill:hover .client-pill__icon {
  background: var(--color-accent-jade);
  color: #ffffff;
}

.client-pill__icon svg {
  width: 28px;
  height: 28px;
}

.client-pill__title {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text-primary);
}

.client-pill__text {
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}


/* ==========================================================================
   15. OUR APPROACH (TIMELINE)
   ========================================================================== */

.approach-steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Connecting Line --- */
.approach-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--color-accent-jade),
    var(--color-accent-gold),
    var(--color-border)
  );
}

.approach-step {
  position: relative;
  padding-left: 88px;
  padding-bottom: var(--space-3xl);
}

.approach-step:last-child {
  padding-bottom: 0;
}

/* --- Step Number --- */
.approach-step__number {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 2px solid var(--color-accent-jade);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-accent-jade);
  z-index: 1;
  transition: all var(--transition-base);
}

.approach-step:hover .approach-step__number {
  background: var(--color-accent-jade);
  color: #ffffff;
}

.approach-step__connector {
  display: none; /* Handled by the ::before pseudo-element on .approach-steps */
}

.approach-step__content {
  /* Content wrapper */
}

.approach-step__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  padding-top: var(--space-sm);
}

.approach-step__text {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  line-height: 1.8;
}


/* ==========================================================================
   16. ABOUT SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.about-grid__content {
  /* Content column */
}

.about-grid__content h2 {
  margin-bottom: var(--space-md);
}

.about-grid__content p {
  margin-bottom: var(--space-md);
}

.about-grid__lead {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.about-grid__visual {
  /* Visual column */
}

/* --- Decorative Element --- */
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-visual__accent {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transform: rotate(3deg);
  z-index: -1;
  opacity: 0.5;
}

.about-visual__quote {
  padding: var(--space-2xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-accent-gold);
  position: relative;
  z-index: 1;
}

.about-visual__quote blockquote {
  border-left: none;
  padding-left: 0;
  margin: 0;
}

.about-visual__quote blockquote p {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.6;
}

.about-visual__pattern {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-image:
    radial-gradient(circle, var(--color-accent-jade) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.15;
  z-index: 0;
}

/* --- Philosophy Cards --- */
.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.philosophy-card {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.philosophy-card:hover {
  border-color: var(--color-accent-jade);
  transform: translateY(-4px);
  box-shadow: 0 0 30px var(--color-glow-jade), var(--shadow-md);
}

.philosophy-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--color-accent-gold);
}

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

.philosophy-card__title {
  font-size: var(--fs-h5);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.philosophy-card__text {
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
}


/* ==========================================================================
   17. SERVICES SECTION (TABS)
   ========================================================================== */

.services-tabs {
  /* Wrapper for the entire tab component */
}

.services-tabs__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0;
}

.services-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  margin-bottom: -1px;
  min-height: 48px;
}

.services-tabs__tab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.services-tabs__tab:hover {
  color: var(--color-text-primary);
}

.services-tabs__tab--active,
.services-tabs__tab.active {
  color: var(--color-accent-jade);
  border-bottom-color: var(--color-accent-jade);
  border-bottom-width: 3px;
  text-shadow: 0 0 20px var(--color-glow-jade);
}

.services-tabs__panels {
  /* Container for panels */
}

.services-tabs__panel {
  display: none;
  animation: fadeInTab 0.4s ease;
}

.services-tabs__panel--active,
.services-tabs__panel.active {
  display: block;
}

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

.services-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.services-panel__intro {
  /* Text intro side */
}

.services-panel__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-md);
}

.services-panel__text {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.services-panel__list {
  list-style: none;
}

.services-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
}

.services-panel__list li:last-child {
  border-bottom: none;
}

.services-panel__list li:hover {
  color: var(--color-text-primary);
}

.services-panel__list li::before {
  content: '\2666';
  color: var(--color-accent-jade);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 6px;
}


/* ==========================================================================
   18. INTERNATIONAL WEALTH STRUCTURING
   ========================================================================== */

.wealth-content {
  /* Wrapper for wealth section content */
}

.wealth-content__text {
  margin-bottom: var(--space-2xl);
}

.wealth-content__lead {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

/* --- Structuring Solutions --- */
.wealth-solutions {
  margin-bottom: var(--space-2xl);
}

.wealth-solutions__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-lg);
}

.wealth-solutions__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wealth-solution-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--transition-base);
}

.wealth-solution-item:last-child {
  border-bottom: none;
}

.wealth-solution-item:hover {
  transform: translateX(4px);
}

.wealth-solution-item__number {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-accent-jade);
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 2rem;
}

.wealth-solution-item__content h4 {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.wealth-solution-item__content p {
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
}

/* --- Highlight Box (Glass) --- */
.wealth-highlight {
  margin-top: var(--space-lg);
}

.wealth-highlight__inner {
  padding: var(--space-2xl);
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.wealth-highlight__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-jade-gold);
}

.wealth-highlight__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-jade);
}

.wealth-highlight__icon svg {
  width: 32px;
  height: 32px;
}

.wealth-highlight__text {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.wealth-highlight__text strong {
  color: var(--color-text-primary);
}


/* ==========================================================================
   19. FAMILY WEALTH
   ========================================================================== */

.family-content {
  /* Wrapper */
}

.family-content__text {
  margin-bottom: var(--space-2xl);
  max-width: 800px;
}

.family-content__lead {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

/* --- Family Advisory Services --- */
.family-services {
  margin-bottom: var(--space-2xl);
}

.family-services__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-lg);
}

.family-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.family-service {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.family-service:hover {
  border-color: var(--color-accent-jade);
  transform: translateY(-4px);
  box-shadow: 0 0 30px var(--color-glow-jade), var(--shadow-md);
}

.family-service__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 138, 110, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-accent-jade);
  flex-shrink: 0;
}

.family-service__icon svg {
  width: 20px;
  height: 20px;
}

.family-service__title {
  font-size: var(--fs-h5);
  font-weight: 600;
  color: var(--color-text-primary);
}

.family-service__text {
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- Decorative Quote --- */
.family-quote {
  margin-top: var(--space-lg);
}

.family-quote__block {
  position: relative;
  padding: var(--space-2xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-accent-gold);
}

.family-quote__mark {
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  width: 48px;
  height: 48px;
  color: var(--color-accent-gold);
  opacity: 0.3;
}

.family-quote__mark svg {
  width: 48px;
  height: 48px;
}

.family-quote__block p {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.6;
  padding-left: var(--space-lg);
}


/* ==========================================================================
   20. TAX MAP SECTION
   ========================================================================== */

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

/* --- Controls (filters + search) --- */
.taxmap-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

/* --- Filter Buttons --- */
.taxmap-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.taxmap-filter {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 40px;
}

.taxmap-filter:hover {
  border-color: var(--color-accent-jade);
  color: var(--color-accent-jade);
}

.taxmap-filter--active,
.taxmap-filter.active {
  background: var(--color-accent-jade);
  color: #ffffff;
  border-color: var(--color-accent-jade);
}

/* --- Search --- */
.taxmap-search {
  position: relative;
  min-width: 250px;
}

.taxmap-search__icon {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-tertiary);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.taxmap-search__input {
  width: 100%;
  padding: var(--space-sm) var(--space-md) var(--space-sm) calc(var(--space-md) + 28px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-body-sm);
  color: var(--color-text-primary);
  transition: border-color var(--transition-base);
  min-height: 40px;
}

.taxmap-search__input::placeholder {
  color: var(--color-text-tertiary);
}

.taxmap-search__input:focus {
  border-color: var(--color-accent-jade);
}

/* --- Map Container --- */
.taxmap-container {
  position: relative;
  display: flex;
  gap: var(--space-lg);
}

.taxmap-canvas {
  flex: 1;
  min-height: max(500px, 60vh);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* Leaflet map overrides */
.taxmap-canvas .leaflet-container {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
}

/* --- Info Panel --- */
.taxmap-info {
  width: 300px;
  flex-shrink: 0;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-height: 200px;
}

.taxmap-info__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  color: var(--color-text-tertiary);
}

.taxmap-info__placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.taxmap-info__placeholder p {
  font-size: var(--fs-body-sm);
  color: var(--color-text-tertiary);
}

/* --- Mobile: Searchable List --- */
.taxmap-list {
  display: none;
  margin-top: var(--space-lg);
}

.taxmap-list[aria-label] {
  /* JS-populated list */
}


/* ==========================================================================
   21. CONTACT SECTION
   ========================================================================== */

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

/* --- Contact Form Wrapper --- */
.contact-form-wrap {
  /* Wrapper */
}

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-form__group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

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

.contact-form__label {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: 0.01em;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 0.875rem var(--space-md);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: var(--fs-body);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  min-height: 48px;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--space-sm) center;
  background-repeat: no-repeat;
  background-size: 1.25em;
  padding-right: 2.5rem;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--color-text-tertiary);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  border-color: var(--color-accent-jade);
  box-shadow: 0 0 0 3px var(--color-glow-jade);
}

/* --- Consent Checkbox --- */
.contact-form__consent {
  padding: var(--space-sm) 0;
}

.contact-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.contact-form__checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  accent-color: var(--color-accent-jade);
  cursor: pointer;
}

.contact-form__checkbox-text {
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-form__checkbox-text a {
  color: var(--color-accent-jade);
  text-decoration: underline;
  transition: color var(--transition-base);
}

.contact-form__checkbox-text a:hover {
  color: var(--color-accent-jade-light);
}

/* --- Submit Button --- */
.contact-form__submit {
  align-self: flex-start;
}

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

/* --- Privacy Notice --- */
.contact-form__privacy-notice {
  font-size: var(--fs-caption);
  color: var(--color-text-tertiary);
  margin-top: var(--space-sm);
}

/* --- Contact Info --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info__card {
  padding: var(--space-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 138, 110, 0.1);
  border: 1px solid rgba(45, 138, 110, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-accent-jade);
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info__text strong {
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.contact-info__text a,
.contact-info__text span,
.contact-info__text address {
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  font-weight: 500;
}

.contact-info__text a {
  transition: color var(--transition-base);
}

.contact-info__text a:hover {
  color: var(--color-accent-jade);
}

/* --- Decorative Visual --- */
.contact-info__visual {
  margin-top: var(--space-lg);
}

.contact-info__map-illustration {
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--color-text-secondary);
}

.contact-info__map-illustration svg {
  width: 100%;
  height: auto;
}


/* ==========================================================================
   22. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
}

/* --- Footer Logo --- */
.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.footer-logo__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-primary);
}

.footer-logo__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 400;
  letter-spacing: var(--ls-label);
  color: var(--color-text-tertiary);
}

.footer-col__text {
  font-size: var(--fs-body-sm);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-md);
  max-width: 300px;
}

.footer-col__title {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

/* --- Footer Nav --- */
.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: var(--space-xs);
}

.footer-nav__link {
  font-size: var(--fs-body-sm);
  color: var(--color-text-tertiary);
  transition: color var(--transition-base);
}

.footer-nav__link:hover {
  color: var(--color-accent-jade);
}

/* --- Footer Address --- */
.footer-address {
  font-size: var(--fs-body-sm);
  color: var(--color-text-tertiary);
  line-height: 1.7;
}

.footer-address p {
  margin-bottom: var(--space-xs);
  color: var(--color-text-tertiary);
}

.footer-address a {
  color: var(--color-text-tertiary);
  transition: color var(--transition-base);
}

.footer-address a:hover {
  color: var(--color-accent-jade);
}

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

.footer-social__link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-tertiary);
  transition: all var(--transition-base);
}

.footer-social__link:hover {
  border-color: var(--color-accent-jade);
  color: var(--color-accent-jade);
  background: rgba(45, 138, 110, 0.1);
}

.footer-social__link svg {
  width: 16px;
  height: 16px;
}

/* --- Accreditations --- */
.footer-accreditations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.footer-accreditations__text {
  font-size: var(--fs-body-sm);
  color: var(--color-text-tertiary);
  text-align: center;
}

.footer-accreditations__text strong {
  color: var(--color-text-primary);
}

/* --- Footer Bottom --- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-caption);
  color: var(--color-text-tertiary);
}

.footer-bottom__copyright {
  color: var(--color-text-tertiary);
}

.footer-bottom__legal {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-bottom__legal a {
  color: var(--color-text-tertiary);
  transition: color var(--transition-base);
}

.footer-bottom__legal a:hover {
  color: var(--color-accent-jade);
}

.footer-bottom__separator {
  color: var(--color-text-tertiary);
  opacity: 0.5;
}


/* ==========================================================================
   23. BACK TO TOP
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-jade-gold);
  border: none;
  border-radius: var(--radius-full);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
  box-shadow: 0 4px 20px rgba(45, 138, 110, 0.3);
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(45, 138, 110, 0.45);
}

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


/* ==========================================================================
   24. ANIMATIONS
   ========================================================================== */

/* --- Fade In Up (Scroll Reveal) --- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Stagger Delays --- */
.animate-in.delay-1 { transition-delay: 0.1s; }
.animate-in.delay-2 { transition-delay: 0.2s; }
.animate-in.delay-3 { transition-delay: 0.3s; }
.animate-in.delay-4 { transition-delay: 0.4s; }


/* ==========================================================================
   25. RESPONSIVE - 1440px
   ========================================================================== */

@media (max-width: 1440px) {
  .hero__stats {
    gap: var(--space-2xl);
  }

  .expertise-grid {
    gap: var(--space-md);
  }

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


/* ==========================================================================
   26. RESPONSIVE - 1280px
   ========================================================================== */

@media (max-width: 1280px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .hero__shape {
    width: 400px;
    height: 400px;
  }

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


/* ==========================================================================
   27. RESPONSIVE - 1024px
   ========================================================================== */

@media (max-width: 1024px) {
  /* --- Navigation Collapse --- */
  .site-nav {
    display: none;
  }

  .site-header__cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* --- Hero --- */
  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .hero__stat {
    flex: 1 1 120px;
  }

  .hero__stat-divider {
    display: none;
  }

  /* --- Expertise Grid --- */
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- Clients Grid --- */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- About --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-grid__visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  /* --- Philosophy --- */
  .philosophy-cards {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* --- Services --- */
  .services-tabs__nav {
    flex-wrap: wrap;
  }

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

  /* --- Family --- */
  .family-services__grid {
    grid-template-columns: 1fr;
  }

  /* --- Contact --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  /* --- Tax Map --- */
  .taxmap-container {
    flex-direction: column;
  }

  .taxmap-info {
    width: 100%;
  }

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

  /* --- Approach Timeline --- */
  .approach-steps::before {
    left: 24px;
  }

  .approach-step {
    padding-left: 72px;
  }

  .approach-step__number {
    width: 48px;
    height: 48px;
    font-size: var(--fs-body);
  }
}


/* ==========================================================================
   28. RESPONSIVE - 768px
   ========================================================================== */

@media (max-width: 768px) {
  /* --- Hero --- */
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero__stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    margin-top: var(--space-2xl);
  }

  .hero__stat {
    flex: none;
  }

  .hero__stat-divider {
    display: none;
  }

  /* --- Expertise Grid --- */
  .expertise-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Clients --- */
  .clients-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Tax Map: hide map, show list --- */
  .taxmap-container {
    display: none;
  }

  .taxmap-list {
    display: block;
  }

  .taxmap-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .taxmap-search {
    min-width: unset;
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer-accreditations {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* --- Services Panel --- */
  .services-panel {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* --- Family Services --- */
  .family-services__grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   29. RESPONSIVE - 360px (Small Phones)
   ========================================================================== */

@media (max-width: 360px) {
  :root {
    --container-padding: 1rem;
  }

  .hero__content {
    padding: 0 1rem;
  }

  .expertise-card {
    padding: var(--space-lg) var(--space-md);
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--fs-caption);
  }

  .btn--lg {
    padding: 0.875rem 2rem;
  }

  .mobile-menu__link {
    font-size: var(--fs-h4);
  }

  .approach-step {
    padding-left: 56px;
  }

  .approach-step__number {
    width: 40px;
    height: 40px;
    font-size: var(--fs-body-sm);
  }

  .approach-steps::before {
    left: 19px;
  }

  .contact-info__icon {
    width: 40px;
    height: 40px;
  }
}


/* ==========================================================================
   30. REDUCED MOTION
   ========================================================================== */

@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;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }

  .hero__shape {
    animation: none;
  }

  .preloader__progress {
    animation: none;
    left: 0;
    width: 100%;
  }
}


/* ==========================================================================
   31. PRINT STYLES
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .site-header,
  .preloader,
  .back-to-top,
  .mobile-menu-toggle,
  .mobile-menu,
  .hero__bg,
  .hero__scroll-indicator {
    display: none !important;
  }

  .section--hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }

  .container {
    max-width: 100%;
    padding: 0 1cm;
  }
}
