/* Maison ECAL - Static Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary: #00aeef;
  --primary-dark: #0076a2;
  --primary-light: #4cceff;
  --accent: #c2922f;
  --accent-red: #b3422f;
  --dark: rgba(16, 27, 44, 0.93);
  --navy: #101b2c;
  --footer-bg: #101b2c;
  --footer-text: #aab2bd;
  --gold-soft: #e8d3a0;
  --text: #101b2c;
  --text-muted: #5b6573;
  --grey-bg: #f6f4f0;
  --container: 1140px;
  --header-height: 64px;
  --heading-font: 'Plus Jakarta Sans', 'Roboto', sans-serif;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

/* Baseline safety net: every clickable/focusable element gets a smooth
   transition by default, even if a more specific rule elsewhere doesn't
   declare its own — so no button, link, icon or field ever snaps instantly. */
a, button, input, textarea, select, summary,
.btn, li, [role="button"] {
  transition: color 0.3s var(--ease-smooth), background-color 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth),
    transform 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}

@media (prefers-reduced-motion: reduce) {
  a, button, input, textarea, select, summary, .btn, li, [role="button"] { transition: none; }
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  animation: pageFadeIn 0.7s var(--ease-smooth) both;
}

/* Opacity-only: a transform here (even translateY(0) at rest) would create a
   new containing block on body and break the header's position: fixed. */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

/* Smooth cross-document transitions between pages (progressive enhancement). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

::view-transition-old(root) {
  animation: viewFadeOut 0.35s var(--ease-smooth) both;
}

::view-transition-new(root) {
  animation: viewFadeIn 0.45s var(--ease-smooth) both;
}

@keyframes viewFadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.99); }
}

@keyframes viewFadeIn {
  from { opacity: 0; transform: scale(1.01); }
  to { opacity: 1; transform: scale(1); }
}

h1, h2, h3, h4, h5, h6,
.section-title, .about-title, .about-values-heading,
.feature-box h3, .value-card-title, .contact-hero-title,
.about-team-title, .service-hero-title {
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

/* Scroll-reveal utility (driven by IntersectionObserver in main.js) */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.96);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease-spring), transform 0.9s var(--ease-spring), filter 0.9s var(--ease-spring);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

main {
  margin: 0;
  padding: 0;
}

/* Pages with no full-bleed hero banner: their first section sits directly
   under the fixed header, so it needs the header's height as clearance.
   Pages with a hero (home, contact, all services) intentionally bleed the
   hero background under the transparent header instead. */
body[data-page="event"] main,
body[data-page="projects"] main,
body[data-page="team"] main {
  padding-top: var(--header-height);
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

/* Plain content images dropped directly into a two-column row (service,
   projects and event pages) get the same polished treatment as cards. */
.col-6 > img {
  width: 100%;
  min-height: 300px;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 174, 239, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
}

@media (max-width: 991px) {
  .col-6 > img { min-height: 220px; max-height: 300px; }
  .service-img-zoom-out { min-height: 220px; max-height: 300px; }
  .service-img-zoom-out img { min-height: 220px; max-height: 300px; }
}

.service-img-zoom-out {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 174, 239, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
  min-height: 300px;
  max-height: 380px;
  transition: box-shadow 0.45s var(--ease-smooth);
}

.service-img-zoom-out img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  transform: scale(0.88);
  transition: transform 0.45s var(--ease-smooth);
}

.service-img-zoom-out:hover {
  box-shadow: 0 22px 50px rgba(0, 174, 239, 0.2), 0 8px 18px rgba(0, 0, 0, 0.08);
}

.service-img-zoom-out:hover img {
  transform: scale(0.92) translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .service-img-zoom-out img,
  .service-img-zoom-out:hover img { transform: scale(0.88); transition: none; }
}

.col-6 > img:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 50px rgba(0, 174, 239, 0.2), 0 8px 18px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .col-6 > img { transition: none; }
  .col-6 > img:hover { transform: none; }
}

/* Small auto-shifting photo carousel for two-column rows (projects page):
   several related images crossfade in the same frame instead of one static
   photo, using the same card treatment (radius/shadow/hover) as a plain
   .col-6 image. */
.media-carousel {
  position: relative;
  width: 100%;
  min-height: 300px;
  max-height: 380px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 174, 239, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
}

.media-carousel:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 50px rgba(0, 174, 239, 0.2), 0 8px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
  .media-carousel { min-height: 220px; max-height: 300px; }
}

.media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.media-slide.active {
  opacity: 1;
  z-index: 1;
}

.media-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  transition: transform 6s linear;
}

.media-slide.active img {
  transform: scale(1.12);
}

.media-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.media-carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s ease, transform 0.3s ease;
}

.media-carousel-dots span.active {
  background: #fff;
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .media-carousel { transition: none; }
  .media-carousel:hover { transform: none; }
  .media-slide { transition: opacity 0.3s ease; }
  .media-slide img, .media-slide.active img { transition: none; transform: none; }
}

/* Projects page: the NRC section fits within the first screen, with the
   photo carousel stretching to match the (now slightly longer) text
   column instead of leaving empty space below either one. */
@media (min-width: 992px) {
  .project-hero .row.align-center {
    align-items: stretch;
    min-height: clamp(420px, calc(100vh - var(--header-height) - 48px), 620px);
    max-height: calc(100vh - var(--header-height) - 48px);
  }
  .project-hero .col-6 { display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .project-hero .media-carousel { flex: 1; min-height: 0; max-height: none; }
}

section.project-hero { padding: 16px 0 24px; }

/* Tighter type/spacing inside the hero text column so the whole block
   (title, copy, checklist, button) actually fits beside the image instead
   of running on past the first viewport. */
.project-hero .section-title { font-size: 26px; margin-bottom: 12px; }
.project-hero .text-justify p { line-height: 1.55; margin-bottom: 8px; font-size: 15px; }
.project-hero .text-justify p strong { margin-top: 2px; font-size: 13px; }
.project-hero .service-list { gap: 6px; margin: 2px 0 0; }
.project-hero .service-list li { line-height: 1.4; font-size: 14px; }
.project-hero .btn { margin-top: 14px !important; padding: 10px 22px; font-size: 14px; }

/* PROJECTS overview photo only: a bit larger than the default media-carousel
   size, without affecting the NRC carousel or any other page. */
.project-overview-carousel { min-height: 380px; max-height: 480px; }

@media (max-width: 991px) {
  .project-overview-carousel { min-height: 280px; max-height: 360px; }
}

/* The overview section's text is trimmed to roughly match the photo's
   height rather than running on well past it. */
.project-overview .text-justify p { margin-bottom: 12px; }
.project-overview .service-list { margin-bottom: 4px; }

/* Decorative service icon badge floating over the lead image (services pages). */
.row.align-center .col-6:first-child {
  position: relative;
}

.row.align-center .col-6:first-child::after {
  position: absolute;
  bottom: -18px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 12px 28px rgba(0, 174, 239, 0.35);
  transition: transform 0.4s var(--ease-spring);
  pointer-events: none;
}

.row.align-center .col-6:first-child:hover::after {
  transform: translateY(-4px) rotate(-6deg);
}

body[data-page="procurement"] .row.align-center .col-6:first-child::after { content: '\f07a'; }
body[data-page="fleet-management"] .row.align-center .col-6:first-child::after { content: '\f0d1'; }
body[data-page="inventory-management"] .row.align-center .col-6:first-child::after { content: '\f494'; }
body[data-page="logistics-consultancy"] .row.align-center .col-6:first-child::after { content: '\f0eb'; }
body[data-page="logistics-support"] .row.align-center .col-6:first-child::after { content: '\f2b5'; }
body[data-page="order-management"] .row.align-center .col-6:first-child::after { content: '\f46c'; }

@media (prefers-reduced-motion: reduce) {
  .row.align-center .col-6:first-child::after { transition: none; }
}

/* Lead paragraph: visual emphasis for the opening line of each service block. */
.service-lead {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  color: #101b2c !important;
  padding-left: 18px;
  border-left: 3px solid var(--primary);
  margin-bottom: 22px !important;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* Header: stays fixed at all times (#site-header above), never hides or
   shifts on scroll. Always translucent/glassy; only blur/shadow eases in. */
.site-header {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: saturate(190%) blur(18px);
  -webkit-backdrop-filter: saturate(190%) blur(18px);
  box-shadow: 0 1px 0 rgba(16, 27, 44, 0.05);
  transition: box-shadow 0.5s var(--ease-smooth), background 0.5s var(--ease-smooth), backdrop-filter 0.5s var(--ease-smooth);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(190%) blur(26px);
  -webkit-backdrop-filter: saturate(190%) blur(26px);
  box-shadow: 0 8px 24px rgba(16, 27, 44, 0.1);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, 0.96); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 6px 0;
  transition: opacity 0.25s ease;
}

.logo:hover { opacity: 0.82; }

.logo img {
  height: 40px;
  width: auto;
  min-width: 120px;
  max-width: 165px;
  object-fit: contain;
  display: block;
}

.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 8px 14px;
  color: #101b2c;
  font-weight: 500;
  font-size: 14px;
  text-transform: capitalize;
  transition: color 0.25s ease;
}

.nav-list > li > a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-spring);
}

.nav-list > li > a:hover {
  color: var(--primary);
}

.nav-list > li > a:hover::after {
  transform: scaleX(1);
}

.nav-list > li.active > a {
  color: var(--primary);
  font-weight: 700;
}

.nav-list > li.active > a::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .nav-list > li > a, .nav-list > li.active > a { transition: color 0.25s ease; }
  .nav-list > li > a::after { transition: none; }
}

.nav-list .dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-radius: 8px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.28s var(--ease-smooth), transform 0.28s var(--ease-smooth), visibility 0.28s;
}

.nav-list li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list .dropdown a {
  display: block;
  padding: 10px 20px;
  color: #101b2c;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.nav-list .dropdown a:hover {
  background: #f3f1ec;
  color: var(--primary);
  padding-left: 24px;
}

.header-lang,
.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.lang-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #ddd9d0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #101b2c;
  min-width: 110px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.lang-dropdown-toggle:hover,
.lang-dropdown.open .lang-dropdown-toggle {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.15);
}

.lang-current-flag {
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.lang-chevron {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.25s;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e4e1da;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 1100;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: block;
}

.lang-dropdown-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #101b2c;
  transition: background 0.2s;
}

.lang-dropdown-menu li:hover,
.lang-dropdown-menu li.selected {
  background: rgba(0, 174, 239, 0.1);
  color: var(--primary);
}

.lang-dropdown-menu li img {
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}

.lang-code-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.mobile-lang {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e6e3dc;
}

.mobile-lang label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #101b2c;
  margin-bottom: 8px;
}

.lang-select-mobile {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd9d0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: #101b2c;
  background: #fff;
  cursor: pointer;
}

.lang-select-mobile:focus {
  outline: none;
  border-color: var(--primary);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #101b2c;
  cursor: pointer;
  padding: 8px;
}

/* Page title banner */
.page-banner {
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  color: #fff;
  text-align: center;
}

.page-banner h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-banner h3 {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
}

/* Hero Carousel */
@keyframes heroEntrance {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroArrowIn {
  from { opacity: 0; transform: translateY(-50%) scale(0.7); }
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 420px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #101b2c;
  animation: heroEntrance 1.1s var(--ease-spring) both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel { animation: none; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 28, 0.42) 0%, rgba(10, 18, 28, 0.22) 28%, rgba(10, 18, 28, 0.48) 100%);
  z-index: 2;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.06);
  transition: transform 7s linear;
}

.hero-slide.active img {
  transform: scale(1.16);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide img, .hero-slide.active img { transition: none; transform: none; }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s var(--ease-spring);
  animation: heroArrowIn 0.8s var(--ease-spring) 0.5s both;
}

.hero-arrow:hover { background: rgba(255, 255, 255, 0.32); transform: translateY(-50%) scale(1.08); }
.hero-arrow:active { transform: translateY(-50%) scale(0.94); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

@media (prefers-reduced-motion: reduce) {
  .hero-arrow { animation: none; }
}

/* Sections */
.section { padding: 52px 0; }
.section-sm { padding: 32px 0; }
.section-grey { background: var(--grey-bg); }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-6, .col-4, .col-12, .col-5, .col-7 {
  padding: 0 15px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.col-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }

.align-center { display: flex; align-items: flex-start; }

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #101b2c;
  line-height: 1.18;
}

.section-title.blue { color: var(--primary); }

.section-subtitle {
  font-size: 17px;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--text-muted);
}

.text-justify { text-align: justify; }

.text-justify .section-title,
.text-justify h2,
.text-justify h3,
.text-justify h4 {
  text-align: left;
}

.text-justify p {
  margin: 0 0 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

.text-justify p:last-child {
  margin-bottom: 0;
}

.read-more-content {
  overflow: hidden;
  max-height: 1200px;
  opacity: 1;
  transition: max-height 0.55s var(--ease-smooth), opacity 0.45s ease, margin 0.45s ease;
}

.read-more-content.is-collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}

/* Home presentation & why sections */
.section-presentation,
.section-why {
  background: #f8f9fb;
}

.section-presentation .section-title {
  color: var(--primary);
}

.section-presentation .text-justify p,
.section-presentation .home-expand-title,
.section-why .text-justify p {
  color: #333;
}

.section-presentation .text-justify p,
.section-why .text-justify p {
  line-height: 1.78;
}

.home-expand-title {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 20px 0 8px;
}

.home-expand-title:first-child {
  margin-top: 4px;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border: none;
  border-radius: 980px;
  background: #00bfff;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 191, 255, 0.35);
  transition: background 0.3s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease, gap 0.3s ease;
}

.btn-read-more::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  transition: transform 0.3s var(--ease-spring);
}

.btn-read-more:hover {
  background: #00a8e8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 191, 255, 0.42);
  gap: 13px;
}

.btn-read-more:hover::after {
  transform: translateX(4px);
}

.btn-read-more:active {
  transform: translateY(0);
}

/* Home page: text column matches image height; CTA sits at the bottom. */
body[data-page="home"] .home-split-row {
  align-items: stretch;
}

body[data-page="home"] .home-text-col {
  display: flex;
  flex-direction: column;
}

body[data-page="home"] .home-text-col > .section-title {
  flex-shrink: 0;
  margin-bottom: 16px;
}

body[data-page="home"] .home-text-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 300px;
}

body[data-page="home"] .home-text-body {
  flex: 1;
}

/* Présentation & Pourquoi nous choisir : text flows naturally; button aligns with image bottom */
.section-presentation .home-split-row,
.section-why .home-split-row {
  align-items: stretch;
}

.section-presentation .home-text-col,
.section-why .home-text-col {
  display: flex;
  flex-direction: column;
}

.section-presentation .home-text-panel--presentation,
.section-why .home-text-panel--why {
  flex: 1;
  min-height: 0;
  justify-content: space-between;
}

.section-presentation .home-text-panel--presentation .home-text-body,
.section-why .home-text-panel--why .home-text-body {
  flex: 0 0 auto;
}

.section-presentation .home-text-panel--presentation .read-more-btn,
.section-why .home-text-panel--why .read-more-btn {
  margin-top: 0;
  align-self: flex-start;
  flex-shrink: 0;
}

.section-presentation .home-media-col,
.section-why .home-media-col {
  display: flex;
  align-items: stretch;
}

.section-presentation .home-media-col > img,
.section-why .home-media-col > img {
  width: 100%;
  min-height: 300px;
  max-height: 380px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-page="home"] .home-text-panel:not(.home-text-panel--presentation):not(.home-text-panel--why) .read-more-btn {
  margin-top: auto;
  align-self: flex-start;
  flex-shrink: 0;
  margin-bottom: 0;
}

body[data-page="home"] .home-media-col {
  display: flex;
}

body[data-page="home"] .home-media-col > img {
  flex: 1;
  width: 100%;
  min-height: 300px;
  max-height: 380px;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .read-more-content {
    transition: none;
  }

  .btn-read-more,
  .btn-read-more::after {
    transition: none;
  }
}

@media (max-width: 991px) {
  body[data-page="home"] .home-text-panel {
    min-height: 0;
  }

  body[data-page="home"] .home-media-col > img {
    max-height: 300px;
  }

  body[data-page="home"] .home-text-panel .read-more-btn {
    margin-top: 20px;
  }

  .section-presentation .home-text-panel--presentation,
  .section-why .home-text-panel--why {
    flex: none;
    justify-content: flex-start;
  }

  .section-presentation .home-text-panel--presentation .read-more-btn,
  .section-why .home-text-panel--why .read-more-btn {
    margin-top: 18px;
  }

  .section-presentation .home-media-col > img,
  .section-why .home-media-col > img {
    height: auto;
    max-height: 300px;
  }
}

.text-justify p strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Service detail checklist (replaces pipe-separated run-on paragraphs). */
.service-list {
  list-style: none;
  margin: 4px 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  color: var(--text-muted);
}

.service-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  color: var(--primary);
  background: rgba(0, 174, 239, 0.1);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 28px;
  border-radius: 980px;
  font-weight: 500;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring), background 0.3s ease, gap 0.35s var(--ease-spring);
  text-align: center;
  position: relative;
}

.btn::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  transition: transform 0.35s var(--ease-spring);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn:hover {
  gap: 12px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 174, 239, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 174, 239, 0.35);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.btn-lg { padding: 14px 36px; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after { transition: none; }
}

/* Feature boxes */
.feature-boxes { margin: 0 -15px; }

.feature-box {
  padding: 36px 30px 32px;
  color: #fff;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.feature-box:hover::before { transform: scaleX(1); }

.feature-box.blue { background: linear-gradient(145deg, var(--primary), var(--primary-dark)); }
.feature-box.dark { background: linear-gradient(145deg, #1f2530, var(--dark)); }
.feature-box.orange { background: linear-gradient(145deg, rgba(194, 146, 47, 0.85), rgba(214, 104, 0, 0.85)); }

.feature-box-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
  transition: transform 0.55s var(--ease-spring) 0.1s, opacity 0.5s ease 0.1s,
    background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.feature-box.is-visible .feature-box-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Soft pulsing halo behind each icon badge, staggered per card so the three
   don't beat in sync — a quiet, premium touch rather than a busy one. */
.feature-box-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  pointer-events: none;
  animation: featureIconRing 2.8s ease-out infinite;
}

.col-4:nth-child(2) .feature-box-icon::after { animation-delay: 0.7s; }
.col-4:nth-child(3) .feature-box-icon::after { animation-delay: 1.4s; }

@keyframes featureIconRing {
  0% { opacity: 0.65; transform: scale(0.92); }
  100% { opacity: 0; transform: scale(1.4); }
}

.feature-box img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.85;
}

.feature-box:hover .feature-box-icon {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .feature-box-icon { opacity: 1; transform: none; transition: none; }
  .feature-box-icon::after { animation: none; display: none; }
}

.feature-box h3 {
  font-size: 23px;
  font-weight: 700;
  margin: 26px 0 14px;
  color: #fff;
}

.feature-box p { margin: 0; font-size: 15px; line-height: 1.7; }

/* Services photo gallery (homepage): a real-photo bento grid linking each
   tile to its matching service page, so the site feels richer and more
   navigable rather than relying on text alone. */
.services-gallery { text-align: center; padding-bottom: 24px; }

.services-gallery + .testimonial-section { padding-top: 32px; }

.services-gallery .about-subtitle { display: block; }

.services-gallery .section-title { margin-bottom: 36px; }

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

.gallery-tile {
  position: relative;
  display: block;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(16, 27, 44, 0.14);
  isolation: isolate;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.gallery-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 27, 44, 0) 35%, rgba(16, 27, 44, 0.82) 100%);
  z-index: 1;
  transition: background 0.4s var(--ease-smooth);
}

.gallery-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 2px solid var(--primary);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  z-index: 2;
  pointer-events: none;
}

.gallery-tile-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gallery-tile-label i {
  color: var(--primary-light);
  transform: translateX(-6px);
  opacity: 0;
  transition: transform 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth);
}

.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile:hover::after { opacity: 1; }
.gallery-tile:hover .gallery-tile-label i { transform: translateX(0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .gallery-tile img { transition: none; }
  .gallery-tile:hover img { transform: none; }
}

@media (max-width: 900px) {
  .services-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-gallery-grid { grid-template-columns: 1fr; }
  .gallery-tile { height: 220px; }
}

/* Testimonials */
.testimonial-section { text-align: center; padding: 52px 0 64px; }

.quote-icon {
  color: var(--accent-red);
  font-size: 32px;
  margin-bottom: 15px;
}

.testimonial-section .section-title {
  color: #101b2c;
  margin-bottom: 35px;
}

.testimonial-text {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(68, 71, 86, 0.7);
  line-height: 27px;
  font-size: 16px;
  position: relative;
  padding: 0 60px;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '\201C';
  font-size: 48px;
  color: #ece9e2;
  position: absolute;
  font-family: Georgia, serif;
}

.testimonial-text::before { top: -20px; left: 0; }
.testimonial-text::after { content: '\201D'; bottom: -40px; right: 0; }

.testimonial-author {
  margin-top: 30px;
  font-weight: 700;
  color: rgba(68, 71, 86, 0.7);
}

.testimonial-role {
  font-weight: 400;
  color: var(--text-muted);
}

/* Team cards */
.team-grid { margin-top: 28px; }

.team-card { margin-bottom: 22px; }

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

@media (max-width: 767px) {
  .team-card img { height: 280px; }
}

.team-card:hover img {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 174, 239, 0.2);
}

.team-name {
  display: block;
  font-weight: 700;
  font-size: 18px;
  margin-top: 15px;
  color: #101b2c;
}

.team-role {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
}

/* Accordion */
.accordion-item {
  border: 1px solid #e4e1da;
  margin-bottom: 15px;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  padding: 18px 20px;
  background: #f7f5f1;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #101b2c;
}

.accordion-header i { margin-right: 8px; color: var(--primary); }

.accordion-body {
  padding: 20px;
  display: block;
}

/* Feature icons (Event page) */
.icon-feature {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.icon-feature .icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring), background 0.4s ease, box-shadow 0.4s ease;
}

.icon-feature:hover .icon {
  transform: scale(1.12) rotate(-6deg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 22px rgba(0, 174, 239, 0.32);
}

.icon-feature h6 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #101b2c;
}

.icon-feature p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* Process timeline (Order Management: emergency procurement steps) */
.process-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 8px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 39px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 16px);
  opacity: 0.45;
}

.timeline-step {
  position: relative;
  display: flex;
  gap: 28px;
  padding-bottom: 48px;
}

.timeline-step:last-child { padding-bottom: 0; }

.timeline-step-marker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: transform 0.45s var(--ease-spring), background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.timeline-step-marker .step-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 174, 239, 0.35);
}

.timeline-step:hover .timeline-step-marker {
  transform: scale(1.1) rotate(-6deg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 174, 239, 0.32);
}

.timeline-step-content {
  padding-top: 10px;
}

.timeline-step-content h4 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: #101b2c;
}

.timeline-step-content p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline-step.reveal {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-spring);
}

.timeline-step.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 768px) {
  .process-timeline { padding-left: 0; }
  .process-timeline::before { left: 29px; }
  .timeline-step-marker { width: 58px; height: 58px; font-size: 20px; }
}

/* Consultancy grid (Logistics Consultancy: specialist service domains) */
.consultancy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.consultancy-tile {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 28px 16px 24px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, border-color 0.4s ease;
}

.consultancy-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.consultancy-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.consultancy-tile:hover::before { transform: scaleX(1); }

.consultancy-tile-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 174, 239, 0.08);
  color: var(--primary);
  font-size: 22px;
  position: relative;
  transition: background 0.4s ease, color 0.4s ease, transform 0.5s var(--ease-spring);
}

.consultancy-tile:hover .consultancy-tile-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  transform: scale(1.12);
}

.consultancy-tile-label {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #101b2c;
  line-height: 1.45;
  transition: color 0.3s ease;
}

.consultancy-tile-label::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width 0.35s ease;
}

.consultancy-tile:hover .consultancy-tile-label::after { width: 36px; }

/* Entrance: tile fades/lifts in, then its icon pops, then its label settles,
   so each card reads as a small two-beat reveal rather than one flat fade. */
.consultancy-tile.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-spring);
}

.consultancy-tile.reveal .consultancy-tile-icon {
  opacity: 0;
  transform: scale(0.3) rotate(-20deg);
  transition: opacity 0.45s ease 0.15s, transform 0.55s var(--ease-spring) 0.15s, background 0.4s ease, color 0.4s ease;
}

.consultancy-tile.reveal .consultancy-tile-label {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease 0.3s, transform 0.45s ease 0.3s, color 0.3s ease;
}

.consultancy-tile.reveal.is-visible { opacity: 1; transform: none; }
.consultancy-tile.reveal.is-visible .consultancy-tile-icon { opacity: 1; transform: none; }
.consultancy-tile.reveal.is-visible .consultancy-tile-label { opacity: 1; transform: none; }

/* Each icon performs a small, meaningful motion on hover instead of a
   generic spin, so the animation reinforces what the service actually is. */
@media (prefers-reduced-motion: no-preference) {
  .consultancy-tile:hover .fa-magnifying-glass-chart { animation: consultancyScan 0.9s ease-in-out infinite; }
  .consultancy-tile:hover .fa-boxes-stacked { animation: consultancyBounce 0.65s ease-in-out infinite; }
  .consultancy-tile:hover .fa-clipboard-list { animation: consultancyCheck 0.6s ease-in-out 1; }
  .consultancy-tile:hover .fa-user-gear { animation: consultancySpin 1.4s linear infinite; }
  .consultancy-tile:hover .fa-file-pen { animation: consultancyWrite 0.5s ease-in-out 2; }
  .consultancy-tile:hover .fa-map-location-dot { animation: consultancyDrop 0.5s ease-out 1; }
  .consultancy-tile:hover .fa-pen-to-square { animation: consultancyWrite 0.5s ease-in-out 2; }
  .consultancy-tile:hover .fa-chalkboard-user { animation: consultancySway 0.8s ease-in-out infinite; }
  .consultancy-tile:hover .fa-comments { animation: consultancyCheck 0.55s ease-in-out infinite; }
  .consultancy-tile:hover .fa-video { animation: consultancyZoom 0.9s ease-in-out infinite; }
}

@keyframes consultancyScan {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(-3px) rotate(-10deg); }
  75% { transform: translateX(3px) rotate(10deg); }
}

@keyframes consultancyBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes consultancyCheck {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

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

@keyframes consultancyWrite {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-12deg); }
  75% { transform: rotate(12deg); }
}

@keyframes consultancyDrop {
  0% { transform: translateY(-7px); }
  60% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

@keyframes consultancySway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
}

@keyframes consultancyZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Small blinking "recording" dot on the camera-installation tile,
   only while hovered, to read as an active surveillance light. */
.consultancy-tile:hover .consultancy-tile-icon:has(.fa-video)::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 0 0 0 2px #fff;
  animation: consultancyBlink 0.9s ease-in-out infinite;
}

@keyframes consultancyBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

@media (max-width: 992px) {
  .consultancy-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .consultancy-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Asset Lifecycle path (logistics-support page)
   A 3-stage ascending "staircase" of connected
   cards, distinct from the grid/timeline/carousel
   patterns used elsewhere on the site.
   ============================================ */
.lifecycle-path {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 0 28px;
}

.lifecycle-stage {
  position: relative;
  flex: 1;
  background: #fff;
  border: 1px solid rgba(16, 27, 44, 0.08);
  border-radius: 18px;
  padding: 28px 22px 26px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(16, 27, 44, 0.05);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Ascending staircase: each stage sits a little higher than the last,
   visually reinforcing forward progress through the lifecycle. */
.lifecycle-stage:nth-child(1) { margin-top: 56px; }
.lifecycle-stage:nth-child(3) { margin-top: 28px; }
.lifecycle-stage:nth-child(5) { margin-top: 0; }

.lifecycle-stage:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.09);
  border-color: transparent;
}

.lifecycle-stage-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 174, 239, 0.35);
}

.lifecycle-stage-icon {
  width: 60px;
  height: 60px;
  margin: 14px auto 18px;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.08);
  color: var(--primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease, color 0.4s ease, transform 0.5s var(--ease-spring);
}

.lifecycle-stage:hover .lifecycle-stage-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  transform: scale(1.1);
}

.lifecycle-stage h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #101b2c;
}

.lifecycle-stage p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.lifecycle-connector {
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  opacity: 0.55;
  align-self: center;
}

.lifecycle-connector::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--primary) 0, var(--primary) 6px, transparent 6px, transparent 12px);
}

/* Meaningful per-stage hover motion: writing, scanning, stamping */
@media (prefers-reduced-motion: no-preference) {
  .lifecycle-stage:hover .fa-file-circle-plus { animation: lifecycleDraw 0.5s ease-in-out 2; }
  .lifecycle-stage:hover .fa-magnifying-glass-chart { animation: lifecycleScan 0.9s ease-in-out infinite; }
  .lifecycle-stage:hover .fa-clipboard-check { animation: lifecycleStamp 0.5s ease-in-out 2; }
}

@keyframes lifecycleDraw {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

@keyframes lifecycleScan {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}

@keyframes lifecycleStamp {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.18) rotate(-6deg); }
}

/* Live, self-playing demonstration: once a stage scrolls into view, its icon
   keeps acting out its concept on a loop (writing, then scanning, then
   stamping), with each stage offset by a third of the cycle so the motion
   rolls from Define to Monitor to Verify, over and over, visually replaying
   the lifecycle the text describes, no hover required. */
@media (prefers-reduced-motion: no-preference) {
  .lifecycle-stage.is-visible .lifecycle-stage-icon {
    animation: lifecycleIconPulse 4.5s ease-in-out infinite;
  }
  .lifecycle-stage.is-visible:nth-child(1) .lifecycle-stage-icon { animation-delay: 0.4s; }
  .lifecycle-stage.is-visible:nth-child(3) .lifecycle-stage-icon { animation-delay: 1.9s; }
  .lifecycle-stage.is-visible:nth-child(5) .lifecycle-stage-icon { animation-delay: 3.4s; }

  .lifecycle-stage.is-visible .fa-file-circle-plus {
    animation: lifecycleDrawLoop 4.5s ease-in-out infinite;
    animation-delay: 0.4s;
  }
  .lifecycle-stage.is-visible .fa-magnifying-glass-chart {
    animation: lifecycleScanLoop 4.5s ease-in-out infinite;
    animation-delay: 1.9s;
  }
  .lifecycle-stage.is-visible .fa-clipboard-check {
    animation: lifecycleStampLoop 4.5s ease-in-out infinite;
    animation-delay: 3.4s;
  }

  /* Hovering takes over with the quicker, reactive motion defined above;
     the extra :hover here raises specificity so it wins over the loop. */
  .lifecycle-stage.is-visible:hover .lifecycle-stage-icon { animation: none; }
  .lifecycle-stage.is-visible:hover .fa-file-circle-plus { animation: lifecycleDraw 0.5s ease-in-out 2; }
  .lifecycle-stage.is-visible:hover .fa-magnifying-glass-chart { animation: lifecycleScan 0.9s ease-in-out infinite; }
  .lifecycle-stage.is-visible:hover .fa-clipboard-check { animation: lifecycleStamp 0.5s ease-in-out 2; }
}

@keyframes lifecycleIconPulse {
  0%, 22% { background: rgba(0, 174, 239, 0.08); color: var(--primary); }
  9% { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
  28%, 100% { background: rgba(0, 174, 239, 0.08); color: var(--primary); }
}

@keyframes lifecycleDrawLoop {
  0%, 22%, 100% { transform: rotate(0deg); }
  7% { transform: rotate(-14deg); }
  14% { transform: rotate(12deg); }
}

@keyframes lifecycleScanLoop {
  0%, 22%, 100% { transform: translateX(0); }
  7% { transform: translateX(-5px); }
  14% { transform: translateX(5px); }
  19% { transform: translateX(-2px); }
}

@keyframes lifecycleStampLoop {
  0%, 22%, 100% { transform: scale(1) rotate(0deg); }
  9% { transform: scale(1.24) rotate(-8deg); }
  16% { transform: scale(1) rotate(0deg); }
}

/* Entrance: stages rise in sequence, connectors draw in behind them */
.lifecycle-stage.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.95);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-spring);
}
.lifecycle-stage.reveal.is-visible { opacity: 1; transform: none; }

.lifecycle-connector.reveal {
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}
.lifecycle-connector.reveal.is-visible { opacity: 0.55; }

@media (max-width: 768px) {
  .lifecycle-path { flex-direction: column; gap: 18px; padding: 12px 0; }
  .lifecycle-connector { display: none; }
  .lifecycle-stage:nth-child(1),
  .lifecycle-stage:nth-child(3),
  .lifecycle-stage:nth-child(5) { margin-top: 0; }
}

/* Video play button */
.video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/2024/12/06/m-ecal-2.jpg') center/cover;
  border-radius: 4px;
}

.play-btn {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 4px 20px rgba(66,168,245,0.5);
}

.play-btn:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
  color: #fff;
}

/* Contact form */
.contact-form .form-group { margin-bottom: 15px; }

.contact-form input,
.contact-form textarea,
.newsletter-form input {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #ddd9d0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.contact-info h6 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 8px;
  color: #101b2c;
}

.contact-info .block { margin-bottom: 25px; }

.contact-info p { margin: 0; color: var(--text-muted); line-height: 1.8; }

.contact-info a { color: var(--text-muted); }
.contact-info a:hover { color: var(--primary); }

.map-placeholder {
  background: #e4e1da;
  min-height: 250px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-top: 15px;
}

/* Service pages: horizontally scrollable card strip (used on
   procurement, inventory management, etc.) so each card's photo and
   text both fill their own box cleanly, instead of being forced into
   a shared, uneven height. Arrow buttons scroll the cards left/right. */
.service-cards-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-cards-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1;
  padding: 4px 4px 10px;
  margin: 0 -4px;
  scrollbar-width: none;
}

.service-cards-track::-webkit-scrollbar { display: none; }

.service-card {
  position: relative;
  z-index: 0;
  scroll-snap-align: start;
  flex: 0 0 340px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

/* Ambient halo that breathes behind every card, offset per card so the
   row never pulses in lockstep, plus a diagonal shine that sweeps across
   the card shape on hover (both are pseudo-elements so they never fight
   with the card's own hover lift/shadow transition). */
.service-card::before {
  content: '';
  position: absolute;
  inset: -9px;
  z-index: -1;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 25%, rgba(0, 174, 239, 0.32), transparent 65%);
  filter: blur(2px);
  animation: service-card-halo 5s ease-in-out infinite;
  pointer-events: none;
}

.service-card:nth-child(2)::before { animation-delay: -1.7s; }
.service-card:nth-child(3)::before { animation-delay: -3.4s; }

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 16px;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  background-size: 250% 250%;
  background-position: -40% -40%;
  opacity: 0;
  pointer-events: none;
  transition: background-position 0.9s var(--ease-smooth), opacity 0.5s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(0, 174, 239, 0.18);
}

.service-card:hover::after {
  opacity: 1;
  background-position: 140% 140%;
}

@keyframes service-card-halo {
  0%, 100% { opacity: 0.16; transform: scale(0.94); }
  50% { opacity: 0.4; transform: scale(1.05); }
}

.service-card-media {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.service-card-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-smooth);
}

.service-card:hover .service-card-media img { transform: scale(1.08); }

.service-card-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 26px;
}

.service-card-content h4 {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #101b2c;
}

.service-card-content h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 32px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), #7dd3fc);
  transition: width 0.4s var(--ease-smooth);
}

.service-card:hover .service-card-content h4::after { width: 60px; }

.service-card-content p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: justify;
}

.service-cards-arrow {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #101b2c;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 27, 44, 0.12);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-smooth), box-shadow 0.3s ease;
}

.service-cards-arrow::before {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.35), transparent 70%);
  animation: service-card-halo 3.6s ease-in-out infinite;
  pointer-events: none;
}

.service-cards-arrow i {
  display: inline-flex;
  animation: service-arrow-nudge 2.2s ease-in-out infinite;
}

.service-cards-arrow.prev i { animation-name: service-arrow-nudge-left; }

@keyframes service-arrow-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes service-arrow-nudge-left { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-3px); } }

.service-cards-arrow:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 10px 22px rgba(0, 174, 239, 0.3);
}

.service-cards-arrow:active { transform: scale(0.96); }

.service-cards-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.service-cards-arrow:disabled::before { animation: none; opacity: 0; }
.service-cards-arrow:disabled i { animation: none; }

.service-cards-arrow:disabled:hover {
  background: #fff;
  color: #101b2c;
  transform: none;
}

/* Cards settle into place with a little rotation as they scroll into
   view, instead of the site's plain fade-and-rise, with each card
   tilting a different way so the row feels hand-placed rather than
   mechanical. */
.service-card.reveal { transform: translateY(40px) scale(0.92) rotate(-2.5deg); }
.service-card:nth-child(2).reveal { transform: translateY(40px) scale(0.92) rotate(2deg); }
.service-card:nth-child(3).reveal { transform: translateY(40px) scale(0.92) rotate(-1.5deg); }
.service-card.reveal.is-visible { transform: translateY(0) scale(1) rotate(0deg); }

@media (max-width: 700px) {
  .service-card { flex: 0 0 270px; max-width: 270px; }
  .service-card-media img { height: 170px; }
  .service-cards-arrow { width: 38px; height: 38px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .service-card-media img, .service-cards-arrow,
  .service-card::before, .service-card::after,
  .service-cards-arrow::before, .service-cards-arrow i {
    transition: none;
    animation: none;
  }
}

/* Service pages: 2-tile photo gallery strip, reusing the homepage
   .gallery-tile look without its "link to another page" semantics. */
.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 700px) {
  .service-gallery-grid { grid-template-columns: 1fr; }
}

/* Service pages: full-bleed closing CTA banner with a background photo
   and dark overlay so the white heading/text stay readable. */
.service-cta {
  position: relative;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}

.service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 27, 44, 0.88), rgba(0, 90, 140, 0.72));
}

.service-cta .container { position: relative; z-index: 1; }

.service-cta .section-title { color: #fff; margin-bottom: 14px; }

.service-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 16px;
  line-height: 1.6;
}

/* ===== Service page hero ===== */
.service-hero {
  position: relative;
  padding: calc(40px + var(--header-height)) 0 64px;
  margin: 0;
  background: linear-gradient(150deg, var(--navy) 0%, #133452 50%, var(--primary-dark) 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.service-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(79, 195, 247, 0.32), transparent 50%),
    radial-gradient(circle at 8% 85%, rgba(194, 146, 47, 0.18), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(0, 174, 239, 0.25), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.service-hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
  z-index: 1;
}

.service-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.service-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-light);
}

.service-hero-eyebrow::before,
.service-hero-eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: rgba(79, 195, 247, 0.6);
}

.service-hero-title {
  margin: 0 0 16px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.service-hero-lead {
  margin: 0 auto;
  max-width: 580px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.site-footer {
  position: relative;
  background: #101b2c;
  color: var(--footer-text);
  padding: 64px 0 0;
  border-top: 3px solid var(--primary);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: radial-gradient(circle at 12% 0%, rgba(0, 174, 239, 0.16), transparent 60%),
              radial-gradient(circle at 88% 10%, rgba(0, 174, 239, 0.1), transparent 55%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr 3fr;
  gap: 30px;
  margin-bottom: 0;
  padding-bottom: 48px;
}

.footer-logo {
  margin-bottom: 14px;
  height: 52px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 28px;
  text-align: center;
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  color: var(--footer-text);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-col ul a:hover { color: var(--primary-light); }

.newsletter-form {
  position: relative;
}

.newsletter-form input {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #101b2c;
  padding: 14px 52px 14px 20px;
  border-radius: 50px;
  width: 100%;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input::placeholder { color: rgba(26, 42, 58, 0.5); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.newsletter-form button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #fff;
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.4);
}

.social-links {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(193,193,197,0.15);
}

.social-links p {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

.social-icons { display: flex; gap: 15px; }

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.social-icons .whatsapp { background: #25d366; }

.social-icons .instagram {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.social-icons .twitter { background: #000; }

.copyright {
  display: block;
  font-size: 13px;
  color: rgba(193, 193, 197, 0.75);
  font-weight: 400;
}

/* WhatsApp floating widget */
.floating-wpp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.floating-wpp-button {
  position: relative;
  width: 60px;
  height: 60px;
  background: #25d366;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.3s;
}

.floating-wpp-button:hover { transform: scale(1.08); }

/* Pulsing rings that draw the eye to the WhatsApp button without being
   distracting; layered behind the button via negative z-index. */
.floating-wpp-button::before,
.floating-wpp-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: wppPulse 2.4s ease-out infinite;
}

.floating-wpp-button::after {
  animation-delay: 1.2s;
}

@keyframes wppPulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-wpp-button::before,
  .floating-wpp-button::after { animation: none; display: none; }
}

.floating-wpp-button svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.floating-wpp-popup {
  display: none;
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: #e5ddd5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: wppSlideUp 0.3s ease;
}

.floating-wpp-popup.open { display: block; }

@keyframes wppSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.floating-wpp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #128c7e;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.floating-wpp-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.9;
}

.floating-wpp-close:hover { opacity: 1; }

.floating-wpp-body {
  padding: 16px;
  background: #e5ddd5;
}

.floating-wpp-message {
  background: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.floating-wpp-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.floating-wpp-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 24px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

.floating-wpp-form input:focus {
  outline: none;
  border-color: #128c7e;
}

.floating-wpp-form button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #128c7e;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.floating-wpp-form button:hover { background: #0e6b60; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
}

.mobile-menu.open { display: block; }

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: #fff;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s;
}

.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }

.mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  float: right;
  color: #101b2c;
}

.mobile-nav { list-style: none; padding: 0; margin: 40px 0 0; clear: both; }

.mobile-nav li a {
  display: block;
  padding: 12px 0;
  color: #101b2c;
  border-bottom: 1px solid #e6e3dc;
  font-weight: 500;
}

.mobile-nav .sub-menu {
  list-style: none;
  padding-left: 15px;
  margin: 0;
}

.mobile-nav .sub-menu a { font-size: 14px; font-weight: 400; }

/* ===== About Page (À Propos) ===== */
.page-about main {
  padding-top: 0;
}

.about-intro {
  padding: 0;
  margin: 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 480px;
  background: #f7f5f1;
}

.about-intro-image-col {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

/* The diagonal "cut" along the right edge and its glow only read well in
   the side-by-side desktop layout; on a full-width stacked mobile image
   they'd just look like a chunk is missing, so they're scoped to >=992px. */
@media (min-width: 992px) {
  .about-intro-grid {
    /* Fit the whole intro (photo + text + info cards) within the first
       screen, with sensible floor/ceiling so it never gets cramped or
       absurdly tall on very short/tall displays. */
    height: clamp(540px, calc(100vh - var(--header-height)), 740px);
    min-height: 0;
  }

  /* The photo fills this column exactly (no clip-path cut) so it always
     fits its frame cleanly. */
  .about-intro-image-col { overflow: hidden; }

  .about-image-wrap {
    animation: introImageGlow 4s ease-in-out infinite;
  }

  .about-intro-text-col { overflow-y: auto; }
}

/* Animated corner brackets drawn directly on the photo's own corners (well
   inside its box, never relying on overflow escaping a grid cell) — bright
   white with a blue glow so they read clearly against the photo regardless
   of its own colors, and they trace the photo's actual rectangular shape
   rather than floating independently near it. */
.about-photo-corner {
  position: absolute;
  width: 46px;
  height: 46px;
  pointer-events: none;
  z-index: 4;
  display: none;
  filter: drop-shadow(0 0 7px rgba(0, 174, 239, 0.85)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.9));
  animation: aboutCornerPulse 2.6s ease-in-out infinite;
}

.about-photo-corner-tl {
  top: 20px;
  left: 20px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
}

.about-photo-corner-tr {
  top: 20px;
  right: 20px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  animation-delay: 0.3s;
}

.about-photo-corner-bl {
  bottom: 20px;
  left: 20px;
  border-bottom: 4px solid #fff;
  border-left: 4px solid #fff;
  animation-delay: 0.6s;
}

.about-photo-corner-br {
  bottom: 20px;
  right: 20px;
  border-bottom: 4px solid #fff;
  border-right: 4px solid #fff;
  animation-delay: 0.9s;
}

@media (min-width: 992px) {
  .about-photo-corner { display: block; }
}

@keyframes aboutCornerPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes introImageGlow {
  0%, 100% {
    filter: drop-shadow(0 14px 30px rgba(16, 27, 44, 0.3)) drop-shadow(0 0 0 rgba(0, 174, 239, 0));
  }
  50% {
    filter: drop-shadow(0 18px 38px rgba(16, 27, 44, 0.34)) drop-shadow(0 0 26px rgba(0, 174, 239, 0.55));
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-image-wrap { animation: none; }
  .about-photo-corner { animation: none; opacity: 1; transform: none; }
}

.about-intro-image-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(16, 27, 44, 0.12) 0%, rgba(16, 27, 44, 0) 45%, rgba(16, 27, 44, 0.28) 100%);
  pointer-events: none;
}

.about-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.6s var(--ease-smooth);
  animation: aboutImageKenBurns 18s ease-in-out infinite alternate;
}

.about-image-wrap img:hover {
  animation: none;
  transform: scale(1.04);
  box-shadow: none;
}

@keyframes aboutImageKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .about-image-wrap img { animation: none; }
}

.about-intro-text-col {
  background: #f7f5f1;
  padding: 40px max(24px, calc((100vw - var(--container)) / 2 + 15px)) 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-subtitle {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--primary);
}

.about-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: #101b2c;
  line-height: 1.25;
  position: relative;
  padding-bottom: 12px;
}

.about-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.about-lead {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(15, 15, 17, 0.88);
  text-align: left;
}

.about-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.about-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 9px;
  border-left: 3px solid var(--primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.about-info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 174, 239, 0.14);
}

.about-info-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.1);
  color: var(--primary);
  font-size: 12.5px;
  line-height: 1;
  flex-shrink: 0;
}

.about-info-text {
  font-size: 13px;
  line-height: 1.55;
  color: #101b2c;
  text-align: left;
}

.about-info-text strong {
  color: #101b2c;
  font-weight: 700;
}

.about-values {
  padding: 40px 0 48px;
  margin: 0;
  background: linear-gradient(135deg, #eef1f5 0%, #e7edf3 100%);
}

.about-values-heading {
  text-align: center;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: #101b2c;
  margin: 0 0 28px;
  position: relative;
  padding-bottom: 12px;
}

.about-values-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 52px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.about-values-grid {
  margin: 0 -15px;
}

.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  height: 100%;
  border-top: 3px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 174, 239, 0.18);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e7edf3, #d7e3ec);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s ease;
}

.card-icon i {
  font-size: 22px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.value-card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.value-card:hover .card-icon i {
  color: #fff;
}

/* The middle value card reads as the "featured" one: a quiet gold accent
   and a slight lift create rhythm across the trio instead of three
   identical blocks. */
@media (min-width: 768px) {
  .about-values-grid .col-4:nth-child(2) .value-card {
    border-top-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 14px 32px rgba(194, 146, 47, 0.16);
  }

  .about-values-grid .col-4:nth-child(2) .value-card .card-icon {
    background: linear-gradient(135deg, #f3e7cf, #e8d3a0);
  }

  .about-values-grid .col-4:nth-child(2) .value-card .card-icon i { color: var(--accent); }

  .about-values-grid .col-4:nth-child(2) .value-card:hover {
    transform: translateY(-14px);
  }

  .about-values-grid .col-4:nth-child(2) .value-card:hover .card-icon {
    background: linear-gradient(135deg, var(--accent), #a07720);
  }

  .about-values-grid .col-4:nth-child(2) .value-card:hover .card-icon i { color: #fff; }
}

.value-card-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  line-height: 1.35;
}

.value-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: #5b6573;
  text-align: left;
}

.about-team {
  padding: 40px 0 56px;
}

.about-team-title {
  text-align: center;
  margin-bottom: 40px;
}

/* ===== Contact Page ===== */
.page-contact main {
  padding-top: 0;
}

@keyframes contactFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes contactUnderlineGrow {
  from { width: 0; opacity: 0; }
  to { width: 80px; opacity: 1; }
}

.contact-hero {
  position: relative;
  width: 100%;
  height: 440px;
  box-sizing: border-box;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  background: #101b2c;
}

/* Contact page: on desktop, the hero slideshow fills exactly the space
   below the header on first load, matching the about-intro and
   project-hero viewport-fit convention used elsewhere on the site. This
   must come after the base rule above so it actually wins the cascade. */
@media (min-width: 992px) {
  /* .contact-hero bleeds full-bleed under the fixed/transparent header
     (.page-contact main has no padding-top), so it starts at the very top
     of the viewport. To actually fill the first screen with no gap below,
     its height must equal 100vh itself, not 100vh minus the header -
     the padding-top above only nudges the *text* down clear of the header,
     it doesn't change where this section starts. */
  .contact-hero {
    height: clamp(420px, 100vh, 900px);
  }
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 17, 30, 0.88) 0%, rgba(0, 92, 140, 0.72) 55%, rgba(0, 174, 239, 0.55) 100%);
  z-index: 1;
}

/* Background slideshow: 5 sourced photos crossfade behind the hero copy,
   reusing the same crossfade-and-slow-zoom language as .hero-carousel. */
.contact-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.4s ease-in-out;
  pointer-events: none;
}

.contact-hero-slide.active {
  opacity: 1;
}

.contact-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.06);
  transition: transform 6s linear;
}

.contact-hero-slide.active img {
  transform: scale(1.14);
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-slide { transition: none; }
  .contact-hero-slide img, .contact-hero-slide.active img { transition: none; transform: none; }
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  animation: contactFadeIn 0.8s ease forwards;
}

.contact-content {
  background: #f5f5f7;
  padding: 72px 0;
}

.contact-hero-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.95;
}

.contact-hero-line {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.contact-hero-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.contact-hero-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 4px;
  background: #fff;
  border-radius: 2px;
  animation: contactUnderlineGrow 0.8s ease 0.4s forwards;
  width: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-form-card {
  background: #fff;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 1px 2px rgba(16, 27, 44, 0.04), 0 24px 60px -12px rgba(16, 27, 44, 0.14);
  border: 1px solid rgba(16, 27, 44, 0.06);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s ease;
}

.contact-form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(16, 27, 44, 0.05), 0 32px 70px -14px rgba(16, 27, 44, 0.2);
}

.contact-form-modern .contact-field {
  animation: contactFieldRise 0.6s var(--ease-spring) both;
}

.contact-form-modern .contact-field:nth-child(1) { animation-delay: 0.05s; }
.contact-form-modern .contact-field:nth-child(2) { animation-delay: 0.12s; }
.contact-form-modern .contact-field:nth-child(3) { animation-delay: 0.19s; }
.contact-form-modern .contact-field:nth-child(4) { animation-delay: 0.26s; }
.contact-form-modern .contact-field:nth-child(5) { animation-delay: 0.33s; }

@keyframes contactFieldRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form-modern .contact-field { animation: none; }
  .contact-form-card:hover { transform: none; }
}

.contact-card-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #101b2c;
}

.contact-card-subtitle {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.6;
  color: #6e6e73;
  font-weight: 400;
}

.contact-form-modern .contact-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 4px 18px;
  background: #f5f5f7;
  border: 1.5px solid transparent;
  border-radius: 14px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form-modern .contact-field:hover {
  background: #f0eee9;
}

.contact-form-modern .contact-field:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.12);
}

.contact-field-icon {
  font-size: 15px;
  line-height: 1;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  color: #9a9aa0;
  transition: color 0.25s ease;
}

.contact-form-modern .contact-field:focus-within .contact-field-icon {
  color: var(--primary);
}

.contact-form-modern input,
.contact-form-modern textarea {
  flex: 1;
  width: 100%;
  border: none;
  border-radius: 0;
  padding: 15px 0;
  font-size: 15px;
  font-family: inherit;
  font-weight: 400;
  background: transparent;
  color: #101b2c;
  outline: none;
}

.contact-form-modern input::placeholder,
.contact-form-modern textarea::placeholder {
  color: #9a9aa0;
}

.contact-form-modern textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.contact-field--textarea {
  align-items: flex-start;
}

.contact-field--textarea .contact-field-icon {
  padding-top: 15px;
}

.contact-submit-btn {
  width: 100%;
  margin-top: 10px;
  padding: 17px 24px;
  border: none;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.contact-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 174, 239, 0.35);
}

.contact-submit-btn:active {
  transform: translateY(0) scale(0.98);
}

.contact-submit-arrow {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.contact-submit-btn:hover .contact-submit-arrow {
  transform: translateX(3px);
}

.contact-info-card {
  background: linear-gradient(160deg, #101b2c 0%, #132640 45%, var(--primary-dark) 100%);
  border-radius: 28px;
  padding: 48px;
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(16, 27, 44, 0.04), 0 24px 60px -12px rgba(16, 27, 44, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s ease;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(16, 27, 44, 0.05), 0 32px 70px -14px rgba(16, 27, 44, 0.42);
}

.contact-info-card:hover::before {
  transform: scale(1.15);
  transition: transform 1.2s var(--ease-spring);
}

@media (prefers-reduced-motion: reduce) {
  .contact-info-card:hover { transform: none; }
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.35), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-info-card > * {
  position: relative;
  z-index: 1;
}

.contact-info-block {
  margin-bottom: 28px;
}

.contact-info-block:last-of-type {
  margin-bottom: 24px;
}

.contact-info-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-light);
}

.contact-info-intro {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.contact-address-mini {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.contact-address-mini:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 174, 239, 0.4);
  transform: translateX(3px);
}

.contact-address-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-address-mini strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.contact-address-mini p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.contact-tel-link,
.contact-email-link {
  display: block;
  color: var(--primary-light);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-tel-link:hover,
.contact-email-link:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-info-social {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.contact-social-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.contact-social-btn.whatsapp { background: #25d366; }
.contact-social-btn.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.contact-social-btn.twitter { background: #000; }

.contact-map-section {
  padding: 0 0 80px;
  background: #f5f5f7;
}

.contact-map-title {
  text-align: center;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #101b2c;
  margin: 0 0 28px;
}

.contact-map-title i {
  color: var(--primary);
  display: inline-block;
  animation: contactPinPulse 2.4s ease-in-out infinite;
}

@keyframes contactPinPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.12); }
}

.contact-map-wrap {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(16, 27, 44, 0.06);
  box-shadow: 0 1px 2px rgba(16, 27, 44, 0.04), 0 24px 60px -12px rgba(16, 27, 44, 0.14);
  line-height: 0;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s ease;
}

.contact-map-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(16, 27, 44, 0.05), 0 28px 64px -14px rgba(16, 27, 44, 0.22);
}

.contact-map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .contact-map-title i { animation: none; }
  .contact-map-wrap:hover { transform: none; }
}

/* Responsive */
@media (max-width: 991px) {
  .col-6, .col-4, .col-5, .col-7 { flex: 0 0 100%; max-width: 100%; }
  .section { padding: 40px 0; }
  .section-title { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-box { margin-bottom: 20px; }
  .hero-carousel {
    height: 100vh;
    min-height: 360px;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-image-col {
    min-height: 320px;
  }

  .about-intro-text-col {
    padding: 36px 24px 44px;
  }

  .about-values-grid .col-4 {
    margin-bottom: 20px;
  }

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

@media (max-width: 767px) {
  .main-nav, .lang-dropdown { display: none; }
  .menu-toggle { display: inline-flex; }
  .section-title { font-size: 24px; }
  .section { padding: 32px 0; }
  .hero-carousel {
    height: 100vh;
    min-height: 280px;
  }
  .logo img {
    height: 34px;
    min-width: 110px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-box { padding: 32px 26px; }
  .feature-box h3 { font-size: 20px; margin-top: 20px; }
  .testimonial-text { padding: 0 20px; }

  .about-intro-image-col {
    min-height: 240px;
  }

  .about-intro-text-col {
    padding: 28px 20px 32px;
  }

  .about-info-list {
    grid-template-columns: 1fr;
  }

  .about-title {
    font-size: 21px;
  }

  .about-values {
    padding: 32px 0 38px;
  }

  .value-card {
    padding: 22px;
  }

  .contact-hero {
    height: 320px;
  }

  .contact-content {
    padding: 40px 0;
  }

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

  .contact-map-wrap iframe {
    height: 280px;
  }

  .service-hero {
    padding: calc(28px + var(--header-height)) 0 36px;
  }

  .service-hero-lead {
    font-size: 15px;
  }
}

/* ------------------------------------------------------------------ */
/* Fleet control panel: a live monitoring-style grid, distinct from    */
/* the lifecycle staircase, consultancy tiles and timeline markers     */
/* used on other service pages. Each card carries a radar-style badge  */
/* with rings that ping outward continuously once visible, evoking a   */
/* fleet being watched in real time, plus a small icon-specific tic.   */
/* ------------------------------------------------------------------ */
.fleet-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.fleet-panel-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(16, 27, 44, 0.08);
  border-radius: 18px;
  padding: 30px 22px 26px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 27, 44, 0.05);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s ease, border-color 0.4s ease;
}

.fleet-panel-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}

.fleet-panel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.09);
  border-color: transparent;
}

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

.fleet-panel-badge {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.08);
  color: var(--primary);
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease, color 0.4s ease, transform 0.5s var(--ease-spring);
}

.fleet-panel-card:hover .fleet-panel-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  transform: scale(1.08);
}

.fleet-panel-badge i { position: relative; z-index: 2; }

/* Radar ping rings: two rings sweep outward on a continuous, staggered
   loop once the card has scrolled into view, signalling "live" status. */
.fleet-panel-badge::before,
.fleet-panel-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .fleet-panel-card.is-visible .fleet-panel-badge::before {
    animation: fleetPing 3.2s ease-out infinite;
  }
  .fleet-panel-card.is-visible .fleet-panel-badge::after {
    animation: fleetPing 3.2s ease-out infinite;
    animation-delay: 1.1s;
  }
}

@keyframes fleetPing {
  0% { transform: scale(0.85); opacity: 0.55; }
  80% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.fleet-panel-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #101b2c;
}

.fleet-panel-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Per-icon idle tics: a small, continuous, concept-specific motion that
   keeps each card visibly alive without requiring a hover. */
@media (prefers-reduced-motion: no-preference) {
  .fleet-panel-card.is-visible .fa-user-shield {
    animation: fleetSteerTic 4.2s ease-in-out infinite;
    animation-delay: 0.3s;
  }
  .fleet-panel-card.is-visible .fa-gas-pump {
    animation: fleetGaugeTic 4.2s ease-in-out infinite;
    animation-delay: 1.3s;
  }
  .fleet-panel-card.is-visible .fa-triangle-exclamation {
    animation: fleetAlertTic 4.2s ease-in-out infinite;
    animation-delay: 2.3s;
  }
  .fleet-panel-card.is-visible .fa-route {
    animation: fleetRouteTic 4.2s ease-in-out infinite;
    animation-delay: 3.3s;
  }
}

@keyframes fleetSteerTic {
  0%, 30%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-14deg); }
  20% { transform: rotate(14deg); }
}

@keyframes fleetGaugeTic {
  0%, 30%, 100% { transform: scale(1); }
  12% { transform: scale(1.2); }
  22% { transform: scale(0.96); }
}

@keyframes fleetAlertTic {
  0%, 30%, 100% { opacity: 1; transform: scale(1); }
  12% { opacity: 0.35; transform: scale(1.15); }
  22% { opacity: 1; transform: scale(1); }
}

@keyframes fleetRouteTic {
  0%, 30%, 100% { transform: translateX(0); }
  12% { transform: translateX(4px); }
  22% { transform: translateX(-3px); }
}

/* Entrance: cards rise in sequence as the panel scrolls into view */
.fleet-panel-card.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.95);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-spring);
}
.fleet-panel-card.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 992px) {
  .fleet-panel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .fleet-panel-grid { grid-template-columns: 1fr; }
}
