
/* ============================================================
   TEMPLATE V4 — "Ultra" Premium Design
   Micro-interactions, organic shapes, parallax, counters,
   niche-adaptive, wave dividers, glassmorphism
   Colors #3b82f6 and #1f2937 replaced dynamically by build_site.py
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --primary: #3b82f6;
  --primary-rgb: 59,130,246;
  --primary-light: #7aab95;
  --primary-dark: #4a7360;
  --secondary: #1f2937;
  --secondary-rgb: 31,41,55;
  --text: #2d2d3a;
  --text-light: #6b6b7a;
  --bg: #f8faf9;
  --cream: #f5f3ef;
  --border: rgba(0,0,0,0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --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 60px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(var(--primary-rgb), 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h2 em, h1 em { font-style: italic; color: #3b82f6; }

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 10001;
  background: linear-gradient(90deg, #3b82f6, #7aab95);
  width: 0%;
  transition: none;
  pointer-events: none;
}

/* ── SECTION LABEL (editorial line + text) ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 1.2rem;
  display: inline-flex; align-items: center; gap: 1rem;
}
.section-label::before {
  content: '';
  width: 0; height: 1px;
  background: #3b82f6;
  transition: width 0.8s var(--ease);
}
.section-label.visible::before { width: 40px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; padding: 16px 40px;
  background: #3b82f6; color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-radius: 4px;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(var(--primary-rgb),0.35); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  border: 1px solid rgba(255,255,255,0.25); color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease);
  border-radius: 4px;
  position: relative; overflow: hidden;
}
.btn-secondary::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.05);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); }
.btn-secondary:hover::before { transform: scaleX(1); }

.btn-outline {
  display: inline-block; padding: 14px 36px;
  border: 1px solid #3b82f6; color: #3b82f6;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase;
  position: relative; overflow: hidden;
  transition: color 0.4s var(--ease);
  border-radius: 4px; z-index: 1;
}
.btn-outline::before {
  content: ''; position: absolute; inset: 0;
  background: #3b82f6;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn-outline:hover { color: #fff; }
.btn-outline:hover::before { transform: scaleX(1); transform-origin: left; }

/* ── NAVIGATION ── */
nav#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5%; height: 72px;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.3s var(--ease);
}
nav#nav.scrolled {
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 10px 5%;
}
.nav-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: #fff; letter-spacing: 0.3px; transition: color 0.3s; }
.nav-logo span { font-weight: 700; }
nav#nav.scrolled .nav-logo { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 1px;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: #3b82f6;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
nav#nav.scrolled .nav-links a { color: var(--text-light); }
.nav-links a:hover { color: #3b82f6; }

/* Nav CTA button */
.nav-cta {
  padding: 10px 24px; background: #3b82f6; color: #fff !important;
  border-radius: 30px; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.5px; transition: all 0.3s var(--ease);
  text-transform: uppercase;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4); }
nav#nav.scrolled .nav-cta { background: #3b82f6; color: #fff !important; }

/* Hamburger & Mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; z-index: 100; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
nav#nav.scrolled .hamburger span { background: var(--text); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; inset: 0; width: 100%; height: 100vh;
  background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 24px; z-index: 9998;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.mobile-menu.active { display: flex; opacity: 1; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); padding: 8px 0; transition: color 0.3s; }
.mobile-menu a:hover { color: #3b82f6; }

/* ── HERO SECTION ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 5%;
  background: linear-gradient(135deg, #1f2937 0%, #16213e 40%, #0f3460 70%, #1f2937 100%);
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero::before {
  content: '';
  position: absolute; top: -20%; right: -5%;
  width: 55%; height: 140%;
  background: rgba(var(--primary-rgb), 0.04);
  transform: skewX(-8deg);
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(var(--primary-rgb),0.1), transparent 60%);
  z-index: 0;
}

/* Hero particles (CSS-only floating dots) */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-particle {
  position: absolute; border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.2);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.hero-particle:nth-child(1) { width: 4px; height: 4px; left: 10%; animation-duration: 18s; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 3px; height: 3px; left: 25%; animation-duration: 22s; animation-delay: 3s; }
.hero-particle:nth-child(3) { width: 5px; height: 5px; left: 45%; animation-duration: 16s; animation-delay: 6s; }
.hero-particle:nth-child(4) { width: 3px; height: 3px; left: 60%; animation-duration: 20s; animation-delay: 2s; }
.hero-particle:nth-child(5) { width: 4px; height: 4px; left: 75%; animation-duration: 24s; animation-delay: 5s; }
.hero-particle:nth-child(6) { width: 6px; height: 6px; left: 88%; animation-duration: 19s; animation-delay: 1s; }
.hero-particle:nth-child(7) { width: 3px; height: 3px; left: 35%; animation-duration: 21s; animation-delay: 8s; }
.hero-particle:nth-child(8) { width: 4px; height: 4px; left: 55%; animation-duration: 17s; animation-delay: 4s; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 580px;
}
.hero-label {
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #3b82f6;
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 28px;
  opacity: 0; animation: fadeIn 0.8s 0.2s forwards;
}
.hero-label::before {
  content: ''; width: 40px; height: 1px; background: #3b82f6;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: #fff; margin-bottom: 24px;
  line-height: 1.15;
}
.hero h1 em { font-style: italic; color: #3b82f6; }
.hero-title-word {
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  animation: wordReveal 0.6s var(--ease) forwards;
}
@keyframes wordReveal { to { opacity: 1; transform: translateY(0); } }
.hero-description {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.8; margin-bottom: 36px;
  opacity: 0; animation: fadeInUp 0.8s 0.6s var(--ease) forwards;
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeInUp 0.8s 0.8s var(--ease) forwards;
}

/* Hero portrait with decorative frame */
.hero-image {
  position: absolute; right: 8%; bottom: 0; z-index: 1;
  width: 380px; max-height: 80vh;
  transform: translateY(calc(var(--parallax-y, 0px) * 0.08));
  transition: transform 0.05s linear;
}
.hero-image::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 100%; height: 100%;
  border: 1px solid #3b82f6;
  z-index: -1;
  transition: transform 0.4s var(--ease);
}
.hero-image:hover::before { transform: translate(5px, -5px); }
.hero-image::after {
  content: '';
  position: absolute;
  bottom: -15px; left: -15px;
  width: 120px; height: 120px;
  background: #3b82f6;
  opacity: 0.12;
  z-index: -1;
}
.hero-portrait {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: grayscale(8%) contrast(1.02);
}

/* ── SECTION DIVIDERS (waves) ── */
.section-divider { margin: -2px 0; line-height: 0; overflow: hidden; position: relative; z-index: 2; }
.section-divider svg { width: 100%; height: 60px; display: block; }

/* ── QUOTE SECTION ── */
.quote-section {
  padding: 5rem 5%;
  background: #1f2937;
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.quote-section::before {
  content: '\201C';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}
.quote-section blockquote {
  max-width: 750px; margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  font-style: italic;
  position: relative;
}
.quote-author {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 400;
  color: #3b82f6;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-style: normal;
}
.quote-author::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: #3b82f6;
  margin: 0 auto 1rem;
}

/* ── SERVICES ── */
.services { padding: 100px 5%; background: var(--cream); position: relative; }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-header { text-align: center; margin-bottom: 60px; }
.services h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1f2937; margin-bottom: 16px; }
.services-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.service-card {
  background: var(--bg); padding: 2.5rem;
  transition: all 0.4s var(--ease);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  border: 1px solid transparent;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: #3b82f6;
  transition: height 0.4s var(--ease);
}
.service-card:hover {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-color: rgba(var(--primary-rgb), 0.12);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--primary-rgb), 0.06);
  transform: translateY(-4px);
}
.service-card:hover::before { height: 100%; }
.service-number {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 300;
  color: rgba(var(--primary-rgb),0.2);
  line-height: 1;
  transition: color 0.4s var(--ease);
}
.service-card:hover .service-number { color: rgba(var(--primary-rgb),0.4); }
.service-card h3 { font-size: 1.15rem; color: #1f2937; }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: #3b82f6; font-weight: 500;
  margin-top: auto; padding-top: 8px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.service-card:hover .service-link { gap: 12px; }

/* ── TESTIMONIALS ── */
.testimonials { padding: 100px 5%; background: var(--bg); position: relative; }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1f2937; margin-bottom: 16px; }
.testimonials-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.testimonial-card {
  background: var(--cream); padding: 2.5rem 2rem;
  position: relative; display: flex; flex-direction: column;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; right: 20px;
  font-family: var(--font-display); font-size: 4rem;
  color: rgba(var(--primary-rgb), 0.06);
  line-height: 1; pointer-events: none;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.testimonial-card:hover::before { color: rgba(var(--primary-rgb), 0.15); transform: scale(1.1); }
.testimonial-card:hover {
  border-color: rgba(var(--primary-rgb), 0.12);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex; gap: 2px; margin-bottom: 16px;
  color: #3b82f6; font-size: 0.85rem; letter-spacing: 2px;
}
.testimonial-text {
  color: var(--text); line-height: 1.8;
  margin-bottom: 24px; flex-grow: 1;
  font-size: 0.95rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(var(--primary-rgb),0.1);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: #3b82f6; font-size: 0.9rem;
  font-family: var(--font-display);
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover .testimonial-avatar {
  background: #3b82f6; color: #fff;
}
.testimonial-author-info strong { font-size: 0.9rem; color: var(--text); display: block; }
.testimonial-author-info span { font-size: 0.8rem; color: var(--text-light); }

/* ── STATS / TRUST COUNTERS ── */
.stats-section { padding: 80px 5%; background: #1f2937; position: relative; overflow: hidden; }
.stats-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(var(--primary-rgb), 0.08), transparent 60%);
  pointer-events: none;
}
.stats-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; position: relative; z-index: 1; }
.stat-item { padding: 20px; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: #3b82f6; font-weight: 600; line-height: 1;
}
.stat-suffix { font-family: var(--font-display); font-size: 2rem; color: #3b82f6; }
.stat-label { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* ── PAIN POINTS ── */
.pain-section { padding: 100px 5%; background: var(--cream); position: relative; }
.pain-inner { max-width: 900px; margin: 0 auto; }
.pain-header { text-align: center; margin-bottom: 50px; }
.pain-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1f2937; margin-bottom: 16px; }
.pain-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.pain-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 50px;
}
.pain-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 24px;
  background: var(--bg);
  font-size: 1rem; color: var(--text);
  line-height: 1.6;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  border-radius: var(--radius-sm);
}
.pain-list li:hover {
  border-color: #3b82f6;
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.pain-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  margin-top: 8px;
  transition: transform 0.3s var(--ease);
}
.pain-list li:hover::before { transform: scale(1.5); }
.pain-cta-box {
  background: #1f2937;
  padding: 3.5rem;
  text-align: center;
  position: relative;
  border-radius: var(--radius-sm);
}
.pain-cta-box::before {
  content: '';
  position: absolute;
  top: 15px; left: 15px;
  right: -15px; bottom: -15px;
  border: 1px solid #3b82f6;
  z-index: -1;
  border-radius: var(--radius-sm);
}
.pain-cta-box h3 {
  color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 16px;
}
.pain-cta-box p {
  color: rgba(255,255,255,0.65); margin-bottom: 28px;
  max-width: 500px; margin-left: auto; margin-right: auto;
  line-height: 1.7;
}
.pain-cta-box .btn-primary { background: #3b82f6; color: #fff; }

/* ── FAQ SECTION ── */
.faq-section { padding: 100px 5%; background: var(--bg); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1f2937; margin-bottom: 16px; }
.faq-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.faq-grid { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.faq-item-header:hover { color: #3b82f6; }
.faq-item-header h3 {
  font-size: 1.05rem; font-weight: 400; color: inherit;
  font-family: var(--font-body);
  margin: 0; padding-right: 16px;
}
.faq-icon {
  position: relative; width: 20px; height: 20px; flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: ''; position: absolute; background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s, background 0.3s;
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.faq-icon::after { top: 0; left: 50%; width: 1px; height: 100%; transform: translateX(-50%); }
.faq-item.active .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item.active .faq-item-header { color: #3b82f6; }
.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after { background: #3b82f6; }
.faq-item-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 0;
}
.faq-item.active .faq-item-content { max-height: 400px; padding-bottom: 1.4rem; }
.faq-item-content p { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; }

/* ── BLOG ── */
.blog { padding: 100px 5%; background: var(--bg); }
.blog-inner { max-width: 1200px; margin: 0 auto; }
.blog-header { text-align: center; margin-bottom: 60px; }
.blog h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1f2937; margin-bottom: 16px; }
.blog-header p { color: var(--text-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--bg); overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.blog-card:hover {
  border-color: #3b82f6;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 200px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1f2937, #0f3460);
}
.blog-card-img svg { width: 100%; height: 100%; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card-img svg { transform: scale(1.08); }
.blog-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-tag {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #3b82f6;
  margin-bottom: 12px;
}
.blog-card-body h3 { font-size: 1.1rem; color: #1f2937; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }
.blog-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; border-top: 1px solid var(--border);
  margin-top: auto;
}
.blog-card-footer span { font-size: 0.8rem; color: var(--text-light); }
.blog-card-footer span:last-child {
  color: #3b82f6; font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.3s var(--ease);
}
.blog-card:hover .blog-card-footer span:last-child { gap: 8px; }

/* ── APPROACH (accordion) ── */
.approach { padding: 100px 5%; background: var(--cream); }
.approach-inner { max-width: 1200px; margin: 0 auto; }
.approach-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.approach h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1f2937; margin-bottom: 20px; }
.approach-left > p { color: var(--text-light); line-height: 1.8; margin-bottom: 2rem; font-size: 1rem; }
.approach-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 1rem;
}
.approach-video {
  margin-top: 2.5rem;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.approach-video iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.approach-grid { display: flex; flex-direction: column; }
.approach-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.approach-item:first-child { border-top: 1px solid var(--border); }
.approach-item-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0; cursor: pointer;
  transition: color 0.3s var(--ease);
}
.approach-item-header:hover { color: #3b82f6; }
.approach-item-header h3 {
  font-size: 1rem; font-weight: 400; color: inherit;
  font-family: var(--font-display); margin: 0;
}
.accordion-icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.accordion-icon::before,
.accordion-icon::after {
  content: ''; position: absolute; background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.accordion-icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.accordion-icon::after { top: 0; left: 50%; width: 1px; height: 100%; transform: translateX(-50%); }
.approach-item.active .accordion-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.approach-item.active .approach-item-header { color: #3b82f6; }
.approach-item-content { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease); padding: 0; }
.approach-item.active .approach-item-content { max-height: 300px; padding-bottom: 1.4rem; }
.approach-item-content p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
.approach-item-content ul { list-style: none; padding: 0.5rem 0 0; display: flex; flex-direction: column; gap: 6px; }
.approach-item-content li { font-size: 0.9rem; color: var(--text-light); padding-left: 1.2rem; position: relative; }
.approach-item-content li::before { content: '\2014'; position: absolute; left: 0; color: #3b82f6; }

/* ── STEPS / PROCESS (Timeline) ── */
.steps-section { padding: 100px 5%; background: var(--bg); }
.steps-inner { max-width: 1000px; margin: 0 auto; }
.steps-header { text-align: center; margin-bottom: 60px; }
.steps-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1f2937; margin-bottom: 16px; }
.steps-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 32px 20px; position: relative; }
.step-number {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  margin: 0 auto 20px;
  color: #3b82f6;
  border: 1px solid #3b82f6;
  border-radius: 50%;
  transition: all 0.4s var(--ease);
}
.step-card:hover .step-number {
  background: #3b82f6; color: #fff;
  box-shadow: var(--shadow-glow);
  transform: scale(1.1);
}
.step-card h3 { font-size: 1.05rem; color: #1f2937; margin-bottom: 12px; }
.step-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ── DETAILS / INFOS PRATIQUES (dark section) ── */
.details-section {
  padding: 100px 5%; background: #1f2937; color: #fff;
  position: relative; overflow: hidden;
}
.details-section::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.08), transparent);
  pointer-events: none;
}
.details-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.details-header { text-align: center; margin-bottom: 60px; }
.details-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin-bottom: 16px; }
.details-section h2 em { color: #3b82f6; }
.details-section .section-label { color: #3b82f6; }
.details-section .section-label::before { background: #3b82f6; }
.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.detail-item {
  padding: 2rem 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s var(--ease);
}
.detail-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(var(--primary-rgb),0.3);
  transform: translateY(-2px);
}
.detail-item h3 {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #3b82f6; margin-bottom: 8px;
}
.detail-item p { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.7; }
.details-bio {
  grid-column: 1 / -1;
  padding: 2.5rem;
  background: rgba(var(--primary-rgb),0.08);
  border: 1px solid rgba(var(--primary-rgb),0.15);
}
.details-bio h3 { color: #3b82f6; margin-bottom: 12px; }
.details-bio p { color: rgba(255,255,255,0.75); line-height: 1.8; }

/* ── CONTACT ── */
.contact { padding: 100px 5%; background: var(--cream); }
.contact-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1f2937; margin-bottom: 16px; }
.contact-inner > p { color: var(--text-light); margin-bottom: 40px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label {
  display: block; font-size: 0.75rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px 0;
  border: none; border-bottom: 1px solid var(--border);
  background: transparent; color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-bottom-color: #3b82f6;
  box-shadow: 0 2px 0 #3b82f6;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #bbb; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button {
  grid-column: 1 / -1;
  padding: 16px 40px;
  background: #3b82f6; color: #fff; border: none;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px;
  cursor: pointer; transition: all 0.4s var(--ease);
  justify-self: center; min-width: 220px;
  border-radius: 4px; position: relative; overflow: hidden;
}
.contact-form button::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
}
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--primary-rgb),0.3); }
.contact-form button:hover::after { transform: translateX(0); }
.contact-info {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.contact-info p { color: var(--text-light); font-size: 0.9rem; }
.contact-info a { color: #3b82f6; font-weight: 400; transition: color 0.2s; }
.contact-info a:hover { color: var(--primary-dark); }

/* ── FOOTER ── */
footer, footer.site-footer {
  padding: 60px 5% 32px;
  background: #1f2937;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; max-width: 1200px; margin: 0 auto 40px;
}
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 12px; }
.footer-brand span { font-weight: 700; }
.footer-description { color: rgba(255,255,255,0.45); font-size: 0.9rem; line-height: 1.7; }
.footer-links h4 {
  color: #3b82f6; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
  font-family: var(--font-body);
}
.footer-links a {
  display: block; color: rgba(255,255,255,0.45); font-size: 0.9rem;
  padding: 5px 0; transition: color 0.2s, transform 0.2s;
}
.footer-links a:hover { color: #3b82f6; transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; text-align: center;
  max-width: 1200px; margin: 0 auto;
}
footer .footer-bottom a, .footer-content a { color: #3b82f6; }
/* Fallback for simple footer */
.footer-content { text-align: center; }
.footer-content p { color: rgba(255,255,255,0.4); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes expandLine { from { width: 0; } to { width: 40px; } }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Keep old class for backward compat */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .approach-layout { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-image { width: 320px; right: 3%; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { padding-top: 100px; min-height: auto; padding-bottom: 40px; }
  .hero-image { display: none; }
  .services, .testimonials, .blog, .approach, .contact,
  .pain-section, .steps-section, .details-section, .quote-section, .faq-section { padding: 60px 5%; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .quote-section blockquote { font-size: 1.1rem; }
  .quote-section::before { font-size: 12rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-section { padding: 60px 5%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary, .btn-outline { text-align: center; justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .quote-section::before { font-size: 8rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}



/* ============================================================
   BLOG CSS - Generated for Gantzer tp
   ============================================================ */
.nav-back {
    display: inline-flex; align-items: center; gap: 8px;
    color: #6b6b7a; font-size: 0.85rem; text-decoration: none;
    margin-bottom: 24px;
}
.nav-back:hover { color: #3b82f6; }
.article-hero {
    position: relative; min-height: 340px;
    display: flex; align-items: flex-end; padding: 40px 5%;
}
.article-hero .overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.85); }
.article-hero h1 {
    position: relative; z-index: 1; color: #fff;
    font-family: 'Montserrat', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 500; line-height: 1.2;
}
.article-hero .tag {
    position: relative; z-index: 1;
    display: inline-block; padding: 4px 14px; border-radius: 20px;
    background: rgba(59,130,246, 0.2);
    color: #3b82f6; font-size: 0.8rem; font-weight: 500;
    margin-bottom: 16px;
}
.article-body {
    max-width: 720px; margin: 0 auto; padding: 48px 24px 60px;
    font-size: 1.05rem; line-height: 1.8; color: #9b51e0;
}
.article-body h2 {
    font-family: 'Montserrat', Georgia, serif;
    font-size: 1.6rem; font-weight: 500; margin: 40px 0 16px;
    color: #1f2937;
}
.article-body blockquote {
    border-left: 3px solid #3b82f6; padding: 16px 24px;
    margin: 32px 0; background: #f8faf9; border-radius: 0 8px 8px 0;
    font-style: italic; color: #6b6b7a;
}
.article-cta {
    text-align: center; padding: 48px 24px;
    background: #f8faf9; border-radius: 12px; margin: 40px 0;
}
.article-cta a {
    display: inline-block; padding: 14px 36px; border-radius: 30px;
    background: #3b82f6; color: #fff; text-decoration: none;
    font-weight: 500; transition: transform 0.2s;
}
.article-cta a:hover { transform: translateY(-2px); }
@media (max-width: 768px) {
    .article-hero { min-height: 260px; padding: 24px 5%; }
    .article-body { padding: 32px 16px 48px; font-size: 1rem; }
}


/* ============================================================
   ELEMENTOR OVERRIDES - Generated for Gantzer tp
   ============================================================ */
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100% !important; padding: 0 !important;
}
.elementor-column-wrap, .elementor-widget-wrap {
    padding: 0 !important;
}
/* Navigation overrides */
nav#nav {
    position: fixed !important; top: 0 !important; left: 0 !important;
    right: 0 !important; z-index: 9999 !important;
    background: transparent !important; transition: background 0.3s !important;
}
nav#nav.scrolled {
    background: #f8faf9 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}
.nav-blog {
    background: rgba(248,250,249, 0.95) !important;
}
/* Mobile menu hidden by default */
.nav-links { display: flex !important; }
.hamburger { display: none !important; }
.mobile-menu { display: none !important; }
@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .hamburger { display: flex !important; }
    .mobile-menu.active { display: flex !important; }
}


/* ─── Internal Pages (multipage) ─── */
.internal-page .page-hero {
  background: linear-gradient(135deg, #1f2937 0%, #0f0f1e 100%);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.internal-page .page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f615 0%, transparent 70%);
  border-radius: 50%;
}
.internal-page .page-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.internal-page .page-hero h1 {
  font-family: 'Montserrat', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}
.internal-page .page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  font-family: 'Inter', sans-serif;
  color: #9b51e0;
  line-height: 1.8;
  font-size: 1.05rem;
}
.internal-page .page-body h2 {
  font-family: 'Montserrat', serif;
  color: #1f2937;
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  font-weight: 600;
}
.internal-page .page-body h3 {
  font-family: 'Montserrat', serif;
  color: #3b82f6;
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
  font-weight: 500;
}
.internal-page .page-body p {
  margin: 0 0 1.2rem;
}
.internal-page .page-body ul, .internal-page .page-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.internal-page .page-body li {
  margin-bottom: 0.5rem;
}
.internal-page .page-body blockquote {
  border-left: 4px solid #3b82f6;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: #3b82f608;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.internal-page .page-body strong {
  color: #1f2937;
}
.internal-page .page-cta {
  text-align: center;
  margin: 3rem 0 1rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #3b82f608 0%, #3b82f615 100%);
  border-radius: 16px;
}
.internal-page .page-cta__btn {
  display: inline-block;
  padding: 16px 40px;
  background: #3b82f6;
  color: #fff !important;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px #3b82f630;
}
.internal-page .page-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #3b82f640;
}
/* Breadcrumb */
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #3b82f6; }
.breadcrumb span { margin: 0 0.3rem; }

/* Table of Contents (auto-generated by JS) */
.page-toc {
  background: #3b82f608;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  border-left: 4px solid #3b82f6;
}
.page-toc h3 {
  font-size: 0.9rem;
  color: #3b82f6;
  margin-bottom: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-toc ul { list-style: none; padding: 0; margin: 0; }
.page-toc li { margin-bottom: 0.4rem; }
.page-toc a {
  color: #9b51e0;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
  opacity: 0.7;
}
.page-toc a:hover { color: #3b82f6; opacity: 1; }

@media (max-width: 768px) {
  .internal-page .page-hero { padding: 60px 16px 40px; }
  .internal-page .page-body { padding: 40px 16px 60px; }
  .internal-page .page-body h2 { font-size: 1.5rem; }
  .page-toc { padding: 1rem 1.2rem; }
}
