:root {
  --primary: #0f4c5c;
  --primary-dark: #0a313c;
  --accent: #198c99;
  --accent-dark: #126e79;
  --accent-light: #e0f2f1;
  --background: #ffffff;
  --foreground: #1e282a;
  --card-bg: #ffffff;
  --muted: #f4f8f9;
  --border: #dce6e8;
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --shadow: 0 4px 6px -1px rgba(15, 76, 92, 0.04), 0 2px 4px -1px rgba(15, 76, 92, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(15, 76, 92, 0.06), 0 4px 6px -2px rgba(15, 76, 92, 0.03);
  --shadow-glow: 0 0 30px rgba(25, 140, 153, 0.1);
}

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #0f241b;
  font-weight: 700;
  line-height: 1.25;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  background-color: var(--primary);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}

.sub-brand {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #555c58;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

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

.btn-outline:hover {
  background-color: var(--muted);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
}

.btn-danger {
  background-color: #ef4444;
  color: white;
}

.btn-danger:hover {
  background-color: #dc2626;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.w-full {
  width: 100%;
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

/* Hero Section */
.hero {
  padding: 160px 24px 100px;
  background: linear-gradient(135deg, rgba(244, 251, 246, 0.8), rgba(255, 255, 255, 0.8));
  position: relative;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, #ffffff, transparent);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(19, 103, 50, 0.1);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.15;
}

.hero h1 span.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: #4a5450;
  max-width: 650px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Stats / Trust Banner */
.stats-section {
  max-width: 1000px;
  margin: -40px auto 80px;
  position: relative;
  z-index: 10;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 13px;
  color: #606864;
  font-weight: 500;
}

/* Section Common Styles */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h1,
.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.form-privacy {
  margin: 10px 0 0 !important;
  color: #667170 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  text-align: center;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industry-grid {
  max-width: 1100px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.industry-wide {
  grid-column: span 2;
}

.reviews-section {
  background: var(--muted);
}

.reviews-cta {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.reviews-cta strong,
.reviews-cta span {
  display: block;
}

.reviews-cta strong {
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 18px;
}

.reviews-cta span {
  color: #667170;
  font-size: 13px;
}

.faq-section {
  background: #ffffff;
}

.tools-page {
  padding-top: 140px;
}

.tools-intro {
  max-width: 1200px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: center;
}

.tools-intro h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: clamp(38px, 5vw, 58px);
}

.tools-intro > div > p {
  max-width: 720px;
  color: #4a5453;
  font-size: 17px;
}

.tools-intro aside {
  padding: 28px;
  color: #ffffff;
  background: var(--primary-dark);
  border-radius: 12px;
}

.tools-intro aside strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 20px;
}

.tools-intro aside p {
  color: #d7e4e5;
  font-size: 13px;
}

.tools-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-card {
  min-height: 300px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.tool-number {
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.tool-card h2 {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 20px;
}

.tool-card p {
  margin-bottom: 22px;
  color: #555e5f;
  font-size: 13.5px;
}

.tool-card small {
  margin-top: auto;
  color: #73807e;
  font-size: 11px;
}

.tool-card strong {
  margin-top: 12px;
  color: var(--accent-dark);
  font-size: 13px;
}

.tools-disclaimer {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--muted);
  border-left: 4px solid var(--accent);
}

.tools-disclaimer > div {
  max-width: 760px;
  color: #4a5453;
  font-size: 13px;
}

.mobile-menu-btn:focus-visible {
  outline: 3px solid #e0a51f;
  outline-offset: 4px;
}

.section-header p {
  color: #606864;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

/* Card Styles */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(19, 103, 50, 0.3);
}

.card-icon {
  background-color: var(--muted);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  color: #555c58;
  font-size: 14px;
}

/* Merger Story and Guarantee Blocks */
.about-merger-card {
  background-color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 60px;
}

.merger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.merger-text h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.guarantee-card {
  border: 2px solid var(--accent);
  background-color: #fffaf7;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(249, 112, 21, 0.05);
}

.guarantee-card h3 {
  color: var(--accent-dark);
  font-size: 26px;
  margin-bottom: 12px;
}

.guarantee-card p {
  max-width: 700px;
  margin: 0 auto;
  color: #4a5450;
}

/* Service Pricing Tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  background-color: var(--card-bg);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.premium {
  border: 2px solid var(--primary);
  background-color: var(--muted);
  transform: scale(1.03);
}

.pricing-badge {
  background-color: var(--primary);
  color: white;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 20px 0;
}

.pricing-price span {
  font-size: 14px;
  color: #606864;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 14px;
  color: #4a5450;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* Contact Offices Cards */
.office-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.office-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: left;
}

.office-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.office-card .province-tag {
  display: inline-block;
  background-color: var(--muted);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.office-card p {
  font-size: 14px;
  color: #4a5450;
  margin-bottom: 12px;
}

/* Income Tax Calculator */
.calc-container {
  background-color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 800px;
  margin: 40px auto;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4a5450;
  margin-bottom: 8px;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  background-color: #ffffff;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.calc-results {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f0;
}

.result-row:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 18px;
}

/* Admin Dashboard styles */
.admin-login-card {
  max-width: 400px;
  margin: 120px auto;
}

.admin-login-card h2 {
  text-align: center;
  margin-bottom: 24px;
}

.admin-container {
  max-width: 1200px;
  margin: 100px auto 40px;
  padding: 0 24px;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.admin-header-row h1 {
  font-size: 32px;
  color: var(--primary-dark);
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}

.admin-stat-card h4 {
  font-size: 13px;
  color: #606864;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.admin-stat-card p.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Leads Tables */
.admin-section {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 40px;
  overflow: hidden;
}

.admin-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eef2f0;
  padding-bottom: 12px;
}

.table-wrapper {
  overflow-x: auto;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.leads-table th {
  padding: 14px 16px;
  background-color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
}

.leads-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f0;
  font-size: 14px;
}

.leads-table tr:hover {
  background-color: #fafdfb;
}

/* Chat module inside Admin */
.admin-chat-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 600px;
  overflow: hidden;
  background-color: #ffffff;
}

.chat-sessions-list {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background-color: #fafcfb;
}

.chat-sessions-list-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-weight: bold;
  color: var(--primary-dark);
  font-size: 15px;
}

.chat-sessions-items {
  flex-grow: 1;
  overflow-y: auto;
}

.chat-session-item {
  padding: 16px;
  border-bottom: 1px solid #eef2f0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.chat-session-item:hover, .chat-session-item.active {
  background-color: var(--muted);
}

.chat-session-item h4 {
  font-size: 14px;
  color: #0d1e16;
}

.chat-session-item p {
  font-size: 12px;
  color: #606864;
}

.chat-console-area {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-console-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-console-header-info h3 {
  font-size: 16px;
}

.chat-console-header-info p {
  font-size: 12px;
  color: #606864;
}

.chat-console-body {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr 260px;
  overflow: hidden;
}

.chat-console-messages {
  padding: 24px;
  overflow-y: auto;
  background-color: #f7faf8;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 380px;
}

.msg {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.msg-user {
  background-color: #ffffff;
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.msg-admin {
  background-color: var(--primary);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.msg-system {
  background-color: #e5e9e7;
  color: #4a5450;
  align-self: center;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  text-align: center;
  max-width: 90%;
}

.chat-console-input-area {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 16px;
}

.chat-console-input-area input {
  flex-grow: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.chat-console-sidebar {
  border-left: 1px solid var(--border);
  padding: 20px;
  background-color: #fafcfb;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.chat-console-sidebar h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: #606864;
  margin-bottom: 4px;
}

/* Floating Chat widget client side */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 6px 16px rgba(19, 103, 50, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease;
}

.chat-bubble:hover {
  transform: scale(1.05);
}

.chat-indicator {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 2px solid white;
}

.chat-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  height: 480px;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
}

.chat-header {
  background-color: var(--primary);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-agent-avatar {
  background-color: var(--accent);
  color: var(--primary-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-agent-info h3 {
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.chat-agent-info p {
  font-size: 11px;
  opacity: 0.8;
}

.chat-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.chat-lead-capture {
  padding: 30px 24px;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chat-intro {
  font-size: 13px;
  color: #555c58;
  margin-bottom: 24px;
  text-align: center;
}

.chat-messages-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  background-color: #f7faf8;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-input-form {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
}

.chat-input-form input {
  flex-grow: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  outline: none;
  font-size: 13px;
}

.chat-input-form button {
  background-color: var(--primary);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer Section */
.footer {
  background-color: var(--primary-dark);
  color: #dfede5;
  padding: 64px 24px 24px;
  border-top: 4px solid var(--accent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-brand .corp-number {
  font-size: 11px;
  opacity: 0.65;
  line-height: 1.5;
}

.footer-links-col h4 {
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col ul li a {
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s;
}

.footer-links-col ul li a:hover {
  opacity: 1;
  color: #ffffff;
}

.footer-highlight {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
}

/* Utilities */
.text-center { text-align: center; }
.hide { display: none !important; }
.mb-12 { margin-bottom: 48px; }

/* Responsive */
@media (max-width: 1024px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 40px;
  }
  .pricing-grid, .grid-3, .office-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero h1 {
    font-size: 36px;
  }
  .pricing-grid, .grid-3, .office-card-grid, .merger-grid, .grid-2, .admin-stats-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .chat-sessions-list {
    height: 200px;
  }
  .chat-console-body {
    grid-template-columns: 1fr;
  }
  .chat-console-sidebar {
    display: none;
  }
}

/* --- NEW REDESIGN SECTIONS STYLES --- */

/* Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  text-align: left;
}

.hero-content {
  padding-right: 20px;
}

.hero-content h1 {
  font-size: 42px;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 16px;
  color: #4a5453;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #3b4445;
}

.bullet-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-form-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.hero-form-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.hero-form-card p {
  font-size: 13px;
  color: #606866;
  margin-bottom: 20px;
}

/* Trust Proof Strip */
.trust-strip {
  background-color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px;
}

.trust-strip-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
}

.trust-item span.stars {
  color: #ffb400;
  font-size: 16px;
  letter-spacing: 1px;
}

/* Soft Cards for Services */
.services-section {
  background-color: #ffffff;
}

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

.service-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.service-card p {
  font-size: 13.5px;
  color: #555e5f;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card .service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-card .service-link:hover {
  color: var(--accent-dark);
}

/* Who We Help Section */
.help-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.help-card {
  background-color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s;
}

.help-card:hover {
  background-color: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.help-card h3 {
  font-size: 15px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.help-card p {
  font-size: 12.5px;
  color: #606866;
  line-height: 1.4;
}

/* Founder Section */
.founder-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.founder-img-card {
  background-color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.founder-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 4px solid var(--accent-light);
}

.founder-img-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.founder-img-card p {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-statement {
  font-size: 18px;
  line-height: 1.6;
  color: var(--primary-dark);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}

.founder-statement::before {
  content: '“';
  font-size: 64px;
  font-family: serif;
  color: var(--accent-light);
  position: absolute;
  top: -30px;
  left: -20px;
  z-index: -1;
}

.founder-text p {
  font-size: 15px;
  color: #4a5453;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* 3-Step Process */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  text-align: left;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 13.5px;
  color: #555e5f;
  line-height: 1.5;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  font-size: 14px;
  color: #4a5453;
  line-height: 1.5;
  margin-bottom: 20px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.testimonial-author strong {
  font-size: 14px;
  color: var(--primary-dark);
}

.testimonial-author span {
  font-size: 12px;
  color: #70787a;
}

/* FAQ Section details summary styling */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: normal;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: #555e5f;
  line-height: 1.6;
  border-top: 1px solid rgba(220, 230, 232, 0.5);
  margin-top: -1px;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive updates for redesign */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  .hero-bullets {
    align-items: center;
  }
  .services-grid, .steps-grid, .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .help-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid, .steps-grid, .testimonial-grid, .help-grid {
    grid-template-columns: 1fr;
  }
  #root > .section:first-child {
    padding-top: 108px !important;
  }
  .hero-content {
    text-align: left;
  }
  .hero-content h1 {
    font-size: 32px;
    line-height: 1.16;
  }
  .hero-content .hero-lede {
    margin-bottom: 20px;
    font-size: 15px;
  }
  .hero-bullets {
    align-items: stretch;
    gap: 10px;
  }
  .bullet-item {
    align-items: flex-start;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .industry-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .industry-wide {
    grid-column: auto;
  }
  .reviews-cta,
  .tools-disclaimer {
    align-items: stretch;
    flex-direction: column;
  }
  .reviews-cta .btn,
  .tools-disclaimer .btn {
    width: 100%;
  }
  .tools-page {
    padding-top: 108px;
  }
  .tools-intro,
  .tools-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tools-intro {
    gap: 24px;
  }
  .tools-intro h1 {
    font-size: 38px;
  }
  .tool-card {
    min-height: 250px;
  }
}

/* Textarea styling for form */
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14.5px;
  background-color: #ffffff;
  font-family: var(--font-sans);
  resize: vertical;
  min-height: 90px;
}
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Contact Strip */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.contact-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.2s;
}

.contact-strip-item:hover {
  color: var(--accent);
}

/* Sticky Mobile Contact Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 15px rgba(15, 76, 92, 0.08);
  z-index: 9999;
  padding: 10px 16px;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 10px;
}

.mobile-sticky-bar .btn-sticky {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.mobile-sticky-bar .btn-sticky.call {
  background-color: #ffffff;
  color: var(--primary);
}

.mobile-sticky-bar .btn-sticky.whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.mobile-sticky-bar .btn-sticky.consult {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: grid;
  }
  body {
    padding-bottom: 72px; /* make space for sticky bar */
  }
}

/* Custom logo and certification styling */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
}

.footer-logo {
  filter: none;
}

/* Founder Profile Layout */
.founder-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
  margin-top: 40px;
}

.founder-bio {
  text-align: left;
}

.founder-bio h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

.founder-bio h3:first-of-type {
  margin-top: 0;
}

.founder-bio p {
  color: #4a5453;
  margin-bottom: 20px;
  line-height: 1.6;
}

.founder-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.founder-image-container {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}

.founder-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.founder-meta {
  text-align: left;
}

.founder-meta h4 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.founder-meta p.credential-subtitle {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.founder-details-list {
  list-style: none;
  font-size: 13px;
  color: #555e5f;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.founder-details-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.founder-details-list li svg {
  color: var(--accent);
}

@media (max-width: 768px) {
  .founder-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Refined desktop navigation */
.header {
  height: 76px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(10, 49, 60, 0.06);
}

.nav-container {
  max-width: 1320px;
  padding: 0 28px;
  gap: 22px;
}

.header .logo-link {
  min-width: 236px;
  flex: 0 0 auto;
  gap: 10px;
}

.header .logo-img {
  width: 48px;
  height: 48px;
}

.header .brand-name {
  font-size: 18px;
  line-height: 1.05;
}

.header .sub-brand {
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.header .nav-links {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(13px, 1.35vw, 22px);
}

.header .nav-link {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.header .nav-actions {
  flex: 0 0 auto;
  gap: 10px;
}

.header .nav-actions .btn {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 7px;
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
}

.header .btn-whatsapp {
  gap: 6px;
  color: #168f47;
  background: #ffffff;
  border: 1px solid #b9e9c9;
}

.header .btn-whatsapp:hover {
  color: #0d7437;
  background: #f1fbf5;
  border-color: #72d493;
}

.header .nav-consultation {
  padding-inline: 18px;
}

.header .mobile-nav {
  top: 76px;
}

.hero-grid {
  align-items: start;
}

@media (max-width: 1280px) {
  .header .nav-links,
  .header .nav-actions {
    display: none;
  }

  .header .mobile-menu-btn {
    display: block;
  }

  .header .nav-container {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .header {
    height: 72px;
  }

  .header .nav-container {
    padding: 0 18px;
  }

  .header .logo-link {
    min-width: 0;
  }

  .header .logo-img {
    width: 42px;
    height: 42px;
  }

  .header .brand-name {
    font-size: 17px;
  }

  .header .sub-brand {
    font-size: 7px;
  }

  .header .mobile-nav {
    top: 72px;
  }
}

/* Nav Dropdown & Pillars Styling */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown:hover .dropdown-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 270px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 76, 92, 0.12);
  padding: 8px 0;
  flex-direction: column;
  z-index: 120;
  margin-top: 4px;
}

.dropdown-menu a {
  padding: 10px 18px;
  font-size: 13.5px;
  color: #4a5453;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: var(--accent-light);
  color: var(--primary-dark);
}

.nav-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 5px;
  vertical-align: middle;
}

.mobile-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0 4px 0;
  border-bottom: 1px solid var(--border);
}

/* Footer Disclaimers Styling */
.footer-disclaimers-container {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.disclaimer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3.5px solid var(--accent);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.disclaimer-highlight {
  color: #fcd34d;
  font-weight: 600;
  border-bottom: 1px dashed #fcd34d;
}

/* In-section Disclaimer Box */
.section-disclaimer-box {
  background: var(--muted);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 13px;
  color: #4a5453;
  line-height: 1.6;
  margin-top: 24px;
}

/* Three Pillars Showcase */
.pillars-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pillar-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14px;
  color: #555e5f;
  line-height: 1.6;
  margin-bottom: 20px;
}

.pillar-features-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-features-list li {
  font-size: 13px;
  color: #333d3b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-features-list li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Waitlist Form Styling */
.context-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
}

.context-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #2c3637;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.context-checkbox-label:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.context-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
