/* ==========================================================================
   INVEST WITH DHAN - DESIGN SYSTEM & STYLESHEET
   Adheres to Three-Layer Token Architecture, WCAG Contrast, & Premium Aesthetics
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. THREE-LAYER TOKEN ARCHITECTURE
   -------------------------------------------------------------------------- */
:root {
  /* --- 1.1 PRIMITIVE TOKENS (Raw Values) --- */
  --primitive-green-dark: #015338;
  --primitive-green-hover: #013f2b;
  --primitive-green-light: #037d56;
  --primitive-green-glow: rgba(1, 83, 56, 0.25);
  
  --primitive-gold: #015338;
  --primitive-gold-hover: #013f2b;
  --primitive-gold-dark: #002e1f;
  --primitive-gold-glow: rgba(1, 83, 56, 0.2);

  --primitive-black: #111827;
  --primitive-black-soft: #1f2937;
  --primitive-gray-800: #1f2937;
  --primitive-gray-700: #374151;
  --primitive-gray-600: #4b5563;
  --primitive-gray-500: #6b7280;
  --primitive-gray-300: #d1d5db;
  --primitive-gray-200: #e5e7eb;
  --primitive-gray-100: #f3f4f6;
  --primitive-gray-50: #f9fafb;

  --primitive-white: #ffffff;
  --primitive-white-90: rgba(255, 255, 255, 0.90);
  --primitive-white-75: rgba(255, 255, 255, 0.75);
  --primitive-white-60: rgba(255, 255, 255, 0.60);
  --primitive-white-15: rgba(255, 255, 255, 0.15);
  --primitive-white-08: rgba(255, 255, 255, 0.08);

  /* --- 1.2 SEMANTIC TOKENS (Design Roles) --- */
  --bg-gradient-main: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  --bg-gradient-radial: radial-gradient(circle at 50% 20%, rgba(1, 83, 56, 0.04) 0%, transparent 70%);
  --bg-surface-glass: #ffffff;
  --bg-surface-glass-hover: #ffffff;
  --bg-surface-card: #ffffff;

  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --text-accent: #015338;

  --border-glass: #e5e7eb;
  --border-glass-hover: rgba(1, 83, 56, 0.35);
  --border-focus: #015338;

  /* Typography */
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-cursive: 'Caveat', 'Satisfy', cursive;

  /* Elevation & Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 14px 34px rgba(1, 83, 56, 0.12);
  --shadow-gold: 0 4px 16px rgba(1, 83, 56, 0.25);
  --shadow-ambient: 0 0 40px rgba(1, 83, 56, 0.06);

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms var(--ease-smooth);
  --transition-normal: 280ms var(--ease-smooth);
}

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

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

body {
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid #015338;
  outline-offset: 3px;
}

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

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

ul {
  list-style: none;
}

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

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & HIGHLIGHT ACCENT
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

/* Cursive Highlighted Text Requirement - Dark Green */
.cursive-highlight {
  font-family: var(--font-cursive);
  color: #015338;
  font-size: 1.22em;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-block;
  padding: 0 4px;
  position: relative;
  text-shadow: none;
}

/* --------------------------------------------------------------------------
   4. LAYOUT & UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 56px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #015338;
  background: rgba(1, 83, 56, 0.08);
  border: 1px solid rgba(1, 83, 56, 0.22);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.section-title-bar {
  width: 60px;
  height: 4px;
  background: #015338;
  border-radius: var(--radius-full);
  margin: 20px auto 0;
  box-shadow: 0 2px 8px rgba(1, 83, 56, 0.25);
}

/* --------------------------------------------------------------------------
   5. BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-height: 48px; /* 44px+ touch targets */
}

.btn-primary {
  background: #015338;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(1, 83, 56, 0.25);
}

.btn-primary:hover {
  background: #013f2b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 83, 56, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1.5px solid #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: rgba(1, 83, 56, 0.05);
  border-color: #015338;
  color: #015338;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #037d56 0%, #015338 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(1, 83, 56, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #026b48 0%, #013f2b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 83, 56, 0.35);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinning {
  animation: spin 1s linear infinite !important;
}

/* --------------------------------------------------------------------------
   6. GLASSMORPHIC CARDS
   -------------------------------------------------------------------------- */
.glass-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

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

/* --------------------------------------------------------------------------
   7. STICKY NAVIGATION BAR
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 5px 0;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(1, 83, 56, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

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

.brand-logo-img {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), height var(--transition-fast);
}

.header.scrolled .brand-logo-img,
.site-header.scrolled .brand-logo-img {
  height: 44px;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 90apx;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  background: rgba(1, 83, 56, 0.08);
  border: 1.5px solid #015338;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #015338;
  box-shadow: 0 2px 8px rgba(1, 83, 56, 0.15);
  transition: transform var(--transition-fast);
}

.logo-symbol svg {
  width: 24px;
  height: 24px;
}

.brand-logo:hover .logo-symbol {
  transform: rotate(6deg) scale(1.05);
}

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

.logo-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-highlight {
  color: #015338;
}

.logo-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 500;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #015338;
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover, .nav-link.active {
  color: #015338;
}

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

.nav-btn-link {
  background: #015338;
  color: #ffffff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(1, 83, 56, 0.25);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-btn-link:hover {
  background: #013f2b;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(1, 83, 56, 0.35);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-toggle .bar {
  height: 2.5px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   8. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.glow-1 {
  top: 5%;
  left: -10%;
  background: rgba(1, 83, 56, 0.05);
}

.glow-2 {
  bottom: 0%;
  right: -10%;
  background: rgba(1, 83, 56, 0.03);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #015338;
  background: rgba(1, 83, 56, 0.07);
  border: 1px solid rgba(1, 83, 56, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #015338;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(1, 83, 56, 0.5);
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

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

.hero-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-subtitle strong {
  color: #015338;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  max-width: 580px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.45rem;
  font-weight: 700;
  color: #015338;
  line-height: 1.2;
}

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

.stat-divider {
  width: 1px;
  height: 36px;
  background: #e5e7eb;
  margin: 0 20px;
}

/* Hero Visual & Badges */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  padding: 10px;
}

.hero-image {
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: transform var(--transition-normal);
  width: 100%;
}

.hero-image:hover {
  transform: scale(1.02);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(1, 83, 56, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -15px;
  right: -20px;
  animation-delay: 0.5s;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.badge-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(1, 83, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #015338;
}

.badge-icon-wrap.green {
  background: rgba(1, 83, 56, 0.1);
  color: #015338;
}

.badge-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.badge-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-subtitle {
  font-size: 0.72rem;
  color: #015338;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. WHAT WE DO SECTION
   -------------------------------------------------------------------------- */
.what-we-do-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.subsection-title {
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.features-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 34px;
}

.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.check-item strong {
  color: var(--text-primary);
}

.check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(1, 83, 56, 0.1);
  color: #015338;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-icon svg {
  width: 16px;
  height: 16px;
}

.advisor-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.advisor-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.advisor-overlay-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.overlay-avatar-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #015338;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.overlay-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

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

.overlay-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: #015338;
  background: rgba(1, 83, 56, 0.08);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(1, 83, 56, 0.2);
}

/* --------------------------------------------------------------------------
   10. HIGH IMPACT CTA SECTION
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 50px 0;
  position: relative;
  z-index: 2;
}

.cta-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 2px solid #015338;
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(1, 83, 56, 0.08);
}

.cta-card-bg {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(1, 83, 56, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #015338;
  background: rgba(1, 83, 56, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(1, 83, 56, 0.22);
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  margin-bottom: 18px;
  color: var(--text-primary);
}

.cta-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  border-color: rgba(1, 83, 56, 0.35);
  box-shadow: 0 16px 36px rgba(1, 83, 56, 0.1);
  transform: translateY(-4px);
}

.feature-card.highlight-border {
  border-color: #015338;
  border-width: 2px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(1, 83, 56, 0.08);
}

.card-span-2 {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.card-icon-box {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-md);
  background: rgba(1, 83, 56, 0.08);
  border: 1px solid rgba(1, 83, 56, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #015338;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.card-span-2 .card-icon-box {
  margin-bottom: 0;
}

.card-icon-box.accent {
  background: rgba(1, 83, 56, 0.12);
  border-color: #015338;
  box-shadow: 0 0 14px rgba(1, 83, 56, 0.15);
}

.feature-card:hover .card-icon-box {
  transform: scale(1.1);
  border-color: #015338;
}

.card-icon-box svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

.card-corner-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.card-corner-tag.featured {
  color: #015338;
  background: rgba(1, 83, 56, 0.1);
  border: 1px solid rgba(1, 83, 56, 0.22);
}

/* --------------------------------------------------------------------------
   12. OUR SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 83, 56, 0.35);
  box-shadow: 0 18px 40px rgba(1, 83, 56, 0.1);
}

.service-card.highlighted {
  border-color: #015338;
  border-width: 2px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(1, 83, 56, 0.12);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: #015338;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(1, 83, 56, 0.3);
}

.service-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(1, 83, 56, 0.12);
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-body);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(1, 83, 56, 0.08);
  border: 1px solid rgba(1, 83, 56, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #015338;
  margin-bottom: 22px;
}

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

.service-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.service-points {
  margin-top: auto;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-points li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.service-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #015338;
  font-weight: 700;
}

.service-action-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #015338;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-action-link:hover {
  gap: 10px;
  color: #013f2b;
}

/* --------------------------------------------------------------------------
   13. INTERACTIVE WEALTH CALCULATOR
   -------------------------------------------------------------------------- */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  padding: 48px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label-row label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.calc-display-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: #015338;
  font-family: var(--font-body);
}

/* Custom Slider Styling */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #e5e7eb;
  outline: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #015338;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(1, 83, 56, 0.35);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.calc-results {
  background: #f8faf9;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.result-big-value {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #015338;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: none;
}

.result-bar-wrap {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: var(--radius-full);
  display: flex;
  overflow: hidden;
  margin-bottom: 20px;
}

.result-bar-invested {
  height: 100%;
  background: #cbd5e1;
  transition: width 0.3s ease;
}

.result-bar-growth {
  height: 100%;
  background: #015338;
  transition: width 0.3s ease;
}

.result-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-item strong {
  color: var(--text-primary);
  margin-left: auto;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.legend-color.invested {
  background: #cbd5e1;
}

.legend-color.gain {
  background: #015338;
}

.calc-pitch {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   14. CONTACT FORM & OFFICE DETAILS
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
}

.contact-form-card {
  padding: 42px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.required {
  color: #015338;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  min-height: 48px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #015338;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(1, 83, 56, 0.15);
  outline: none;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #ffffff;
  color: #111827;
}

.field-error {
  font-size: 0.78rem;
  color: #dc2626;
  min-height: 16px;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

/* Marketing Consent Checkbox */
.form-checkbox-group {
  margin-top: 4px;
  margin-bottom: 6px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #94a3b8;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  margin-top: 2px;
  display: grid;
  place-content: center;
  transition: all var(--transition-fast);
}

.form-checkbox::before {
  content: '';
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 120ms ease-in-out;
  box-shadow: inset 1em 1em #ffffff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.form-checkbox:checked {
  background: #015338;
  border-color: #015338;
}

.form-checkbox:checked::before {
  transform: scale(1);
}

.form-checkbox:focus-visible {
  outline: 2px solid #015338;
  outline-offset: 2px;
}

.checkbox-label:hover .form-checkbox {
  border-color: #015338;
}

.checkbox-text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.checkbox-label:hover .checkbox-text {
  color: var(--text-primary);
}

/* Office Info Card */
.office-info-card {
  padding: 42px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.office-card-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.office-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.office-contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 34px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: rgba(1, 83, 56, 0.08);
  border: 1px solid rgba(1, 83, 56, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #015338;
  margin-top: 2px;
}

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

.item-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #015338;
  font-weight: 600;
}

.item-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.item-value a:hover {
  color: #015338;
  text-decoration: underline;
}

.whatsapp-box {
  margin-top: auto;
  background: #f8faf9;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.wa-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.btn-wa {
  background: #25D366;
  color: #013725;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-wa:hover {
  background: #2fe472;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. FOOTER SECTION
   -------------------------------------------------------------------------- */
.footer {
  background: #f8faf9;
  border-top: 1px solid #e5e7eb;
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-about {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 18px;
  margin-bottom: 24px;
  max-width: 360px;
}

.footer-heading {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #015338;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: #015338;
  padding-left: 4px;
}

.footer-disclaimer-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.disclaimer-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #015338;
  margin-bottom: 8px;
}

.disclaimer-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.disclaimer-text strong {
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
}

/* --------------------------------------------------------------------------
   16. TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ffffff;
  border: 1.5px solid #015338;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 0 15px rgba(1, 83, 56, 0.12);
  z-index: 2000;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

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

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #015338;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.toast-icon svg {
  width: 18px;
  height: 18px;
}

.toast-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.toast-message {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.toast.toast-error {
  border-color: #dc2626;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 0 15px rgba(220, 38, 38, 0.18);
}

.toast.toast-error .toast-icon {
  background: #dc2626;
}

/* --------------------------------------------------------------------------
   16.1 404 ERROR PAGE STYLES
   -------------------------------------------------------------------------- */
.error-404-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.error-404-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 40px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

.error-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #015338;
  background: rgba(1, 83, 56, 0.08);
  border: 1px solid rgba(1, 83, 56, 0.2);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.error-big-number {
  font-size: clamp(5rem, 12vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
  color: #015338;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.error-big-number .zero-chart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(65px, 9vw, 95px);
  height: clamp(65px, 9vw, 95px);
  border-radius: 50%;
  background: rgba(1, 83, 56, 0.08);
  border: 2px dashed #015338;
  color: #015338;
}

.error-big-number .zero-chart svg {
  width: 52%;
  height: 52%;
}

.error-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 800;
}

.error-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 42px;
}

.error-quick-links {
  border-top: 1px solid #e5e7eb;
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}

.error-quick-card {
  padding: 18px 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.error-quick-card:hover {
  border-color: #015338;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(1, 83, 56, 0.1);
}

.error-quick-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.error-quick-title svg {
  width: 16px;
  height: 16px;
  color: #015338;
  transition: transform var(--transition-fast);
}

.error-quick-card:hover .error-quick-title svg {
  transform: translateX(4px);
}

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

/* --------------------------------------------------------------------------
   16.2 LEGAL & POLICY PAGES (Privacy Policy, Terms & Conditions, Disclaimer)
   -------------------------------------------------------------------------- */
.legal-page-header {
  padding-top: 130px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, rgba(1, 83, 56, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  position: relative;
  overflow: hidden;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.legal-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-breadcrumb a:hover {
  color: #015338;
}

.legal-breadcrumb-sep {
  opacity: 0.5;
  font-size: 0.8rem;
}

.legal-breadcrumb-current {
  color: #015338;
  font-weight: 600;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #015338;
  background: rgba(1, 83, 56, 0.08);
  border: 1px solid rgba(1, 83, 56, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.legal-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.legal-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 24px;
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.legal-meta-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.legal-meta-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-meta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #015338;
  background: rgba(1, 83, 56, 0.08);
  border: 1px solid rgba(1, 83, 56, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-print:hover {
  background: #015338;
  color: #ffffff;
}

/* Legal Two-Column Layout */
.legal-main-section {
  padding: 40px 0 90px;
  position: relative;
}

.legal-layout-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sticky Sidebar Table of Contents */
.legal-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-toc-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.legal-toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid rgba(1, 83, 56, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-toc-link {
  display: block;
  padding: 6px 10px;
  font-size: 0.87rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  line-height: 1.4;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.legal-toc-link:hover,
.legal-toc-link.active {
  background: rgba(1, 83, 56, 0.07);
  color: #015338;
  border-left-color: #015338;
  font-weight: 600;
  padding-left: 12px;
}

.legal-support-card {
  background: linear-gradient(135deg, #015338 0%, #013f2b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(1, 83, 56, 0.2);
}

.legal-support-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-support-card p {
  font-size: 0.84rem;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 14px;
}

.legal-support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 14px;
  background: #ffffff;
  color: #015338;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.legal-support-btn:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Legal Content Body */
.legal-content-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.04);
}

.legal-intro-box {
  padding: 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #015338;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
}

.legal-intro-box p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-intro-box p:last-child {
  margin-bottom: 0;
}

.legal-section {
  scroll-margin-top: 100px;
  padding-bottom: 36px;
  border-bottom: 1px solid #f0f2f5;
  margin-bottom: 36px;
}

.legal-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.legal-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: -0.01em;
}

.legal-section-title .section-num {
  color: #015338;
  font-weight: 800;
}

.legal-subtitle-h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #015338;
  margin: 22px 0 10px;
}

.legal-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 14px;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #015338;
}

/* Callout Highlights */
.legal-callout {
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 24px 0;
  position: relative;
}

.legal-callout-warning {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 5px solid #dc2626;
}

.legal-callout-warning .callout-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 8px;
  font-size: 1rem;
}

.legal-callout-warning p {
  color: #7f1d1d;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 8px;
}

.legal-callout-warning p:last-child {
  margin-bottom: 0;
}

.legal-callout-info {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid #015338;
}

.legal-callout-info .callout-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #015338;
  margin-bottom: 8px;
  font-size: 1rem;
}

.legal-callout-info p {
  color: #14532d;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 8px;
}

.legal-callout-info p:last-child {
  margin-bottom: 0;
}

/* Contact Grid */
.legal-contact-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 20px;
}

.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.legal-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.legal-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(1, 83, 56, 0.09);
  color: #015338;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.legal-contact-info h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.legal-contact-info a,
.legal-contact-info span {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.legal-contact-info a:hover {
  color: #015338;
}

/* Responsive Styles for Legal Pages */
@media (max-width: 992px) {
  .legal-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-sidebar {
    position: relative;
    top: 0;
  }

  .legal-toc-card {
    max-height: none;
  }

  .legal-content-card {
    padding: 36px 28px;
  }

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

@media (max-width: 640px) {
  .legal-page-header {
    padding-top: 110px;
    padding-bottom: 30px;
  }

  .legal-content-card {
    padding: 28px 18px;
  }

  .legal-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

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

  .hero-stats {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .floating-badge.badge-top-right {
    right: 0;
  }

  .floating-badge.badge-bottom-left {
    left: 0;
  }

  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .card-span-2 {
    grid-column: span 2;
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
    padding: 32px;
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  /* Mobile Navigation Menu */
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px;
    gap: 20px;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(1, 83, 56, 0.2);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    color: var(--text-primary);
  }

  .nav-btn-link {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .mobile-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

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

  .mobile-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

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

  .card-span-2 {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .office-info-card {
    padding: 24px;
  }

  .cta-card {
    padding: 40px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 14px;
  }

  .stat-divider {
    display: none;
  }

  .brand-logo-img {
    height: 46px;
  }
}

@media (max-width: 520px) {
  .brand-logo-img {
    height: 42px;
  }

}

@media (max-width: 420px) {
}

/* --------------------------------------------------------------------------
   18. PREFERS REDUCED MOTION (Accessibility)
   -------------------------------------------------------------------------- */
@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;
  }
}
