/* ============================================================
   Bluegrass Advisory Group LLC - Main Stylesheet
   A Kentucky-based professional business advisory firm
   ============================================================ */

/* ----- CSS Custom Properties ----- */
:root {
  --primary-dark: #1a2332;
  --primary-accent: #2d5a3d;
  --accent-gold: #c8a84e;
  --light-bg: #f8f7f4;
  --white: #ffffff;
  --text-dark: #1a2332;
  --text-muted: #5a6474;
  --border-subtle: #e8e6e1;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 35, 50, 0.12);
  --shadow-xl: 0 20px 60px rgba(26, 35, 50, 0.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

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


/* ============================================================
   1. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-base),
              box-shadow var(--transition-base),
              padding var(--transition-base);
  padding: 20px 0;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}

.navbar.scrolled .logo-icon {
  opacity: 1;
}

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

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.navbar.scrolled .logo-name {
  color: var(--text-dark);
}

.logo-tagline {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition-base);
}

.navbar.scrolled .logo-tagline {
  color: var(--text-muted);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .nav-links a:visited {
  color: var(--text-muted);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--text-dark);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--primary-accent);
  border: 2px solid var(--primary-accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-nav:visited,
.btn-nav:link {
  color: var(--white);
}

.btn-nav:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
}

.navbar.scrolled .btn-nav,
.navbar.scrolled .btn-nav:visited,
.navbar.scrolled .btn-nav:link {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: var(--accent-gold);
}

.navbar.scrolled .btn-nav:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.navbar.scrolled .nav-toggle span {
  background: var(--text-dark);
}

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

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

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


/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--primary-dark) 0%, #1e2e40 40%, var(--primary-accent) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45, 90, 61, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 168, 78, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: 50px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
}

.hero h1 .text-accent {
  color: var(--accent-gold);
  display: inline;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}


/* ============================================================
   3. SECTION BASICS
   ============================================================ */
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-accent);
  margin-bottom: 16px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}


/* ============================================================
   4. ABOUT
   ============================================================ */
.section-about {
  background: var(--light-bg);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-content {
  display: flex;
  flex-direction: column;
}

.split-content .section-label {
  margin-bottom: 12px;
}

.split-content h2 {
  margin-bottom: 20px;
}

.split-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

.split-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.about-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(45, 90, 61, 0.08);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.about-card h4 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
}

.about-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ============================================================
   5. SERVICES
   ============================================================ */
.section-services {
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(200, 168, 78, 0.12);
  line-height: 1;
  margin-bottom: 16px;
  user-select: none;
}

.service-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-accent), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover::after {
  transform: scaleX(1);
}


/* ============================================================
   6. APPROACH
   ============================================================ */
.section-approach {
  background: var(--light-bg);
}

.split-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-reverse .split-visual {
  order: -1;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  position: relative;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 62px;
  bottom: 0;
  width: 1px;
  background: var(--border-subtle);
}

.step-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all var(--transition-fast);
}

.step:hover .step-marker {
  background: var(--primary-accent);
  color: var(--white);
}

.step h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Approach visual — concentric rings */
.approach-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.av-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
}

.av-ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(45, 90, 61, 0.1);
  animation: ringRotate1 30s linear infinite;
}

.av-ring-2 {
  width: 72%;
  height: 72%;
  border-color: rgba(45, 90, 61, 0.18);
  animation: ringRotate2 22s linear infinite reverse;
}

.av-ring-3 {
  width: 44%;
  height: 44%;
  border-color: rgba(200, 168, 78, 0.25);
  animation: ringRotate3 15s linear infinite;
}

/* Dashed decoration on rings */
.av-ring-1 {
  border-style: dashed;
  border-width: 1px;
}

.av-ring-2 {
  border-style: dotted;
  border-width: 2px;
}

.av-ring-3 {
  border-style: solid;
  border-width: 2px;
}

.av-center {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-accent);
  background: var(--light-bg);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

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

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

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


/* ============================================================
   7. INSIGHTS
   ============================================================ */
.section-insights {
  background: var(--white);
}

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

.insight-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.insight-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(45, 90, 61, 0.08);
  color: var(--primary-accent);
  margin-bottom: 16px;
}

.insight-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.insight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-accent);
  margin-top: 8px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.insight-link::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

.insight-link:hover {
  color: var(--accent-gold);
}

.insight-link:hover::after {
  transform: translateX(4px);
}


/* ============================================================
   8. CTA SECTION
   ============================================================ */
.section-cta {
  padding: 100px 0;
  background: var(--light-bg);
}

.cta-box {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-accent) 100%);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(200, 168, 78, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(45, 90, 61, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box .section-label {
  color: var(--accent-gold);
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}


/* ============================================================
   9. FOOTER
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.logo-footer .logo-icon {
  width: 36px;
  height: 36px;
}

.about-icon-img {
  width: 48px;
  height: 48px;
}

.logo-footer .logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
  color: var(--accent-gold);
}


/* ============================================================
   10. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary,
.btn-primary:visited,
.btn-primary:link {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: var(--white);
}

.contact-form .btn-primary,
.contact-form .btn-primary:visited,
.contact-form .btn-primary:link {
  color: var(--accent-gold);
}

.btn-primary:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(200, 168, 78, 0.35);
}

.btn-outline,
.btn-outline:visited,
.btn-outline:link {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 0.95rem;
}

/* btn-nav already defined in navbar section */


/* ============================================================
   11. CONTACT FORM & PAGE HEADER
   ============================================================ */

.section-page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a28 100%);
  padding: 160px 0 80px;
  text-align: center;
}

.section-page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.section-page-header .section-label {
  color: var(--accent-gold);
}

.section-page-header .section-desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto;
}

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

.section-contact .split {
  align-items: flex-start;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

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

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group .required {
  color: #c0392b;
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--light-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0a8b4;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
  background: var(--white);
}

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

/* Checkbox */
.form-group-checkbox {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--primary-accent);
  cursor: pointer;
}

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

.checkmark {
  display: none;
}

.checkbox-text a {
  color: var(--primary-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-text a:hover {
  color: var(--accent-gold);
}

/* Contact submit button full width */
.contact-form .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Contact info card */
.contact-info-card {
  padding: 36px;
  position: sticky;
  top: 120px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-detail strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail p {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.5;
}

.contact-detail a:hover {
  color: var(--primary-accent);
}

.contact-expect h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.contact-expect .steps {
  gap: 12px;
}

.contact-expect .step {
  padding: 0;
}

.contact-expect .step p {
  margin: 0;
  font-size: 0.9rem;
}

/* Legal content pages */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Form thank-you state */
.form-thank-you {
  text-align: center;
  padding: 60px 40px;
}

.form-thank-you h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.form-thank-you p {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive form */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .section-page-header {
    padding: 140px 0 60px;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 24px 16px;
  }
}


/* ============================================================
   12. ANIMATIONS — Fade In on Scroll
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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


/* ============================================================
   12. RESPONSIVE
   ============================================================ */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .split,
  .split-reverse {
    gap: 40px;
  }

  .services-grid,
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .stats-row {
    gap: 16px;
  }
}

/* --- Mobile-landscape / small tablet (max-width: 768px) --- */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 0;
    width: 100%;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links a:hover {
    color: var(--accent-gold);
  }

  .navbar.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.8);
  }

  .navbar.scrolled .nav-links a:hover {
    color: var(--accent-gold);
  }

  .btn-nav {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }

  /* Split layouts stack */
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-reverse .split-visual {
    order: 0;
  }

  .approach-visual {
    max-width: 300px;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  /* Hero */
  .hero-content {
    padding: 100px 20px 80px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* CTA box */
  .cta-box {
    padding: 48px 24px;
    border-radius: var(--radius-md);
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Small mobile (max-width: 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .service-number {
    font-size: 3rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .approach-visual {
    max-width: 240px;
  }
}


/* ============================================================
   UTILITY & PRINT
   ============================================================ */
::selection {
  background: rgba(45, 90, 61, 0.15);
  color: var(--text-dark);
}

:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 2px;
}

@media print {
  .navbar,
  .hero-scroll,
  .nav-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .section {
    padding: 30px 0;
    break-inside: avoid;
  }
}
