/* DJRO MAHUTON – Brand & shared styles */
:root {
  --brand-primary: #154284;
  --brand-primary-light: #1e5aad;
  --brand-primary-dark: #0f3260;
  --brand-accent: #3d6db5;
  --brand-surface: #f4f7fb;
  --brand-ice: #e8f0fa;
}

/* Font Awesome icon alignment in UI components */
.fa-solid, .fa-regular, .fa-brands {
  line-height: 1;
  vertical-align: -0.125em;
}
.section-badge i { font-size: 0.875rem; }
.hero-tag i { font-size: 0.875rem; }
.nav-dropdown-trigger .nav-chevron {
  font-size: 0.75rem;
  margin-left: 0.15rem;
  transition: transform 0.25s ease;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes countPop {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.hero-gradient {
  background: linear-gradient(135deg, rgba(15, 50, 96, 0.96) 0%, rgba(21, 66, 132, 0.88) 50%, rgba(30, 90, 173, 0.75) 100%);
}
.hero-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  background-size: 200% 100%;
  animation: shimmer 4s infinite linear;
}
.animate-fade-up   { opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) forwards; }
.animate-float     { animation: float 3s ease-in-out infinite; }
.animate-delay-1   { animation-delay: 0.15s; }
.animate-delay-2   { animation-delay: 0.3s; }
.animate-delay-3   { animation-delay: 0.45s; }
.animate-delay-4   { animation-delay: 0.6s; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { transform: translateX(-32px); }
.reveal-left.visible  { transform: translateX(0); }
.reveal-right { transform: translateX(32px); }
.reveal-right.visible { transform: translateX(0); }

.card-hover {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(21, 66, 132, 0.12);
}

/* ── Header ── */
.site-header {
  transition: height 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(21, 66, 132, 0.1);
}
.nav-link {
  position: relative;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--brand-primary); font-weight: 600; }

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--brand-ice);
  border-bottom: 1px solid rgba(21, 66, 132, 0.08);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 14px;
}
.breadcrumb a {
  color: var(--brand-accent);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb .sep { color: #94a3b8; }
.breadcrumb .current { color: var(--brand-primary-dark); font-weight: 600; }

/* legacy breadcrumb – overridden by redesign below */
/* ── Stats bar ── */
.stats-bar {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(21, 66, 132, 0.1);
  margin-top: -3rem;
  position: relative;
  z-index: 20;
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

/* ── Gallery ── */
.gallery-item {
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,50,96,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Testimonials slider ── */
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.testimonial-slide { flex: 0 0 100%; padding: 0 0.5rem; }
@media (min-width: 768px) {
  .testimonial-slide { flex: 0 0 33.333%; }
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.3s;
  cursor: pointer;
}
.slider-dot.active {
  background: var(--brand-primary);
  width: 24px;
  border-radius: 4px;
}

/* ── FAQ ── */
.faq-item summary {
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.3s ease; }

/* ── Process steps ── */
.step-line {
  position: absolute;
  top: 2rem;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  opacity: 0.2;
}
@media (max-width: 767px) { .step-line { display: none; } }

/* ── Footer ── */
.site-footer {
  background: linear-gradient(160deg, var(--brand-primary-dark) 0%, var(--brand-primary) 55%, var(--brand-primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}
.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: translateY(-99%);
}
.footer-wave svg { display: block; width: 100%; height: 48px; }
.footer-logo-ring {
  background: white;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.footer-link {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-link:hover {
  color: white;
  transform: translateX(3px);
}
.footer-social {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social:hover {
  background: white;
  color: var(--brand-primary);
  transform: translateY(-3px);
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  animation: pulse-ring 2s infinite;
}

/* ── Section badge ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: var(--brand-ice);
  color: var(--brand-primary);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Counter ── */
.stat-number {
  font-variant-numeric: tabular-nums;
}

.filter-btn.active {
  background-color: var(--brand-primary);
  color: white;
}

/* ── Top bar ── */
.top-bar {
  background: linear-gradient(90deg, var(--brand-primary-dark), var(--brand-primary));
  font-size: 12px;
}
.top-bar a { transition: color 0.2s, opacity 0.2s; }
.top-bar a:hover { color: #fff; opacity: 1; }
.sticky-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* ── CTA buttons ── */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  transition: filter 0.2s, transform 0.2s;
}
.btn-whatsapp:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-brand {
  background: var(--brand-primary);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.btn-brand:hover { background: var(--brand-primary-dark); transform: translateY(-1px); }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: all 0.25s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ── Hero carousel ── */
.hero-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.hero-slides-wrap {
  position: relative;
  height: 85vh;
  min-height: 520px;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1), visibility 0.9s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-slide.active > img { transform: scale(1); }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,50,96,0.92) 0%, rgba(21,66,132,0.75) 45%, rgba(21,66,132,0.35) 100%);
}
.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-nav-btn:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.05); }
.hero-nav-btn.prev { left: 0.35rem; }
.hero-nav-btn.next { right: 0.35rem; }
@media (min-width: 768px) {
  .hero-nav-btn.prev { left: 0.75rem; }
  .hero-nav-btn.next { right: 0.75rem; }
}
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all 0.35s;
  padding: 0;
}
.hero-dot.active {
  width: 32px;
  background: #fff;
}

/* Marquee collé au hero */
.hero-marquee {
  background: var(--brand-primary-dark);
  border-top: 3px solid var(--brand-accent);
  padding: 1.4rem 0;
  margin-top: 0;
}

/* Stats en bas (flat band) */
.stats-band {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
  color: white;
}
.stats-band-item {
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stats-band-item:last-child { border-right: none; }

/* ── FAQ redesign ── */
.faq-section {
  background: linear-gradient(180deg, var(--brand-surface) 0%, var(--brand-ice) 100%);
}
.faq-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .faq-grid { grid-template-columns: 1fr 1fr; }
}
.faq-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(21,66,132,0.08);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-card:hover { box-shadow: 0 12px 32px rgba(21,66,132,0.08); }
.faq-card[open] {
  border-color: var(--brand-primary);
  box-shadow: 0 12px 40px rgba(21,66,132,0.12);
}
.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 600;
  color: var(--brand-primary-dark);
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-ice);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.3s, color 0.3s;
}
.faq-card[open] .faq-card-num {
  background: var(--brand-primary);
  color: #fff;
}
.faq-card-body {
  padding: 0 1.5rem 1.25rem 4.25rem;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}
.faq-card-icon {
  margin-left: auto;
  transition: transform 0.3s;
  color: var(--brand-accent);
}
.faq-card[open] .faq-card-icon { transform: rotate(180deg); }

/* ── CTA final redesign ── */
.cta-final {
  background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 40%, var(--brand-primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px; right: -100px;
}
.cta-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: background 0.3s;
}
.cta-card:hover { background: rgba(255,255,255,0.14); }

/* ── Top bar social ── */
.top-bar-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.top-social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  transition: background 0.25s, transform 0.25s;
}
.top-social-icon:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-2px);
  color: #fff;
}
.top-social-icon svg { width: 15px; height: 15px; fill: currentColor; }

/* ── Nav mega menu ── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav-dropdown-trigger .nav-chevron {
  font-size: 0.75rem;
  transition: transform 0.25s;
}
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }
.nav-mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s, visibility 0.28s;
  padding-top: 8px;
  z-index: 60;
}
.nav-dropdown:hover .nav-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-mega-panel {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(15,50,96,0.18);
  border: 1px solid rgba(21,66,132,0.08);
  padding: 0.65rem;
  min-width: 440px;
}
.nav-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}
.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  border-radius: 0.75rem;
  transition: background 0.2s, transform 0.2s;
}
.mega-menu-item:hover {
  background: var(--brand-ice);
  transform: translateX(3px);
}
.mega-menu-item img {
  width: 52px;
  height: 52px;
  border-radius: 0.6rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(21,66,132,0.08);
}
.mega-menu-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary-dark);
  line-height: 1.3;
}
.mega-menu-item small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}
.mobile-submenu summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-submenu summary::-webkit-details-marker { display: none; }

/* ── Breadcrumb redesign ── */
.breadcrumb-bar {
  background: linear-gradient(135deg, #fff 0%, var(--brand-ice) 100%);
  border-bottom: none;
  position: relative;
}
.breadcrumb-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary-dark), var(--brand-primary), var(--brand-accent));
}
.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
}
.breadcrumb-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid rgba(21,66,132,0.12);
  color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(21,66,132,0.06);
  transition: all 0.25s;
}
.breadcrumb-home:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.breadcrumb-sep {
  color: #94a3b8;
  font-size: 12px;
  user-select: none;
}
.breadcrumb-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-accent);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  transition: color 0.2s, background 0.2s;
}
.breadcrumb-link:hover {
  color: var(--brand-primary-dark);
  background: rgba(21,66,132,0.06);
}
.breadcrumb-current {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(21,66,132,0.25);
}

/* ── Hero carousel v2 ── */
.hero-slides-wrap {
  position: relative;
  height: min(88vh, 780px);
  min-height: 540px;
}
.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 2rem 0 3rem;
}
.hero-slide-content .max-w-container-max {
  padding-left: 4.5rem;
  padding-right: 4.5rem;
}
@media (min-width: 640px) {
  .hero-slide-content .max-w-container-max {
    padding-left: 5.5rem;
    padding-right: 5.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-slide-content .max-w-container-max {
    padding-left: 6.5rem;
    padding-right: 6.5rem;
  }
}
.hero-slide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-slide-grid { grid-template-columns: 1fr 300px; }
}
.hero-copy {
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1.25rem;
}
.hero-badge img { width: 20px; height: 20px; border-radius: 50%; }
.hero-title {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1rem;
  min-height: 2.4em;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.5rem;
  max-width: 520px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-side-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1.25rem;
  padding: 1.25rem;
  flex-direction: column;
  gap: 1rem;
}
.hero-side-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.85rem;
  transform: none !important;
}
.hero-side-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
.hero-side-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.hero-side-stat span { font-size: 12px; opacity: 0.75; }
.hero-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.hero-slide:not(.active) .hero-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: none;
}
.hero-slide.active .hero-animate {
  opacity: 1;
  transform: translateY(0);
}
.hero-slide.active .hero-animate-d1 { transition-delay: 0.1s; }
.hero-slide.active .hero-animate-d2 { transition-delay: 0.22s; }
.hero-slide.active .hero-animate-d3 { transition-delay: 0.34s; }
.hero-slide.active .hero-animate-d4 { transition-delay: 0.46s; }
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #fff;
  z-index: 12;
  width: 0%;
  transition: width 0.1s linear;
}
.hero-dots { bottom: 1.25rem; }

/* CTA with background image */
.cta-final-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-final-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,50,96,0.9) 0%, rgba(21,66,132,0.82) 50%, rgba(30,90,173,0.75) 100%);
  z-index: 0;
}
.cta-final-bg > .max-w-container-max { position: relative; z-index: 1; }

/* Legal pages */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-family: Manrope, sans-serif; font-weight: 700; color: var(--brand-primary-dark); font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.legal-content h3 { font-weight: 600; color: var(--brand-primary); font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
.legal-content p, .legal-content li { color: #64748b; line-height: 1.75; font-size: 15px; }
.legal-content ul { list-style: disc; padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.legal-content ul li { margin-bottom: 0.35rem; }
.legal-updated { font-size: 13px; color: #94a3b8; margin-bottom: 2rem; }

/* ── Animated sections ── */
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes kenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.split-section {
  position: relative;
  overflow: hidden;
}
.split-section-img {
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}
.split-section-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.split-section-img:hover img { transform: scale(1.05); }
.split-section-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,50,96,0.5), transparent 50%);
}
.promo-banner {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.promo-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenBurns 12s ease-out infinite alternate;
}
.promo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,50,96,0.92), rgba(21,66,132,0.7));
}
.feature-float-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(21,66,132,0.08);
  box-shadow: 0 8px 24px rgba(21,66,132,0.08);
  transition: transform 0.35s, box-shadow 0.35s;
}
.feature-float-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(21,66,132,0.14);
}
.stagger-children.visible > * {
  animation: slideUpFade 0.65s cubic-bezier(0.22,1,0.36,1) forwards;
}
.stagger-children.visible > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { animation-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { animation-delay: 0.25s; }
.stagger-children.visible > *:nth-child(4) { animation-delay: 0.35s; }
.stagger-children > * { opacity: 0; }
.image-tilt {
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.image-tilt:hover { transform: perspective(800px) rotateY(-3deg) scale(1.02); }

/* SEO hidden links & blog */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.blog-card:hover { transform: translateY(-4px); }
.article-content p { margin-bottom: 1rem; }
