:root {
  --green: #2E7D32;
  --green-secondary: #4CAF50;
  --green-dark: #1B5E20;
  --gold: #C9A14A;
  --ink: #1A1A1A;
  --muted: #555555;
  --line: #E1E7E2;
  --paper: #F5F7FA;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(27, 94, 32, 0.12);
  --section-image: url("../images/placeholders/image-fallback-ela.svg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes patternDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 120px 120px, -120px 120px;
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(20, 32, 24, 0.14);
  }

  50% {
    box-shadow: 0 18px 42px rgba(225, 205, 37, 0.28);
  }
}

@keyframes partnersMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 22px);
  padding: 10px clamp(14px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(201, 161, 74, 0.48);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  flex: 0 1 230px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1;
  color: var(--green);
}

.brand small {
  display: block;
  max-width: 180px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(7px, 0.8vw, 14px);
  min-width: 0;
  font-size: clamp(0.72rem, 0.78vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav li,
.footer-column li {
  list-style: none;
}

.main-nav .menu-item,
.footer-column .menu-item {
  margin: 0;
}

.main-nav > li,
.main-nav .menu-item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  color: #27362d;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.main-nav a:hover {
  color: var(--green-dark);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.main-nav a[aria-current="page"],
.main-nav a.is-active,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
  color: var(--green-dark);
  font-weight: 950;
  border-color: var(--gold);
}

.nav-cta {
  padding: 9px 12px !important;
  color: var(--white) !important;
  background: var(--green);
  border: 1px solid var(--green) !important;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.18);
}

.nav-cta:hover {
  color: var(--green-dark) !important;
  background: var(--gold);
  border-color: var(--gold) !important;
}

.main-nav .nav-cta[aria-current="page"],
.main-nav .nav-cta.is-active,
.main-nav .current-menu-item > .nav-cta,
.main-nav .current_page_item > .nav-cta {
  color: #ffffff;
  background: var(--green-dark);
  border-color: var(--green-dark) !important;
}

.language-switcher {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switcher a,
.language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 6px 8px;
  border: 0;
  border-radius: 999px;
  color: var(--green-dark);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
}

.language-switcher a:hover,
.language-switcher button:hover,
.language-switcher .is-active {
  color: var(--green-dark);
  background: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 10px 26px rgba(20, 32, 24, 0.08);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 330px);
  align-items: end;
  gap: 32px;
  padding: 68px clamp(18px, 6vw, 80px) 44px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(12, 45, 21, 0.94), rgba(18, 98, 29, 0.74)),
    var(--section-image),
    radial-gradient(circle at 76% 22%, rgba(225, 205, 37, 0.34), transparent 32%),
    linear-gradient(135deg, #173c21, #2ea900);
  background-position: center;
  background-size: cover, cover, auto, cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(30deg, transparent 48%, #fff 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, #fff 49%, transparent 51%);
  background-size: 120px 120px;
  animation: patternDrift 28s linear infinite;
}

.hero-slider,
.hero-panel {
  position: relative;
  z-index: 1;
  animation: fadeUp 650ms ease both;
}

.hero-panel {
  animation-delay: 120ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero-slider {
  width: min(100%, 980px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-slide {
  display: none;
  max-width: 980px;
}

.hero-slide h1 {
  max-width: 980px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
  text-transform: none;
}

.hero-slide.is-active {
  display: block;
  animation: fadeUp 620ms ease both;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  hyphens: none;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.75rem, 4.8vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-controls {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.hero-dot {
  width: 42px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
  width: 62px;
  background: var(--gold);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-size: 2rem;
  cursor: pointer;
}

.hero-prev { left: clamp(14px, 2.5vw, 34px); }
.hero-next { right: clamp(14px, 2.5vw, 34px); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 32, 24, 0.16);
}

.button.primary {
  background: var(--gold);
  color: var(--green-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.button.ghost {
  color: var(--green-dark);
  background: #eef6e9;
  border-color: var(--line);
}

.inline-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 900;
  border-bottom: 3px solid var(--gold);
}

.page-hero {
  position: relative;
  padding: clamp(46px, 7vw, 82px) clamp(18px, 6vw, 80px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(12, 45, 21, 0.94), rgba(18, 98, 29, 0.76)),
    var(--section-image),
    linear-gradient(135deg, #173c21, #2ea900);
  background-position: center;
  background-size: cover, cover, cover;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(30deg, transparent 48%, #fff 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, #fff 49%, transparent 51%);
  background-size: 120px 120px;
}

.page-hero > * {
  position: relative;
  z-index: 1;
  max-width: 980px;
  animation: fadeUp 620ms ease both;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 6vw, 80px);
  color: var(--green-dark);
  background: var(--gold);
}

.cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.cta-strip p {
  max-width: 620px;
  margin: 10px 0 0;
}

.cta-strip .button {
  background: var(--ink);
  color: var(--white);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(20, 32, 24, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.detail-card:hover,
.mission-grid article:hover,
.news-grid article:hover,
.values article:hover,
.training-grid article:hover,
.service-list article:hover,
.team-card:hover,
.partner-logo:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 169, 0, 0.28);
  box-shadow: 0 18px 46px rgba(20, 32, 24, 0.12);
}

.quote-form {
  max-width: 920px;
  margin: 0 auto;
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-panel div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-panel strong {
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.home-slider {
  position: relative;
  padding: clamp(24px, 4vw, 42px) clamp(18px, 6vw, 80px);
  background: var(--white);
}

.slider-track {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ela-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 5vw, 52px);
  color: var(--white);
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 600ms ease, transform 600ms ease;
}

.ela-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.ela-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(30deg, transparent 48%, #fff 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, #fff 49%, transparent 51%);
  background-size: 118px 118px;
}

.slide-one {
  background:
    linear-gradient(110deg, rgba(12, 45, 21, 0.95), rgba(46, 169, 0, 0.72)),
    linear-gradient(135deg, #173c21, #2ea900);
}

.slide-two {
  background:
    linear-gradient(110deg, rgba(20, 32, 24, 0.94), rgba(91, 92, 17, 0.78)),
    linear-gradient(135deg, #142018, #e1cd25);
}

.slide-three {
  background:
    linear-gradient(110deg, rgba(18, 98, 29, 0.93), rgba(39, 44, 52, 0.8)),
    linear-gradient(135deg, #2ea900, #272c34);
}

.slide-copy,
.ela-slide img {
  position: relative;
  z-index: 1;
}

.slide-copy {
  max-width: 720px;
}

.slide-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.slide-copy p:not(.eyebrow) {
  max-width: 650px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.ela-slide img {
  width: min(260px, 34vw);
  justify-self: end;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.slider-dot {
  width: 36px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd8c8;
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--green);
}

.section,
.band,
.contact-section {
  padding: clamp(38px, 5vw, 68px) clamp(18px, 6vw, 80px);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 22px;
  animation: fadeUp 560ms ease both;
}

.section-heading.narrow {
  max-width: 760px;
}

.two-column,
.services-layout,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(20px, 4vw, 44px);
}

.copy-block {
  font-size: 1.05rem;
  color: #314137;
}

.mission-grid {
  display: grid;
  gap: 14px;
}

.mission-grid article,
.expertise-box,
.news-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(20, 32, 24, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mission-grid span,
.training-grid span {
  color: var(--green);
  font-weight: 900;
}

.values-band,
.training-band {
  background: #eef6e9;
}

.values,
.domain-grid,
.training-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.values article,
.training-grid article {
  min-height: 150px;
  padding: 20px;
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
}

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

.domain-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
  color: var(--white);
  border-radius: 8px;
  background: linear-gradient(145deg, #173c21, #2ea900);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.domain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 46px rgba(20, 32, 24, 0.18);
}

.domain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background:
    linear-gradient(45deg, transparent 45%, #fff 46%, transparent 48%),
    radial-gradient(circle at top right, #e1cd25 0, transparent 40%);
  background-size: 92px 92px, auto;
}

.domain-card h3,
.domain-card p {
  position: relative;
}

.domain-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.energy {
  background: linear-gradient(145deg, #5b5c11, #e1cd25);
}

.environment {
  background: linear-gradient(145deg, #0c462a, #2ea900);
}

.hydrocarbons {
  background: linear-gradient(145deg, #272c34, #69717b);
}

.services-section {
  background: var(--white);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.expertise-box ul {
  padding-left: 20px;
  margin: 0;
}

.expertise-box li + li {
  margin-top: 10px;
}

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

.catalogue-download {
  background: var(--white);
}

.catalogue-card {
  display: grid;
  grid-template-columns: minmax(150px, 210px) 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 4vw, 34px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(238, 246, 233, 0.92), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: var(--shadow);
}

.catalogue-visual {
  align-self: stretch;
  min-height: 150px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eef6e9;
  border: 1px solid rgba(20, 32, 24, 0.08);
}

.catalogue-visual img,
.config-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.pdf-icon {
  position: relative;
  display: grid;
  place-items: end center;
  width: 78px;
  height: 94px;
  padding-bottom: 14px;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(20, 32, 24, 0.14);
}

.pdf-icon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 22px solid #fff8b0;
  border-left: 22px solid rgba(35, 49, 0, 0.2);
  border-bottom-left-radius: 4px;
}

.pdf-icon span {
  font-weight: 900;
  font-size: 0.9rem;
}

.catalogue-card:hover .pdf-icon {
  animation: softPulse 1.8s ease-in-out infinite;
}

.catalogue-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.catalogue-copy p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #314137;
}

.home-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.home-about-media {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.home-about-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.why-section,
.credibility-section {
  background: var(--white);
}

.premium-grid {
  display: grid;
  gap: 18px;
}

.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.premium-card,
.service-card,
.realisation-box {
  border: 1px solid rgba(27, 94, 32, 0.09);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(27, 94, 32, 0.08);
}

.premium-card,
.service-card {
  padding: 24px;
}

.card-icon,
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--green-dark);
  background: rgba(201, 161, 74, 0.18);
  font-weight: 950;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-card,
.service-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.premium-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 161, 74, 0.72);
  box-shadow: 0 22px 58px rgba(27, 94, 32, 0.12);
}

.service-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: clamp(28px, 4vw, 50px) clamp(18px, 6vw, 80px);
  color: var(--white);
  background: var(--green-dark);
}

.stat-item {
  padding: 18px;
  text-align: center;
}

.stat-item strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.realisation-box {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
}

.realisation-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding-left: 20px;
  margin-bottom: 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(42px, 7vw, 78px) clamp(18px, 6vw, 80px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(18, 98, 29, 0.96), rgba(18, 98, 29, 0.86)),
    url("../images/ela-2026/conseil-expertise-mission.webp") center/cover;
}

.final-cta .eyebrow {
  color: var(--gold);
}

.final-cta h2 {
  max-width: 820px;
  color: var(--white);
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-section {
  background: var(--paper);
}

.editorial-section {
  background: var(--white);
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.38fr);
  gap: clamp(18px, 4vw, 38px);
  align-items: stretch;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(46, 125, 50, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(238, 246, 233, 0.92), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: 0 22px 60px rgba(20, 32, 24, 0.08);
}

.featured-copy h3 {
  max-width: 820px;
  margin: 10px 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.featured-copy p {
  max-width: 780px;
  color: #314137;
  font-size: 1.04rem;
}

.article-tag,
.article-tabs span,
.event-list span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(201, 161, 74, 0.18);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-media {
  display: grid;
  gap: 12px;
}

.featured-media .config-image {
  min-height: 180px;
  border-radius: 14px;
  box-shadow: none;
}

.featured-meta {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 120px;
  padding: 20px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(27, 94, 32, 0.96), rgba(46, 125, 50, 0.9));
}

.featured-meta span,
.featured-meta strong {
  display: block;
}

.featured-meta span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.featured-meta strong {
  font-size: 1.25rem;
  line-height: 1.15;
}

.article-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.news-grid-editorial article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.news-grid article p {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.news-grid article span {
  display: inline-flex;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.news-grid article a,
.text-link {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.news-grid article a:hover,
.text-link:hover {
  color: var(--gold);
}

.dynamic-section {
  background: var(--paper);
}

.dynamic-grid {
  align-items: stretch;
}

.dynamic-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  min-height: 100%;
  overflow: hidden;
  padding: 0 !important;
}

.dynamic-card-media {
  height: 180px;
  margin: 0;
  overflow: hidden;
  background: #eef6e9;
}

.dynamic-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynamic-card-copy {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.dynamic-excerpt {
  color: #314137;
}

.dynamic-excerpt p {
  margin-top: 0;
}

.dynamic-empty {
  padding: 22px;
  border: 1px dashed rgba(46, 125, 50, 0.32);
  border-radius: 14px;
  background: var(--white);
  color: #314137;
  font-weight: 700;
}

.events-info-band {
  background: #eef6e9;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.event-list article {
  padding: 22px;
  border: 1px solid rgba(46, 125, 50, 0.14);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(20, 32, 24, 0.06);
}

.event-list h3 {
  margin: 12px 0 8px;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-marquee:hover .partners-grid {
  animation-play-state: paused;
}

.partners-grid {
  display: flex;
  width: max-content;
  gap: 18px;
  padding-right: 18px;
  overflow: visible;
  animation: partnersMarquee 48s linear infinite;
  will-change: transform;
}

.partners-grid::before,
.partners-grid::after {
  content: none;
}

.partners-showcase {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-showcase:hover .partners-grid-static {
  animation-play-state: paused;
}

.partners-grid-static {
  display: flex;
  width: max-content;
  grid-template-columns: none;
  gap: 18px;
  padding: 0;
  overflow: visible;
  animation: partnersMarquee 44s linear infinite;
  will-change: transform;
}

.partners-grid-static .partner-logo {
  flex: 0 0 clamp(150px, 16vw, 214px);
  min-height: 118px;
}

.partner-logo {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(158px, 16vw, 214px);
  min-height: 112px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(27, 94, 32, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partner-logo img {
  max-height: 78px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}

.partner-logo:hover {
  border-color: rgba(201, 161, 74, 0.86);
  box-shadow: 0 16px 44px rgba(27, 94, 32, 0.1);
}

.gallery-section {
  background: var(--white);
}

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

.gallery-item {
  position: relative;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eef6e9;
  box-shadow: 0 12px 40px rgba(20, 32, 24, 0.08);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.team-card {
  min-height: 220px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(20, 32, 24, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 14px;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.2rem;
}

.team-card span:not(.team-avatar) {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.contact-section {
  color: var(--white);
  background: #142018;
}

.contact-section .eyebrow {
  color: var(--gold);
}

.contact-info p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.contact-links a,
.social-links a {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 252, 247, 0.98)),
    var(--white);
  border: 1px solid rgba(18, 98, 29, 0.2);
  border-radius: 8px;
  box-shadow:
    0 24px 80px rgba(20, 32, 24, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #213228;
  font-weight: 900;
  font-size: 0.88rem;
  line-height: 1.25;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100% !important;
  min-height: 50px;
  border: 2px solid #566654 !important;
  border-radius: 6px !important;
  padding: 13px 14px !important;
  font: inherit;
  font-weight: 600;
  color: var(--ink) !important;
  background: #ffffff !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(20, 32, 24, 0.08) !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.contact-form select {
  appearance: auto;
  color: #24352b;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #5f6d63;
  font-weight: 500;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #243523 !important;
  background: #fffef8 !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-dark) !important;
  background: var(--white) !important;
  box-shadow:
    0 0 0 4px rgba(46, 169, 0, 0.18),
    0 12px 26px rgba(20, 32, 24, 0.08) !important;
  transform: translateY(-1px);
}

body .contact-section input[type="text"],
body .contact-section input[type="email"],
body .contact-section input[type="tel"],
body .contact-section input[type="url"],
body .contact-section input[type="number"],
body .contact-section select,
body .contact-section textarea,
body #contactForm input,
body #contactForm select,
body #contactForm textarea,
body #quoteForm input,
body #quoteForm select,
body #quoteForm textarea {
  min-height: 50px !important;
  border: 2px solid #566654 !important;
  border-radius: 6px !important;
  background-color: #ffffff !important;
  color: #142018 !important;
  box-shadow:
    0 0 0 1px rgba(20, 32, 24, 0.08),
    inset 0 1px 2px rgba(20, 32, 24, 0.08) !important;
}

body .contact-section textarea,
body #contactForm textarea,
body #quoteForm textarea {
  min-height: 150px !important;
}

.map-section {
  background: var(--white);
}

.map-card {
  overflow: hidden;
  min-height: 380px;
  border: 1px solid rgba(18, 98, 29, 0.22);
  border-radius: 8px;
  background: #eef6e9;
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.contact-form .button {
  width: fit-content;
  min-width: 190px;
  margin-top: 2px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(46, 169, 0, 0.16), transparent 34%),
    linear-gradient(135deg, #07100a, #111915 58%, #07100a);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(30deg, transparent 48%, #fff 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, #fff 49%, transparent 51%);
  background-size: 130px 130px;
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 6vw, 80px);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 52px);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 760px;
}

.footer-brand-block img {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  padding: 6px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
}

.footer-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-brand-block h2,
.footer-column h3 {
  margin: 0 0 10px;
  color: var(--white);
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-brand-block h2 {
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
}

.footer-brand-block p:not(.footer-kicker) {
  max-width: 620px;
  margin: 0;
}

.footer-column h3 {
  font-size: 0.86rem;
  color: var(--gold);
}

.footer-bottom p {
  margin: 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-address p {
  margin: 0;
}

.footer-address p + p {
  margin-top: 8px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 6px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(225, 205, 37, 0.2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-credit {
  color: var(--gold);
  font-weight: 900;
}

.footer-credit:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.social-icon:hover {
  color: var(--green-dark);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.ela-chatbot {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 80;
  font-family: Poppins, Roboto, Arial, sans-serif;
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--gold);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(20, 32, 24, 0.24);
}

.chatbot-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-dark);
  box-shadow: 0 0 0 0 rgba(18, 98, 29, 0.35);
  animation: chatbotPulse 1.8s ease infinite;
}

@keyframes chatbotPulse {
  70% {
    box-shadow: 0 0 0 10px rgba(18, 98, 29, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(18, 98, 29, 0);
  }
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(20, 32, 24, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(20, 32, 24, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ela-chatbot.is-open .chatbot-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.chatbot-header p,
.chatbot-header strong {
  margin: 0;
}

.chatbot-header p {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chatbot-header strong {
  display: block;
  margin-top: 4px;
  line-height: 1.25;
}

.chatbot-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.chatbot-message,
.chatbot-answer {
  margin: 0;
  color: #314137;
}

.chatbot-answer {
  padding: 12px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: #eef6e9;
  font-weight: 700;
}

.chatbot-replies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.chatbot-replies button,
.chatbot-action {
  min-height: 42px;
  border-radius: 6px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.chatbot-replies button {
  border: 1px solid var(--line);
  color: var(--green-dark);
  background: var(--white);
  cursor: pointer;
}

.chatbot-replies button:hover,
.chatbot-replies button.is-active {
  color: var(--green-dark);
  background: var(--gold);
  border-color: var(--gold);
}

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

.chatbot-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--white);
  background: var(--green-dark);
}

.chatbot-action.whatsapp {
  background: #1f8f4d;
}

.chatbot-action.messenger {
  background: var(--green-secondary);
}

.chatbot-action.site {
  color: var(--green-dark);
  background: var(--gold);
}

.chatbot-action.quote {
  color: var(--white);
  background: var(--green-dark);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(27, 94, 32, 0.28);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--white);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.whatsapp-float strong {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 180ms ease, opacity 180ms ease;
}

.whatsapp-float:hover {
  color: var(--green-dark);
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(201, 161, 74, 0.26);
}

.whatsapp-float:hover strong,
.whatsapp-float:focus-visible strong {
  max-width: 180px;
  opacity: 1;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.domain-card.reveal-on-scroll,
.gallery-item.reveal-on-scroll {
  transform: translateY(24px) scale(0.98);
}

.domain-card.reveal-on-scroll.is-visible,
.gallery-item.reveal-on-scroll.is-visible {
  transform: translateY(0) scale(1);
}

.detail-card.reveal-on-scroll.is-visible:hover,
.mission-grid article.reveal-on-scroll.is-visible:hover,
.news-grid article.reveal-on-scroll.is-visible:hover,
.values article.reveal-on-scroll.is-visible:hover,
.training-grid article.reveal-on-scroll.is-visible:hover,
.service-list article.reveal-on-scroll.is-visible:hover,
.team-card.reveal-on-scroll.is-visible:hover,
.partner-logo.reveal-on-scroll.is-visible:hover {
  transform: translateY(-4px);
}

.domain-card.reveal-on-scroll.is-visible:hover {
  transform: translateY(-5px) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .ela-slide,
  .two-column,
  .services-layout,
  .contact-section,
  .home-about-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ela-slide img {
    justify-self: start;
    width: 170px;
  }

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

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .domain-grid,
  .training-grid,
  .detail-grid,
  .partners-grid,
  .team-grid,
  .gallery-grid,
  .featured-article,
  .four-cols,
  .services-grid,
  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 2;
  }

  .catalogue-card {
    grid-template-columns: minmax(150px, 210px) 80px minmax(0, 1fr);
  }

  .catalogue-card .button {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1240px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 7px 12px;
    white-space: nowrap;
    font-size: 0.74rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .main-nav a {
    padding: 7px 0;
    min-height: 38px;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: static;
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-top: 8px;
    padding: 10px;
    white-space: normal;
    font-size: 0.86rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 44px;
    padding: 10px 12px;
    border-bottom-width: 1px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 540px;
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(2.15rem, 8.6vw, 3.4rem);
  }

  .hero-slide h1 {
    font-size: clamp(2.05rem, 8vw, 3rem);
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .values,
  .service-list,
  .news-grid,
  .featured-article,
  .event-list,
  .four-cols,
  .services-grid,
  .stats-band,
  .realisation-box ul {
    grid-template-columns: 1fr;
  }

  .featured-media .config-image {
    min-height: 160px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .site-header {
    gap: 10px;
  }

  .brand small {
    display: none;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .main-nav {
    font-size: 0.84rem;
  }

  .nav-cta {
    padding: 10px 12px !important;
  }

  .ela-chatbot {
    right: 12px;
    bottom: 12px;
  }

  .chatbot-toggle {
    min-height: 48px;
    padding: 11px 13px;
  }

  .chatbot-panel {
    right: -2px;
    bottom: 62px;
  }

  .chatbot-actions {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 88px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero {
    min-height: 500px;
  }

  .hero-slide h1 {
    font-size: clamp(1.9rem, 8.2vw, 2.5rem);
    line-height: 1.12;
  }

  .hero-text {
    font-size: 1rem;
  }

  .slider-track {
    min-height: 430px;
  }

  .ela-slide {
    align-content: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand-block {
    flex-direction: column;
  }

  .hero-panel div {
    grid-template-columns: 70px 1fr;
  }

  .domain-grid,
  .training-grid,
  .detail-grid,
  .partners-grid,
  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .catalogue-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .catalogue-card .button {
    width: 100%;
  }
}

/* Charte ELA WordPress/Divi - vert, doré, institutionnel */
:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --gold: #C9A14A;
  --ink: #1A1A1A;
  --muted: #555555;
  --line: #E1E7E2;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --shadow: 0 24px 80px rgba(27, 94, 32, 0.12);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid rgba(201, 161, 74, 0.42);
}

.hero,
.page-hero {
  background:
    linear-gradient(110deg, rgba(27, 94, 32, 0.94), rgba(46, 125, 50, 0.76)),
    var(--section-image),
    linear-gradient(135deg, #1B5E20, #2E7D32);
  background-position: center;
  background-size: cover, cover, cover;
}

.hero::after {
  background: linear-gradient(90deg, #2E7D32, #C9A14A, #2E7D32);
}

.site-footer {
  background: linear-gradient(135deg, #1B5E20, #123f16 62%, #1B5E20);
}

.detail-card,
.mission-grid article,
.expertise-box,
.news-grid article,
.values article,
.training-grid article,
.service-list article,
.team-card,
.partner-logo,
.catalogue-card,
.contact-form {
  border-radius: 16px;
}

/* Homepage compact premium pass */
.gold-text {
  color: var(--gold);
}

body .hero {
  min-height: clamp(520px, 68vh, 680px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(72px, 8vw, 104px) clamp(18px, 6vw, 80px) clamp(54px, 5vw, 72px);
}

body .hero-slider {
  min-height: 0;
  justify-content: center;
}

body .hero-slide h1 {
  max-width: 860px;
  font-size: clamp(2.15rem, 4.4vw, 4.35rem);
  line-height: 1.04;
}

body .hero-text {
  max-width: 650px;
  margin-top: 16px;
  font-size: clamp(0.98rem, 1.2vw, 1.16rem);
}

body .hero-actions {
  margin-top: 24px;
}

body .hero-arrow {
  width: 42px;
  height: 42px;
}

body .section,
body .band,
body .contact-section {
  padding-top: clamp(36px, 5vw, 58px);
  padding-bottom: clamp(36px, 5vw, 58px);
}

body .section-heading {
  margin-bottom: clamp(20px, 3vw, 34px);
}

body .section-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

body .stats-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 6vw, 80px);
  color: var(--ink);
  background: var(--paper);
}

body .stat-item {
  min-height: 112px;
  padding: 18px 14px;
  border: 1px solid rgba(46, 125, 50, 0.12);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(27, 94, 32, 0.07);
}

body .stat-item strong {
  color: var(--green);
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
}

body .stat-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

body .home-about-grid {
  gap: clamp(22px, 4vw, 46px);
}

body .home-about-media,
body .home-about-media img {
  min-height: 300px;
}

body .premium-grid {
  gap: 14px;
}

body .premium-card,
body .service-card {
  padding: 20px;
  border-radius: 14px;
}

body .card-icon,
body .service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 10px;
}

body .service-card h3,
body .premium-card h3 {
  font-size: 1rem;
}

body .service-card p,
body .premium-card p,
body .dynamic-excerpt {
  font-size: 0.93rem;
}

body .partners-showcase {
  margin-top: -4px;
}

body .partner-logo {
  min-height: 96px;
  padding: 12px;
}

body .partner-logo img {
  max-height: 62px;
}

body .dynamic-card {
  grid-template-rows: 150px 1fr;
}

body .dynamic-card-media {
  height: 150px;
}

body .dynamic-card-copy {
  padding: 18px;
}

body .final-cta {
  padding: clamp(34px, 5vw, 56px) clamp(18px, 6vw, 80px);
}

body .final-cta h2 {
  font-size: clamp(1.55rem, 3vw, 2.6rem);
}

body .site-footer {
  padding-top: 8px;
}

body .footer-shell {
  padding: 0 clamp(18px, 6vw, 80px);
}

body .footer-top {
  padding: 28px 0 22px;
}

body .footer-main {
  padding: 24px 0;
  gap: 20px;
}

body .footer-bottom {
  padding: 14px 0 18px;
}

body .footer-brand-block h2 {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

body .footer-brand-block img {
  width: 58px;
  height: 58px;
}

@media (max-width: 760px) {
  body .hero {
    min-height: 62vh;
  }

  body .hero-slide h1 {
    font-size: clamp(1.85rem, 8vw, 2.65rem);
  }

  body .stats-band,
  body .four-cols,
  body .services-grid,
  body .home-about-grid {
    grid-template-columns: 1fr;
  }

  body .section,
  body .band,
  body .contact-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
