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

/* --- PREMIUM DESIGN SYSTEM --- */
:root {
  /* HSL Color Palette */
  --primary-rgb: 10, 25, 47;
  --primary: hsl(217, 65%, 11%);       /* Deep Regal Navy */
  --primary-light: hsl(217, 50%, 18%); /* Lighter corporate navy */
  --primary-dark: hsl(217, 80%, 7%);   /* Midnight Navy */
  
  --accent: hsl(35, 38%, 64%);         /* Champagne Gold */
  --accent-light: hsl(35, 40%, 75%);   /* Soft Gold */
  --accent-dark: hsl(35, 35%, 51%);    /* Deep Bronze Gold */
  
  --bg-white: #ffffff;
  --bg-milk: #fcfbf9;                  /* Warm luxury white */
  --bg-light: #faf9f6;                 /* Light panel tint */
  --bg-slate: #f1f3f5;                 /* Cool slate tint */
  
  --text-main: #1f2937;                /* Slate Charcoal */
  --text-secondary: #4b5563;           /* Muted Gray-Charcoal */
  --text-muted: #8b949e;               /* Soft silver-gray */
  
  --border-light: #e5e7eb;
  --border-accent: rgba(197, 168, 128, 0.3);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-editorial: 'Playfair Display', serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.08);
  --shadow-gold: 0 10px 30px rgba(197, 168, 128, 0.15);
  
  --border-radius: 4px; /* Classic sharp professional borders */
  --border-radius-lg: 8px;
}

/* --- BASE STYLES & RESET --- */
*, *::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-color: var(--bg-milk);
  color: var(--text-main);
  line-height: 1.625;
  overflow-x: hidden;
}

/* --- SCROLLBAR STYLES --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 10px;
  border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 2rem;
  font-weight: 700;
}

h2.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 4rem;
  height: 2px;
  background-color: var(--accent);
}

h2.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

p.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
}

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

ul {
  list-style: none;
}

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
  position: relative;
}

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

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

.bg-dark-section h2, .bg-dark-section h3 {
  color: var(--bg-white);
}

.bg-dark-section p {
  color: var(--text-muted);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

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

/* --- BUTTONS & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1.1rem 2.2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  border: 1px solid var(--primary);
}

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

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

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: 0 4px 15px rgba(10, 25, 47, 0.2);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--bg-white);
  color: var(--primary);
  border: 1px solid var(--bg-white);
}

.btn-light:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  position: relative;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
  transform: scaleX(0.6);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.btn-text:hover::after {
  transform: scaleX(1);
}

.btn-text svg {
  transition: var(--transition-fast);
}

.btn-text:hover svg {
  transform: translateX(4px);
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  width: 100%;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--accent-dark);
}

.logo svg {
  width: 32px;
  height: 32px;
  color: var(--accent-dark);
}

nav ul {
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.02em;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

nav a.active::after, nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

/* --- PAGE ROUTING SYSTEM & TRANSITIONS --- */
.page {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: 83px; /* Prevent overlap with fixed header */
  min-height: calc(100vh - 83px);
}

.page.active {
  display: block;
}

.page.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- PRELOADER --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(10px);
  animation: loadIn 0.8s forwards 0.2s;
}

.loader-logo span {
  color: var(--accent);
}

.loader-bar {
  width: 120px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.loader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: var(--accent);
  animation: loadBar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loadIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadBar {
  to {
    width: 100%;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding: 10rem 0 7rem;
  background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.04) 0%, transparent 50%), var(--bg-milk);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.25);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  margin-bottom: 2rem;
  border-radius: 2px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  color: var(--accent-dark);
  margin-top: 0.5rem;
}

.hero p {
  margin-bottom: 3rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

/* --- INTRODUCTION SECTION --- */
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  align-items: flex-start;
}

.intro-right p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

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

/* --- CREDENTIALS SECTION --- */
.credentials-bar {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
  margin-top: 2rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

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

.credential-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.credential-label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.credential-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* --- INTERACTIVE TAX & BUSINESS HEALTH CHECK (WOW Widget) --- */
.health-check-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 4rem auto 0;
}

.hc-header {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.hc-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(197, 168, 128, 0.1));
  pointer-events: none;
}

.hc-header h3 {
  margin-bottom: 0.5rem;
  color: var(--bg-white);
}

.hc-header p {
  color: var(--accent-light);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.hc-progress-container {
  height: 4px;
  background-color: var(--primary-light);
  width: 100%;
}

.hc-progress-bar {
  height: 100%;
  width: 25%;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.hc-body {
  padding: 3rem;
  min-height: 250px;
}

.hc-step {
  display: none;
}

.hc-step.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

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

.hc-step h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 500;
}

.hc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hc-option {
  border: 1px solid var(--border-light);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hc-option::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: inline-block;
  transition: var(--transition-fast);
}

.hc-option:hover {
  border-color: var(--accent);
  background-color: rgba(197, 168, 128, 0.03);
  color: var(--primary);
}

.hc-option.selected {
  border-color: var(--accent-dark);
  background-color: rgba(197, 168, 128, 0.08);
  color: var(--primary);
}

.hc-option.selected::after {
  border-color: var(--accent-dark);
  background-color: var(--accent-dark);
  box-shadow: inset 0 0 0 3px var(--bg-white);
}

/* Results styles */
.hc-results-summary {
  margin-bottom: 2rem;
}

.hc-badge-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hc-result-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg-slate);
  border-radius: 2px;
}

.hc-recommendations h5 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hc-rec-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hc-rec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: var(--bg-light);
  padding: 1rem;
  border-left: 3px solid var(--accent);
  font-size: 0.9375rem;
  color: var(--text-main);
  font-weight: 500;
}

.hc-rec-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent-dark);
  margin-top: 2px;
}

.hc-footer {
  padding: 1.5rem 3rem 2.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- TESTIMONIAL SECTION --- */
.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.testimonial-quotes-icon {
  font-family: var(--font-editorial);
  font-size: 8rem;
  color: rgba(197, 168, 128, 0.15);
  line-height: 0;
  height: 2rem;
  display: block;
  margin-bottom: 2rem;
}

.testimonial-slider {
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.testimonial-text {
  font-family: var(--font-editorial);
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--bg-milk) !important;
  margin-bottom: 2rem;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-light);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background-color: var(--accent-dark);
  transform: scale(1.3);
}

/* --- ABOUT US PAGE --- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.philosophy-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
}

.philosophy-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.philosophy-card:hover::after {
  width: 100%;
}

.philosophy-num {
  font-family: var(--font-editorial);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.philosophy-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.philosophy-card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* Why choose us block style */
.why-block {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  border-radius: var(--border-radius);
}

.why-block:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.why-icon {
  background-color: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.2);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius);
  color: var(--accent-dark);
  flex-shrink: 0;
}

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

.why-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.why-content p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* --- SERVICES PAGE --- */
.services-intro {
  max-width: 700px;
  margin-bottom: 4rem;
}

.services-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.services-sidebar {
  position: sticky;
  top: 130px;
}

.services-menu {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border-light);
}

.services-menu-item {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 1rem 0 1rem 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
  border: none;
  background: none;
  position: relative;
}

.services-menu-item::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: transparent;
  transition: var(--transition-fast);
}

.services-menu-item:hover {
  color: var(--primary);
}

.services-menu-item.active {
  color: var(--accent-dark);
  font-weight: 600;
}

.services-menu-item.active::before {
  background-color: var(--accent-dark);
}

.service-display-area {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 4rem;
  box-shadow: var(--shadow-sm);
  min-height: 500px;
  position: relative;
}

.service-panel {
  display: none;
}

.service-panel.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.service-panel h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.service-panel .lead-p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2rem;
}

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 3rem;
}

.service-item-li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.0625rem;
  color: var(--text-main);
  font-weight: 500;
  padding: 0.5rem 0;
}

.service-item-li svg {
  color: var(--accent-dark);
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* --- INDUSTRIES PAGE --- */
.industries-intro {
  max-width: 700px;
  margin-bottom: 4rem;
}

.industries-grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.industry-card-tile {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
  border-radius: var(--border-radius);
  cursor: pointer;
}

.industry-card-tile:hover {
  border-color: var(--accent-dark);
  background-color: var(--bg-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.industry-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.industry-logo-box {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(197, 168, 128, 0.05);
  border: 1px solid rgba(197, 168, 128, 0.15);
  color: var(--accent-dark);
  border-radius: 4px;
}

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

.industry-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.industry-arrow {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.industry-card-tile:hover .industry-arrow {
  color: var(--accent-dark);
  transform: translateX(5px);
}

/* Modal detail styling for industry helper */
.industry-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.industry-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.industry-modal-box {
  background-color: var(--bg-white);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-lg);
  max-width: 550px;
  width: 90%;
  padding: 3rem;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--border-radius);
}

.industry-modal-overlay.active .industry-modal-box {
  transform: scale(1);
}

.industry-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.industry-modal-close:hover {
  color: var(--primary);
}

.industry-modal-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.industry-modal-header h3 {
  margin-bottom: 0;
}

.industry-modal-content h4 {
  font-size: 1rem;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* --- INSIGHTS / BLOG PAGE --- */
.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.insights-intro-block {
  max-width: 600px;
}

.insights-filter-buttons {
  display: flex;
  gap: 1rem;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: 20px;
  color: var(--text-secondary);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent-dark);
  color: var(--primary);
  background-color: rgba(197, 168, 128, 0.05);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.blog-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 168, 128, 0.4);
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.blog-title {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 600;
}

.blog-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-meta svg {
  width: 14px;
  height: 14px;
}

/* --- CONTACT PAGE --- */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
}

.contact-info-panel {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.contact-info-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(197,168,128,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-panel h3 {
  color: var(--bg-white);
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.contact-info-panel p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-item-icon {
  background-color: var(--primary-light);
  border: 1px solid rgba(197, 168, 128, 0.2);
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent);
  border-radius: 4px;
  flex-shrink: 0;
}

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

.contact-item-details h4 {
  color: var(--bg-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-item-details p, .contact-item-details a {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
  transition: var(--transition-fast);
}

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

/* Scheduler / Form Panel */
.contact-form-panel h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-form-panel p {
  margin-bottom: 3rem;
}

.contact-form {
  display: grid;
  gap: 2rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.8rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-light);
  outline: none;
  color: var(--text-main);
  transition: var(--transition-fast);
}

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

.form-label {
  position: absolute;
  left: 0;
  top: 0.8rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
  font-size: 1rem;
}

/* Floating labels effect */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label,
.form-select:focus ~ .form-label,
.form-select:not([value=""]):valid ~ .form-label {
  top: -1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-bottom-color: var(--accent-dark);
}

.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--text-secondary);
  position: absolute;
  right: 0;
  top: 1rem;
  pointer-events: none;
}

/* Success Modal Styles */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.success-box {
  background-color: var(--bg-white);
  padding: 4rem 3rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--border-radius);
}

.success-modal.active .success-box {
  transform: translateY(0);
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  background-color: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.25);
  color: var(--accent-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2rem;
}

.success-icon-wrapper svg {
  width: 36px;
  height: 36px;
}

.success-box h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.success-box p {
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
}

/* --- FOOTER CONTENT --- */
footer {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}

.footer-brand h4 span {
  color: var(--accent);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(255,255,255,0.02);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  border-radius: 4px;
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(197, 168, 128, 0.05);
}

.footer-links-col h5 {
  color: var(--bg-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-col a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--accent);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--accent);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  
  .intro-grid { gap: 3rem; }
  .services-layout-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-sidebar { position: static; }
  .services-menu { flex-direction: row; border-left: none; border-bottom: 2px solid var(--border-light); overflow-x: auto; padding-bottom: 1px; }
  .services-menu-item { padding: 1rem 1.5rem; border-bottom: 2px solid transparent; }
  .services-menu-item::before { display: none; }
  .services-menu-item.active { border-bottom-color: var(--accent-dark); }
  
  .contact-split-grid { grid-template-columns: 1fr; gap: 4rem; }
  .footer-top { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  
  section { padding: 5rem 0; }
  
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  
  .intro-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  
  .hero { padding: 8rem 0 5rem; }
  .hero-ctas { flex-direction: column; gap: 1rem; }
  
  .mobile-toggle { display: block; }
  nav {
    position: fixed;
    top: 83px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
  }
  
  nav.active {
    height: 380px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
  }
  
  .hc-options-grid { grid-template-columns: 1fr; }
  .hc-body { padding: 2rem; }
  .hc-footer { padding: 1.5rem 2rem 2rem; }
  .hc-header { padding: 2rem; }
  
  .philosophy-grid { grid-template-columns: 1fr; }
  .industries-grid-list { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  
  .insights-header { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .insights-filter-buttons { width: 100%; overflow-x: auto; padding-bottom: 0.5rem; }
  
  .contact-info-panel { padding: 2.5rem; }
  .form-group-row { grid-template-columns: 1fr; gap: 2rem; }
  
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-legal-links { justify-content: center; }
}
