/* ============================================================
   MARIS WEALTH MANAGEMENT — DESIGN SYSTEM v2
   P6 Brand Palette · Premium Professional Theme
   ============================================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  /* Colors — P6 Brand */
  --primary: #2D4A2E;
  --primary-light: #3D6B3E;
  --primary-dark: #1E331F;
  --primary-subtle: rgba(45,74,46,0.06);
  --accent: #2D4A2E;
  --accent-hover: #3D6B3E;
  --accent-light: rgba(45,74,46,0.12);
  --white: #FFFFFF;
  --off-white: #FAF9F6;
  --cream: #F5F3EE;
  --charcoal: #1E1E1E;
  --text: #333333;
  --text-light: #5A5A5A;
  --text-muted: #8A8A8A;
  --border: #E8E6E1;
  --border-light: #F0EDE8;
  --success: #2E7D5B;
  --error: #C0392B;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Radii */
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 24px; --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(45,74,46,0.04);
  --sh-sm: 0 1px 4px rgba(45,74,46,0.06);
  --sh-md: 0 4px 16px rgba(45,74,46,0.08);
  --sh-lg: 0 8px 32px rgba(45,74,46,0.10);
  --sh-xl: 0 16px 48px rgba(45,74,46,0.12);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.3s;

  /* Layout */
  --max-w: 1140px;
  --header-h: 80px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent); }
ul { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--primary); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: var(--sp-4); }
.lead { font-size: 1.125rem; color: var(--text-light); line-height: 1.75; max-width: 640px; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--sp-3);
}
.section-title { text-align: center; margin-bottom: var(--sp-4); }
.section-subtitle { text-align: center; color: var(--text-light); max-width: 600px; margin: 0 auto var(--sp-12); font-size: 1.05rem; }
.gold-rule { display: block; width: 56px; height: 3px; background: var(--accent); margin: var(--sp-4) auto var(--sp-8); border: none; border-radius: 2px; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-8); }
.section { padding: var(--sp-24) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--primary); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: var(--r-md); font-family: var(--font-body);
  font-weight: 600; font-size: 0.92rem; cursor: pointer; border: 2px solid transparent;
  transition: all var(--dur) var(--ease); text-decoration: none; gap: 8px; line-height: 1.4;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary, .btn--primary {
  background: var(--accent); color: var(--white); border-color: var(--accent);
}
.btn-primary:hover, .btn--primary:hover {
  background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white);
  box-shadow: 0 4px 16px rgba(45,74,46,0.25);
}

.btn-secondary, .btn--secondary {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover, .btn--secondary:hover {
  background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white);
}

.btn-outline, .btn--outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover, .btn--outline:hover {
  background: var(--primary); color: var(--white);
}

.btn--sm { padding: 9px 20px; font-size: 0.85rem; }
.btn--lg, .btn-lg { padding: 16px 38px; font-size: 1.02rem; }

/* CTA button (nav) */
.nav-cta .btn-cta,
.btn-cta {
  display: inline-flex; align-items: center; padding: 10px 22px;
  background: var(--primary); color: var(--cream); border-radius: var(--r-md);
  font-weight: 600; font-size: 0.88rem; transition: all var(--dur) var(--ease);
  border: 2px solid var(--cream); letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-cta .btn-cta:hover,
.btn-cta:hover { background: var(--primary-light); color: #FFFFFF; border-color: #FFFFFF; box-shadow: 0 4px 14px rgba(45,74,46,0.25); transform: translateY(-1px); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-md); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-8); height: var(--header-h);
}

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 64px; width: auto; }

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: var(--sp-8); }
.main-nav ul { display: flex; list-style: none; gap: var(--sp-6); }
.main-nav a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-light);
  position: relative; padding: 4px 0; transition: color var(--dur) var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width var(--dur) var(--ease); border-radius: 1px;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.btn-cta.active, .nav-cta .btn-cta.active { color: var(--cream); background: var(--primary); }
.nav-cta { margin-left: var(--sp-4); }

/* Mobile toggle */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--charcoal);
  border-radius: 2px; transition: all var(--dur) var(--ease);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: var(--sp-8); z-index: 99; box-shadow: var(--sh-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav a {
  display: block; padding: var(--sp-4) 0; font-size: 1rem;
  color: var(--text-light); border-bottom: 1px solid var(--border-light);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: var(--sp-6); width: 100%; text-align: center; }

/* ---------- HERO ---------- */
.hero {
  padding: calc(var(--header-h) + var(--sp-24)) 0 var(--sp-24);
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(45,74,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: var(--sp-6); }
.hero .lead { color: rgba(255,255,255,0.82); margin: 0 auto var(--sp-10); }
.hero .eyebrow { color: rgba(255,255,255,0.7); }
.hero-cta, .hero-ctas { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* Buttons on dark backgrounds */
.hero .btn-primary, .section--dark .btn-primary,
.hero .btn--primary, .section--dark .btn--primary {
  background: var(--white); color: var(--primary); border-color: var(--white);
}
.hero .btn-primary:hover, .section--dark .btn-primary:hover,
.hero .btn--primary:hover, .section--dark .btn--primary:hover {
  background: var(--off-white); color: var(--primary-dark); border-color: var(--off-white);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}

/* Page hero (shorter) */
.hero--page {
  padding: calc(var(--header-h) + var(--sp-16)) 0 var(--sp-16);
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  padding: var(--sp-12) 0; border-bottom: 1px solid var(--border-light);
  background: var(--white);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-8);
  text-align: center;
}
.trust-item .number, .trust-number {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--primary); margin-bottom: var(--sp-1);
}
.trust-item .label, .trust-label {
  font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 500;
}

/* ---------- CARDS ---------- */
.card, .service-card {
  background: var(--white); border-radius: var(--r-xl); padding: var(--sp-10);
  box-shadow: var(--sh-sm); border: 1px solid var(--border-light);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover, .service-card:hover {
  transform: translateY(-4px); box-shadow: var(--sh-lg);
}

.card-icon, .service-icon {
  width: 52px; height: 52px; background: var(--primary-subtle);
  border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-6);
}
.card-icon svg, .service-icon svg { width: 24px; height: 24px; }

.card h3, .service-card h3 { margin-bottom: var(--sp-2); }
.card p, .service-card > p { color: var(--text-light); font-size: 0.95rem; }

.service-link, .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.88rem; color: var(--accent); margin-top: var(--sp-4);
}
.service-link:hover, .card-link:hover { color: var(--accent-hover); gap: 10px; }

/* Services grid */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-8);
}

/* Service checklist */
.service-checklist { list-style: none; margin: var(--sp-6) 0; }
.service-checklist li {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-2) 0; font-size: 0.92rem; color: var(--text-light);
}
.service-checklist li svg { flex-shrink: 0; margin-top: 3px; }

.card-header { margin-bottom: var(--sp-4); }
.card-body { }
.risk-disclosure {
  margin-top: var(--sp-6); padding: var(--sp-4); background: var(--off-white);
  border-radius: var(--r-md); border-left: 3px solid var(--accent);
}
.risk-disclosure p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ---------- INFO BLOCKS ---------- */
.info-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center;
}
.info-block--reverse { direction: rtl; }
.info-block--reverse > * { direction: ltr; }
.info-list { list-style: none; }
.info-list li {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: var(--sp-4) 0; border-bottom: 1px solid var(--border-light);
}
.info-list li:last-child { border-bottom: none; }
.info-list .icon { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* Placeholder image blocks */
.placeholder-image {
  width: 100%; aspect-ratio: 4/3; background: var(--cream);
  border-radius: var(--r-xl); border: 1px solid var(--border);
}

/* ---------- TABS ---------- */
.tabs-container { max-width: 960px; margin: 0 auto; }
.tabs-buttons {
  display: flex; gap: var(--sp-2); margin-bottom: var(--sp-10);
  justify-content: center; flex-wrap: wrap;
}
.tab-btn, .tab-button {
  padding: 11px 28px; border-radius: var(--r-full); font-size: 0.9rem; font-weight: 600;
  font-family: var(--font-body); cursor: pointer; border: 2px solid var(--border);
  background: var(--white); color: var(--text-light); transition: all var(--dur) var(--ease);
}
.tab-btn:hover, .tab-button:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active, .tab-button.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- PROCESS STEPS ---------- */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-8); counter-reset: step;
}
.process-step { text-align: center; padding: var(--sp-8) var(--sp-6); position: relative; }
.process-step::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; background: var(--primary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0 auto var(--sp-4);
}
.process-step h3, .process-step h4 { margin-bottom: var(--sp-2); font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; color: var(--text-light); }

/* ---------- FEE TABLE ---------- */
.fee-section { padding: var(--sp-24) 0; background: var(--off-white); }
.fee-table-container { max-width: 680px; margin: 0 auto; }
.fee-table {
  width: 100%; border-collapse: collapse; margin: var(--sp-8) 0;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
}
.fee-table th {
  background: var(--primary); color: var(--white); padding: 14px 20px;
  text-align: left; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 600;
}
.fee-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem; background: var(--white);
}
.fee-table tr:nth-child(even) td { background: var(--off-white); }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table td:last-child { font-weight: 600; color: var(--primary); }

.fee-info { max-width: 680px; margin: var(--sp-8) auto 0; }
.fee-info p { font-size: 0.92rem; color: var(--text-light); margin-bottom: var(--sp-3); }
.disclosure-box {
  margin-top: var(--sp-6); padding: var(--sp-6); background: var(--white);
  border-radius: var(--r-md); border-left: 3px solid var(--accent);
}
.disclosure-box p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-8);
}
.testimonial-card {
  background: var(--white); border-radius: var(--r-xl); padding: var(--sp-10);
  border-left: 4px solid var(--accent); box-shadow: var(--sh-sm);
}
.testimonial-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: var(--sp-4); letter-spacing: 2px; }
.testimonial-quote { font-size: 1rem; font-style: italic; color: var(--text-light); line-height: 1.7; margin-bottom: var(--sp-4); }
.testimonial-author { font-weight: 600; font-size: 0.88rem; color: var(--primary); }
.testimonial-disclaimer { margin-top: var(--sp-8); text-align: center; }
.testimonial-disclaimer small { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- PORTAL ---------- */
.portal-card {
  max-width: 560px; margin: 0 auto; background: var(--white);
  border-radius: var(--r-2xl); padding: var(--sp-12); text-align: center;
  box-shadow: var(--sh-lg); border: 1px solid var(--border-light);
}
.portal-card h2 { margin-bottom: var(--sp-3); }
.portal-card p { color: var(--text-light); margin-bottom: var(--sp-8); }
.portal-features { list-style: none; text-align: left; margin-bottom: var(--sp-8); }
.portal-features li {
  display: flex; gap: var(--sp-3); align-items: center;
  padding: var(--sp-3) 0; font-size: 0.92rem; color: var(--text-light);
}

/* ---------- FORMS ---------- */
.form-group { margin-bottom: var(--sp-6); }
.form-group label {
  display: block; font-weight: 600; font-size: 0.88rem;
  margin-bottom: var(--sp-2); color: var(--primary);
}
.form-input, .form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--r-md); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none; background: var(--white);
}
.form-input:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light);
}
textarea.form-input, .form-group textarea { resize: vertical; min-height: 120px; }
select.form-input, .form-group select {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
}

.btn-submit {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px; background: var(--accent); color: var(--white);
  border: none; border-radius: var(--r-md); font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.btn-submit:hover {
  background: var(--accent-hover); box-shadow: 0 4px 16px rgba(45,74,46,0.25);
  transform: translateY(-1px);
}

/* ---------- CTA SECTION ---------- */
.cta-section, .cta-final, .final-cta {
  padding: var(--sp-24) 0;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  text-align: center; color: var(--white);
}
.cta-section h2, .cta-final h2, .final-cta h2 { color: var(--white); margin-bottom: var(--sp-4); }
.cta-section p, .cta-final p, .final-cta p { color: rgba(255,255,255,0.8); margin-bottom: var(--sp-8); font-size: 1.05rem; }
.cta-section .btn-primary, .cta-final .btn-primary, .final-cta .btn-primary {
  background: var(--white); color: var(--primary); border-color: var(--white);
}
.cta-section .btn-primary:hover, .cta-final .btn-primary:hover, .final-cta .btn-primary:hover {
  background: var(--off-white); color: var(--primary-dark); border-color: var(--off-white);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}
.cta-box { max-width: 600px; margin: 0 auto; }

/* ---------- FOUNDER / ABOUT ---------- */
.founder-section { padding: var(--sp-24) 0; }
.founder-section h2 { margin-bottom: var(--sp-8); padding-bottom: var(--sp-4); }
.founder-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--sp-16); align-items: start;
}
.founder-text p { margin-bottom: var(--sp-5); line-height: 1.75; }
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
}

/* ---------- APPROACH SECTION (About) ---------- */
.approach-section { padding: var(--sp-20) 0; background: var(--cream); }
.approach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); margin-top: var(--sp-12);
}
.approach-card {
  background: var(--white); border-radius: var(--r-lg); padding: var(--sp-10) var(--sp-8);
  box-shadow: var(--sh-sm); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.approach-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.approach-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--primary-subtle); display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5); color: var(--primary);
}
.approach-card h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: var(--primary); margin-bottom: var(--sp-3); line-height: 1.3;
}
.approach-card p {
  font-size: 0.95rem; line-height: 1.7; color: var(--text-light); margin: 0;
}
@media (max-width: 900px) {
  .approach-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ---------- TRUST BAR (Services) ---------- */
.trust-bar { padding: var(--sp-16) 0; background: var(--off-white); }
.trust-bar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); text-align: center;
}
.trust-bar-item { display: flex; flex-direction: column; align-items: center; }
.trust-bar-icon {
  width: 48px; height: 48px; border-radius: var(--r-full);
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4); color: var(--white);
}
.trust-bar-item h4 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--primary); margin-bottom: var(--sp-2);
}
.trust-bar-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; max-width: 280px; margin: 0 auto; }
@media (max-width: 768px) {
  .trust-bar-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
}

/* ---------- FOOTER ---------- */
.site-footer, .footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.7);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.footer-content { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-8); }

/* Footer brand */
.footer-brand { margin-bottom: var(--sp-4); }
.footer-brand .logo-img-footer { height: auto; width: 200px; max-height: 80px; display: block; }
.footer-brand h4, .footer-brand .footer-heading { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; }

.footer-description, .footer-column p {
  font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.55);
}

/* Footer social */
.footer-social, .social-links, .social-icons {
  display: flex; gap: var(--sp-4); margin-top: var(--sp-6);
}
.footer-social a, .social-links a, .social-icons a {
  color: rgba(255,255,255,0.4); transition: color var(--dur) var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover, .social-links a:hover, .social-icons a:hover { color: var(--accent); }
.social-link { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.social-link:hover { color: var(--accent); }

/* Footer columns */
.footer-column h4, .footer-section h4, .footer-heading {
  color: var(--white); font-family: var(--font-body); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-6); font-weight: 600;
}
.footer-column ul, .footer-section ul, .footer-links { list-style: none; }
.footer-column li, .footer-section li { margin-bottom: var(--sp-2); }
.footer-column a, .footer-section a, .footer-links a {
  color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color var(--dur) var(--ease);
}
.footer-column a:hover, .footer-section a:hover, .footer-links a:hover { color: var(--accent); }
.footer-contact li, .footer-contact-info { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-contact a { color: rgba(255,255,255,0.55); }
.footer-contact a:hover { color: var(--accent); }

/* Footer disclosures */
.footer-disclosures, .footer-compliance {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--sp-8); margin-top: var(--sp-8);
}
.footer-disclosures p, .footer-compliance p {
  font-size: 0.73rem; color: rgba(255,255,255,0.3); line-height: 1.6; margin-bottom: var(--sp-2);
}
.footer-disclosures p:last-child, .footer-compliance p:last-child { margin-bottom: 0; }

/* Footer bottom */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: var(--sp-4); border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-6); margin-top: var(--sp-6);
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin: 0; }
.footer-bottom a, .footer-legal a { color: rgba(255,255,255,0.3); font-size: 0.78rem; }
.footer-bottom a:hover, .footer-legal a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: var(--sp-6); list-style: none; }

/* ---------- CALENDAR SECTION ---------- */
.calendar-section { padding: var(--sp-16) 0; }
.calendar-container { max-width: 800px; margin: 0 auto; }
.calendar-placeholder {
  background: var(--cream); border: 2px dashed var(--border); border-radius: var(--r-xl);
  padding: var(--sp-16); text-align: center; color: var(--text-muted);
}
.calendly-inline-widget { min-height: 700px; }

/* ---------- SCROLL-TO-TOP ---------- */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px;
  background: var(--primary); color: var(--white); border: none;
  border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden;
  transition: all var(--dur) var(--ease); box-shadow: var(--sh-md); z-index: 50;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent); transform: translateY(-2px); }

/* ---------- ANIMATIONS ---------- */
.animate-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.animate-in.in-view { opacity: 1; transform: translateY(0); }
.animate-fade-in { opacity: 0; transition: opacity 0.6s var(--ease); }
.animate-fade-in.in-view { opacity: 1; }
.animate-slide-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease) var(--delay, 0s), transform 0.5s var(--ease) var(--delay, 0s); }
.animate-slide-up.in-view { opacity: 1; transform: translateY(0); }

/* ---------- FIDUCIARY SECTION ---------- */
.fiduciary-section, .business-section { padding: var(--sp-20) 0; }
.fiduciary-content, .business-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center;
}
.fiduciary-list {
  list-style: none; margin: var(--sp-6) 0 var(--sp-8);
}
.fiduciary-list li {
  padding: var(--sp-3) 0; font-size: 0.95rem; color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
}
.fiduciary-list li:last-child { border-bottom: none; }
.fiduciary-list strong { color: var(--primary); }
.fiduciary-image, .business-image { display: flex; align-items: center; justify-content: center; }

/* ---------- SERVICES OVERVIEW ---------- */
.services-overview, .services-section { padding: var(--sp-20) 0; }
.section-header { text-align: center; margin-bottom: var(--sp-12); }
.section-header h2 { margin-bottom: var(--sp-3); }
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ---------- TRUST CARDS (schedule page) ---------- */
.trust-section { padding: var(--sp-16) 0; background: var(--cream); }
.trust-card {
  background: var(--white); border-radius: var(--r-xl); padding: var(--sp-8);
  text-align: center; box-shadow: var(--sh-sm); border: 1px solid var(--border-light);
}
.trust-card .trust-icon {
  width: 48px; height: 48px; background: var(--primary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; margin: 0 auto var(--sp-4);
}
.trust-card h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.trust-card p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* Alternative contact section */
.alternative-contact { padding: var(--sp-16) 0; background: var(--cream); }
.alternative-contact .contact-form { max-width: 600px; margin: 0 auto; }
.what-to-expect { padding: var(--sp-16) 0; }

/* Step connectors */
.step-number-connector { display: none; }
.step-number { display: none; } /* Hidden because we use ::before counter */

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--sp-12); align-items: start;
}
.contact-info { padding: var(--sp-8); }
.contact-info h3 { margin-bottom: var(--sp-4); }
.contact-detail { display: flex; gap: var(--sp-3); align-items: flex-start; margin-bottom: var(--sp-4); }
.contact-detail .icon { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ---------- NEWSLETTER SECTION ---------- */
.newsletter-section {
  padding: var(--sp-20) 0;
  background: var(--cream);
}
.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.newsletter-text h2 { margin-bottom: var(--sp-4); }
.newsletter-text p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }
.newsletter-form { width: 100%; }
.newsletter-fields {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.newsletter-field input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  background: var(--white);
}
.newsletter-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.newsletter-btn {
  width: 100%;
  margin-top: var(--sp-2);
}
.newsletter-disclaimer {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: var(--sp-3);
  margin-bottom: 0;
}
.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;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .logo-img { height: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-block, .fiduciary-content, .business-content, .newsletter-content { grid-template-columns: 1fr; gap: var(--sp-8); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--header-h) + var(--sp-12)) 0 var(--sp-12); }
  .hero--page { padding: calc(var(--header-h) + var(--sp-10)) 0 var(--sp-10); }
  .section { padding: var(--sp-16) 0; }
  .container { padding: 0 var(--sp-4); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .services-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
}
