:root {
  --primary: #343538;
  --primary-rgb: 141, 146, 155;
  --accent: #dabb6a;
  --accent-dark: #c19a22;
  --accent-soft: #e3cb8b;
  --accent-softpro: rgba(156, 139, 25, 0.1);
  --bg_d:linear-gradient(135deg, rgba(245, 242, 233, 0.96), rgba(232, 225, 202, 0.96));
  --white: #ffffff;
  --light-bg: rgba(170, 169, 163, 0.1);
  --dark-bg: #4e4f51; 
  --text: #1c1c1e;
  --text-light: #8e9299;
  --border: #e7e3d7;
  --section-pad: 80px;
  --radius: 6px;
  --transition: 0.3s ease;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 18px 36px rgba(38, 45, 56, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

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

/* Lazy Loading Styles */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.lazy.loaded {
  opacity: 1;
}

section {
  padding: var(--section-pad) 0;
}

h1,
h2,
h3,
h5,
h6 {
  margin-top: 0;
  color: var(--primary);
  font-weight: 450;
  line-height: 1.2;
  text-transform: uppercase;
}
h4{
  margin-top: 0;
  color: var(--primary);
  font-weight: 450;
  line-height: 1.2;
}
.container-narrow {
  max-width: 1100px;
  margin-inline: auto;
}

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

.section-header h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.section-header .divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 14px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
}

.btn-accent,
.btn-outline-accent { 
  min-height: 52px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  border-radius: 4px;
  border: 2px solid transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

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

.btn-outline-accent {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-accent:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

#topbar {
  background: rgba(var(--primary-rgb), 0.94);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  padding: 8px 0;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background-color var(--transition), box-shadow var(--transition);
}

#topbar a {
  color: inherit;
}

#topbar a:hover {
  color: var(--accent-soft);
}

#topbar .topbar-left span {
  margin-right: 20px;
}

#topbar .topbar-left i {
  margin-right: 5px;
  color: var(--accent);
}

#topbar.topbar-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  pointer-events: none;
}

body.hero-nav-home.nav-over-hero #topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1036;
  background: linear-gradient(180deg, rgba(111, 116, 125, 0.65), rgba(111, 116, 125, 0.38));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-icons a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--white);
}

#mainNav {
  min-height: 90px;
  padding: 0;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  position: sticky;
  top: 0;
  z-index: 1030;
}

body.hero-nav-home.nav-over-hero #mainNav {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 1035;
  background: transparent;
  box-shadow: none;
  border-bottom: none;
}

.navbar-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.navbar-brand .brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(42vw, 290px);
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.navbar-brand .logo-scrolled {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

#mainNav.is-scrolled .navbar-brand .logo-default {
  opacity: 0;
}

#mainNav.is-scrolled .navbar-brand .logo-scrolled {
  opacity: 1;
}

.navbar-nav {
  align-items: center;
  gap: 2px;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 34px 16px !important;
  color: var(--primary) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-nav .nav-item.ms-lg-3 {
  margin-left: 22px !important;
  display: flex;
  align-items: center;
}

.navbar-toggler {
  padding: 6px 10px;
  border: 2px solid rgba(111, 116, 125, 0.35);
  background: rgba(255, 255, 255, 0.96);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238d929b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
  border: none;
  border-top: 3px solid var(--accent);
  border-radius: 0 0 6px 6px;
  min-width: 200px;
  box-shadow: var(--shadow-sm);
}

.dropdown-item {
  padding: 9px 20px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.dropdown-item:hover {
  background: var(--accent);
  color: var(--white);
}

body.hero-nav-home.nav-over-hero .navbar-brand,
body.hero-nav-home.nav-over-hero .navbar-nav .nav-link,
body.hero-nav-home.nav-over-hero .navbar-nav .nav-link:hover,
body.hero-nav-home.nav-over-hero .navbar-nav .nav-link.active {
  color: var(--white) !important;
}

body.hero-nav-home.nav-over-hero .navbar-nav .nav-link::after {
  background: var(--white);
  bottom: 12px;
  height: 2px;
}

body.hero-nav-home.nav-over-hero .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

body.hero-nav-home.nav-over-hero .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.hero-nav-home.nav-over-hero #mainNav .btn-accent {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

body.hero-nav-home.nav-over-hero #mainNav .btn-accent:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

#heroSwiper {
  width: 100%;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(111, 116, 125, 0.28) 0%, rgba(111, 116, 125, 0.38) 22%, rgba(111, 116, 125, 0.46) 100%);
}

.slide-1 {
  background-image: url('../images/slider/01.png');
}

.slide-2 {
  background-image: url('../images/slider/01.png');
}

.slide-3 {
  background-image: url('../images/slider/01.png');
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: min(1100px, 90vw);
  padding: 0 20px;
  text-align: center;
  color: var(--white);
}

.slide-sub {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.slide-title {
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(20px, 2.5vw, 60px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

.slide-title strong {
  color: var(--accent-soft);
  font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
  width: 50px !important;
  height: 50px !important;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
}

.swiper-pagination-bullet {
  background: var(--white) !important;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  opacity: 1 !important;
}

.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, rgba(111, 116, 125, .9), rgba(111, 116, 125, .78)), url('../images/page-banner.svg') center/cover no-repeat;
  color: var(--white);
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

#footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.78);
}

#footer h4 {
  color: var(--white);
}

#footer a {
  color: rgba(255, 255, 255, 0.78);
}

#footer a:hover {
  color: var(--accent-soft);
}

@media (max-width: 991.98px) {
  #mainNav {
    min-height: 78px;
  }

  .brand-logo {
    height: 42px;
    max-width: min(58vw, 250px);
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 14px 18px 18px;
    border: 1px solid rgba(218, 187, 106, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.hero-nav-home.nav-over-hero #mainNav .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(218, 187, 106, 0.26);
  }

  .navbar-collapse .navbar-nav {
    align-items: stretch;
    gap: 0;
  }

  .navbar-collapse .nav-item+.nav-item {
    border-top: 1px solid rgba(141, 146, 155, 0.1);
  }

  .navbar-collapse .nav-link,
  body.hero-nav-home.nav-over-hero .navbar-collapse .nav-link,
  body.hero-nav-home.nav-over-hero .navbar-collapse .nav-link:hover,
  body.hero-nav-home.nav-over-hero .navbar-collapse .nav-link.active {
    padding: 12px 4px !important;
    color: var(--primary) !important;
  }

  .navbar-collapse .nav-link::after,
  body.hero-nav-home.nav-over-hero .navbar-collapse .nav-link::after {
    bottom: 6px;
    background: var(--accent);
  }

  .navbar-collapse .nav-item.ms-lg-3 {
    margin-top: 12px;
    margin-left: 0 !important;
  }

  .navbar-collapse .btn-accent,
  body.hero-nav-home.nav-over-hero #mainNav .navbar-collapse .btn-accent {
    width: 100%;
    min-height: 48px;
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: none;
  }

  #heroSwiper {
    min-height: 620px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-pad: 64px;
  }

  #topbar {
    display: none;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .slide-sub {
    margin-bottom: 14px;
    letter-spacing: 2.2px;
    font-size: 11px;
  }

  .slide-title {
    /*max-width: 280px;*/
    margin: 0 auto 20px;
    font-size: clamp(18px, 4.8vw, 20px);
    line-height: 1.5;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  .slide-content {
    max-width: min(360px, 88vw);
    padding: 0 12px 24px;
  }

  .swiper-slide::before {
    background: linear-gradient(180deg, rgba(72, 78, 88, 0.34) 0%, rgba(72, 78, 88, 0.44) 28%, rgba(72, 78, 88, 0.58) 100%);
  }

  .hero-actions {
    width: 100%;
    gap: 12px !important;
  }

  .hero-actions .btn-outline-accent {
    display: none;
  }

  .hero-actions .btn-accent {
    min-width: 0;
    width: 100%;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .slide-title {
    max-width: 720px;
    margin-bottom: 18px;
    font-size: clamp(22px, 4.2vw, 30px);
    line-height: 1.5;
    letter-spacing: -0.015em;
  }

  .hero-actions .btn-accent,
  .hero-actions .btn-outline-accent {
    min-width: 180px;
  }
}
/*
@media (min-width: 768px) and (max-width: 991.98px) and (max-height: 520px) {
  #heroSwiper {
    min-height: 412px;
  }

  .slide-content {
    max-width: min(760px, 86vw);
    padding: 0 18px;
  }

  .slide-sub {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 2.4px;
  }

  .slide-title {
    max-width: 720px;
    margin-bottom: 18px;
    font-size: clamp(22px, 4.2vw, 30px);
    line-height: 1.18;
    letter-spacing: -0.015em;
  }

  .hero-actions {
    gap: 10px !important;
  }

  .hero-actions .btn-accent,
  .hero-actions .btn-outline-accent {
    min-width: 168px;
    min-height: 46px;
    padding: 0 18px;
  }
}*/


@media (max-width: 575.98px) {
  #heroSwiper {
    min-height: 540px;
  }
}


.section-header-left .divider {
  margin: 12px 0 14px;
}

.section-header-left p {
  margin: 0;
  max-width: none;
}

.hero-actions .btn-accent,
.hero-actions .btn-outline-accent {
  min-width: 200px;
}

.about-img-frame {
  max-height: 700px;
}

.about-img-frame img,
.why-img {
  width: 100%;
  height: 100%;
}

#about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(218, 187, 106, 0.10), transparent 24%),
    linear-gradient(180deg, #fcfcfa 0%, #f7f7f4 100%);
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 36%);
  pointer-events: none;
}

#about .container {
  position: relative;
  z-index: 1;
}

#about .col-lg-4 > div {
  position: relative;
  max-width: 355px;
  margin: 0 auto;
  padding: 22px 18px 0;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82));
  border: 1px solid rgba(218, 187, 106, 0.18);
  box-shadow: 0 26px 60px rgba(38, 45, 56, 0.12);
}

#about .col-lg-4 > div::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(218, 187, 106, 0.08), rgba(141, 146, 155, 0.04));
  z-index: 0;
}

#about .col-lg-4 img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  margin: 0 auto;
}

#about .col-lg-8 {
  padding-left: 18px;
}

#about .section-header {
  margin-bottom: 28px;
}

.founder-name {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.about-text-content {
  max-width: 860px;
}

.lead-text {
  font-size: 1.08rem;
  line-height: 1.92;
  color: var(--text);
  margin-bottom: 0;
}

.highlight-text {
  color: var(--accent-dark);
  padding: 3px 8px;
  border-radius: 999px;
  display: inline;
  line-height: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.recognition-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(218, 187, 106, 0.28);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(38, 45, 56, 0.06);
}

.recognition-inline i {
  color: var(--accent-dark);
  font-size: 0.95rem;
}

.recognition-inline span {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.recognition-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(218, 187, 106, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(251, 248, 240, 0.96));
  box-shadow: 0 14px 30px rgba(38, 45, 56, 0.07);
}

.recognition-card__icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(218, 187, 106, 0.14);
  color: var(--accent-dark);
  font-size: 1.2rem;
}

.recognition-card h5 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.35;
}

.recognition-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.founder-quote {
  position: relative;
  padding: 34px 34px 30px;
  background: linear-gradient(180deg, var(--accent-softpro), var(--white));
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(38, 45, 56, 0.08);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.founder-quote:hover {
  box-shadow: 0 20px 40px rgba(38, 45, 56, 0.10);
  border-color: rgba(218, 187, 106, 0.34);
}

.founder-quote p {
  margin: 0;
  padding-left: 24px;
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  color: var(--primary);
  line-height: 1.8;
}

.founder-quote .quote-icon {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 22px;
  color: rgba(218, 187, 106, 0.82);
  background: transparent;
  padding: 0;
}

.about-feat-row {
  margin-top: 34px !important;
}

.about-feat-box {
  position: relative;
  padding: 30px 28px;
  border: 1px solid rgba(141, 146, 155, 0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 28px rgba(38, 45, 56, 0.08);
  height: 100%;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.about-feat-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(218, 187, 106, 0.15));
}

.about-feat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(38, 45, 56, 0.12);
  border-color: rgba(218, 187, 106, 0.38);
}

.about-feat-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 28px;
}

.about-feat-box h5 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  font-size: 12px;
}

@media (max-width: 991.98px) {
  #about .col-lg-4 > div {
    max-width: 320px;
    padding: 18px 14px 0;
  }

  #about .col-lg-8 {
    padding-left: 12px;
  }
}

@media (max-width: 767.98px) {
  #about .col-lg-4 > div {
    max-width: 300px;
    border-radius: 24px;
  }

  #about .col-lg-4 > div::before {
    inset: 10px;
    border-radius: 18px;
  }

  #about .section-header {
    margin-bottom: 22px;
  }

  .founder-name {
    font-size: 0.92rem;
    letter-spacing: 0.06em;
  }

  .lead-text {
    font-size: 1rem;
    line-height: 1.82;
  }

  .founder-quote {
    padding: 28px 22px 24px;
    border-radius: 18px;
  }

  .founder-quote p {
    padding-left: 18px;
    font-size: 1rem;
  }

  .recognition-inline {
    width: 100%;
    border-radius: 18px;
    justify-content: flex-start;
  }

  .recognition-card {
    padding: 18px;
    border-radius: 18px;
  }

  .recognition-card__icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 14px;
  }

  .founder-quote .quote-icon {
    top: 14px;
    left: 16px;
    font-size: 18px;
  }

  .about-feat-box {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .about-feat-box h5 {
    font-size: 1.2rem;
  }
}

#cta {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: -6px;
}

.cta-banner {
  margin: 0 auto;
    padding: 26px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.cta-banner h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 2.5vw, 25px);
  font-weight: 400;
}

.btn-outline-dark-accent {
  min-height: 52px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-dark);
  border-radius: 4px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

#process {
  background: linear-gradient(180deg, rgba(111, 116, 125, .95), rgba(111, 116, 125, .95)), url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1400&q=80') center/cover no-repeat;
}

#process .section-header h2,
#process .section-header p,
#process .process-item h5 {
  color: var(--white);
}

.process-item {
  position: relative;
  text-align: center;
  padding: 26px 18px;
}

.step-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--accent-soft);
  font-size: 28px;
}
#process .step-icon {
    background: none;
    border: 1px solid var(--white);
    color: var(--accent-soft);
}

.process-copy {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  margin-bottom: 0;
}

.process-arrow {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .3);
  font-size: 18px;
}

.mission-highlight {
  background: linear-gradient(135deg, var(--accent-softpro), rgba(218, 187, 106, 0.08));
  padding: 60px 0;
}

.mission-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.mission-card i {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
  opacity: 0.8;
}

.mission-card p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0;
  letter-spacing: 0.3px;
}

#packages {
  background: var(--bg_d);
}

.vehicle-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.vehicle-tab {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 18px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--primary);
  font-weight: 600;
  transition: all var(--transition);
}

.vehicle-tab i {
  color: var(--accent-dark);
  font-size: 20px;
}

.vehicle-tab.active,
.vehicle-tab:hover {
  border-color: var(--accent);
  background: rgba(218, 187, 106, .12);
  box-shadow: var(--shadow-sm);
}

.pkg-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.pkg-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.pkg-header {
  padding: 34px 28px 24px;
  background: linear-gradient(180deg, rgba(218, 187, 106, .16), rgba(255, 255, 255, 0));
  text-align: center;
  position: relative;
}
.formations-detail-grid .divider{
  width: 200px;
  height: 2px;
  background: var(--accent);
  margin: 14px 0 14px;
}
 .divider{

  width: 100px;
  height: 2px;
  background: var(--accent);
  margin: 14px auto 14px;
}
.featured-badge {
  position: absolute;
  top: 16px;
  left: 80%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--accent-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 12px;
}

.pkg-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin: 14px 0 8px;
  color: var(--primary);
}

.pkg-currency {
  font-size: 26px;
  line-height: 1;
  margin-top: 10px;
}

.pkg-amount {
  font-size: 58px;
  line-height: .92;
  font-weight: 700;
  color: var(--accent-dark);
}

.pkg-decimal {
  font-size: 24px;
  line-height: 1;
  margin-top: 12px;
}

.pkg-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
}

.pkg-body {
  padding: 0 28px 30px;
}

.pkg-services {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pkg-services li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(141, 146, 155, .12);
}
#packages-home {
  background: var(--accent-softpro);
}

#packages-home .packages-grid-home {
  align-items: stretch;
}

#packages-home .pkg-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  height: 100%;
}

#packages-home .pkg-card-link {
  color: inherit;
  text-decoration: none;
}

#packages-home .pkg-media {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #efe9dc;
}

#packages-home .pkg-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 26, 32, 0.04) 0%, rgba(24, 26, 32, 0.18) 100%);
}

#packages-home .pkg-media-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--transition);
}

#packages-home .pkg-card:hover .pkg-media-img {
  transform: scale(1.04);
}

#packages-home .pkg-header {
  min-height: 178px;
  padding: 26px 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#packages-home .pkg-header h5 {
  min-height: 58px;
  margin-bottom: 10px;
}

#packages-home .pkg-duration {
  justify-content: center;
  min-height: 26px;
}

#packages-home .pkg-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

#packages-home .pkg-services {
  flex: 1 1 auto;
  margin-bottom: 24px;
  text-align: center;
}

#packages-home .pkg-services li {
  text-align: center;
}

#packages-home .pkg-action-btn {
  width: 100%;
  margin-top: auto;
}

#packages-home .pkg-icon-plain {
  border: none;
  color: var(--accent-dark);
}

@media (max-width: 991.98px) {
  #packages-home .pkg-card {
    min-height: 100%;
  }

  #packages-home .pkg-header {
    min-height: 164px;
  }
}

@media (max-width: 767.98px) {
  #packages-home .pkg-media {
    aspect-ratio: 16 / 9;
  }

  #packages-home .pkg-header {
    min-height: auto;
  }

  #packages-home .pkg-header h5 {
    min-height: auto;
  }
}
#whyus {
  padding: 0;
  overflow: hidden;
}

#whyus .row {
  --bs-gutter-x: 0;
}

.why-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.why-content-panel {
  background: var(--light-bg);
  padding: clamp(52px, 6vw, 88px) clamp(22px, 4vw, 64px);
  
}

.why-content-panel .section-header {
  max-width: 760px;
}

.why-content-panel .section-header p {
  max-width: 620px;
}

.why-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(218, 187, 106, 0.10);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why-feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(218, 187, 106, 0.24);
}
.why-feat-row {
  --bs-gutter-x: 10px;
  --bs-gutter-y: 10px;
}
.why-feat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(218, 187, 106, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 20px;
  flex: 0 0 54px;
}

.why-feat-body {
  flex: 1 1 auto;
  min-width: 0;
}

.why-feat-body h5 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.why-feat-body p {
  margin-bottom: 0;
  color: var(--text-light);
  line-height: 1.75;
}

/* tablette */
@media (max-width: 991.98px) {
  .why-content-panel {
    padding: 56px 22px;
  }

  .why-content-panel .section-header {
    margin-bottom: 28px !important;
  }

  .why-feat {
    padding: 20px 18px;
  }
}

/* mobile */
@media (max-width: 575.98px) {
  .why-content-panel {
    padding: 44px 18px;
  }

  .why-content-panel .section-header {
    text-align: center !important;
  }

  .why-content-panel .section-header .divider {
    margin-left: auto;
    margin-right: auto;
  }

  .why-content-panel .section-header p {
    margin-left: auto;
    margin-right: auto;
  }

  .why-feat {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 20px 16px;
  }

  .why-feat-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .why-feat-body h5 {
    margin-bottom: 6px;
  }

  .why-feat-body p {
    line-height: 1.7;
  }
}
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.gallery-filter button {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.gallery-filter button.active,
.gallery-filter button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 116, 125, .45);
  color: var(--white);
  font-size: 26px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

#lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 15, .82);
  z-index: 1055;
  padding: 24px;
}

#lightbox.open {
  display: flex;
}

#lightbox img {
  max-width: min(960px, 92vw);
  max-height: 86vh;
  border-radius: 14px;
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--white);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

#testimonials {
  background: var(--light-bg);
}

.testi-card {
  height: 100%;
  padding: 34px 28px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.testi-quote {
  font-size: 72px;
  line-height: .65;
  color: rgba(218, 187, 106, .4);
}

.testi-stars {
  color: var(--accent-dark);
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.testi-text {
  margin-bottom: 24px;
}

.testi-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
}

.testi-name {
  font-weight: 700;
  color: var(--primary);
}

.testi-sub {
  color: var(--text-light);
  font-size: 13px;
}

.news-card {
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-body {
  padding: 24px;
}

.news-meta {
  margin-bottom: 12px;
  color: var(--text-light);
  font-size: 13px;
}

.news-body h5 {
  margin-bottom: 10px;
}

.news-body p {
  margin-bottom: 0;
}
/* 
#contact-info {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(91, 93, 98, 0.52)),
    url("../images/trait/bureau11.jpg") center top / cover no-repeat;
} */

#contact-info {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #d8d1ca;
  padding: 90px 0;
}

/* Fond large flouté pour remplir tout l’espace */
#contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/trait/bureau11.jpg") center center / cover no-repeat;
  transform: scale(1.08);
  filter: blur(12px) brightness(0.92);
  z-index: 0;
}

/* Image principale visible, moins zoomée */
#contact-info::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(70,74,79,0.18)),
    url("../images/trait/bureau11.jpg") center 18% / contain no-repeat;
  z-index: 1;
  opacity: 1;
}

/* Tout le contenu au-dessus */
#contact-info > * {
  position: relative;
  z-index: 2;
}

/* Texte */
#contact-info h2,
#contact-info h3,
#contact-info h4,
#contact-info h5,
#contact-info p,
#contact-info a,
#contact-info span {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.20);
}

/* Titres du bloc */
#contact-info h4,
#contact-info .contact-title,
#contact-info .title {
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* Texte secondaire */
#contact-info p,
#contact-info a,
#contact-info .contact-text,
#contact-info .desc {
  color: rgba(255,255,255,0.92);
}

/* Icônes rondes */
#contact-info .icon,
#contact-info .icon-box,
#contact-info i {
  position: relative;
  z-index: 2;
}

#contact-info .icon-box,
#contact-info .contact-icon,
#contact-info .feature-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

/* Icônes internes */
#contact-info .icon-box i,
#contact-info .contact-icon i,
#contact-info .feature-icon i,
#contact-info i {
  font-size: 34px;
  color: #e8cc79;
}

/* Colonnes / items */
#contact-info .single-contact,
#contact-info .contact-item,
#contact-info .info-box {
  text-align: center;
  padding: 20px 15px;
}

/* Liens */
#contact-info a {
  text-decoration: none;
  transition: all 0.25s ease;
}

#contact-info a:hover {
  color: #f2d98e;
}

/* Responsive tablette */
@media (max-width: 991.98px) {
  #contact-info {
    padding: 70px 0;
  }

  #contact-info::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.08), rgba(70,74,79,0.18)),
      url("../images/trait/bureau11.jpg") center 12% / 92% auto no-repeat;
  }

  #contact-info .icon-box,
  #contact-info .contact-icon,
  #contact-info .feature-icon {
    width: 82px;
    height: 82px;
    margin-bottom: 18px;
  }

  #contact-info .icon-box i,
  #contact-info .contact-icon i,
  #contact-info .feature-icon i,
  #contact-info i {
    font-size: 28px;
  }
}

/* Responsive mobile */
@media (max-width: 767.98px) {
  #contact-info {
    padding: 55px 0;
  }

  #contact-info::before {
    transform: scale(1.04);
    filter: blur(10px) brightness(0.90);
  }

  #contact-info::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(70,74,79,0.20)),
      url("../images/trait/bureau11.jpg") center 18% / contain no-repeat;  }

  #contact-info .single-contact,
  #contact-info .contact-item,
  #contact-info .info-box {
    padding: 18px 12px;
  }

  #contact-info h4,
  #contact-info .contact-title,
  #contact-info .title {
    font-size: 28px;
  }

  #contact-info p,
  #contact-info a,
  #contact-info .contact-text,
  #contact-info .desc {
    font-size: 16px;
    line-height: 1.7;
  }

  #contact-info .icon-box,
  #contact-info .contact-icon,
  #contact-info .feature-icon {
    width: 74px;
    height: 74px;
  }

  #contact-info .icon-box i,
  #contact-info .contact-icon i,
  #contact-info .feature-icon i,
  #contact-info i {
    font-size: 24px;
  }
}

.info-box {
  height: 100%;
  text-align: center;
  padding: 32px 24px;
  border-radius: 20px;
}

.info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  color: var(--accent-soft);
  font-size: 22px;
}

.info-box h5 {
  color: var(--white);
}

.info-box p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
}

.booking-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(141, 146, 155, .24);
  padding-inline: 16px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(218, 187, 106, .18);
}

textarea.form-control {
  min-height: 140px;
  padding-block: 14px;
}

.booking-submit {
  min-width: 260px;
  padding-inline: 34px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

#map iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

@media (max-width: 991.98px) {
  .vehicle-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-arrow {
    display: none;
  }

  .cta-banner {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .about-img-frame {
    max-height: 500px;
  }

  .vehicle-tabs,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .pkg-header,
  .pkg-body,
  .booking-card {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-actions .btn-accent,
  .hero-actions .btn-outline-accent,
  .btn-outline-dark-accent,
  .booking-submit {
    width: 100%;
    min-width: 0;
  }

  #map iframe {
    height: 360px;
  }
}

.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 18px;
}

.page-hero-banner {
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(111, 116, 125, .9), rgba(111, 116, 125, .78)), url('../images/page-banner.svg') center/cover no-repeat;
}

.page-hero-title {
  font-size: clamp(30px, 4vw, 54px);
}

.page-hero-text {
  max-width: 700px;
  margin-inline: auto;
}

/* ===== Header / Menu updates ===== */
#siteHeader {
  position: relative;
  z-index: 1100;
}

#topbar {
  position: relative;
  z-index: 1101;
}

#mainNav {
  position: fixed;
  top: 44px;
  left: 0;
  width: 100%;
  z-index: 1102;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231, 227, 215, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition), top var(--transition), transform var(--transition);
}

/* HOME: état initial transparent sur le hero */
body.hero-nav-home.nav-over-hero #topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1103;
  background: linear-gradient(180deg, rgba(111, 116, 125, 0.65), rgba(111, 116, 125, 0.38));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
}

body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) {
  top: 44px;
  background: transparent;
  box-shadow: none;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-brand,
body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-nav .nav-link,
body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-nav .nav-link:hover,
body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-nav .nav-link.active {
  color: var(--white) !important;
}

body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-nav .nav-link::after {
  background: var(--white);
  bottom: 12px;
  height: 2px;
}

@media (max-width: 991.98px) {
  body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-collapse .nav-link,
  body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-collapse .nav-link:hover,
  body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-collapse .nav-link.active {
    color: var(--primary) !important;
  }

  body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-collapse .nav-link::after {
    background: var(--accent);
    bottom: 6px;
  }

  body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-collapse .btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
  }
}

body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .btn-accent {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .btn-accent:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  color: var(--white);
}

/* HOME: après scroll */
body.hero-nav-home #mainNav.is-scrolled {
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(231, 227, 215, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.hero-nav-home #mainNav.is-scrolled .navbar-brand,
body.hero-nav-home #mainNav.is-scrolled .navbar-nav .nav-link,
body.hero-nav-home #mainNav.is-scrolled .navbar-nav .nav-link:hover,
body.hero-nav-home #mainNav.is-scrolled .navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

body.hero-nav-home #mainNav.is-scrolled .navbar-nav .nav-link::after {
  background: var(--accent);
  bottom: 0;
  height: 3px;
}

body.hero-nav-home #mainNav.is-scrolled .navbar-toggler {
  border-color: rgba(111, 116, 125, 0.35);
  background: rgba(255, 255, 255, 0.96);
}

body.hero-nav-home #mainNav.is-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238d929b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.hero-nav-home #mainNav.is-scrolled .btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: none;
}

body.hero-nav-home #mainNav.is-scrolled .btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

@media (max-width: 767.98px) {
  #siteHeader {
      position: sticky;
    top: 0;
  }
}
/* ===== Intro before pillars ===== */
.training-intro-section {
  padding: 28px 0 0;
  background: linear-gradient(180deg, rgba(248, 248, 246, 0.92) 0%, rgba(255, 255, 255, 0) 100%);
}

.training-intro-card {
  padding: 34px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(248,248,246,0.96) 100%);
  border: 1px solid rgba(218, 187, 106, 0.22);
  box-shadow: 0 18px 40px rgba(38, 45, 56, 0.08);
}

.training-intro-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(218, 187, 106, 0.14);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.training-intro-card h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 2.4vw, 40px);
}

.training-intro-card p {
  margin: 0;
  max-width: 760px;
  color: var(--text-light);
  font-size: 1.08rem;
  line-height: 1.9;
}

@media (max-width: 991.98px) {
  .training-intro-card {
    padding: 28px 24px;
  }

  .training-intro-card .text-lg-end {
    text-align: left !important;
  }
}

@media (max-width: 767.98px) {
  #siteHeader {
    position: sticky;
    top: 0;
  }

  .training-intro-section {
    padding-top: 20px;
  }

  .training-intro-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .training-intro-card p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .mission-card {
    padding: 30px 20px;
  }

  .mission-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  .mission-card i {
    font-size: 28px;
    margin-bottom: 16px;
  }
}

/* ===== Ided by me===== */

.mini-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212, 178, 86, 0.12);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
#cta.cta-wide-section {
  position: relative;
  padding: 0;
  background: var(--bg_d);
}

#cta.cta-wide-section .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

#cta.cta-wide-section .cta-banner {
  width: 100%;
  padding: 80px 24px;
  background:
    linear-gradient(135deg, rgba(245, 242, 233, 0.96), rgba(232, 225, 202, 0.96));
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#cta.cta-wide-section .cta-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

#cta.cta-wide-section .cta-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  color: var(--primary);
}

#cta.cta-wide-section .cta-copy p {
  margin: 0 auto 14px;
  max-width: 820px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}

#cta.cta-wide-section .cta-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  #cta.cta-wide-section .cta-banner {
    padding: 56px 18px;
  }

  #cta.cta-wide-section .cta-copy h3 {
    font-size: 2rem;
  }

  #cta.cta-wide-section .cta-copy p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

/* === New editorial structure === */
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--accent-soft); }
.pkg-meta {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
}
.vision-slab { padding: 32px 0 10px; background: linear-gradient(180deg, rgba(248,248,246,.96), rgba(255,255,255,0)); }
.vision-slab-card {
  padding: 36px 40px; border-radius: 28px; background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,246,240,.96));
  border: 1px solid rgba(218,187,106,.18); box-shadow: 0 20px 50px rgba(38,45,56,.08);
}
.vision-slab-card h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 14px; }
.vision-slab-card p { margin-bottom: 0; color: var(--text); line-height: 1.9; }
.vision-quote-card {
  padding: 28px; border-radius: 24px; background: rgba(111,116,125,.94); color: var(--white);
  box-shadow: var(--shadow-md); line-height: 1.8; font-size: 1.05rem;
}
body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .logo-default { opacity: 1; }
body.hero-nav-home.nav-over-hero #mainNav:not(.is-scrolled) .logo-scrolled { opacity: 0; }
#mainNav.is-scrolled .logo-default { opacity: 0; }
#mainNav.is-scrolled .logo-scrolled { opacity: 1; }

/* =========================================================
   FIX MENU PAGES INTERNES (toutes les pages sauf index)
   Même apparence au chargement et au scroll
   ========================================================= */

/* Header général sur pages internes */
body:not(.hero-nav-home) #siteHeader {
  position: sticky;
  top: 0;
  z-index: 1105;
}

/* Topbar toujours blanche */
body:not(.hero-nav-home) #topbar {
  position: relative;
  inset: auto;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(231, 227, 215, 0.85);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Nav toujours blanche - avant/après scroll identique */
body:not(.hero-nav-home) #mainNav,
body:not(.hero-nav-home) #mainNav.is-scrolled {
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(231, 227, 215, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Couleurs texte pages internes */
body:not(.hero-nav-home) #mainNav .navbar-brand,
body:not(.hero-nav-home) #mainNav .navbar-nav .nav-link:not(.kb-ignore-mainnav-color),
body:not(.hero-nav-home) #mainNav .navbar-nav .nav-link:not(.kb-ignore-mainnav-color):hover,
body:not(.hero-nav-home) #mainNav .navbar-nav .nav-link:not(.kb-ignore-mainnav-color).active,
body:not(.hero-nav-home) #topbar,
body:not(.hero-nav-home) #topbar a,
body:not(.hero-nav-home) #topbar span {
  color: var(--primary) !important;
}
/* Soulignement liens */
body:not(.hero-nav-home) #mainNav .navbar-nav .nav-link::after {
  background: var(--accent);
  bottom: 0;
  height: 3px;
}

/* Bouton burger pages internes */
body:not(.hero-nav-home) #mainNav .navbar-toggler,
body:not(.hero-nav-home) #mainNav.is-scrolled .navbar-toggler {
  border-color: rgba(111, 116, 125, 0.35);
  background: rgba(255, 255, 255, 0.96);
}

body:not(.hero-nav-home) #mainNav .navbar-toggler-icon,
body:not(.hero-nav-home) #mainNav.is-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238d929b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Bouton CTA pages internes */
body:not(.hero-nav-home) #mainNav .btn-accent,
body:not(.hero-nav-home) #mainNav.is-scrolled .btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: none;
}

body:not(.hero-nav-home) #mainNav .btn-accent:hover,
body:not(.hero-nav-home) #mainNav.is-scrolled .btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

/* Logos pages internes */
body:not(.hero-nav-home) .logo-default {
  opacity: 0;
  pointer-events: none;
}

body:not(.hero-nav-home) .logo-scrolled {
  opacity: 1;
}

/* Mobile : même rendu blanc partout sauf home spéciale */
@media (max-width: 767.98px) {
  body:not(.hero-nav-home) #siteHeader {
    position: sticky;
    top: 0;
  }

  body:not(.hero-nav-home) #topbar,
  body:not(.hero-nav-home) #mainNav,
  body:not(.hero-nav-home) #mainNav.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
  }
}/*fin corrige*/
}/*fin corrige*/
}/*fin corrige*/
.navbar-brand { position: relative; }
.navbar-brand .logo-scrolled { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; pointer-events: none; }
.audience-section { background: linear-gradient(180deg, #fbfaf7 0%, #f7f5ef 100%); }
.audience-card {
  height: 100%; padding: 28px; border-radius: 22px; background: rgba(255,255,255,.92); border: 1px solid rgba(218,187,106,.16);
  box-shadow: 0 16px 38px rgba(38,45,56,.06); transition: transform var(--transition), box-shadow var(--transition);
}
.audience-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(38,45,56,.10); }
.audience-card i { font-size: 24px; color: var(--accent-dark); margin-bottom: 16px; }
.audience-card h5 { margin-bottom: 10px; }
.audience-note {
  margin-top: 26px; padding: 18px 22px; border-radius: 16px; background: rgba(255,255,255,.7); border: 1px dashed rgba(218,187,106,.28); text-align: center;
}
.page-hero-banner {
  padding: 150px 0 90px;
  background: linear-gradient(160deg, rgba(52,53,56,.92), rgba(52,53,56,.8)), url('../images/slider/02.png') center/cover no-repeat;
}
.page-hero-banner h1, .page-hero-banner .lead { color: var(--white); }
.story-section { padding: 90px 0; }
.story-section.alt-bg, .certification-panel.alt-bg { background: linear-gradient(180deg, #fbfaf7 0%, #f7f5ef 100%); }
.story-main-img, .story-side-img, .formation-detail-img {
  width: 100%; border-radius: 28px; object-fit: cover; box-shadow: var(--shadow-md);
}
.story-main-img { min-height: 520px; }
.story-side-img { min-height: 440px; }
.story-highlight {
  margin-top: 26px; padding: 26px 28px; border-radius: 22px; background: linear-gradient(135deg, rgba(218,187,106,.14), rgba(218,187,106,.04)); border: 1px solid rgba(218,187,106,.24);
}
.story-highlight i { color: var(--accent-dark); font-size: 24px; margin-bottom: 12px; }
.story-highlight p { margin: 0; color: var(--primary); font-weight: 600; }
.story-card, .pillar-box, .info-panel, .training-side-card, .contact-side-card {
  height: 100%; padding: 28px; border-radius: 22px; background: rgba(255,255,255,.94); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.story-card i { font-size: 24px; color: var(--accent-dark); margin-bottom: 14px; }
.pillar-box { text-align: center; }
.pillar-box strong { display: block; color: var(--primary); font-size: 1.15rem; margin-bottom: 8px; }
.training-intro-page { padding-bottom: 24px; }
.apeseq-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(218,187,106,.22);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(250,247,239,.96));
  box-shadow: 0 10px 24px rgba(38,45,56,.05);
}
.apeseq-badge__media {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
}
.apeseq-badge__image {
  display: block;
  max-width: 156px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.apeseq-badge__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(51,46,160,.14), rgba(114,136,217,.14));
  color: #352e9f;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.apeseq-badge__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.apeseq-badge__copy strong {
  color: var(--primary);
  font-size: 1rem;
}
.apeseq-badge__copy span {
  color: var(--text-light);
  font-size: .93rem;
  line-height: 1.6;
}
.training-side-card .small-note { color: var(--text-light); line-height: 1.8; }
.formations-detail-grid { padding-top: 20px; }
.formation-detail-card {
  margin-bottom: 26px; padding: 26px; border-radius: 28px; background: rgba(255,255,255,.97); border: 1px solid rgba(218,187,106,.14); box-shadow: 0 18px 48px rgba(38,45,56,.07);
}
.formation-detail-card:last-child { margin-bottom: 0; }
.formation-detail-card h3 { margin-bottom: 14px; font-size: clamp(28px, 3vw, 36px); }
.formation-detail-img { min-height: 100%; height: 100%; }
.formation-cert {
  margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: rgba(218,187,106,.1); color: var(--primary); font-size: 14px; line-height: 1.7;
}
.big-list li { margin-bottom: 12px; }
.contact-page-section { padding-top: 70px; }
.contact-list > div { display: flex; gap: 12px; margin-bottom: 16px; color: var(--text); }
.contact-list i { width: 20px; color: var(--accent-dark); margin-top: 4px; }
#footer h4 { color: var(--white); }
@media (max-width: 991.98px) {
  .vision-slab-card { padding: 28px 24px; }
  .story-main-img, .story-side-img { min-height: 340px; }
  .formation-detail-img { min-height: 280px; }
}
@media (max-width: 767.98px) {
  .page-hero-banner { padding: 125px 0 72px; }
  .vision-slab-card, .formation-detail-card, .story-card, .pillar-box, .info-panel, .training-side-card, .contact-side-card { padding: 22px 18px; border-radius: 18px; }
  .audience-card { padding: 22px 18px; border-radius: 18px; }
  .apeseq-badge {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .apeseq-badge__image {
    max-width: 130px;
  }
}

/*ceci est le premier slider*/
/*ceci est le premier slider*/
/*ceci est le premier slider*/
.kb-slide-split {
  width: min(1320px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  text-align: left;
}

.kb-slide-main {
  max-width: 760px;
}

.kb-slide-text {
  max-width: 620px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.9;
}

.kb-slide-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kb-stat-card {
  min-height: 150px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 178, 86, 0.18);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(3px);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.kb-stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 178, 86, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

.kb-stat-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  font-weight: 700;
}

.kb-stat-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

@media (max-width: 991.98px) {
  .kb-slide-split {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .kb-slide-main,
  .kb-slide-text {
    max-width: 100%;
  }

  .kb-slide-text {
    margin-left: auto;
    margin-right: auto;
  }

  .kb-slide-stats {
    max-width: 760px;
    margin: 0 auto;
  }

  .kb-slide-split .hero-actions {
    justify-content: center !important;
  }
}

@media (max-width: 767.98px) {
  .kb-slide-stats {
    grid-template-columns: 1fr;
  }

  .kb-stat-card {
    min-height: 122px;
    padding: 22px 20px;
  }

  .kb-slide-text {
    font-size: 1rem;
    line-height: 1.8;
  }
}
/*fin est le premier slider*/
/*fin est le premier slider*/
/*debut notre visionr*/
/* ===== Vision section ===== */
/* ===== Vision section ===== */
.vision-section {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background:var(--light-bg))
}

.vision-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(218, 187, 106, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 187, 106, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.vision-row {
  position: relative;
  z-index: 2;
  min-height: 82vh;
  padding: 90px 0 60px;
}

.vision-left {
  padding-right: 24px;
}

.vision-right {
  padding-left: 24px;
}

.vision-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.vision-left .section-header h2,
.vision-text,
.vision-text p,
.vision-stat-box strong,
.vision-stat-box span {
  color: var(--primary);
}

.vision-text {
  max-width: 560px;
}

.vision-text p {
  color: var(--primary);
  margin-bottom: 18px;
}

.vision-quote {
  max-width: 600px;
  font-weight: 80;
}
.vision-quote p{

  background: var(--light-bg);
    border-left:1px solid var(--accent);
    padding: 20px;

}
.vision-quote .quote-icon{

  position: relative;
  left: -15px;
  font-size: 22px;
  color: var(--accent);
  background: transparent;
  padding: 0;
}
.vision-pillars {
  max-width: 460px;
  margin: 0 auto;
}

.vision-card {
  padding: 22px 20px;
  border-radius: 10px;
  max-width: 400px ;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--accent-soft);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.vision-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-dark);
  background: var(--light-softpro);
}

.vision-card h6 {
  margin-bottom: 8px;
  font-weight: 450;
  color: var(--primary);
  text-align: center;
}

.vision-card p {
  margin: 0;
  color: var(--text-light);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.7;
}

.vision-card .about-feat-icon {
  margin-bottom: 10px;
  height: 5px;
  width: auto;
}

.vision-stats-row {
  position: relative;
  z-index: 2;
  background: var( --accent);
  border-top: 1px solid var(--accent);
}

.vision-stat-box {
  padding: 28px 24px;
  text-align: left;
  font-size: 30px;
  font-family: Georgia,  serif;
  color:var(--white);
  border: 1px solid var(--white);
  border-top: 1px solid var(--accent);
}

.vision-stats-row > div:last-child .vision-stat-box {
  border-right: none;
}

.vision-stat-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.vision-stat-box span {
  display: block;
  color: var(--white);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .vision-row {
    min-height: auto;
    padding: 70px 0 40px;
  }

  .vision-left,
  .vision-right {
    padding-left: 0;
    padding-right: 0;
  }

  .vision-right {
    margin-top: 28px;
  }

  .vision-stats-row > div:nth-child(2) .vision-stat-box {
    border-right: none;
  }

  .vision-stats-row > div:nth-child(3) .vision-stat-box,
  .vision-stats-row > div:nth-child(4) .vision-stat-box {
    border-top: 1px solid var(--accent);
  }
}

@media (max-width: 575.98px) {
  .vision-logo-grid {
    width: 140px;
    height: 140px;
  }

  .vision-card {
    padding: 18px 16px;
  }

  .vision-stat-box {
    padding: 22px 14px;
  }
}

/* ===== Page loader ===== */
.page-is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 7, 10, 0.96);
  backdrop-filter: blur(3px);
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-loader__inner::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.22);
  animation: loaderRing 1.8s linear infinite;
}

.page-loader__logo {
  width: 120px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.22));
  animation: loaderPulse 1.7s ease-in-out infinite;
  transform-origin: center;
}

@keyframes loaderPulse {
  0% { transform: scale(.92) rotate(0deg); opacity: .78; }
  50% { transform: scale(1) rotate(4deg); opacity: 1; }
  100% { transform: scale(.92) rotate(0deg); opacity: .78; }
}

@keyframes loaderRing {
  0% { transform: scale(.88); opacity: .15; }
  50% { transform: scale(1.02); opacity: .45; }
  100% { transform: scale(1.18); opacity: 0; }
}

body.page-ready .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .page-loader__logo,
  .page-loader__inner::before {
    animation: none !important;
    transition: none !important;
  }
}
